Class: Stripe::Invoice::UpdateLinesParams::Line::Pricing

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



2102
2103
2104
# File 'lib/stripe/resources/invoice.rb', line 2102

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

Instance Attribute Details

#priceObject

The ID of the price object.



2100
2101
2102
# File 'lib/stripe/resources/invoice.rb', line 2100

def price
  @price
end