Class: Hws::Connectors::Dto::PayoutResponse
- Inherits:
-
Response
- Object
- Hws::Connectors
- Response
- Hws::Connectors::Dto::PayoutResponse
- Defined in:
- lib/hws-connectors/dto/payout/payout_response.rb
Constant Summary
Constants inherited from Hws::Connectors
Instance Attribute Summary collapse
-
#account_holder ⇒ Object
Returns the value of attribute account_holder.
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#bank_ref_num ⇒ Object
Returns the value of attribute bank_ref_num.
-
#beneficiary ⇒ Object
Returns the value of attribute beneficiary.
-
#payment_type ⇒ Object
Returns the value of attribute payment_type.
-
#reference_number ⇒ Object
Returns the value of attribute reference_number.
-
#status ⇒ Object
Returns the value of attribute status.
-
#txn_time ⇒ Object
Returns the value of attribute txn_time.
Attributes inherited from Response
Instance Method Summary collapse
-
#initialize(reference_number:, beneficiary:, account_holder: nil, amount:, payment_type:, txn_time:, status:, bank_ref_num: nil, message: nil, meta: {}) ⇒ PayoutResponse
constructor
A new instance of PayoutResponse.
Methods inherited from Hws::Connectors
Methods included from Helper
Constructor Details
#initialize(reference_number:, beneficiary:, account_holder: nil, amount:, payment_type:, txn_time:, status:, bank_ref_num: nil, message: nil, meta: {}) ⇒ PayoutResponse
Returns a new instance of PayoutResponse.
5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/hws-connectors/dto/payout/payout_response.rb', line 5 def initialize(reference_number:, beneficiary:, account_holder: nil, amount:, payment_type:, txn_time:, status:, bank_ref_num: nil, message: nil, meta: {}) @reference_number = reference_number @beneficiary = beneficiary @account_holder = account_holder @amount = amount @payment_type = payment_type @txn_time = txn_time @status = status @bank_ref_num = bank_ref_num super(message: , meta: ) end |
Instance Attribute Details
#account_holder ⇒ Object
Returns the value of attribute account_holder.
2 3 4 |
# File 'lib/hws-connectors/dto/payout/payout_response.rb', line 2 def account_holder @account_holder end |
#amount ⇒ Object
Returns the value of attribute amount.
2 3 4 |
# File 'lib/hws-connectors/dto/payout/payout_response.rb', line 2 def amount @amount end |
#bank_ref_num ⇒ Object
Returns the value of attribute bank_ref_num.
3 4 5 |
# File 'lib/hws-connectors/dto/payout/payout_response.rb', line 3 def bank_ref_num @bank_ref_num end |
#beneficiary ⇒ Object
Returns the value of attribute beneficiary.
2 3 4 |
# File 'lib/hws-connectors/dto/payout/payout_response.rb', line 2 def beneficiary @beneficiary end |
#payment_type ⇒ Object
Returns the value of attribute payment_type.
2 3 4 |
# File 'lib/hws-connectors/dto/payout/payout_response.rb', line 2 def payment_type @payment_type end |
#reference_number ⇒ Object
Returns the value of attribute reference_number.
2 3 4 |
# File 'lib/hws-connectors/dto/payout/payout_response.rb', line 2 def reference_number @reference_number end |
#status ⇒ Object
Returns the value of attribute status.
3 4 5 |
# File 'lib/hws-connectors/dto/payout/payout_response.rb', line 3 def status @status end |
#txn_time ⇒ Object
Returns the value of attribute txn_time.
3 4 5 |
# File 'lib/hws-connectors/dto/payout/payout_response.rb', line 3 def txn_time @txn_time end |