Room Stays: Change nightly rate (mid-stay renegotiation) #3

Open
opened 2026-02-08 20:28:00 +05:30 by androidlover5842 · 0 comments

Goal

  • Add UI to change nightly rate for a room stay with an effective timestamp.

API

  • POST /properties/{propertyId}/room-stays/{roomStayId}/change-rate

Work

  • Add Retrofit endpoint + request/response DTOs in data/api/service + data/api/model.
  • UI: on a stay, open a form (effectiveAt, nightlyRate, rateSource, optional ratePlanCode, currency).
  • Show current rate and history if available (or at least latest).

Engineering requirements

  • Follow Room DB sync rule.
  • After success: refresh booking details + active stays; avoid duplicating refresh logic (extract helper if needed).

Acceptance

  • Rate change reflects in booking details calculations and stays list after mutation.
Goal - Add UI to change nightly rate for a room stay with an effective timestamp. API - POST `/properties/{propertyId}/room-stays/{roomStayId}/change-rate` Work - Add Retrofit endpoint + request/response DTOs in `data/api/service` + `data/api/model`. - UI: on a stay, open a form (effectiveAt, nightlyRate, rateSource, optional ratePlanCode, currency). - Show current rate and history if available (or at least latest). Engineering requirements - Follow Room DB sync rule. - After success: refresh booking details + active stays; avoid duplicating refresh logic (extract helper if needed). Acceptance - Rate change reflects in booking details calculations and stays list after mutation.
androidlover5842 added the featureroom-stayuxapiroom-db-sync labels 2026-02-08 20:28:00 +05:30
androidlover5842 added this to the TrisolarisPMS Roadmap project 2026-02-09 00:56:18 +05:30
Sign in to join this conversation.