Interface CartSetCustomerEmailAction
- All Superinterfaces:
CartUpdateAction,ResourceUpdateAction<CartUpdateAction>
CartSetCustomerEmailAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CartSetCustomerEmailAction cartSetCustomerEmailAction = CartSetCustomerEmailAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CartSetCustomerEmailAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CartSetCustomerEmailActionbuilder(CartSetCustomerEmailAction template) create builder for CartSetCustomerEmailAction instancecopyDeep()static CartSetCustomerEmailActiondeepCopy(CartSetCustomerEmailAction template) factory method to create a deep copy of CartSetCustomerEmailActiongetEmail()Value to set.static CartSetCustomerEmailActionof()factory methodstatic CartSetCustomerEmailActionof(CartSetCustomerEmailAction template) factory method to create a shallow copy CartSetCustomerEmailActionvoidValue to set.static com.fasterxml.jackson.core.type.TypeReference<CartSetCustomerEmailAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.cart.CartUpdateAction
getAction, withCartUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_CUSTOMER_EMAIL
discriminator value for CartSetCustomerEmailAction- See Also:
-
-
Method Details
-
getEmail
String getEmail()Value to set. If empty, any existing value is removed.
- Returns:
-
setEmail
Value to set. If empty, any existing value is removed.
- Parameters:
email- value to be set
-
of
factory method- Returns:
- instance of CartSetCustomerEmailAction
-
of
factory method to create a shallow copy CartSetCustomerEmailAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
CartSetCustomerEmailAction copyDeep()- Specified by:
copyDeepin interfaceCartUpdateAction
-
deepCopy
factory method to create a deep copy of CartSetCustomerEmailAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CartSetCustomerEmailAction- Returns:
- builder
-
builder
create builder for CartSetCustomerEmailAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withCartSetCustomerEmailAction
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
-