Skip to content

Commit

Permalink
floats updated to integers
Browse files Browse the repository at this point in the history
  • Loading branch information
Emily Underhill committed Feb 27, 2024
1 parent d1cc10c commit db96887
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions src/Models/BookingStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions swagger/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit db96887

Please sign in to comment.