PHP Класс Api\StructType\ApiExpiryDate

Наследование: extends WsdlToPhp\PackageBase\AbstractStructBase
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$month string The month Meta informations extracted from the WSDL - use: required
$year string The year Meta informations extracted from the WSDL - use: required

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный метод

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

__set_state() публичный статический метод

Method called when an object has been exported with var_export() functions It allows to return an object instantiated with the values
См. также: AbstractStructBase::__set_state()
public static __set_state ( array $array ) : ApiExpiryDate
$array array the exported values
Результат ApiExpiryDate

__toString() публичный метод

Method returning the class name
public __toString ( ) : string
Результат string __CLASS__

getMonth() публичный метод

Get month value
public getMonth ( ) : string
Результат string

getYear() публичный метод

Get year value
public getYear ( ) : string
Результат string

setMonth() публичный метод

Set month value
public setMonth ( string $month = null ) : ApiExpiryDate
$month string
Результат ApiExpiryDate

setYear() публичный метод

Set year value
public setYear ( string $year = null ) : ApiExpiryDate
$year string
Результат ApiExpiryDate

Описание свойств

$month публичное свойство

The month Meta informations extracted from the WSDL - use: required
public string $month
Результат string

$year публичное свойство

The year Meta informations extracted from the WSDL - use: required
public string $year
Результат string