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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ChannelSetAddressCustomTypeAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ChannelSetAddressCustomTypeActionbuilder(ChannelSetAddressCustomTypeAction template) create builder for ChannelSetAddressCustomTypeAction instancecopyDeep()deepCopy(ChannelSetAddressCustomTypeAction template) factory method to create a deep copy of ChannelSetAddressCustomTypeAction@Valid FieldContainerSets the Custom Fields fields for theaddress.@Valid TypeResourceIdentifiergetType()of()factory methodof(ChannelSetAddressCustomTypeAction template) factory method to create a shallow copy ChannelSetAddressCustomTypeActionvoidsetFields(FieldContainer fields) Sets the Custom Fields fields for theaddress.voidstatic com.fasterxml.jackson.core.type.TypeReference<ChannelSetAddressCustomTypeAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.channel.ChannelUpdateAction
getAction, withChannelUpdateActionMethods 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
addresswith 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
addresswith 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
-
copyDeep
ChannelSetAddressCustomTypeAction copyDeep()- Specified by:
copyDeepin interfaceChannelUpdateAction
-
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
-