Checks the length of a barcode
Parameters: | string – The barcode to check for proper length |
---|---|
Return type: | bool |
Checks for allowed characters within the barcode
Parameters: | string – The barcode to check for allowed characters |
---|---|
Return type: | bool |
Validates the checksum
Parameters: | string – The barcode to check the checksum for |
---|---|
Return type: | bool |
Returns the allowed characters
Return type: | integer|string|array |
---|
Sets the checksum validation method
Parameters: | callable – Checksum method to call |
---|---|
Return type: | AbstractAdapter |
Sets the checksum validation, if no value is given, the actual setting is returned
Parameters: | bool – |
---|---|
Return type: | AbstractAdapter|bool |
Sets the length of this barcode
Parameters: | int|array – |
---|---|
Return type: | AbstractAdapter |
Sets the allowed characters of this barcode
Parameters: | integer – |
---|---|
Return type: | AbstractAdapter |
Validates the checksum (Modulo 10) GTIN implementation factor 3
Parameters: | string – The barcode to validate |
---|---|
Return type: | bool |
Validates the checksum (Modulo 10) IDENTCODE implementation factors 9 and 4
Parameters: | string – The barcode to validate |
---|---|
Return type: | bool |
Validates the checksum (Modulo 10) CODE25 implementation factor 3
Parameters: | string – The barcode to validate |
---|---|
Return type: | bool |
Validates the checksum () POSTNET implementation
Parameters: | string – The barcode to validate |
---|---|
Return type: | bool |