Class: Stripe::BillingPortal::Session::CreateParams::FlowData::SubscriptionCancel::Retention::CouponOffer
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::BillingPortal::Session::CreateParams::FlowData::SubscriptionCancel::Retention::CouponOffer
- Defined in:
- lib/stripe/resources/billing_portal/session.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.
144 145 146 |
# File 'lib/stripe/resources/billing_portal/session.rb', line 144 def initialize(coupon: nil) @coupon = coupon end |
Instance Attribute Details
#coupon ⇒ Object
The ID of the coupon to be offered.
142 143 144 |
# File 'lib/stripe/resources/billing_portal/session.rb', line 142 def coupon @coupon end |