def set_paynet_id(payment_transaction, response)
      if response.payment_paynet_id
        payment_transaction.payment.paynet_id = response.payment_paynet_id
      end
    end
def set_paynet_id(payment_transaction, response)
      if response.payment_paynet_id
        payment_transaction.payment.paynet_id = response.payment_paynet_id
      end
    end
Set PaynetEasy payment id to payment transaction Payment

 @param    payment_transaction   [PaymentTransaction]    Payment transaction for update
 @param    response              [Response]              API gateway response