{
  "openapi": "3.0.1",
  "info": {
    "title": "XiWanSupplierForTK",
    "version": "1.0"
  },
  "paths": {
    "/api/SupplierForTK/GetLocations": {
      "post": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "获取所有本地有酒店数据的国家",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/LocationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LocationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LocationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LocationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/LocationResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LocationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/LocationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/GetHotels": {
      "post": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "获取酒店信息",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/HotelRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HotelRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/HotelRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/HotelRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HotelResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HotelResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/HotelResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/GetHotelMinPrices": {
      "post": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "获取部分酒店最低价格",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/HotelPriceRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HotelPriceRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/HotelPriceRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/HotelPriceRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HotelPriceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HotelPriceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/HotelPriceResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/GetHotelRoomRate": {
      "post": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "获取酒店所有报价",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RoomListRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoomListRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RoomListRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RoomListRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RoomListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoomListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoomListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/SubmitOrder": {
      "post": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "订单提交",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TKBookingRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TKBookingRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TKBookingRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TKBookingRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TKBookingResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TKBookingResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TKBookingResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/CancelOrder": {
      "post": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "取消订单",
        "parameters": [
          {
            "name": "apiKey",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TKCancelRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TKCancelRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TKCancelRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TKCancelRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TKCancelResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TKCancelResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TKCancelResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/SearchOrder": {
      "post": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "查询订单",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/BookingSummaryRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BookingSummaryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BookingSummaryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BookingSummaryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BookingSummaryResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BookingSummaryResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BookingSummaryResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/IssueCheck": {
      "post": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "检查订单在供应商的确认情况",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/IssueCheckRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueCheckRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueCheckRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/IssueCheckRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IssueCheckResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueCheckResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueCheckResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/Issue": {
      "post": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "渠道通知我们他们已确认订单",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/IssueRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/IssueRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IssueResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/Login": {
      "get": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "登录系统",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "password",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/SupplierForTK/GetOrderList": {
      "post": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "根据条件搜索订单列表",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TKOrderSearchModel"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TKOrderSearchModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TKOrderSearchModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TKOrderSearchModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OrderListDtoPageData"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderListDtoPageData"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderListDtoPageData"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/GetCreditOptRecord": {
      "get": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "获取授信操作记录",
        "parameters": [
          {
            "name": "pageIndex",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 5
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CreditOptRecordPageData"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditOptRecordPageData"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditOptRecordPageData"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/AddCreditOptRecord": {
      "get": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "增加授信操作记录",
        "parameters": [
          {
            "name": "amount",
            "in": "query",
            "description": "总授信",
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "receiveAmount",
            "in": "query",
            "description": "收到款项",
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "beginTime",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "reason",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "default": "收到渠道结算金额"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/GetBalanceStatistics": {
      "get": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "按天统计余额流水记录",
        "parameters": [
          {
            "name": "beginTime",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "endTime",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BalanceDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BalanceDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BalanceDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/ChangeOrderLoop": {
      "get": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "更改订单轮询状态",
        "parameters": [
          {
            "name": "orderNum",
            "in": "query",
            "description": "渠道订单号或喜玩订单号",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "in": "query",
            "description": "本系统key",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "opt",
            "in": "query",
            "description": "操作：1 - 启动订单轮询； 2 - 停止订单轮询",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/GetLoopOrderNum": {
      "get": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "获取正在轮询的订单列表",
        "parameters": [
          {
            "name": "apiKey",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/ChangePriceService": {
      "get": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "更改报价响应",
        "parameters": [
          {
            "name": "apiKey",
            "in": "query",
            "description": "本系统key",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isShutDown",
            "in": "query",
            "description": "所有供应商报价调整，true - 停止报价；false - 启动报价",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "shutDownSupps",
            "in": "query",
            "description": "停止报价的供应商，以|隔开，不传则不额外针对供应商处理",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/ReInitRedis": {
      "get": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "重新初始化缓存",
        "parameters": [
          {
            "name": "apiKey",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/BlockHotel": {
      "get": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "屏蔽酒店或房型",
        "parameters": [
          {
            "name": "apiKey",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "blockLevel",
            "in": "query",
            "description": "屏蔽层级，1：酒店；2：房型；3：报价",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "orderNum",
            "in": "query",
            "description": "内部订单号",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "blockReason",
            "in": "query",
            "description": "屏蔽原因",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "applyName",
            "in": "query",
            "description": "申请人",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hotelId",
            "in": "query",
            "description": "酒店ID",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "supp",
            "in": "query",
            "description": "供应商，枚举数值，以|分割",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/InitExtraCache": {
      "get": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "初始化附加缓存数据",
        "parameters": [
          {
            "name": "apiKey",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/StartSyncStaticData": {
      "get": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "启动一次静态数据同步",
        "parameters": [
          {
            "name": "apiKey",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isFullUpdate",
            "in": "query",
            "description": "是否全量更新",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/SupplierForTK/CheckApiHealthy": {
      "get": {
        "tags": [
          "SupplierForTK"
        ],
        "summary": "健康校验，提供给阿里云监控",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AccommodationTypeEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39
        ],
        "type": "integer",
        "format": "int32"
      },
      "BalanceDto": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "number",
            "format": "double"
          },
          "createTime": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BedTypeEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20
        ],
        "type": "integer",
        "format": "int32"
      },
      "BookSpec": {
        "type": "object",
        "properties": {
          "numRooms": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "numAdults": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "numChildren": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "childrenAges": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "",
            "nullable": true
          },
          "checkInDate": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "checkOutDate": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "contact": {
            "$ref": "#/components/schemas/ContactInfo"
          },
          "guests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GuestInfo"
            },
            "description": "非必填",
            "nullable": true
          },
          "specialRequest": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "hotelRatePlanType": {
            "$ref": "#/components/schemas/RatePlanTypeEnum"
          },
          "providerHotelId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "totalSearchRate": {
            "$ref": "#/components/schemas/HotelPriceRate"
          },
          "locale": {
            "type": "string",
            "description": "非必填, Response language",
            "nullable": true
          },
          "roomSpecs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoomSpecRp"
            },
            "description": "Room specification",
            "nullable": true
          },
          "rateType": {
            "$ref": "#/components/schemas/RateTypeEnum"
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BookingError"
            },
            "description": "Error occurred",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BookingDetail": {
        "type": "object",
        "properties": {
          "bookingToken": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "uniqueId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "providerHotelId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "hotelRatePlanType": {
            "$ref": "#/components/schemas/RatePlanTypeEnum"
          },
          "rooms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BookingRoom"
            },
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BookingError": {
        "type": "object",
        "properties": {
          "errorId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "errorSeverity": {
            "$ref": "#/components/schemas/ErrorLevelEnum"
          },
          "errorMessage": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "timeStamp": {
            "type": "string",
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BookingRoom": {
        "type": "object",
        "properties": {
          "providerHotelRoomId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "availabilityToken": {
            "type": "string",
            "description": "报价ID",
            "nullable": true
          },
          "ccGuaranteeRequirement": {
            "$ref": "#/components/schemas/CCGuaranteeRequirement"
          },
          "perRoomBookedRate": {
            "$ref": "#/components/schemas/HotelPriceRate"
          },
          "perRoomBookedRateInfo": {
            "$ref": "#/components/schemas/RoomBookedRateInfo"
          },
          "guestInfo": {
            "$ref": "#/components/schemas/TotalGuestInfo"
          },
          "guests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GuestInfo"
            },
            "description": "",
            "nullable": true
          },
          "promoIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "非必填",
            "nullable": true
          },
          "promoDescription": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BookingSummaryRequest": {
        "type": "object",
        "properties": {
          "issuanceId": {
            "type": "string",
            "description": "Will not be mandatory if already have issuanceId",
            "nullable": true
          },
          "uniqueId": {
            "type": "string",
            "description": "This field will be mandatory if already have issuanceId",
            "nullable": true
          },
          "availabilityToken": {
            "type": "string",
            "description": "报价ID",
            "nullable": true
          },
          "bookingToken": {
            "type": "string",
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BookingSummaryResponse": {
        "type": "object",
        "properties": {
          "uniqueId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "bookingToken": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "providerHotelId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/TKOrderStatusEnum"
          },
          "providerRoomBookingSummaryList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoomBookingSummaryList"
            },
            "description": "",
            "nullable": true
          },
          "totalRate": {
            "$ref": "#/components/schemas/HotelPriceRate"
          },
          "guests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GuestInfo"
            },
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CCGuaranteeRequirement": {
        "type": "object",
        "additionalProperties": false
      },
      "CancelInfo": {
        "type": "object",
        "properties": {
          "cancelFee": {
            "type": "number",
            "description": "取消费用",
            "format": "double"
          },
          "cancelTime": {
            "type": "string",
            "description": "取消时间",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "CancelStatusEnum": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "CancellationPolicy": {
        "type": "object",
        "properties": {
          "cancellationPolicyDescription": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "providerCancellationPolicyInfoList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CancellationPolicyDetail"
            },
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CancellationPolicyDetail": {
        "type": "object",
        "properties": {
          "cancelDateTime": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "cancellationFee": {
            "type": "number",
            "description": "",
            "format": "double"
          },
          "nightCount": {
            "type": "integer",
            "description": "Cancellation fee in room night.\r\nExample: nightCount = 1 means cancellation fee is one room night.\r\nThis field is not mandatory if cancellationFee already filled in.\r\nBut if @nightCount is filled in, cancellationFee MUST also be filled in.",
            "format": "int32",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CategoryEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13
        ],
        "type": "integer",
        "format": "int32"
      },
      "ContactInfo": {
        "type": "object",
        "properties": {
          "personTitle": {
            "$ref": "#/components/schemas/SexEnum"
          },
          "firstName": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "phones": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "非必填",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CountryDes": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CountryInfo": {
        "type": "object",
        "properties": {
          "countryISO": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "$ref": "#/components/schemas/CountryDes"
          }
        },
        "additionalProperties": false
      },
      "CreditCardHolderInfo": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreditCardInfo": {
        "type": "object",
        "properties": {
          "creditCardType": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "creditCardName": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "mandatoryDisplayText": {
            "type": "string",
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreditCardTypeEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10
        ],
        "type": "integer",
        "format": "int32"
      },
      "CreditOptRecord": {
        "type": "object",
        "properties": {
          "uid": {
            "type": "string",
            "description": "主键",
            "format": "uuid"
          },
          "operator": {
            "type": "string",
            "description": "操作人",
            "nullable": true
          },
          "amount_Before": {
            "type": "number",
            "description": "调整前授信额度",
            "format": "double"
          },
          "receiveAmount": {
            "type": "number",
            "description": "收到结算款项",
            "format": "double"
          },
          "amount_After": {
            "type": "number",
            "description": "调整后授信额度",
            "format": "double"
          },
          "beginTime": {
            "type": "string",
            "description": "开始时间",
            "format": "date-time"
          },
          "endTime": {
            "type": "string",
            "description": "结束时间",
            "format": "date-time"
          },
          "reason": {
            "type": "string",
            "description": "说明",
            "nullable": true
          },
          "createTime": {
            "type": "string",
            "description": "操作时间",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "授信操作记录表"
      },
      "CreditOptRecordPageData": {
        "type": "object",
        "properties": {
          "pageIndex": {
            "type": "integer",
            "description": "当前页码",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "description": "每页大小",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "description": "总数量",
            "format": "int32"
          },
          "dataList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreditOptRecord"
            },
            "description": "数据列表",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "分页数据"
      },
      "ErrorLevelEnum": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "GuestInfo": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "title": {
            "$ref": "#/components/schemas/SexEnum"
          },
          "passportNo": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "passportCountryCode": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HotelAddress": {
        "type": "object",
        "properties": {
          "lines": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Hotel address details, must be in English，Input can be in multiple lines",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "province": {
            "type": "string",
            "description": "非必填，Hotel address - province",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "description": "Hotel address - postal code",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "非必填，Hotel address - country name",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HotelAssets": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "isMain": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "category": {
            "$ref": "#/components/schemas/CategoryEnum"
          },
          "url": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "caption": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "height": {
            "type": "integer",
            "description": "Image height, 800 x 600 pixels",
            "format": "int32"
          },
          "width": {
            "type": "integer",
            "description": "Image width, min 800 x 600 pixels",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "HotelAttribute": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "overview": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "importantNotice": {
            "type": "string",
            "description": "非必填，最好填",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HotelBase": {
        "type": "object",
        "properties": {
          "providerHotelId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "description": "This name is depending on locale / languages",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Official Hotel Name in English",
            "nullable": true
          },
          "formerlyName": {
            "type": "string",
            "description": "非必填，Old Hotel Name (if applicable)",
            "nullable": true
          },
          "localAddress": {
            "$ref": "#/components/schemas/HotelAddress"
          },
          "globalAddress": {
            "$ref": "#/components/schemas/HotelAddress"
          },
          "countryISO": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "description": "Hotel main currency in 3 letters",
            "nullable": true
          },
          "hotelStyle": {
            "$ref": "#/components/schemas/HotelStyle"
          },
          "hotelFacility": {
            "$ref": "#/components/schemas/HotelFacility"
          },
          "hotelProperties": {
            "$ref": "#/components/schemas/HotelProperties"
          },
          "latitude": {
            "type": "number",
            "description": "",
            "format": "double",
            "nullable": true
          },
          "longitude": {
            "type": "number",
            "description": "",
            "format": "double",
            "nullable": true
          },
          "nearbyAirportCode": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "starRating": {
            "type": "number",
            "description": "Hotel's star. Maximum one decimal place",
            "format": "double",
            "nullable": true
          },
          "lowRate": {
            "type": "integer",
            "description": "非必填",
            "format": "int32",
            "nullable": true
          },
          "highRate": {
            "type": "integer",
            "description": "非必填",
            "format": "int32",
            "nullable": true
          },
          "contact": {
            "$ref": "#/components/schemas/HotelContact"
          },
          "website": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "accommodationType": {
            "$ref": "#/components/schemas/AccommodationTypeEnum"
          },
          "creditCardInfo": {
            "$ref": "#/components/schemas/CreditCardInfo"
          },
          "providerChainId": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "providerChainName": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "providerBrandId": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "providerBrandName": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "providerRegionId": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "rateTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RateTypeEnum"
            },
            "description": "",
            "nullable": true
          },
          "paymentMethodInfo": {
            "$ref": "#/components/schemas/PaymentMethodInfo"
          }
        },
        "additionalProperties": false
      },
      "HotelContact": {
        "type": "object",
        "properties": {
          "phone": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "",
            "nullable": true
          },
          "fax": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "必填，没有值时传添加1个空字符,如['']",
            "nullable": true
          },
          "email": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "必填，没有值时传添加1个空字符,如['']",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HotelDetailInfo": {
        "type": "object",
        "properties": {
          "hotel": {
            "$ref": "#/components/schemas/HotelBase"
          },
          "attribute": {
            "$ref": "#/components/schemas/HotelAttribute"
          },
          "assets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HotelAssets"
            },
            "description": "minimum 25 hotel photos, from 5 categories",
            "nullable": true
          },
          "rooms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HotelRooms"
            },
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HotelFacility": {
        "type": "object",
        "properties": {
          "facilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HotelFacilityEnum"
            },
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HotelFacilityEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          47,
          48,
          49,
          50,
          51,
          52,
          53,
          54,
          55,
          56,
          57,
          58,
          59,
          60,
          61,
          62,
          63,
          64,
          65,
          66,
          67,
          68,
          69,
          70,
          71,
          72,
          73,
          74,
          75,
          76,
          77,
          78,
          79,
          80,
          81,
          82,
          83,
          84,
          85,
          86,
          87,
          88,
          89,
          90,
          91,
          92,
          93,
          94,
          95,
          96,
          97,
          98,
          99,
          100,
          101,
          102,
          103,
          104,
          105,
          106,
          107,
          108,
          109,
          110,
          111,
          112,
          113,
          114,
          115,
          116,
          117,
          118,
          119,
          120,
          121,
          122,
          123,
          124,
          125,
          126,
          127,
          128,
          129,
          130,
          131,
          132,
          133,
          134,
          135,
          136,
          137,
          138,
          139,
          140,
          141,
          142,
          143,
          144,
          145,
          146,
          147,
          148,
          149,
          150,
          151,
          152,
          153,
          154,
          155,
          156,
          157,
          158,
          159,
          160,
          161,
          162,
          163,
          164,
          165,
          166,
          167,
          168,
          169,
          170,
          171,
          172,
          173,
          174,
          175,
          176,
          177,
          178,
          179,
          180,
          181,
          182,
          183,
          184,
          185,
          186,
          187,
          188,
          189,
          190,
          191,
          192,
          193,
          194,
          195,
          196,
          197,
          198,
          199,
          200,
          201,
          202,
          203,
          204,
          205,
          206,
          207,
          208,
          209,
          210,
          211,
          212,
          213,
          214,
          215,
          216,
          217,
          218,
          219,
          220,
          221,
          222,
          223,
          224,
          225,
          226,
          227,
          228,
          229,
          230,
          231,
          232,
          233,
          234,
          235,
          236,
          237,
          238,
          239,
          240,
          241,
          242,
          243,
          244,
          245,
          246,
          247,
          248,
          249,
          250,
          251,
          252,
          253,
          254,
          255,
          256,
          257,
          258,
          259,
          260,
          261,
          262,
          263,
          264,
          265,
          266,
          267,
          268,
          269,
          270,
          271,
          272,
          273,
          274,
          275,
          276,
          277,
          278
        ],
        "type": "integer",
        "format": "int32"
      },
      "HotelInventory": {
        "type": "object",
        "properties": {
          "numRemainingRooms": {
            "type": "integer",
            "description": "Number of Remaining Bookable Room",
            "format": "int32"
          },
          "maxExtraBeds": {
            "type": "integer",
            "description": "Maximum number of extra beds for the room",
            "format": "int32"
          },
          "currency": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "providerRecommendedSellingRate": {
            "$ref": "#/components/schemas/HotelPriceRate"
          },
          "providerOriginalRate": {
            "$ref": "#/components/schemas/HotelPriceRate"
          },
          "hotelRoomName": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "numChargedRooms": {
            "type": "integer",
            "description": "Number of room being charged. \r\nIf two rooms are requested in the request spec, this should return 2 and the price will be for two rooms.",
            "format": "int32"
          },
          "hotelPromoType": {
            "$ref": "#/components/schemas/HotelPromoType"
          }
        },
        "additionalProperties": false
      },
      "HotelPrice": {
        "type": "object",
        "properties": {
          "providerHotelRoomId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "rateType": {
            "$ref": "#/components/schemas/RateTypeEnum"
          },
          "description": {
            "type": "string",
            "description": "非必填 Room description",
            "nullable": true
          },
          "caption": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "occupancyPolicy": {
            "$ref": "#/components/schemas/OccupancyPolicy"
          },
          "beds": {
            "$ref": "#/components/schemas/RoomBeds"
          }
        },
        "additionalProperties": false
      },
      "HotelPriceInfo": {
        "type": "object",
        "properties": {
          "providerHotelId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "hotelInventory": {
            "$ref": "#/components/schemas/HotelInventory"
          },
          "rooms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HotelPrice"
            },
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HotelPriceRate": {
        "type": "object",
        "properties": {
          "totalFare": {
            "type": "number",
            "description": "Total fare (including taxes and fees). \r\nIf two rooms are requested in the specs, this totalFare will be for two rooms",
            "format": "double"
          },
          "taxes": {
            "type": "number",
            "description": "",
            "format": "double"
          },
          "fees": {
            "type": "number",
            "description": "Other fees",
            "format": "double"
          },
          "currency": {
            "type": "string",
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HotelPriceRequest": {
        "type": "object",
        "properties": {
          "providerHotelIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of provider hotel IDs to be searched. We will search at maximum 1000 hotels per search",
            "nullable": true
          },
          "rateTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RateTypeEnum"
            },
            "description": "非必填",
            "nullable": true
          },
          "hotelRatePlanType": {
            "$ref": "#/components/schemas/RatePlanTypeEnum"
          },
          "sourceMarket": {
            "type": "string",
            "description": "非必填 针对国籍的特价",
            "nullable": true
          },
          "numRooms": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "numAdults": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "numChildren": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "childrenAges": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Mandatory if numChildren > 0",
            "nullable": true
          },
          "checkInDate": {
            "type": "string",
            "description": "",
            "format": "date-time"
          },
          "checkOutDate": {
            "type": "string",
            "description": "",
            "format": "date-time"
          },
          "currency": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "locale": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "cache": {
            "type": "boolean",
            "description": "If true → return cached rates.\r\nIf false → return latest rates."
          },
          "requestId": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HotelPriceResponse": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HotelPriceInfo"
            },
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HotelPromoType": {
        "type": "object",
        "properties": {
          "promoType": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "promoDescription": {
            "type": "string",
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HotelProperties": {
        "type": "object",
        "properties": {
          "checkInTime": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "checkOutTime": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "numRooms": {
            "type": "integer",
            "description": "",
            "format": "int32",
            "nullable": true
          },
          "numFloors": {
            "type": "integer",
            "description": "",
            "format": "int32",
            "nullable": true
          },
          "numRestaurants": {
            "type": "integer",
            "description": "",
            "format": "int32",
            "nullable": true
          },
          "numBars": {
            "type": "integer",
            "description": "",
            "format": "int32",
            "nullable": true
          },
          "roomVoltage": {
            "type": "integer",
            "description": "",
            "format": "int32",
            "nullable": true
          },
          "roomServiceType": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "parkingType": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "parkingFeeType": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "isAvailableAirportTransfer": {
            "type": "boolean",
            "description": "",
            "nullable": true
          },
          "airportTransferFee": {
            "type": "number",
            "description": "",
            "format": "double",
            "nullable": true
          },
          "timeToAirport": {
            "type": "integer",
            "description": "",
            "format": "int32",
            "nullable": true
          },
          "breakfastCharge": {
            "type": "number",
            "description": "",
            "format": "double",
            "nullable": true
          },
          "distanceToCityCenter": {
            "type": "integer",
            "description": "",
            "format": "int32",
            "nullable": true
          },
          "builtYear": {
            "type": "integer",
            "description": "",
            "format": "int32",
            "nullable": true
          },
          "lastRenovatedYear": {
            "type": "integer",
            "description": "",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HotelRequest": {
        "type": "object",
        "properties": {
          "fields": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "非必填，可选项：\"providerHotelId\", \"countryISO\"，不传则全选",
            "nullable": true
          },
          "providerHotelIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "非必填，如果填了则返回对应id所有酒店详细信息",
            "nullable": true
          },
          "countryISOs": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "非必填，Filter to limit the results for a specific country\r\nproviderHotelIds不填时则返回对应国家所有酒店id",
            "nullable": true
          },
          "lastUpdateTime": {
            "type": "string",
            "description": "最后更新时间，只返回该时间之后的数据，不传则全部",
            "nullable": true
          },
          "locale": {
            "type": "string",
            "description": "语言，暂时不接收，只返回en",
            "nullable": true
          },
          "from": {
            "type": "string",
            "description": "分页起始，默认1",
            "nullable": true
          },
          "to": {
            "type": "string",
            "description": "分页结束，默认100",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HotelResponse": {
        "type": "object",
        "properties": {
          "from": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "to": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "total": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "hotels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HotelDetailInfo"
            },
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HotelRooms": {
        "type": "object",
        "properties": {
          "roomId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "caption": {
            "type": "string",
            "description": "Room caption / Room name in English",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "size": {
            "$ref": "#/components/schemas/RoomSize"
          },
          "beds": {
            "$ref": "#/components/schemas/RoomBeds"
          },
          "roomFacility": {
            "$ref": "#/components/schemas/RoomFacility"
          },
          "embeddedAssets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoomAssets"
            },
            "description": "This element is for room images. For room\r\nimages, minimum 4 photos per room, min size 800 x 600 pixels.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HotelStyle": {
        "type": "object",
        "properties": {
          "hotelStyleTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HotelStyleTypesEnum"
            },
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HotelStyleTypesEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20
        ],
        "type": "integer",
        "format": "int32"
      },
      "IssueBookingInfo": {
        "type": "object",
        "properties": {
          "issuanceId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "uniqueId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "sourceProvider": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "providerHotelId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "ratePlanType": {
            "$ref": "#/components/schemas/RatePlanTypeEnum"
          },
          "rooms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IssueBookingRoomRp"
            },
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IssueBookingRoomRp": {
        "type": "object",
        "properties": {
          "providerHotelRoomId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "availabilityToken": {
            "type": "string",
            "description": "报价ID",
            "nullable": true
          },
          "hotelRoomBookingId": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "numOfRemainingRooms": {
            "type": "integer",
            "description": "非必填",
            "format": "int32",
            "nullable": true
          },
          "refundable": {
            "type": "boolean",
            "description": ""
          },
          "cancellationPolicy": {
            "$ref": "#/components/schemas/CancellationPolicy"
          },
          "noShowPolicy": {
            "$ref": "#/components/schemas/NoShowPolicy"
          },
          "ccGuaranteeRequirement": {
            "$ref": "#/components/schemas/CCGuaranteeRequirement"
          },
          "perRoomBookedRate": {
            "$ref": "#/components/schemas/HotelPriceRate"
          },
          "perRoomBookedRateInfo": {
            "$ref": "#/components/schemas/RoomBookedRateInfo"
          },
          "guestInfo": {
            "$ref": "#/components/schemas/TotalGuestInfo"
          },
          "promoIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "非必填",
            "nullable": true
          },
          "promoDescription": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IssueCheckRequest": {
        "type": "object",
        "properties": {
          "uniqueId": {
            "type": "string",
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IssueCheckResponse": {
        "type": "object",
        "properties": {
          "booking": {
            "$ref": "#/components/schemas/TKBookStatus"
          }
        },
        "additionalProperties": false
      },
      "IssueCheckStatusEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "IssueFailureReasonEnum": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "IssueHotelContact": {
        "type": "object",
        "additionalProperties": false
      },
      "IssueRequest": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "hotelBooking": {
            "$ref": "#/components/schemas/BookingDetail"
          },
          "creditCardInfo": {
            "$ref": "#/components/schemas/TKCreditCardInfo"
          },
          "locale": {
            "type": "string",
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IssueResponse": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "booking": {
            "$ref": "#/components/schemas/IssueBookingInfo"
          },
          "status": {
            "$ref": "#/components/schemas/IssueStatusEnum"
          },
          "failureReason": {
            "$ref": "#/components/schemas/IssueFailureReasonEnum"
          },
          "hotelContact": {
            "$ref": "#/components/schemas/IssueHotelContact"
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BookingError"
            },
            "description": "非必填",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IssueStatusEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "LocationRequest": {
        "type": "object",
        "properties": {
          "fields": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "lastUpdateTime": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Location接口请求实体"
      },
      "LocationResponse": {
        "type": "object",
        "properties": {
          "countries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CountryInfo"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Location接口返回实体"
      },
      "MealPlan": {
        "type": "object",
        "properties": {
          "code": {
            "$ref": "#/components/schemas/MealTypeEnum"
          },
          "pax": {
            "$ref": "#/components/schemas/Pax"
          }
        },
        "additionalProperties": false
      },
      "MealTypeEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9
        ],
        "type": "integer",
        "format": "int32"
      },
      "NoShowPolicy": {
        "type": "object",
        "properties": {
          "noShowDateTime": {
            "type": "string",
            "description": "",
            "format": "date-time"
          },
          "noShowFee": {
            "type": "number",
            "description": "",
            "format": "double"
          },
          "currency": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "nightCount": {
            "type": "integer",
            "description": "",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "OccupancyPolicy": {
        "type": "object",
        "properties": {
          "maxOccupancy": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "maxChildOccupancy": {
            "type": "integer",
            "description": "非必填",
            "format": "int32",
            "nullable": true
          },
          "maxInfantOccupancy": {
            "type": "integer",
            "description": "非必填",
            "format": "int32",
            "nullable": true
          },
          "maxExtraBeds": {
            "type": "integer",
            "description": "非必填",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderFailEnum": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "OrderListDto": {
        "type": "object",
        "properties": {
          "uniqueId": {
            "type": "string",
            "nullable": true
          },
          "xwOrderNum": {
            "type": "string",
            "nullable": true
          },
          "providerHotelId": {
            "type": "string",
            "nullable": true
          },
          "hotelName": {
            "type": "string",
            "nullable": true
          },
          "roomId": {
            "type": "string",
            "nullable": true
          },
          "roomName": {
            "type": "string",
            "nullable": true
          },
          "checkIn": {
            "type": "string",
            "nullable": true
          },
          "checkOut": {
            "type": "string",
            "nullable": true
          },
          "customer": {
            "type": "string",
            "nullable": true
          },
          "guests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GuestInfo"
            },
            "nullable": true
          },
          "channelPrice": {
            "type": "number",
            "format": "double"
          },
          "status": {
            "$ref": "#/components/schemas/TKOrderStatusEnum"
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "createTime": {
            "type": "string",
            "format": "date-time"
          },
          "cancelInfo": {
            "$ref": "#/components/schemas/CancelInfo"
          }
        },
        "additionalProperties": false
      },
      "OrderListDtoPageData": {
        "type": "object",
        "properties": {
          "pageIndex": {
            "type": "integer",
            "description": "当前页码",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "description": "每页大小",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "description": "总数量",
            "format": "int32"
          },
          "dataList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderListDto"
            },
            "description": "数据列表",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "分页数据"
      },
      "OrderStatusEnum": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "Pax": {
        "type": "object",
        "properties": {
          "adults": {
            "type": "integer",
            "format": "int32"
          },
          "children": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodInfo": {
        "type": "object",
        "properties": {
          "creditCardInfo": {
            "$ref": "#/components/schemas/CreditCardInfo"
          },
          "cashCurrencyInfo": {
            "type": "string",
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RatePlanTypeEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "integer",
        "format": "int32"
      },
      "RateTypeEnum": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "RoomAssets": {
        "type": "object",
        "properties": {
          "assetId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "isMain": {
            "type": "boolean",
            "description": "非必填",
            "nullable": true
          },
          "url": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "caption": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "height": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "width": {
            "type": "integer",
            "description": "",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "RoomBeds": {
        "type": "object",
        "properties": {
          "numBeds": {
            "type": "integer",
            "description": "Number of beds in the room",
            "format": "int32"
          },
          "bedType": {
            "$ref": "#/components/schemas/BedTypeEnum"
          },
          "description": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoomBookedRateInfo": {
        "type": "object",
        "additionalProperties": false
      },
      "RoomBookingSummaryList": {
        "type": "object",
        "properties": {
          "availabilityToken": {
            "type": "string",
            "description": "报价ID",
            "nullable": true
          },
          "providerHotelRoomId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "roomBookingId": {
            "type": "string",
            "description": "非必填，暂时不能分房间取消",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/TKOrderStatusEnum"
          },
          "numAdults": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "numChildren": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "refundable": {
            "type": "boolean",
            "description": ""
          },
          "sellingRate": {
            "$ref": "#/components/schemas/HotelPriceRate"
          },
          "cancellationPolicy": {
            "$ref": "#/components/schemas/CancellationPolicy"
          },
          "breakfastIncluded": {
            "type": "boolean",
            "description": "",
            "nullable": true
          },
          "mealPlan": {
            "$ref": "#/components/schemas/MealPlan"
          },
          "wifiIncluded": {
            "type": "boolean",
            "description": ""
          }
        },
        "additionalProperties": false
      },
      "RoomFacility": {
        "type": "object",
        "properties": {
          "facilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoomFacilityEnum"
            },
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoomFacilityEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          47,
          48,
          49,
          50,
          51,
          52,
          53,
          54,
          55,
          56,
          57,
          58,
          59,
          60,
          61,
          62,
          63,
          64,
          65,
          66,
          67,
          68,
          69,
          70
        ],
        "type": "integer",
        "format": "int32"
      },
      "RoomInventory": {
        "type": "object",
        "properties": {
          "availabilityToken": {
            "type": "string",
            "description": "Token/ID for this room type/price. This availabilityToken will be used in the booking to determine which\r\nparticular room type is being chosen\r\n报价ID",
            "nullable": true
          },
          "rateType": {
            "$ref": "#/components/schemas/RateTypeEnum"
          },
          "numRemainingRooms": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "mealPlan": {
            "$ref": "#/components/schemas/MealPlan"
          },
          "wifiIncluded": {
            "type": "boolean",
            "description": ""
          },
          "numExtraBedIncluded": {
            "type": "integer",
            "description": "非必填",
            "format": "int32",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "providerRecommendedSellingRate": {
            "$ref": "#/components/schemas/HotelPriceRate"
          },
          "providerOriginalRate": {
            "$ref": "#/components/schemas/HotelPriceRate"
          },
          "numChargedRooms": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "refundable": {
            "type": "boolean",
            "description": ""
          },
          "cancellationPolicy": {
            "$ref": "#/components/schemas/CancellationPolicy"
          },
          "noShowPolicy": {
            "$ref": "#/components/schemas/NoShowPolicy"
          },
          "promoIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "非必填",
            "nullable": true
          },
          "commissionRate": {
            "type": "number",
            "description": "Commission rate (percentage) for this room type",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "RoomListRequest": {
        "type": "object",
        "properties": {
          "providerHotelId": {
            "type": "string",
            "description": "Provider Hotel ID",
            "nullable": true
          },
          "providerHotelRoomId": {
            "type": "string",
            "description": "Hotel Room ID to be searched. (will be mandatory for prebook step, not mandatory for roomlist step)",
            "nullable": true
          },
          "availabilityToken": {
            "type": "string",
            "description": "Token/ID for this room type/price. (will be mandatory for prebook step, not mandatory for roomlist step)\r\n报价ID",
            "nullable": true
          },
          "rateTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RateTypeEnum"
            },
            "description": "非必填",
            "nullable": true
          },
          "hotelRatePlanType": {
            "$ref": "#/components/schemas/RatePlanTypeEnum"
          },
          "sourceMarket": {
            "type": "string",
            "description": "非必填 针对国籍的特价",
            "nullable": true
          },
          "numRooms": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "numAdults": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "numChildren": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "childrenAges": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Mandatory if numChildren > 0",
            "nullable": true
          },
          "checkInDate": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "checkOutDate": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "locale": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "cache": {
            "type": "boolean",
            "description": "If true → return cached rates.\r\nIf false → return latest rates."
          },
          "requestId": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoomListResponse": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoomPriceInfo"
            },
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoomPrice": {
        "type": "object",
        "properties": {
          "providerHotelId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "providerHotelRoomId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "caption": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "size": {
            "$ref": "#/components/schemas/RoomSize"
          },
          "numRooms": {
            "type": "integer",
            "description": "非必填，Number of available rooms",
            "format": "int32",
            "nullable": true
          },
          "occupancyPolicy": {
            "$ref": "#/components/schemas/OccupancyPolicy"
          },
          "beds": {
            "$ref": "#/components/schemas/RoomBeds"
          },
          "roomFacility": {
            "$ref": "#/components/schemas/RoomFacility"
          },
          "hotelRoomType": {
            "$ref": "#/components/schemas/RoomTypeEnum"
          },
          "view": {
            "type": "string",
            "description": "非必填，Hotel views, example: \"city view\"",
            "nullable": true
          },
          "hasTerrace": {
            "type": "boolean",
            "description": "非必填",
            "nullable": true
          },
          "smokingPreferences": {
            "$ref": "#/components/schemas/SmokingPreferencesEnum"
          },
          "embeddedAssets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoomAssets"
            },
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoomPriceInfo": {
        "type": "object",
        "properties": {
          "checkInInstruction": {
            "type": "string",
            "description": "非必填，Special check-in instruction",
            "nullable": true
          },
          "room": {
            "$ref": "#/components/schemas/RoomPrice"
          },
          "inventories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoomInventory"
            },
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoomSize": {
        "type": "object",
        "properties": {
          "size": {
            "type": "number",
            "description": "",
            "format": "double"
          },
          "isSizeIncludingTerrace": {
            "type": "boolean",
            "description": "非必填",
            "nullable": true
          },
          "unit": {
            "$ref": "#/components/schemas/SizeUnitEnum"
          }
        },
        "additionalProperties": false
      },
      "RoomSpec": {
        "type": "object",
        "properties": {
          "providerHotelRoomId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "availabilityToken": {
            "type": "string",
            "description": "报价ID",
            "nullable": true
          },
          "promoIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "非必填",
            "nullable": true
          },
          "promoDescription": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoomSpecRp": {
        "type": "object",
        "properties": {
          "providerHotelRoomId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "availabilityToken": {
            "type": "string",
            "description": "报价ID",
            "nullable": true
          },
          "refundable": {
            "type": "boolean",
            "description": ""
          },
          "cancellationPolicy": {
            "$ref": "#/components/schemas/CancellationPolicy"
          },
          "noShowPolicy": {
            "$ref": "#/components/schemas/NoShowPolicy"
          },
          "breakfastIncluded": {
            "type": "boolean",
            "description": "Traveloka已弃用，改为使用mealPlan",
            "nullable": true
          },
          "mealPlan": {
            "$ref": "#/components/schemas/MealPlan"
          },
          "wifiIncluded": {
            "type": "boolean",
            "description": ""
          },
          "sellingRate": {
            "$ref": "#/components/schemas/HotelPriceRate"
          },
          "sellingRateInfo": {
            "$ref": "#/components/schemas/SellingRateInfo"
          },
          "promoIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "非必填",
            "nullable": true
          },
          "promoDescription": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoomTypeEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19
        ],
        "type": "integer",
        "format": "int32"
      },
      "SellingRateInfo": {
        "type": "object",
        "additionalProperties": false
      },
      "SexEnum": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "SizeUnitEnum": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "SmokingPreferencesEnum": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "TKBookStatus": {
        "type": "object",
        "properties": {
          "uniqueId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "issuanceId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "sourceProvider": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/IssueCheckStatusEnum"
          }
        },
        "additionalProperties": false
      },
      "TKBookingRequest": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "uniqueId": {
            "type": "string",
            "description": "非必填, The Traveloka id that is associated with this booking",
            "nullable": true
          },
          "numRooms": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "numAdults": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "numChildren": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "childrenAges": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "",
            "nullable": true
          },
          "checkInDate": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "checkOutDate": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "contact": {
            "$ref": "#/components/schemas/ContactInfo"
          },
          "guests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GuestInfo"
            },
            "description": "非必填",
            "nullable": true
          },
          "specialRequest": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "hotelRatePlanType": {
            "$ref": "#/components/schemas/RatePlanTypeEnum"
          },
          "providerHotelId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "totalSearchRate": {
            "$ref": "#/components/schemas/HotelPriceRate"
          },
          "locale": {
            "type": "string",
            "description": "非必填, Response language",
            "nullable": true
          },
          "roomSpecs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoomSpec"
            },
            "description": "Room specification",
            "nullable": true
          },
          "rateType": {
            "$ref": "#/components/schemas/RateTypeEnum"
          }
        },
        "additionalProperties": false
      },
      "TKBookingResponse": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "description": "非必填",
            "nullable": true
          },
          "bookingToken": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/OrderStatusEnum"
          },
          "failureReason": {
            "$ref": "#/components/schemas/OrderFailEnum"
          },
          "bookSpec": {
            "$ref": "#/components/schemas/BookSpec"
          }
        },
        "additionalProperties": false
      },
      "TKCancelInfo": {
        "type": "object",
        "properties": {
          "issuanceId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "uniqueId": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "cancelFee": {
            "type": "number",
            "description": "取消费用，强制取消时才需要填写，需客服跟上下游沟通好",
            "format": "double",
            "nullable": true
          },
          "hotelRoomBookingIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "非必填，暂不支持分房间取消",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TKCancelRequest": {
        "type": "object",
        "properties": {
          "hotelBooking": {
            "$ref": "#/components/schemas/TKCancelInfo"
          }
        },
        "additionalProperties": false
      },
      "TKCancelResponse": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CancelStatusEnum"
          },
          "failedRoomBookingIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "非必填，暂不支持分房间取消",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TKCreditCardInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "ccNum": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "securityCode": {
            "type": "string",
            "description": "",
            "nullable": true
          },
          "ccType": {
            "$ref": "#/components/schemas/CreditCardTypeEnum"
          },
          "validMonth": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "validYear": {
            "type": "integer",
            "description": "",
            "format": "int32"
          },
          "creditCardHolderName": {
            "$ref": "#/components/schemas/CreditCardHolderInfo"
          }
        },
        "additionalProperties": false
      },
      "TKOrderSearchModel": {
        "type": "object",
        "properties": {
          "uniqueId": {
            "type": "string",
            "nullable": true
          },
          "xwOrderNum": {
            "type": "string",
            "nullable": true
          },
          "hotelName": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/TKOrderStatusEnum"
          },
          "checkIn": {
            "type": "string",
            "nullable": true
          },
          "checkOut": {
            "type": "string",
            "nullable": true
          },
          "createTime_Begin": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createTime_End": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "pageIndex": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TKOrderStatusEnum": {
        "enum": [
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "description": "TK订单当前状态",
        "format": "int32"
      },
      "TotalGuestInfo": {
        "type": "object",
        "properties": {
          "numAdults": {
            "type": "integer",
            "description": "成人，所有房间总数",
            "format": "int32"
          },
          "numChildren": {
            "type": "integer",
            "description": "儿童，所有房间总数",
            "format": "int32"
          },
          "childrenAges": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    }
  }
}