Class: OrderItem#

A line item of an order for a particular service or product.

author Jean-Philippe Steinmetz info@acceleratxr.com

Hierarchy#

  • OrderItem

Index#

Constructors#

Properties#

Accessors#

Constructors#

constructor#

+ new OrderItem(other?: any): OrderItem

Defined in src/models/OrderItem.ts:47

Parameters:#

Name

Type

other?

any

Returns: OrderItem

Properties#

currency#

currency: Currency = Currency.USD

Defined in src/models/OrderItem.ts:22

The form of currency pertaining to the price.


description#

description: string = “”

Defined in src/models/OrderItem.ts:27

The detailed description of the desired product or service.


listPrice#

listPrice: number = 0

Defined in src/models/OrderItem.ts:32

The original listed price of the product.


price#

price: number = 0

Defined in src/models/OrderItem.ts:37

The adjusted price after discounts have been applied.


productUid#

productUid: string = “”

Defined in src/models/OrderItem.ts:17

The unique identifier of the desired product or service.


quantity#

quantity: number = 0

Defined in src/models/OrderItem.ts:42

The quantity of the product that was rendered.


renewal#

renewal: boolean = false

Defined in src/models/OrderItem.ts:47

Indicates if this item represents a renewal of an existing product or service.

Accessors#

ClassName#

Staticget ClassName(): string

Defined in src/models/OrderItem.ts:12

Returns: string