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)


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

def expires_at
  @expires_at
end

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

Returns the value of attribute slots.



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

def slots
  @slots
end

Class Method Details

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



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

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 ])


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

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

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



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

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:



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

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

Instance Method Details

#members[ :expires_at, :slots ]

Returns:

  • ([ :expires_at, :slots ])


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

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

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

Returns:



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

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