Class: MetronomeSDK::Models::V1::PlanListCustomersParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::PlanListCustomersParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/metronome_sdk/models/v1/plan_list_customers_params.rb
Overview
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#limit ⇒ Integer?
Max number of results that should be returned.
-
#next_page ⇒ String?
Cursor that indicates where the next page of results should start.
- #plan_id ⇒ String
-
#status ⇒ Symbol, ...
Status of customers on a given plan.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(plan_id: , limit: nil, next_page: nil, status: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see PlanListCustomersParams 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(plan_id: , limit: nil, next_page: nil, status: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see MetronomeSDK::Models::V1::PlanListCustomersParams for more details.
|
|
# File 'lib/metronome_sdk/models/v1/plan_list_customers_params.rb', line 42
|
Instance Attribute Details
#limit ⇒ Integer?
Max number of results that should be returned
20 |
# File 'lib/metronome_sdk/models/v1/plan_list_customers_params.rb', line 20 optional :limit, Integer |
#next_page ⇒ String?
Cursor that indicates where the next page of results should start.
26 |
# File 'lib/metronome_sdk/models/v1/plan_list_customers_params.rb', line 26 optional :next_page, String |
#plan_id ⇒ String
14 |
# File 'lib/metronome_sdk/models/v1/plan_list_customers_params.rb', line 14 required :plan_id, String |
#status ⇒ Symbol, ...
Status of customers on a given plan. Defaults to ‘active`.
-
‘all` - Return current, past, and upcoming customers of the plan.
-
‘active` - Return current customers of the plan.
-
‘ended` - Return past customers of the plan.
-
‘upcoming` - Return upcoming customers of the plan.
Multiple statuses can be OR’d together using commas, e.g. ‘active,ended`. Note: `ended,upcoming` combination is not yet supported.
40 |
# File 'lib/metronome_sdk/models/v1/plan_list_customers_params.rb', line 40 optional :status, enum: -> { MetronomeSDK::V1::PlanListCustomersParams::Status } |