Class: Peddler::Notifications::AnyOfferChanged::ShippingTime
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::AnyOfferChanged::ShippingTime
- Defined in:
- sig/peddler/notifications/any_offer_changed.rbs
Instance Attribute Summary collapse
-
#availability_type ⇒ String
readonly
Returns the value of attribute availability_type.
-
#available_date ⇒ String
readonly
Returns the value of attribute available_date.
-
#maximum_hours ⇒ Integer
readonly
Returns the value of attribute maximum_hours.
-
#minimum_hours ⇒ Integer
readonly
Returns the value of attribute minimum_hours.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :availability_type, :available_date, :maximum_hours, :minimum_hours ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Notifications::AnyOfferChanged::ShippingTime
Instance Method Summary collapse
-
#members ⇒ [ :availability_type, :available_date, :maximum_hours, :minimum_hours ]
-
#to_h ⇒ { availability_type: String, available_date: String, maximum_hours: Integer, minimum_hours: Integer }
Instance Attribute Details
#availability_type ⇒ String (readonly)
Returns the value of attribute availability_type.
272 273 274 |
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 272 def availability_type @availability_type end |
#available_date ⇒ String (readonly)
Returns the value of attribute available_date.
273 274 275 |
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 273 def available_date @available_date end |
#maximum_hours ⇒ Integer (readonly)
Returns the value of attribute maximum_hours.
274 275 276 |
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 274 def maximum_hours @maximum_hours end |
#minimum_hours ⇒ Integer (readonly)
Returns the value of attribute minimum_hours.
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
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 ]
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
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
|
.parse ⇒ Peddler::Notifications::AnyOfferChanged::ShippingTime
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 ]
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 }
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 }
|