Is there a way to use discounts on annual payments but not on monthly and quarterly payments?

Is there a way to use discounts on annual payments but not on monthly and quarterly payments?