Class: Stripe::V2::MoneyManagement::FinancialAccountListParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/money_management/financial_account_list_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(include: nil, limit: nil, statuses: nil, types: nil) ⇒ FinancialAccountListParams

Returns a new instance of FinancialAccountListParams.



17
18
19
20
21
22
# File 'lib/stripe/params/v2/money_management/financial_account_list_params.rb', line 17

def initialize(include: nil, limit: nil, statuses: nil, types: nil)
  @include = include
  @limit = limit
  @statuses = statuses
  @types = types
end

Instance Attribute Details

#includeObject

Additional fields to include in the response.



9
10
11
# File 'lib/stripe/params/v2/money_management/financial_account_list_params.rb', line 9

def include
  @include
end

#limitObject

The page limit.



11
12
13
# File 'lib/stripe/params/v2/money_management/financial_account_list_params.rb', line 11

def limit
  @limit
end

#statusesObject

Filter for FinancialAccount status. By default, closed FinancialAccounts are not returned.



13
14
15
# File 'lib/stripe/params/v2/money_management/financial_account_list_params.rb', line 13

def statuses
  @statuses
end

#typesObject

Filter for FinancialAccount type. By default, FinancialAccounts of any type are returned.



15
16
17
# File 'lib/stripe/params/v2/money_management/financial_account_list_params.rb', line 15

def types
  @types
end