Interface ShippingMethodRemoveZoneAction
- All Superinterfaces:
ResourceUpdateAction<ShippingMethodUpdateAction>
,ShippingMethodUpdateAction
ShippingMethodRemoveZoneAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShippingMethodRemoveZoneAction shippingMethodRemoveZoneAction = ShippingMethodRemoveZoneAction.builder()
.zone(zoneBuilder -> zoneBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ShippingMethodRemoveZoneAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ShippingMethodRemoveZoneActionbuilder
(ShippingMethodRemoveZoneAction template) create builder for ShippingMethodRemoveZoneAction instancedeepCopy
(ShippingMethodRemoveZoneAction template) factory method to create a deep copy of ShippingMethodRemoveZoneAction@NotNull @Valid ZoneResourceIdentifier
getZone()
Value to remove fromzoneRates
.of()
factory methodof
(ShippingMethodRemoveZoneAction template) factory method to create a shallow copy ShippingMethodRemoveZoneActionvoid
Value to remove fromzoneRates
.static com.fasterxml.jackson.core.type.TypeReference<ShippingMethodRemoveZoneAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.shipping_method.ShippingMethodUpdateAction
getAction, withShippingMethodUpdateAction
-
Field Details
-
REMOVE_ZONE
discriminator value for ShippingMethodRemoveZoneAction- See Also:
-
-
Method Details
-
getZone
Value to remove from
zoneRates
.- Returns:
- zone
-
setZone
Value to remove from
zoneRates
.- Parameters:
zone
- value to be set
-
of
factory method- Returns:
- instance of ShippingMethodRemoveZoneAction
-
of
factory method to create a shallow copy ShippingMethodRemoveZoneAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ShippingMethodRemoveZoneAction deepCopy(@Nullable ShippingMethodRemoveZoneAction template) factory method to create a deep copy of ShippingMethodRemoveZoneAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ShippingMethodRemoveZoneAction- Returns:
- builder
-
builder
create builder for ShippingMethodRemoveZoneAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withShippingMethodRemoveZoneAction
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<ShippingMethodRemoveZoneAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-