Value Object
Class CustomerVatNumber
Represents a tax ID number (VATIN)
| category |
System |
|---|---|
| package |
Customer |
| subpackage |
ValueObjects |
| implements |
CustomerVatNumberInterface |
__construct(string $p_vatNumber)
Validates the length and the data type of the customer VAT number.
| throws |
If $p_vatNumber is not a string. If $p_vatNumber contains more characters than 20. |
|---|---|
stringCustomer's VAT number.
__toString() : string
stringEquivalent string value.
vatNumber : string
| var |
|---|
string