\MarketplaceWebService_Model_TypeList

MarketplaceWebService_Model_TypeList

Properties:

  • Type: string

Summary

Methods
Properties
Constants
__construct()
__get()
__set()
getType()
setType()
withType()
isSetType()
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_TypeList

Parameters

mixed $data

DOMElement or Associative Array to construct from.

Valid properties:

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

getType()

getType() : array

Gets the value of the Type .

Returns

array —

of string Type

setType()

setType(  $type) : \this

Sets the value of the Type.

Parameters

$type

Returns

\this —

instance

withType()

withType(string  $stringArgs) : \MarketplaceWebService_Model_TypeList

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

For example, to set the list with two elements, simply pass two values as arguments to this function withType($type1, $type2)

Parameters

string $stringArgs

one or more Type

Returns

\MarketplaceWebService_Model_TypeList

instance

isSetType()

isSetType() : boolean

Checks if Type list is non-empty

Returns

boolean —

true if Type list is non-empty