Class SubscriptionScheduleAmendParams.Amendment.AmendmentStart.DiscountEnd

java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Amendment.AmendmentStart.DiscountEnd
Enclosing class:
SubscriptionScheduleAmendParams.Amendment.AmendmentStart

public static class SubscriptionScheduleAmendParams.Amendment.AmendmentStart.DiscountEnd extends Object
Required. The position of the previous amendment in the amendments array after which this amendment should begin. Indexes start from 0 and must be less than the index of the current amendment in the array.
  • Method Details

    • builder

    • getDiscount

      public String getDiscount()
      Required. The ID of a specific discount.
    • 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.