public function setTransactiontype($transaction = 0)
    {
        if ($this->isEmpty($transaction)) {
            throw new TpvException('Please add transaction type');
        }

        $this->_setParameters['DS_MERCHANT_TRANSACTIONTYPE'] = $transaction;

        return $this;
    }
public function setTransactiontype($transaction = 0)
    {
        if ($this->isEmpty($transaction)) {
            throw new TpvException('Please add transaction type');
        }

        $this->_setParameters['DS_MERCHANT_TRANSACTIONTYPE'] = $transaction;

        return $this;
    }
public function setTransactiontype ( $ transaction = 0 ) { if ( $ this -> isEmpty ( $ transaction ) ) { throw new TpvException ( 'Please add transaction type' ) ; } $ this -> _setParameters [ 'DS_MERCHANT_TRANSACTIONTYPE' ] = $ transaction ; return $ this ; }
Set Transaction type

@param int $transaction

@return $this
@throws TpvException
Set Transaction type