Class: GenesisRuby::Api::Requests::NonFinancial::Kyc::IdentityDocument::Upload

Inherits:
Base::NonFinancial::Kyc::Base show all
Includes:
Mixins::Requests::NonFinancial::Kyc::IdentityDocumentAttributes
Defined in:
lib/genesis_ruby/api/requests/non_financial/kyc/identity_document/upload.rb

Overview

Used to verify documents provided by the customer.

Constant Summary

Constants included from Mixins::Requests::NonFinancial::Kyc::IdentityDocumentAttributes

Mixins::Requests::NonFinancial::Kyc::IdentityDocumentAttributes::MAX_DOCUMENTS

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 Base::Versioned

#allowed_versions, #version

Attributes inherited from GenesisRuby::Api::Request

#api_config

Instance Method Summary collapse

Methods included from Mixins::Requests::NonFinancial::Kyc::IdentityDocumentAttributes

#add_doc, #clear_docs, #docs

Methods inherited from Base::NonFinancial::Kyc::Base

#init_configuration

Methods inherited from GenesisRuby::Api::Request

#build_document

Constructor Details

#initialize(configuration, _builder_interface = nil) ⇒ Upload

Initialize the Upload Document request



19
20
21
22
23
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/identity_document/upload.rb', line 19

def initialize(configuration, _builder_interface = nil)
  super(configuration)

  self.request_path = 'upload_document'
end

Instance Attribute Details

#customer_unique_idObject

Returns the value of attribute customer_unique_id.



16
17
18
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/identity_document/upload.rb', line 16

def customer_unique_id
  @customer_unique_id
end

#customer_usernameObject

Returns the value of attribute customer_username.



16
17
18
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/identity_document/upload.rb', line 16

def customer_username
  @customer_username
end

#methodObject

Returns the value of attribute method.



16
17
18
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/identity_document/upload.rb', line 16

def method
  @method
end

#reference_idObject

Returns the value of attribute reference_id.



16
17
18
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/identity_document/upload.rb', line 16

def reference_id
  @reference_id
end

#transaction_unique_idObject

Returns the value of attribute transaction_unique_id.



16
17
18
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/identity_document/upload.rb', line 16

def transaction_unique_id
  @transaction_unique_id
end