Documentation ¶
Overview ¶
Package ship 包含船票API相关方法
Index ¶
- func AlitripShipOrderNotify(clt *core.SDKClient, req *ship.AlitripShipOrderNotifyAPIRequest, ...) (*ship.AlitripShipOrderNotifyAPIResponse, error)
- func AlitripShipProductSyncbase(clt *core.SDKClient, req *ship.AlitripShipProductSyncbaseAPIRequest, ...) (*ship.AlitripShipProductSyncbaseAPIResponse, error)
- func AlitripShipProductSynccall(clt *core.SDKClient, req *ship.AlitripShipProductSynccallAPIRequest, ...) (*ship.AlitripShipProductSynccallAPIResponse, error)
- func AlitripShipProductSyncnunber(clt *core.SDKClient, req *ship.AlitripShipProductSyncnunberAPIRequest, ...) (*ship.AlitripShipProductSyncnunberAPIResponse, error)
- func AlitripShipReturnNotify(clt *core.SDKClient, req *ship.AlitripShipReturnNotifyAPIRequest, ...) (*ship.AlitripShipReturnNotifyAPIResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlitripShipOrderNotify ¶
func AlitripShipOrderNotify(clt *core.SDKClient, req *ship.AlitripShipOrderNotifyAPIRequest, session string) (*ship.AlitripShipOrderNotifyAPIResponse, error)
AlitripShipOrderNotify 订单信息回填(出票回调) alitrip.ship.order.notify
此接口为接入商调用飞猪旅行接口回填票号、密码(验证码)等订单信息。接口根据alitripOrderId幂等。若第一次调用失败,后续调用仍然可以回填票号、密码(验证码)成功。第一次调用成功后,后续调用会直接返回第一次的调用结果,不会再产生更新操作。多张票同时出票回填时,保证原子性,只允许全部成功或者全部失败,不能存在部分成功或者失败
func AlitripShipProductSyncbase ¶
func AlitripShipProductSyncbase(clt *core.SDKClient, req *ship.AlitripShipProductSyncbaseAPIRequest, session string) (*ship.AlitripShipProductSyncbaseAPIResponse, error)
AlitripShipProductSyncbase 基础信息修改回调 alitrip.ship.product.syncbase
基础信息修改回调
func AlitripShipProductSynccall ¶
func AlitripShipProductSynccall(clt *core.SDKClient, req *ship.AlitripShipProductSynccallAPIRequest, session string) (*ship.AlitripShipProductSynccallAPIResponse, error)
AlitripShipProductSynccall 全量同步回调 alitrip.ship.product.synccall
全量同步接口
func AlitripShipProductSyncnunber ¶
func AlitripShipProductSyncnunber(clt *core.SDKClient, req *ship.AlitripShipProductSyncnunberAPIRequest, session string) (*ship.AlitripShipProductSyncnunberAPIResponse, error)
AlitripShipProductSyncnunber 船票班次变更回调 alitrip.ship.product.syncnunber
船票班次变更回调
func AlitripShipReturnNotify ¶
func AlitripShipReturnNotify(clt *core.SDKClient, req *ship.AlitripShipReturnNotifyAPIRequest, session string) (*ship.AlitripShipReturnNotifyAPIResponse, error)
AlitripShipReturnNotify 船票退票退款回填接口 alitrip.ship.return.notify
此接口为接入商调用飞猪接口回填退票状态,飞猪平台给用户进行退票退款。飞猪平台保证数据幂等。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.