Blame | Letzte Änderung | Log anzeigen | RSS feed
<?php/******************************************************************************** Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.* Licensed under the Apache License, Version 2.0 (the "License");** You may not use this file except in compliance with the License.* You may obtain a copy of the License at: http://aws.amazon.com/apache2.0* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR* CONDITIONS OF ANY KIND, either express or implied. See the License for the* specific language governing permissions and limitations under the License.* ******************************************************************************//*** @see CheckoutByAmazon_Service_Model*/require_once ('CheckoutByAmazon/Service/Model.php');/*** CheckoutByAmazon_Service_Model_Error** Properties:* <ul>** <li>Type: string</li>* <li>Code: string</li>* <li>Message: string</li>* <li>Detail: CheckoutByAmazon_Service_Model_Object</li>** </ul>*/class CheckoutByAmazon_Service_Model_Error extends CheckoutByAmazon_Service_Model{/*** Construct new CheckoutByAmazon_Service_Model_Error** @param mixed $data DOMElement or Associative Array to construct from.** Valid properties:* <ul>** <li>Type: string</li>* <li>Code: string</li>* <li>Message: string</li>* <li>Detail: CheckoutByAmazon_Service_Model_Object</li>** </ul>*/public function __construct($data = null){$this->_fields = array ('Type' => array('FieldValue' => null, 'FieldType' => 'string'),'Code' => array('FieldValue' => null, 'FieldType' => 'string'),'Message' => array('FieldValue' => null, 'FieldType' => 'string'),'Detail' => array('FieldValue' => null, 'FieldType' => 'CheckoutByAmazon_Service_Model_Object'),);parent::__construct($data);}/*** Gets the value of the Type property.** @return string Type*/public function getType(){return $this->_fields['Type']['FieldValue'];}/*** Sets the value of the Type property.** @param string Type* @return this instance*/public function setType($value){$this->_fields['Type']['FieldValue'] = $value;return $this;}/*** Checks if Type is set** @return bool true if Type is set*/public function isSetType(){return !is_null($this->_fields['Type']['FieldValue']);}/*** Gets the value of the Code property.** @return string Code*/public function getCode(){return $this->_fields['Code']['FieldValue'];}/*** Sets the value of the Code property.** @param string Code* @return this instance*/public function setCode($value){$this->_fields['Code']['FieldValue'] = $value;return $this;}/*** Checks if Code is set** @return bool true if Code is set*/public function isSetCode(){return !is_null($this->_fields['Code']['FieldValue']);}/*** Gets the value of the Message property.** @return string Message*/public function getMessage(){return $this->_fields['Message']['FieldValue'];}/*** Sets the value of the Message property.** @param string Message* @return this instance*/public function setMessage($value){$this->_fields['Message']['FieldValue'] = $value;return $this;}/*** Checks if Message is set** @return bool true if Message is set*/public function isSetMessage(){return !is_null($this->_fields['Message']['FieldValue']);}/*** Gets the value of the Detail.** @return Error.Detail Detail*/public function getDetail(){return $this->_fields['Detail']['FieldValue'];}/*** Sets the value of the Detail.** @param Error.Detail Detail* @return void*/public function setDetail($value){$this->_fields['Detail']['FieldValue'] = $value;return;}/*** Checks if Detail is set** @return bool true if Detail property is set*/public function isSetDetail(){return !is_null($this->_fields['Detail']['FieldValue']);}}?>