How to set up vendor discount terms

I have a vendor who terms are 2% 2ND 10th net 2ND 30th.  I am trying how to figure out how to enter terms based on the windows that are available for entry of this information.