Class: Peddler::APIs::EasyShip20220323::ListHandoverSlotsResponse

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#amazon_order_idString (readonly)

Returns the value of attribute amazon_order_id.

Returns:

  • (String)


179
180
181
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 179

def amazon_order_id
  @amazon_order_id
end

#time_slotsArray[Peddler::APIs::EasyShip20220323::TimeSlot] (readonly)

Returns the value of attribute time_slots.



180
181
182
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 180

def time_slots
  @time_slots
end

Class Method Details

.[](amazon_order_id:, time_slots:) ⇒ Peddler::APIs::EasyShip20220323::ListHandoverSlotsResponse .[](arg0, arg1) ⇒ Peddler::APIs::EasyShip20220323::ListHandoverSlotsResponse



172
173
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 172

def self.[]: (amazon_order_id: String, time_slots: Array[Peddler::APIs::EasyShip20220323::TimeSlot]) -> Peddler::APIs::EasyShip20220323::ListHandoverSlotsResponse
| (String, Array[Peddler::APIs::EasyShip20220323::TimeSlot]) -> Peddler::APIs::EasyShip20220323::ListHandoverSlotsResponse

.members[ :amazon_order_id, :time_slots ]

Returns:

  • ([ :amazon_order_id, :time_slots ])


175
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 175

def self.members: () -> [ :amazon_order_id, :time_slots ]

.new(amazon_order_id:, time_slots:) ⇒ Peddler::APIs::EasyShip20220323::ListHandoverSlotsResponse .new(arg0, arg1) ⇒ Peddler::APIs::EasyShip20220323::ListHandoverSlotsResponse



170
171
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 170

def self.new: (amazon_order_id: String, time_slots: Array[Peddler::APIs::EasyShip20220323::TimeSlot]) -> Peddler::APIs::EasyShip20220323::ListHandoverSlotsResponse
| (String, Array[Peddler::APIs::EasyShip20220323::TimeSlot]) -> Peddler::APIs::EasyShip20220323::ListHandoverSlotsResponse

.parsePeddler::APIs::EasyShip20220323::ListHandoverSlotsResponse

Parameters:

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

Returns:



177
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 177

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

Instance Method Details

#members[ :amazon_order_id, :time_slots ]

Returns:

  • ([ :amazon_order_id, :time_slots ])


182
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 182

def members: () -> [ :amazon_order_id, :time_slots ]

#to_h{ amazon_order_id: String, time_slots: Array[Peddler::APIs::EasyShip20220323::TimeSlot] }

Returns:



183
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 183

def to_h: () -> { amazon_order_id: String, time_slots: Array[Peddler::APIs::EasyShip20220323::TimeSlot] }