typedoc-vitepress-theme-example / shipping / ShippingService
ShippingService
Service for managing shipping records.
Constructors
new ShippingService()
ts
new ShippingService(): ShippingServiceReturns
Properties
shipments
ts
private shipments: ShippingRecord[] = [];Methods
getAllShipments()
ts
getAllShipments(): ShippingRecord[]Get all shipping records.
Returns
An array of all shipping records.
shipOrder()
ts
shipOrder(shipment): ShippingRecordShip an order.
Parameters
• shipment: ShippingRecord
The shipment record.
Returns
The shipped record.