Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added reference to ISO-4217 for all currency codes #197

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion channel-manager-operations/availabilityBlock.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
| :-- | :-- | :-- | :-- |
| `start` | `string` | required | Start date in format `"yyyy-MM-dd"` \(e.g. `"2021-12-24"`\). |
| `end` | `string` | required | End date \(excluded\) in format `"yyyy-MM-dd"` \(e.g., `"2021-12-31"`\). |
| `currencyCode` | `string` | required | Three letter code of the currency. |
| `currencyCode` | `string` | required | [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) three-letter currency code of the rate prices. |
| `prices` | [`Price`](../channel-manager-operations/inventory.md#price) collection | required | Collection of prices for each person count, for the specified rate plan - space type - date combination. |

> **Dates**: Interval for 1 night (e.g. is represented 2021-12-24/25 is represented as `"start": "2021-12-24", "end": "2021-12-24"`).
Expand Down
4 changes: 2 additions & 2 deletions channel-manager-operations/inventory.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Mews always pushes both `gross` and `net` prices, the channel manager chooses wh
| :-- | :-- | :-- | :-- |
| `grossAmount` | `decimal` | required | Price with taxes included. |
| `netAmount` | `decimal` | required | Price with taxes excluded. |
| `currencyCode` | `string` | required | The three-letter code of the rate price currency. |
| `currencyCode` | `string` | required | [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) three-letter currency code of the price. |
| `guestCount` | `int` | required | The person count for the rate price. |

#### Age price
Expand All @@ -137,7 +137,7 @@ Mews always pushes both `gross` and `net` prices, the channel manager chooses wh
| ~~`amount`~~ | ~~`decimal`~~ | ~~required~~ | ~~The price amount.~~ **[Deprecated!](../deprecations/README.md)** |
| `grossAmount` | `decimal` | required | Price with taxes included. |
| `netAmount` | `decimal` | required | Price with taxes excluded. |
| `currencyCode` | `string` | required | The three-letter code of the rate price currency. |
| `currencyCode` | `string` | required | [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) three-letter currency code of the age price. |
| `guestCount` | `int` | required | The person count for the rate price. |
| `ageCategoryCode` | `string` | required | Mapping code of the age category. |

Expand Down
2 changes: 1 addition & 1 deletion channel-manager-operations/reservations.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ The operation supports creations, modifications, and partial or complete cancell
| `channelManagerId` | `string` | optional | Unique identification of the booking in the channel manager. Sent always once provided by channel manager. |
| `availabilityBlockCode` | `string` | optional | Unique identification of the availability block in the channel manager. |
| `availabilityBlockConfirmationNumber` | `string` | optional | Unique identification of the availability block in the Mews. |
| `currencyCode` | `string` | required \(exc. Cancellation\) | 3 letter code of currency of all prices within the booking. |
| `currencyCode` | `string` | required \(exc. Cancellation\) | [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) three-letter currency code of all prices within the booking. |
| `totalAmount` | [`Amount`](../mews-operations/reservations.md#amount) object | required \(exc. Cancellation\) | Total amount of the whole booking. |
| `customer` | [`Customer`](../mews-operations/reservations.md#customer) object | required \(exc. Cancellation\) | Represents the main booker. Does not necessarily mean that the person arrives to the property. |
| `sources` | [`Source`](../mews-operations/reservations.md#source) collection | optional | Represents the sources for the booking. |
Expand Down
6 changes: 3 additions & 3 deletions mews-operations/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ This is an example of a _successful_ response. In case an error occurred, the re
| :-- | :-- | :-- | :-- |
| `code` | `string` | required | Mapping code of the rate plan. |
| `name` | `string` | required | Name of the rate plan. |
| `currencyCode` | `string` | required | Three-letter currency code of the rate plan price. |
| `currencyCode` | `string` | required | [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) three-letter currency code of the rate plan price. |
| `description` | `string` | optional | Description of the rate plan. |
| ~~`paymentType`~~ | ~~`int`~~ | ~~required~~ | ~~[`Payment type`](#payment-types) code.~~ [**Deprecated!**](../deprecations/README.md)|
| `cancellationPolicies` | [`Cancellation Policy`](#cancellation-policy) collection | optional | Cancellation policies of the rate plan. |
Expand Down Expand Up @@ -469,7 +469,7 @@ This is an example of a _successful_ response. In case an error occurred, the re
| Property | Type | Contract | Description |
| :-- | :-- | :-- | :-- |
| `amount` | `decimal` | required | Defines the amount of the absolute fee. Sent in `gross`. |
| `currencyCode` | `string` | required | 3 letter currency code of the absolute fee. |
| `currencyCode` | `string` | required | [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) three-letter currency code of the absolute fee. |

#### Relative Cancellation Penalty

Expand Down Expand Up @@ -547,7 +547,7 @@ This is an example of a _successful_ response. In case an error occurred, the re
| `name` | `string` | required | Name of the product. |
| `description` | `string` | optional | Description of the product. |
| `unitAmount` | [`Amount`](reservations.md#amount) object | required | A product cost. |
| `currencyCode` | `string` | required | 3 letter currency code of the product. |
| `currencyCode` | `string` | required | [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) three-letter currency code of the product. |
| `netValue` | `decimal` | required | Tax exclusive product cost. |
| `grossValue` | `decimal` | required | Tax inclusive product cost. |
| `cancellationPolicies` | [`Cancellation Policy`](#cancellation-policy) collection | optional | Cancellation policies of the rate plan. |
Expand Down
Loading