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

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

Inherits IComplexCodetext.

Public Member Functions

None __init__ (self, Optional[MailmarkCodetext] mailmarkCodetext)
 Initializes a new instance of the MailmarkCodetext class. More...
 
int getBarcodeType (self)
 Gets barcode type. More...
 
str getClass_ (self)
 "0" - None 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) More...
 
str getConstructedCodetext (self)
 Construct codetext from Mailmark data. More...
 
str getDestinationPostCodePlusDPS (self)
 The PC and DP must comply with a PAF format. More...
 
int getFormat (self)
 "0" – None or Test "1" – Letter "2" – Large Letter More...
 
int getItemID (self)
 Maximum value is 99999999. More...
 
int getSupplychainID (self)
 Maximum values are 99 for Barcode C and 999999 for Barcode L. More...
 
int getVersionID (self)
 Currently "1" – For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use) More...
 
None init (self)
 
None initFromString (self, str constructedCodetext)
 Initializes Mailmark data from constructed codetext. More...
 
None setClass (self, str value)
 "0" - None 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) More...
 
None setDestinationPostCodePlusDPS (self, str value)
 The PC and DP must comply with a PAF format. More...
 
None setFormat (self, int value)
 "0" – None or Test "1" – LetterN "2" – Large Letter More...
 
None setItemID (self, int value)
 Maximum value is 99999999. More...
 
None setSupplychainID (self, int value)
 Maximum values are 99 for Barcode C and 999999 for Barcode L. More...
 
None setVersionID (self, int value)
 Currently "1" – For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use) More...
 
- Public Member Functions inherited from IComplexCodetext
def __init__ (self, javaClass)
 
- Public Member Functions inherited from BaseJavaClass
def getJavaClass (self)
 
str getJavaClassName (self)
 
bool isNull (self)
 
None printJavaClassName (self)
 
None setJavaClass (self, javaClass)
 

Static Public Attributes

string javaClassName = "com.aspose.mw.barcode.complexbarcode.MwMailmarkCodetext"
 

Additional Inherited Members

- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self,
Optional[MailmarkCodetext mailmarkCodetext 
)

Initializes a new instance of the MailmarkCodetext class.

Parameters
mailmarkCodetext:

Member Function Documentation

◆ getBarcodeType()

int getBarcodeType (   self)

Gets barcode type.

Returns
: Barcode type.

Reimplemented from IComplexCodetext.

◆ getClass_()

str getClass_ (   self)

"0" - None 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()

str getConstructedCodetext (   self)

Construct codetext from Mailmark data.

Returns
: Constructed codetext

Reimplemented from IComplexCodetext.

◆ getDestinationPostCodePlusDPS()

str getDestinationPostCodePlusDPS (   self)

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.

Returns
:

◆ getFormat()

int getFormat (   self)

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

◆ getItemID()

int getItemID (   self)

Maximum value is 99999999.

Returns
:

◆ getSupplychainID()

int getSupplychainID (   self)

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

Returns
:

◆ getVersionID()

int getVersionID (   self)

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

Returns
:

◆ init()

None init (   self)

Reimplemented from BaseJavaClass.

◆ initFromString()

None initFromString (   self,
str  constructedCodetext 
)

Initializes Mailmark data from constructed codetext.

Parameters
constructedCodetext: Constructed codetext
Returns
:

Reimplemented from IComplexCodetext.

◆ setClass()

None setClass (   self,
str  value 
)

"0" - None 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()

None setDestinationPostCodePlusDPS (   self,
str  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.

Parameters
value:
Returns
:

◆ setFormat()

None setFormat (   self,
int  value 
)

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

◆ setItemID()

None setItemID (   self,
int  value 
)

Maximum value is 99999999.

Parameters
value:
Returns
:

◆ setSupplychainID()

None setSupplychainID (   self,
int  value 
)

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

Parameters
value:
Returns
:

◆ setVersionID()

None setVersionID (   self,
int  value 
)

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

Member Data Documentation

◆ javaClassName

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