private function validateArray($sourceAccountId = [])
    {
        if (!is_array($sourceAccountId)) {
            throw new BcaHttpException('Data harus array.');
        }
        if (empty($sourceAccountId)) {
            throw new BcaHttpException('AccountNumber tidak boleh kosong.');
        } else {
            $max = sizeof($sourceAccountId);
            if ($max > 20) {
                throw new BcaHttpException('Maksimal Account Number ' . 20);
            }
        }

        return true;
    }
private function validateArray($sourceAccountId = [])
    {
        if (!is_array($sourceAccountId)) {
            throw new BcaHttpException('Data harus array.');
        }
        if (empty($sourceAccountId)) {
            throw new BcaHttpException('AccountNumber tidak boleh kosong.');
        } else {
            $max = sizeof($sourceAccountId);
            if ($max > 20) {
                throw new BcaHttpException('Maksimal Account Number ' . 20);
            }
        }

        return true;
    }
private function validateArray ( $ sourceAccountId = [ ] ) { if ( ! is_array ( $ sourceAccountId ) ) { throw new BcaHttpException ( 'Data harus array.' ) ; } if ( empty ( $ sourceAccountId ) ) { throw new BcaHttpException ( 'AccountNumber tidak boleh kosong.' ) ; } else { $ max = sizeof ( $ sourceAccountId ) ; if ( $ max > 20 ) { throw new BcaHttpException ( 'Maksimal Account Number ' . 20 ) ; } } return true ; }
Validasi jika clientsecret telah di-definsikan.

@param array $sourceAccountId

@return bool
Validasi jika clientsecret telah di - definsikan .