Class: Stripe::InvoiceService::UpdateLinesParams::Line::Pricing

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



1668
1669
1670
# File 'lib/stripe/services/invoice_service.rb', line 1668

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

Instance Attribute Details

#priceObject

The ID of the price object.



1666
1667
1668
# File 'lib/stripe/services/invoice_service.rb', line 1666

def price
  @price
end