Interface MethodTaxedPrice
public interface MethodTaxedPrice
MethodTaxedPrice
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MethodTaxedPrice methodTaxedPrice = MethodTaxedPrice.builder()
.shippingMethodKey("{shippingMethodKey}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic MethodTaxedPriceBuilder
builder()
builder factory method for MethodTaxedPricestatic MethodTaxedPriceBuilder
builder
(MethodTaxedPrice template) create builder for MethodTaxedPrice instancestatic MethodTaxedPrice
deepCopy
(MethodTaxedPrice template) factory method to create a deep copy of MethodTaxedPrice@NotNull String
User-defined unique identifier of the Shipping Method in a Cart withMultiple
ShippingMode.@Valid TaxedItemPrice
Total taxed price based on the quantity of the Line Item or Custom Line Item assigned to the Shipping Method identified byshippingMethodKey
.static MethodTaxedPrice
of()
factory methodstatic MethodTaxedPrice
of
(MethodTaxedPrice template) factory method to create a shallow copy MethodTaxedPricevoid
setShippingMethodKey
(String shippingMethodKey) User-defined unique identifier of the Shipping Method in a Cart withMultiple
ShippingMode.void
setTaxedPrice
(TaxedItemPrice taxedPrice) Total taxed price based on the quantity of the Line Item or Custom Line Item assigned to the Shipping Method identified byshippingMethodKey
.static com.fasterxml.jackson.core.type.TypeReference<MethodTaxedPrice>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withMethodTaxedPrice
(Function<MethodTaxedPrice, T> helper) accessor map function
-
Method Details
-
getShippingMethodKey
User-defined unique identifier of the Shipping Method in a Cart with
Multiple
ShippingMode.- Returns:
- shippingMethodKey
-
getTaxedPrice
Total taxed price based on the quantity of the Line Item or Custom Line Item assigned to the Shipping Method identified by
shippingMethodKey
.- Returns:
- taxedPrice
-
setShippingMethodKey
User-defined unique identifier of the Shipping Method in a Cart with
Multiple
ShippingMode.- Parameters:
shippingMethodKey
- value to be set
-
setTaxedPrice
Total taxed price based on the quantity of the Line Item or Custom Line Item assigned to the Shipping Method identified by
shippingMethodKey
.- Parameters:
taxedPrice
- value to be set
-
of
factory method- Returns:
- instance of MethodTaxedPrice
-
of
factory method to create a shallow copy MethodTaxedPrice- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of MethodTaxedPrice- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for MethodTaxedPrice- Returns:
- builder
-
builder
create builder for MethodTaxedPrice instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withMethodTaxedPrice
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
-