Class: Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#expires_atTime? (readonly)

Returns the value of attribute expires_at.

Returns:

  • (Time, nil)


1646
1647
1648
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1646

def expires_at
  @expires_at
end

#slotsArray[Peddler::APIs::FulfillmentInbound20240320::AppointmentSlot]? (readonly)

Returns the value of attribute slots.



1647
1648
1649
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1647

def slots
  @slots
end

Class Method Details

.[](expires_at:, slots:) ⇒ Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability .[](arg0, arg1) ⇒ Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability



1639
1640
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1639

def self.[]: (?expires_at: Time?, ?slots: Array[Peddler::APIs::FulfillmentInbound20240320::AppointmentSlot]?) -> Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability
| (Time?, Array[Peddler::APIs::FulfillmentInbound20240320::AppointmentSlot]?) -> Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability

.members[ :expires_at, :slots ]

Returns:

  • ([ :expires_at, :slots ])


1642
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1642

def self.members: () -> [ :expires_at, :slots ]

.new(expires_at:, slots:) ⇒ Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability .new(arg0, arg1) ⇒ Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability



1637
1638
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1637

def self.new: (?expires_at: Time?, ?slots: Array[Peddler::APIs::FulfillmentInbound20240320::AppointmentSlot]?) -> Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability
| (Time?, Array[Peddler::APIs::FulfillmentInbound20240320::AppointmentSlot]?) -> Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability

.parsePeddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability

Parameters:

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

Returns:



1644
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1644

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability

Instance Method Details

#members[ :expires_at, :slots ]

Returns:

  • ([ :expires_at, :slots ])


1649
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1649

def members: () -> [ :expires_at, :slots ]

#to_h{ expires_at: Time?, slots: Array[Peddler::APIs::FulfillmentInbound20240320::AppointmentSlot]? }

Returns:



1650
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1650

def to_h: () -> { expires_at: Time?, slots: Array[Peddler::APIs::FulfillmentInbound20240320::AppointmentSlot]? }