Class CouponUpdateParams

java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.CouponUpdateParams

public class CouponUpdateParams extends ApiRequestParams
  • Method Details

    • builder

      public static CouponUpdateParams.Builder builder()
    • getCurrencyOptions

      public Map<String,CouponUpdateParams.CurrencyOption> getCurrencyOptions()
      Coupons defined in each available currency option (only supported if the coupon is amount-based). Each key must be a three-letter ISO currency code and a supported currency.
    • getExpand

      public List<String> getExpand()
      Specifies which fields in the response should be expanded.
    • 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.
    • getMetadata

      public Object getMetadata()
      Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
    • getName

      public Object getName()
      Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the id is shown if name is not set.