Class MethodTaxRateImpl

java.lang.Object
com.commercetools.api.models.cart.MethodTaxRateImpl
All Implemented Interfaces:
MethodTaxRate, io.vrap.rmf.base.client.ModelBase

public class MethodTaxRateImpl extends Object implements MethodTaxRate, io.vrap.rmf.base.client.ModelBase
MethodTaxRate
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase

    io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    User-defined unique identifier of the Shipping Method in a Cart with Multiple ShippingMode.
    Tax Rate for the Shipping Method.
    int
     
    void
    setShippingMethodKey(String shippingMethodKey)
    User-defined unique identifier of the Shipping Method in a Cart with Multiple ShippingMode.
    void
    Tax Rate for the Shipping Method.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.commercetools.api.models.cart.MethodTaxRate

    withMethodTaxRate

    Methods inherited from interface io.vrap.rmf.base.client.ModelBase

    reflectionString, reflectionString
  • Constructor Details

    • MethodTaxRateImpl

      public MethodTaxRateImpl()
      create empty instance
  • Method Details

    • getShippingMethodKey

      public String getShippingMethodKey()

      User-defined unique identifier of the Shipping Method in a Cart with Multiple ShippingMode.

      Specified by:
      getShippingMethodKey in interface MethodTaxRate
      Returns:
      shippingMethodKey
    • getTaxRate

      public TaxRate getTaxRate()

      Tax Rate for the Shipping Method.

      Specified by:
      getTaxRate in interface MethodTaxRate
      Returns:
      taxRate
    • setShippingMethodKey

      public void setShippingMethodKey(String shippingMethodKey)
      Description copied from interface: MethodTaxRate

      User-defined unique identifier of the Shipping Method in a Cart with Multiple ShippingMode.

      Specified by:
      setShippingMethodKey in interface MethodTaxRate
      Parameters:
      shippingMethodKey - value to be set
    • setTaxRate

      public void setTaxRate(TaxRate taxRate)
      Description copied from interface: MethodTaxRate

      Tax Rate for the Shipping Method.

      Specified by:
      setTaxRate in interface MethodTaxRate
      Parameters:
      taxRate - value to be set
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object