\MarketplaceWebServiceProducts_Model_Error

MarketplaceWebServiceProducts_Model_Error

Properties:

  • Type: string
  • Code: string
  • Message: string
  • Detail: MarketplaceWebServiceProducts_Model_ErrorDetail

Summary

Methods
Properties
Constants
__construct()
__get()
__set()
toQueryParameterArray()
getType()
setType()
isSetType()
withType()
getCode()
setCode()
isSetCode()
withCode()
getMessage()
setMessage()
isSetMessage()
withMessage()
getDetail()
setDetail()
isSetDetail()
withDetail()
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 model class

Parameters

mixed $data
  • DOMElement or Associative Array to construct from.

__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

toQueryParameterArray()

toQueryParameterArray() : array

Convert to query parameters suitable for POSTing.

Returns

array —

of query parameters

getType()

getType() : String

Get the value of the Type property.

Returns

String —

Type.

setType()

setType(  $value) : \this

Set the value of the Type property.

Parameters

$value

Returns

\this —

instance

isSetType()

isSetType() : true

Check to see if Type is set.

Returns

true —

if Type is set.

withType()

withType(  $value) : \This

Set the value of Type, return this.

Parameters

$value

Returns

\This —

instance.

getCode()

getCode() : String

Get the value of the Code property.

Returns

String —

Code.

setCode()

setCode(  $value) : \this

Set the value of the Code property.

Parameters

$value

Returns

\this —

instance

isSetCode()

isSetCode() : true

Check to see if Code is set.

Returns

true —

if Code is set.

withCode()

withCode(  $value) : \This

Set the value of Code, return this.

Parameters

$value

Returns

\This —

instance.

getMessage()

getMessage() : String

Get the value of the Message property.

Returns

String —

Message.

setMessage()

setMessage(  $value) : \this

Set the value of the Message property.

Parameters

$value

Returns

\this —

instance

isSetMessage()

isSetMessage() : true

Check to see if Message is set.

Returns

true —

if Message is set.

withMessage()

withMessage(  $value) : \This

Set the value of Message, return this.

Parameters

$value

Returns

\This —

instance.

getDetail()

getDetail() : \ErrorDetail

Get the value of the Detail property.

Returns

\ErrorDetail —

Detail.

setDetail()

setDetail(  $value) : \this

Set the value of the Detail property.

Parameters

$value

Returns

\this —

instance

isSetDetail()

isSetDetail() : true

Check to see if Detail is set.

Returns

true —

if Detail is set.

withDetail()

withDetail(  $value) : \This

Set the value of Detail, return this.

Parameters

$value

Returns

\This —

instance.