Class: Peddler::Notifications::B2BAnyOfferChanged::ShippingTime

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/b2b_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, nil)


276
277
278
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 276

def availability_type
  @availability_type
end

#available_dateString? (readonly)

Returns the value of attribute available_date.

Returns:

  • (String, nil)


277
278
279
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 277

def available_date
  @available_date
end

#maximum_hoursInteger? (readonly)

Returns the value of attribute maximum_hours.

Returns:

  • (Integer, nil)


278
279
280
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 278

def maximum_hours
  @maximum_hours
end

#minimum_hoursInteger? (readonly)

Returns the value of attribute minimum_hours.

Returns:

  • (Integer, nil)


279
280
281
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 279

def minimum_hours
  @minimum_hours
end

Class Method Details

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

Overloads:



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

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

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

Returns:

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


272
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 272

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

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

Overloads:



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

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

.parsePeddler::Notifications::B2BAnyOfferChanged::ShippingTime

Parameters:

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

Returns:



274
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 274

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

Instance Method Details

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

Returns:

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


281
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 281

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? })


282
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 282

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