Class: Stripe::BillingPortal::SessionCreateParams::FlowData::SubscriptionCancel::Retention::CouponOffer
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::BillingPortal::SessionCreateParams::FlowData::SubscriptionCancel::Retention::CouponOffer
- Defined in:
- lib/stripe/params/billing_portal/session_create_params.rb
Instance Attribute Summary collapse
-
#coupon ⇒ Object
The ID of the coupon to be offered.
Instance Method Summary collapse
-
#initialize(coupon: nil) ⇒ CouponOffer
constructor
A new instance of CouponOffer.
Methods inherited from RequestParams
Constructor Details
#initialize(coupon: nil) ⇒ CouponOffer
Returns a new instance of CouponOffer.
46 47 48 |
# File 'lib/stripe/params/billing_portal/session_create_params.rb', line 46 def initialize(coupon: nil) @coupon = coupon end |
Instance Attribute Details
#coupon ⇒ Object
The ID of the coupon to be offered.
44 45 46 |
# File 'lib/stripe/params/billing_portal/session_create_params.rb', line 44 def coupon @coupon end |