Skip to content

Commit

Permalink
Merge pull request #764 from duffelhq/STAYS-671
Browse files Browse the repository at this point in the history
fix: add stays booking loyalty_programme_account_number
  • Loading branch information
andrejak committed Jul 19, 2023
2 parents 38a5236 + 5674fb6 commit e6d8c17
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Stays/StaysTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,12 @@ export interface StaysBooking {
| null

/**
* The number of rooms in the booking
* Loyalty account number to associate with this booking. Use this only when the quote has a supported_loyalty_programme indicated. Otherwise, this will result into an error.
*/
loyalty_programme_account_number: string | null

/**
* The number of rooms in the booking.
*/
rooms: number
}
Expand Down
1 change: 1 addition & 0 deletions src/Stays/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ export const MOCK_BOOKING: StaysBooking = {
},
],
supported_loyalty_programme: null,
loyalty_programme_account_number: null,
rooms: 1,
}

Expand Down

0 comments on commit e6d8c17

Please sign in to comment.