Mailmark2DCodetext
Contents
[
Hide
]Mailmark2DCodetext class
Class for encoding and decoding the text embedded in the Royal Mail 2D Mailmark code.
new Mailmark2DCodetext()
Create default instance of Mailmark2DCodetext class.
Methods
| Name | Description |
|---|---|
| getBarcodeType() | Gets barcode type. |
| getClass_() | Identifies the class of the item. Valid Values: ‘1’ - 1C (Retail) ‘2’ - 2C (Retail) ‘3’ - Economy (Retail) ‘5’ - Deffere |
| getConstructedCodetext() | Construct codetext from Mailmark data. |
| getCustomerContent() | Optional space for use by customer. Max length by Type: Type 7: 6 characters Type 9: 45 characters Type 29: 25 character |
| getCustomerContentEncodeMode() | Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.C40. |
| getDataMatrixType() | 2D Mailmark Type defines size of Data Matrix barcode. |
| getDestinationPostCodeAndDPS() | Contains the Postcode of the Delivery Address with DPS If inland the Postcode/DP contains the following number of charac |
| getInformationTypeID() | Identifies the Royal Mail Mailmark barcode payload for each product type. Valid Values: ‘0’ - Domestic Sorted & Unsorted |
| getItemID() | Identifies the unique item within the Supply Chain ID. Every Mailmark barcode is required to carry an ID so it can be un |
| getReturnToSenderPostCode() | Contains the Return to Sender Post Code but no DPS. The PC(without DPS) must comply with a PAF® format. |
| getRTSFlag() | Flag which indicates what level of Return to Sender service is being requested. |
| getSupplyChainID() | Identifies the unique group of customers involved in the mailing. Max value: 9999999. |
| getUPUCountryID() | Identifies the UPU Country ID.Max length: 4 characters. |
| getVersionID() | Identifies the barcode version as relevant to each Information Type ID. Valid Values: Currently ‘1’. ‘0’ & ‘2’ to ‘9’ an |
| initFromString(constructedCodetext) | Initializes Mailmark data from constructed codetext. |
| setClass_(value) | Identifies the class of the item. Valid Values: ‘1’ - 1C (Retail) ‘2’ - 2C (Retail) ‘3’ - Economy (Retail) ‘5’ - Deffere |
| setCustomerContent(value) | Optional space for use by customer. Max length by Type: Type 7: 6 characters Type 9: 45 characters Type 29: 25 character |
| setCustomerContentEncodeMode(value) | Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.C40. |
| setDataMatrixType(value) | 2D Mailmark Type defines size of Data Matrix barcode. |
| setDestinationPostCodeAndDPS(value) | Contains the Postcode of the Delivery Address with DPS If inland the Postcode/DP contains the following number of charac |
| setInformationTypeID(value) | Identifies the Royal Mail Mailmark barcode payload for each product type. Valid Values: ‘0’ - Domestic Sorted & Unsorted |
| setItemID(value) | Identifies the unique item within the Supply Chain ID. Every Mailmark barcode is required to carry an ID so it can be un |
| setReturnToSenderPostCode(value) | Contains the Return to Sender Post Code but no DPS. The PC(without DPS) must comply with a PAF® format. |
| setRTSFlag() | Flag which indicates what level of Return to Sender service is being requested. |
| setSupplyChainID(value) | Identifies the unique group of customers involved in the mailing. Max value: 9999999. |
| setUPUCountryID(value) | Identifies the UPU Country ID.Max length: 4 characters. |
| setVersionID(value) | Identifies the barcode version as relevant to each Information Type ID. Valid Values: Currently ‘1’. ‘0’ & ‘2’ to ‘9’ an |