To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
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
| Property | Returns | Description |
|---|---|---|
| id | long | Database id of the underlying ProductSku. |
| name | 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. |
| productId | Long | Id of the catalogue Product that this SKU belongs to. |
| title | String | The 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.