Class: Yoomoney::Models::DealListParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/yoomoney/models/deal_list_params.rb

Overview

Defined Under Namespace

Modules: Status Classes: CreatedAt, ExpiresAt

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

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(gt: nil, gte: nil, lt: nil, lte: nil) ⇒ Object

Parameters:

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


# File 'lib/yoomoney/models/deal_list_params.rb', line 70

Instance Attribute Details

#created_atYoomoney::Models::DealListParams::CreatedAt?



13
# File 'lib/yoomoney/models/deal_list_params.rb', line 13

optional :created_at, -> { Yoomoney::DealListParams::CreatedAt }

#cursorString?

Returns:

  • (String, nil)


18
# File 'lib/yoomoney/models/deal_list_params.rb', line 18

optional :cursor, String

#expires_atYoomoney::Models::DealListParams::ExpiresAt?



23
# File 'lib/yoomoney/models/deal_list_params.rb', line 23

optional :expires_at, -> { Yoomoney::DealListParams::ExpiresAt }

#full_text_searchString?

Returns:

  • (String, nil)


28
# File 'lib/yoomoney/models/deal_list_params.rb', line 28

optional :full_text_search, String

#limitInteger?

Returns:

  • (Integer, nil)


33
# File 'lib/yoomoney/models/deal_list_params.rb', line 33

optional :limit, Integer

#statusSymbol, ...



38
# File 'lib/yoomoney/models/deal_list_params.rb', line 38

optional :status, enum: -> { Yoomoney::DealListParams::Status }