Class: Stripe::V2::Billing::ContractCreateParams::OneTimeFee::ProductDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractCreateParams::OneTimeFee::ProductDetails
- Defined in:
- lib/stripe/params/v2/billing/contract_create_params.rb
Instance Attribute Summary collapse
-
#product ⇒ Object
The ID of the v1 Product.
Instance Method Summary collapse
-
#initialize(product: nil) ⇒ ProductDetails
constructor
A new instance of ProductDetails.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(product: nil) ⇒ ProductDetails
Returns a new instance of ProductDetails.
476 477 478 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 476 def initialize(product: nil) @product = product end |
Instance Attribute Details
#product ⇒ Object
The ID of the v1 Product.
474 475 476 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 474 def product @product end |