Class: Monri::Transactions::Transaction
- Inherits:
-
Hash
- Object
- Hash
- Monri::Transactions::Transaction
- Defined in:
- lib/monri/transactions/transaction.rb
Instance Method Summary collapse
- #acquirer ⇒ String
- #acsv ⇒ String
- #amount ⇒ String
- #approval_code ⇒ String
- #authentication ⇒ String
- #cc_type ⇒ String
- #created_at ⇒ String
- #currency ⇒ String
- #eci ⇒ String
- #enrollment ⇒ String
- #id ⇒ String
-
#initialize(params) ⇒ Transaction
constructor
A new instance of Transaction.
- #issuer ⇒ String
- #order_number ⇒ String
- #outgoing_amount ⇒ String
- #outgoing_currency ⇒ String
- #pan_token ⇒ String
- #reference_number ⇒ String
- #response_code ⇒ String
- #response_message ⇒ String
- #status ⇒ String
- #systan ⇒ String
- #three_ds_version ⇒ String
- #transaction_type ⇒ String
- #xid ⇒ String
Constructor Details
#initialize(params) ⇒ Transaction
Returns a new instance of Transaction.
6 7 8 |
# File 'lib/monri/transactions/transaction.rb', line 6 def initialize(params) self.merge!(params) end |
Instance Method Details
#acquirer ⇒ String
16 17 18 |
# File 'lib/monri/transactions/transaction.rb', line 16 def acquirer self[:acquirer] end |
#acsv ⇒ String
81 82 83 |
# File 'lib/monri/transactions/transaction.rb', line 81 def acsv self[:acsv] end |
#amount ⇒ String
26 27 28 |
# File 'lib/monri/transactions/transaction.rb', line 26 def amount self[:amount] end |
#approval_code ⇒ String
46 47 48 |
# File 'lib/monri/transactions/transaction.rb', line 46 def approval_code self[:approval_code] end |
#authentication ⇒ String
111 112 113 |
# File 'lib/monri/transactions/transaction.rb', line 111 def authentication self[:authentication] end |
#cc_type ⇒ String
86 87 88 |
# File 'lib/monri/transactions/transaction.rb', line 86 def cc_type self[:cc_type] end |
#created_at ⇒ String
96 97 98 |
# File 'lib/monri/transactions/transaction.rb', line 96 def created_at self[:created_at] end |
#currency ⇒ String
31 32 33 |
# File 'lib/monri/transactions/transaction.rb', line 31 def currency self[:currency] end |
#eci ⇒ String
71 72 73 |
# File 'lib/monri/transactions/transaction.rb', line 71 def eci self[:eci] end |
#enrollment ⇒ String
106 107 108 |
# File 'lib/monri/transactions/transaction.rb', line 106 def enrollment self[:enrollment] end |
#id ⇒ String
11 12 13 |
# File 'lib/monri/transactions/transaction.rb', line 11 def id self[:id] end |
#issuer ⇒ String
121 122 123 |
# File 'lib/monri/transactions/transaction.rb', line 121 def issuer self[:issuer] end |
#order_number ⇒ String
21 22 23 |
# File 'lib/monri/transactions/transaction.rb', line 21 def order_number self[:order_number] end |
#outgoing_amount ⇒ String
36 37 38 |
# File 'lib/monri/transactions/transaction.rb', line 36 def outgoing_amount self[:outgoing_amount] end |
#outgoing_currency ⇒ String
41 42 43 |
# File 'lib/monri/transactions/transaction.rb', line 41 def outgoing_currency self[:outgoing_currency] end |
#pan_token ⇒ String
116 117 118 |
# File 'lib/monri/transactions/transaction.rb', line 116 def pan_token self[:pan_token] end |
#reference_number ⇒ String
61 62 63 |
# File 'lib/monri/transactions/transaction.rb', line 61 def reference_number self[:reference_number] end |
#response_code ⇒ String
51 52 53 |
# File 'lib/monri/transactions/transaction.rb', line 51 def response_code self[:response_code] end |
#response_message ⇒ String
56 57 58 |
# File 'lib/monri/transactions/transaction.rb', line 56 def self[:response_message] end |
#status ⇒ String
91 92 93 |
# File 'lib/monri/transactions/transaction.rb', line 91 def status self[:status] end |
#systan ⇒ String
66 67 68 |
# File 'lib/monri/transactions/transaction.rb', line 66 def systan self[:systan] end |
#three_ds_version ⇒ String
126 127 128 |
# File 'lib/monri/transactions/transaction.rb', line 126 def three_ds_version self[:three_ds_version] end |
#transaction_type ⇒ String
101 102 103 |
# File 'lib/monri/transactions/transaction.rb', line 101 def transaction_type self[:transaction_type] end |
#xid ⇒ String
76 77 78 |
# File 'lib/monri/transactions/transaction.rb', line 76 def xid self[:xid] end |