Module: MethodRuby::Models::Accounts::CardBrandListParams::MethodVersion

Extended by:
Internal::Type::Enum
Defined in:
lib/method_ruby/models/accounts/card_brand_list_params.rb

Constant Summary collapse

METHOD_VERSION_2025_12_01 =
:"2025-12-01"

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/method_ruby/models/accounts/card_brand_list_params.rb', line 61

Instance Method Details

#initialize(account_id:, method_version:, page: nil, page_cursor: nil, page_limit: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see MethodRuby::Models::Accounts::CardBrandListParams for more details.

Parameters:

  • account_id (String)
  • method_version (Symbol, MethodRuby::Models::Accounts::CardBrandListParams::MethodVersion)
  • page (Integer) (defaults to: nil)

    Page number for pagination (1-indexed).

  • page_cursor (String) (defaults to: nil)

    Cursor for cursor-based pagination. Use the value from ‘Pagination-Page-Cursor-N

  • page_limit (Integer) (defaults to: nil)

    Number of items per page.

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


56
57
58
59
60
61
62
63
# File 'lib/method_ruby/models/accounts/card_brand_list_params.rb', line 56

module MethodVersion
  extend MethodRuby::Internal::Type::Enum

  METHOD_VERSION_2025_12_01 = :"2025-12-01"

  # @!method self.values
  #   @return [Array<Symbol>]
end