Documentation

Customer extends ResourceModel

Tags

Table of Contents

$accepts_product_review_abandoned_cart_emails  : bool
$addresses  : array<string|int, CustomerAddress>
$attributes  : array<string|int, AttributeValue>
$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, CustomerFormFieldValue>
$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
Tags

$channel_ids

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

$country_iso2

public string $country_iso2
Tags

$customer_group_id

public int $customer_group_id
Tags

$first_name

public string $first_name
Tags

$id

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

public int $id
Tags

$last_name

public string $last_name
Tags

$origin_channel_id

public int|null $origin_channel_id
Tags

$store_credit_amounts

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

$tax_exempt_category

public string $tax_exempt_category
Tags

Methods

__construct()

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

jsonSerialize()

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

        

Search results