Class InvoiceUpdateParams.Discount

java.lang.Object
com.stripe.param.InvoiceUpdateParams.Discount
Enclosing class:
InvoiceUpdateParams

public static class InvoiceUpdateParams.Discount extends Object
The value of the custom field. This may be up to 30 characters.
  • Method Details

    • builder

      public static InvoiceUpdateParams.Discount.Builder builder()
    • getCoupon

      public Object getCoupon()
      ID of the coupon to create a new discount for.
    • getDiscount

      public Object getDiscount()
      ID of an existing discount on the object (or one of its ancestors) to reuse.
    • getDiscountEnd

      Details to determine how long the discount should be applied for.
    • 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.