Documentation

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

$salutation

protected string $salutation

Methods

getArrayCopy()

Gets the attributes of this entity.

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

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

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

setLastName()

public setLastName(string $lastname) : Customer
Parameters
$lastname : string
Return values
Customer

setSalutation()

public setSalutation(string $salutation) : Customer
Parameters
$salutation : string
Return values
Customer

Search results