Class: Stripe::BillingPortal::Session::Flow::SubscriptionCancel
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::BillingPortal::Session::Flow::SubscriptionCancel
- Defined in:
- lib/stripe/resources/billing_portal/session.rb
Defined Under Namespace
Classes: Retention
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#retention ⇒ Object
readonly
Specify a retention strategy to be used in the cancellation flow.
-
#subscription ⇒ Object
readonly
The ID of the subscription to be canceled.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#retention ⇒ Object (readonly)
Specify a retention strategy to be used in the cancellation flow.
99 100 101 |
# File 'lib/stripe/resources/billing_portal/session.rb', line 99 def retention @retention end |
#subscription ⇒ Object (readonly)
The ID of the subscription to be canceled.
101 102 103 |
# File 'lib/stripe/resources/billing_portal/session.rb', line 101 def subscription @subscription end |
Class Method Details
.field_remappings ⇒ Object
107 108 109 |
# File 'lib/stripe/resources/billing_portal/session.rb', line 107 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
103 104 105 |
# File 'lib/stripe/resources/billing_portal/session.rb', line 103 def self.inner_class_types @inner_class_types = { retention: Retention } end |