Sonata\Component\Payment\PaymentInterface::getOrderReference PHP Method

getOrderReference() public method

return the order reference from the transaction.
public getOrderReference ( Sonata\Component\Payment\TransactionInterface $transaction ) : string
$transaction Sonata\Component\Payment\TransactionInterface
return string
    public function getOrderReference(TransactionInterface $transaction);