Class: ModernTreasury::Models::PaymentActionListParams::CreatedAt

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/modern_treasury/models/payment_action_list_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(actionable_id: nil, actionable_type: nil, after_cursor: nil, created_at: nil, internal_account_id: nil, metadata: nil, per_page: nil, status: nil, type: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see ModernTreasury::Models::PaymentActionListParams for more details.

‘expected_

Parameters:

  • actionable_id (String) (defaults to: nil)

    The ID of the associated actionable object.

  • actionable_type (String) (defaults to: nil)

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

  • after_cursor (String, nil) (defaults to: nil)
  • created_at (ModernTreasury::Models::PaymentActionListParams::CreatedAt) (defaults to: nil)

    Filter by ‘created_at` using comparison operators like `gt` (>), `gte` (>=), `lt

  • internal_account_id (String) (defaults to: nil)

    The ID of one of your internal accounts.

  • metadata (Hash{Symbol=>String}) (defaults to: nil)

    For example, if you want to query for records with metadata key ‘Type` and value

  • per_page (Integer) (defaults to: nil)
  • status (Symbol, ModernTreasury::Models::PaymentActionListParams::Status) (defaults to: nil)

    Filter by payment actions of a specific status.

  • type (Symbol, ModernTreasury::Models::PaymentActionListParams::Type) (defaults to: nil)

    The type of payment action.

  • request_options (ModernTreasury::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# File 'lib/modern_treasury/models/payment_action_list_params.rb', line 92

class CreatedAt < ModernTreasury::Internal::Type::BaseModel
  # @!attribute eq
  #
  #   @return [Time, nil]
  optional :eq, Time

  # @!attribute gt
  #
  #   @return [Time, nil]
  optional :gt, Time

  # @!attribute gte
  #
  #   @return [Time, nil]
  optional :gte, Time

  # @!attribute lt
  #
  #   @return [Time, nil]
  optional :lt, Time

  # @!attribute lte
  #
  #   @return [Time, nil]
  optional :lte, Time

  # @!method initialize(eq: nil, gt: nil, gte: nil, lt: nil, lte: nil)
  #   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[gte]=2024-01-01T00:00:00Z`
  #
  #   @param eq [Time]
  #   @param gt [Time]
  #   @param gte [Time]
  #   @param lt [Time]
  #   @param lte [Time]
end

Instance Attribute Details

#eqTime?

Returns:

  • (Time, nil)


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

optional :eq, Time

#gtTime?

Returns:

  • (Time, nil)


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

optional :gt, Time

#gteTime?

Returns:

  • (Time, nil)


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

optional :gte, Time

#ltTime?

Returns:

  • (Time, nil)


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

optional :lt, Time

#lteTime?

Returns:

  • (Time, nil)


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

optional :lte, Time