If the buyer wrongfully rejects or revokes acceptance of goods or fails to make a payment due on or before delivery or repudiates with respect to a part or the whole, then with respect to any goods directly affected and, if the breach is of the whole contract (section 41-02-75), then also with respect to the whole undelivered balance, the aggrieved seller may:
N.D.C.C. § 41-02-82