Class: Pokepay::Response::BulkTransaction

Inherits:
Object
  • Object
show all
Defined in:
lib/pokepay_partner_ruby_sdk/response/bulk_transaction.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#descriptionObject (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

#errorObject (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_linenoObject (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

#idObject (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

#nameObject (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_idObject (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

#statusObject (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_atObject (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
end

#updated_atObject (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