for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author @jayS-de <[email protected]>
*/
namespace Commercetools\Core\Model\Message;
use Commercetools\Core\Model\Common\DateTimeDecorator;
use Commercetools\Core\Model\Common\Reference;
use Commercetools\Core\Model\Payment\Transaction;
* @package Commercetools\Core\Model\Message
*
* @method string getId()
* @method PaymentTransactionChangedMessage setId(string $id = null)
* @method DateTimeDecorator getCreatedAt()
* @method PaymentTransactionChangedMessage setCreatedAt(\DateTime $createdAt = null)
* @method int getSequenceNumber()
* @method PaymentTransactionChangedMessage setSequenceNumber(int $sequenceNumber = null)
* @method Reference getResource()
* @method PaymentTransactionChangedMessage setResource(Reference $resource = null)
* @method int getResourceVersion()
* @method PaymentTransactionChangedMessage setResourceVersion(int $resourceVersion = null)
* @method string getType()
* @method PaymentTransactionChangedMessage setType(string $type = null)
* @method string getState()
* @method PaymentTransactionChangedMessage setState(string $state = null)
class PaymentTransactionChangedMessage extends Message
{
const MESSAGE_TYPE = 'PaymentTransactionChanged';
public function fieldDefinitions()
$definitions = parent::fieldDefinitions();
$definitions['state'] = [static::TYPE => 'string'];
return $definitions;
}