Package com.commercetools.api.models.me
Interface MyCustomerUpdateAction
- All Superinterfaces:
ResourceUpdateAction<MyCustomerUpdateAction>
- All Known Subinterfaces:
MyCustomerAddAddressAction
,MyCustomerAddBillingAddressIdAction
,MyCustomerAddShippingAddressIdAction
,MyCustomerChangeAddressAction
,MyCustomerChangeEmailAction
,MyCustomerRemoveAddressAction
,MyCustomerRemoveBillingAddressIdAction
,MyCustomerRemoveShippingAddressIdAction
,MyCustomerSetCompanyNameAction
,MyCustomerSetCustomFieldAction
,MyCustomerSetCustomTypeAction
,MyCustomerSetDateOfBirthAction
,MyCustomerSetDefaultBillingAddressAction
,MyCustomerSetDefaultShippingAddressAction
,MyCustomerSetFirstNameAction
,MyCustomerSetLastNameAction
,MyCustomerSetLocaleAction
,MyCustomerSetMiddleNameAction
,MyCustomerSetSalutationAction
,MyCustomerSetTitleAction
,MyCustomerSetVatIdAction
MyCustomerUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
MyCustomerUpdateAction myCustomerUpdateAction = MyCustomerUpdateAction.addAddressBuilder()
address(addressBuilder -> addressBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for addAddress subtypebuilder for addBillingAddressId subtypebuilder for addShippingAddressId subtypebuilder for changeAddress subtypebuilder for changeEmail subtypestatic MyCustomerUpdateAction
deepCopy
(MyCustomerUpdateAction template) factory method to create a deep copy of MyCustomerUpdateAction@NotNull String
builder for removeAddress subtypebuilder for removeBillingAddressId subtypebuilder for removeShippingAddressId subtypebuilder for setCompanyName subtypebuilder for setCustomField subtypebuilder for setCustomType subtypebuilder for setDateOfBirth subtypebuilder for setDefaultBillingAddress subtypebuilder for setDefaultShippingAddress subtypebuilder for setFirstName subtypebuilder for setLastName subtypebuilder for setLocale subtypebuilder for setMiddleName subtypebuilder for setSalutation subtypebuilder for setTitle subtypebuilder for setVatId subtypestatic com.fasterxml.jackson.core.type.TypeReference<MyCustomerUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<MyCustomerUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of MyCustomerUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
addAddressBuilder
builder for addAddress subtype- Returns:
- builder
-
addBillingAddressIdBuilder
builder for addBillingAddressId subtype- Returns:
- builder
-
addShippingAddressIdBuilder
builder for addShippingAddressId subtype- Returns:
- builder
-
changeAddressBuilder
builder for changeAddress subtype- Returns:
- builder
-
changeEmailBuilder
builder for changeEmail subtype- Returns:
- builder
-
removeAddressBuilder
builder for removeAddress subtype- Returns:
- builder
-
removeBillingAddressIdBuilder
builder for removeBillingAddressId subtype- Returns:
- builder
-
removeShippingAddressIdBuilder
builder for removeShippingAddressId subtype- Returns:
- builder
-
setCompanyNameBuilder
builder for setCompanyName subtype- Returns:
- builder
-
setCustomFieldBuilder
builder for setCustomField subtype- Returns:
- builder
-
setCustomTypeBuilder
builder for setCustomType subtype- Returns:
- builder
-
setDateOfBirthBuilder
builder for setDateOfBirth subtype- Returns:
- builder
-
setDefaultBillingAddressBuilder
builder for setDefaultBillingAddress subtype- Returns:
- builder
-
setDefaultShippingAddressBuilder
builder for setDefaultShippingAddress subtype- Returns:
- builder
-
setFirstNameBuilder
builder for setFirstName subtype- Returns:
- builder
-
setLastNameBuilder
builder for setLastName subtype- Returns:
- builder
-
setLocaleBuilder
builder for setLocale subtype- Returns:
- builder
-
setMiddleNameBuilder
builder for setMiddleName subtype- Returns:
- builder
-
setSalutationBuilder
builder for setSalutation subtype- Returns:
- builder
-
setTitleBuilder
builder for setTitle subtype- Returns:
- builder
-
setVatIdBuilder
builder for setVatId subtype- Returns:
- builder
-
withMyCustomerUpdateAction
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
-