Class: Stripe::V2::Signals::AccountSignalListParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Signals::AccountSignalListParams
- Defined in:
- lib/stripe/params/v2/signals/account_signal_list_params.rb
Defined Under Namespace
Classes: AccountDetails
Instance Attribute Summary collapse
-
#account_details ⇒ Object
The account or customer to list signals for.
-
#limit ⇒ Object
Maximum number of results to return per page.
-
#type ⇒ Object
Signal types to filter by.
Instance Method Summary collapse
-
#initialize(account_details: nil, limit: nil, type: nil) ⇒ AccountSignalListParams
constructor
A new instance of AccountSignalListParams.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(account_details: nil, limit: nil, type: nil) ⇒ AccountSignalListParams
Returns a new instance of AccountSignalListParams.
27 28 29 30 31 |
# File 'lib/stripe/params/v2/signals/account_signal_list_params.rb', line 27 def initialize(account_details: nil, limit: nil, type: nil) @account_details = account_details @limit = limit @type = type end |
Instance Attribute Details
#account_details ⇒ Object
The account or customer to list signals for. Exactly one of account_details.account or account_details.customer must be provided.
21 22 23 |
# File 'lib/stripe/params/v2/signals/account_signal_list_params.rb', line 21 def account_details @account_details end |
#limit ⇒ Object
Maximum number of results to return per page. Defaults to 20.
23 24 25 |
# File 'lib/stripe/params/v2/signals/account_signal_list_params.rb', line 23 def limit @limit end |
#type ⇒ Object
Signal types to filter by.
25 26 27 |
# File 'lib/stripe/params/v2/signals/account_signal_list_params.rb', line 25 def type @type end |