Mailmark2DCodetext

Mailmark2DCodetext class

Namespace: Aspose.Barcode.ComplexBarcode

Class for encoding and decoding the text embedded in the Royal Mail 2D Mailmark code.

Constructors

NameDescription
__constructCreate default instance of Mailmark2DCodetext class.

Methods

NameStaticDescription
constructYes
initFromStringNoInitializes Mailmark data from constructed codetext.

Properties

NameRead/WriteDescription
BarcodeTypeRead-onlyGets barcode type.
Class_Read/WriteIdentifies the class of the item. Valid Values: “1” - 1C (Retail) “2” - 2C (Retail) “3” - Economy (Retail) “5” - Deffered (Retail) “8” - Premium (Network Access) “9” - Standard (Network Access)
ConstructedCodetextRead-onlyConstruct codetext from Mailmark data.
CustomerContentRead/WriteOptional space for use by customer. Max length by Type: Type 7: 6 characters Type 9: 45 characters Type 29: 25 characters
CustomerContentEncodeModeRead/WriteEncode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.C40.
DataMatrixTypeRead/Write2D Mailmark Type defines size of Data Matrix barcode.
DestinationPostCodeAndDPSRead/WriteContains the Postcode of the Delivery Address with DPS If inland the Postcode/DP contains the following number of characters. Area (1 or 2 characters) District(1 or 2 characters) Sector(1 character) Unit(2 characters) DPS (2 characters). The Postcode and DPS must comply with a valid PAF® format.
InformationTypeIDRead/WriteIdentifies the Royal Mail Mailmark barcode payload for each product type. Valid Values: “0” - Domestic Sorted & Unsorted “A” - Online Postage “B” - Franking “C” - Consolidation
ItemIDRead/WriteIdentifies the unique item within the Supply Chain ID. Every Mailmark barcode is required to carry an ID so it can be uniquely identified for at least 90 days. Max value: 99999999.
RTSFlagRead/WriteFlag which indicates what level of Return to Sender service is being requested.
ReturnToSenderPostCodeRead/WriteContains the Return to Sender Post Code but no DPS. The PC(without DPS) must comply with a PAF® format.
SupplyChainIDRead/WriteIdentifies the unique group of customers involved in the mailing. Max value: 9999999.
UPUCountryIDRead/WriteIdentifies the UPU Country ID.Max length: 4 characters.
VersionIDRead/WriteIdentifies the barcode version as relevant to each Information Type ID. Valid Values: Currently “1”. “0” & “2” to “9” and “A” to “Z” spare reserved for potential future use.