Package com.stripe.param
Class SubscriptionScheduleAmendParams.Amendment.DiscountAction.Add
java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Amendment.DiscountAction.Add
- Enclosing class:
- SubscriptionScheduleAmendParams.Amendment.DiscountAction
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The coupon code to redeem.An ID of an existing discount for a coupon that was already redeemed.Details to determine how long the discount should be applied for.Map of extra parameters for custom features not available in this client library.getIndex()
The index, starting at 0, at which to position the new discount.
-
Method Details
-
builder
-
getCoupon
The coupon code to redeem. -
getDiscount
An ID of an existing discount for a coupon that was already redeemed. -
getDiscountEnd
Details to determine how long the discount should be applied for. -
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. -
getIndex
The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of thediscounts
array.
-