Return average rate for calendar range
All checks were successful
build-and-deploy / build-deploy (push) Successful in 1m34s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 1m34s
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user