Class: Lithic::Models::Transactions::Events::EnhancedData

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/transactions/events/enhanced_data.rb

Overview

Defined Under Namespace

Classes: Common, Fleet

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(token:, common:, event_token:, fleet:, transaction_token:) ⇒ Object

Parameters:



# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 37


Instance Attribute Details

#commonLithic::Models::Transactions::Events::EnhancedData::Common



18
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 18

required :common, -> { Lithic::Transactions::Events::EnhancedData::Common }

#event_tokenString

The token of the event that the enhanced data is associated with.

Returns:

  • (String)


24
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 24

required :event_token, String

#fleetArray<Lithic::Models::Transactions::Events::EnhancedData::Fleet>



29
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 29

required :fleet, -> { Lithic::Internal::Type::ArrayOf[Lithic::Transactions::Events::EnhancedData::Fleet] }

#tokenString

A unique identifier for the enhanced commercial data.

Returns:

  • (String)


13
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 13

required :token, String

#transaction_tokenString

The token of the transaction that the enhanced data is associated with.

Returns:

  • (String)


35
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 35

required :transaction_token, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 168