for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the PhpMob package.
*
* (c) Ishmael Doss <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace PhpMob\Omise\Domain;
use PhpMob\Omise\Model;
/**
* @author Saranyu <[email protected]>
* @property string id
* @property bool livemode
* @property string location
* @property int amount
* @property string currency
* @property string status
* @property string message
* @property string metadata
* @property string charge
* @property string created
class Dispute extends Model
{
const EVENT_CREATE = 'charge.create';
const EVENT_UPDATE = 'charge.update';
const EVENT_CLOSE = 'charge.close';
* @return array
public function getUpdateData()
return [
'description' => $this->message,
'metadata' => $this->metadata,
];
}