Class: GenesisRuby::Api::Requests::NonFinancial::Payee::Account::Create
- Inherits:
-
Base::Versioned
- Object
- GenesisRuby::Api::Request
- Base::Versioned
- GenesisRuby::Api::Requests::NonFinancial::Payee::Account::Create
- Defined in:
- lib/genesis_ruby/api/requests/non_financial/payee/account/create.rb
Overview
Create a Account related to a specific Payee.
Constant Summary collapse
- PAYEE_ACCOUNT_TYPE_IBAN =
'iban'- PAYEE_ACCOUNT_TYPE_BANK =
'bank'
Constants inherited from GenesisRuby::Api::Request
GenesisRuby::Api::Request::AUTH_TYPE_BASIC, GenesisRuby::Api::Request::AUTH_TYPE_TOKEN, GenesisRuby::Api::Request::METHOD_GET, GenesisRuby::Api::Request::METHOD_PATCH, GenesisRuby::Api::Request::METHOD_POST, GenesisRuby::Api::Request::METHOD_PUT, GenesisRuby::Api::Request::PORT_HTTPS, GenesisRuby::Api::Request::PROTOCOL_HTTPS
Instance Attribute Summary collapse
-
#payee_account_country ⇒ Object
Returns the value of attribute payee_account_country.
-
#payee_account_institution_code ⇒ Object
Returns the value of attribute payee_account_institution_code.
-
#payee_account_number ⇒ Object
Returns the value of attribute payee_account_number.
-
#payee_account_type ⇒ Object
Returns the value of attribute payee_account_type.
-
#payee_unique_id ⇒ Object
Returns the value of attribute payee_unique_id.
Attributes inherited from Base::Versioned
Attributes inherited from GenesisRuby::Api::Request
Instance Method Summary collapse
-
#initialize(configuration, _builder_interface = nil) ⇒ Create
constructor
Retrieve Payee initialization.
Methods inherited from GenesisRuby::Api::Request
Constructor Details
#initialize(configuration, _builder_interface = nil) ⇒ Create
Retrieve Payee initialization
19 20 21 22 23 |
# File 'lib/genesis_ruby/api/requests/non_financial/payee/account/create.rb', line 19 def initialize(configuration, _builder_interface = nil) super configuration self.request_path = 'payee/:payee_unique_id/account' end |
Instance Attribute Details
#payee_account_country ⇒ Object
Returns the value of attribute payee_account_country.
15 16 17 |
# File 'lib/genesis_ruby/api/requests/non_financial/payee/account/create.rb', line 15 def payee_account_country @payee_account_country end |
#payee_account_institution_code ⇒ Object
Returns the value of attribute payee_account_institution_code.
15 16 17 |
# File 'lib/genesis_ruby/api/requests/non_financial/payee/account/create.rb', line 15 def payee_account_institution_code @payee_account_institution_code end |
#payee_account_number ⇒ Object
Returns the value of attribute payee_account_number.
15 16 17 |
# File 'lib/genesis_ruby/api/requests/non_financial/payee/account/create.rb', line 15 def payee_account_number @payee_account_number end |
#payee_account_type ⇒ Object
Returns the value of attribute payee_account_type.
15 16 17 |
# File 'lib/genesis_ruby/api/requests/non_financial/payee/account/create.rb', line 15 def payee_account_type @payee_account_type end |
#payee_unique_id ⇒ Object
Returns the value of attribute payee_unique_id.
15 16 17 |
# File 'lib/genesis_ruby/api/requests/non_financial/payee/account/create.rb', line 15 def payee_unique_id @payee_unique_id end |