Class CustomerCustomTypeAdapter
- java.lang.Object
-
- com.commercetools.sync.customers.models.CustomerCustomTypeAdapter
-
- All Implemented Interfaces:
Custom
public final class CustomerCustomTypeAdapter extends java.lang.Object implements Custom
Adapt Customer withCustominterface to be used onCustomUpdateActionUtils
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.commercetools.api.models.type.CustomFieldsgetCustom()Get custom fields of theCustomerjava.lang.StringgetId()Get Id of theCustomerjava.lang.StringgetTypeId()Get typeId of theCustomersee: https://docs.commercetools.com/api/types#referencetypestatic CustomerCustomTypeAdapterof(com.commercetools.api.models.customer.Customer customer)Build an adapter to be used for preparing custom type actions of with the givenCustomer
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Get Id of theCustomer
-
getTypeId
public java.lang.String getTypeId()
Get typeId of theCustomersee: https://docs.commercetools.com/api/types#referencetype
-
getCustom
@Nullable public com.commercetools.api.models.type.CustomFields getCustom()
Get custom fields of theCustomer
-
of
public static CustomerCustomTypeAdapter of(com.commercetools.api.models.customer.Customer customer)
Build an adapter to be used for preparing custom type actions of with the givenCustomer- Parameters:
customer- theCustomer- Returns:
- the
CustomerCustomTypeAdapter
-
-