PHP Class Api\StructType\ApiOffer

Inheritance: extends ApiOrder
Mostra file Open project: wsdltophp/packagegenerator

Public Properties

Property Type Description
$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

Public Methods

Method Description
__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

Method Details

__construct() public method

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

__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 ) : ApiOffer
$array array the exported values
return ApiOffer

__toString() public method

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

getOffer() public method

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
return ApiOffer | null

getOfferClassMember() public method

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
return string | null

setOffer() public method

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
return ApiOffer

setOfferClassMember() public method

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
return ApiOffer

Property Details

$offer public_oe property

The offer Meta informations extracted from the WSDL - minOccurs: 0 - nillable: true
public ApiOffer,Api\StructType $offer
return ApiOffer

$offerClassMember public_oe property

The offerClassMember Meta informations extracted from the WSDL - minOccurs: 0 - nillable: true
public string $offerClassMember
return string