Api\StructType\ApiShopper::__construct PHP Method

__construct() public method

Constructor method for shopper
public __construct ( Api\StructType\ApiName $name = null, string $email = null, Api\StructType\ApiLanguage $language = null, string $gender = null, string $id = null, string $dateOfBirth = null, string $phoneNumber = null, string $mobilePhoneNumber = null, string $ipAddress = null )
$name Api\StructType\ApiName
$email string
$language Api\StructType\ApiLanguage
$gender string
$id string
$dateOfBirth string
$phoneNumber string
$mobilePhoneNumber string
$ipAddress string
    public function __construct(\Api\StructType\ApiName $name = null, $email = null, \Api\StructType\ApiLanguage $language = null, $gender = null, $id = null, $dateOfBirth = null, $phoneNumber = null, $mobilePhoneNumber = null, $ipAddress = null)
    {
        $this->setName($name)->setEmail($email)->setLanguage($language)->setGender($gender)->setId($id)->setDateOfBirth($dateOfBirth)->setPhoneNumber($phoneNumber)->setMobilePhoneNumber($mobilePhoneNumber)->setIpAddress($ipAddress);
    }