PHP Class Api\StructType\ApiExpiryDate

Inheritance: extends WsdlToPhp\PackageBase\AbstractStructBase
Afficher le fichier Open project: wsdltophp/packagegenerator

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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 méthode

Constructor method for expiryDate
public __construct ( string $month = null, string $year = null )
$month string
$year string

__set_state() public static méthode

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
Résultat ApiExpiryDate

__toString() public méthode

Method returning the class name
public __toString ( ) : string
Résultat string __CLASS__

getMonth() public méthode

Get month value
public getMonth ( ) : string
Résultat string

getYear() public méthode

Get year value
public getYear ( ) : string
Résultat string

setMonth() public méthode

Set month value
public setMonth ( string $month = null ) : ApiExpiryDate
$month string
Résultat ApiExpiryDate

setYear() public méthode

Set year value
public setYear ( string $year = null ) : ApiExpiryDate
$year string
Résultat ApiExpiryDate

Property Details

$month public_oe property

The month Meta informations extracted from the WSDL - use: required
public string $month
Résultat string

$year public_oe property

The year Meta informations extracted from the WSDL - use: required
public string $year
Résultat string