protected function setPaynetId(PaymentTransaction $paymentTransaction, Response $response)
    {
        $responsePaynetId = $response->getPaymentPaynetId();

        if(strlen($responsePaynetId) > 0)
        {
            $paymentTransaction
                ->getPayment()
                ->setPaynetId($responsePaynetId)
            ;
        }
    }
protected function setPaynetId(PaymentTransaction $paymentTransaction, Response $response)
    {
        $responsePaynetId = $response->getPaymentPaynetId();

        if(strlen($responsePaynetId) > 0)
        {
            $paymentTransaction
                ->getPayment()
                ->setPaynetId($responsePaynetId)
            ;
        }
    }
protected function setPaynetId ( PaymentTransaction $ paymentTransaction , Response $ response ) { $ responsePaynetId = $ response -> getPaymentPaynetId ( ) ; if ( strlen ( $ responsePaynetId ) > 0 ) { $ paymentTransaction -> getPayment ( ) -> setPaynetId ( $ responsePaynetId ) ; } }
Set PaynetEasy payment id to payment transaction Payment

@param       PaymentTransaction      $paymentTransaction     Payment transaction
@param       Response                $response               Query response
Set PaynetEasy payment id to payment transaction Payment