public function clean()
 {
     $this->rentalId = InputUtil::getInt($this->seasonId);
     $this->seasonId = InputUtil::getInt($this->seasonId);
     $this->dailyRate = floatval($this->dailyRate);
     $this->applyDurationDiscount = BooleanUtil::getBooleanValue($this->applyDurationDiscount);
 }
 public function clean()
 {
     $this->vendorId = IU::getInt($this->vendorId);
     $this->vehicleTypeId = IU::getInt($this->vehicleTypeId);
     $this->vendorLocationId = IU::getInt($this->vendorLocationId);
     $this->vehicleModelId = IU::getInt($this->vehicleModelId);
     $this->vehicleClassId = IU::getInt($this->vehicleClassId);
     $this->transmissionId = IU::getInt($this->transmissionId);
     $this->fuelTypeId = IU::getInt($this->fuelTypeId);
     $this->accommodates = IU::getInt($this->accommodates);
     $this->yearCreated = IU::getInt($this->yearCreated);
 }
 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->countryId = IU::getInt($this->countryId);
 }
 public function clean()
 {
     $this->userId = InputUtil::getInt($this->userId);
     $this->vendorId = InputUtil::getInt($this->vendorId);
 }
 public function clean()
 {
     $this->vendorId = InputUtil::getInt($this->vendorId);
     $this->name = trim($this->name);
 }
 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->subdivisionId = InputUtil::getInt($this->subdivisionId);
 }
 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->ids = IU::getIdsString($this->ids);
     $this->published = BU::getBooleanValue($this->published);
     $this->vendorIds = IU::getIdsString($this->vendorIds);
     $this->fromDate = DU::validate($this->fromDate, 'YYYY-MM-DD') ? $this->fromDate : null;
     $this->toDate = DU::validate($this->toDate, 'YYYY-MM-DD') ? $this->toDate : null;
     $this->vehicleIds = IU::getIdsString($this->vehicleIds);
     $this->vehicleTypeIds = IU::getIdsString($this->vehicleTypeIds);
     $this->vehicleClassIds = IU::getIdsString($this->vehicleClassIds);
     $this->vehicleMakeIds = IU::getIdsString($this->vehicleMakeIds);
     $this->vehicleModelIds = IU::getIdsString($this->vehicleModelIds);
     $this->fuelTypeIds = IU::getIdsString($this->fuelTypeIds);
     $this->transmissionIds = IU::getIdsString($this->transmissionIds);
     $this->limit = IU::getInt($this->limit);
     $this->page = IU::getInt($this->page);
 }
 public function clean()
 {
     $this->year = InputUtil::getInt($this->year);
 }
 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->perGallonFee = !is_null(InputUtil::getFloat($this->perGallonFee)) ? InputUtil::getFloat($this->perGallonFee) : InputUtil::getInt($this->perGallonFee);
 }