Class Plan.Tier

    • Constructor Summary

      Constructors 
      Constructor Description
      Tier()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.Long getFlatAmount()
      Price for the entire tier.
      java.math.BigDecimal getFlatAmountDecimal()
      Same as flat_amount, but contains a decimal value with at most 12 decimal places.
      java.lang.Long getUnitAmount()
      Per unit price for units relevant to the tier.
      java.math.BigDecimal getUnitAmountDecimal()
      Same as unit_amount, but contains a decimal value with at most 12 decimal places.
      java.lang.Long getUpTo()
      Up to and including to this quantity will be contained in the tier.
      int hashCode()  
      void setFlatAmount​(java.lang.Long flatAmount)
      Price for the entire tier.
      void setFlatAmountDecimal​(java.math.BigDecimal flatAmountDecimal)
      Same as flat_amount, but contains a decimal value with at most 12 decimal places.
      void setUnitAmount​(java.lang.Long unitAmount)
      Per unit price for units relevant to the tier.
      void setUnitAmountDecimal​(java.math.BigDecimal unitAmountDecimal)
      Same as unit_amount, but contains a decimal value with at most 12 decimal places.
      void setUpTo​(java.lang.Long upTo)
      Up to and including to this quantity will be contained in the tier.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Tier

        public Tier()
    • Method Detail

      • getFlatAmount

        public java.lang.Long getFlatAmount()
        Price for the entire tier.
      • getFlatAmountDecimal

        public java.math.BigDecimal getFlatAmountDecimal()
        Same as flat_amount, but contains a decimal value with at most 12 decimal places.
      • getUnitAmount

        public java.lang.Long getUnitAmount()
        Per unit price for units relevant to the tier.
      • getUnitAmountDecimal

        public java.math.BigDecimal getUnitAmountDecimal()
        Same as unit_amount, but contains a decimal value with at most 12 decimal places.
      • getUpTo

        public java.lang.Long getUpTo()
        Up to and including to this quantity will be contained in the tier.
      • setFlatAmount

        public void setFlatAmount​(java.lang.Long flatAmount)
        Price for the entire tier.
      • setFlatAmountDecimal

        public void setFlatAmountDecimal​(java.math.BigDecimal flatAmountDecimal)
        Same as flat_amount, but contains a decimal value with at most 12 decimal places.
      • setUnitAmount

        public void setUnitAmount​(java.lang.Long unitAmount)
        Per unit price for units relevant to the tier.
      • setUnitAmountDecimal

        public void setUnitAmountDecimal​(java.math.BigDecimal unitAmountDecimal)
        Same as unit_amount, but contains a decimal value with at most 12 decimal places.
      • setUpTo

        public void setUpTo​(java.lang.Long upTo)
        Up to and including to this quantity will be contained in the tier.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object