Customer
extends Base
in package
Class Customer.
Table of Contents
- $attribute : array<string|int, CustomerAttribute>
- $defaultBillingAddress : array<string|int, CustomerDefaultBillingAddress>
- $email : string
- $firstname : string
- $id : int
- $lastname : string
- $number : string
- $salutation : string
- getArrayCopy() : array<string|int, mixed>
- Gets the attributes of this entity.
- getAttributes() : array<string|int, CustomerAttribute>
- getDefaultBillingAddress() : array<string|int, CustomerDefaultBillingAddress>
- getFirstName() : string
- getId() : int
- getLastName() : string
- getNumber() : string
- getSalutation() : string
- setAttributes() : Customer
- setDefaultBillingAddress() : Customer
- setEntityAttributes() : $this
- Sets the attributes of this entity.
- setFirstName() : Customer
- setId() : Customer
- setLastName() : Customer
- setNumber() : Customer
- setSalutation() : Customer
Properties
$attribute
protected
array<string|int, CustomerAttribute>
$attribute
$defaultBillingAddress
protected
array<string|int, CustomerDefaultBillingAddress>
$defaultBillingAddress
protected
string
$email
$firstname
protected
string
$firstname
$id
protected
int
$id
$lastname
protected
string
$lastname
$number
protected
string
$number
$salutation
protected
string
$salutation
Methods
getArrayCopy()
Gets the attributes of this entity.
public
getArrayCopy() : array<string|int, mixed>
Return values
array<string|int, mixed> —getAttributes()
public
getAttributes() : array<string|int, CustomerAttribute>
Return values
array<string|int, CustomerAttribute> —getDefaultBillingAddress()
public
getDefaultBillingAddress() : array<string|int, CustomerDefaultBillingAddress>
Return values
array<string|int, CustomerDefaultBillingAddress> —getFirstName()
public
getFirstName() : string
Return values
string —getId()
public
getId() : int
Return values
int —getLastName()
public
getLastName() : string
Return values
string —getNumber()
public
getNumber() : string
Return values
string —getSalutation()
public
getSalutation() : string
Return values
string —setAttributes()
public
setAttributes(array<string|int, CustomerAttribute> $attribute) : Customer
Parameters
- $attribute : array<string|int, CustomerAttribute>
Return values
Customer —setDefaultBillingAddress()
public
setDefaultBillingAddress(array<string|int, CustomerDefaultBillingAddress> $defaultBillingAddress) : Customer
Parameters
- $defaultBillingAddress : array<string|int, CustomerDefaultBillingAddress>
Return values
Customer —setEntityAttributes()
Sets the attributes of this entity.
public
setEntityAttributes(array<string|int, mixed> $attributes) : $this
Parameters
- $attributes : array<string|int, mixed>
Return values
$this —setFirstName()
public
setFirstName(string $firstname) : Customer
Parameters
- $firstname : string
Return values
Customer —setId()
public
setId(int $id) : Customer
Parameters
- $id : int
Return values
Customer —setLastName()
public
setLastName(string $lastname) : Customer
Parameters
- $lastname : string
Return values
Customer —setNumber()
public
setNumber(string $number) : Customer
Parameters
- $number : string
Return values
Customer —setSalutation()
public
setSalutation(string $salutation) : Customer
Parameters
- $salutation : string