Mailmark2DCodetext

Mailmark2DCodetext class

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

public class Mailmark2DCodetext : IComplexCodetext

Constructors

NameDescription
Mailmark2DCodetextCreate default instance of Mailmark2DCodetext class.

Methods

NameDescription
construct(object)
getBarcodeTypeGets barcode type.
getClass_Identifies the class of the item.
getConstructedCodetextConstruct codetext from Mailmark data.
getCustomerContentOptional space for use by customer.
getCustomerContentEncodeModeEncode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.C40.
getDataMatrixType2D Mailmark Type defines size of Data Matrix barcode.
getDestinationPostCodeAndDPSContains 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.
getInformationTypeIDIdentifies the Royal Mail Mailmark barcode payload for each product type. Valid Values:.
getItemIDIdentifies 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.
getRTSFlagFlag which indicates what level of Return to Sender service is being requested.
getReturnToSenderPostCodeContains the Return to Sender Post Code but no DPS. The PC(without DPS) must comply with a PAF® format.
getSupplyChainIDIdentifies the unique group of customers involved in the mailing. Max value: 9999999.
getUPUCountryIDIdentifies the UPU Country ID.Max length: 4 characters.
getVersionIDIdentifies the barcode version as relevant to each Information Type ID. Valid Values:.
init
initFromString(object)Initializes Mailmark data from constructed codetext.
setClass_(object)Identifies the class of the item.
setCustomerContent(object)Optional space for use by customer.
setCustomerContentEncodeMode(object)Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.C40.
setDataMatrixType(object)2D Mailmark Type defines size of Data Matrix barcode.
setDestinationPostCodeAndDPS(object)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.
setInformationTypeID(object)Identifies the Royal Mail Mailmark barcode payload for each product type. Valid Values:.
setItemID(object)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.
setRTSFlag(object)Flag which indicates what level of Return to Sender service is being requested.
setReturnToSenderPostCode(object)Contains the Return to Sender Post Code but no DPS. The PC(without DPS) must comply with a PAF® format.
setSupplyChainID(object)Identifies the unique group of customers involved in the mailing. Max value: 9999999.
setUPUCountryID(object)Identifies the UPU Country ID.Max length: 4 characters.
setVersionID(object)Identifies the barcode version as relevant to each Information Type ID. Valid Values:.

Fields

NameDescription
javaClassName

See Also