Read-only summary of a ProductSku, exposing just its id, name, title and owning product id for display in sales data records and reports. Produced from a ProductSku entity by the toBean method and consumed by RecordBean, which attaches one to a sales record whose product SKU code matches.


Properties

PropertyReturnsDescription
idlongDatabase id of the underlying ProductSku.
nameStringThe SKU's portable, path-safe identifier, used as the lookup key when matching a sales record's product SKU code to a catalogue product.
productIdLongId of the catalogue Product that this SKU belongs to.
titleStringThe SKU's free-text display label.

Methods

getId()

Returns: long

Database id of the underlying ProductSku.

getName()

Returns: String

The SKU's portable, path-safe identifier, used as the lookup key when matching a sales record's product SKU code to a catalogue product.

getTitle()

Returns: String

The SKU's free-text display label.

getProductId()

Returns: Long

Id of the catalogue Product that this SKU belongs to.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.