Documentation

Customer extends ResourceModel

Table of Contents

$accepts_product_review_abandoned_cart_emails  : bool
$addresses  : array<string|int, mixed>
$attributes  : array<string|int, mixed>
$authentication  : CustomerAuthentication|null
$channel_ids  : array<string|int, mixed>|null
$city  : string
$company  : string
$country  : string
$country_iso2  : string
$customer_group_id  : int
$email  : string
$first_name  : string
$form_fields  : array<string|int, mixed>
$id  : int
Typically need either an ID or an email in order to do anything useful with an existing customer
$last_name  : string
$notes  : string
$origin_channel_id  : int|null
$phone  : string
$state  : string
$store_credit_amounts  : array<string|int, mixed>|null
$street_1  : string
$street_2  : string
$tax_exempt_category  : string
$zip  : string
__construct()  : mixed
jsonSerialize()  : array<string|int, mixed>

Properties

$accepts_product_review_abandoned_cart_emails

public bool $accepts_product_review_abandoned_cart_emails

$addresses

public array<string|int, mixed> $addresses

$attributes

public array<string|int, mixed> $attributes

$channel_ids

public array<string|int, mixed>|null $channel_ids

$country_iso2

public string $country_iso2

$customer_group_id

public int $customer_group_id

$form_fields

public array<string|int, mixed> $form_fields

$id

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

public int $id

$origin_channel_id

public int|null $origin_channel_id

$store_credit_amounts

public array<string|int, mixed>|null $store_credit_amounts

$tax_exempt_category

public string $tax_exempt_category

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