Class: PriorityPayoutGateway::Result::Action

Inherits:
Data
  • Object
show all
Defined in:
lib/priority_payout_gateway/result/action.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Data

#all_attributes, #attributes

Constructor Details

#initialize(action) ⇒ Action

Returns a new instance of Action.



9
10
11
12
13
# File 'lib/priority_payout_gateway/result/action.rb', line 9

def initialize(action)
  set_attributes(action)
  $actions ||= []
  $actions << action.keys
end

Instance Attribute Details

#action_typeObject

Returns the value of attribute action_type.



5
6
7
# File 'lib/priority_payout_gateway/result/action.rb', line 5

def action_type
  @action_type
end

#amountObject

Returns the value of attribute amount.



5
6
7
# File 'lib/priority_payout_gateway/result/action.rb', line 5

def amount
  @amount
end

#batch_idObject

Returns the value of attribute batch_id.



5
6
7
# File 'lib/priority_payout_gateway/result/action.rb', line 5

def batch_id
  @batch_id
end

#dateObject

Returns the value of attribute date.



5
6
7
# File 'lib/priority_payout_gateway/result/action.rb', line 5

def date
  @date
end

#device_license_numberObject

Returns the value of attribute device_license_number.



5
6
7
# File 'lib/priority_payout_gateway/result/action.rb', line 5

def device_license_number
  @device_license_number
end

#device_nicknameObject

Returns the value of attribute device_nickname.



5
6
7
# File 'lib/priority_payout_gateway/result/action.rb', line 5

def device_nickname
  @device_nickname
end

#ip_addressObject

Returns the value of attribute ip_address.



5
6
7
# File 'lib/priority_payout_gateway/result/action.rb', line 5

def ip_address
  @ip_address
end

#processor_batch_idObject

Returns the value of attribute processor_batch_id.



5
6
7
# File 'lib/priority_payout_gateway/result/action.rb', line 5

def processor_batch_id
  @processor_batch_id
end

#processor_response_codeObject

Returns the value of attribute processor_response_code.



5
6
7
# File 'lib/priority_payout_gateway/result/action.rb', line 5

def processor_response_code
  @processor_response_code
end

#processor_response_textObject

Returns the value of attribute processor_response_text.



5
6
7
# File 'lib/priority_payout_gateway/result/action.rb', line 5

def processor_response_text
  @processor_response_text
end

#response_codeObject

Returns the value of attribute response_code.



5
6
7
# File 'lib/priority_payout_gateway/result/action.rb', line 5

def response_code
  @response_code
end

#response_textObject

Returns the value of attribute response_text.



5
6
7
# File 'lib/priority_payout_gateway/result/action.rb', line 5

def response_text
  @response_text
end

#sourceObject

Returns the value of attribute source.



5
6
7
# File 'lib/priority_payout_gateway/result/action.rb', line 5

def source
  @source
end

#successObject

Returns the value of attribute success.



5
6
7
# File 'lib/priority_payout_gateway/result/action.rb', line 5

def success
  @success
end

#usernameObject

Returns the value of attribute username.



5
6
7
# File 'lib/priority_payout_gateway/result/action.rb', line 5

def username
  @username
end