struct Haystack::Invoice

Included Modules

Defined in:

haystack/invoice.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def amount : Int32 | Nil #

[View source]
def amount_paid : Int32 | Nil #

[View source]
def archived #

[View source]
def archived? #

[View source]
def created_at : Time | Nil #

[View source]
def currency : Currency | Nil #

[View source]
def customer : Customer | Nil #

[View source]
def description : String | Nil #

[View source]
def discount : Discount | Nil #

[View source]
def domain : Domain | Nil #

[View source]
def due_date : Time | Nil #

[View source]
def has_invoice #

[View source]
def has_invoice? #

[View source]
def id : Int64 | Nil #

[View source]
def integration : Integration | Nil #

[View source]
def invoice_number : Int32 | Nil #

[View source]
def line_items : Array(LineItem) | Nil #

[View source]
def metadata : Metadata | Nil #

[View source]
def note : String | Nil #

[View source]
def notifications : Array(Notification) | Nil #

[View source]
def offline_reference : String | Nil #

[View source]
def paid? #

[View source]
def payment_method : String | Nil #

[View source]
def pdf_url : String | Nil #

[View source]
def pending_amount : Int32 | Nil #

[View source]
def request_code : String | Nil #

[View source]
def source : Source | Nil #

[View source]
def status : Status | Nil #

[View source]
def tax : Array(Tax) | Nil #

[View source]
def transactions : Array(Transaction) | Nil #

[View source]
def updated_at : Time | Nil #

[View source]