Class Customer
This class is used for managing customer data
category |
System |
---|---|
package |
Customer |
implements |
CustomerInterface |
__construct()
addAddonValues(\KeyValueCollection $keyValueCollection) : \GXEngineProduct
Adds a key value collection to a product.
\GXEngineProduct
Same instance for chained method calls.
deleteAddonValue(\StringType $key) : \GXEngineProduct
Deletes an addon value of a product.
Throws |
|
---|
\GXEngineProduct
Same instance for chained method calls.
getAddonValue(\StringType $key) : string
Returns the addon value of a product, depending on the provided key.
Throws |
|
---|
string
The addon value.
getAddonValueContainerId() : integer
integer
getAddonValues() : \KeyValueCollection
Returns a key value collection of the product.
\KeyValueCollection
The key value collection.
getCustomerNumber() : string
string
customerNumber Customer's number.
getDateOfBirth() : \DateTime
\DateTime
date of birth Customer's date of birth.
getDefaultAddress() : \CustomerAddressInterface
getEmail() : \CustomerEmailInterface
getFaxNumber() : \CustomerCallNumberInterface
getFirstname() : \CustomerFirstnameInterface
getGender() : \CustomerGenderInterface
getId() : integer
integer
Customer's ID.
getLastname() : \CustomerLastnameInterface
getPassword() : \CustomerPasswordInterface
getStatusId() : integer
integer
customerStatusId Customer's status ID.
getTelephoneNumber() : \CustomerCallNumberInterface
getVatNumber() : \CustomerVatNumberInterface
getVatNumberStatus() : integer
integer
Customer's VAT number status.
isGuest() : boolean
boolean
Is customer a guest?
makeFallbackPassword() : \NonEmptyStringType
setAddonValue(\StringType $key, \StringType $value) : \GXEngineProduct
Sets the addon value of a product.
\GXEngineProduct
Same instance for chained method calls.
setCustomerNumber(\CustomerNumberInterface $customerNumber)
setDateOfBirth(\DateTime $dateOfBirth)
\DateTime
date of birth Customer's date of birth.
setDefaultAddress(\CustomerAddressInterface $address)
setEmail(\CustomerEmailInterface $email)
setFaxNumber(\CustomerCallNumberInterface $faxNumber)
setFirstname(\CustomerFirstnameInterface $firstname)
setGender(\CustomerGenderInterface $gender)
setGuest(boolean $p_isPGuest)
Throws |
|
---|
boolean
Customer's guest status.
setId(\IdType $id)
Throws |
|
---|
setLastname(\CustomerLastnameInterface $lastname)
setPassword(\CustomerPasswordInterface $password)
setStatusId(integer $p_statusId)
Throws |
|
---|
integer
Customer's status ID.
setTelephoneNumber(\CustomerCallNumberInterface $telephoneNumber)
setVatNumber(\CustomerVatNumberInterface $vatNumber)
setVatNumberStatus(integer $p_vatNumberStatus)
integer
Customer's VAT number status.
FALLBACK_PASSWORD_ENTROPY_SIZE
id : integer
var |
---|
integer
firstname : \CustomerFirstnameInterface
dateOfBirth : \DateTime
var |
---|
\DateTime
vatNumber : \CustomerVatNumberInterface
vatNumberStatus : integer
var |
---|
integer
telephoneNumber : \CustomerCallNumberInterface
faxNumber : \CustomerCallNumberInterface
defaultAddress : \CustomerAddressInterface
customerStatusId : integer
var |
---|
integer
isGuest : boolean
var |
---|
boolean
addonValues : \EditableKeyValueCollection