Customer
Table of Contents
-
$address1
: string
-
$city
: string
-
$country
: string
-
$customerId
: int
-
$customFields
: array<string|int, mixed>
-
$email
: string
-
$firstName
: string
-
$lastName
: string
-
$phone
: string
-
$state
: string
-
$zip
: string
-
__construct()
: mixed
-
getAddress1()
: string
-
getCity()
: string
-
getCountry()
: string
-
getCustomerId()
: int
-
getCustomField()
: mixed
-
getCustomFields()
: array<string|int, mixed>
-
getEmail()
: string
-
getFirstName()
: string
-
getLastName()
: string
-
getName()
: string
-
getPhone()
: string
-
getState()
: string
-
getZip()
: string
-
hasEmail()
: bool
-
setCustomerId()
: mixed
-
setEmail()
: mixed
$address1
private
string
$address1
$city
private
string
$city
$country
private
string
$country
$customerId
private
int
$customerId
$customFields
private
array<string|int, mixed>
$customFields
-
since
-
3.7.2
$email
private
string
$email
$firstName
private
string
$firstName
$lastName
private
string
$lastName
$phone
private
string
$phone
$state
private
string
$state
$zip
private
string
$zip
__construct()
public
__construct([array<string|int, mixed> $atts = array() ]) : mixed
Parameters
-
$atts
: array<string|int, mixed>
= array()
-
Return values
mixed
—
getAddress1()
public
getAddress1() : string
Return values
string
—
getCity()
public
getCity() : string
Return values
string
—
getCountry()
public
getCountry() : string
Return values
string
—
getCustomerId()
public
getCustomerId() : int
-
since
-
4.2.0
Return values
int
—
getCustomField()
public
getCustomField(string $fieldName) : mixed
Parameters
-
$fieldName
: string
-
-
since
-
3.7.2
Return values
mixed
—
getCustomFields()
public
getCustomFields() : array<string|int, mixed>
-
since
-
3.7.2
Return values
array<string|int, mixed>
—
getEmail()
public
getEmail() : string
Return values
string
—
getFirstName()
public
getFirstName() : string
Return values
string
—
getLastName()
public
getLastName() : string
Return values
string
—
getName()
public
getName() : string
-
since
-
3.7.2
Return values
string
—
getPhone()
public
getPhone() : string
Return values
string
—
getState()
public
getState() : string
Return values
string
—
getZip()
public
getZip() : string
Return values
string
—
hasEmail()
public
hasEmail() : bool
-
since
-
3.7.2
Return values
bool
—
setCustomerId()
public
setCustomerId(int $id) : mixed
Parameters
-
$id
: int
-
-
since
-
4.2.0
Return values
mixed
—
setEmail()
public
setEmail(string $email) : mixed
Parameters
-
$email
: string
-
-
since
-
3.7.2
Return values
mixed
—