Class: Lithic::Models::ThreeDSAuthentication::Merchant

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/three_ds_authentication.rb

Overview

See Also:

Defined Under Namespace

Classes: RiskIndicator

Instance Attribute Summary collapse

Instance Method Summary collapse

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(risk_indicator:, id: nil, country: nil, mcc: nil, name: nil) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::ThreeDSAuthentication::Merchant for more details.

Object containing data about the merchant involved in the e-commerce transaction.

Parameters:

  • risk_indicator (Lithic::Models::ThreeDSAuthentication::Merchant::RiskIndicator)

    Object containing additional data indicating additional risk factors related to

  • id (String, nil) (defaults to: nil)

    Merchant identifier as assigned by the acquirer. Maps to EMV 3DS field ‘acquirer

  • country (String, nil) (defaults to: nil)

    Country code of the merchant requesting 3DS authentication. Maps to EMV 3DS fiel

  • mcc (String, nil) (defaults to: nil)

    Merchant category code assigned to the merchant that describes its business acti

  • name (String, nil) (defaults to: nil)

    Name of the merchant. Maps to EMV 3DS field ‘merchantName`. May not be present f



# File 'lib/lithic/models/three_ds_authentication.rb', line 541

Instance Attribute Details

#countryString?

Country code of the merchant requesting 3DS authentication. Maps to EMV 3DS field ‘merchantCountryCode`. Permitted values: ISO 3166-1 alpha-3 country code (e.g., USA). May not be present for non-payment authentications.

Returns:

  • (String, nil)


524
# File 'lib/lithic/models/three_ds_authentication.rb', line 524

optional :country, String, nil?: true

#idString?

Merchant identifier as assigned by the acquirer. Maps to EMV 3DS field ‘acquirerMerchantId`. May not be present for non-payment authentications.

Returns:

  • (String, nil)


516
# File 'lib/lithic/models/three_ds_authentication.rb', line 516

optional :id, String, nil?: true

#mccString?

Merchant category code assigned to the merchant that describes its business activity type. Maps to EMV 3DS field ‘mcc`. May not be present for non-payment authentications.

Returns:

  • (String, nil)


532
# File 'lib/lithic/models/three_ds_authentication.rb', line 532

optional :mcc, String, nil?: true

#nameString?

Name of the merchant. Maps to EMV 3DS field ‘merchantName`. May not be present for non-payment authentications.

Returns:

  • (String, nil)


539
# File 'lib/lithic/models/three_ds_authentication.rb', line 539

optional :name, String, nil?: true

#risk_indicatorLithic::Models::ThreeDSAuthentication::Merchant::RiskIndicator

Object containing additional data indicating additional risk factors related to the e-commerce transaction.



509
# File 'lib/lithic/models/three_ds_authentication.rb', line 509

required :risk_indicator, -> { Lithic::ThreeDSAuthentication::Merchant::RiskIndicator }