Class: GenesisRuby::Api::Requests::NonFinancial::Kyc::Call::Create
- Inherits:
-
Base::NonFinancial::Kyc::Base
- Object
- GenesisRuby::Api::Request
- Base::Versioned
- Base::NonFinancial::Kyc::Base
- GenesisRuby::Api::Requests::NonFinancial::Kyc::Call::Create
- Defined in:
- lib/genesis_ruby/api/requests/non_financial/kyc/call/create.rb
Overview
Create Call Request class for KYC Non-Financial API services This method is used to make a call or send an SMS to a given phone number.
Constant Summary collapse
- SERVICE_TYPE_SMS =
1- SERVICE_TYPE_VOICE =
2- VALID_SERVICE_TYPES =
[SERVICE_TYPE_SMS, SERVICE_TYPE_VOICE].freeze
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
-
#customer_phone_number ⇒ Object
Returns the value of attribute customer_phone_number.
-
#customer_unique_id ⇒ Object
Returns the value of attribute customer_unique_id.
-
#customer_username ⇒ Object
Returns the value of attribute customer_username.
-
#security_code ⇒ Object
Returns the value of attribute security_code.
-
#service_language ⇒ Object
Returns the value of attribute service_language.
-
#service_type ⇒ Object
Returns the value of attribute service_type.
-
#transaction_unique_id ⇒ Object
Returns the value of attribute transaction_unique_id.
Attributes inherited from Base::Versioned
Attributes inherited from GenesisRuby::Api::Request
Instance Method Summary collapse
-
#initialize(configuration, _builder_interface = nil) ⇒ Create
constructor
Initialize the Make Call document request.
Methods inherited from Base::NonFinancial::Kyc::Base
Methods inherited from GenesisRuby::Api::Request
Constructor Details
#initialize(configuration, _builder_interface = nil) ⇒ Create
Initialize the Make Call document request
25 26 27 28 29 |
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/call/create.rb', line 25 def initialize(configuration, _builder_interface = nil) super configuration self.request_path = 'create_authentication' end |
Instance Attribute Details
#customer_phone_number ⇒ Object
Returns the value of attribute customer_phone_number.
22 23 24 |
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/call/create.rb', line 22 def customer_phone_number @customer_phone_number end |
#customer_unique_id ⇒ Object
Returns the value of attribute customer_unique_id.
20 21 22 |
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/call/create.rb', line 20 def customer_unique_id @customer_unique_id end |
#customer_username ⇒ Object
Returns the value of attribute customer_username.
20 21 22 |
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/call/create.rb', line 20 def customer_username @customer_username end |
#security_code ⇒ Object
Returns the value of attribute security_code.
22 23 24 |
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/call/create.rb', line 22 def security_code @security_code end |
#service_language ⇒ Object
Returns the value of attribute service_language.
20 21 22 |
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/call/create.rb', line 20 def service_language @service_language end |
#service_type ⇒ Object
Returns the value of attribute service_type.
20 21 22 |
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/call/create.rb', line 20 def service_type @service_type end |
#transaction_unique_id ⇒ Object
Returns the value of attribute transaction_unique_id.
20 21 22 |
# File 'lib/genesis_ruby/api/requests/non_financial/kyc/call/create.rb', line 20 def transaction_unique_id @transaction_unique_id end |