* *
  • Transaction: Amazon_FPS_Model_TransactionDetail
  • * * */ class Amazon_FPS_Model_GetTransactionResult extends Amazon_FPS_Model { /** * Construct new Amazon_FPS_Model_GetTransactionResult * * @param mixed $data DOMElement or Associative Array to construct from. * * Valid properties: * */ public function __construct($data = null) { $this->_fields = array ( 'Transaction' => array('FieldValue' => null, 'FieldType' => 'Amazon_FPS_Model_TransactionDetail'), ); parent::__construct($data); } /** * Gets the value of the Transaction. * * @return TransactionDetail Transaction */ public function getTransaction() { return $this->_fields['Transaction']['FieldValue']; } /** * Sets the value of the Transaction. * * @param TransactionDetail Transaction * @return void */ public function setTransaction($value) { $this->_fields['Transaction']['FieldValue'] = $value; return; } /** * Sets the value of the Transaction and returns this instance * * @param TransactionDetail $value Transaction * @return Amazon_FPS_Model_GetTransactionResult instance */ public function withTransaction($value) { $this->setTransaction($value); return $this; } /** * Checks if Transaction is set * * @return bool true if Transaction property is set */ public function isSetTransaction() { return !is_null($this->_fields['Transaction']['FieldValue']); } }