Class: Lithic::Models::Transaction::Event::NetworkInfo

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/transaction.rb,
sig/lithic/models/transaction.rbs

Overview

See Also:

  • Lithic::Models::Transaction::Event#network_info

Defined Under Namespace

Classes: Acquirer, Amex, Mastercard, Visa

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(banknet_reference_number:, original_banknet_reference_number:, original_switch_serial_number:, switch_serial_number:) ⇒ Object

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

Parameters:

  • banknet_reference_number (String, nil)

    Identifier assigned by Mastercard. Guaranteed by Mastercard to be unique for any

  • original_banknet_reference_number (String, nil)

    Identifier assigned by Mastercard. Matches the banknet_reference_number of a p

  • original_switch_serial_number (String, nil)

    Identifier assigned by Mastercard. Matches the switch_serial_number of a prior

  • switch_serial_number (String, nil)

    Identifier assigned by Mastercard, applicable to single-message transactions onl



# File 'lib/lithic/models/transaction.rb', line 1114

Instance Attribute Details

#acquirerLithic::Models::Transaction::Event::NetworkInfo::Acquirer?

Parameters:

  • value (Lithic::Transaction::Event::NetworkInfo::Acquirer, nil)

Returns:



1097
# File 'lib/lithic/models/transaction.rb', line 1097

required :acquirer, -> { Lithic::Transaction::Event::NetworkInfo::Acquirer }, nil?: true

#amexLithic::Models::Transaction::Event::NetworkInfo::Amex?

Parameters:

  • value (Lithic::Transaction::Event::NetworkInfo::Amex, nil)

Returns:



1102
# File 'lib/lithic/models/transaction.rb', line 1102

required :amex, -> { Lithic::Transaction::Event::NetworkInfo::Amex }, nil?: true

#mastercardLithic::Models::Transaction::Event::NetworkInfo::Mastercard?

Parameters:

  • value (Lithic::Transaction::Event::NetworkInfo::Mastercard, nil)

Returns:



1107
# File 'lib/lithic/models/transaction.rb', line 1107

required :mastercard, -> { Lithic::Transaction::Event::NetworkInfo::Mastercard }, nil?: true

#visaLithic::Models::Transaction::Event::NetworkInfo::Visa?

Parameters:

  • value (Lithic::Transaction::Event::NetworkInfo::Visa, nil)

Returns:



1112
# File 'lib/lithic/models/transaction.rb', line 1112

required :visa, -> { Lithic::Transaction::Event::NetworkInfo::Visa }, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


1006
# File 'sig/lithic/models/transaction.rbs', line 1006

def to_hash: -> {