Class: Stripe::InvoiceItemCreateParams::Pricing

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/invoice_item_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(price: nil) ⇒ Pricing

Returns a new instance of Pricing.



64
65
66
# File 'lib/stripe/params/invoice_item_create_params.rb', line 64

def initialize(price: nil)
  @price = price
end

Instance Attribute Details

#priceObject

The ID of the price object.



62
63
64
# File 'lib/stripe/params/invoice_item_create_params.rb', line 62

def price
  @price
end