Class: Pokepay::Response::BulkTransactionJob

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(row) ⇒ BulkTransactionJob

Returns a new instance of BulkTransactionJob.



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction_job.rb', line 7

def initialize(row)
  @id = row["id"]
  @bulk_transaction = BulkTransaction.new(row["bulk_transaction"])
  @type = row["type"]
  @sender_account_id = row["sender_account_id"]
  @receiver_account_id = row["receiver_account_id"]
  @money_amount = row["money_amount"]
  @point_amount = row["point_amount"]
  @description = row["description"]
  @bear_point_account_id = row["bear_point_account_id"]
  @point_expires_at = row["point_expires_at"]
  @status = row["status"]
  @error = row["error"]
  @lineno = row["lineno"]
  @transaction_id = row["transaction_id"]
  @created_at = row["created_at"]
  @updated_at = row["updated_at"]
end

Instance Attribute Details

#bear_point_account_idObject (readonly)

Returns the value of attribute bear_point_account_id.



33
34
35
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction_job.rb', line 33

def 
  @bear_point_account_id
end

#bulk_transactionObject (readonly)

Returns the value of attribute bulk_transaction.



26
27
28
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction_job.rb', line 26

def bulk_transaction
  @bulk_transaction
end

#created_atObject (readonly)

Returns the value of attribute created_at.



39
40
41
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction_job.rb', line 39

def created_at
  @created_at
end

#descriptionObject (readonly)

Returns the value of attribute description.



32
33
34
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction_job.rb', line 32

def description
  @description
end

#errorObject (readonly)

Returns the value of attribute error.



36
37
38
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction_job.rb', line 36

def error
  @error
end

#idObject (readonly)

Returns the value of attribute id.



25
26
27
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction_job.rb', line 25

def id
  @id
end

#linenoObject (readonly)

Returns the value of attribute lineno.



37
38
39
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction_job.rb', line 37

def lineno
  @lineno
end

#money_amountObject (readonly)

Returns the value of attribute money_amount.



30
31
32
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction_job.rb', line 30

def money_amount
  @money_amount
end

#point_amountObject (readonly)

Returns the value of attribute point_amount.



31
32
33
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction_job.rb', line 31

def point_amount
  @point_amount
end

#point_expires_atObject (readonly)

Returns the value of attribute point_expires_at.



34
35
36
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction_job.rb', line 34

def point_expires_at
  @point_expires_at
end

#receiver_account_idObject (readonly)

Returns the value of attribute receiver_account_id.



29
30
31
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction_job.rb', line 29

def 
  @receiver_account_id
end

#sender_account_idObject (readonly)

Returns the value of attribute sender_account_id.



28
29
30
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction_job.rb', line 28

def 
  @sender_account_id
end

#statusObject (readonly)

Returns the value of attribute status.



35
36
37
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction_job.rb', line 35

def status
  @status
end

#transaction_idObject (readonly)

Returns the value of attribute transaction_id.



38
39
40
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction_job.rb', line 38

def transaction_id
  @transaction_id
end

#typeObject (readonly)

Returns the value of attribute type.



27
28
29
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction_job.rb', line 27

def type
  @type
end

#updated_atObject (readonly)

Returns the value of attribute updated_at.



40
41
42
# File 'lib/pokepay_partner_ruby_sdk/response/bulk_transaction_job.rb', line 40

def updated_at
  @updated_at
end