Mews · Schema

Allowance profits data

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
AllowanceProductOrderItemId string Unique identifier of the allowance product [Order item](https://mews-systems.gitbook.io/connector-api/operations/orderitems/#order-item) which credit has been consumed by current item.
AllowanceProfitType object Type of allowance profit. AllowanceBreakage (Profit of the allowance product.) AllowanceContraBreakage (Accounting balance for profit of the allowance product.) AllowanceLoss (Loss of the allowance pr
View JSON Schema on GitHub

JSON Schema

mews-orderitemallowanceprofitsdata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OrderItemAllowanceProfitsData",
  "title": "Allowance profits data",
  "required": [
    "AllowanceProductOrderItemId",
    "AllowanceProfitType"
  ],
  "type": "object",
  "properties": {
    "AllowanceProductOrderItemId": {
      "type": "string",
      "description": "Unique identifier of the allowance product [Order item](https://mews-systems.gitbook.io/connector-api/operations/orderitems/#order-item) which credit has been consumed by current item.",
      "format": "uuid"
    },
    "AllowanceProfitType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AllowanceProfitTypeEnum"
        }
      ],
      "description": "Type of allowance profit.\n\nAllowanceBreakage (Profit of the allowance product.)\n\nAllowanceContraBreakage (Accounting balance for profit of the allowance product.)\n\nAllowanceLoss (Loss of the allowance product.)\n\nAllowanceContraLoss (Accounting balance for loss of the allowance product.)"
    }
  },
  "additionalProperties": false,
  "x-schema-id": "OrderItemAllowanceProfitsData"
}