Class: Lithic::Models::ThreeDS::AuthenticationSimulateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/lithic/models/three_ds/authentication_simulate_params.rb

Overview

Defined Under Namespace

Modules: CardExpiryCheck Classes: Merchant, Transaction

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(amount:, currency:) ⇒ Object

Transaction details for the simulation

Parameters:

  • amount (Integer)

    Amount (in cents) to authenticate.

  • currency (String)

    3-character alphabetic ISO 4217 currency code.



# File 'lib/lithic/models/three_ds/authentication_simulate_params.rb', line 80

Instance Attribute Details

#card_expiry_checkSymbol, ...

When set will use the following values as part of the Simulated Authentication. When not set defaults to MATCH



34
# File 'lib/lithic/models/three_ds/authentication_simulate_params.rb', line 34

optional :card_expiry_check, enum: -> { Lithic::ThreeDS::AuthenticationSimulateParams::CardExpiryCheck }

#merchantLithic::Models::ThreeDS::AuthenticationSimulateParams::Merchant

Merchant information for the simulated transaction



15
# File 'lib/lithic/models/three_ds/authentication_simulate_params.rb', line 15

required :merchant, -> { Lithic::ThreeDS::AuthenticationSimulateParams::Merchant }

#panString

Sixteen digit card number.

Returns:

  • (String)


21
# File 'lib/lithic/models/three_ds/authentication_simulate_params.rb', line 21

required :pan, String

#transactionLithic::Models::ThreeDS::AuthenticationSimulateParams::Transaction

Transaction details for the simulation



27
# File 'lib/lithic/models/three_ds/authentication_simulate_params.rb', line 27

required :transaction, -> { Lithic::ThreeDS::AuthenticationSimulateParams::Transaction }