struct Haystack::Transaction

Included Modules

Defined in:

haystack/transaction.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

Class Method Detail

def self.from_any(object) : self | Nil #

[View source]

Instance Method Detail

def amount : Int32 | Nil #

[View source]
def authorization : Card::Authorization | Nil #

[View source]
def channel : Channel | Nil #

[View source]
def created_at : Time | Nil #

[View source]
def currency : Currency | Nil #

[View source]
def customer : Customer | Nil #

[View source]
def display_text : String | Nil #

These are for when checking pending charges


[View source]
def domain : Domain | Nil #

[View source]
def fees : Int32 | Nil #

[View source]
def fees_split : Int32 | Nil #

[View source]
def gateway_response : String | Nil #

[View source]
def id : Int64 | Nil #

[View source]
def ip_address : String | Nil #

[View source]
def log : Log | Nil #

[View source]
def message : String | Nil #

[View source]
def metadata : Metadata | Nil #

[View source]
def order_id : Int64 | Nil #

[View source]
def plan : Plan | Nil #

[View source]
def plan_object : Plan | Nil #

[View source]
def pos_transaction_data : JSON::Any | Nil #

[View source]
def reference : String | Nil #

[View source]
def requested_amount : Int32 | Nil #

[View source]
def source : Source | Nil #

[View source]
def split : Split | Nil #

[View source]
def status : Status | Nil #

[View source]
def subaccount : Subaccount | Nil #

[View source]
def transaction_date : Time | Nil #

[View source]
def url : String | Nil #

[View source]