Aspose.Barcode for PHP via Java Generation and Recognition API docs

Inherits IComplexCodetext.

Public Member Functions

 getFormat ()
 
 setFormat (int $value)
 
 getVersionID ()
 
 setVersionID (int $value)
 
 getClass_ ()
 
 setClass (string $value)
 
 getSupplychainID ()
 
 setSupplychainID (int $value)
 
 getItemID ()
 
 setItemID (int $value)
 
 getDestinationPostCodePlusDPS ()
 
 setDestinationPostCodePlusDPS (string $value)
 
 __construct (?MailmarkCodetext $mailmarkCodetext)
 
 getConstructedCodetext ()
 
 initFromString ($constructedCodetext)
 
 getBarcodeType ()
 
- Public Member Functions inherited from IComplexCodetext
 __construct ($javaClass)
 
 initFromString (string $constructedCodetext)
 
- Public Member Functions inherited from BaseJavaClass
 getJavaClass ()
 
 getJavaClassName ()
 
 isNull ()
 
 printJavaClassName ()
 

Protected Member Functions

 init ()
 
- Protected Member Functions inherited from BaseJavaClass
 setJavaClass ($javaClass)
 

Static Private Attributes

static $javaClassName = "com.aspose.mw.barcode.complexbarcode.MwMailmarkCodetext"
 

Detailed Description

Class for encoding and decoding the text embedded in the 4-state Royal Mailmark code.

Constructor & Destructor Documentation

◆ __construct()

MailmarkCodetext::__construct ( ?MailmarkCodetext  $mailmarkCodetext)

Initializes a new instance of the

class.

Member Function Documentation

◆ getBarcodeType()

MailmarkCodetext::getBarcodeType ( )

Gets barcode type.

Returns
int Barcode type.

Reimplemented from IComplexCodetext.

◆ getClass_()

MailmarkCodetext::getClass_ ( )

"0" - Null or Test "1" - 1C (Retail) "2" - 2C (Retail) "3" - 3C (Retail) "4" - Premium (RetailPublishing Mail) (for potential future use) "5" - Deferred (Retail) "6" - Air (Retail) (for potential future use) "7" - Surface (Retail) (for potential future use) "8" - Premium (Network Access) "9" - Standard (Network Access)

◆ getConstructedCodetext()

MailmarkCodetext::getConstructedCodetext ( )

Construct codetext from Mailmark data.

Returns
string Constructed codetext

Reimplemented from IComplexCodetext.

◆ getDestinationPostCodePlusDPS()

MailmarkCodetext::getDestinationPostCodePlusDPS ( )

The PC and DP must comply with a PAF format. Nine character string denoting international "XY11 " (note the 5 trailing spaces) or a pattern of characters denoting a domestic sorting code. A domestic sorting code consists of an outward postcode, an inward postcode, and a Delivery Point Suffix.

◆ getFormat()

MailmarkCodetext::getFormat ( )

"0" – Null or Test "1" – Letter "2" – Large Letter

◆ getItemID()

MailmarkCodetext::getItemID ( )

Maximum value is 99999999.

◆ getSupplychainID()

MailmarkCodetext::getSupplychainID ( )

Maximum values are 99 for Barcode C and 999999 for Barcode L.

◆ getVersionID()

MailmarkCodetext::getVersionID ( )

Currently "1" – For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use)

◆ init()

MailmarkCodetext::init ( )
protected

Reimplemented from BaseJavaClass.

◆ initFromString()

MailmarkCodetext::initFromString (   $constructedCodetext)

Initializes Mailmark data from constructed codetext.

Parameters
string$constructedCodetextConstructed codetext.

◆ setClass()

MailmarkCodetext::setClass ( string  $value)

"0" - Null or Test "1" - 1C (Retail) "2" - 2C (Retail) "3" - 3C (Retail) "4" - Premium (RetailPublishing Mail) (for potential future use) "5" - Deferred (Retail) "6" - Air (Retail) (for potential future use) "7" - Surface (Retail) (for potential future use) "8" - Premium (Network Access) "9" - Standard (Network Access)

◆ setDestinationPostCodePlusDPS()

MailmarkCodetext::setDestinationPostCodePlusDPS ( string  $value)

The PC and DP must comply with a PAF format. Nine character string denoting international "XY11 " (note the 5 trailing spaces) or a pattern of characters denoting a domestic sorting code. A domestic sorting code consists of an outward postcode, an inward postcode, and a Delivery Point Suffix.

◆ setFormat()

MailmarkCodetext::setFormat ( int  $value)

"0" – Null or Test "1" – LetterN "2" – Large Letter

◆ setItemID()

MailmarkCodetext::setItemID ( int  $value)

Maximum value is 99999999.

◆ setSupplychainID()

MailmarkCodetext::setSupplychainID ( int  $value)

Maximum values are 99 for Barcode C and 999999 for Barcode L.

◆ setVersionID()

MailmarkCodetext::setVersionID ( int  $value)

Currently "1" – For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use)

Member Data Documentation

◆ $javaClassName

MailmarkCodetext::$javaClassName = "com.aspose.mw.barcode.complexbarcode.MwMailmarkCodetext"
staticprivate