class AcknowledgementAdapter implements Adapter<Acknowledgement> {

    @Override
    public Acknowledgement fromAdaptable(final Adaptable adaptable) {
        checkNotNull(adaptable, "adaptable");
        return ThingAcknowledgementFactory.newAcknowledgement(getAcknowledgementLabel(adaptable),
                getThingId(adaptable),
                getStatusCodeOrThrow(adaptable),
                adaptable.getDittoHeaders(),
                getPayloadValueOrNull(adaptable));
    }

    private  AcknowledgementAdapter(final HeaderTranslator headerTranslator);

}