PHP Class Api\StructType\ApiOffer

Inheritance: extends ApiOrder
Afficher le fichier Open project: wsdltophp/packagegenerator

Méthodes publiques

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

Méthodes publiques

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

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

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

__toString() public méthode

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

getOffer() public méthode

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
Résultat ApiOffer | null

getOfferClassMember() public méthode

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
Résultat string | null

setOffer() public méthode

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

setOfferClassMember() public méthode

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

Property Details

$offer public_oe property

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

$offerClassMember public_oe property

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