Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Inherits IComplexCodetext.
Static Public Member Functions | |
static | construct ($javaClass) |
Static Private Attributes | |
static | $javaClassName = "com.aspose.mw.barcode.complexbarcode.MwMailmark2DCodetext" |
Additional Inherited Members | |
Protected Member Functions inherited from BaseJavaClass | |
setJavaClass ($javaClass) | |
Class for encoding and decoding the text embedded in the Royal Mail 2D Mailmark code.
Mailmark2DCodetext::__construct | ( | ) |
Create default instance of Mailmark2DCodetext class.
|
static |
Mailmark2DCodetext::getBarcodeType | ( | ) |
Mailmark2DCodetext::getClass_ | ( | ) |
Identifies 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)
Mailmark2DCodetext::getConstructedCodetext | ( | ) |
Construct codetext from Mailmark data.
Reimplemented from IComplexCodetext.
Mailmark2DCodetext::getCustomerContent | ( | ) |
Optional space for use by customer.
Max length by Type: Type 7: 6 characters Type 9: 45 characters Type 29: 25 characters
Mailmark2DCodetext::getCustomerContentEncodeMode | ( | ) |
Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.C40.
Mailmark2DCodetext::getDataMatrixType | ( | ) |
2D Mailmark Type defines size of Data Matrix barcode.
Mailmark2DCodetext::getDestinationPostCodeAndDPS | ( | ) |
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.
Mailmark2DCodetext::getInformationTypeID | ( | ) |
Identifies the Royal Mail Mailmark barcode payload for each product type. Valid Values:
“0” - Domestic Sorted & Unsorted “A” - Online Postage “B” - Franking “C” - Consolidation
Mailmark2DCodetext::getItemID | ( | ) |
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.
Mailmark2DCodetext::getReturnToSenderPostCode | ( | ) |
Contains the Return to Sender Post Code but no DPS. The PC(without DPS) must comply with a PAF® format.
Mailmark2DCodetext::getRTSFlag | ( | ) |
Flag which indicates what level of Return to Sender service is being requested.
Mailmark2DCodetext::getSupplyChainID | ( | ) |
Identifies the unique group of customers involved in the mailing. Max value: 9999999.
Mailmark2DCodetext::getUPUCountryID | ( | ) |
Identifies the UPU Country ID.Max length: 4 characters.
Mailmark2DCodetext::getVersionID | ( | ) |
Identifies 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.
Mailmark2DCodetext::init | ( | ) |
Reimplemented from BaseJavaClass.
Mailmark2DCodetext::initFromString | ( | $constructedCodetext | ) |
Initializes Mailmark data from constructed codetext.
string | $constructedCodetext | Constructed codetext. |
Mailmark2DCodetext::setClass_ | ( | string | $value | ) |
Identifies 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)
string | $value | class of the item |
Mailmark2DCodetext::setCustomerContent | ( | string | $value | ) |
Optional space for use by customer.
Max length by Type: Type 7: 6 characters Type 9: 45 characters Type 29: 25 characters
string | $value | Customer content |
Mailmark2DCodetext::setCustomerContentEncodeMode | ( | int | $value | ) |
Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.C40.
int | $value | Encode mode of Datamatrix barcode. |
Mailmark2DCodetext::setDataMatrixType | ( | int | $value | ) |
2D Mailmark Type defines size of Data Matrix barcode.
int | $value | Size of Data Matrix barcode |
Mailmark2DCodetext::setDestinationPostCodeAndDPS | ( | string | $value | ) |
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.
string | $value | the Postcode of the Delivery Address with DPS |
Mailmark2DCodetext::setInformationTypeID | ( | string | $value | ) |
Identifies the Royal Mail Mailmark barcode payload for each product type. Valid Values:
“0” - Domestic Sorted & Unsorted “A” - Online Postage “B” - Franking “C” - Consolidation
string | $value | Information type ID |
Mailmark2DCodetext::setItemID | ( | int | $value | ) |
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.
int | $value | item within the Supply Chain ID |
Mailmark2DCodetext::setReturnToSenderPostCode | ( | string | $value | ) |
Contains the Return to Sender Post Code but no DPS. The PC(without DPS) must comply with a PAF® format.
string | $value | Return to Sender Post Code but no DPS |
Mailmark2DCodetext::setRTSFlag | ( | string | $value | ) |
Flag which indicates what level of Return to Sender service is being requested.
string | $value | RTS Flag |
Mailmark2DCodetext::setSupplyChainID | ( | int | $value | ) |
Identifies the unique group of customers involved in the mailing. Max value: 9999999.
int | $value | Supply chain ID |
Mailmark2DCodetext::setUPUCountryID | ( | string | $value | ) |
Identifies the UPU Country ID.Max length: 4 characters.
string | $value | Country ID |
Mailmark2DCodetext::setVersionID | ( | string | $value | ) |
Identifies 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.
string | $value | Version ID |
|
staticprivate |