Class TaxedItemPriceDraftImpl

java.lang.Object
com.commercetools.api.models.order.TaxedItemPriceDraftImpl
All Implemented Interfaces:
TaxedItemPriceDraft, io.vrap.rmf.base.client.Draft<TaxedItemPriceDraft>, io.vrap.rmf.base.client.ModelBase

public class TaxedItemPriceDraftImpl extends Object implements TaxedItemPriceDraft, io.vrap.rmf.base.client.ModelBase
TaxedItemPriceDraft
  • 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
     
    Draft type that stores amounts only in cent precision for the specified currency.
    Draft type that stores amounts only in cent precision for the specified currency.
    int
     
    void
    setTotalGross(Money totalGross)
    Draft type that stores amounts only in cent precision for the specified currency.
    void
    setTotalNet(Money totalNet)
    Draft type that stores amounts only in cent precision for the specified currency.
     

    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.api.models.order.TaxedItemPriceDraft

    withTaxedItemPriceDraft
  • Constructor Details

    • TaxedItemPriceDraftImpl

      public TaxedItemPriceDraftImpl()
      create empty instance
  • Method Details

    • getTotalNet

      public Money getTotalNet()

      Draft type that stores amounts only in cent precision for the specified currency.

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

      public Money getTotalGross()

      Draft type that stores amounts only in cent precision for the specified currency.

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

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

      Draft type that stores amounts only in cent precision for the specified currency.

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

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

      Draft type that stores amounts only in cent precision for the specified currency.

      Specified by:
      setTotalGross in interface TaxedItemPriceDraft
      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