Class: Stripe::BillingPortal::ConfigurationService::CreateParams::Features::SubscriptionUpdate::Product
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::BillingPortal::ConfigurationService::CreateParams::Features::SubscriptionUpdate::Product
- Defined in:
- lib/stripe/services/billing_portal/configuration_service.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.
126 127 128 129 |
# File 'lib/stripe/services/billing_portal/configuration_service.rb', line 126 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.
122 123 124 |
# File 'lib/stripe/services/billing_portal/configuration_service.rb', line 122 def prices @prices end |
#product ⇒ Object
The product id.
124 125 126 |
# File 'lib/stripe/services/billing_portal/configuration_service.rb', line 124 def product @product end |