Class: GenesisRuby::Api::Requests::NonFinancial::Payee::Account::Create

Inherits:
Base::Versioned show all
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

Attributes inherited from Base::Versioned

#allowed_versions, #version

Attributes inherited from GenesisRuby::Api::Request

#api_config

Instance Method Summary collapse

Methods inherited from GenesisRuby::Api::Request

#build_document

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_countryObject

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
end

#payee_account_institution_codeObject

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
end

#payee_account_numberObject

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
end

#payee_account_typeObject

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
end

#payee_unique_idObject

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