Class: ModernTreasury::Models::LedgerAccountListParams::AvailableBalanceAmount

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/modern_treasury/models/ledger_account_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(id: nil, after_cursor: nil, available_balance_amount: nil, balances: nil, created_at: nil, currency: nil, external_id: nil, ledger_account_category_id: nil, ledger_id: nil, metadata: nil, name: nil, normal_balance: nil, pending_balance_amount: nil, per_page: nil, posted_balance_amount: nil, updated_at: nil, request_options: {}) ⇒ Object

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

Parameters:

  • id (Array<String>) (defaults to: nil)

    If you have specific IDs to retrieve in bulk, you can pass them as query paramet

  • after_cursor (String, nil) (defaults to: nil)
  • available_balance_amount (ModernTreasury::Models::LedgerAccountListParams::AvailableBalanceAmount) (defaults to: nil)

    Use ‘gt` (>), `gte` (>=), `lt` (<), `lte` (<=), `eq` (=), or `not_eq` (!=) to fi

  • balances (ModernTreasury::Models::LedgerAccountListParams::Balances) (defaults to: nil)

    Use ‘balances` and `balances

  • created_at (Hash{Symbol=>Time}) (defaults to: nil)

    Use ‘gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the cre

  • currency (String) (defaults to: nil)
  • external_id (String) (defaults to: nil)
  • ledger_account_category_id (String) (defaults to: nil)
  • ledger_id (String) (defaults to: nil)
  • metadata (Hash{Symbol=>String}) (defaults to: nil)

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

  • name (Array<String>) (defaults to: nil)

    If you have specific names to retrieve in bulk, you can pass them as query param

  • normal_balance (Symbol, ModernTreasury::Models::TransactionDirection) (defaults to: nil)
  • pending_balance_amount (ModernTreasury::Models::LedgerAccountListParams::PendingBalanceAmount) (defaults to: nil)

    Use ‘gt` (>), `gte` (>=), `lt` (<), `lte` (<=), `eq` (=), or `not_eq` (!=) to fi

  • per_page (Integer) (defaults to: nil)
  • posted_balance_amount (ModernTreasury::Models::LedgerAccountListParams::PostedBalanceAmount) (defaults to: nil)

    Use ‘gt` (>), `gte` (>=), `lt` (<), `lte` (<=), `eq` (=), or `not_eq` (!=) to fi

  • updated_at (Hash{Symbol=>Time}) (defaults to: nil)

    Use ‘gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the upd

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


152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/modern_treasury/models/ledger_account_list_params.rb', line 152

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

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

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

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

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

  # @!attribute not_eq
  #
  #   @return [Integer, nil]
  optional :not_eq, Integer

  # @!method initialize(eq: nil, gt: nil, gte: nil, lt: nil, lte: nil, not_eq: nil)
  #   Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), `eq` (=), or `not_eq` (!=) to
  #   filter by balance amount.
  #
  #   @param eq [Integer]
  #   @param gt [Integer]
  #   @param gte [Integer]
  #   @param lt [Integer]
  #   @param lte [Integer]
  #   @param not_eq [Integer]
end

Instance Attribute Details

#eqInteger?

Returns:

  • (Integer, nil)


156
# File 'lib/modern_treasury/models/ledger_account_list_params.rb', line 156

optional :eq, Integer

#gtInteger?

Returns:

  • (Integer, nil)


161
# File 'lib/modern_treasury/models/ledger_account_list_params.rb', line 161

optional :gt, Integer

#gteInteger?

Returns:

  • (Integer, nil)


166
# File 'lib/modern_treasury/models/ledger_account_list_params.rb', line 166

optional :gte, Integer

#ltInteger?

Returns:

  • (Integer, nil)


171
# File 'lib/modern_treasury/models/ledger_account_list_params.rb', line 171

optional :lt, Integer

#lteInteger?

Returns:

  • (Integer, nil)


176
# File 'lib/modern_treasury/models/ledger_account_list_params.rb', line 176

optional :lte, Integer

#not_eqInteger?

Returns:

  • (Integer, nil)


181
# File 'lib/modern_treasury/models/ledger_account_list_params.rb', line 181

optional :not_eq, Integer