Value Object
Class CustomerPostcode
Represents a customer postcode
category |
System |
---|---|
package |
Customer |
subpackage |
ValueObjects |
implements |
CustomerPostcodeInterface |
__construct(string $p_postcode)
Validates the length and the data type of the postcode.
Throws |
|
---|
string
Customer's post code.
__toString() : string
string
Equivalent string value.