![]() |
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 | |
Class for encoding and decoding the text embedded in the 4-state Royal Mailmark code.
| None __init__ | ( | self, | |
| Optional[MailmarkCodetext] | mailmarkCodetext | ||
| ) |
Initializes a new instance of the MailmarkCodetext class.
| mailmarkCodetext: |
| int getBarcodeType | ( | self | ) |
| 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)
| str getConstructedCodetext | ( | self | ) |
Construct codetext from Mailmark data.
Reimplemented from IComplexCodetext.
| 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.
| int getFormat | ( | self | ) |
"0" – None or Test "1" – Letter "2" – Large Letter
| int getItemID | ( | self | ) |
Maximum value is 99999999.
| int getSupplychainID | ( | self | ) |
Maximum values are 99 for Barcode C and 999999 for Barcode L.
| int getVersionID | ( | self | ) |
Currently "1" – For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use)
| None init | ( | self | ) |
Reimplemented from BaseJavaClass.
| None initFromString | ( | self, | |
| str | constructedCodetext | ||
| ) |
Initializes Mailmark data from constructed codetext.
| constructedCodetext: Constructed codetext |
Reimplemented from IComplexCodetext.
| 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)
| 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.
| value: |
| None setFormat | ( | self, | |
| int | value | ||
| ) |
"0" – None or Test "1" – LetterN "2" – Large Letter
| None setItemID | ( | self, | |
| int | value | ||
| ) |
Maximum value is 99999999.
| value: |
| None setSupplychainID | ( | self, | |
| int | value | ||
| ) |
Maximum values are 99 for Barcode C and 999999 for Barcode L.
| value: |
| None setVersionID | ( | self, | |
| int | value | ||
| ) |
Currently "1" – For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use)
|
static |