Class: Peddler::Notifications::AnyOfferChanged::ShippingTime

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/any_offer_changed.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#availability_typeString (readonly)

Returns the value of attribute availability_type.

Returns:

  • (String)


272
273
274
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 272

def availability_type
  @availability_type
end

#available_dateString (readonly)

Returns the value of attribute available_date.

Returns:

  • (String)


273
274
275
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 273

def available_date
  @available_date
end

#maximum_hoursInteger (readonly)

Returns the value of attribute maximum_hours.

Returns:

  • (Integer)


274
275
276
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 274

def maximum_hours
  @maximum_hours
end

#minimum_hoursInteger (readonly)

Returns the value of attribute minimum_hours.

Returns:

  • (Integer)


275
276
277
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 275

def minimum_hours
  @minimum_hours
end

Class Method Details

.[](availability_type:, available_date:, maximum_hours:, minimum_hours:) ⇒ Peddler::Notifications::AnyOfferChanged::ShippingTime .[](arg0, arg1, arg2, arg3) ⇒ Peddler::Notifications::AnyOfferChanged::ShippingTime

Overloads:



265
266
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 265

def self.[]: (availability_type: String, available_date: String, maximum_hours: Integer, minimum_hours: Integer) -> Peddler::Notifications::AnyOfferChanged::ShippingTime
| (String, String, Integer, Integer) -> Peddler::Notifications::AnyOfferChanged::ShippingTime

.members[ :availability_type, :available_date, :maximum_hours, :minimum_hours ]

Returns:

  • ([ :availability_type, :available_date, :maximum_hours, :minimum_hours ])


268
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 268

def self.members: () -> [ :availability_type, :available_date, :maximum_hours, :minimum_hours ]

.new(availability_type:, available_date:, maximum_hours:, minimum_hours:) ⇒ Peddler::Notifications::AnyOfferChanged::ShippingTime .new(arg0, arg1, arg2, arg3) ⇒ Peddler::Notifications::AnyOfferChanged::ShippingTime

Overloads:



263
264
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 263

def self.new: (availability_type: String, available_date: String, maximum_hours: Integer, minimum_hours: Integer) -> Peddler::Notifications::AnyOfferChanged::ShippingTime
| (String, String, Integer, Integer) -> Peddler::Notifications::AnyOfferChanged::ShippingTime

.parsePeddler::Notifications::AnyOfferChanged::ShippingTime

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



270
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 270

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::AnyOfferChanged::ShippingTime

Instance Method Details

#members[ :availability_type, :available_date, :maximum_hours, :minimum_hours ]

Returns:

  • ([ :availability_type, :available_date, :maximum_hours, :minimum_hours ])


277
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 277

def members: () -> [ :availability_type, :available_date, :maximum_hours, :minimum_hours ]

#to_h{ availability_type: String, available_date: String, maximum_hours: Integer, minimum_hours: Integer }

Returns:

  • ({ availability_type: String, available_date: String, maximum_hours: Integer, minimum_hours: Integer })


278
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 278

def to_h: () -> { availability_type: String, available_date: String, maximum_hours: Integer, minimum_hours: Integer }