\MarketplaceWebService_Model_StatusList

MarketplaceWebService_Model_StatusList

Properties:

  • Status: string

Summary

Methods
Properties
Constants
__construct()
__get()
__set()
getStatus()
setStatus()
withStatus()
isSetStatus()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(mixed  $data = null) 

Construct new MarketplaceWebService_Model_StatusList

Parameters

mixed $data

DOMElement or Associative Array to construct from.

Valid properties:

  • Status: string

__get()

__get(string  $propertyName) 

Support for virtual properties getters.

Virtual property call example:

$action->Property

Direct getter(preferred):

$action->getProperty()

Parameters

string $propertyName

name of the property

__set()

__set(string  $propertyName,   $propertyValue) 

Support for virtual properties setters.

Virtual property call example:

$action->Property = 'ABC'

Direct setter (preferred):

$action->setProperty('ABC')

Parameters

string $propertyName

name of the property

$propertyValue

getStatus()

getStatus() : array

Gets the value of the Status .

Returns

array —

of string Status

setStatus()

setStatus(  $status) : \this

Sets the value of the Status.

Parameters

$status

Returns

\this —

instance

withStatus()

withStatus(string  $stringArgs) : \MarketplaceWebService_Model_StatusList

Sets single or multiple values of Status list via variable number of arguments.

For example, to set the list with two elements, simply pass two values as arguments to this function withStatus($status1, $status2)

Parameters

string $stringArgs

one or more Status

Returns

\MarketplaceWebService_Model_StatusList

instance

isSetStatus()

isSetStatus() : boolean

Checks if Status list is non-empty

Returns

boolean —

true if Status list is non-empty