Class: Hws::Connectors::Dto::CreditVirtualAccountResponse
- Inherits:
-
Response
- Object
- Hws::Connectors
- Response
- Hws::Connectors::Dto::CreditVirtualAccountResponse
- Defined in:
- lib/hws-connectors/dto/virtual_account/credit_virtual_account_response.rb
Constant Summary
Constants inherited from Hws::Connectors
Instance Attribute Summary collapse
-
#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.
-
#credit_time ⇒ Object
Returns the value of attribute credit_time.
-
#payment_type ⇒ Object
Returns the value of attribute payment_type.
-
#remitter ⇒ Object
Returns the value of attribute remitter.
Attributes inherited from Response
Instance Method Summary collapse
-
#initialize(credit_time:, beneficiary:, remitter:, amount:, payment_type:, bank_ref_num:, meta: {}) ⇒ CreditVirtualAccountResponse
constructor
A new instance of CreditVirtualAccountResponse.
Methods inherited from Hws::Connectors
Methods included from Helper
Constructor Details
#initialize(credit_time:, beneficiary:, remitter:, amount:, payment_type:, bank_ref_num:, meta: {}) ⇒ CreditVirtualAccountResponse
Returns a new instance of CreditVirtualAccountResponse.
4 5 6 7 8 9 10 11 12 |
# File 'lib/hws-connectors/dto/virtual_account/credit_virtual_account_response.rb', line 4 def initialize(credit_time:, beneficiary:, remitter:, amount:, payment_type:, bank_ref_num:, meta: {}) @credit_time = credit_time @beneficiary = beneficiary @remitter = remitter @amount = amount @payment_type = payment_type @bank_ref_num = bank_ref_num super(meta: ) end |
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
2 3 4 |
# File 'lib/hws-connectors/dto/virtual_account/credit_virtual_account_response.rb', line 2 def amount @amount end |
#bank_ref_num ⇒ Object
Returns the value of attribute bank_ref_num.
2 3 4 |
# File 'lib/hws-connectors/dto/virtual_account/credit_virtual_account_response.rb', line 2 def bank_ref_num @bank_ref_num end |
#beneficiary ⇒ Object
Returns the value of attribute beneficiary.
2 3 4 |
# File 'lib/hws-connectors/dto/virtual_account/credit_virtual_account_response.rb', line 2 def beneficiary @beneficiary end |
#credit_time ⇒ Object
Returns the value of attribute credit_time.
2 3 4 |
# File 'lib/hws-connectors/dto/virtual_account/credit_virtual_account_response.rb', line 2 def credit_time @credit_time end |
#payment_type ⇒ Object
Returns the value of attribute payment_type.
2 3 4 |
# File 'lib/hws-connectors/dto/virtual_account/credit_virtual_account_response.rb', line 2 def payment_type @payment_type end |
#remitter ⇒ Object
Returns the value of attribute remitter.
2 3 4 |
# File 'lib/hws-connectors/dto/virtual_account/credit_virtual_account_response.rb', line 2 def remitter @remitter end |