Interface ShippingMethodTaxAmountChangeValue


public interface ShippingMethodTaxAmountChangeValue
ShippingMethodTaxAmountChangeValue
Example to create an instance using the builder pattern

     ShippingMethodTaxAmountChangeValue shippingMethodTaxAmountChangeValue = ShippingMethodTaxAmountChangeValue.builder()
             .taxedPrice(taxedPriceBuilder -> taxedPriceBuilder)
             .taxRate(taxRateBuilder -> taxRateBuilder)
             .build()
 
  • Method Details

    • getTaxedPrice

      @NotNull @Valid @NotNull @Valid TaxedPrice getTaxedPrice()

      Taxed price for the Shipping Method based on taxRate.

      Returns:
      taxedPrice
    • getTaxRate

      @NotNull @Valid @NotNull @Valid TaxRate getTaxRate()

      Tax rate set externally for the Shipping Method.

      Returns:
      taxRate
    • setTaxedPrice

      void setTaxedPrice(TaxedPrice taxedPrice)

      Taxed price for the Shipping Method based on taxRate.

      Parameters:
      taxedPrice - value to be set
    • setTaxRate

      void setTaxRate(TaxRate taxRate)

      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

      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

      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