Skip to content

Commit 4ec600f

Browse files
Merge pull request #197 from MewsSystems/currency-code-update
Added reference to ISO-4217 for all currency codes
2 parents 1312046 + 8ff955e commit 4ec600f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

channel-manager-operations/availabilityBlock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
| :-- | :-- | :-- | :-- |
167167
| `start` | `string` | required | Start date in format `"yyyy-MM-dd"` \(e.g. `"2021-12-24"`\). |
168168
| `end` | `string` | required | End date \(excluded\) in format `"yyyy-MM-dd"` \(e.g., `"2021-12-31"`\). |
169-
| `currencyCode` | `string` | required | Three letter code of the currency. |
169+
| `currencyCode` | `string` | required | [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) three-letter currency code of the rate prices. |
170170
| `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. |
171171

172172
> **Dates**: Interval for 1 night (e.g. is represented 2021-12-24/25 is represented as `"start": "2021-12-24", "end": "2021-12-24"`).

channel-manager-operations/inventory.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Mews always pushes both `gross` and `net` prices, the channel manager chooses wh
127127
| :-- | :-- | :-- | :-- |
128128
| `grossAmount` | `decimal` | required | Price with taxes included. |
129129
| `netAmount` | `decimal` | required | Price with taxes excluded. |
130-
| `currencyCode` | `string` | required | The three-letter code of the rate price currency. |
130+
| `currencyCode` | `string` | required | [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) three-letter currency code of the price. |
131131
| `guestCount` | `int` | required | The person count for the rate price. |
132132

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

channel-manager-operations/reservations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ The operation supports creations, modifications, and partial or complete cancell
229229
| `channelManagerId` | `string` | optional | Unique identification of the booking in the channel manager. Sent always once provided by channel manager. |
230230
| `availabilityBlockCode` | `string` | optional | Unique identification of the availability block in the channel manager. |
231231
| `availabilityBlockConfirmationNumber` | `string` | optional | Unique identification of the availability block in the Mews. |
232-
| `currencyCode` | `string` | required \(exc. Cancellation\) | 3 letter code of currency of all prices within the booking. |
232+
| `currencyCode` | `string` | required \(exc. Cancellation\) | [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) three-letter currency code of all prices within the booking. |
233233
| `totalAmount` | [`Amount`](../mews-operations/reservations.md#amount) object | required \(exc. Cancellation\) | Total amount of the whole booking. |
234234
| `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. |
235235
| `sources` | [`Source`](../mews-operations/reservations.md#source) collection | optional | Represents the sources for the booking. |

mews-operations/configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ This is an example of a _successful_ response. In case an error occurred, the re
419419
| :-- | :-- | :-- | :-- |
420420
| `code` | `string` | required | Mapping code of the rate plan. |
421421
| `name` | `string` | required | Name of the rate plan. |
422-
| `currencyCode` | `string` | required | Three-letter currency code of the rate plan price. |
422+
| `currencyCode` | `string` | required | [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) three-letter currency code of the rate plan price. |
423423
| `description` | `string` | optional | Description of the rate plan. |
424424
| ~~`paymentType`~~ | ~~`int`~~ | ~~required~~ | ~~[`Payment type`](#payment-types) code.~~ [**Deprecated!**](../deprecations/README.md)|
425425
| `cancellationPolicies` | [`Cancellation Policy`](#cancellation-policy) collection | optional | Cancellation policies of the rate plan. |
@@ -469,7 +469,7 @@ This is an example of a _successful_ response. In case an error occurred, the re
469469
| Property | Type | Contract | Description |
470470
| :-- | :-- | :-- | :-- |
471471
| `amount` | `decimal` | required | Defines the amount of the absolute fee. Sent in `gross`. |
472-
| `currencyCode` | `string` | required | 3 letter currency code of the absolute fee. |
472+
| `currencyCode` | `string` | required | [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) three-letter currency code of the absolute fee. |
473473

474474
#### Relative Cancellation Penalty
475475

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

0 commit comments

Comments
 (0)