class Stripe::Invoice::LineItem
- Stripe::Invoice::LineItem
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
stripe/methods/core/invoices/create_invoice_line_item.crstripe/objects/core/invoice.cr
Constructors
Class Method Summary
Instance Method Summary
- #amount : Int32 | Nil
- #created : Time | Nil
- #currency : String | Nil
- #description : String | Nil
- #discountable : Bool | Nil
- #id : String
- #invoice_item : String | Nil
- #livemode : Bool
- #metadata : Hash(String, String) | Nil
- #period : Hash(String, Int32) | Nil
- #price : Stripe::Price | Nil
- #proration : Bool
- #quantity : Int32
- #subscription : String | Nil | Stripe::Subscription | Nil
- #subscription_item : String | Nil
- #tax_rates : Array(Stripe::TaxRate) | Nil
- #type : String | Nil
Constructor Detail
Class Method Detail
def self.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
#