[IMP] pms_api_rest: add cancellation flow and more

This commit is contained in:
Sara Lago
2021-08-06 09:41:52 +02:00
committed by Darío Lodeiros
parent 41a1df4fda
commit f904489e62
3 changed files with 42 additions and 1 deletions

View File

@@ -14,4 +14,12 @@ class PmsReservationShortInfo(Datamodel):
roomTypeId = fields.String(required=True, allow_none=False)
name = fields.String(required=True, allow_none=False)
partnerRequests = fields.String(required=False, allow_none=True)
pwaActionButtons = fields.Dict(required=False, allow_none=True)
state = fields.String(required=True, allow_none=False)
priceTotal = fields.Float(required=True, allow_none=True)
adults = fields.Integer(required=True, allow_none=False)
channelTypeId = fields.String(required=False, allow_none=True)
agencyId = fields.String(required=False, allow_none=True)
boardServiceId = fields.String(required=False, allow_none=True)
checkinsRatio = fields.Float(required=True, allow_none=False)
outstanding = fields.Float(required=True, allow_none=False)
pwaActionButtons = fields.Dict(required=True, allow_none=False)