Class: Lithic::Models::FundingEvent

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

Overview

Direct Known Subclasses

FundingEventCreatedWebhookEvent

Defined Under Namespace

Modules: CollectionResourceType Classes: NetworkSettlementSummary

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:, collection_resource_type:, collection_tokens:, created:, high_watermark:, network_settlement_summary:, previous_high_watermark:, updated:) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::FundingEvent for more details.

Parameters:

  • token (String)

    Unique token ID

  • collection_resource_type (Symbol, Lithic::Models::FundingEvent::CollectionResourceType)

    Collection resource type

  • collection_tokens (Array<String>)

    IDs of collections, further information can be gathered from the appropriate col

  • created (Time)

    Time of the creation

  • high_watermark (Time)

    Time of the high watermark

  • network_settlement_summary (Array<Lithic::Models::FundingEvent::NetworkSettlementSummary>)

    Network settlement summary breakdown by network settlement date

  • previous_high_watermark (Time)

    Time of the previous high watermark

  • updated (Time)

    Time of the update



# File 'lib/lithic/models/funding_event.rb', line 57


Instance Attribute Details

#collection_resource_typeSymbol, Lithic::Models::FundingEvent::CollectionResourceType

Collection resource type



17
# File 'lib/lithic/models/funding_event.rb', line 17

required :collection_resource_type, enum: -> { Lithic::FundingEvent::CollectionResourceType }

#collection_tokensArray<String>

IDs of collections, further information can be gathered from the appropriate collection API based on collection_resource_type

Returns:

  • (Array<String>)


24
# File 'lib/lithic/models/funding_event.rb', line 24

required :collection_tokens, Lithic::Internal::Type::ArrayOf[String]

#createdTime

Time of the creation

Returns:

  • (Time)


30
# File 'lib/lithic/models/funding_event.rb', line 30

required :created, Time

#high_watermarkTime

Time of the high watermark

Returns:

  • (Time)


36
# File 'lib/lithic/models/funding_event.rb', line 36

required :high_watermark, Time

#network_settlement_summaryArray<Lithic::Models::FundingEvent::NetworkSettlementSummary>

Network settlement summary breakdown by network settlement date



42
43
# File 'lib/lithic/models/funding_event.rb', line 42

required :network_settlement_summary,
-> { Lithic::Internal::Type::ArrayOf[Lithic::FundingEvent::NetworkSettlementSummary] }

#previous_high_watermarkTime

Time of the previous high watermark

Returns:

  • (Time)


49
# File 'lib/lithic/models/funding_event.rb', line 49

required :previous_high_watermark, Time

#tokenString

Unique token ID

Returns:

  • (String)


11
# File 'lib/lithic/models/funding_event.rb', line 11

required :token, String

#updatedTime

Time of the update

Returns:

  • (Time)


55
# File 'lib/lithic/models/funding_event.rb', line 55

required :updated, Time

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/lithic/models/funding_event.rb', line 86