A proposed class action suit filed Thursday in the Eastern District of New York alleges that JetBlue Airways violated federal law and its own contract with passengers by offering them flight credits rather than refunds amid the disruption of the coronavirus pandemic.

JetBlue canceled “hundreds of daily flights” in late March and April as travel plummeted and restrictions expanded, according to the suit, which was filed in Brooklyn federal court by Laurie Rubinow, a Connecticut-based partner in Shepherd, Finkelman, Miller & Shah.