Skip to content

Commit

Permalink
Merge pull request #163 from lux-group/CONLT-83
Browse files Browse the repository at this point in the history
feat(tax): add taxes and fees
  • Loading branch information
reb2020 authored Oct 12, 2021
2 parents 568f2e8 + 790c81c commit e31f572
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@luxuryescapes/lib-types",
"version": "1.5.12",
"version": "1.5.13",
"types": "types/index.d.ts",
"repository": "[email protected]:brandsExclusive/lib-types.git",
"author": "Rufus Post <[email protected]>",
Expand Down
7 changes: 7 additions & 0 deletions types/api/reservation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,12 @@ export namespace Reservation {
result: Property;
}

interface TaxesAndFees {
name: string;
unit: "percentage" | "amount";
value: number;
}

interface Property {
_links: PropertyLinks;
room_types_count: number;
Expand Down Expand Up @@ -240,6 +246,7 @@ export namespace Reservation {
max_infant_age: number | null;
timezone: string;
timezone_offset: number;
taxes_and_fees?: TaxesAndFees[];
taxes_and_fees_content?: string;
}

Expand Down

0 comments on commit e31f572

Please sign in to comment.