Class: Stripe::InvoiceItemService::CreateParams::Pricing

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/invoice_item_service.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.



258
259
260
# File 'lib/stripe/services/invoice_item_service.rb', line 258

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

Instance Attribute Details

#priceObject

The ID of the price object.



256
257
258
# File 'lib/stripe/services/invoice_item_service.rb', line 256

def price
  @price
end