Class: Stripe::BillingPortal::Configuration::UpdateParams::Features::SubscriptionUpdate::Product

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/billing_portal/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(prices: nil, product: nil) ⇒ Product

Returns a new instance of Product.



487
488
489
490
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 487

def initialize(prices: nil, product: nil)
  @prices = prices
  @product = product
end

Instance Attribute Details

#pricesObject

The list of price IDs for the product that a subscription can be updated to.



482
483
484
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 482

def prices
  @prices
end

#productObject

The product id.



485
486
487
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 485

def product
  @product
end