*
*
CurrencyCode: string
* Value: string
*
*
*/
class FBAOutboundServiceMWS_Model_Currency extends FBAOutboundServiceMWS_Model {
public function __construct($data = null)
{
$this->_fields = array (
'CurrencyCode' => array('FieldValue' => null, 'FieldType' => 'string'),
'Value' => array('FieldValue' => null, 'FieldType' => 'string'),
);
parent::__construct($data);
}
/**
* Get the value of the CurrencyCode property.
*
* @return String CurrencyCode.
*/
public function getCurrencyCode()
{
return $this->_fields['CurrencyCode']['FieldValue'];
}
/**
* Set the value of the CurrencyCode property.
*
* @param string currencyCode
* @return this instance
*/
public function setCurrencyCode($value)
{
$this->_fields['CurrencyCode']['FieldValue'] = $value;
return $this;
}
/**
* Check to see if CurrencyCode is set.
*
* @return true if CurrencyCode is set.
*/
public function isSetCurrencyCode()
{
return !is_null($this->_fields['CurrencyCode']['FieldValue']);
}
/**
* Set the value of CurrencyCode, return this.
*
* @param currencyCode
* The new value to set.
*
* @return This instance.
*/
public function withCurrencyCode($value)
{
$this->setCurrencyCode($value);
return $this;
}
/**
* Get the value of the Value property.
*
* @return String Value.
*/
public function getValue()
{
return $this->_fields['Value']['FieldValue'];
}
/**
* Set the value of the Value property.
*
* @param string value
* @return this instance
*/
public function setValue($value)
{
$this->_fields['Value']['FieldValue'] = $value;
return $this;
}
/**
* Check to see if Value is set.
*
* @return true if Value is set.
*/
public function isSetValue()
{
return !is_null($this->_fields['Value']['FieldValue']);
}
/**
* Set the value of Value, return this.
*
* @param value
* The new value to set.
*
* @return This instance.
*/
public function withValue($value)
{
$this->setValue($value);
return $this;
}
}