Class QuoteUpdateParams.Line.Action.SetDiscount

java.lang.Object
com.stripe.param.QuoteUpdateParams.Line.Action.SetDiscount
Enclosing class:
QuoteUpdateParams.Line.Action

public static class QuoteUpdateParams.Line.Action.SetDiscount extends Object
Required. ID of a price to remove.
  • Method Details

    • builder

    • getCoupon

      public Object getCoupon()
      The coupon code to replace the discounts array with.
    • getDiscount

      public Object getDiscount()
      An ID of an existing discount to replace the discounts array with.
    • 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.