Class LicenseFee.Tier

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.LicenseFee.Tier
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
LicenseFee

public static class LicenseFee.Tier extends StripeObject
For more details about Tier, please refer to the API Reference.
  • Constructor Details

    • Tier

      public Tier()
  • Method Details

    • getFlatAmount

      public String getFlatAmount()
      Price for the entire tier, represented as a decimal string in minor currency units with at most 12 decimal places.
    • getUnitAmount

      public String getUnitAmount()
      Per-unit price for units included in this tier, represented as a decimal string in minor currency units with at most 12 decimal places.
    • getUpToDecimal

      public String getUpToDecimal()
      Up to and including this quantity will be contained in the tier. Only one of up_to_decimal and up_to_inf may be set.
    • getUpToInf

      public String getUpToInf()
      No upper bound to this tier. Only one of up_to_decimal and up_to_inf may be set.
    • setFlatAmount

      public void setFlatAmount(String flatAmount)
      Price for the entire tier, represented as a decimal string in minor currency units with at most 12 decimal places.
    • setUnitAmount

      public void setUnitAmount(String unitAmount)
      Per-unit price for units included in this tier, represented as a decimal string in minor currency units with at most 12 decimal places.
    • setUpToDecimal

      public void setUpToDecimal(String upToDecimal)
      Up to and including this quantity will be contained in the tier. Only one of up_to_decimal and up_to_inf may be set.
    • setUpToInf

      public void setUpToInf(String upToInf)
      No upper bound to this tier. Only one of up_to_decimal and up_to_inf may be set.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object