Class: Stripe::BillingPortal::Configuration::CreateParams::Features::SubscriptionUpdate::Product
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::BillingPortal::Configuration::CreateParams::Features::SubscriptionUpdate::Product
- Defined in:
- lib/stripe/resources/billing_portal/configuration.rb
Instance Attribute Summary collapse
-
#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(prices: nil, product: nil) ⇒ Product
constructor
A new instance of Product.
Methods inherited from RequestParams
Constructor Details
#initialize(prices: nil, product: nil) ⇒ Product
Returns a new instance of Product.
228 229 230 231 |
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 228 def initialize(prices: nil, product: nil) @prices = prices @product = product end |
Instance Attribute Details
#prices ⇒ Object
The list of price IDs for the product that a subscription can be updated to.
224 225 226 |
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 224 def prices @prices end |
#product ⇒ Object
The product id.
226 227 228 |
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 226 def product @product end |