public class Mailmark2DCodetext extends java.lang.Object implements IComplexCodetext
Constructor and Description |
---|
Mailmark2DCodetext()
Create default instance of Mailmark2DCodetext class.
|
Modifier and Type | Method and Description |
---|---|
BaseEncodeType |
getBarcodeType()
Gets barcode type.
|
java.lang.String |
getclass()
Identifies the class of the item.
|
java.lang.String |
getConstructedCodetext()
Construct codetext from Mailmark data.
|
java.lang.String |
getCustomerContent()
Optional space for use by customer.
|
DataMatrixEncodeMode |
getCustomerContentEncodeMode()
Encode mode of Datamatrix barcode.
|
Mailmark2DType |
getDataMatrixType()
2D Mailmark Type defines size of Data Matrix barcode.
|
java.lang.String |
getDestinationPostCodeAndDPS()
Contains the Postcode of the Delivery Address with DPS
If inland the Postcode/DP contains the following number of characters.
|
java.lang.String |
getInformationTypeID()
Identifies the Royal Mail Mailmark barcode payload for each product type.
|
int |
getItemID()
Identifies the unique item within the Supply Chain ID.
|
java.lang.String |
getReturnToSenderPostCode()
Contains the Return to Sender Post Code but no DPS.
|
java.lang.String |
getRTSFlag()
Flag which indicates what level of Return to Sender service is being requested.
|
int |
getSupplyChainID()
Identifies the unique group of customers involved in the mailing.
|
java.lang.String |
getUPUCountryID()
Identifies the UPU Country ID.Max length: 4 characters.
|
java.lang.String |
getVersionID()
Identifies the barcode version as relevant to each Information Type ID.
|
void |
initFromString(java.lang.String constructedCodetext)
Initializes Mailmark data from constructed codetext.
|
void |
setclass(java.lang.String value)
Identifies the class of the item.
|
void |
setCustomerContent(java.lang.String value)
Optional space for use by customer.
|
void |
setCustomerContentEncodeMode(DataMatrixEncodeMode value)
Encode mode of Datamatrix barcode.
|
void |
setDataMatrixType(Mailmark2DType value)
2D Mailmark Type defines size of Data Matrix barcode.
|
void |
setDestinationPostCodeAndDPS(java.lang.String value)
Contains the Postcode of the Delivery Address with DPS
If inland the Postcode/DP contains the following number of characters.
|
void |
setInformationTypeID(java.lang.String value)
Identifies the Royal Mail Mailmark barcode payload for each product type.
|
void |
setItemID(int value)
Identifies the unique item within the Supply Chain ID.
|
void |
setReturnToSenderPostCode(java.lang.String value)
Contains the Return to Sender Post Code but no DPS.
|
void |
setRTSFlag(java.lang.String value)
Flag which indicates what level of Return to Sender service is being requested.
|
void |
setSupplyChainID(int value)
Identifies the unique group of customers involved in the mailing.
|
void |
setUPUCountryID(java.lang.String value)
Identifies the UPU Country ID.Max length: 4 characters.
|
void |
setVersionID(java.lang.String value)
Identifies the barcode version as relevant to each Information Type ID.
|
public Mailmark2DCodetext()
public java.lang.String getUPUCountryID()
public void setUPUCountryID(java.lang.String value)
value
- Country IDpublic java.lang.String getInformationTypeID()
public void setInformationTypeID(java.lang.String value)
value
- Information type IDpublic java.lang.String getVersionID()
public void setVersionID(java.lang.String value)
value
- Version IDpublic java.lang.String getclass()
public void setclass(java.lang.String value)
value
- class of the itempublic int getSupplyChainID()
public void setSupplyChainID(int value)
value
- Supply chain IDpublic int getItemID()
public void setItemID(int value)
value
- item within the Supply Chain IDpublic java.lang.String getDestinationPostCodeAndDPS()
public void setDestinationPostCodeAndDPS(java.lang.String value)
value
- the Postcode of the Delivery Address with DPSpublic java.lang.String getRTSFlag()
public void setRTSFlag(java.lang.String value)
public java.lang.String getReturnToSenderPostCode()
public void setReturnToSenderPostCode(java.lang.String value)
value
- Return to Sender Post Code but no DPSpublic java.lang.String getCustomerContent()
public void setCustomerContent(java.lang.String value)
value
- Customer contentpublic DataMatrixEncodeMode getCustomerContentEncodeMode()
public void setCustomerContentEncodeMode(DataMatrixEncodeMode value)
value
- Encode mode of Datamatrix barcode.public Mailmark2DType getDataMatrixType()
public void setDataMatrixType(Mailmark2DType value)
value
- Size of Data Matrix barcodepublic java.lang.String getConstructedCodetext()
getConstructedCodetext
in interface IComplexCodetext
public void initFromString(java.lang.String constructedCodetext)
initFromString
in interface IComplexCodetext
constructedCodetext
- Constructed codetext.public BaseEncodeType getBarcodeType()
getBarcodeType
in interface IComplexCodetext