Methods
# generate2DMatrixCode(gtin, serialNumberopt) → {string}
Generates the 2D Data Matrix code for a batch or a serial
.Generates the 2D Data Matrix code for a batch or a serial
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
gtin |
|||
serialNumber |
<optional> |
string
# validate(oldStatusopt)
Validate if everything seems ok with the properties of this object.
Validate if everything seems ok with the properties of this object.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
oldStatus |
string
|
<optional> |
if oldStatus validation is available |
undefined if all ok. An array of errors if not all ok.