Class CustomerDraftCustomTypeAdapter
- java.lang.Object
-
- com.commercetools.sync.customers.models.CustomerDraftCustomTypeAdapter
-
- All Implemented Interfaces:
CustomDraft
public final class CustomerDraftCustomTypeAdapter extends java.lang.Object implements CustomDraft
Adapt Customer withCustomDraft
interface to be used onCustomUpdateActionUtils
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.commercetools.api.models.type.CustomFieldsDraft
getCustom()
Get custom fields of theCustomerDraft
static CustomerDraftCustomTypeAdapter
of(com.commercetools.api.models.customer.CustomerDraft customerDraft)
Build an adapter to be used for preparing custom type actions of with the givenCustomerDraft
-
-
-
Method Detail
-
getCustom
@Nullable public com.commercetools.api.models.type.CustomFieldsDraft getCustom()
Get custom fields of theCustomerDraft
- Specified by:
getCustom
in interfaceCustomDraft
- Returns:
- the
CustomFieldsDraft
-
of
public static CustomerDraftCustomTypeAdapter of(com.commercetools.api.models.customer.CustomerDraft customerDraft)
Build an adapter to be used for preparing custom type actions of with the givenCustomerDraft
- Parameters:
customerDraft
- theCustomerDraft
- Returns:
- the
CustomerDraftCustomTypeAdapter
-
-