Class: MetronomeSDK::Models::V1::ContractRetrieveRateScheduleResponse::Data
Defined Under Namespace
Modules: BillingFrequency
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(entitled: , list_rate: , product_custom_fields: , product_id: , product_name: , product_tags: , rate_card_id: , starting_at: , billing_frequency: nil, commit_rate: nil, ending_before: nil, override_rate: nil, pricing_group_values: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Data for more details.
==, #==, #[], 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(entitled: , list_rate: , product_custom_fields: , product_id: , product_name: , product_tags: , rate_card_id: , starting_at: , billing_frequency: nil, commit_rate: nil, ending_before: nil, override_rate: nil, pricing_group_values: nil) ⇒ Object
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
|
# File 'lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rb', line 23
class Data < MetronomeSDK::Internal::Type::BaseModel
required :entitled, MetronomeSDK::Internal::Type::Boolean
required :list_rate, -> { MetronomeSDK::Rate }
required :product_custom_fields, MetronomeSDK::Internal::Type::HashOf[String]
required :product_id, String
required :product_name, String
required :product_tags, MetronomeSDK::Internal::Type::ArrayOf[String]
required :rate_card_id, String
required :starting_at, Time
optional :billing_frequency,
enum: -> { MetronomeSDK::Models::V1::ContractRetrieveRateScheduleResponse::Data::BillingFrequency }
optional :commit_rate, -> { MetronomeSDK::CommitRate }
optional :ending_before, Time
optional :override_rate, -> { MetronomeSDK::Rate }
optional :pricing_group_values, MetronomeSDK::Internal::Type::HashOf[String]
module BillingFrequency
extend MetronomeSDK::Internal::Type::Enum
MONTHLY = :MONTHLY
QUARTERLY = :QUARTERLY
ANNUAL = :ANNUAL
WEEKLY = :WEEKLY
end
end
|
Instance Attribute Details
#billing_frequency ⇒ Symbol, ...
68
69
|
# File 'lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rb', line 68
optional :billing_frequency,
enum: -> { MetronomeSDK::Models::V1::ContractRetrieveRateScheduleResponse::Data::BillingFrequency }
|
A distinct rate on the rate card. You can choose to use this rate rather than list rate when consuming a credit or commit.
76
|
# File 'lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rb', line 76
optional :commit_rate, -> { MetronomeSDK::CommitRate }
|
#ending_before ⇒ Time?
81
|
# File 'lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rb', line 81
optional :ending_before, Time
|
#entitled ⇒ Boolean
27
|
# File 'lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rb', line 27
required :entitled, MetronomeSDK::Internal::Type::Boolean
|
32
|
# File 'lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rb', line 32
required :list_rate, -> { MetronomeSDK::Rate }
|
86
|
# File 'lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rb', line 86
optional :override_rate, -> { MetronomeSDK::Rate }
|
#pricing_group_values ⇒ Hash{Symbol=>String}?
91
|
# File 'lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rb', line 91
optional :pricing_group_values, MetronomeSDK::Internal::Type::HashOf[String]
|
#product_custom_fields ⇒ Hash{Symbol=>String}
Custom fields to be added eg. { “key1”: “value1”, “key2”: “value2” }
38
|
# File 'lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rb', line 38
required :product_custom_fields, MetronomeSDK::Internal::Type::HashOf[String]
|
#product_id ⇒ String
43
|
# File 'lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rb', line 43
required :product_id, String
|
#product_name ⇒ String
48
|
# File 'lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rb', line 48
required :product_name, String
|
53
|
# File 'lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rb', line 53
required :product_tags, MetronomeSDK::Internal::Type::ArrayOf[String]
|
#rate_card_id ⇒ String
58
|
# File 'lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rb', line 58
required :rate_card_id, String
|
#starting_at ⇒ Time
63
|
# File 'lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rb', line 63
required :starting_at, Time
|