  Optimal dividend strategy in dual risk model is well studied in the
literatures. But to the best of our knowledge, all the previous works assumes
deterministic interest rate. In this paper, we study the optimal dividends
strategy in dual risk model, under a stochastic interest rate, assuming the
discounting factor follows a geometric Brownian motion or exponential L\'evy
process. We will show that closed form solutions can be obtained.
