Class TaxedPriceImpl

java.lang.Object
com.commercetools.history.models.common.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
  • 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
     
    Total gross price of the Order.
    Total net price of the Order.
    int
     
    void
    setTotalGross(Money totalGross)
    Total gross price of the Order.
    void
    setTotalNet(Money totalNet)
    Total net price of the Order.
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

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

    reflectionString, reflectionString

    Methods inherited from interface com.commercetools.history.models.common.TaxedPrice

    withTaxedPrice
  • Constructor Details

    • TaxedPriceImpl

      public TaxedPriceImpl()
      create empty instance
  • Method Details

    • getTotalNet

      public Money getTotalNet()

      Total net price of the Order.

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

      public Money getTotalGross()

      Total gross price of the Order.

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

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

      Total net price of the Order.

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

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

      Total gross price of the Order.

      Specified by:
      setTotalGross in interface TaxedPrice
      Parameters:
      totalGross - value 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