Aspose.Barcode for Python via Java Generation and Recognition API docs
asposebarcode.ComplexBarcode.MailmarkCodetext Class Reference

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

Inherits asposebarcode.ComplexBarcode.IComplexCodetext.

Public Member Functions

def getFormat (self)
 "0" – Null or Test "1" – Letter "2" – Large Letter More...
 
def setFormat (self, value)
 "0" – Null 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" - 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) :return: More...
 
def setClass (self, 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) 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 asposebarcode.Assist.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 asposebarcode.Assist.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 asposebarcode.ComplexBarcode.MailmarkCodetext.__init__ (   self,
  mailmarkCodetext 
)

Initializes a new instance of the.

MailmarkCodetext

class. :param mailmarkCodetext:

Reimplemented from asposebarcode.ComplexBarcode.IComplexCodetext.

Member Function Documentation

◆ getBarcodeType()

def asposebarcode.ComplexBarcode.MailmarkCodetext.getBarcodeType (   self)
Gets barcode type.
:return: Barcode type.

Reimplemented from asposebarcode.ComplexBarcode.IComplexCodetext.

◆ getClass_()

def asposebarcode.ComplexBarcode.MailmarkCodetext.getClass_ (   self)

"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) :return:

◆ getConstructedCodetext()

def asposebarcode.ComplexBarcode.MailmarkCodetext.getConstructedCodetext (   self)
Construct codetext from Mailmark data.

:return: Constructed codetext

Reimplemented from asposebarcode.ComplexBarcode.IComplexCodetext.

◆ getDestinationPostCodePlusDPS()

def asposebarcode.ComplexBarcode.MailmarkCodetext.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 asposebarcode.ComplexBarcode.MailmarkCodetext.getFormat (   self)

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

◆ getItemID()

def asposebarcode.ComplexBarcode.MailmarkCodetext.getItemID (   self)

Maximum value is 99999999.

:return:

◆ getSupplychainID()

def asposebarcode.ComplexBarcode.MailmarkCodetext.getSupplychainID (   self)

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

:return:

◆ getVersionID()

def asposebarcode.ComplexBarcode.MailmarkCodetext.getVersionID (   self)

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

◆ init()

def asposebarcode.ComplexBarcode.MailmarkCodetext.init (   self)

◆ initFromString()

def asposebarcode.ComplexBarcode.MailmarkCodetext.initFromString (   self,
  constructedCodetext 
)

Initializes Mailmark data from constructed codetext.

:param constructedCodetext: Constructed codetext :return:

Reimplemented from asposebarcode.ComplexBarcode.IComplexCodetext.

◆ setClass()

def asposebarcode.ComplexBarcode.MailmarkCodetext.setClass (   self,
  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()

def asposebarcode.ComplexBarcode.MailmarkCodetext.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 asposebarcode.ComplexBarcode.MailmarkCodetext.setFormat (   self,
  value 
)

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

◆ setItemID()

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

◆ setSupplychainID()

def asposebarcode.ComplexBarcode.MailmarkCodetext.setSupplychainID (   self,
  value 
)

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

:param value: :return:

◆ setVersionID()

def asposebarcode.ComplexBarcode.MailmarkCodetext.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 asposebarcode.ComplexBarcode.MailmarkCodetext.javaClassName = "com.aspose.mw.barcode.complexbarcode.MwMailmarkCodetext"
static