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

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

Overview

Update an existing Owner.

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) ⇒ Update

Update Owner initialization



16
17
18
19
20
21
22
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/update.rb', line 16

def initialize(configuration, _builder_interface = nil)
  super configuration

  self.request_path = 'payee/owners/:owner_unique_id'

  init_patch_configuration
end

Instance Attribute Details

#notification_urlObject

Returns the value of attribute notification_url.



12
13
14
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/update.rb', line 12

def notification_url
  @notification_url
end

#owner_addressObject

Returns the value of attribute owner_address.



12
13
14
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/update.rb', line 12

def owner_address
  @owner_address
end

#owner_countryObject

Returns the value of attribute owner_country.



12
13
14
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/update.rb', line 12

def owner_country
  @owner_country
end

#owner_dateObject

Returns the value of attribute owner_date.



12
13
14
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/update.rb', line 12

def owner_date
  @owner_date
end

#owner_nameObject

Returns the value of attribute owner_name.



12
13
14
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/update.rb', line 12

def owner_name
  @owner_name
end

#owner_unique_idObject

Returns the value of attribute owner_unique_id.



12
13
14
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/update.rb', line 12

def owner_unique_id
  @owner_unique_id
end

#registration_numberObject

Returns the value of attribute registration_number.



12
13
14
# File 'lib/genesis_ruby/api/requests/non_financial/payee/owners/update.rb', line 12

def registration_number
  @registration_number
end