Return average rate for calendar range
All checks were successful
build-and-deploy / build-deploy (push) Successful in 1m34s

This commit is contained in:
androidlover5842
2026-01-29 11:28:58 +05:30
parent 173d3fa9ea
commit ff301d80fa
2 changed files with 30 additions and 2 deletions

View File

@@ -41,6 +41,15 @@ data class RateCalendarResponse(
val rate: Long
)
data class RateCalendarAverageResponse(
val ratePlanId: UUID,
val from: LocalDate,
val to: LocalDate,
val averageRate: Double,
val days: Int,
val currency: String
)
data class RoomStayRateChangeRequest(
val effectiveAt: String,
val nightlyRate: Long,