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
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CustomerSetExternalIdAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerSetExternalIdActionbuilder
(CustomerSetExternalIdAction template) create builder for CustomerSetExternalIdAction instancestatic CustomerSetExternalIdAction
deepCopy
(CustomerSetExternalIdAction template) factory method to create a deep copy of CustomerSetExternalIdActionValue to set.static CustomerSetExternalIdAction
of()
factory methodstatic CustomerSetExternalIdAction
of
(CustomerSetExternalIdAction template) factory method to create a shallow copy CustomerSetExternalIdActionvoid
setExternalId
(String externalId) Value to set.static com.fasterxml.jackson.core.type.TypeReference<CustomerSetExternalIdAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.customer.CustomerUpdateAction
getAction, withCustomerUpdateAction
Methods 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
-
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
-