Class Price.CustomUnitAmount

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Price.CustomUnitAmount
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Price

public static class Price.CustomUnitAmount extends StripeObject
Up to and including to this quantity will be contained in the tier.
  • Constructor Details

    • CustomUnitAmount

      public CustomUnitAmount()
  • Method Details

    • getMaximum

      public Long getMaximum()
      The maximum unit amount the customer can specify for this item.
    • getMinimum

      public Long getMinimum()
      The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount.
    • getPreset

      public Long getPreset()
      The starting unit amount which can be updated by the customer.
    • setMaximum

      public void setMaximum(Long maximum)
      The maximum unit amount the customer can specify for this item.
    • setMinimum

      public void setMinimum(Long minimum)
      The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount.
    • setPreset

      public void setPreset(Long preset)
      The starting unit amount which can be updated by the customer.
    • 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