Documentation

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

$country_iso2

public string $country_iso2

$id

Typically need either an ID or an email in order to do anything useful with an existing customer

public int $id

Methods

__construct()

public __construct([stdClass|null $optionObject = null ]) : mixed
Parameters
$optionObject : stdClass|null = null
Return values
mixed

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results