PostCode

Destination Post Code plus DPS field of a 4-state Mailmark barcode

Namespace: Com\Tecnick\Barcode\Type\Linear\Mailmark

File: PostCode.php line 40

Destination Post Code plus DPS field of a 4-state Mailmark barcode

The field is either the fixed international string or one of six patterns of character types. Each pattern has its own block of values, and the blocks follow one another in the order the patterns are listed, starting at one.

Tags

Constants

INTERNATIONAL

File: PostCode.php line 52

public string INTERNATIONAL = 'XY11 '

LENGTH

File: PostCode.php line 45

public mixed LENGTH = 9

Methods

getValue()

File: PostCode.php line 140

public getValue(string $code) : int

Parameters

  • $code : string

Tags

  • throws: Exception if the field matches no pattern

Return values

int