PHP 클래스 Api\StructType\ApiExpiryDate

상속: extends WsdlToPhp\PackageBase\AbstractStructBase
파일 보기 프로젝트 열기: wsdltophp/packagegenerator

공개 프로퍼티들

프로퍼티 타입 설명
$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