class

Stripe::Invoice::LineItem

Inherits JSON::Serializable / Reference / Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

create(customer : String | Customer, currency : String, amount : Int32 | Nil = nil, quantity : Int32 | Nil = nil, description : String | Nil = nil, unit_amount : Int32 | Nil = nil, invoice : String | Invoice | Nil = nil, subscription : String | Subscription | Nil = nil, metadata : Hash(String, String) | Nil = nil) : Invoice::LineItem forall T, U
Source

Instance methods

amount
Source
created
Source
currency
Source
description
Source
discountable
Source
invoice_item
Source
livemode?
Source
metadata
Source
period
Source
price
Source
proration?
Source
quantity
Source
subscription
Source
subscription_item
Source
tax_rates
Source
type
Source