Class: Lithic::Models::ThreeDSAuthentication::Cardholder

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

Overview

See Also:

Defined Under Namespace

Modules: AddressOnFileMatch Classes: BillingAddress, ShippingAddress

Instance Attribute Summary collapse

Class Method 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(address1: nil, address2: nil, address3: nil, city: nil, country: nil, postal_code: nil) ⇒ Object

Some parameter documentations has been truncated, see BillingAddress for more details.

Object containing data on the billing address provided during the transaction.

Parameters:

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

    First line of the street address provided by the cardholder.

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

    Second line of the street address provided by the cardholder.

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

    Third line of the street address provided by the cardholder.

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

    City of the address provided by the cardholder.

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

    Country of the address provided by the cardholder in ISO 3166-1 alpha-3 format (

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

    Postal code (e.g., ZIP code) of the address provided by the cardholder



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


Instance Attribute Details

#address_matchBoolean?

Indicates whether the shipping address and billing address provided by the cardholder are the same. This value - and assessment of whether the addresses match - is provided directly in the 3DS request and is not determined by Lithic. Maps to EMV 3DS field ‘addrMatch`.

Returns:

  • (Boolean, nil)


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

optional :address_match, Lithic::Internal::Type::Boolean, nil?: true

#address_on_file_matchSymbol, ...

Lithic’s evaluation result comparing the transaction’s address data with the cardholder KYC data if it exists. In the event Lithic does not have any Cardholder KYC data, or the transaction does not contain any address data, NOT_PRESENT will be returned



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

optional :address_on_file_match,
enum: -> { Lithic::ThreeDSAuthentication::Cardholder::AddressOnFileMatch }

#billing_addressLithic::Models::ThreeDSAuthentication::Cardholder::BillingAddress?

Object containing data on the billing address provided during the transaction.



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

optional :billing_address, -> { Lithic::ThreeDSAuthentication::Cardholder::BillingAddress }

#emailString?

Email address that is either provided by the cardholder or is on file with the merchant in a 3RI request. Maps to EMV 3DS field ‘email`.

Returns:

  • (String, nil)


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

optional :email, String, nil?: true

#nameString?

Name of the cardholder. Maps to EMV 3DS field ‘cardholderName`.

Returns:

  • (String, nil)


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

optional :name, String, nil?: true

#phone_number_homeString?

Home phone number in E.164 format provided by the cardholder. Maps to EMV 3DS fields ‘homePhone.cc` and `homePhone.subscriber`.

Returns:

  • (String, nil)


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

optional :phone_number_home, String, nil?: true

#phone_number_mobileString?

Mobile/cell phone number in E.164 format provided by the cardholder. Maps to EMV 3DS fields ‘mobilePhone.cc` and `mobilePhone.subscriber`.

Returns:

  • (String, nil)


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

optional :phone_number_mobile, String, nil?: true

#phone_number_workString?

Work phone number in E.164 format provided by the cardholder. Maps to EMV 3DS fields ‘workPhone.cc` and `workPhone.subscriber`.

Returns:

  • (String, nil)


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

optional :phone_number_work, String, nil?: true

#shipping_addressLithic::Models::ThreeDSAuthentication::Cardholder::ShippingAddress?

Object containing data on the shipping address provided during the transaction.



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

optional :shipping_address, -> { Lithic::ThreeDSAuthentication::Cardholder::ShippingAddress }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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