Class: MetronomeSDK::Models::ContractV2::Commit::Ledger::PrepaidCommitRolloverLedgerEntry
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(amount: , new_contract_id: , segment_id: , timestamp: , type: ) ⇒ Object
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 702
|
Instance Attribute Details
#amount ⇒ Float
679
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 679
required :amount, Float
|
#new_contract_id ⇒ String
684
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 684
required :new_contract_id, String
|
#segment_id ⇒ String
689
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 689
required :segment_id, String
|
#timestamp ⇒ Time
694
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 694
required :timestamp, Time
|
699
700
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 699
required :type,
enum: -> { MetronomeSDK::ContractV2::Commit::Ledger::PrepaidCommitRolloverLedgerEntry::Type }
|