Interface StagedOrderSetCustomerEmailAction
- All Superinterfaces:
ResourceUpdateAction<StagedOrderUpdateAction>
,StagedOrderUpdateAction
- All Known Implementing Classes:
StagedOrderSetCustomerEmailActionImpl
StagedOrderSetCustomerEmailAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderSetCustomerEmailAction stagedOrderSetCustomerEmailAction = StagedOrderSetCustomerEmailAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StagedOrderSetCustomerEmailAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StagedOrderSetCustomerEmailActionbuilder
(StagedOrderSetCustomerEmailAction template) create builder for StagedOrderSetCustomerEmailAction instancedeepCopy
(StagedOrderSetCustomerEmailAction template) factory method to create a deep copy of StagedOrderSetCustomerEmailActiongetEmail()
of()
factory methodof
(StagedOrderSetCustomerEmailAction template) factory method to create a shallow copy StagedOrderSetCustomerEmailActionvoid
set emailstatic com.fasterxml.jackson.core.type.TypeReference<StagedOrderSetCustomerEmailAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
getAction, withStagedOrderUpdateAction
-
Field Details
-
SET_CUSTOMER_EMAIL
discriminator value for StagedOrderSetCustomerEmailAction- See Also:
-
-
Method Details
-
getEmail
- Returns:
-
setEmail
set email- Parameters:
email
- value to be set
-
of
factory method- Returns:
- instance of StagedOrderSetCustomerEmailAction
-
of
factory method to create a shallow copy StagedOrderSetCustomerEmailAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StagedOrderSetCustomerEmailAction deepCopy(@Nullable StagedOrderSetCustomerEmailAction template) factory method to create a deep copy of StagedOrderSetCustomerEmailAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StagedOrderSetCustomerEmailAction- Returns:
- builder
-
builder
create builder for StagedOrderSetCustomerEmailAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStagedOrderSetCustomerEmailAction
default <T> T withStagedOrderSetCustomerEmailAction(Function<StagedOrderSetCustomerEmailAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<StagedOrderSetCustomerEmailAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-