Class PriceDraftCustomTypeAdapter
- java.lang.Object
-
- com.commercetools.sync.products.models.PriceDraftCustomTypeAdapter
-
- All Implemented Interfaces:
CustomDraft
public final class PriceDraftCustomTypeAdapter extends java.lang.Object implements CustomDraft
Adapt Customer withCustomDraftinterface to be used onCustomUpdateActionUtils
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.commercetools.api.models.type.CustomFieldsDraftgetCustom()Get custom fields of thePriceDraftstatic PriceDraftCustomTypeAdapterof(com.commercetools.api.models.common.PriceDraft priceDraft)Build an adapter to be used for preparing custom type actions of with the givenPriceDraft
-
-
-
Method Detail
-
getCustom
@Nullable public com.commercetools.api.models.type.CustomFieldsDraft getCustom()
Get custom fields of thePriceDraft- Specified by:
getCustomin interfaceCustomDraft- Returns:
- the
CustomFieldsDraft
-
of
public static PriceDraftCustomTypeAdapter of(com.commercetools.api.models.common.PriceDraft priceDraft)
Build an adapter to be used for preparing custom type actions of with the givenPriceDraft- Parameters:
priceDraft- thePriceDraft- Returns:
- the
PriceDraftCustomTypeAdapter
-
-