Customer extends ResourceModel
Table of Contents
- $city : string
- $company : string
- $country : string
- $country_iso2 : string
- $email : string
- $first_name : string
- $id : int
- Typically need either an ID or an email in order to do anything useful with an existing customer
- $last_name : string
- $phone : string
- $state : string
- $street_1 : string
- $street_2 : string
- $zip : string
- __construct() : mixed
- jsonSerialize() : array<string|int, mixed>
Properties
$city
public
string
$city
$company
public
string
$company
$country
public
string
$country
$country_iso2
public
string
$country_iso2
public
string
$email
$first_name
public
string
$first_name
$id
Typically need either an ID or an email in order to do anything useful with an existing customer
public
int
$id
$last_name
public
string
$last_name
$phone
public
string
$phone
$state
public
string
$state
$street_1
public
string
$street_1
$street_2
public
string
$street_2
$zip
public
string
$zip
Methods
__construct()
public
__construct([stdClass|null $optionObject = null ]) : mixed
Parameters
- $optionObject : stdClass|null = null
Return values
mixed —jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>