Interface CartSetBillingAddressAction
- All Superinterfaces:
CartUpdateAction,ResourceUpdateAction<CartUpdateAction>
CartSetBillingAddressAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CartSetBillingAddressAction cartSetBillingAddressAction = CartSetBillingAddressAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CartSetBillingAddressAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CartSetBillingAddressActionbuilder(CartSetBillingAddressAction template) create builder for CartSetBillingAddressAction instancecopyDeep()static CartSetBillingAddressActiondeepCopy(CartSetBillingAddressAction template) factory method to create a deep copy of CartSetBillingAddressAction@Valid BaseAddressValue to set.static CartSetBillingAddressActionof()factory methodstatic CartSetBillingAddressActionof(CartSetBillingAddressAction template) factory method to create a shallow copy CartSetBillingAddressActionvoidsetAddress(BaseAddress address) Value to set.static com.fasterxml.jackson.core.type.TypeReference<CartSetBillingAddressAction>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_BILLING_ADDRESS
discriminator value for CartSetBillingAddressAction- See Also:
-
-
Method Details
-
getAddress
Value to set. If empty, any existing value is removed.
- Returns:
- address
-
setAddress
Value to set. If empty, any existing value is removed.
- Parameters:
address- value to be set
-
of
factory method- Returns:
- instance of CartSetBillingAddressAction
-
of
factory method to create a shallow copy CartSetBillingAddressAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
CartSetBillingAddressAction copyDeep()- Specified by:
copyDeepin interfaceCartUpdateAction
-
deepCopy
@Nullable static CartSetBillingAddressAction deepCopy(@Nullable CartSetBillingAddressAction template) factory method to create a deep copy of CartSetBillingAddressAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CartSetBillingAddressAction- Returns:
- builder
-
builder
create builder for CartSetBillingAddressAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withCartSetBillingAddressAction
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
-