public function getOrderReference(TransactionInterface $transaction)
    {
        $order = $transaction->get('order', null);

        if ($this->getLogger()) {
            $this->getLogger()->notice(sprintf('[BasePaypalPayment::loadOrder] order=%s', $order));
        }

        return $order;
    }
public function getOrderReference(TransactionInterface $transaction)
    {
        $order = $transaction->get('order', null);

        if ($this->getLogger()) {
            $this->getLogger()->notice(sprintf('[BasePaypalPayment::loadOrder] order=%s', $order));
        }

        return $order;
    }
public function getOrderReference ( TransactionInterface $ transaction ) { $ order = $ transaction -> get ( 'order' , null ) ; if ( $ this -> getLogger ( ) ) { $ this -> getLogger ( ) -> notice ( sprintf ( '[BasePaypalPayment::loadOrder] order=%s' , $ order ) ) ; } return $ order ; }
return the order reference from the transaction object.

@param TransactionInterface $transaction

@return string
return the order reference from the transaction object .