Class TaxedPriceImpl

java.lang.Object
com.commercetools.importapi.models.orders.TaxedPriceImpl
All Implemented Interfaces:
TaxedPrice, io.vrap.rmf.base.client.ModelBase

public class TaxedPriceImpl extends Object implements TaxedPrice, io.vrap.rmf.base.client.ModelBase
TaxedPrice
  • Constructor Details

    • TaxedPriceImpl

      public TaxedPriceImpl()
      create empty instance
  • Method Details

    • getTotalNet

      public Money getTotalNet()

      Maps to TaxedPrice.totalNet.

      Specified by:
      getTotalNet in interface TaxedPrice
      Returns:
      totalNet
    • getTotalGross

      public Money getTotalGross()

      Maps to TaxedPrice.totalGross.

      Specified by:
      getTotalGross in interface TaxedPrice
      Returns:
      totalGross
    • getTaxPortions

      public List<TaxPortion> getTaxPortions()

      Maps to TaxedPrice.taxPortions.

      Specified by:
      getTaxPortions in interface TaxedPrice
      Returns:
      taxPortions
    • setTotalNet

      public void setTotalNet(Money totalNet)
      Description copied from interface: TaxedPrice

      Maps to TaxedPrice.totalNet.

      Specified by:
      setTotalNet in interface TaxedPrice
      Parameters:
      totalNet - value to be set
    • setTotalGross

      public void setTotalGross(Money totalGross)
      Description copied from interface: TaxedPrice

      Maps to TaxedPrice.totalGross.

      Specified by:
      setTotalGross in interface TaxedPrice
      Parameters:
      totalGross - value to be set
    • setTaxPortions

      public void setTaxPortions(TaxPortion... taxPortions)
      Description copied from interface: TaxedPrice

      Maps to TaxedPrice.taxPortions.

      Specified by:
      setTaxPortions in interface TaxedPrice
      Parameters:
      taxPortions - values to be set
    • setTaxPortions

      public void setTaxPortions(List<TaxPortion> taxPortions)
      Description copied from interface: TaxedPrice

      Maps to TaxedPrice.taxPortions.

      Specified by:
      setTaxPortions in interface TaxedPrice
      Parameters:
      taxPortions - values to be set
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object