Class: Lithic::Models::InternalTransactionAPI::Event

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

Defined Under Namespace

Modules: Result, Type

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:, amount:, created:, result:, type:) ⇒ Object

Parameters:



# File 'lib/lithic/models/internal_transaction.rb', line 110

Instance Attribute Details

#amountInteger

Returns:

  • (Integer)


93
# File 'lib/lithic/models/internal_transaction.rb', line 93

required :amount, Integer

#createdTime

Returns:

  • (Time)


98
# File 'lib/lithic/models/internal_transaction.rb', line 98

required :created, Time

#resultSymbol, Lithic::Models::InternalTransactionAPI::Event::Result



103
# File 'lib/lithic/models/internal_transaction.rb', line 103

required :result, enum: -> { Lithic::InternalTransactionAPI::Event::Result }

#tokenString

Returns:

  • (String)


88
# File 'lib/lithic/models/internal_transaction.rb', line 88

required :token, String

#typeSymbol, Lithic::Models::InternalTransactionAPI::Event::Type



108
# File 'lib/lithic/models/internal_transaction.rb', line 108

required :type, enum: -> { Lithic::InternalTransactionAPI::Event::Type }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/lithic/models/internal_transaction.rb', line 124