Class: Stripe::Invoice::AddLinesParams::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.



1994
1995
1996
# File 'lib/stripe/resources/invoice.rb', line 1994

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

Instance Attribute Details

#priceObject

The ID of the price object.



1992
1993
1994
# File 'lib/stripe/resources/invoice.rb', line 1992

def price
  @price
end