Interface CustomerInterface
Interface CustomerInterface
-
CustomerInterface
implements
AddonValueContainerInterface
Methods summary
public
getId( void )
: integer
Returns the customer's ID.
Returns the customer's ID.
Returns
integer
Customer's ID.
public
getDateOfBirth( void )
: DateTime
Returns the customer's date of birth.
Returns the customer's date of birth.
Returns
DateTime
date of birth Customer's date of birth.
public
setId( IdType $id )
Sets the customer's ID.
Parameters
$id
- customerId Customer ID.
Throws
InvalidArgumentException
On invalid argument.
public
setDateOfBirth( DateTime $dateOfBirth )
Sets the customer's date of birth.
Sets the customer's date of birth.
Parameters
$dateOfBirth
- date of birth Customer's date of birth.
public
setGuest( boolean $p_guest )
Sets the customer's guest status.
Sets the customer's guest status.
Parameters
$p_guest
- Customer's guest status.
public
isGuest( void )
: boolean
Checks if customer is a guest.
Checks if customer is a guest.
Returns
boolean
Is customer a guest?
public
getStatusId( void )
: integer
Returns the customer's status ID.
Returns the customer's status ID.
Returns
integer
customerStatusId Customer's status ID.
public
setStatusId( integer $p_statusId )
Sets the customer's status ID.
Sets the customer's status ID.
Parameters
$p_statusId
- Customer's status ID.
public
getCustomerNumber( void )
: string
Returns the customer's number.
Returns the customer's number.
Returns
string
customerNumber Customer's number.
public
getVatNumberStatus( void )
: integer
Returns the customer's VAT number status.
Returns the customer's VAT number status.
Returns
integer
Customer's VAT number status.
public
setVatNumberStatus( integer $p_vatNumberStatus )
Sets the customer's VAT number status.
Sets the customer's VAT number status.
Parameters
$p_vatNumberStatus
- Customer's VAT number status.
addAddonValues(),
deleteAddonValue(),
getAddonValue(),
getAddonValueContainerId(),
getAddonValues(),
setAddonValue()