Class: MetronomeSDK::Models::V1::ContractCreateHistoricalInvoicesParams::Invoice::UsageLineItem
Defined Under Namespace
Classes: SubtotalsWithQuantity
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(contract_id: , credit_type_id: , customer_id: , exclusive_end_date: , inclusive_start_date: , issue_date: , usage_line_items: , billable_status: nil, breakdown_granularity: nil, custom_fields: nil) ⇒ Object
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
|
# File 'lib/metronome_sdk/models/v1/contract_create_historical_invoices_params.rb', line 104
class UsageLineItem < MetronomeSDK::Internal::Type::BaseModel
required :exclusive_end_date, Time
required :inclusive_start_date, Time
required :product_id, String
optional :presentation_group_values, MetronomeSDK::Internal::Type::HashOf[String]
optional :pricing_group_values, MetronomeSDK::Internal::Type::HashOf[String]
optional :quantity, Float
optional :subtotals_with_quantity,
-> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::V1::ContractCreateHistoricalInvoicesParams::Invoice::UsageLineItem::SubtotalsWithQuantity] }
class SubtotalsWithQuantity < MetronomeSDK::Internal::Type::BaseModel
required :exclusive_end_date, Time
required :inclusive_start_date, Time
required :quantity, Float
end
end
|
Instance Attribute Details
#exclusive_end_date ⇒ Time
108
|
# File 'lib/metronome_sdk/models/v1/contract_create_historical_invoices_params.rb', line 108
required :exclusive_end_date, Time
|
#inclusive_start_date ⇒ Time
113
|
# File 'lib/metronome_sdk/models/v1/contract_create_historical_invoices_params.rb', line 113
required :inclusive_start_date, Time
|
#presentation_group_values ⇒ Hash{Symbol=>String}?
123
|
# File 'lib/metronome_sdk/models/v1/contract_create_historical_invoices_params.rb', line 123
optional :presentation_group_values, MetronomeSDK::Internal::Type::HashOf[String]
|
#pricing_group_values ⇒ Hash{Symbol=>String}?
128
|
# File 'lib/metronome_sdk/models/v1/contract_create_historical_invoices_params.rb', line 128
optional :pricing_group_values, MetronomeSDK::Internal::Type::HashOf[String]
|
#product_id ⇒ String
118
|
# File 'lib/metronome_sdk/models/v1/contract_create_historical_invoices_params.rb', line 118
required :product_id, String
|
#quantity ⇒ Float?
133
|
# File 'lib/metronome_sdk/models/v1/contract_create_historical_invoices_params.rb', line 133
optional :quantity, Float
|
138
139
|
# File 'lib/metronome_sdk/models/v1/contract_create_historical_invoices_params.rb', line 138
optional :subtotals_with_quantity,
-> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::V1::ContractCreateHistoricalInvoicesParams::Invoice::UsageLineItem::SubtotalsWithQuantity] }
|