Class Price.CurrencyOption.CustomUnitAmount

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

public static class Price.CurrencyOption.CustomUnitAmount extends StripeObject
  • 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