@chuxingpay/sabre

1.1.14 • Public • Published

Sabre接口对接 SDK

安装

npm i @chuxingpay/sabre

测试

npm run test

接口函数

  • getToken: 获取访问令牌
  • getHotelList: 获取酒店列表
  • getHotelContent: 获取酒店详情

TODOS

  • refreshToken: 刷新访问令牌
  • getHotelRoomTypeList: 获取酒店房型列表
  • getHotelRoomRateList: 获取酒店房价列表
  • getIncrementDailyRoomRateList: 获取房价变化增量列表
  • getHotelInventoryList: 获取酒店库存
  • createOrder: 创建订单
  • queryOrder: 查询订单
  • cancelOrder: 取消订单
  • createTrialOrder: 创建预订试单
  • prepayOrder: 订单预付

Sabre Environments

Tips

Readme

Keywords

Package Sidebar

Install

npm i @chuxingpay/sabre

Weekly Downloads

1

Version

1.1.14

License

ISC

Unpacked Size

33.3 kB

Total Files

9

Last publish

Collaborators

  • canliu
  • jonny.huang
  • qiuxiaoming
  • leeqiang
  • anxing131
  • destec