Class: Stripe::V2::Core::AccountListParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/v2/core/account_list_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(applied_configurations: nil, closed: nil, limit: nil) ⇒ AccountListParams

Returns a new instance of AccountListParams.



15
16
17
18
19
# File 'lib/stripe/params/v2/core/account_list_params.rb', line 15

def initialize(applied_configurations: nil, closed: nil, limit: nil)
  @applied_configurations = applied_configurations
  @closed = closed
  @limit = limit
end

Instance Attribute Details

#applied_configurationsObject

Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.



9
10
11
# File 'lib/stripe/params/v2/core/account_list_params.rb', line 9

def applied_configurations
  @applied_configurations
end

#closedObject

Filter by whether the account is closed. If omitted, returns only Accounts that are not closed.



11
12
13
# File 'lib/stripe/params/v2/core/account_list_params.rb', line 11

def closed
  @closed
end

#limitObject

The upper limit on the number of accounts returned by the List Account request.



13
14
15
# File 'lib/stripe/params/v2/core/account_list_params.rb', line 13

def limit
  @limit
end