Class: K2ConnectRuby::K2Entity::K2FinancialEntities::TransferAccount::MerchantBankAccount
- Inherits:
-
TransferAccountRequest
- Object
- TransferAccountRequest
- K2ConnectRuby::K2Entity::K2FinancialEntities::TransferAccount::MerchantBankAccount
- Includes:
- ActiveModel::Validations
- Defined in:
- lib/k2-connect-ruby/k2_entity/k2_financial_entities/transfer_account/merchant_bank_account.rb
Instance Attribute Summary collapse
-
#account_name ⇒ Object
Returns the value of attribute account_name.
-
#account_number ⇒ Object
Returns the value of attribute account_number.
-
#bank_branch_ref ⇒ Object
Returns the value of attribute bank_branch_ref.
-
#settlement_method ⇒ Object
Returns the value of attribute settlement_method.
Attributes inherited from TransferAccountRequest
Instance Method Summary collapse
Methods inherited from TransferAccountRequest
Constructor Details
This class inherits a constructor from K2ConnectRuby::K2Entity::K2FinancialEntities::TransferAccount::TransferAccountRequest
Instance Attribute Details
#account_name ⇒ Object
Returns the value of attribute account_name.
10 11 12 |
# File 'lib/k2-connect-ruby/k2_entity/k2_financial_entities/transfer_account/merchant_bank_account.rb', line 10 def account_name @account_name end |
#account_number ⇒ Object
Returns the value of attribute account_number.
10 11 12 |
# File 'lib/k2-connect-ruby/k2_entity/k2_financial_entities/transfer_account/merchant_bank_account.rb', line 10 def account_number @account_number end |
#bank_branch_ref ⇒ Object
Returns the value of attribute bank_branch_ref.
10 11 12 |
# File 'lib/k2-connect-ruby/k2_entity/k2_financial_entities/transfer_account/merchant_bank_account.rb', line 10 def bank_branch_ref @bank_branch_ref end |
#settlement_method ⇒ Object
Returns the value of attribute settlement_method.
10 11 12 |
# File 'lib/k2-connect-ruby/k2_entity/k2_financial_entities/transfer_account/merchant_bank_account.rb', line 10 def settlement_method @settlement_method end |
Instance Method Details
#endpoint ⇒ Object
18 19 20 |
# File 'lib/k2-connect-ruby/k2_entity/k2_financial_entities/transfer_account/merchant_bank_account.rb', line 18 def endpoint K2ConnectRuby::K2Utilities::Config::K2Config.endpoint("settlement_bank_account") end |
#request_body ⇒ Object
22 23 24 25 26 27 28 29 30 |
# File 'lib/k2-connect-ruby/k2_entity/k2_financial_entities/transfer_account/merchant_bank_account.rb', line 22 def request_body { nickname: nickname, account_name: account_name, account_number: account_number, bank_branch_ref: bank_branch_ref, settlement_method: settlement_method, } end |