Skip to content

typedoc-vitepress-theme-example / shipping / ShippingService

ShippingService

Service for managing shipping records.

Constructors

new ShippingService()

ts
new ShippingService(): ShippingService

Returns

ShippingService

Properties

shipments

ts
private shipments: ShippingRecord[] = [];

Methods

getAllShipments()

ts
getAllShipments(): ShippingRecord[]

Get all shipping records.

Returns

ShippingRecord[]

An array of all shipping records.


shipOrder()

ts
shipOrder(shipment): ShippingRecord

Ship an order.

Parameters

shipment: ShippingRecord

The shipment record.

Returns

ShippingRecord

The shipped record.