Class: Lithic::Models::ExternalPayment::Event

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

Defined Under Namespace

Modules: DetailedResult, 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

#initializeObject



178
# File 'sig/lithic/models/external_payment.rbs', line 178

def initialize: (

Instance Attribute Details

#amountInteger

Parameters:

  • value (Integer)

Returns:

  • (Integer)


152
# File 'lib/lithic/models/external_payment.rb', line 152

required :amount, Integer

#createdTime

Parameters:

  • value (Time)

Returns:

  • (Time)


157
# File 'lib/lithic/models/external_payment.rb', line 157

required :created, Time

#detailed_resultsArray<Symbol, Lithic::Models::ExternalPayment::Event::DetailedResult>

Parameters:

  • value (::Array[Lithic::Models::ExternalPayment::Event::detailed_result])

Returns:



162
163
# File 'lib/lithic/models/external_payment.rb', line 162

required :detailed_results,
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::ExternalPayment::Event::DetailedResult] }

#effective_dateDate

Parameters:

  • value (Date)

Returns:

  • (Date)


168
# File 'lib/lithic/models/external_payment.rb', line 168

required :effective_date, Date

#memoString

Parameters:

  • value (String)

Returns:

  • (String)


173
# File 'lib/lithic/models/external_payment.rb', line 173

required :memo, String

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

Parameters:

  • value (Lithic::Models::ExternalPayment::Event::result)

Returns:



178
# File 'lib/lithic/models/external_payment.rb', line 178

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

#tokenString

Parameters:

  • value (String)

Returns:

  • (String)


147
# File 'lib/lithic/models/external_payment.rb', line 147

required :token, String

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

Parameters:

  • value (Lithic::Models::ExternalPayment::Event::type_)

Returns:



183
# File 'lib/lithic/models/external_payment.rb', line 183

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/lithic/models/external_payment.rb', line 201

Instance Method Details

#to_hash{

Returns:

  • ({)


189
# File 'sig/lithic/models/external_payment.rbs', line 189

def to_hash: -> {