1129. Confirmation of plan

(a) The court shall confirm a plan only if all of the following requirements are met: . . .

     (8) With respect to each class of claims or interests--

           (A) such class has accepted the plan; or

           (B) such class is not impaired under the plan.    * * *

(b)(1) Notwithstanding section 510(a) of this title, if all of the applicable requirements of subsection (a) of this section other than paragraph (8) are met with respect to a plan, the court, on request of the proponent of the plan, shall confirm the plan notwithstanding the requirements of such paragraph if the plan does not discriminate unfairly, and is fair and equitable, with respect to each class of claims or interests that is impaired under, and has not accepted, the plan.

(2) For the purpose of this subsection, the condition that a plan be fair and equitable with respect to a class includes the following requirements:

(A) With respect to a class of secured claims, the plan provides--

(i) (I) that the holders of such claims retain the liens securing such claims, whether the property subject to such liens is retained by the debtor or transferred to another entity, to the extent of the allowed amount of such claims; and

(II) that each holder of a claim of such class receive on account of such claim deferred cash payments totaling at least the allowed amount of such claim, of a value, as of the effective date of the plan, of at least the value of such holder's interest in the estate's interest in such property;

(ii) for the sale, subject to section 363(k) of this title [11 USCS @ 363(k)], of any property that is subject to the liens securing such claims, free and clear of such liens, with such liens to attach to the proceeds of such sale, and the treatment of such liens on proceeds under clause (i) or (iii) of this subparagraph; or

(iii) for the realization by such holders of the indubitable equivalent of such claims.

(B) With respect to a class of unsecured claims--

(i) the plan provides that each holder of a claim of such class receive or retain on account of such claim property of a value, as of the effective date of the plan, equal to the allowed amount of such claim; or

(ii) the holder of any claim or interest that is junior to the claims of such class will not receive or retain under the plan on account of such junior claim or interest any property.

(C) With respect to a class of interests--

(i) the plan provides that each holder of an interest of such class receive or retain on account of such interest property of a value, as of the effective date of the plan, equal to the greatest of the allowed amount of any fixed liquidation preference to which such holder is entitled, any fixed redemption price to which such holder is entitled, or the value of such interest; or

(ii) the holder of any interest that is junior to the interests of such class will not receive or retain under the plan on account of such junior interest any property.