CustomerInterface

Extends \AddonValueContainerInterface

Interface CustomerInterface

category

System

package

Customer

subpackage

Interfaces

Methods

Merges the existing addon values with new ones.

addAddonValues(\KeyValueCollection $addonValues) 
inherited

Arguments

$addonValues

\KeyValueCollection

Contains the new addon values to be merged with the existing ones.

Deletes a specific addon value entry by key.

deleteAddonValue(\StringType $key) 
inherited

Arguments

$key

\StringType

Addon key.

Returns a specific addon value by providing its key.

getAddonValue(\StringType $key) : string
inherited

Arguments

$key

\StringType

Addon key.

Response

string

Returns the addon value container ID.

getAddonValueContainerId() : integer
inherited

Response

integer

Addon value container ID.

Returns all the addon values as a KeyValueCollection.

getAddonValues() : \KeyValueCollection
inherited

Response

\KeyValueCollection

Addons key value collection.

Returns the customer's number.

getCustomerNumber() : string

Response

string

customerNumber Customer's number.

Returns the customer's date of birth.

getDateOfBirth() : \DateTime

Response

\DateTime

date of birth Customer's date of birth.

Returns the customer's default address.

getDefaultAddress() : \CustomerAddressInterface

Response

\CustomerAddressInterface

Customer's default address.

Returns the customer's email.

getEmail() : \CustomerEmailInterface

Response

\CustomerEmailInterface

Customer's email.

Returns the customer's fax number.

getFaxNumber() : \CustomerCallNumberInterface

Response

\CustomerCallNumberInterface

Customer's fax number.

Returns the customer's first name.

getFirstname() : \CustomerFirstnameInterface

Response

\CustomerFirstnameInterface

Customer's first name.

Returns the customer's gender.

getGender() : \CustomerGenderInterface

Response

\CustomerGenderInterface

Customer's gender.

Returns the customer's ID.

getId() : integer

Response

integer

Customer's ID.

Returns the customer's last name.

getLastname() : \CustomerLastnameInterface

Response

\CustomerLastnameInterface

Customer's last name.

Returns the customer's password.

getPassword() : \CustomerPasswordInterface

Response

\CustomerPasswordInterface

Customer's password.

Returns the customer's status ID.

getStatusId() : integer

Response

integer

customerStatusId Customer's status ID.

Returns the customer's telephone number.

getTelephoneNumber() : \CustomerCallNumberInterface

Response

\CustomerCallNumberInterface

Customer's telephone number.

Returns the customer's VAT number.

getVatNumber() : \CustomerVatNumberInterface

Response

\CustomerVatNumberInterface

Customer's VAT number.

Returns the customer's VAT number status.

getVatNumberStatus() : integer

Response

integer

Customer's VAT number status.

Checks if customer is a guest.

isGuest() : boolean

Response

boolean

Is customer a guest?

Sets the value of a specific addon key.

setAddonValue(\StringType $key, \StringType $value) 
inherited

Arguments

$key

\StringType

The addon key to be processed.

$value

\StringType

The new value of the addon entry.

Sets the customer's number.

setCustomerNumber(\CustomerNumberInterface $customerNumber) 

Arguments

$customerNumber

\CustomerNumberInterface

Customer's number.

Sets the customer's date of birth.

setDateOfBirth(\DateTime $dateOfBirth) 

Arguments

$dateOfBirth

\DateTime

date of birth Customer's date of birth.

Sets the customer's default address.

setDefaultAddress(\CustomerAddressInterface $address) 

Arguments

$address

\CustomerAddressInterface

Customer's default address.

Sets the customer's email.

setEmail(\CustomerEmailInterface $email) 

Arguments

$email

\CustomerEmailInterface

Customer's email.

Sets the customer's fax number.

setFaxNumber(\CustomerCallNumberInterface $faxNumber) 

Arguments

$faxNumber

\CustomerCallNumberInterface

Customer's fax number.

Sets the customer's first name.

setFirstname(\CustomerFirstnameInterface $firstname) 

Arguments

$firstname

\CustomerFirstnameInterface

Customer's first name.

Sets the customer's gender.

setGender(\CustomerGenderInterface $gender) 

Arguments

$gender

\CustomerGenderInterface

Customer's gender.

Sets the customer's guest status.

setGuest(boolean $p_guest) 

Arguments

$p_guest

boolean

Customer's guest status.

Sets the customer's ID.

setId(\IdType $id) 
Throws
\InvalidArgumentException

On invalid argument.

Arguments

$id

\IdType

customerId Customer ID.

Sets the customer's last name.

setLastname(\CustomerLastnameInterface $lastname) 

Arguments

$lastname

\CustomerLastnameInterface

Customer's last name.

Sets the customer's password.

setPassword(\CustomerPasswordInterface $password) 

Arguments

$password

\CustomerPasswordInterface

Customer's password.

Sets the customer's status ID.

setStatusId(integer $p_statusId) 

Arguments

$p_statusId

integer

Customer's status ID.

Sets the customer's telephone number.

setTelephoneNumber(\CustomerCallNumberInterface $telephoneNumber) 

Arguments

$telephoneNumber

\CustomerCallNumberInterface

Customer's telephone number.

Sets the customer's VAT number.

setVatNumber(\CustomerVatNumberInterface $vatNumber) 

Arguments

$vatNumber

\CustomerVatNumberInterface

Customer's VAT number.

Sets the customer's VAT number status.

setVatNumberStatus(integer $p_vatNumberStatus) 

Arguments

$p_vatNumberStatus

integer

Customer's VAT number status.