Class Mailmark2DCodetext

Mailmark2DCodetext class

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

public sealed class Mailmark2DCodetext : IComplexCodetext

Constructors

NameDescription
Mailmark2DCodetext()The default constructor.

Properties

NameDescription
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.
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.
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.
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; set; }Identifies the barcode version as relevant to each Information Type ID.

Methods

NameDescription
GetBarcodeType()Gets barcode type.
GetConstructedCodetext()Construct codetext from Mailmark data.
InitFromString(string)Initializes Mailmark data from constructed codetext.

See Also