Class PriceCreateParams.CurrencyOption.CustomUnitAmount

java.lang.Object
com.stripe.param.PriceCreateParams.CurrencyOption.CustomUnitAmount
Enclosing class:
PriceCreateParams.CurrencyOption

public static class PriceCreateParams.CurrencyOption.CustomUnitAmount extends Object
  • Method Details

    • builder

    • getEnabled

      public Boolean getEnabled()
      Required. Pass in true to enable custom_unit_amount, otherwise omit custom_unit_amount.
    • 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 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.