Class: Lithic::Models::BookTransferResponse::Event

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

Defined Under Namespace

Modules: DetailedResult, Result, Type

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Lithic::Internal::Type::BaseModel

Instance Attribute Details

#amountInteger

Amount of the financial event that has been settled in the currency’s smallest unit (e.g., cents).

Returns:

  • (Integer)


177
# File 'lib/lithic/models/book_transfer_response.rb', line 177

required :amount, Integer

#createdTime

Date and time when the financial event occurred. UTC time zone.

Returns:

  • (Time)


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

required :created, Time

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



188
189
# File 'lib/lithic/models/book_transfer_response.rb', line 188

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

#memoString

Memo for the transfer.

Returns:

  • (String)


195
# File 'lib/lithic/models/book_transfer_response.rb', line 195

required :memo, String

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

APPROVED financial events were successful while DECLINED financial events were declined by user, Lithic, or the network.



202
# File 'lib/lithic/models/book_transfer_response.rb', line 202

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

#subtypeString

The program specific subtype code for the specified category/type.

Returns:

  • (String)


208
# File 'lib/lithic/models/book_transfer_response.rb', line 208

required :subtype, String

#tokenString

Globally unique identifier.

Returns:

  • (String)


170
# File 'lib/lithic/models/book_transfer_response.rb', line 170

required :token, String

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

Type of the book transfer



214
# File 'lib/lithic/models/book_transfer_response.rb', line 214

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/lithic/models/book_transfer_response.rb', line 244