Class: MetronomeSDK::Models::V1::Contracts::RateCardListResponse
Overview
Defined Under Namespace
Classes: Alias, CreditTypeConversion
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(name: , ending_before: nil, starting_at: nil) ⇒ Object
|
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_list_response.rb', line 92
|
Instance Attribute Details
32
33
|
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_list_response.rb', line 32
optional :aliases,
-> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::Models::V1::Contracts::RateCardListResponse::Alias] }
|
#created_at ⇒ Time
17
|
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_list_response.rb', line 17
required :created_at, Time
|
#created_by ⇒ String
22
|
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_list_response.rb', line 22
required :created_by, String
|
38
39
|
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_list_response.rb', line 38
optional :credit_type_conversions,
-> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::Models::V1::Contracts::RateCardListResponse::CreditTypeConversion] }
|
#custom_fields ⇒ Hash{Symbol=>String}?
Custom fields to be added eg. { “key1”: “value1”, “key2”: “value2” }
45
|
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_list_response.rb', line 45
optional :custom_fields, MetronomeSDK::Internal::Type::HashOf[String]
|
#description ⇒ String?
50
|
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_list_response.rb', line 50
optional :description, String
|
55
|
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_list_response.rb', line 55
optional :fiat_credit_type, -> { MetronomeSDK::CreditTypeData }
|
#id ⇒ String
12
|
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_list_response.rb', line 12
required :id, String
|
#name ⇒ String
27
|
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_list_response.rb', line 27
required :name, String
|