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.
*/
namespace PhpMob\Omise\Domain;
use PhpMob\Omise\Model;
/**
* @author Prawit <[email protected]>
* @property string object
* @property string id
* @property string livemode
* @property string location
* @property string recipient
* @property BankAccount bankAccount
* @property boolean sent
* @property boolean paid
* @property integer amount
* @property string currency
* @property integer fee
* @property string failureCode
* @property string failureMessage
* @property string transaction
* @property string created
* @property string metadata
class Transfer extends Model
{
* @return array
public function getCreateData()
return [
'amount' => $this->amount,
'recipient' => $this->recipient,
'metadata' => $this->metadata,
];
}
public function getUpdateData()