CustomerInterface
extends
AddonValueContainerInterface
in
Interface CustomerInterface
Tags
Table of Contents
- addAddonValues() : mixed
- Merges the existing addon values with new ones.
- deleteAddonValue() : mixed
- Deletes a specific addon value entry by key.
- getAddonValue() : string
- Returns a specific addon value by providing its key.
- getAddonValueContainerId() : int
- Returns the addon value container ID.
- getAddonValues() : KeyValueCollection
- Returns all the addon values as a KeyValueCollection.
- getCompany() : CustomerCompanyInterface
- getCustomerNumber() : string
- Returns the customer's number.
- getDateOfBirth() : DateTime
- Returns the customer's date of birth.
- getDefaultAddress() : CustomerAddressInterface
- Returns the customer's default address.
- getEmail() : CustomerEmailInterface
- Returns the customer's email.
- getFaxNumber() : CustomerCallNumberInterface
- Returns the customer's fax number.
- getFirstname() : CustomerFirstnameInterface
- Returns the customer's first name.
- getGender() : CustomerGenderInterface
- Returns the customer's gender.
- getId() : int
- Returns the customer's ID.
- getLastname() : CustomerLastnameInterface
- Returns the customer's last name.
- getPassword() : CustomerPasswordInterface
- Returns the customer's password.
- getStatusId() : int
- Returns the customer's status ID.
- getTelephoneNumber() : CustomerCallNumberInterface
- Returns the customer's telephone number.
- getVatNumber() : CustomerVatNumberInterface
- Returns the customer's VAT number.
- getVatNumberStatus() : int
- Returns the customer's VAT number status.
- isGuest() : bool
- Checks if customer is a guest.
- setAddonValue() : mixed
- Sets the value of a specific addon key.
- setCompany() : void
- setCustomerNumber() : mixed
- Sets the customer's number.
- setDateOfBirth() : mixed
- Sets the customer's date of birth.
- setDefaultAddress() : mixed
- Sets the customer's default address.
- setEmail() : mixed
- Sets the customer's email.
- setFaxNumber() : mixed
- Sets the customer's fax number.
- setFirstname() : mixed
- Sets the customer's first name.
- setGender() : mixed
- Sets the customer's gender.
- setGuest() : mixed
- Sets the customer's guest status.
- setId() : mixed
- Sets the customer's ID.
- setLastname() : mixed
- Sets the customer's last name.
- setPassword() : mixed
- Sets the customer's password.
- setStatusId() : mixed
- Sets the customer's status ID.
- setTelephoneNumber() : mixed
- Sets the customer's telephone number.
- setVatNumber() : mixed
- Sets the customer's VAT number.
- setVatNumberStatus() : mixed
- Sets the customer's VAT number status.
Methods
addAddonValues()
Merges the existing addon values with new ones.
public
addAddonValues(KeyValueCollection $addonValues) : mixed
Parameters
- $addonValues : KeyValueCollection
-
Contains the new addon values to be merged with the existing ones.
Return values
mixed —deleteAddonValue()
Deletes a specific addon value entry by key.
public
deleteAddonValue(StringType $key) : mixed
Parameters
- $key : StringType
-
Addon key.
Return values
mixed —getAddonValue()
Returns a specific addon value by providing its key.
public
getAddonValue(StringType $key) : string
Parameters
- $key : StringType
-
Addon key.
Return values
string —getAddonValueContainerId()
Returns the addon value container ID.
public
getAddonValueContainerId() : int
Return values
int —Addon value container ID.
getAddonValues()
Returns all the addon values as a KeyValueCollection.
public
getAddonValues() : KeyValueCollection
Return values
KeyValueCollection —Addons key value collection.
getCompany()
public
getCompany() : CustomerCompanyInterface
Return values
CustomerCompanyInterface —getCustomerNumber()
Returns the customer's number.
public
getCustomerNumber() : string
Return values
string —customerNumber Customer's number.
getDateOfBirth()
Returns the customer's date of birth.
public
getDateOfBirth() : DateTime
Return values
DateTime —date of birth Customer's date of birth.
getDefaultAddress()
Returns the customer's default address.
public
getDefaultAddress() : CustomerAddressInterface
Return values
CustomerAddressInterface —Customer's default address.
getEmail()
Returns the customer's email.
public
getEmail() : CustomerEmailInterface
Return values
CustomerEmailInterface —Customer's email.
getFaxNumber()
Returns the customer's fax number.
public
getFaxNumber() : CustomerCallNumberInterface
Return values
CustomerCallNumberInterface —Customer's fax number.
getFirstname()
Returns the customer's first name.
public
getFirstname() : CustomerFirstnameInterface
Return values
CustomerFirstnameInterface —Customer's first name.
getGender()
Returns the customer's gender.
public
getGender() : CustomerGenderInterface
Return values
CustomerGenderInterface —Customer's gender.
getId()
Returns the customer's ID.
public
getId() : int
Return values
int —Customer's ID.
getLastname()
Returns the customer's last name.
public
getLastname() : CustomerLastnameInterface
Return values
CustomerLastnameInterface —Customer's last name.
getPassword()
Returns the customer's password.
public
getPassword() : CustomerPasswordInterface
Return values
CustomerPasswordInterface —Customer's password.
getStatusId()
Returns the customer's status ID.
public
getStatusId() : int
Return values
int —customerStatusId Customer's status ID.
getTelephoneNumber()
Returns the customer's telephone number.
public
getTelephoneNumber() : CustomerCallNumberInterface
Return values
CustomerCallNumberInterface —Customer's telephone number.
getVatNumber()
Returns the customer's VAT number.
public
getVatNumber() : CustomerVatNumberInterface
Return values
CustomerVatNumberInterface —Customer's VAT number.
getVatNumberStatus()
Returns the customer's VAT number status.
public
getVatNumberStatus() : int
Return values
int —Customer's VAT number status.
isGuest()
Checks if customer is a guest.
public
isGuest() : bool
Return values
bool —Is customer a guest?
setAddonValue()
Sets the value of a specific addon key.
public
setAddonValue(StringType $key, StringType $value) : mixed
Parameters
- $key : StringType
-
The addon key to be processed.
- $value : StringType
-
The new value of the addon entry.
Return values
mixed —setCompany()
public
setCompany(CustomerCompanyInterface $company) : void
Parameters
- $company : CustomerCompanyInterface
Return values
void —setCustomerNumber()
Sets the customer's number.
public
setCustomerNumber(CustomerNumberInterface $customerNumber) : mixed
Parameters
- $customerNumber : CustomerNumberInterface
-
Customer's number.
Return values
mixed —setDateOfBirth()
Sets the customer's date of birth.
public
setDateOfBirth(DateTime $dateOfBirth) : mixed
Parameters
- $dateOfBirth : DateTime
-
date of birth Customer's date of birth.
Return values
mixed —setDefaultAddress()
Sets the customer's default address.
public
setDefaultAddress(CustomerAddressInterface $address) : mixed
Parameters
- $address : CustomerAddressInterface
-
Customer's default address.
Return values
mixed —setEmail()
Sets the customer's email.
public
setEmail(CustomerEmailInterface $email) : mixed
Parameters
- $email : CustomerEmailInterface
-
Customer's email.
Return values
mixed —setFaxNumber()
Sets the customer's fax number.
public
setFaxNumber(CustomerCallNumberInterface $faxNumber) : mixed
Parameters
- $faxNumber : CustomerCallNumberInterface
-
Customer's fax number.
Return values
mixed —setFirstname()
Sets the customer's first name.
public
setFirstname(CustomerFirstnameInterface $firstname) : mixed
Parameters
- $firstname : CustomerFirstnameInterface
-
Customer's first name.
Return values
mixed —setGender()
Sets the customer's gender.
public
setGender(CustomerGenderInterface $gender) : mixed
Parameters
- $gender : CustomerGenderInterface
-
Customer's gender.
Return values
mixed —setGuest()
Sets the customer's guest status.
public
setGuest(bool $p_guest) : mixed
Parameters
- $p_guest : bool
-
Customer's guest status.
Return values
mixed —setId()
Sets the customer's ID.
public
setId(IdType $id) : mixed
Parameters
- $id : IdType
-
customerId Customer ID.
Tags
Return values
mixed —setLastname()
Sets the customer's last name.
public
setLastname(CustomerLastnameInterface $lastname) : mixed
Parameters
- $lastname : CustomerLastnameInterface
-
Customer's last name.
Return values
mixed —setPassword()
Sets the customer's password.
public
setPassword(CustomerPasswordInterface $password) : mixed
Parameters
- $password : CustomerPasswordInterface
-
Customer's password.
Return values
mixed —setStatusId()
Sets the customer's status ID.
public
setStatusId(int $p_statusId) : mixed
Parameters
- $p_statusId : int
-
Customer's status ID.
Return values
mixed —setTelephoneNumber()
Sets the customer's telephone number.
public
setTelephoneNumber(CustomerCallNumberInterface $telephoneNumber) : mixed
Parameters
- $telephoneNumber : CustomerCallNumberInterface
-
Customer's telephone number.
Return values
mixed —setVatNumber()
Sets the customer's VAT number.
public
setVatNumber(CustomerVatNumberInterface $vatNumber) : mixed
Parameters
- $vatNumber : CustomerVatNumberInterface
-
Customer's VAT number.
Return values
mixed —setVatNumberStatus()
Sets the customer's VAT number status.
public
setVatNumberStatus(int $p_vatNumberStatus) : mixed
Parameters
- $p_vatNumberStatus : int
-
Customer's VAT number status.