*
*
TokenId: string
*
*
*/
class Amazon_FPS_Model_GetPaymentInstructionRequest extends Amazon_FPS_Model
{
/**
* Construct new Amazon_FPS_Model_GetPaymentInstructionRequest
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
*
*/
public function __construct($data = null)
{
$this->_fields = array (
'TokenId' => array('FieldValue' => null, 'FieldType' => 'string'),
);
parent::__construct($data);
}
/**
* Gets the value of the TokenId property.
*
* @return string TokenId
*/
public function getTokenId()
{
return $this->_fields['TokenId']['FieldValue'];
}
/**
* Sets the value of the TokenId property.
*
* @param string TokenId
* @return this instance
*/
public function setTokenId($value)
{
$this->_fields['TokenId']['FieldValue'] = $value;
return $this;
}
/**
* Sets the value of the TokenId and returns this instance
*
* @param string $value TokenId
* @return Amazon_FPS_Model_GetPaymentInstructionRequest instance
*/
public function withTokenId($value)
{
$this->setTokenId($value);
return $this;
}
/**
* Checks if TokenId is set
*
* @return bool true if TokenId is set
*/
public function isSetTokenId()
{
return !is_null($this->_fields['TokenId']['FieldValue']);
}
}