Class: ModernTreasury::Models::PaymentActionListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::PaymentActionListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/modern_treasury/models/payment_action_list_params.rb
Overview
Defined Under Namespace
Modules: Status, Type Classes: CreatedAt
Instance Attribute Summary collapse
-
#actionable_id ⇒ String?
The ID of the associated actionable object.
-
#actionable_type ⇒ String?
The type of the associated actionable object.
- #after_cursor ⇒ String?
-
#created_at ⇒ ModernTreasury::Models::PaymentActionListParams::CreatedAt?
Filter by ‘created_at` using comparison operators like `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the created at timestamp.
-
#internal_account_id ⇒ String?
The ID of one of your internal accounts.
-
#metadata ⇒ Hash{Symbol=>String}?
For example, if you want to query for records with metadata key ‘Type` and value `Loan`, the query would be `metadata%5BType%5D=Loan`.
- #per_page ⇒ Integer?
-
#status ⇒ Symbol, ...
Filter by payment actions of a specific status.
-
#type ⇒ Symbol, ...
The type of payment action.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(eq: nil, gt: nil, gte: nil, lt: nil, lte: nil) ⇒ Object
constructor
Filter by ‘created_at` using comparison operators like `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the created at timestamp.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(eq: nil, gt: nil, gte: nil, lt: nil, lte: nil) ⇒ Object
Filter by ‘created_at` using comparison operators like `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the created at timestamp. For example, `created_at=2024-01-01T00:00:00Z`
|
|
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 118
|
Instance Attribute Details
#actionable_id ⇒ String?
The ID of the associated actionable object.
14 |
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 14 optional :actionable_id, String |
#actionable_type ⇒ String?
The type of the associated actionable object. One of ‘payment_order`, `expected_payment`.
21 |
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 21 optional :actionable_type, String |
#after_cursor ⇒ String?
26 |
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 26 optional :after_cursor, String, nil?: true |
#created_at ⇒ ModernTreasury::Models::PaymentActionListParams::CreatedAt?
Filter by ‘created_at` using comparison operators like `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the created at timestamp. For example, `created_at=2024-01-01T00:00:00Z`
34 |
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 34 optional :created_at, -> { ModernTreasury::PaymentActionListParams::CreatedAt } |
#internal_account_id ⇒ String?
The ID of one of your internal accounts.
40 |
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 40 optional :internal_account_id, String |
#metadata ⇒ Hash{Symbol=>String}?
For example, if you want to query for records with metadata key ‘Type` and value `Loan`, the query would be `metadata%5BType%5D=Loan`. This encodes the query parameters.
48 |
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 48 optional :metadata, ModernTreasury::Internal::Type::HashOf[String] |
#per_page ⇒ Integer?
53 |
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 53 optional :per_page, Integer |
#status ⇒ Symbol, ...
Filter by payment actions of a specific status.
59 |
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 59 optional :status, enum: -> { ModernTreasury::PaymentActionListParams::Status } |
#type ⇒ Symbol, ...
The type of payment action.
65 |
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 65 optional :type, enum: -> { ModernTreasury::PaymentActionListParams::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 142
|