Class: Yoomoney::Models::PaymentListParams::CreatedAt

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/yoomoney/models/payment_list_params.rb,
sig/yoomoney/models/payment_list_params.rbs

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

Returns a new instance of CreatedAt.

Parameters:

  • gt (Time) (defaults to: nil)
  • gte (Time) (defaults to: nil)
  • lt (Time) (defaults to: nil)
  • lte (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/yoomoney/models/payment_list_params.rb', line 98

Instance Attribute Details

#gt ⇒ Time?

Parameters:

  • (Time)

Returns:

  • (Time, nil)


81
# File 'lib/yoomoney/models/payment_list_params.rb', line 81

optional :gt, Time

#gte ⇒ Time?

Parameters:

  • (Time)

Returns:

  • (Time, nil)


86
# File 'lib/yoomoney/models/payment_list_params.rb', line 86

optional :gte, Time

#lt ⇒ Time?

Parameters:

  • (Time)

Returns:

  • (Time, nil)


91
# File 'lib/yoomoney/models/payment_list_params.rb', line 91

optional :lt, Time

#lte ⇒ Time?

Parameters:

  • (Time)

Returns:

  • (Time, nil)


96
# File 'lib/yoomoney/models/payment_list_params.rb', line 96

optional :lte, Time

Instance Method Details

#to_hash ⇒ { gt: Time, gte: Time, lt: Time, lte: Time }

Returns:

  • ({ gt: Time, gte: Time, lt: Time, lte: Time })


115
# File 'sig/yoomoney/models/payment_list_params.rbs', line 115

def to_hash: -> { gt: Time, gte: Time, lt: Time, lte: Time }