ProductItem

constructor(category: Category?, price: Price?, productInfo: ProductInfo?, quantity: Int)

Parameters

category

The Category of the product, or null if not specified.

price

The Price of the product, or null if not specified.

productInfo

The ProductInfo containing details about the product, or null if not specified.

quantity

The quantity of the product in the transaction.