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 getFormat (self)
 "0" – None or Test "1" – Letter "2" – Large Letter More...
 
def setFormat (self, value)
 "0" – None or Test "1" – LetterN "2" – Large Letter More...
 
def getVersionID (self)
 Currently "1" – For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use) :return: More...
 
def setVersionID (self, value)
 Currently "1" – For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use) 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) :return: 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 getSupplychainID (self)
 Maximum values are 99 for Barcode C and 999999 for Barcode L. More...
 
def setSupplychainID (self, value)
 Maximum values are 99 for Barcode C and 999999 for Barcode L. More...
 
def getItemID (self)
 Maximum value is 99999999. More...
 
def setItemID (self, value)
 
def getDestinationPostCodePlusDPS (self)
 
def setDestinationPostCodePlusDPS (self, value)
 
def __init__ (self, mailmarkCodetext)
 Initializes a new instance of the. More...
 
def init (self)
 
def getConstructedCodetext (self)
 
def initFromString (self, constructedCodetext)
 Initializes Mailmark data from constructed codetext. More...
 
def getBarcodeType (self)
 
- Public Member Functions inherited from BaseJavaClass
def getJavaClass (self)
 
def setJavaClass (self, javaClass)
 
def getJavaClassName (self)
 
def isNull (self)
 
def printJavaClassName (self)
 

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. :param mailmarkCodetext:

Reimplemented from IComplexCodetext.

Member Function Documentation

◆ getBarcodeType()

def getBarcodeType (   self)
Gets barcode type.
:return: 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) :return:

◆ getConstructedCodetext()

def getConstructedCodetext (   self)
Construct codetext from Mailmark data.

:return: 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.

:return:

◆ getFormat()

def getFormat (   self)

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

◆ getItemID()

def getItemID (   self)

Maximum value is 99999999.

:return:

◆ getSupplychainID()

def getSupplychainID (   self)

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

:return:

◆ getVersionID()

def getVersionID (   self)

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

◆ init()

def init (   self)

Reimplemented from BaseJavaClass.

◆ initFromString()

def initFromString (   self,
  constructedCodetext 
)

Initializes Mailmark data from constructed codetext.

:param constructedCodetext: Constructed codetext :return:

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.

:param value:
:return:

◆ setFormat()

def setFormat (   self,
  value 
)

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

◆ setItemID()

def setItemID (   self,
  value 
)
Maximum value is 99999999.
:param value:
:return:

◆ setSupplychainID()

def setSupplychainID (   self,
  value 
)

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

:param value: :return:

◆ 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