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
$authentication
public
CustomerAuthentication|null
$authentication
$channel_ids
public
array<string|int, mixed>|null
$channel_ids
$city
public
string
$city
$company
public
string
$company
$country
public
string
$country
$country_iso2
public
string
$country_iso2
$customer_group_id
public
int
$customer_group_id
public
string
$email
$first_name
public
string
$first_name
$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
$last_name
public
string
$last_name
$notes
public
string
$notes
$origin_channel_id
public
int|null
$origin_channel_id
$phone
public
string
$phone
$state
public
string
$state
$store_credit_amounts
public
array<string|int, mixed>|null
$store_credit_amounts
$street_1
public
string
$street_1
$street_2
public
string
$street_2
$tax_exempt_category
public
string
$tax_exempt_category
$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>