Class: GenesisRuby::Api::Requests::NonFinancial::Payee::Create
- Inherits:
-
Base::Versioned
- Object
- GenesisRuby::Api::Request
- Base::Versioned
- GenesisRuby::Api::Requests::NonFinancial::Payee::Create
- Defined in:
- lib/genesis_ruby/api/requests/non_financial/payee/create.rb
Overview
Create a Payee record.
Constant Summary collapse
- PAYEE_TYPE_PERSON =
'person'- PAYEE_TYPE_COMPANY =
'company'
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_country ⇒ Object
Returns the value of attribute payee_country.
-
#payee_name ⇒ Object
Returns the value of attribute payee_name.
-
#payee_type ⇒ Object
Returns the value of attribute payee_type.
Attributes inherited from Base::Versioned
Attributes inherited from GenesisRuby::Api::Request
Instance Method Summary collapse
-
#initialize(configuration, _builder_interface = nil) ⇒ Create
constructor
Create Payee initialization.
Methods inherited from GenesisRuby::Api::Request
Constructor Details
#initialize(configuration, _builder_interface = nil) ⇒ Create
Create Payee initialization
17 18 19 20 21 |
# File 'lib/genesis_ruby/api/requests/non_financial/payee/create.rb', line 17 def initialize(configuration, _builder_interface = nil) super configuration self.request_path = 'payee' end |
Instance Attribute Details
#payee_country ⇒ Object
Returns the value of attribute payee_country.
14 15 16 |
# File 'lib/genesis_ruby/api/requests/non_financial/payee/create.rb', line 14 def payee_country @payee_country end |
#payee_name ⇒ Object
Returns the value of attribute payee_name.
14 15 16 |
# File 'lib/genesis_ruby/api/requests/non_financial/payee/create.rb', line 14 def payee_name @payee_name end |
#payee_type ⇒ Object
Returns the value of attribute payee_type.
14 15 16 |
# File 'lib/genesis_ruby/api/requests/non_financial/payee/create.rb', line 14 def payee_type @payee_type end |