Class: Stripe::BillingPortal::Session::Flow::SubscriptionUpdateConfirm::Item
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::BillingPortal::Session::Flow::SubscriptionUpdateConfirm::Item
- Defined in:
- lib/stripe/resources/billing_portal/session.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
The ID of the [subscription item](stripe.com/docs/api/subscriptions/object#subscription_object-items-data-id) to be updated.
-
#price ⇒ Object
readonly
The price the customer should subscribe to through this flow.
-
#quantity ⇒ Object
readonly
[Quantity](stripe.com/docs/subscriptions/quantities) for this item that the customer should subscribe to through this flow.
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
#id ⇒ Object (readonly)
The ID of the [subscription item](stripe.com/docs/api/subscriptions/object#subscription_object-items-data-id) to be updated.
143 144 145 |
# File 'lib/stripe/resources/billing_portal/session.rb', line 143 def id @id end |
#price ⇒ Object (readonly)
The price the customer should subscribe to through this flow. The price must also be included in the configuration’s [‘features.subscription_update.products`](stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-features-subscription_update-products).
145 146 147 |
# File 'lib/stripe/resources/billing_portal/session.rb', line 145 def price @price end |
#quantity ⇒ Object (readonly)
[Quantity](stripe.com/docs/subscriptions/quantities) for this item that the customer should subscribe to through this flow.
147 148 149 |
# File 'lib/stripe/resources/billing_portal/session.rb', line 147 def quantity @quantity end |
Class Method Details
.field_remappings ⇒ Object
153 154 155 |
# File 'lib/stripe/resources/billing_portal/session.rb', line 153 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
149 150 151 |
# File 'lib/stripe/resources/billing_portal/session.rb', line 149 def self.inner_class_types @inner_class_types = {} end |