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 boolean verified
* @property boolean active
* @property string name
* @property string email
* @property string description
* @property string type
* @property string taxId
* @property BankAccount bankAccount
* @property string failureCode
* @property string created
* @property string metadata
class Recipient extends Model
{
* @return array
public function getCreateData()
return [
'name' => $this->name,
'email' => $this->email,
'description' => $this->description,
'type' => $this->type,
'tax_id' => $this->taxId,
'bank_account' => $this->bankAccount,
'metadata' => $this->metadata,
];
}
public function getUpdateData()
return $this->getCreateData();