PhoneNumber

PhoneNumber: struct

Members

Variables

countryCode
string countryCode;
Undocumented in source.
extension
string extension;
Undocumented in source.
id
UUID id;
Undocumented in source.
phoneNumber
string phoneNumber;
Undocumented in source.

Examples

auto number = PhoneNumber(sha1UUID("test", sha1UUID("namespace")), "44", "07999999999", "369");

assert(is(typeof(number) == PhoneNumber));
assert(is(typeof(number.id) == UUID));
assert(is(typeof(number.countryCode) == string));
assert(is(typeof(number.phoneNumber) == string));
assert(is(typeof(number.extension) == string));
assert(number.id == sha1UUID("test", sha1UUID("namespace")));
assert(number.countryCode == "44");
assert(number.phoneNumber == "07999999999");
assert(number.extension == "369");

Meta