Customer
extends ResourceModel
in package
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
$addresses
public
array<string|int, CustomerAddress>
$addresses
Tags
$attributes
public
array<string|int, AttributeValue>
$attributes
Tags
$authentication
public
CustomerAuthentication|null
$authentication
Tags
$channel_ids
public
array<string|int, mixed>|null
$channel_ids
Tags
$city
public
string
$city
Tags
$company
public
string
$company
Tags
$country
public
string
$country
Tags
$country_iso2
public
string
$country_iso2
Tags
$customer_group_id
public
int
$customer_group_id
Tags
public
string
$email
Tags
$first_name
public
string
$first_name
Tags
$form_fields
public
array<string|int, CustomerFormFieldValue>
$form_fields
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
$notes
public
string
$notes
Tags
$origin_channel_id
public
int|null
$origin_channel_id
Tags
$phone
public
string
$phone
Tags
$state
public
string
$state
Tags
$store_credit_amounts
public
array<string|int, mixed>|null
$store_credit_amounts
Tags
$street_1
public
string
$street_1
Tags
$street_2
public
string
$street_2
Tags
$tax_exempt_category
public
string
$tax_exempt_category
Tags
$zip
public
string
$zip
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>