Class: Stripe::BillingPortal::SessionService::CreateParams::FlowData::SubscriptionCancel::Retention::CouponOffer
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::BillingPortal::SessionService::CreateParams::FlowData::SubscriptionCancel::Retention::CouponOffer
- Defined in:
- lib/stripe/services/billing_portal/session_service.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.
47 48 49 |
# File 'lib/stripe/services/billing_portal/session_service.rb', line 47 def initialize(coupon: nil) @coupon = coupon end |
Instance Attribute Details
#coupon ⇒ Object
The ID of the coupon to be offered.
45 46 47 |
# File 'lib/stripe/services/billing_portal/session_service.rb', line 45 def coupon @coupon end |