Class: Stripe::BillingPortal::ConfigurationCreateParams::Features::SubscriptionUpdate::Product
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::BillingPortal::ConfigurationCreateParams::Features::SubscriptionUpdate::Product
- Defined in:
- lib/stripe/params/billing_portal/configuration_create_params.rb
Defined Under Namespace
Classes: AdjustableQuantity
Instance Attribute Summary collapse
-
#adjustable_quantity ⇒ Object
Control whether the quantity of the product can be adjusted.
-
#prices ⇒ Object
The list of price IDs for the product that a subscription can be updated to.
-
#product ⇒ Object
The product id.
Instance Method Summary collapse
-
#initialize(adjustable_quantity: nil, prices: nil, product: nil) ⇒ Product
constructor
A new instance of Product.
Methods inherited from RequestParams
Constructor Details
#initialize(adjustable_quantity: nil, prices: nil, product: nil) ⇒ Product
Returns a new instance of Product.
108 109 110 111 112 |
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 108 def initialize(adjustable_quantity: nil, prices: nil, product: nil) @adjustable_quantity = adjustable_quantity @prices = prices @product = product end |
Instance Attribute Details
#adjustable_quantity ⇒ Object
Control whether the quantity of the product can be adjusted.
102 103 104 |
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 102 def adjustable_quantity @adjustable_quantity end |
#prices ⇒ Object
The list of price IDs for the product that a subscription can be updated to.
104 105 106 |
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 104 def prices @prices end |
#product ⇒ Object
The product id.
106 107 108 |
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 106 def product @product end |