Interface ChannelSetAddressAction
- All Superinterfaces:
ChannelUpdateAction
,ResourceUpdateAction<ChannelUpdateAction>
ChannelSetAddressAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ChannelSetAddressAction channelSetAddressAction = ChannelSetAddressAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ChannelSetAddressAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ChannelSetAddressActionbuilder
(ChannelSetAddressAction template) create builder for ChannelSetAddressAction instancestatic ChannelSetAddressAction
deepCopy
(ChannelSetAddressAction template) factory method to create a deep copy of ChannelSetAddressAction@Valid BaseAddress
Value to set.static ChannelSetAddressAction
of()
factory methodstatic ChannelSetAddressAction
of
(ChannelSetAddressAction template) factory method to create a shallow copy ChannelSetAddressActionvoid
setAddress
(BaseAddress address) Value to set.static com.fasterxml.jackson.core.type.TypeReference<ChannelSetAddressAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.channel.ChannelUpdateAction
getAction, withChannelUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_ADDRESS
discriminator value for ChannelSetAddressAction- See Also:
-
-
Method Details
-
getAddress
Value to set. If empty, any existing value will be removed.
- Returns:
- address
-
setAddress
Value to set. If empty, any existing value will be removed.
- Parameters:
address
- value to be set
-
of
factory method- Returns:
- instance of ChannelSetAddressAction
-
of
factory method to create a shallow copy ChannelSetAddressAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ChannelSetAddressAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ChannelSetAddressAction- Returns:
- builder
-
builder
create builder for ChannelSetAddressAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withChannelSetAddressAction
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
-