Class: GenesisRuby::Api::Requests::NonFinancial::Kyc::ConsumerRegistration::Create

Inherits:
Base::NonFinancial::Kyc::Base show all
Includes:
Mixins::Requests::NonFinancial::Kyc::CustomerInformationAttributes
Defined in:
lib/genesis_ruby/api/requests/non_financial/kyc/consumer_registration/create.rb

Overview

Create Consumer Registration Request class for KYC Non-Financial API services

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 included from Mixins::Requests::NonFinancial::Kyc::CustomerInformationAttributes

#address1, #address2, #city, #country, #customer_email, #document_number, #document_type, #first_name, #gender, #last_name, #middle_name, #phone1, #phone2, #province, #zip_code

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::BirthDateAttributes

#birth_date, #birth_date=

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

#init_configuration

Methods inherited from GenesisRuby::Api::Request

#build_document

Constructor Details

#initialize(configuration, _builder_interface = nil) ⇒ Create

Initializes the Create Consumer Registration Request



23
24
25
26
27
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/consumer_registration/create.rb', line 23

def initialize(configuration, _builder_interface = nil)
  super configuration

  self.request_path = 'create_consumer'
end

Instance Attribute Details

#affiliate_idObject

Returns the value of attribute affiliate_id.



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

def affiliate_id
  @affiliate_id
end

#bonus_amountObject

Returns the value of attribute bonus_amount.



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

def bonus_amount
  @bonus_amount
end

#bonus_codeObject

Returns the value of attribute bonus_code.



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

def bonus_code
  @bonus_code
end

#bonus_submission_dateObject

Returns the value of attribute bonus_submission_date.



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

def bonus_submission_date
  @bonus_submission_date
end

#customer_phone_numberObject

Returns the value of attribute customer_phone_number.



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

def customer_phone_number
  @customer_phone_number
end

#customer_registration_dateObject

Returns the value of attribute customer_registration_date.



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

def customer_registration_date
  @customer_registration_date
end

#customer_registration_device_idObject

Returns the value of attribute customer_registration_device_id.



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

def customer_registration_device_id
  @customer_registration_device_id
end

#customer_registration_ip_addressObject

Returns the value of attribute customer_registration_ip_address.



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

def customer_registration_ip_address
  @customer_registration_ip_address
end

#customer_unique_idObject

Returns the value of attribute customer_unique_id.



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

def customer_unique_id
  @customer_unique_id
end

#customer_usernameObject

Returns the value of attribute customer_username.



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

def customer_username
  @customer_username
end

#device_fingerprintObject

Returns the value of attribute device_fingerprint.



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

def device_fingerprint
  @device_fingerprint
end

#device_fingerprint_typeObject

Returns device_fingerprint_type as an integer



30
31
32
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/consumer_registration/create.rb', line 30

def device_fingerprint_type
  @device_fingerprint_type&.to_i
end

#how_did_you_hearObject

Returns the value of attribute how_did_you_hear.



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

def how_did_you_hear
  @how_did_you_hear
end

#industry_typeObject

Returns industry_type as an integer



45
46
47
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/consumer_registration/create.rb', line 45

def industry_type
  @industry_type&.to_i
end

#merchant_websiteObject

Returns the value of attribute merchant_website.



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

def merchant_website
  @merchant_website
end

#profile_action_typeObject

Returns profile_action_type as an integer



35
36
37
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/consumer_registration/create.rb', line 35

def profile_action_type
  @profile_action_type&.to_i
end

#profile_current_statusObject

Returns profile_current_status as an integer



40
41
42
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/consumer_registration/create.rb', line 40

def profile_current_status
  @profile_current_status&.to_i
end

#rule_contextObject

Returns the value of attribute rule_context.



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

def rule_context
  @rule_context
end

#security_codeObject

Returns the value of attribute security_code.



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

def security_code
  @security_code
end

#service_languageObject

Returns the value of attribute service_language.



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

def service_language
  @service_language
end

#service_typeObject

Returns the value of attribute service_type.



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

def service_type
  @service_type
end

#session_idObject

Returns the value of attribute session_id.



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

def session_id
  @session_id
end

#third_party_device_idObject

Returns the value of attribute third_party_device_id.



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

def third_party_device_id
  @third_party_device_id
end

#transaction_unique_idObject

Returns the value of attribute transaction_unique_id.



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

def transaction_unique_id
  @transaction_unique_id
end