Interface ShippingMethodTaxAmountChangeValue
public interface ShippingMethodTaxAmountChangeValue
ShippingMethodTaxAmountChangeValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShippingMethodTaxAmountChangeValue shippingMethodTaxAmountChangeValue = ShippingMethodTaxAmountChangeValue.builder()
.taxedPrice(taxedPriceBuilder -> taxedPriceBuilder)
.taxRate(taxRateBuilder -> taxRateBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ShippingMethodTaxAmountChangeValuebuilder
(ShippingMethodTaxAmountChangeValue template) create builder for ShippingMethodTaxAmountChangeValue instancedeepCopy
(ShippingMethodTaxAmountChangeValue template) factory method to create a deep copy of ShippingMethodTaxAmountChangeValue@NotNull @Valid TaxedPrice
Taxed price for the Shipping Method based ontaxRate
.@NotNull @Valid TaxRate
Tax rate set externally for the Shipping Method.of()
factory methodof
(ShippingMethodTaxAmountChangeValue template) factory method to create a shallow copy ShippingMethodTaxAmountChangeValuevoid
setTaxedPrice
(TaxedPrice taxedPrice) Taxed price for the Shipping Method based ontaxRate
.void
setTaxRate
(TaxRate taxRate) Tax rate set externally for the Shipping Method.static com.fasterxml.jackson.core.type.TypeReference<ShippingMethodTaxAmountChangeValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getTaxedPrice
Taxed price for the Shipping Method based on
taxRate
.- Returns:
- taxedPrice
-
getTaxRate
Tax rate set externally for the Shipping Method.
- Returns:
- taxRate
-
setTaxedPrice
Taxed price for the Shipping Method based on
taxRate
.- Parameters:
taxedPrice
- value to be set
-
setTaxRate
Tax rate set externally for the Shipping Method.
- Parameters:
taxRate
- value to be set
-
of
factory method- Returns:
- instance of ShippingMethodTaxAmountChangeValue
-
of
factory method to create a shallow copy ShippingMethodTaxAmountChangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ShippingMethodTaxAmountChangeValue deepCopy(@Nullable ShippingMethodTaxAmountChangeValue template) factory method to create a deep copy of ShippingMethodTaxAmountChangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ShippingMethodTaxAmountChangeValue- Returns:
- builder
-
builder
static ShippingMethodTaxAmountChangeValueBuilder builder(ShippingMethodTaxAmountChangeValue template) create builder for ShippingMethodTaxAmountChangeValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withShippingMethodTaxAmountChangeValue
default <T> T withShippingMethodTaxAmountChangeValue(Function<ShippingMethodTaxAmountChangeValue, 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<ShippingMethodTaxAmountChangeValue> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-