class

Stripe::Invoice

Inherits StripeMethods / JSON::Serializable / Reference / Object

Constructors

create(customer : String | Customer | Nil = nil, auto_advance : Bool | Nil = nil, default_source : String | Token | Nil = nil, default_payment_method : String | Token | Nil = nil, metadata : Hash | Nil = nil, subscription : String | Nil = nil, statement_descriptor : String | Nil = nil) : Invoice forall T, U
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
update(invoice : String | Invoice, auto_advance : Bool | Nil = nil, default_source : String | Token | Nil = nil, default_payment_method : String | Token | Nil = nil, metadata : Hash | Nil = nil, subscription : String | Nil = nil, statement_descriptor : String | Nil = nil) : Invoice forall T, U
Source

Class methods

list(customer : String | Nil = nil, status : String | Nil | Stripe::Invoice::Status | Nil = nil, limit : Int32 | Nil = nil, starting_after : String | Nil = nil, ending_before : String | Nil = nil) : List(Stripe::Invoice)
Source
retrieve(id : String)
Source
retrieve(invoice : Stripe::Invoice)
Source

Instance methods

account_country
Source
account_name
Source
amount_due
Source
amount_paid
Source
amount_remaining
Source
application_fee_amount
Source
attempt_count
Source
attempted?
Source
auto_advance?
Source
billing
Source
billing_reason
Source
charge
Source
collection_method
Source
customer
Source
customer_address
Source
customer_email
Source
customer_name
Source
customer_phone
Source
customer_shipping
Source
customer_tax_exempt
Source
default_tax_rates
Source
description
Source
due_date
Source
ending_balance
Source
hosted_invoice_url
Source
invoice_pdf
Source
lines
Source
livemode?
Source
payment_intent
Source
status
Source

Nested types