Class: Stripe::V2::Billing::ContractCreateParams::OneTimeFee::ProductDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/contract_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#productObject

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