Interface ChannelSetAddressCustomTypeAction
- All Superinterfaces:
ChannelUpdateAction
,ResourceUpdateAction<ChannelUpdateAction>
ChannelSetAddressCustomTypeAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ChannelSetAddressCustomTypeAction channelSetAddressCustomTypeAction = ChannelSetAddressCustomTypeAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ChannelSetAddressCustomTypeAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ChannelSetAddressCustomTypeActionbuilder
(ChannelSetAddressCustomTypeAction template) create builder for ChannelSetAddressCustomTypeAction instancedeepCopy
(ChannelSetAddressCustomTypeAction template) factory method to create a deep copy of ChannelSetAddressCustomTypeAction@Valid FieldContainer
Sets the Custom Fields fields for theaddress
.@Valid TypeResourceIdentifier
getType()
Defines the Type that extends theaddress
with Custom Fields.of()
factory methodof
(ChannelSetAddressCustomTypeAction template) factory method to create a shallow copy ChannelSetAddressCustomTypeActionvoid
setFields
(FieldContainer fields) Sets the Custom Fields fields for theaddress
.void
Defines the Type that extends theaddress
with Custom Fields.static com.fasterxml.jackson.core.type.TypeReference<ChannelSetAddressCustomTypeAction>
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_CUSTOM_TYPE
discriminator value for ChannelSetAddressCustomTypeAction- See Also:
-
-
Method Details
-
getType
Defines the Type that extends the
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
.- Returns:
- type
-
getFields
Sets the Custom Fields fields for the
address
.- Returns:
- fields
-
setType
Defines the Type that extends the
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
.- Parameters:
type
- value to be set
-
setFields
Sets the Custom Fields fields for the
address
.- Parameters:
fields
- value to be set
-
of
factory method- Returns:
- instance of ChannelSetAddressCustomTypeAction
-
of
factory method to create a shallow copy ChannelSetAddressCustomTypeAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ChannelSetAddressCustomTypeAction deepCopy(@Nullable ChannelSetAddressCustomTypeAction template) factory method to create a deep copy of ChannelSetAddressCustomTypeAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ChannelSetAddressCustomTypeAction- Returns:
- builder
-
builder
create builder for ChannelSetAddressCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withChannelSetAddressCustomTypeAction
default <T> T withChannelSetAddressCustomTypeAction(Function<ChannelSetAddressCustomTypeAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ChannelSetAddressCustomTypeAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-