Class: Dodopayments::Models::SubscriptionRetrieveUsageHistoryParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::SubscriptionRetrieveUsageHistoryParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/dodopayments/models/subscription_retrieve_usage_history_params.rb
Overview
Instance Attribute Summary collapse
-
#end_date ⇒ Time?
Filter by end date (inclusive).
-
#meter_id ⇒ String?
Filter by specific meter ID.
-
#page_number ⇒ Integer?
Page number (default: 0).
-
#page_size ⇒ Integer?
Page size (default: 10, max: 100).
-
#start_date ⇒ Time?
Filter by start date (inclusive).
- #subscription_id ⇒ String
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
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(subscription_id:, end_date: nil, meter_id: nil, page_number: nil, page_size: nil, start_date: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/dodopayments/models/subscription_retrieve_usage_history_params.rb', line 45
|
Instance Attribute Details
#end_date ⇒ Time?
Filter by end date (inclusive)
19 |
# File 'lib/dodopayments/models/subscription_retrieve_usage_history_params.rb', line 19 optional :end_date, Time, nil?: true |
#meter_id ⇒ String?
Filter by specific meter ID
25 |
# File 'lib/dodopayments/models/subscription_retrieve_usage_history_params.rb', line 25 optional :meter_id, String, nil?: true |
#page_number ⇒ Integer?
Page number (default: 0)
31 |
# File 'lib/dodopayments/models/subscription_retrieve_usage_history_params.rb', line 31 optional :page_number, Integer, nil?: true |
#page_size ⇒ Integer?
Page size (default: 10, max: 100)
37 |
# File 'lib/dodopayments/models/subscription_retrieve_usage_history_params.rb', line 37 optional :page_size, Integer, nil?: true |
#start_date ⇒ Time?
Filter by start date (inclusive)
43 |
# File 'lib/dodopayments/models/subscription_retrieve_usage_history_params.rb', line 43 optional :start_date, Time, nil?: true |
#subscription_id ⇒ String
13 |
# File 'lib/dodopayments/models/subscription_retrieve_usage_history_params.rb', line 13 required :subscription_id, String |