*
*
PaymentInstruction: string
* TokenFriendlyName: string
* CallerReference: string
* TokenType: TokenType
* PaymentReason: string
*
*
*/
class Amazon_FPS_Model_InstallPaymentInstructionRequest extends Amazon_FPS_Model
{
/**
* Construct new Amazon_FPS_Model_InstallPaymentInstructionRequest
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
*
*
* - PaymentInstruction: string
* - TokenFriendlyName: string
* - CallerReference: string
* - TokenType: TokenType
* - PaymentReason: string
*
*
*/
public function __construct($data = null)
{
$this->_fields = array (
'PaymentInstruction' => array('FieldValue' => null, 'FieldType' => 'string'),
'TokenFriendlyName' => array('FieldValue' => null, 'FieldType' => 'string'),
'CallerReference' => array('FieldValue' => null, 'FieldType' => 'string'),
'TokenType' => array('FieldValue' => null, 'FieldType' => 'TokenType'),
'PaymentReason' => array('FieldValue' => null, 'FieldType' => 'string'),
);
parent::__construct($data);
}
/**
* Gets the value of the PaymentInstruction property.
*
* @return string PaymentInstruction
*/
public function getPaymentInstruction()
{
return $this->_fields['PaymentInstruction']['FieldValue'];
}
/**
* Sets the value of the PaymentInstruction property.
*
* @param string PaymentInstruction
* @return this instance
*/
public function setPaymentInstruction($value)
{
$this->_fields['PaymentInstruction']['FieldValue'] = $value;
return $this;
}
/**
* Sets the value of the PaymentInstruction and returns this instance
*
* @param string $value PaymentInstruction
* @return Amazon_FPS_Model_InstallPaymentInstructionRequest instance
*/
public function withPaymentInstruction($value)
{
$this->setPaymentInstruction($value);
return $this;
}
/**
* Checks if PaymentInstruction is set
*
* @return bool true if PaymentInstruction is set
*/
public function isSetPaymentInstruction()
{
return !is_null($this->_fields['PaymentInstruction']['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_InstallPaymentInstructionRequest 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']);
}
/**
* 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_InstallPaymentInstructionRequest 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 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_InstallPaymentInstructionRequest 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 PaymentReason property.
*
* @return string PaymentReason
*/
public function getPaymentReason()
{
return $this->_fields['PaymentReason']['FieldValue'];
}
/**
* Sets the value of the PaymentReason property.
*
* @param string PaymentReason
* @return this instance
*/
public function setPaymentReason($value)
{
$this->_fields['PaymentReason']['FieldValue'] = $value;
return $this;
}
/**
* Sets the value of the PaymentReason and returns this instance
*
* @param string $value PaymentReason
* @return Amazon_FPS_Model_InstallPaymentInstructionRequest instance
*/
public function withPaymentReason($value)
{
$this->setPaymentReason($value);
return $this;
}
/**
* Checks if PaymentReason is set
*
* @return bool true if PaymentReason is set
*/
public function isSetPaymentReason()
{
return !is_null($this->_fields['PaymentReason']['FieldValue']);
}
}