From db96887537921a1043bcdbccaad8c48d884c65d9 Mon Sep 17 00:00:00 2001 From: Emily Underhill Date: Tue, 27 Feb 2024 14:56:48 +0000 Subject: [PATCH] floats updated to integers --- src/Models/BookingStatus.php | 12 ++++++------ swagger/api.yml | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Models/BookingStatus.php b/src/Models/BookingStatus.php index fdc9fc5..d5a3be2 100644 --- a/src/Models/BookingStatus.php +++ b/src/Models/BookingStatus.php @@ -40,9 +40,9 @@ class BookingStatus extends SwaggerModel /** * 1|0, indicates whether the contract requires a guarantor - * @var float + * @var int */ - protected $guarantor_required = 0.0; + protected $guarantor_required = 0; /** * Name of the booking's property manager @@ -70,9 +70,9 @@ class BookingStatus extends SwaggerModel /** * Total contract duration in days - * @var float + * @var int */ - protected $contract_length = 0.0; + protected $contract_length = 0; /** * Total rent per person per week @@ -100,9 +100,9 @@ class BookingStatus extends SwaggerModel /** * Number of tenants included in the booking - * @var float + * @var int */ - protected $tenancy_size = 0.0; + protected $tenancy_size = 0; /** * Number of rent instalments due throughout the duration of the contract diff --git a/swagger/api.yml b/swagger/api.yml index 4ac0c11..66000ac 100644 --- a/swagger/api.yml +++ b/swagger/api.yml @@ -1497,7 +1497,7 @@ definitions: type: string description: Phone number of the user who initiated the booking guarantor_required: - type: number + type: integer description: 1|0, indicates whether the contract requires a guarantor property_manager_name: type: string @@ -1512,7 +1512,7 @@ definitions: type: string description: End date of the contract contract_length: - type: number + type: integer description: Total contract duration in days rent_pppw: type: number @@ -1527,10 +1527,10 @@ definitions: type: number description: Total monetary value of the contract tenancy_size: - type: number + type: integer description: Number of tenants included in the booking rent_instalments: - type: number + type: integer description: Number of rent instalments due throughout the duration of the contract created_datetime: type: string