typedoc-vitepress-theme-example / shipping / ShippingService
ShippingService
Service for managing shipping records.
Constructors
new ShippingService()
ts
new ShippingService(): ShippingService
Returns
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): ShippingRecord
Ship an order.
Parameters
• shipment: ShippingRecord
The shipment record.
Returns
The shipped record.