Mailmark2D

Mailmark2D class

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

public class Mailmark2D : ICloneable

Constructors

Name Description
Mailmark2D() Creates Royal Mail Mailmark combined data with default primary and secondary data values.

Properties

Name Description
Class { get; set; } Identifies the class of the item.
CustomerContent { get; set; } Optional space for use by customer.
CustomerContentEncodeMode { get; set; } Encode mode of DataMatrix barcode. Default value: DataMatrixEncodeMode.C40. DataMatrixEncodeMode
DataMatrixType { get; set; } 2D Mailmark Type defines size of Data Matrix barcode.
DestinationPostCodeAndDPS { get; set; } Contains 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. Max length is 9.
InformationTypeID { get; set; } Identifies the Royal Mail Mailmark barcode payload for each product type.
ItemID { get; set; } Identifies 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.
ReturnToSenderPostCode { get; set; } Contains the Return to Sender Post Code but no DPS. The PC(without DPS) must comply with a PAF® format.
RTSFlag { get; set; } Flag which indicates what level of Return to Sender service is being requested. Max length is 1
SupplyChainID { get; set; } Identifies the unique group of customers involved in the mailing. Max value: 9999999.
UPUCountryID { get; set; } Identifies the UPU Country ID.Max length: 4 characters.
VersionID { get; } Identifies the barcode version as relevant to each Information Type ID.

Methods

Name Description
Clone() Gets a copy of this object.

See Also