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

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

def __init__ (   self,
  mailmarkCodetext 
)

Initializes a new instance of the MailmarkCodetext class.

Parameters
mailmarkCodetext:

Reimplemented from IComplexCodetext.

Member Function Documentation

◆ getBarcodeType()

def getBarcodeType (   self)

Gets barcode type.

Returns
: Barcode type.

Reimplemented from IComplexCodetext.

◆ getClass_()

def 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()

def getConstructedCodetext (   self)

Construct codetext from Mailmark data.

Returns
: Constructed codetext

Reimplemented from IComplexCodetext.

◆ getDestinationPostCodePlusDPS()

def 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()

def getFormat (   self)

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

◆ getItemID()

def getItemID (   self)

Maximum value is 99999999.

Returns
:

◆ getSupplychainID()

def getSupplychainID (   self)

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

Returns
:

◆ getVersionID()

def getVersionID (   self)

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

Returns
:

◆ init()

def init (   self)

Reimplemented from BaseJavaClass.

◆ initFromString()

def initFromString (   self,
  constructedCodetext 
)

Initializes Mailmark data from constructed codetext.

Parameters
constructedCodetext: Constructed codetext
Returns
:

Reimplemented from IComplexCodetext.

◆ setClass()

def setClass (   self,
  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()

def setDestinationPostCodePlusDPS (   self,
  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()

def setFormat (   self,
  value 
)

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

◆ setItemID()

def setItemID (   self,
  value 
)

Maximum value is 99999999.

Parameters
value:
Returns
:

◆ setSupplychainID()

def setSupplychainID (   self,
  value 
)

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

Parameters
value:
Returns
:

◆ setVersionID()

def setVersionID (   self,
  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