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 |
If $p_postcode is not a string. If $p_postcode contains more characters than 10. |
|---|---|
stringCustomer's post code.
__toString() : string
stringEquivalent string value.
postcode : string
| var |
|---|
string