*
*
StartDateTime: string
* EndDateTime: string
*
*
*/
class FBAOutboundServiceMWS_Model_DeliveryWindow extends FBAOutboundServiceMWS_Model {
public function __construct($data = null)
{
$this->_fields = array (
'StartDateTime' => array('FieldValue' => null, 'FieldType' => 'string'),
'EndDateTime' => array('FieldValue' => null, 'FieldType' => 'string'),
);
parent::__construct($data);
}
/**
* Get the value of the StartDateTime property.
*
* @return XMLGregorianCalendar StartDateTime.
*/
public function getStartDateTime()
{
return $this->_fields['StartDateTime']['FieldValue'];
}
/**
* Set the value of the StartDateTime property.
*
* @param string startDateTime
* @return this instance
*/
public function setStartDateTime($value)
{
$this->_fields['StartDateTime']['FieldValue'] = $value;
return $this;
}
/**
* Check to see if StartDateTime is set.
*
* @return true if StartDateTime is set.
*/
public function isSetStartDateTime()
{
return !is_null($this->_fields['StartDateTime']['FieldValue']);
}
/**
* Set the value of StartDateTime, return this.
*
* @param startDateTime
* The new value to set.
*
* @return This instance.
*/
public function withStartDateTime($value)
{
$this->setStartDateTime($value);
return $this;
}
/**
* Get the value of the EndDateTime property.
*
* @return XMLGregorianCalendar EndDateTime.
*/
public function getEndDateTime()
{
return $this->_fields['EndDateTime']['FieldValue'];
}
/**
* Set the value of the EndDateTime property.
*
* @param string endDateTime
* @return this instance
*/
public function setEndDateTime($value)
{
$this->_fields['EndDateTime']['FieldValue'] = $value;
return $this;
}
/**
* Check to see if EndDateTime is set.
*
* @return true if EndDateTime is set.
*/
public function isSetEndDateTime()
{
return !is_null($this->_fields['EndDateTime']['FieldValue']);
}
/**
* Set the value of EndDateTime, return this.
*
* @param endDateTime
* The new value to set.
*
* @return This instance.
*/
public function withEndDateTime($value)
{
$this->setEndDateTime($value);
return $this;
}
}