/** * @author buenger */ var Settings = { getCreditMinRuntime: function () { return 6; }, getCreditMinPrice: function () { return 500; }, getCreditMaxPrice: function () { return 250000; }, getLeasingMinPrice: function () { return this.leasingMinPrice; }, getLeasingMinRuntime: function () { return 6; }, setLeasingMinPrice: function (a_productId) { switch (a_productId) { case Const.BIKE: this.leasingMinPrice = 2000; break; default: this.leasingMinPrice = 4000; break; } }, getLeasingMaxPrice: function () { return this.leasingMaxPrice; }, setLeasingMaxPrice: function (a_productId) { switch (a_productId) { default: this.leasingMaxPrice = 250000; break; } }, leasingMinPrice: new Number(), leasingMaxPrice: new Number() }