Class SubscriptionScheduleAmendParams.Amendment.DiscountAction.Remove

java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Amendment.DiscountAction.Remove
Enclosing class:
SubscriptionScheduleAmendParams.Amendment.DiscountAction

public static class SubscriptionScheduleAmendParams.Amendment.DiscountAction.Remove extends Object
Required. The type of calculation made to determine when the discount ends.
  • Method Details

    • builder

    • getCoupon

      public String getCoupon()
      The coupon code to remove from the discounts array.
    • getDiscount

      public String getDiscount()
      The ID of a discount to remove from the discounts array.
    • 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.