Class: Stripe::Treasury::FinancialAccountListParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Treasury::FinancialAccountListParams
- Defined in:
- lib/stripe/params/treasury/financial_account_list_params.rb
Defined Under Namespace
Classes: Created
Instance Attribute Summary collapse
-
#created ⇒ Object
Only return FinancialAccounts that were created during the given date interval.
-
#ending_before ⇒ Object
An object ID cursor for use in pagination.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#limit ⇒ Object
A limit ranging from 1 to 100 (defaults to 10).
-
#starting_after ⇒ Object
An object ID cursor for use in pagination.
-
#status ⇒ Object
Only return FinancialAccounts that have the given status: ‘open` or `closed`.
Instance Method Summary collapse
-
#initialize(created: nil, ending_before: nil, expand: nil, limit: nil, starting_after: nil, status: nil) ⇒ FinancialAccountListParams
constructor
A new instance of FinancialAccountListParams.
Methods inherited from RequestParams
Constructor Details
#initialize(created: nil, ending_before: nil, expand: nil, limit: nil, starting_after: nil, status: nil) ⇒ FinancialAccountListParams
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/stripe/params/treasury/financial_account_list_params.rb', line 37 def initialize( created: nil, ending_before: nil, expand: nil, limit: nil, starting_after: nil, status: nil ) @created = created @ending_before = ending_before = @limit = limit @starting_after = starting_after @status = status end |
Instance Attribute Details
#created ⇒ Object
Only return FinancialAccounts that were created during the given date interval.
25 26 27 |
# File 'lib/stripe/params/treasury/financial_account_list_params.rb', line 25 def created @created end |
#ending_before ⇒ Object
An object ID cursor for use in pagination.
27 28 29 |
# File 'lib/stripe/params/treasury/financial_account_list_params.rb', line 27 def ending_before @ending_before end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
29 30 31 |
# File 'lib/stripe/params/treasury/financial_account_list_params.rb', line 29 def end |
#limit ⇒ Object
A limit ranging from 1 to 100 (defaults to 10).
31 32 33 |
# File 'lib/stripe/params/treasury/financial_account_list_params.rb', line 31 def limit @limit end |
#starting_after ⇒ Object
An object ID cursor for use in pagination.
33 34 35 |
# File 'lib/stripe/params/treasury/financial_account_list_params.rb', line 33 def starting_after @starting_after end |
#status ⇒ Object
Only return FinancialAccounts that have the given status: ‘open` or `closed`
35 36 37 |
# File 'lib/stripe/params/treasury/financial_account_list_params.rb', line 35 def status @status end |