Interface CustomerSetCompanyNameAction
- All Superinterfaces:
CustomerUpdateAction,ResourceUpdateAction<CustomerUpdateAction>
Setting a company name produces the CustomerCompanyNameSet Message.
Example to create an instance using the builder pattern
CustomerSetCompanyNameAction customerSetCompanyNameAction = CustomerSetCompanyNameAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CustomerSetCompanyNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CustomerSetCompanyNameActionbuilder(CustomerSetCompanyNameAction template) create builder for CustomerSetCompanyNameAction instancecopyDeep()static CustomerSetCompanyNameActiondeepCopy(CustomerSetCompanyNameAction template) factory method to create a deep copy of CustomerSetCompanyNameActionValue to set.static CustomerSetCompanyNameActionof()factory methodstatic CustomerSetCompanyNameActionof(CustomerSetCompanyNameAction template) factory method to create a shallow copy CustomerSetCompanyNameActionvoidsetCompanyName(String companyName) Value to set.static com.fasterxml.jackson.core.type.TypeReference<CustomerSetCompanyNameAction>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_COMPANY_NAME
discriminator value for CustomerSetCompanyNameAction- See Also:
-
-
Method Details
-
getCompanyName
String getCompanyName()Value to set. If empty, any existing value is removed.
- Returns:
- companyName
-
setCompanyName
Value to set. If empty, any existing value is removed.
- Parameters:
companyName- value to be set
-
of
factory method- Returns:
- instance of CustomerSetCompanyNameAction
-
of
factory method to create a shallow copy CustomerSetCompanyNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
CustomerSetCompanyNameAction copyDeep()- Specified by:
copyDeepin interfaceCustomerUpdateAction
-
deepCopy
@Nullable static CustomerSetCompanyNameAction deepCopy(@Nullable CustomerSetCompanyNameAction template) factory method to create a deep copy of CustomerSetCompanyNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerSetCompanyNameAction- Returns:
- builder
-
builder
create builder for CustomerSetCompanyNameAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerSetCompanyNameAction
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
-