1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
<?php
/**
* @author @jenschude <jens.schulze@commercetools.de>
*/
namespace Commercetools\Core\Model\Message;
/**
* @package Commercetools\Core\Model\Message
*
* @method bool getEnabled()
* @method MessagesConfiguration setEnabled(bool $enabled = null)
* @method int getDeleteDaysAfterCreation()
* @method MessagesConfiguration setDeleteDaysAfterCreation(int $deleteDaysAfterCreation = null)
*/
class MessagesConfiguration extends MessagesConfigurationDraft
{
public function fieldDefinitions()
{
return [
'enabled' => [static::TYPE => 'bool'],
'deleteDaysAfterCreation' => [static::TYPE => 'int', static::OPTIONAL => true],
];
}
}