PHP Class Api\StructType\ApiExpiryDate

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

Public Properties

Property Type Description
$month string The month Meta informations extracted from the WSDL - use: required
$year string The year Meta informations extracted from the WSDL - use: required

Public Methods

Method Description
__construct ( string $month = null, string $year = null ) Constructor method for expiryDate
__set_state ( array $array ) : ApiExpiryDate 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
getMonth ( ) : string Get month value
getYear ( ) : string Get year value
setMonth ( string $month = null ) : ApiExpiryDate Set month value
setYear ( string $year = null ) : ApiExpiryDate Set year value

Method Details

__construct() public method

Constructor method for expiryDate
public __construct ( string $month = null, string $year = null )
$month string
$year 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 ) : ApiExpiryDate
$array array the exported values
return ApiExpiryDate

__toString() public method

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

getMonth() public method

Get month value
public getMonth ( ) : string
return string

getYear() public method

Get year value
public getYear ( ) : string
return string

setMonth() public method

Set month value
public setMonth ( string $month = null ) : ApiExpiryDate
$month string
return ApiExpiryDate

setYear() public method

Set year value
public setYear ( string $year = null ) : ApiExpiryDate
$year string
return ApiExpiryDate

Property Details

$month public_oe property

The month Meta informations extracted from the WSDL - use: required
public string $month
return string

$year public_oe property

The year Meta informations extracted from the WSDL - use: required
public string $year
return string