Class InvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.DiscountAction.Set

java.lang.Object
com.stripe.param.InvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.DiscountAction.Set
Enclosing class:
InvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.DiscountAction

public static class InvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.DiscountAction.Set extends Object
The ID of a promotion code to remove from the discounts array.
  • Method Details

    • builder

    • getCoupon

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

      public String 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.
    • getPromotionCode

      public String getPromotionCode()
      An ID of an existing promotion code to replace the discounts array with.