MailmarkCodetext

MailmarkCodetext class

Class for encoding and decoding the text embedded in the 4-state Royal Mailmark code.

new MailmarkCodetext()

Initializes a new instance of the MailmarkCodetext class.

Methods

NameDescription
getBarcodeType()Gets barcode type.
getClass_()“0” - Null or Test “1” - 1C (Retail) “2” - 2C (Retail) “3” - 3C (Retail) “4” - Premium (RetailPublishing Mail) (for pote
getConstructedCodetext()Construct codetext from Mailmark data.
getDestinationPostCodePlusDPS()The PC and DP must comply with a PAF format. Nine character string denoting international “XY11 " (note the 5 trailing s
getFormat()“0” – Null or Test “1” – Letter “2” – Large Letter
getItemID()Maximum value is 99999999.
getSupplychainID()Maximum values are 99 for Barcode C and 999999 for Barcode L.
getVersionID()Currently “1” – For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use)
initFromString(constructedCodetext)Initializes Mailmark data from constructed codetext.
setClass_()“0” - Null or Test “1” - 1C (Retail) “2” - 2C (Retail) “3” - 3C (Retail) “4” - Premium (RetailPublishing Mail) (for pote
setDestinationPostCodePlusDPS()The PC and DP must comply with a PAF format. Nine character string denoting international “XY11 " (note the 5 trailing s
setFormat()“0” – Null or Test “1” – LetterN “2” – Large Letter
setItemID()Maximum value is 99999999.
setSupplychainID()Maximum values are 99 for Barcode C and 999999 for Barcode L.
setVersionID()Currently “1” – For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use)