Class: Pokepay::Response::BulkTransaction
- Inherits:
-
Object
- Object
- Pokepay::Response::BulkTransaction
- Defined in:
- lib/pokepay_partner_ruby_sdk/response/bulk_transaction.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#error_lineno ⇒ Object
readonly
Returns the value of attribute error_lineno.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#request_id ⇒ Object
readonly
Returns the value of attribute request_id.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#submitted_at ⇒ Object
readonly
Returns the value of attribute submitted_at.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
Instance Method Summary collapse
-
#initialize(row) ⇒ BulkTransaction
constructor
A new instance of BulkTransaction.
Constructor Details
#initialize(row) ⇒ BulkTransaction
Returns a new instance of BulkTransaction.
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction.rb', line 6 def initialize(row) @id = row["id"] @request_id = row["request_id"] @name = row["name"] @description = row["description"] @status = row["status"] @error = row["error"] @error_lineno = row["error_lineno"] @submitted_at = row["submitted_at"] @updated_at = row["updated_at"] end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
20 21 22 |
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction.rb', line 20 def description @description end |
#error ⇒ Object (readonly)
Returns the value of attribute error.
22 23 24 |
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction.rb', line 22 def error @error end |
#error_lineno ⇒ Object (readonly)
Returns the value of attribute error_lineno.
23 24 25 |
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction.rb', line 23 def error_lineno @error_lineno end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
17 18 19 |
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction.rb', line 17 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
19 20 21 |
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction.rb', line 19 def name @name end |
#request_id ⇒ Object (readonly)
Returns the value of attribute request_id.
18 19 20 |
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction.rb', line 18 def request_id @request_id end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
21 22 23 |
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction.rb', line 21 def status @status end |
#submitted_at ⇒ Object (readonly)
Returns the value of attribute submitted_at.
24 25 26 |
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction.rb', line 24 def submitted_at @submitted_at end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
25 26 27 |
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction.rb', line 25 def updated_at @updated_at end |