PHP Class Api\StructType\ApiAddressDelivery_Type

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

Public Properties

Property Type Description
$City string The City Meta informations extracted from the WSDL - documentation: The delivery city
$PostalCode string The PostalCode Meta informations extracted from the WSDL - documentation: Postal code for the city - length: 4
$Street1 string The Street1 Meta informations extracted from the WSDL - documentation: First line on delivery address
$Street2 string The Street2 Meta informations extracted from the WSDL - documentation: Second line on delivery address
$Street3 string The Street3 Meta informations extracted from the WSDL - documentation: Third line on delivery address

Public Methods

Method Description
__construct ( string $street1 = null, string $street2 = null, string $street3 = null, string $city = null, string $postalCode = null ) Constructor method for AddressDelivery_Type
__set_state ( array $array ) : ApiAddressDelivery_Type 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
getCity ( ) : string | null Get City value
getPostalCode ( ) : string | null Get PostalCode value
getStreet1 ( ) : string | null Get Street1 value
getStreet2 ( ) : string | null Get Street2 value
getStreet3 ( ) : string | null Get Street3 value
setCity ( string $city = null ) : ApiAddressDelivery_Type Set City value
setPostalCode ( string $postalCode = null ) : ApiAddressDelivery_Type Set PostalCode value
setStreet1 ( string $street1 = null ) : ApiAddressDelivery_Type Set Street1 value
setStreet2 ( string $street2 = null ) : ApiAddressDelivery_Type Set Street2 value
setStreet3 ( string $street3 = null ) : ApiAddressDelivery_Type Set Street3 value

Method Details

__construct() public method

Constructor method for AddressDelivery_Type
public __construct ( string $street1 = null, string $street2 = null, string $street3 = null, string $city = null, string $postalCode = null )
$street1 string
$street2 string
$street3 string
$city string
$postalCode 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 ) : ApiAddressDelivery_Type
$array array the exported values
return ApiAddressDelivery_Type

__toString() public method

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

getCity() public method

Get City value
public getCity ( ) : string | null
return string | null

getPostalCode() public method

Get PostalCode value
public getPostalCode ( ) : string | null
return string | null

getStreet1() public method

Get Street1 value
public getStreet1 ( ) : string | null
return string | null

getStreet2() public method

Get Street2 value
public getStreet2 ( ) : string | null
return string | null

getStreet3() public method

Get Street3 value
public getStreet3 ( ) : string | null
return string | null

setCity() public method

Set City value
public setCity ( string $city = null ) : ApiAddressDelivery_Type
$city string
return ApiAddressDelivery_Type

setPostalCode() public method

Set PostalCode value
public setPostalCode ( string $postalCode = null ) : ApiAddressDelivery_Type
$postalCode string
return ApiAddressDelivery_Type

setStreet1() public method

Set Street1 value
public setStreet1 ( string $street1 = null ) : ApiAddressDelivery_Type
$street1 string
return ApiAddressDelivery_Type

setStreet2() public method

Set Street2 value
public setStreet2 ( string $street2 = null ) : ApiAddressDelivery_Type
$street2 string
return ApiAddressDelivery_Type

setStreet3() public method

Set Street3 value
public setStreet3 ( string $street3 = null ) : ApiAddressDelivery_Type
$street3 string
return ApiAddressDelivery_Type

Property Details

$City public_oe property

The City Meta informations extracted from the WSDL - documentation: The delivery city
public string $City
return string

$PostalCode public_oe property

The PostalCode Meta informations extracted from the WSDL - documentation: Postal code for the city - length: 4
public string $PostalCode
return string

$Street1 public_oe property

The Street1 Meta informations extracted from the WSDL - documentation: First line on delivery address
public string $Street1
return string

$Street2 public_oe property

The Street2 Meta informations extracted from the WSDL - documentation: Second line on delivery address
public string $Street2
return string

$Street3 public_oe property

The Street3 Meta informations extracted from the WSDL - documentation: Third line on delivery address
public string $Street3
return string