Class PaymentLinkCreateParams.LineItem.AdjustableQuantity

java.lang.Object
com.stripe.param.PaymentLinkCreateParams.LineItem.AdjustableQuantity
Enclosing class:
PaymentLinkCreateParams.LineItem

public static class PaymentLinkCreateParams.LineItem.AdjustableQuantity extends Object
  • Method Details

    • builder

    • getEnabled

      public Boolean getEnabled()
      Required. Set to true if the quantity can be adjusted to any non-negative Integer.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getMaximum

      public Long getMaximum()
      The maximum quantity the customer can purchase. By default this value is 99. You can specify a value up to 999999.
    • getMinimum

      public Long getMinimum()
      The minimum quantity the customer can purchase. By default this value is 0. If there is only one item in the cart then that item's quantity cannot go down to 0.
    • 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