Class CouponUpdateParams.CurrencyOption.Builder

java.lang.Object
com.stripe.param.CouponUpdateParams.CurrencyOption.Builder
Enclosing class:
CouponUpdateParams.CurrencyOption

public static class CouponUpdateParams.CurrencyOption.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setAmountOff

      public CouponUpdateParams.CurrencyOption.Builder setAmountOff(Long amountOff)
      Required. A positive integer representing the amount to subtract from an invoice total.
    • putExtraParam

      public CouponUpdateParams.CurrencyOption.Builder putExtraParam(String key, Object value)
      Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See CouponUpdateParams.CurrencyOption.extraParams for the field documentation.
    • putAllExtraParam

      Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See CouponUpdateParams.CurrencyOption.extraParams for the field documentation.