Class SubRateImpl

java.lang.Object
com.commercetools.importapi.models.prices.SubRateImpl
All Implemented Interfaces:
SubRate, io.vrap.rmf.base.client.ModelBase

public class SubRateImpl extends Object implements SubRate, io.vrap.rmf.base.client.ModelBase
SubRate
  • 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
    setAmount(Double amount)
    set amount
    void
    set name
     

    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.importapi.models.prices.SubRate

    withSubRate
  • Constructor Details

    • SubRateImpl

      public SubRateImpl()
      create empty instance
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface SubRate
      Returns:
      name
    • getAmount

      public Double getAmount()
      Specified by:
      getAmount in interface SubRate
      Returns:
      amount
    • setName

      public void setName(String name)
      Description copied from interface: SubRate
      set name
      Specified by:
      setName in interface SubRate
      Parameters:
      name - value to be set
    • setAmount

      public void setAmount(Double amount)
      Description copied from interface: SubRate
      set amount
      Specified by:
      setAmount in interface SubRate
      Parameters:
      amount - 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