Class: Stripe::V2::MoneyManagement::FinancialAccounts::StatementListParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/money_management/financial_accounts/statement_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(limit: nil, order_by: nil, status: nil) ⇒ StatementListParams

Returns a new instance of StatementListParams.



16
17
18
19
20
# File 'lib/stripe/params/v2/money_management/financial_accounts/statement_list_params.rb', line 16

def initialize(limit: nil, order_by: nil, status: nil)
  @limit = limit
  @order_by = order_by
  @status = status
end

Instance Attribute Details

#limitObject

The maximum number of results to return.



10
11
12
# File 'lib/stripe/params/v2/money_management/financial_accounts/statement_list_params.rb', line 10

def limit
  @limit
end

#order_byObject

The field by which to sort results. Defaults to "created".



12
13
14
# File 'lib/stripe/params/v2/money_management/financial_accounts/statement_list_params.rb', line 12

def order_by
  @order_by
end

#statusObject

Filter results by status. If omitted, statements of all statuses are returned.



14
15
16
# File 'lib/stripe/params/v2/money_management/financial_accounts/statement_list_params.rb', line 14

def status
  @status
end