Interface CustomerSetVatIdAction
- All Superinterfaces:
CustomerUpdateAction
,ResourceUpdateAction<CustomerUpdateAction>
CustomerSetVatIdAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerSetVatIdAction customerSetVatIdAction = CustomerSetVatIdAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CustomerSetVatIdAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerSetVatIdActionbuilder
(CustomerSetVatIdAction template) create builder for CustomerSetVatIdAction instancestatic CustomerSetVatIdAction
deepCopy
(CustomerSetVatIdAction template) factory method to create a deep copy of CustomerSetVatIdActiongetVatId()
Value to set.static CustomerSetVatIdAction
of()
factory methodstatic CustomerSetVatIdAction
of
(CustomerSetVatIdAction template) factory method to create a shallow copy CustomerSetVatIdActionvoid
Value to set.static com.fasterxml.jackson.core.type.TypeReference<CustomerSetVatIdAction>
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_VAT_ID
discriminator value for CustomerSetVatIdAction- See Also:
-
-
Method Details
-
getVatId
String getVatId()Value to set. If empty, any existing value is removed.
- Returns:
- vatId
-
setVatId
Value to set. If empty, any existing value is removed.
- Parameters:
vatId
- value to be set
-
of
factory method- Returns:
- instance of CustomerSetVatIdAction
-
of
factory method to create a shallow copy CustomerSetVatIdAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of CustomerSetVatIdAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerSetVatIdAction- Returns:
- builder
-
builder
create builder for CustomerSetVatIdAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerSetVatIdAction
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
-