Class: MetronomeSDK::Models::V1::CreditGrantListEntriesResponse::Ledger::EndingBalance

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

Method Summary

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 MetronomeSDK::Internal::Type::BaseModel

Instance Attribute Details

#effective_atTime

the ending_before request parameter (if supplied) or the current billing period’s end date

Returns:

  • (Time)


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

required :effective_at, Time

#excluding_pendingFloat

the ending balance, including the balance of all grants that have not expired before the effective_at date and deductions that happened before the effective_at date

Returns:

  • (Float)


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

required :excluding_pending, Float

#including_pendingFloat

the excluding_pending balance plus any pending invoice deductions and expirations that will happen by the effective_at date

Returns:

  • (Float)


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

required :including_pending, Float