Class: GenesisRuby::Api::Requests::NonFinancial::Sca::Checker

Inherits:
Base::Versioned show all
Includes:
Mixins::Requests::Financial::MotoAttributes
Defined in:
lib/genesis_ruby/api/requests/non_financial/sca/checker.rb

Overview

SCA Checker call is used for the determination whether SCA is required

Constant Summary

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

Attributes included from Mixins::Requests::Financial::MotoAttributes

#moto

Attributes inherited from Base::Versioned

#allowed_versions, #version

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

SCA Checker constructor



19
20
21
22
23
# File 'lib/genesis_ruby/api/requests/non_financial/sca/checker.rb', line 19

def initialize(configuration, _builder_interface = nil)
  super configuration

  self.request_path = "sca/checker/#{configuration.token}"
end

Instance Attribute Details

#card_numberObject

Returns the value of attribute card_number.



15
16
17
# File 'lib/genesis_ruby/api/requests/non_financial/sca/checker.rb', line 15

def card_number
  @card_number
end

#mitObject

Returns the value of attribute mit.



15
16
17
# File 'lib/genesis_ruby/api/requests/non_financial/sca/checker.rb', line 15

def mit
  @mit
end

#recurring_typeObject

Returns the value of attribute recurring_type.



16
17
18
# File 'lib/genesis_ruby/api/requests/non_financial/sca/checker.rb', line 16

def recurring_type
  @recurring_type
end

#transaction_amountObject

Returns the value of attribute transaction_amount.



16
17
18
# File 'lib/genesis_ruby/api/requests/non_financial/sca/checker.rb', line 16

def transaction_amount
  @transaction_amount
end

#transaction_currencyObject

Returns the value of attribute transaction_currency.



16
17
18
# File 'lib/genesis_ruby/api/requests/non_financial/sca/checker.rb', line 16

def transaction_currency
  @transaction_currency
end

#transaction_exemptionObject

Returns the value of attribute transaction_exemption.



16
17
18
# File 'lib/genesis_ruby/api/requests/non_financial/sca/checker.rb', line 16

def transaction_exemption
  @transaction_exemption
end