The constructor of the DeliveryCustomer class.
the customer's database ID
the customer's name
the next number to use when this customer places an order
whether this customer has a basic or enterprise subscription
OptionalpreferredA property defined on the subclass.
ReadonlysubscriptionAnother property defined on the subclass.
ReadonlyidA public readonly property.
A public property that can be reassigned.
Protected OptionalcontactAn optional protected property.
A getter that prepends a number sign to the private _nextOrderNumber
property.
A setter that takes in either a string or a number and sets the private
_nextOrderNumber property.
A class that extends
Customer.