Skip to content

shipping.Class.ShippingService

Tom Grey edited this page Jan 13, 2024 · 8 revisions

Service for managing shipping records.

Constructors

new ShippingService()

new ShippingService(): ShippingService

Returns

ShippingService

Properties

shipments

private shipments: ShippingRecord[] = []

Source

shipping.ts:23

Methods

getAllShipments()

getAllShipments(): ShippingRecord[]

Get all shipping records.

Returns

ShippingRecord[]

An array of all shipping records.

Source

shipping.ts:39


shipOrder()

shipOrder(shipment): ShippingRecord

Ship an order.

Parameters

shipment: ShippingRecord

The shipment record.

Returns

ShippingRecord

The shipped record.

Source

shipping.ts:30


Generated using typedoc-plugin-markdown and TypeDoc

Clone this wiki locally