-
Notifications
You must be signed in to change notification settings - Fork 27
MMP-11683-orderitems-getall #765
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,6 +67,7 @@ Returns the enterprise configuration. For single-enterprise Access Tokens, this | |
"IsPortfolio": false, | ||
"Id": "851df8c8-90f2-4c4a-8e01-a4fc46b25178", | ||
"ExternalIdentifier": null, | ||
"HoldingKey": "CA123", | ||
"ChainId": "8ddea57b-6a5c-4eec-8c4c-24467dce118e", | ||
"CreatedUtc": "2015-07-07T13:33:17Z", | ||
"UpdatedUtc": "2015-07-07T13:33:17Z", | ||
|
@@ -151,6 +152,7 @@ Returns the enterprise configuration. For single-enterprise Access Tokens, this | |
| :-- | :-- | :-- | :-- | | ||
| `Id` | string | required | Unique identifier of the enterprise. | | ||
| `ExternalIdentifier` | string | optional, max length 255 characters | Identifier of the enterprise from external system. | | ||
| `HoldingKey` | string | optional, max length 255 characters | Identifies an enterprise in the external system of a holding company. The holding company may administer multiple portfolios. | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Change Not related to allowances. It seems o be a change merged but not yet published by automated generation. |
||
| `ChainId` | string | required | Unique identifier of the chain to which the enterprise belongs. | | ||
| `CreatedUtc` | string | required | Creation date and time of the enterprise in UTC timezone in ISO 8601 format. | | ||
| `UpdatedUtc` | string | required | Creation date and time of the enterprise in UTC timezone in ISO 8601 format. | | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,6 +56,7 @@ Returns all enterprises within scope of the `Access Token`, optionally filtered | |
"LinkedUtc": "2023-06-01T00:00:00Z", | ||
"Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", | ||
"ExternalIdentifier": "Enterprise2023", | ||
"HoldingKey": "CA123", | ||
"ChainId": "2f6be44e-9881-4b12-aefe-afce011a9d67", | ||
"CreatedUtc": "2022-03-23T17:12:06Z", | ||
"UpdatedUtc": "2022-03-23T17:12:06Z", | ||
|
@@ -111,6 +112,7 @@ Returns all enterprises within scope of the `Access Token`, optionally filtered | |
| :-- | :-- | :-- | :-- | | ||
| `Id` | string | required | Unique identifier of the enterprise. | | ||
| `ExternalIdentifier` | string | optional, max length 255 characters | Identifier of the enterprise from external system. | | ||
| `HoldingKey` | string | optional, max length 255 characters | Identifies an enterprise in the external system of a holding company. The holding company may administer multiple portfolios. | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Change Not related to allowances. It seems o be a change merged but not yet published by automated generation. |
||
| `ChainId` | string | required | Unique identifier of the chain to which the enterprise belongs. | | ||
| `CreatedUtc` | string | required | Creation date and time of the enterprise in UTC timezone in ISO 8601 format. | | ||
| `UpdatedUtc` | string | required | Creation date and time of the enterprise in UTC timezone in ISO 8601 format. | | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -358,6 +358,8 @@ Returns all order items. At least one of the `OrderItemIds`, `ServiceOrderIds`, | |
* `AllowanceDiscount` | ||
* `AllowanceBreakage` | ||
* `AllowanceContraBreakage` | ||
* `AllowanceLoss` | ||
* `AllowanceContraLoss` | ||
Comment on lines
+361
to
+362
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. breaking change |
||
|
||
#### Order item options | ||
Options of the order item. | ||
|
@@ -374,11 +376,21 @@ Additional order item data. | |
| `Discriminator` | [Order item data discriminator](orderitems.md#order-item-data-discriminator) | required | Discriminator pointing to the fields within this object that contains additional data. | | ||
| `Rebate` | [Rebate data](orderitems.md#rebate-data) | optional | Contains additional data in the case of rebate item. | | ||
| `Product` | [Product data](orderitems.md#product-data) | optional | Contains additional data in the case of product item. | | ||
| `AllowanceDiscount` | [Allowance Discount Data](orderitems.md#allowance-discount-data) | optional | Contains additional data in the case of allowance discount. | | ||
| `AllowanceBreakage` | [Allowance Breakage Data](orderitems.md#allowance-breakage-data) | optional | Contains additional data in the case of allowance breakage (profit). | | ||
| `AllowanceContraBreakage` | [Allowance Breakage Contra Revenue Data](orderitems.md#allowance-breakage-contra-revenue-data) | optional | Contains additional data in the case of allowance breakage contra revenue. | | ||
| `AllowanceLoss` | [Allowance Loss Data](orderitems.md#allowance-loss-data) | optional | Contains additional data in the case of allowance loss. | | ||
| `AllowanceContraLoss` | [Allowance Loss Contra Revenue Data](orderitems.md#allowance-loss-contra-revenue-data) | optional | Contains additional data in the case of allowance breakage contra revenue. | | ||
Comment on lines
+379
to
+383
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. breaking change |
||
|
||
#### Order item data discriminator | ||
|
||
* `Rebate` | ||
* `Product` | ||
* `Rebate` - Rebate. | ||
* `Product` - Product. | ||
* `AllowanceDiscount` - Allowance discount. | ||
* `AllowanceBreakage` - Profit of the allowance product. | ||
* `AllowanceBreakageContraRevenue` - Accounting balance for profit of the allowance product. | ||
* `AllowanceLoss` - Loss of the allowance product. | ||
* `AllowanceLossContraRevenue` - Accounting balance for loss of the allowance product. | ||
|
||
#### Rebate data | ||
|
||
|
@@ -393,6 +405,43 @@ Additional order item data. | |
| :-- | :-- | :-- | :-- | | ||
| `ProductId` | string | required | Unique identifier of the [Product](products.md#product). | | ||
| `AgeCategoryId` | string | optional | Unique identifier of the [Age Category](agecategories.md#age-category). | | ||
| `ProductType` | [Product type](orderitems.md#product-type) | required | Type of Product, e.g. whether allowance or product. | | ||
|
||
#### Product type | ||
|
||
* `Product` | ||
* `Allowance` | ||
|
||
#### Allowance Discount Data | ||
|
||
| Property | Type | Contract | Description | | ||
| :-- | :-- | :-- | :-- | | ||
| `AllowanceProductOrderItemId` | string | required | Unique identifier of the allowance product [Order item](orderitems.md#order-item) which credit has been consumed by current item. | | ||
| `DiscountedOrderItemId` | string | required | Unique identifier of [Order item](orderitems.md#order-item) which has been discounted by current item. | | ||
|
||
#### Allowance Breakage Data | ||
|
||
| Property | Type | Contract | Description | | ||
| :-- | :-- | :-- | :-- | | ||
| `AllowanceProductOrderItemId` | string | required | Unique identifier of the allowance product [Order item](orderitems.md#order-item) which credit has been consumed by current item. | | ||
|
||
#### Allowance Breakage Contra Revenue Data | ||
|
||
| Property | Type | Contract | Description | | ||
| :-- | :-- | :-- | :-- | | ||
| `AllowanceProductOrderItemId` | string | required | Unique identifier of the allowance product [Order item](orderitems.md#order-item) which credit has been consumed by current item. | | ||
|
||
#### Allowance Loss Data | ||
|
||
| Property | Type | Contract | Description | | ||
| :-- | :-- | :-- | :-- | | ||
| `AllowanceProductOrderItemId` | string | required | Unique identifier of the allowance product [Order item](orderitems.md#order-item) which credit has been consumed by current item. | | ||
|
||
#### Allowance Loss Contra Revenue Data | ||
|
||
| Property | Type | Contract | Description | | ||
| :-- | :-- | :-- | :-- | | ||
| `AllowanceProductOrderItemId` | string | required | Unique identifier of the allowance product [Order item](orderitems.md#order-item) which credit has been consumed by current item. | | ||
|
||
#### Tax exemption reason type | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -359,7 +359,7 @@ Updates information about the specified vouchers. Note this operation supports [ | |
| :-- | :-- | :-- | :-- | | ||
| `VoucherId` | string | required | Unique identifier of the Voucher. | | ||
| `Name` | [String update value](_objects.md#string-update-value) | optional, max length 128 characters | Internal name of the voucher (or `null` if the name should not be updated). | | ||
| `Type` | [VoucherTypeUpdateValue](_objects.md#string-update-value) | optional | Type of the voucher e.g. 'Public', 'PartnerCompany' or 'TravelAgency' (or `null` if the type should not be updated). | | ||
| `Type` | [Voucher Type update value](_objects.md#string-update-value) | optional | Type of the voucher e.g. 'Public', 'PartnerCompany' or 'TravelAgency' (or `null` if the type should not be updated). | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Change Not related to allowances. It seems o be a change merged but not yet published by automated generation. |
||
| `CompanyId` | [String update value](_objects.md#string-update-value) | optional | Unique identifier of Company (Company or Travel Agency) the voucher is related to. This is required for Type of `PartnerCompany` or `TravelAgency`. Use `null` if Company should not be updated. | | ||
| `AssignedRateIds` | [Assigned rate ids](vouchers.md#assigned-rate-ids) | optional | Unique identifiers of Rates (or `null` should it not be updated). | | ||
| `OccupiableIntervalStartUtc` | [String update value](_objects.md#string-update-value) | optional | Start of the interval in which the voucher can be applied (or `null` if the start time should not be updated). | | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change Not related to allowances. It seems o be a change merged but not yet published by automated generation.