UParkingTariffCreateParams constructor

UParkingTariffCreateParams({
  1. required String parkingId,
  2. required int vehicleType,
  3. required List<int> tags,
  4. double entrancePrice = 0,
  5. double dayHourlyPrice = 0,
  6. double nightHourlyPrice = 0,
  7. double dailyCap = 0,
  8. double weeklyPrice = 0,
  9. double monthlyPrice = 0,
  10. double quarterlyPrice = 0,
  11. int freeMinutes = 0,
  12. int nightStartHour = 22,
  13. int nightEndHour = 6,
  14. int holidayExtraPercent = 0,
  15. bool roundToFullHour = false,
  16. bool perMinuteAfterFirstHour = true,
  17. int subscriptionDailyEntryLimit = 0,
  18. bool subscriptionOfficeHoursOnly = false,
  19. int subscriptionExpiryReminderDays = 5,
  20. String detail1 = "",
  21. String detail2 = "",
  22. String? id,
  23. String? creatorId,
  24. List<String>? adminUserIds,
})

Implementation

UParkingTariffCreateParams({
  required this.parkingId,
  required this.vehicleType,
  required this.tags,
  this.entrancePrice = 0,
  this.dayHourlyPrice = 0,
  this.nightHourlyPrice = 0,
  this.dailyCap = 0,
  this.weeklyPrice = 0,
  this.monthlyPrice = 0,
  this.quarterlyPrice = 0,
  this.freeMinutes = 0,
  this.nightStartHour = 22,
  this.nightEndHour = 6,
  this.holidayExtraPercent = 0,
  this.roundToFullHour = false,
  this.perMinuteAfterFirstHour = true,
  this.subscriptionDailyEntryLimit = 0,
  this.subscriptionOfficeHoursOnly = false,
  this.subscriptionExpiryReminderDays = 5,
  this.detail1 = "",
  this.detail2 = "",
  this.id,
  this.creatorId,
  this.adminUserIds,
});