Class: Peddler::Notifications::B2BAnyOfferChanged::ShippingTime
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::B2BAnyOfferChanged::ShippingTime
- Defined in:
- sig/peddler/notifications/b2b_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::B2BAnyOfferChanged::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.
276 277 278 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 276 def availability_type @availability_type end |
#available_date ⇒ String? (readonly)
Returns the value of attribute available_date.
277 278 279 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 277 def available_date @available_date end |
#maximum_hours ⇒ Integer? (readonly)
Returns the value of attribute maximum_hours.
278 279 280 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 278 def maximum_hours @maximum_hours end |
#minimum_hours ⇒ Integer? (readonly)
Returns the value of attribute minimum_hours.
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
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 ]
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
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
|
.parse ⇒ Peddler::Notifications::B2BAnyOfferChanged::ShippingTime
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 ]
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? }
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? }
|