Class CouponCreateParams.CurrencyOption

java.lang.Object
com.stripe.param.CouponCreateParams.CurrencyOption
Enclosing class:
CouponCreateParams

public static class CouponCreateParams.CurrencyOption extends Object
Add all elements to `products` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See CouponCreateParams.AppliesTo.products for the field documentation.
  • Method Details

    • builder

    • getAmountOff

      public Long getAmountOff()
      Required. A positive integer representing the amount to subtract from an invoice total.
    • 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.