[FIX] pms-api-rest: num. services, amenities, round(discount), cancelation rule.

This commit is contained in:
miguelpadin
2022-07-12 10:35:44 +02:00
committed by Darío Lodeiros
parent f661b67a4a
commit c87c5153ef
5 changed files with 11 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ class PmsReservationInfo(Datamodel):
pendingCheckinData = fields.Integer(required=False, allow_none=True)
createDate = fields.String(required=False, allow_none=True)
segmentationId = fields.Integer(required=False, allow_none=True)
cancellationPolicyId = fields.Integer(required=False, allow_none=True)
cancelationRuleId = fields.Integer(required=False, allow_none=True)
toAssign = fields.Boolean(required=False, allow_none=True)
reservationType = fields.String(required=False, allow_none=True)

View File

@@ -23,4 +23,4 @@ class PmsRoomInfo(Datamodel):
roomTypeClassId = fields.Integer(required=False, allow_none=True)
ubicationId = fields.Integer(required=False, allow_none=True)
extraBedsAllowed = fields.Integer(required=False, allow_none=True)
roomAmenityIds = fields.List(fields.Integer(), required=False)
roomAmenityIds = fields.List(fields.Integer(), required=False, allow_none=True)