Class: ModernTreasury::Models::PaymentActionListParams

Inherits:
Internal::Type::BaseModel show all
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

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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`

Parameters:

  • eq (Time) (defaults to: nil)
  • gt (Time) (defaults to: nil)
  • gte (Time) (defaults to: nil)
  • lt (Time) (defaults to: nil)
  • lte (Time) (defaults to: nil)


# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 118


Instance Attribute Details

#actionable_idString?

The ID of the associated actionable object.

Returns:

  • (String, nil)


14
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 14

optional :actionable_id, String

#actionable_typeString?

The type of the associated actionable object. One of ‘payment_order`, `expected_payment`.

Returns:

  • (String, nil)


21
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 21

optional :actionable_type, String

#after_cursorString?

Returns:

  • (String, nil)


26
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 26

optional :after_cursor, String, nil?: true

#created_atModernTreasury::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_idString?

The ID of one of your internal accounts.

Returns:

  • (String, nil)


40
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 40

optional :internal_account_id, String

#metadataHash{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.

Returns:

  • (Hash{Symbol=>String}, nil)


48
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 48

optional :metadata, ModernTreasury::Internal::Type::HashOf[String]

#per_pageInteger?

Returns:

  • (Integer, nil)


53
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 53

optional :per_page, Integer

#statusSymbol, ...

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 }

#typeSymbol, ...

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

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 142