Interface CustomerSetExternalIdAction
- All Superinterfaces:
CustomerUpdateAction,ResourceUpdateAction<CustomerUpdateAction>
CustomerSetExternalIdAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerSetExternalIdAction customerSetExternalIdAction = CustomerSetExternalIdAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CustomerSetExternalIdAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CustomerSetExternalIdActionbuilder(CustomerSetExternalIdAction template) create builder for CustomerSetExternalIdAction instancecopyDeep()static CustomerSetExternalIdActiondeepCopy(CustomerSetExternalIdAction template) factory method to create a deep copy of CustomerSetExternalIdActionValue to set.static CustomerSetExternalIdActionof()factory methodstatic CustomerSetExternalIdActionof(CustomerSetExternalIdAction template) factory method to create a shallow copy CustomerSetExternalIdActionvoidsetExternalId(String externalId) Value to set.static com.fasterxml.jackson.core.type.TypeReference<CustomerSetExternalIdAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.customer.CustomerUpdateAction
getAction, withCustomerUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_EXTERNAL_ID
discriminator value for CustomerSetExternalIdAction- See Also:
-
-
Method Details
-
getExternalId
String getExternalId()Value to set. If empty, any existing value is removed.
- Returns:
- externalId
-
setExternalId
Value to set. If empty, any existing value is removed.
- Parameters:
externalId- value to be set
-
of
factory method- Returns:
- instance of CustomerSetExternalIdAction
-
of
factory method to create a shallow copy CustomerSetExternalIdAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
CustomerSetExternalIdAction copyDeep()- Specified by:
copyDeepin interfaceCustomerUpdateAction
-
deepCopy
@Nullable static CustomerSetExternalIdAction deepCopy(@Nullable CustomerSetExternalIdAction template) factory method to create a deep copy of CustomerSetExternalIdAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerSetExternalIdAction- Returns:
- builder
-
builder
create builder for CustomerSetExternalIdAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerSetExternalIdAction
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-