Class PriceImpl

java.lang.Object
com.commercetools.history.models.common.PriceImpl
All Implemented Interfaces:
Price, io.vrap.rmf.base.client.ModelBase

public class PriceImpl extends Object implements Price, io.vrap.rmf.base.client.ModelBase
Price
  • 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
     
     
     
    int
     
    void
    set id
    void
    setValue(Money value)
    set value
     

    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.Price

    withPrice
  • Constructor Details

    • PriceImpl

      public PriceImpl()
      create empty instance
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface Price
      Returns:
      id
    • getValue

      public Money getValue()
      Specified by:
      getValue in interface Price
      Returns:
      value
    • setId

      public void setId(String id)
      Description copied from interface: Price
      set id
      Specified by:
      setId in interface Price
      Parameters:
      id - value to be set
    • setValue

      public void setValue(Money value)
      Description copied from interface: Price
      set value
      Specified by:
      setValue in interface Price
      Parameters:
      value - 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