namespace Kopokopo\SDK\Data;

class MerchantBankAccountData
{
    public function setData($result)
    {
        $data['id'] = $result['id'];
        $data['type'] = $result['type'];

        $data['accountNumber'] = $result['attributes']['account_number'];
        $data['accountName'] = $result['attributes']['account_name'];
        $data['bankBranchRef'] = $result['attributes']['bank_branch_ref'];