N.Y. General Business Law § 199-J
2.
3. Franchise provisions. Any provision of a franchise with a refiner which prohibits a dealer, who either directly or through an affiliate owns a service station including the tanks and pumps and who dedicates a tank for sale of unbranded motor fuel, or a distributor from purchasing or selling unbranded motor fuel from a person or firm other than the refiner or limits the quantity of such unbranded motor fuel to be purchased from another person or firm or any provision of a franchise which directly or indirectly discourages a dealer or distributor from purchasing or selling such unbranded motor fuels from another person or firm, shall be null and void. For purposes of this subdivision and subdivisions four, five and six of this section the following terms shall have the following meanings: