Documentation
¶
Index ¶
- type AlitripShipOrderNotifyAPIResponse
- type AlitripShipOrderNotifyRequest
- func (r AlitripShipOrderNotifyRequest) GetApiMethodName() string
- func (r AlitripShipOrderNotifyRequest) GetApiParams() url.Values
- func (r AlitripShipOrderNotifyRequest) GetConfirmBookRQ() *ShipAgentConfirmBookRq
- func (r *AlitripShipOrderNotifyRequest) SetConfirmBookRQ(confirmBookRQ *ShipAgentConfirmBookRq) error
- type AlitripShipOrderNotifyResponse
- type AlitripShipProductSyncbaseAPIResponse
- type AlitripShipProductSyncbaseRequest
- type AlitripShipProductSyncbaseResponse
- type AlitripShipProductSynccallAPIResponse
- type AlitripShipProductSynccallRequest
- type AlitripShipProductSynccallResponse
- type AlitripShipProductSyncnunberAPIResponse
- type AlitripShipProductSyncnunberRequest
- func (r AlitripShipProductSyncnunberRequest) GetApiMethodName() string
- func (r AlitripShipProductSyncnunberRequest) GetApiParams() url.Values
- func (r AlitripShipProductSyncnunberRequest) GetCityCode() string
- func (r AlitripShipProductSyncnunberRequest) GetCityName() string
- func (r AlitripShipProductSyncnunberRequest) GetFromStationCode() string
- func (r AlitripShipProductSyncnunberRequest) GetFromStationName() string
- func (r *AlitripShipProductSyncnunberRequest) SetCityCode(cityCode string) error
- func (r *AlitripShipProductSyncnunberRequest) SetCityName(cityName string) error
- func (r *AlitripShipProductSyncnunberRequest) SetFromStationCode(fromStationCode string) error
- func (r *AlitripShipProductSyncnunberRequest) SetFromStationName(fromStationName string) error
- type AlitripShipProductSyncnunberResponse
- type AlitripShipReturnNotifyAPIResponse
- type AlitripShipReturnNotifyRequest
- func (r AlitripShipReturnNotifyRequest) GetApiMethodName() string
- func (r AlitripShipReturnNotifyRequest) GetApiParams() url.Values
- func (r AlitripShipReturnNotifyRequest) GetConfirmRefundRQ() *ShipAgentConfirmRefundRq
- func (r *AlitripShipReturnNotifyRequest) SetConfirmRefundRQ(confirmRefundRQ *ShipAgentConfirmRefundRq) error
- type AlitripShipReturnNotifyResponse
- type ShipAgentConfirmBookPassengerInfo
- type ShipAgentConfirmBookRq
- type ShipAgentConfirmBookTicketInfo
- type ShipAgentConfirmRefundRq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlitripShipOrderNotifyAPIResponse ¶
type AlitripShipOrderNotifyAPIResponse struct { model.CommonResponse AlitripShipOrderNotifyResponse }
订单信息回填(出票回调) APIResponse alitrip.ship.order.notify
此接口为接入商调用飞猪旅行接口回填票号、密码(验证码)等订单信息。接口根据alitripOrderId幂等。若第一次调用失败,后续调用仍然可以回填票号、密码(验证码)成功。第一次调用成功后,后续调用会直接返回第一次的调用结果,不会再产生更新操作。多张票同时出票回填时,保证原子性,只允许全部成功或者全部失败,不能存在部分成功或者失败
type AlitripShipOrderNotifyRequest ¶
type AlitripShipOrderNotifyRequest struct { model.Params // contains filtered or unexported fields }
订单信息回填(出票回调) APIRequest alitrip.ship.order.notify
此接口为接入商调用飞猪旅行接口回填票号、密码(验证码)等订单信息。接口根据alitripOrderId幂等。若第一次调用失败,后续调用仍然可以回填票号、密码(验证码)成功。第一次调用成功后,后续调用会直接返回第一次的调用结果,不会再产生更新操作。多张票同时出票回填时,保证原子性,只允许全部成功或者全部失败,不能存在部分成功或者失败
func NewAlitripShipOrderNotifyRequest ¶
func NewAlitripShipOrderNotifyRequest() *AlitripShipOrderNotifyRequest
func (AlitripShipOrderNotifyRequest) GetApiMethodName ¶
func (r AlitripShipOrderNotifyRequest) GetApiMethodName() string
func (AlitripShipOrderNotifyRequest) GetApiParams ¶
func (r AlitripShipOrderNotifyRequest) GetApiParams() url.Values
func (AlitripShipOrderNotifyRequest) GetConfirmBookRQ ¶
func (r AlitripShipOrderNotifyRequest) GetConfirmBookRQ() *ShipAgentConfirmBookRq
func (*AlitripShipOrderNotifyRequest) SetConfirmBookRQ ¶
func (r *AlitripShipOrderNotifyRequest) SetConfirmBookRQ(confirmBookRQ *ShipAgentConfirmBookRq) error
type AlitripShipOrderNotifyResponse ¶
type AlitripShipOrderNotifyResponse struct { XMLName xml.Name `xml:"alitrip_ship_order_notify_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 RetCode string `json:"ret_code,omitempty" xml:"ret_code,omitempty"` RetMsg string `json:"ret_msg,omitempty" xml:"ret_msg,omitempty"` RetSuccess bool `json:"ret_success,omitempty" xml:"ret_success,omitempty"` }
type AlitripShipProductSyncbaseAPIResponse ¶
type AlitripShipProductSyncbaseAPIResponse struct { model.CommonResponse AlitripShipProductSyncbaseResponse }
基础信息修改回调 APIResponse alitrip.ship.product.syncbase
基础信息修改回调
type AlitripShipProductSyncbaseRequest ¶
基础信息修改回调 APIRequest alitrip.ship.product.syncbase
基础信息修改回调
func NewAlitripShipProductSyncbaseRequest ¶
func NewAlitripShipProductSyncbaseRequest() *AlitripShipProductSyncbaseRequest
func (AlitripShipProductSyncbaseRequest) GetApiMethodName ¶
func (r AlitripShipProductSyncbaseRequest) GetApiMethodName() string
func (AlitripShipProductSyncbaseRequest) GetApiParams ¶
func (r AlitripShipProductSyncbaseRequest) GetApiParams() url.Values
type AlitripShipProductSyncbaseResponse ¶
type AlitripShipProductSyncbaseResponse struct { XMLName xml.Name `xml:"alitrip_ship_product_syncbase_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
type AlitripShipProductSynccallAPIResponse ¶
type AlitripShipProductSynccallAPIResponse struct { model.CommonResponse AlitripShipProductSynccallResponse }
全量同步回调 APIResponse alitrip.ship.product.synccall
全量同步接口
type AlitripShipProductSynccallRequest ¶
全量同步回调 APIRequest alitrip.ship.product.synccall
全量同步接口
func NewAlitripShipProductSynccallRequest ¶
func NewAlitripShipProductSynccallRequest() *AlitripShipProductSynccallRequest
func (AlitripShipProductSynccallRequest) GetApiMethodName ¶
func (r AlitripShipProductSynccallRequest) GetApiMethodName() string
func (AlitripShipProductSynccallRequest) GetApiParams ¶
func (r AlitripShipProductSynccallRequest) GetApiParams() url.Values
type AlitripShipProductSynccallResponse ¶
type AlitripShipProductSynccallResponse struct { XMLName xml.Name `xml:"alitrip_ship_product_synccall_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
type AlitripShipProductSyncnunberAPIResponse ¶
type AlitripShipProductSyncnunberAPIResponse struct { model.CommonResponse AlitripShipProductSyncnunberResponse }
船票班次变更回调 APIResponse alitrip.ship.product.syncnunber
船票班次变更回调
type AlitripShipProductSyncnunberRequest ¶
type AlitripShipProductSyncnunberRequest struct { model.Params // contains filtered or unexported fields }
船票班次变更回调 APIRequest alitrip.ship.product.syncnunber
船票班次变更回调
func NewAlitripShipProductSyncnunberRequest ¶
func NewAlitripShipProductSyncnunberRequest() *AlitripShipProductSyncnunberRequest
func (AlitripShipProductSyncnunberRequest) GetApiMethodName ¶
func (r AlitripShipProductSyncnunberRequest) GetApiMethodName() string
func (AlitripShipProductSyncnunberRequest) GetApiParams ¶
func (r AlitripShipProductSyncnunberRequest) GetApiParams() url.Values
func (AlitripShipProductSyncnunberRequest) GetCityCode ¶
func (r AlitripShipProductSyncnunberRequest) GetCityCode() string
func (AlitripShipProductSyncnunberRequest) GetCityName ¶
func (r AlitripShipProductSyncnunberRequest) GetCityName() string
func (AlitripShipProductSyncnunberRequest) GetFromStationCode ¶
func (r AlitripShipProductSyncnunberRequest) GetFromStationCode() string
func (AlitripShipProductSyncnunberRequest) GetFromStationName ¶
func (r AlitripShipProductSyncnunberRequest) GetFromStationName() string
func (*AlitripShipProductSyncnunberRequest) SetCityCode ¶
func (r *AlitripShipProductSyncnunberRequest) SetCityCode(cityCode string) error
func (*AlitripShipProductSyncnunberRequest) SetCityName ¶
func (r *AlitripShipProductSyncnunberRequest) SetCityName(cityName string) error
func (*AlitripShipProductSyncnunberRequest) SetFromStationCode ¶
func (r *AlitripShipProductSyncnunberRequest) SetFromStationCode(fromStationCode string) error
func (*AlitripShipProductSyncnunberRequest) SetFromStationName ¶
func (r *AlitripShipProductSyncnunberRequest) SetFromStationName(fromStationName string) error
type AlitripShipProductSyncnunberResponse ¶
type AlitripShipProductSyncnunberResponse struct { XMLName xml.Name `xml:"alitrip_ship_product_syncnunber_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
type AlitripShipReturnNotifyAPIResponse ¶
type AlitripShipReturnNotifyAPIResponse struct { model.CommonResponse AlitripShipReturnNotifyResponse }
船票退票退款回填接口 APIResponse alitrip.ship.return.notify
此接口为接入商调用飞猪接口回填退票状态,飞猪平台给用户进行退票退款。飞猪平台保证数据幂等。
type AlitripShipReturnNotifyRequest ¶
type AlitripShipReturnNotifyRequest struct { model.Params // contains filtered or unexported fields }
船票退票退款回填接口 APIRequest alitrip.ship.return.notify
此接口为接入商调用飞猪接口回填退票状态,飞猪平台给用户进行退票退款。飞猪平台保证数据幂等。
func NewAlitripShipReturnNotifyRequest ¶
func NewAlitripShipReturnNotifyRequest() *AlitripShipReturnNotifyRequest
func (AlitripShipReturnNotifyRequest) GetApiMethodName ¶
func (r AlitripShipReturnNotifyRequest) GetApiMethodName() string
func (AlitripShipReturnNotifyRequest) GetApiParams ¶
func (r AlitripShipReturnNotifyRequest) GetApiParams() url.Values
func (AlitripShipReturnNotifyRequest) GetConfirmRefundRQ ¶
func (r AlitripShipReturnNotifyRequest) GetConfirmRefundRQ() *ShipAgentConfirmRefundRq
func (*AlitripShipReturnNotifyRequest) SetConfirmRefundRQ ¶
func (r *AlitripShipReturnNotifyRequest) SetConfirmRefundRQ(confirmRefundRQ *ShipAgentConfirmRefundRq) error
type AlitripShipReturnNotifyResponse ¶
type AlitripShipReturnNotifyResponse struct { XMLName xml.Name `xml:"alitrip_ship_return_notify_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 RetCode string `json:"ret_code,omitempty" xml:"ret_code,omitempty"` RetMsg string `json:"ret_msg,omitempty" xml:"ret_msg,omitempty"` RetSuccess bool `json:"ret_success,omitempty" xml:"ret_success,omitempty"` }
type ShipAgentConfirmBookPassengerInfo ¶
type ShipAgentConfirmBookPassengerInfo struct { PassengerCertNo string `json:"passenger_cert_no,omitempty" xml:"passenger_cert_no,omitempty"` PassengerCertType string `json:"passenger_cert_type,omitempty" xml:"passenger_cert_type,omitempty"` PassengerId string `json:"passenger_id,omitempty" xml:"passenger_id,omitempty"` PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"` TicketList []ShipAgentConfirmBookTicketInfo `json:"ticket_list,omitempty" xml:"ticket_list,omitempty"` }
ShipAgentConfirmBookPassengerInfo
type ShipAgentConfirmBookRq ¶
type ShipAgentConfirmBookRq struct { AgentOrderId string `json:"agent_order_id,omitempty" xml:"agent_order_id,omitempty"` AlitripOrderId string `json:"alitrip_order_id,omitempty" xml:"alitrip_order_id,omitempty"` FetchTicketsAddress string `json:"fetch_tickets_address,omitempty" xml:"fetch_tickets_address,omitempty"` FetchTicketsNumber string `json:"fetch_tickets_number,omitempty" xml:"fetch_tickets_number,omitempty"` FetchTicketsPwd string `json:"fetch_tickets_pwd,omitempty" xml:"fetch_tickets_pwd,omitempty"` MainBizOrderId int64 `json:"main_biz_order_id,omitempty" xml:"main_biz_order_id,omitempty"` Message string `json:"message,omitempty" xml:"message,omitempty"` OrderAttr string `json:"order_attr,omitempty" xml:"order_attr,omitempty"` PassengerList []ShipAgentConfirmBookPassengerInfo `json:"passenger_list,omitempty" xml:"passenger_list,omitempty"` Success bool `json:"success,omitempty" xml:"success,omitempty"` TicketCount int64 `json:"ticket_count,omitempty" xml:"ticket_count,omitempty"` TicketWicket string `json:"ticket_wicket,omitempty" xml:"ticket_wicket,omitempty"` TotalPrice int64 `json:"total_price,omitempty" xml:"total_price,omitempty"` FailedCode string `json:"failed_code,omitempty" xml:"failed_code,omitempty"` }
ShipAgentConfirmBookRq
type ShipAgentConfirmBookTicketInfo ¶
type ShipAgentConfirmBookTicketInfo struct { ETicketNo string `json:"e_ticket_no,omitempty" xml:"e_ticket_no,omitempty"` TicketDesc string `json:"ticket_desc,omitempty" xml:"ticket_desc,omitempty"` TicketId string `json:"ticket_id,omitempty" xml:"ticket_id,omitempty"` TicketNo string `json:"ticket_no,omitempty" xml:"ticket_no,omitempty"` TicketPrice int64 `json:"ticket_price,omitempty" xml:"ticket_price,omitempty"` TicketPwd string `json:"ticket_pwd,omitempty" xml:"ticket_pwd,omitempty"` TicketSeatNo string `json:"ticket_seat_no,omitempty" xml:"ticket_seat_no,omitempty"` TicketStatus string `json:"ticket_status,omitempty" xml:"ticket_status,omitempty"` TicketSubType string `json:"ticket_sub_type,omitempty" xml:"ticket_sub_type,omitempty"` TicketTitle string `json:"ticket_title,omitempty" xml:"ticket_title,omitempty"` TicketType string `json:"ticket_type,omitempty" xml:"ticket_type,omitempty"` ExtAttr string `json:"ext_attr,omitempty" xml:"ext_attr,omitempty"` ExpireTime string `json:"expire_time,omitempty" xml:"expire_time,omitempty"` }
ShipAgentConfirmBookTicketInfo
type ShipAgentConfirmRefundRq ¶
type ShipAgentConfirmRefundRq struct { AgentExtAttr string `json:"agent_ext_attr,omitempty" xml:"agent_ext_attr,omitempty"` AgentOrderId string `json:"agent_order_id,omitempty" xml:"agent_order_id,omitempty"` AgentRefundAmount int64 `json:"agent_refund_amount,omitempty" xml:"agent_refund_amount,omitempty"` AgentRefundTransId string `json:"agent_refund_trans_id,omitempty" xml:"agent_refund_trans_id,omitempty"` AgentReturnMode string `json:"agent_return_mode,omitempty" xml:"agent_return_mode,omitempty"` AgentReturnTicketCode int64 `json:"agent_return_ticket_code,omitempty" xml:"agent_return_ticket_code,omitempty"` AgentReturnTicketStatus int64 `json:"agent_return_ticket_status,omitempty" xml:"agent_return_ticket_status,omitempty"` AgentReturnTicketType int64 `json:"agent_return_ticket_type,omitempty" xml:"agent_return_ticket_type,omitempty"` AgentReturnTime string `json:"agent_return_time,omitempty" xml:"agent_return_time,omitempty"` AgentTicketId string `json:"agent_ticket_id,omitempty" xml:"agent_ticket_id,omitempty"` AlitripOrderId int64 `json:"alitrip_order_id,omitempty" xml:"alitrip_order_id,omitempty"` PassengerId string `json:"passenger_id,omitempty" xml:"passenger_id,omitempty"` }
ShipAgentConfirmRefundRq
Source Files
¶
- AlitripShipOrderNotifyRequest.go
- AlitripShipOrderNotifyResponse.go
- AlitripShipProductSyncbaseRequest.go
- AlitripShipProductSyncbaseResponse.go
- AlitripShipProductSynccallRequest.go
- AlitripShipProductSynccallResponse.go
- AlitripShipProductSyncnunberRequest.go
- AlitripShipProductSyncnunberResponse.go
- AlitripShipReturnNotifyRequest.go
- AlitripShipReturnNotifyResponse.go
- ShipAgentConfirmBookPassengerInfo.go
- ShipAgentConfirmBookRq.go
- ShipAgentConfirmBookTicketInfo.go
- ShipAgentConfirmRefundRq.go