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 MethodTaxedPriceBuilderbuilder()builder factory method for MethodTaxedPricestatic MethodTaxedPriceBuilderbuilder(MethodTaxedPrice template) create builder for MethodTaxedPrice instancecopyDeep()static MethodTaxedPricedeepCopy(MethodTaxedPrice template) factory method to create a deep copy of MethodTaxedPrice@NotNull String@Valid TaxedItemPriceTotal taxed price based on the quantity of the Line Item or Custom Line Item assigned to the Shipping Method identified byshippingMethodKey.static MethodTaxedPriceof()factory methodstatic MethodTaxedPriceof(MethodTaxedPrice template) factory method to create a shallow copy MethodTaxedPricevoidsetShippingMethodKey(String shippingMethodKey) voidsetTaxedPrice(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> TwithMethodTaxedPrice(Function<MethodTaxedPrice, T> helper) accessor map function
-
Method Details
-
getShippingMethodKey
User-defined unique identifier of the Shipping Method in a Cart with
MultipleShippingMode.- 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
MultipleShippingMode.- 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
-
copyDeep
MethodTaxedPrice copyDeep() -
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
-