Class: Stripe::BillingPortal::SessionCreateParams::FlowData::SubscriptionCancel::Retention
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::BillingPortal::SessionCreateParams::FlowData::SubscriptionCancel::Retention
- Defined in:
- lib/stripe/params/billing_portal/session_create_params.rb
Defined Under Namespace
Classes: CouponOffer
Instance Attribute Summary collapse
-
#coupon_offer ⇒ Object
Configuration when ‘retention.type=coupon_offer`.
-
#type ⇒ Object
Type of retention strategy to use with the customer.
Instance Method Summary collapse
-
#initialize(coupon_offer: nil, type: nil) ⇒ Retention
constructor
A new instance of Retention.
Methods inherited from RequestParams
Constructor Details
#initialize(coupon_offer: nil, type: nil) ⇒ Retention
Returns a new instance of Retention.
55 56 57 58 |
# File 'lib/stripe/params/billing_portal/session_create_params.rb', line 55 def initialize(coupon_offer: nil, type: nil) @coupon_offer = coupon_offer @type = type end |
Instance Attribute Details
#coupon_offer ⇒ Object
Configuration when ‘retention.type=coupon_offer`.
51 52 53 |
# File 'lib/stripe/params/billing_portal/session_create_params.rb', line 51 def coupon_offer @coupon_offer end |
#type ⇒ Object
Type of retention strategy to use with the customer.
53 54 55 |
# File 'lib/stripe/params/billing_portal/session_create_params.rb', line 53 def type @type end |