Value Object
Class CustomerNumber
Represents a customer number
| category |
System |
|---|---|
| package |
Customer |
| subpackage |
ValueObjects |
| implements |
CustomerNumberInterface |
__construct(string $p_number)
Validates the length and the data type of the customer number.
| throws |
If $p_number is not a string. If $p_lastname contains more characters than 32. |
|---|---|
stringCustomer's number.
__toString() : string
stringEquivalent string value.
number : string
| var |
|---|
string