Class: MetronomeSDK::Models::V1::CreditGrantListEntriesResponse::Ledger::StartingBalance

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/v1/credit_grant_list_entries_response.rb

Overview

See Also:

Instance Attribute 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(effective_at: , excluding_pending: , including_pending: ) ⇒ Object

Some parameter documentations has been truncated, see MetronomeSDK::Models::V1::CreditGrantListEntriesResponse::Ledger::StartingBalance for more details.

Parameters:

  • effective_at (Time) (defaults to: )

    the starting_on request parameter (if supplied) or the first credit grant’s effe

  • excluding_pending (Float) (defaults to: )

    the starting balance, including all posted grants, deductions, and expirations t

  • including_pending (Float) (defaults to: )

    the excluding_pending balance plus any pending activity that has not been posted



# File 'lib/metronome_sdk/models/v1/credit_grant_list_entries_response.rb', line 125


Instance Attribute Details

#effective_atTime

the starting_on request parameter (if supplied) or the first credit grant’s effective_at date

Returns:

  • (Time)


109
# File 'lib/metronome_sdk/models/v1/credit_grant_list_entries_response.rb', line 109

required :effective_at, Time

#excluding_pendingFloat

the starting balance, including all posted grants, deductions, and expirations that happened at or before the effective_at timestamp

Returns:

  • (Float)


116
# File 'lib/metronome_sdk/models/v1/credit_grant_list_entries_response.rb', line 116

required :excluding_pending, Float

#including_pendingFloat

the excluding_pending balance plus any pending activity that has not been posted at the time of the query

Returns:

  • (Float)


123
# File 'lib/metronome_sdk/models/v1/credit_grant_list_entries_response.rb', line 123

required :including_pending, Float