* *
  • TokenStatus: TokenStatus
  • *
  • TokenType: TokenType
  • *
  • CallerReference: string
  • *
  • TokenFriendlyName: string
  • * * */ class Amazon_FPS_Model_GetTokensRequest extends Amazon_FPS_Model { /** * Construct new Amazon_FPS_Model_GetTokensRequest * * @param mixed $data DOMElement or Associative Array to construct from. * * Valid properties: * */ public function __construct($data = null) { $this->_fields = array ( 'TokenStatus' => array('FieldValue' => null, 'FieldType' => 'TokenStatus'), 'TokenType' => array('FieldValue' => null, 'FieldType' => 'TokenType'), 'CallerReference' => array('FieldValue' => null, 'FieldType' => 'string'), 'TokenFriendlyName' => array('FieldValue' => null, 'FieldType' => 'string'), ); parent::__construct($data); } /** * Gets the value of the TokenStatus property. * * @return TokenStatus TokenStatus */ public function getTokenStatus() { return $this->_fields['TokenStatus']['FieldValue']; } /** * Sets the value of the TokenStatus property. * * @param TokenStatus TokenStatus * @return this instance */ public function setTokenStatus($value) { $this->_fields['TokenStatus']['FieldValue'] = $value; return $this; } /** * Sets the value of the TokenStatus and returns this instance * * @param TokenStatus $value TokenStatus * @return Amazon_FPS_Model_GetTokensRequest instance */ public function withTokenStatus($value) { $this->setTokenStatus($value); return $this; } /** * Checks if TokenStatus is set * * @return bool true if TokenStatus is set */ public function isSetTokenStatus() { return !is_null($this->_fields['TokenStatus']['FieldValue']); } /** * Gets the value of the TokenType property. * * @return TokenType TokenType */ public function getTokenType() { return $this->_fields['TokenType']['FieldValue']; } /** * Sets the value of the TokenType property. * * @param TokenType TokenType * @return this instance */ public function setTokenType($value) { $this->_fields['TokenType']['FieldValue'] = $value; return $this; } /** * Sets the value of the TokenType and returns this instance * * @param TokenType $value TokenType * @return Amazon_FPS_Model_GetTokensRequest instance */ public function withTokenType($value) { $this->setTokenType($value); return $this; } /** * Checks if TokenType is set * * @return bool true if TokenType is set */ public function isSetTokenType() { return !is_null($this->_fields['TokenType']['FieldValue']); } /** * Gets the value of the CallerReference property. * * @return string CallerReference */ public function getCallerReference() { return $this->_fields['CallerReference']['FieldValue']; } /** * Sets the value of the CallerReference property. * * @param string CallerReference * @return this instance */ public function setCallerReference($value) { $this->_fields['CallerReference']['FieldValue'] = $value; return $this; } /** * Sets the value of the CallerReference and returns this instance * * @param string $value CallerReference * @return Amazon_FPS_Model_GetTokensRequest instance */ public function withCallerReference($value) { $this->setCallerReference($value); return $this; } /** * Checks if CallerReference is set * * @return bool true if CallerReference is set */ public function isSetCallerReference() { return !is_null($this->_fields['CallerReference']['FieldValue']); } /** * Gets the value of the TokenFriendlyName property. * * @return string TokenFriendlyName */ public function getTokenFriendlyName() { return $this->_fields['TokenFriendlyName']['FieldValue']; } /** * Sets the value of the TokenFriendlyName property. * * @param string TokenFriendlyName * @return this instance */ public function setTokenFriendlyName($value) { $this->_fields['TokenFriendlyName']['FieldValue'] = $value; return $this; } /** * Sets the value of the TokenFriendlyName and returns this instance * * @param string $value TokenFriendlyName * @return Amazon_FPS_Model_GetTokensRequest instance */ public function withTokenFriendlyName($value) { $this->setTokenFriendlyName($value); return $this; } /** * Checks if TokenFriendlyName is set * * @return bool true if TokenFriendlyName is set */ public function isSetTokenFriendlyName() { return !is_null($this->_fields['TokenFriendlyName']['FieldValue']); } }