Package com.stripe.param.checkout
Class SessionCreateParams.Discount
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.Discount
- Enclosing class:
- SessionCreateParams
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The ID of the coupon to apply to this Session.Map of extra parameters for custom features not available in this client library.The ID of a promotion code to apply to this Session.
-
Method Details
-
builder
-
getCoupon
The ID of the coupon to apply to this Session. -
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
The ID of a promotion code to apply to this Session.
-