PHP Class Api\StructType\ApiShopper

Inheritance: extends WsdlToPhp\PackageBase\AbstractStructBase
Datei anzeigen Open project: wsdltophp/packagegenerator

Public Properties

Property Type Description
$dateOfBirth string - maxOccurs: 1 - minOccurs: 0 - maxLength: 10 - minLength: 10
$email string - maxOccurs: 1 - minOccurs: 1 - pattern: [_a-zA-Z0-9\-\+\.]+@[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\-]+)*(\.[a-zA-Z]+) - maxLength: 100 - minLength: 1
$gender string - maxOccurs: 1 - minOccurs: 1
$id string The id Meta informations extracted from the WSDL - use: required - maxLength: 35 - minLength: 1
$ipAddress string - maxOccurs: 1 - minOccurs: 0 - maxLength: 35 - minLength: 1
$language Api\StructType\ApiLanguage - maxOccurs: 1 - minOccurs: 1
$mobilePhoneNumber string - maxOccurs: 1 - minOccurs: 0 - maxLength: 50 - minLength: 1
$name Api\StructType\ApiName - maxOccurs: 1 - minOccurs: 1
$phoneNumber string - maxOccurs: 1 - minOccurs: 0 - maxLength: 50 - minLength: 1

Public Methods

Method Description
__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 ) Constructor method for shopper
__set_state ( array $array ) : ApiShopper Method called when an object has been exported with var_export() functions It allows to return an object instantiated with the values
__toString ( ) : string Method returning the class name
getDateOfBirth ( ) : string | null Get dateOfBirth value
getEmail ( ) : string Get email value
getGender ( ) : string Get gender value
getId ( ) : string Get id value
getIpAddress ( ) : string | null Get ipAddress value
getLanguage ( ) : Api\StructType\ApiLanguage Get language value
getMobilePhoneNumber ( ) : string | null Get mobilePhoneNumber value
getName ( ) : Api\StructType\ApiName Get name value
getPhoneNumber ( ) : string | null Get phoneNumber value
setDateOfBirth ( string $dateOfBirth = null ) : ApiShopper Set dateOfBirth value
setEmail ( string $email = null ) : ApiShopper Set email value
setGender ( string $gender = null ) : ApiShopper Set gender value
setId ( string $id = null ) : ApiShopper Set id value
setIpAddress ( string $ipAddress = null ) : ApiShopper Set ipAddress value
setLanguage ( Api\StructType\ApiLanguage $language = null ) : ApiShopper Set language value
setMobilePhoneNumber ( string $mobilePhoneNumber = null ) : ApiShopper Set mobilePhoneNumber value
setName ( Api\StructType\ApiName $name = null ) : ApiShopper Set name value
setPhoneNumber ( string $phoneNumber = null ) : ApiShopper Set phoneNumber value

Method Details

__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

__set_state() public static method

Method called when an object has been exported with var_export() functions It allows to return an object instantiated with the values
See also: AbstractStructBase::__set_state()
public static __set_state ( array $array ) : ApiShopper
$array array the exported values
return ApiShopper

__toString() public method

Method returning the class name
public __toString ( ) : string
return string __CLASS__

getDateOfBirth() public method

Get dateOfBirth value
public getDateOfBirth ( ) : string | null
return string | null

getEmail() public method

Get email value
public getEmail ( ) : string
return string

getGender() public method

Get gender value
public getGender ( ) : string
return string

getId() public method

Get id value
public getId ( ) : string
return string

getIpAddress() public method

Get ipAddress value
public getIpAddress ( ) : string | null
return string | null

getLanguage() public method

Get language value
public getLanguage ( ) : Api\StructType\ApiLanguage
return Api\StructType\ApiLanguage

getMobilePhoneNumber() public method

Get mobilePhoneNumber value
public getMobilePhoneNumber ( ) : string | null
return string | null

getName() public method

Get name value
public getName ( ) : Api\StructType\ApiName
return Api\StructType\ApiName

getPhoneNumber() public method

Get phoneNumber value
public getPhoneNumber ( ) : string | null
return string | null

setDateOfBirth() public method

Set dateOfBirth value
public setDateOfBirth ( string $dateOfBirth = null ) : ApiShopper
$dateOfBirth string
return ApiShopper

setEmail() public method

Set email value
public setEmail ( string $email = null ) : ApiShopper
$email string
return ApiShopper

setGender() public method

Set gender value
public setGender ( string $gender = null ) : ApiShopper
$gender string
return ApiShopper

setId() public method

Set id value
public setId ( string $id = null ) : ApiShopper
$id string
return ApiShopper

setIpAddress() public method

Set ipAddress value
public setIpAddress ( string $ipAddress = null ) : ApiShopper
$ipAddress string
return ApiShopper

setLanguage() public method

Set language value
public setLanguage ( Api\StructType\ApiLanguage $language = null ) : ApiShopper
$language Api\StructType\ApiLanguage
return ApiShopper

setMobilePhoneNumber() public method

Set mobilePhoneNumber value
public setMobilePhoneNumber ( string $mobilePhoneNumber = null ) : ApiShopper
$mobilePhoneNumber string
return ApiShopper

setName() public method

Set name value
public setName ( Api\StructType\ApiName $name = null ) : ApiShopper
$name Api\StructType\ApiName
return ApiShopper

setPhoneNumber() public method

Set phoneNumber value
public setPhoneNumber ( string $phoneNumber = null ) : ApiShopper
$phoneNumber string
return ApiShopper

Property Details

$dateOfBirth public_oe property

- maxOccurs: 1 - minOccurs: 0 - maxLength: 10 - minLength: 10
public string $dateOfBirth
return string

$email public_oe property

- maxOccurs: 1 - minOccurs: 1 - pattern: [_a-zA-Z0-9\-\+\.]+@[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\-]+)*(\.[a-zA-Z]+) - maxLength: 100 - minLength: 1
public string $email
return string

$gender public_oe property

- maxOccurs: 1 - minOccurs: 1
public string $gender
return string

$id public_oe property

The id Meta informations extracted from the WSDL - use: required - maxLength: 35 - minLength: 1
public string $id
return string

$ipAddress public_oe property

- maxOccurs: 1 - minOccurs: 0 - maxLength: 35 - minLength: 1
public string $ipAddress
return string

$language public_oe property

- maxOccurs: 1 - minOccurs: 1
public ApiLanguage,Api\StructType $language
return Api\StructType\ApiLanguage

$mobilePhoneNumber public_oe property

- maxOccurs: 1 - minOccurs: 0 - maxLength: 50 - minLength: 1
public string $mobilePhoneNumber
return string

$name public_oe property

- maxOccurs: 1 - minOccurs: 1
public ApiName,Api\StructType $name
return Api\StructType\ApiName

$phoneNumber public_oe property

- maxOccurs: 1 - minOccurs: 0 - maxLength: 50 - minLength: 1
public string $phoneNumber
return string