Class: Stripe::BillingPortal::Configuration::Features::SubscriptionUpdate::Product
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::BillingPortal::Configuration::Features::SubscriptionUpdate::Product
- Defined in:
- lib/stripe/resources/billing_portal/configuration.rb
Defined Under Namespace
Classes: AdjustableQuantity
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#adjustable_quantity ⇒ Object
readonly
Attribute for field adjustable_quantity.
-
#prices ⇒ Object
readonly
The list of price IDs which, when subscribed to, a subscription can be updated.
-
#product ⇒ Object
readonly
The product ID.
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
#adjustable_quantity ⇒ Object (readonly)
Attribute for field adjustable_quantity
130 131 132 |
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 130 def adjustable_quantity @adjustable_quantity end |
#prices ⇒ Object (readonly)
The list of price IDs which, when subscribed to, a subscription can be updated.
132 133 134 |
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 132 def prices @prices end |
#product ⇒ Object (readonly)
The product ID.
134 135 136 |
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 134 def product @product end |
Class Method Details
.field_remappings ⇒ Object
140 141 142 |
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 140 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
136 137 138 |
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 136 def self.inner_class_types @inner_class_types = { adjustable_quantity: AdjustableQuantity } end |