\MarketplaceWebService_Model_Error

MarketplaceWebService_Model_Error

Properties:

  • Type: string
  • Code: string
  • Message: string
  • Detail: MarketplaceWebService_Model_Object

Summary

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

Parameters

mixed $data

DOMElement or Associative Array to construct from.

Valid properties:

  • Type: string
  • Code: string
  • Message: string
  • Detail: MarketplaceWebService_Model_Object

__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() : string

Gets the value of the Type property.

Returns

string —

Type

setType()

setType(  $value) : \this

Sets the value of the Type property.

Parameters

$value

Returns

\this —

instance

withType()

withType(string  $value) : \MarketplaceWebService_Model_Error

Sets the value of the Type and returns this instance

Parameters

string $value

Type

Returns

\MarketplaceWebService_Model_Error

instance

isSetType()

isSetType() : boolean

Checks if Type is set

Returns

boolean —

true if Type is set

getCode()

getCode() : string

Gets the value of the Code property.

Returns

string —

Code

setCode()

setCode(  $value) : \this

Sets the value of the Code property.

Parameters

$value

Returns

\this —

instance

withCode()

withCode(string  $value) : \MarketplaceWebService_Model_Error

Sets the value of the Code and returns this instance

Parameters

string $value

Code

Returns

\MarketplaceWebService_Model_Error

instance

isSetCode()

isSetCode() : boolean

Checks if Code is set

Returns

boolean —

true if Code is set

getMessage()

getMessage() : string

Gets the value of the Message property.

Returns

string —

Message

setMessage()

setMessage(  $value) : \this

Sets the value of the Message property.

Parameters

$value

Returns

\this —

instance

withMessage()

withMessage(string  $value) : \MarketplaceWebService_Model_Error

Sets the value of the Message and returns this instance

Parameters

string $value

Message

Returns

\MarketplaceWebService_Model_Error

instance

isSetMessage()

isSetMessage() : boolean

Checks if Message is set

Returns

boolean —

true if Message is set

getDetail()

getDetail() : \Error.Detail

Gets the value of the Detail.

Returns

\Error.Detail —

Detail

setDetail()

setDetail(  $value) : void

Sets the value of the Detail.

Parameters

$value

withDetail()

withDetail(Object  $value) : \MarketplaceWebService_Model_Error

Sets the value of the Detail and returns this instance

Parameters

Object $value

Detail

Returns

\MarketplaceWebService_Model_Error

instance

isSetDetail()

isSetDetail() : boolean

Checks if Detail is set

Returns

boolean —

true if Detail property is set