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.



2109
2110
2111
# File 'lib/stripe/resources/invoice.rb', line 2109

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

Instance Attribute Details

#priceObject

The ID of the price object.



2107
2108
2109
# File 'lib/stripe/resources/invoice.rb', line 2107

def price
  @price
end