PHP Класс Api\StructType\ApiOffer

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

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

Свойство Тип Описание
$offer ApiOffer The offer Meta informations extracted from the WSDL - minOccurs: 0 - nillable: true
$offerClassMember string The offerClassMember Meta informations extracted from the WSDL - minOccurs: 0 - nillable: true

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

Метод Описание
__construct ( string $offerClassMember = null, ApiOffer $offer = null ) Constructor method for offer
__set_state ( array $array ) : ApiOffer 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
getOffer ( ) : ApiOffer | null Get offer value An additional test has been added (isset) before returning the property value as this property may have been unset before, due to the fact that this property is removable from the request (nillable=true+minOccurs=0)
getOfferClassMember ( ) : string | null Get offerClassMember value An additional test has been added (isset) before returning the property value as this property may have been unset before, due to the fact that this property is removable from the request (nillable=true+minOccurs=0)
setOffer ( ApiOffer $offer = null ) : ApiOffer Set offer value This property is removable from request (nillable=true+minOccurs=0), therefore if the value assigned to this property is null, it is removed from this object
setOfferClassMember ( string $offerClassMember = null ) : ApiOffer Set offerClassMember value This property is removable from request (nillable=true+minOccurs=0), therefore if the value assigned to this property is null, it is removed from this object

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

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

Constructor method for offer
public __construct ( string $offerClassMember = null, ApiOffer $offer = null )
$offerClassMember string
$offer ApiOffer

__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 ) : ApiOffer
$array array the exported values
Результат ApiOffer

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

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

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

Get offer value An additional test has been added (isset) before returning the property value as this property may have been unset before, due to the fact that this property is removable from the request (nillable=true+minOccurs=0)
public getOffer ( ) : ApiOffer | null
Результат ApiOffer | null

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

Get offerClassMember value An additional test has been added (isset) before returning the property value as this property may have been unset before, due to the fact that this property is removable from the request (nillable=true+minOccurs=0)
public getOfferClassMember ( ) : string | null
Результат string | null

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

Set offer value This property is removable from request (nillable=true+minOccurs=0), therefore if the value assigned to this property is null, it is removed from this object
public setOffer ( ApiOffer $offer = null ) : ApiOffer
$offer ApiOffer
Результат ApiOffer

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

Set offerClassMember value This property is removable from request (nillable=true+minOccurs=0), therefore if the value assigned to this property is null, it is removed from this object
public setOfferClassMember ( string $offerClassMember = null ) : ApiOffer
$offerClassMember string
Результат ApiOffer

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

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

The offer Meta informations extracted from the WSDL - minOccurs: 0 - nillable: true
public ApiOffer,Api\StructType $offer
Результат ApiOffer

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

The offerClassMember Meta informations extracted from the WSDL - minOccurs: 0 - nillable: true
public string $offerClassMember
Результат string