\MarketplaceWebService_Model_IdList

MarketplaceWebService_Model_IdList

Properties:

  • Id: string

Summary

Methods
Properties
Constants
__construct()
__get()
__set()
getId()
setId()
withId()
isSetId()
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_IdList

Parameters

mixed $data

DOMElement or Associative Array to construct from.

Valid properties:

  • Id: 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

getId()

getId() : array

Gets the value of the Id .

Returns

array —

of string Id

setId()

setId(  $id) : \this

Sets the value of the Id.

Parameters

$id

Returns

\this —

instance

withId()

withId(string  $stringArgs) : \MarketplaceWebService_Model_IdList

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

For example, to set the list with two elements, simply pass two values as arguments to this function withId($id1, $id2)

Parameters

string $stringArgs

one or more Id

Returns

\MarketplaceWebService_Model_IdList

instance

isSetId()

isSetId() : boolean

Checks if Id list is non-empty

Returns

boolean —

true if Id list is non-empty