public function clean() { $this->freeMiles = InputUtil::getInt($this->freeMiles); $this->mileageFee = !is_null(InputUtil::getFloat($this->mileageFee)) ? InputUtil::getFloat($this->mileageFee) : InputUtil::getInt($this->mileageFee); }
public function clean() { $this->vendorId = InputUtil::getInt($this->vendorId); $this->rate = InputUtil::getFloat($this->rate); $this->rateTypeId = InputUtil::getInt($this->rateTypeId); }
public function clean() { $this->rate = InputUtil::getFloat($this->rate); $this->bookingPolicyId = InputUtil::getInt($this->bookingPolicyId); $this->cancellationPolicyId = InputUtil::getInt($this->cancellationPolicyId); $this->fixedMileageFeeId = InputUtil::getInt($this->fixedMileageFeeId); $this->vendorId = InputUtil::getInt($this->vendorId); $this->vehicleTypeId = InputUtil::getInt($this->vehicleTypeId); $this->vehicleClassId = InputUtil::getInt($this->vehicleClassId); }
public function clean() { $this->minimumDays = InputUtil::getInt($this->minimumDays); $this->percentDiscount = InputUtil::getFloat($this->percentDiscount); $this->rentalId = InputUtil::getInt($this->rentalId); }
public function clean() { $this->perGallonFee = !is_null(InputUtil::getFloat($this->perGallonFee)) ? InputUtil::getFloat($this->perGallonFee) : InputUtil::getInt($this->perGallonFee); }