trait UserAddressTrait

Trait UserAddressTrait

Properties

private string $address Address for the user
private string $address2 Second line address for the user
private string $postal Postal code for the user
private string $town Town for the user
private string $country Country for the user
private string $phone Phone for the user
private string $fax Fax for the user

Methods

setAddress(string|null $address)

Set address

string|null
getAddress()

Get address

setAddress2(string|null $address2)

Set address2

string|null
getAddress2()

Get address2

setPostal(string|null $postal)

Set postal

string|null
getPostal()

Get postal

setTown(string|null $town)

Set town

string|null
getTown()

Get town

setCountry(string|null $country)

Set country

string|null
getCountry()

Get country

setPhone(string|null $phone)

Set phone

string|null
getPhone()

Get phone

setFax(string|null $fax)

Set fax

string|null
getFax()

Get fax

Details

at line 88
UserLight setAddress(string|null $address)

Set address

Parameters

string|null $address Address

Return Value

UserLight

at line 98
string|null getAddress()

Get address

Return Value

string|null

at line 108
UserLight setAddress2(string|null $address2)

Set address2

Parameters

string|null $address2 Address 2

Return Value

UserLight

at line 118
string|null getAddress2()

Get address2

Return Value

string|null

at line 128
UserLight setPostal(string|null $postal)

Set postal

Parameters

string|null $postal Postal code

Return Value

UserLight

at line 138
string|null getPostal()

Get postal

Return Value

string|null

at line 148
UserLight setTown(string|null $town)

Set town

Parameters

string|null $town Town

Return Value

UserLight

at line 158
string|null getTown()

Get town

Return Value

string|null

at line 168
UserLight setCountry(string|null $country)

Set country

Parameters

string|null $country Country

Return Value

UserLight

at line 178
string|null getCountry()

Get country

Return Value

string|null

at line 188
UserLight setPhone(string|null $phone)

Set phone

Parameters

string|null $phone Phone

Return Value

UserLight

at line 198
string|null getPhone()

Get phone

Return Value

string|null

at line 208
UserLight setFax(string|null $fax)

Set fax

Parameters

string|null $fax Fax

Return Value

UserLight

at line 218
string|null getFax()

Get fax

Return Value

string|null