public function getAccountType()
    {
        if (isset($this->data->transactionResponse[0]->accountType)) {
            return (string)$this->data->transactionResponse[0]->accountType;
        } else {
            return '';
        }
    }
public function getAccountType()
    {
        if (isset($this->data->transactionResponse[0]->accountType)) {
            return (string)$this->data->transactionResponse[0]->accountType;
        } else {
            return '';
        }
    }
public function getAccountType ( ) { if ( isset ( $ this -> data -> transactionResponse [ 0 ] -> accountType ) ) { return ( string ) $ this -> data -> transactionResponse [ 0 ] -> accountType ; } else { return '' ; } }
Returns the account type used for the transaction.

@return string A multicharacter string.
Can be Visa, MasterCard, Discover, AmericanExpress, DinersClub, JCB, or eCheck.
Returns the account type used for the transaction .