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

Inherits:
Base::NonFinancial::Payee::Base show all
Defined in:
lib/genesis_ruby/api/requests/non_financial/payee/owners/create.rb

Overview

Create an Owner entity.

Constant Summary

Constants inherited from GenesisRuby::Api::Request

GenesisRuby::Api::Request::AUTH_TYPE_BASIC, GenesisRuby::Api::Request::AUTH_TYPE_TOKEN, GenesisRuby::Api::Request::METHOD_DELETE, 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 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

Create Owner initialization



19
20
21
22
23
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/create.rb', line 19

def initialize(configuration, _builder_interface = nil)
  super configuration

  self.request_path = 'payee/owners'
end

Instance Attribute Details

#notification_urlObject

Returns the value of attribute notification_url.



14
15
16
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/create.rb', line 14

def notification_url
  @notification_url
end

#owner_addressObject

Returns the value of attribute owner_address.



14
15
16
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/create.rb', line 14

def owner_address
  @owner_address
end

#owner_countryObject

Returns the value of attribute owner_country.



14
15
16
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/create.rb', line 14

def owner_country
  @owner_country
end

#owner_dateObject

Returns the value of attribute owner_date.



14
15
16
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/create.rb', line 14

def owner_date
  @owner_date
end

#owner_nameObject

Returns the value of attribute owner_name.



14
15
16
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/create.rb', line 14

def owner_name
  @owner_name
end

#owner_typeObject

Returns the value of attribute owner_type.



14
15
16
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/create.rb', line 14

def owner_type
  @owner_type
end

#ownersObject

Returns the value of attribute owners.



14
15
16
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/create.rb', line 14

def owners
  @owners
end

#payeesObject

Returns the value of attribute payees.



14
15
16
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/create.rb', line 14

def payees
  @payees
end

#registration_numberObject

Returns the value of attribute registration_number.



14
15
16
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/create.rb', line 14

def registration_number
  @registration_number
end