Class: MetronomeSDK::Models::V1::Customers::InvoiceListBreakdownsParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::Customers::InvoiceListBreakdownsParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/metronome_sdk/models/v1/customers/invoice_list_breakdowns_params.rb
Overview
Defined Under Namespace
Modules: Sort, WindowSize
Instance Attribute Summary collapse
-
#credit_type_id ⇒ String?
Only return invoices for the specified credit type.
- #customer_id ⇒ String
-
#ending_before ⇒ Time
RFC 3339 timestamp.
-
#limit ⇒ Integer?
Max number of results that should be returned.
-
#next_page ⇒ String?
Cursor that indicates where the next page of results should start.
-
#skip_zero_qty_line_items ⇒ Boolean?
If set, all zero quantity line items will be filtered out of the response.
-
#sort ⇒ Symbol, ...
Invoice sort order by issued_at, e.g.
-
#starting_on ⇒ Time
RFC 3339 timestamp.
-
#status ⇒ String?
Invoice status, e.g.
-
#window_size ⇒ Symbol, ...
The granularity of the breakdowns to return.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(customer_id: , ending_before: , starting_on: , credit_type_id: nil, limit: nil, next_page: nil, skip_zero_qty_line_items: nil, sort: nil, status: nil, window_size: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see InvoiceListBreakdownsParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], 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
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
#initialize(customer_id: , ending_before: , starting_on: , credit_type_id: nil, limit: nil, next_page: nil, skip_zero_qty_line_items: nil, sort: nil, status: nil, window_size: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see MetronomeSDK::Models::V1::Customers::InvoiceListBreakdownsParams for more details.
|
|
# File 'lib/metronome_sdk/models/v1/customers/invoice_list_breakdowns_params.rb', line 77
|
Instance Attribute Details
#credit_type_id ⇒ String?
Only return invoices for the specified credit type
35 |
# File 'lib/metronome_sdk/models/v1/customers/invoice_list_breakdowns_params.rb', line 35 optional :credit_type_id, String |
#customer_id ⇒ String
15 |
# File 'lib/metronome_sdk/models/v1/customers/invoice_list_breakdowns_params.rb', line 15 required :customer_id, String |
#ending_before ⇒ Time
RFC 3339 timestamp. Breakdowns will only be returned for time windows that end on or before this time.
22 |
# File 'lib/metronome_sdk/models/v1/customers/invoice_list_breakdowns_params.rb', line 22 required :ending_before, Time |
#limit ⇒ Integer?
Max number of results that should be returned. For daily breakdowns, the response can return up to 35 days worth of breakdowns. For hourly breakdowns, the response can return up to 24 hours. If there are more results, a cursor to the next page is returned.
44 |
# File 'lib/metronome_sdk/models/v1/customers/invoice_list_breakdowns_params.rb', line 44 optional :limit, Integer |
#next_page ⇒ String?
Cursor that indicates where the next page of results should start.
50 |
# File 'lib/metronome_sdk/models/v1/customers/invoice_list_breakdowns_params.rb', line 50 optional :next_page, String |
#skip_zero_qty_line_items ⇒ Boolean?
If set, all zero quantity line items will be filtered out of the response
56 |
# File 'lib/metronome_sdk/models/v1/customers/invoice_list_breakdowns_params.rb', line 56 optional :skip_zero_qty_line_items, MetronomeSDK::Internal::Type::Boolean |
#sort ⇒ Symbol, ...
Invoice sort order by issued_at, e.g. date_asc or date_desc. Defaults to date_asc.
63 |
# File 'lib/metronome_sdk/models/v1/customers/invoice_list_breakdowns_params.rb', line 63 optional :sort, enum: -> { MetronomeSDK::V1::Customers::InvoiceListBreakdownsParams::Sort } |
#starting_on ⇒ Time
RFC 3339 timestamp. Breakdowns will only be returned for time windows that start on or after this time.
29 |
# File 'lib/metronome_sdk/models/v1/customers/invoice_list_breakdowns_params.rb', line 29 required :starting_on, Time |
#status ⇒ String?
Invoice status, e.g. DRAFT or FINALIZED
69 |
# File 'lib/metronome_sdk/models/v1/customers/invoice_list_breakdowns_params.rb', line 69 optional :status, String |
#window_size ⇒ Symbol, ...
The granularity of the breakdowns to return. Defaults to day.
75 |
# File 'lib/metronome_sdk/models/v1/customers/invoice_list_breakdowns_params.rb', line 75 optional :window_size, enum: -> { MetronomeSDK::V1::Customers::InvoiceListBreakdownsParams::WindowSize } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/metronome_sdk/models/v1/customers/invoice_list_breakdowns_params.rb', line 112
|