new Shipping(shippingId, address)
Constructor for the base shipping class.
Parameters:
| Name | Type | Description |
|---|---|---|
shippingId |
number | The shipping ID. |
address |
string | The delivery address. |
- Source:
Throws:
-
If attempting to instantiate the abstract class directly.
- Type
- Error