Documentation ¶
Overview ¶
Package train 包含火车票API相关结构体
Index ¶
- type BookTicketConfirmRq
- type BookTicketFailRq
- type ChangeApplyOrderDto
- type ChangeApplySubOrderDto
- type ChangeIssueRq
- type ChangeTicketDto
- type CustomMadeItemDto
- type FreeChildrenTicketDealRq
- type FreeChildrenTicketDetailRq
- type FreeChildrenTicketDetailRs
- type FreeChildrenTicketListRs
- type IgnoreOrderRq
- type LockOrderRq
- type LockOrderRs
- type OrderTicketInfo
- type PassengerInfo
- type QueryChangeDetailRq
- type QueryOrderRq
- type QueryOrderRs
- type QueryUntreatedChangeRq
- type StudentInfo
- type TaobaoTrainAgentBookordersGetVtwoAPIRequest
- func (r TaobaoTrainAgentBookordersGetVtwoAPIRequest) GetAgentId() int64
- func (r TaobaoTrainAgentBookordersGetVtwoAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentBookordersGetVtwoAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentBookordersGetVtwoAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentBookordersGetVtwoAPIRequest) SetAgentId(_agentId int64) error
- type TaobaoTrainAgentBookordersGetVtwoAPIResponse
- type TaobaoTrainAgentBookordersGetVtwoAPIResponseModel
- type TaobaoTrainAgentBookticketConfirmVtwoAPIRequest
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetAgentId() int64
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetAlipayAccount() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetAlipayTradeNo() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetArriveDate() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetBoardingGates() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetCanChange() bool
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetDepDate() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetExpectDeliveryTime() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetExtendParams() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetFailMsg() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetFromStationName() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetMainOrderId() int64
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetOrderType() int64
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetRawParams() model.Params
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetStatus() bool
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetSubOrderId() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetTicket12306Id() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetTicketInfoList() []OrderTicketInfo
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetTicketNum() int64
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetTickets() []string
- func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetToStationName() string
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetAgentId(_agentId int64) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetAlipayAccount(_alipayAccount string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetAlipayTradeNo(_alipayTradeNo string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetArriveDate(_arriveDate string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetBoardingGates(_boardingGates string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetCanChange(_canChange bool) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetDepDate(_depDate string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetExpectDeliveryTime(_expectDeliveryTime string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetExtendParams(_extendParams string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetFailMsg(_failMsg string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetFromStationName(_fromStationName string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetMainOrderId(_mainOrderId int64) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetOrderType(_orderType int64) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetStatus(_status bool) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetSubOrderId(_subOrderId string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetTicket12306Id(_ticket12306Id string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetTicketInfoList(_ticketInfoList []OrderTicketInfo) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetTicketNum(_ticketNum int64) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetTickets(_tickets []string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetToStationName(_toStationName string) error
- type TaobaoTrainAgentBookticketConfirmVtwoAPIResponse
- type TaobaoTrainAgentBookticketConfirmVtwoAPIResponseModel
- type TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest
- func (r TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest) GetChangeIssueRq() *ChangeIssueRq
- func (r TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest) SetChangeIssueRq(_changeIssueRq *ChangeIssueRq) error
- type TaobaoTrainAgentChangeissueConfirmVtwoAPIResponse
- type TaobaoTrainAgentChangeissueConfirmVtwoAPIResponseModel
- type TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest
- func (r TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest) GetQueryChangeDetailRq() *QueryChangeDetailRq
- func (r TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest) SetQueryChangeDetailRq(_queryChangeDetailRq *QueryChangeDetailRq) error
- type TaobaoTrainAgentChangeorderdetailQueryVtwoAPIResponse
- type TaobaoTrainAgentChangeorderdetailQueryVtwoAPIResponseModel
- type TaobaoTrainAgentExpressSetAPIRequest
- func (r TaobaoTrainAgentExpressSetAPIRequest) GetAddr() string
- func (r TaobaoTrainAgentExpressSetAPIRequest) GetAgentId() int64
- func (r TaobaoTrainAgentExpressSetAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentExpressSetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentExpressSetAPIRequest) GetExpressId() string
- func (r TaobaoTrainAgentExpressSetAPIRequest) GetExpressName() string
- func (r TaobaoTrainAgentExpressSetAPIRequest) GetMainOrderId() int64
- func (r TaobaoTrainAgentExpressSetAPIRequest) GetMobile() string
- func (r TaobaoTrainAgentExpressSetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentExpressSetAPIRequest) SetAddr(_addr string) error
- func (r *TaobaoTrainAgentExpressSetAPIRequest) SetAgentId(_agentId int64) error
- func (r *TaobaoTrainAgentExpressSetAPIRequest) SetExpressId(_expressId string) error
- func (r *TaobaoTrainAgentExpressSetAPIRequest) SetExpressName(_expressName string) error
- func (r *TaobaoTrainAgentExpressSetAPIRequest) SetMainOrderId(_mainOrderId int64) error
- func (r *TaobaoTrainAgentExpressSetAPIRequest) SetMobile(_mobile string) error
- type TaobaoTrainAgentExpressSetAPIResponse
- type TaobaoTrainAgentExpressSetAPIResponseModel
- type TaobaoTrainAgentExpressSetVtwoAPIRequest
- func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetAddr() string
- func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetAgentId() int64
- func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetExpressId() string
- func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetExpressName() string
- func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetMainOrderId() int64
- func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetMobile() string
- func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentExpressSetVtwoAPIRequest) SetAddr(_addr string) error
- func (r *TaobaoTrainAgentExpressSetVtwoAPIRequest) SetAgentId(_agentId int64) error
- func (r *TaobaoTrainAgentExpressSetVtwoAPIRequest) SetExpressId(_expressId string) error
- func (r *TaobaoTrainAgentExpressSetVtwoAPIRequest) SetExpressName(_expressName string) error
- func (r *TaobaoTrainAgentExpressSetVtwoAPIRequest) SetMainOrderId(_mainOrderId int64) error
- func (r *TaobaoTrainAgentExpressSetVtwoAPIRequest) SetMobile(_mobile string) error
- type TaobaoTrainAgentExpressSetVtwoAPIResponse
- type TaobaoTrainAgentExpressSetVtwoAPIResponseModel
- type TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest
- func (r TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest) GetFreeChildrenTicketDealRq() *FreeChildrenTicketDealRq
- func (r TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest) SetFreeChildrenTicketDealRq(_freeChildrenTicketDealRq *FreeChildrenTicketDealRq) error
- type TaobaoTrainAgentFreechildrendealConfirmVtwoAPIResponse
- type TaobaoTrainAgentFreechildrendealConfirmVtwoAPIResponseModel
- type TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest
- func (r TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest) GetFreeChildrenTicketDetailRq() *FreeChildrenTicketDetailRq
- func (r TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest) SetFreeChildrenTicketDetailRq(_freeChildrenTicketDetailRq *FreeChildrenTicketDetailRq) error
- type TaobaoTrainAgentFreechildrendetailQueryVtwoAPIResponse
- type TaobaoTrainAgentFreechildrendetailQueryVtwoAPIResponseModel
- type TaobaoTrainAgentFreechildrenlistQueryVtwoAPIRequest
- type TaobaoTrainAgentFreechildrenlistQueryVtwoAPIResponse
- type TaobaoTrainAgentFreechildrenlistQueryVtwoAPIResponseModel
- type TaobaoTrainAgentGetRefundAPIRequest
- func (r TaobaoTrainAgentGetRefundAPIRequest) GetAgentId() int64
- func (r TaobaoTrainAgentGetRefundAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentGetRefundAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentGetRefundAPIRequest) GetMainOrderId() int64
- func (r TaobaoTrainAgentGetRefundAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentGetRefundAPIRequest) SetAgentId(_agentId int64) error
- func (r *TaobaoTrainAgentGetRefundAPIRequest) SetMainOrderId(_mainOrderId int64) error
- type TaobaoTrainAgentGetRefundAPIResponse
- type TaobaoTrainAgentGetRefundAPIResponseModel
- type TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest
- func (r TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetExtendParams() string
- func (r TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetMainOrderId() int64
- func (r TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetRawParams() model.Params
- func (r TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetSellerId() int64
- func (r *TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) SetExtendParams(_extendParams string) error
- func (r *TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) SetMainOrderId(_mainOrderId int64) error
- func (r *TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) SetSellerId(_sellerId int64) error
- type TaobaoTrainAgentHandleticketConfirmVtwoAPIResponse
- type TaobaoTrainAgentHandleticketConfirmVtwoAPIResponseModel
- type TaobaoTrainAgentHandrefundRefundfeeAPIRequest
- func (r TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetMainBizOrderId() int64
- func (r TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetOutTradeNo() string
- func (r TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetRawParams() model.Params
- func (r TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetRefundFee() int64
- func (r TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetSubOrderId() int64
- func (r *TaobaoTrainAgentHandrefundRefundfeeAPIRequest) SetMainBizOrderId(_mainBizOrderId int64) error
- func (r *TaobaoTrainAgentHandrefundRefundfeeAPIRequest) SetOutTradeNo(_outTradeNo string) error
- func (r *TaobaoTrainAgentHandrefundRefundfeeAPIRequest) SetRefundFee(_refundFee int64) error
- func (r *TaobaoTrainAgentHandrefundRefundfeeAPIRequest) SetSubOrderId(_subOrderId int64) error
- type TaobaoTrainAgentHandrefundRefundfeeAPIResponse
- type TaobaoTrainAgentHandrefundRefundfeeAPIResponseModel
- type TaobaoTrainAgentOrderConfirmAPIRequest
- func (r TaobaoTrainAgentOrderConfirmAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentOrderConfirmAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentOrderConfirmAPIRequest) GetParam() *BookTicketConfirmRq
- func (r TaobaoTrainAgentOrderConfirmAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentOrderConfirmAPIRequest) SetParam(_param *BookTicketConfirmRq) error
- type TaobaoTrainAgentOrderConfirmAPIResponse
- type TaobaoTrainAgentOrderConfirmAPIResponseModel
- type TaobaoTrainAgentOrderFailAPIRequest
- func (r TaobaoTrainAgentOrderFailAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentOrderFailAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentOrderFailAPIRequest) GetParam() *BookTicketFailRq
- func (r TaobaoTrainAgentOrderFailAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentOrderFailAPIRequest) SetParam(_param *BookTicketFailRq) error
- type TaobaoTrainAgentOrderFailAPIResponse
- type TaobaoTrainAgentOrderFailAPIResponseModel
- type TaobaoTrainAgentOrderGetAPIRequest
- func (r TaobaoTrainAgentOrderGetAPIRequest) GetAgentId() int64
- func (r TaobaoTrainAgentOrderGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentOrderGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentOrderGetAPIRequest) GetMainOrderId() int64
- func (r TaobaoTrainAgentOrderGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentOrderGetAPIRequest) SetAgentId(_agentId int64) error
- func (r *TaobaoTrainAgentOrderGetAPIRequest) SetMainOrderId(_mainOrderId int64) error
- type TaobaoTrainAgentOrderGetAPIResponse
- type TaobaoTrainAgentOrderGetAPIResponseModel
- type TaobaoTrainAgentOrderGetVtwoAPIRequest
- func (r TaobaoTrainAgentOrderGetVtwoAPIRequest) GetAgentId() int64
- func (r TaobaoTrainAgentOrderGetVtwoAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentOrderGetVtwoAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentOrderGetVtwoAPIRequest) GetMainOrderId() int64
- func (r TaobaoTrainAgentOrderGetVtwoAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentOrderGetVtwoAPIRequest) SetAgentId(_agentId int64) error
- func (r *TaobaoTrainAgentOrderGetVtwoAPIRequest) SetMainOrderId(_mainOrderId int64) error
- type TaobaoTrainAgentOrderGetVtwoAPIResponse
- type TaobaoTrainAgentOrderGetVtwoAPIResponseModel
- type TaobaoTrainAgentOrderIgnoreAPIRequest
- func (r TaobaoTrainAgentOrderIgnoreAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentOrderIgnoreAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentOrderIgnoreAPIRequest) GetParam0() *IgnoreOrderRq
- func (r TaobaoTrainAgentOrderIgnoreAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentOrderIgnoreAPIRequest) SetParam0(_param0 *IgnoreOrderRq) error
- type TaobaoTrainAgentOrderIgnoreAPIResponse
- type TaobaoTrainAgentOrderIgnoreAPIResponseModel
- type TaobaoTrainAgentOrderLockAPIRequest
- func (r TaobaoTrainAgentOrderLockAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentOrderLockAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentOrderLockAPIRequest) GetParam() *LockOrderRq
- func (r TaobaoTrainAgentOrderLockAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentOrderLockAPIRequest) SetParam(_param *LockOrderRq) error
- type TaobaoTrainAgentOrderLockAPIResponse
- type TaobaoTrainAgentOrderLockAPIResponseModel
- type TaobaoTrainAgentOrderQueryAPIRequest
- func (r TaobaoTrainAgentOrderQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentOrderQueryAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentOrderQueryAPIRequest) GetParam0() *QueryOrderRq
- func (r TaobaoTrainAgentOrderQueryAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentOrderQueryAPIRequest) SetParam0(_param0 *QueryOrderRq) error
- type TaobaoTrainAgentOrderQueryAPIResponse
- type TaobaoTrainAgentOrderQueryAPIResponseModel
- type TaobaoTrainAgentReturnordersGetVtwoAPIRequest
- func (r TaobaoTrainAgentReturnordersGetVtwoAPIRequest) GetAgentId() int64
- func (r TaobaoTrainAgentReturnordersGetVtwoAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentReturnordersGetVtwoAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentReturnordersGetVtwoAPIRequest) GetOffline() int64
- func (r TaobaoTrainAgentReturnordersGetVtwoAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentReturnordersGetVtwoAPIRequest) SetAgentId(_agentId int64) error
- func (r *TaobaoTrainAgentReturnordersGetVtwoAPIRequest) SetOffline(_offline int64) error
- type TaobaoTrainAgentReturnordersGetVtwoAPIResponse
- type TaobaoTrainAgentReturnordersGetVtwoAPIResponseModel
- type TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest
- func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetAgentId() int64
- func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetAgreeReturn() bool
- func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetBuyerId() int64
- func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetCloseRefundNotify() bool
- func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetMainBizOrderId() int64
- func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetRawParams() model.Params
- func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetRefundFee() int64
- func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetRefuseReturnReason() string
- func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetSubBizOrderId() int64
- func (r *TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetAgentId(_agentId int64) error
- func (r *TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetAgreeReturn(_agreeReturn bool) error
- func (r *TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetBuyerId(_buyerId int64) error
- func (r *TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetCloseRefundNotify(_closeRefundNotify bool) error
- func (r *TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetMainBizOrderId(_mainBizOrderId int64) error
- func (r *TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetRefundFee(_refundFee int64) error
- func (r *TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetRefuseReturnReason(_refuseReturnReason string) error
- func (r *TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetSubBizOrderId(_subBizOrderId int64) error
- type TaobaoTrainAgentReturnticketConfirmVtwoAPIResponse
- type TaobaoTrainAgentReturnticketConfirmVtwoAPIResponseModel
- type TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest
- func (r TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetAgentId() int64
- func (r TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetMainOrderId() int64
- func (r TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetRawParams() model.Params
- func (r TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetSubOrderId() int64
- func (r *TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) SetAgentId(_agentId int64) error
- func (r *TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) SetMainOrderId(_mainOrderId int64) error
- func (r *TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) SetSubOrderId(_subOrderId int64) error
- type TaobaoTrainAgentReturnticketinfoGetVtwoAPIResponse
- type TaobaoTrainAgentReturnticketinfoGetVtwoAPIResponseModel
- type TaobaoTrainAgentTicketStatusCallbackAPIRequest
- func (r TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetId() string
- func (r TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetMsg() string
- func (r TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetRawParams() model.Params
- func (r TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetTicketStatus() int64
- func (r *TaobaoTrainAgentTicketStatusCallbackAPIRequest) SetId(_id string) error
- func (r *TaobaoTrainAgentTicketStatusCallbackAPIRequest) SetMsg(_msg string) error
- func (r *TaobaoTrainAgentTicketStatusCallbackAPIRequest) SetTicketStatus(_ticketStatus int64) error
- type TaobaoTrainAgentTicketStatusCallbackAPIResponse
- type TaobaoTrainAgentTicketStatusCallbackAPIResponseModel
- type TaobaoTrainAgentTostationConfirmAPIRequest
- func (r TaobaoTrainAgentTostationConfirmAPIRequest) GetAgentId() int64
- func (r TaobaoTrainAgentTostationConfirmAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentTostationConfirmAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentTostationConfirmAPIRequest) GetMainOrderId() int64
- func (r TaobaoTrainAgentTostationConfirmAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentTostationConfirmAPIRequest) SetAgentId(_agentId int64) error
- func (r *TaobaoTrainAgentTostationConfirmAPIRequest) SetMainOrderId(_mainOrderId int64) error
- type TaobaoTrainAgentTostationConfirmAPIResponse
- type TaobaoTrainAgentTostationConfirmAPIResponseModel
- type TaobaoTrainAgentTostationReceiveAPIRequest
- func (r TaobaoTrainAgentTostationReceiveAPIRequest) GetAgentId() int64
- func (r TaobaoTrainAgentTostationReceiveAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentTostationReceiveAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentTostationReceiveAPIRequest) GetMainOrderId() int64
- func (r TaobaoTrainAgentTostationReceiveAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentTostationReceiveAPIRequest) SetAgentId(_agentId int64) error
- func (r *TaobaoTrainAgentTostationReceiveAPIRequest) SetMainOrderId(_mainOrderId int64) error
- type TaobaoTrainAgentTostationReceiveAPIResponse
- type TaobaoTrainAgentTostationReceiveAPIResponseModel
- type TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest
- func (r TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest) GetQueryUntreatedChangeRq() *QueryUntreatedChangeRq
- func (r TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest) SetQueryUntreatedChangeRq(_queryUntreatedChangeRq *QueryUntreatedChangeRq) error
- type TaobaoTrainAgentUntreatedchangeQueryVtwoAPIResponse
- type TaobaoTrainAgentUntreatedchangeQueryVtwoAPIResponseModel
- type TaobaoTrainPurchaseOrderPayurlAPIRequest
- func (r TaobaoTrainPurchaseOrderPayurlAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainPurchaseOrderPayurlAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainPurchaseOrderPayurlAPIRequest) GetBusinessType() int64
- func (r TaobaoTrainPurchaseOrderPayurlAPIRequest) GetChangeApplyId() int64
- func (r TaobaoTrainPurchaseOrderPayurlAPIRequest) GetMainBizOrderId() int64
- func (r TaobaoTrainPurchaseOrderPayurlAPIRequest) GetPayChannel() string
- func (r TaobaoTrainPurchaseOrderPayurlAPIRequest) GetPayType() int64
- func (r TaobaoTrainPurchaseOrderPayurlAPIRequest) GetRawParams() model.Params
- func (r *TaobaoTrainPurchaseOrderPayurlAPIRequest) SetBusinessType(_businessType int64) error
- func (r *TaobaoTrainPurchaseOrderPayurlAPIRequest) SetChangeApplyId(_changeApplyId int64) error
- func (r *TaobaoTrainPurchaseOrderPayurlAPIRequest) SetMainBizOrderId(_mainBizOrderId int64) error
- func (r *TaobaoTrainPurchaseOrderPayurlAPIRequest) SetPayChannel(_payChannel string) error
- func (r *TaobaoTrainPurchaseOrderPayurlAPIRequest) SetPayType(_payType int64) error
- type TaobaoTrainPurchaseOrderPayurlAPIResponse
- type TaobaoTrainPurchaseOrderPayurlAPIResponseModel
- type TaobaoTrainStopAgentCallbackAPIRequest
- func (r TaobaoTrainStopAgentCallbackAPIRequest) GetApiMethodName() string
- func (r TaobaoTrainStopAgentCallbackAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTrainStopAgentCallbackAPIRequest) GetRawParams() model.Params
- func (r TaobaoTrainStopAgentCallbackAPIRequest) GetTrainAgentStopInfo() *TrainAgentStopInfo
- func (r *TaobaoTrainStopAgentCallbackAPIRequest) SetTrainAgentStopInfo(_trainAgentStopInfo *TrainAgentStopInfo) error
- type TaobaoTrainStopAgentCallbackAPIResponse
- type TaobaoTrainStopAgentCallbackAPIResponseModel
- type TapOrderVo
- type TapResult
- type TapSubOrderVo
- type TicketDto
- type TicketInfoDto
- type ToAgentTicketInfo
- type TrainAgentStopInfo
- type TrainInfo
- type VipCustomResultItem
- type VipCustomTicketConfirmItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookTicketConfirmRq ¶ added in v1.2.7
type BookTicketConfirmRq struct { // 票信息 Tickets []TicketDto `json:"tickets,omitempty" xml:"tickets>ticket_dto,omitempty"` // 支付宝交易流水号 AliPayTradeNo string `json:"ali_pay_trade_no,omitempty" xml:"ali_pay_trade_no,omitempty"` // 支付宝账号 AliPayAccount string `json:"ali_pay_account,omitempty" xml:"ali_pay_account,omitempty"` // 检票口信息 FlatMsg string `json:"flat_msg,omitempty" xml:"flat_msg,omitempty"` // 主单号 TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"` // 支付方式 CASH(0),ELECTRONIC(1) VipSettlementModeCode int64 `json:"vip_settlement_mode_code,omitempty" xml:"vip_settlement_mode_code,omitempty"` // 是否支持线上退改签 CanChange bool `json:"can_change,omitempty" xml:"can_change,omitempty"` }
BookTicketConfirmRq 结构体
type BookTicketFailRq ¶ added in v1.2.7
type BookTicketFailRq struct { // 出票失败原因 FailReason string `json:"fail_reason,omitempty" xml:"fail_reason,omitempty"` // 子订单号 SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 主单号 TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"` }
BookTicketFailRq 结构体
type ChangeApplyOrderDto ¶ added in v1.2.8
type ChangeApplyOrderDto struct { // 原票到达站三字码 OriginalToStationCode string `json:"original_to_station_code,omitempty" xml:"original_to_station_code,omitempty"` // 改签票出发站名称 ChangeFromStation string `json:"change_from_station,omitempty" xml:"change_from_station,omitempty"` // 原票123N6订单号 OriginalSequenceNo string `json:"original_sequence_no,omitempty" xml:"original_sequence_no,omitempty"` // 改签票出发站三字码 ChangeFromStationCode string `json:"change_from_station_code,omitempty" xml:"change_from_station_code,omitempty"` // 改签票到达站名称 ChangeToStation string `json:"change_to_station,omitempty" xml:"change_to_station,omitempty"` // 改签出票超时时间 ChangeIssueTimeout string `json:"change_issue_timeout,omitempty" xml:"change_issue_timeout,omitempty"` // 原票发车时间 OriginalFromDateTime string `json:"original_from_date_time,omitempty" xml:"original_from_date_time,omitempty"` // 改签票达到时间 ChangeToDateTime string `json:"change_to_date_time,omitempty" xml:"change_to_date_time,omitempty"` // 原票车次号 OriginalTrainCode string `json:"original_train_code,omitempty" xml:"original_train_code,omitempty"` // 原票发车日期 OriginalTrainDate string `json:"original_train_date,omitempty" xml:"original_train_date,omitempty"` // 原票出发站名称 OriginalFromStation string `json:"original_from_station,omitempty" xml:"original_from_station,omitempty"` // 改签票达到站三字码 ChangeToStationCode string `json:"change_to_station_code,omitempty" xml:"change_to_station_code,omitempty"` // 原票达到站名称 OriginalToStation string `json:"original_to_station,omitempty" xml:"original_to_station,omitempty"` // 原票出发站三字码 OriginalFromStationCode string `json:"original_from_station_code,omitempty" xml:"original_from_station_code,omitempty"` // 原票到达时间 OriginalToDateTime string `json:"original_to_date_time,omitempty" xml:"original_to_date_time,omitempty"` // 改签票发车时间 ChangeFromDateTime string `json:"change_from_date_time,omitempty" xml:"change_from_date_time,omitempty"` // 改签票发车日期 ChangeTrainDate string `json:"change_train_date,omitempty" xml:"change_train_date,omitempty"` // 改签票车次号 ChangeTrainCode string `json:"change_train_code,omitempty" xml:"change_train_code,omitempty"` // 淘宝主单单号 TpId int64 `json:"tp_id,omitempty" xml:"tp_id,omitempty"` // 代理商id AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"` // 改签票类型 0:改签 1:变更到站 ChangeTicketType int64 `json:"change_ticket_type,omitempty" xml:"change_ticket_type,omitempty"` // 改签申请单id ChangeApplyId int64 `json:"change_apply_id,omitempty" xml:"change_apply_id,omitempty"` // 现金结算标示 0:现金结算 1:电子结算 SettlementMode int64 `json:"settlement_mode,omitempty" xml:"settlement_mode,omitempty"` // 改签类型 0:低改高 1:平改 2:高改低 ChangeType int64 `json:"change_type,omitempty" xml:"change_type,omitempty"` // 整单票价总金额 TicketPriceAll int64 `json:"ticket_price_all,omitempty" xml:"ticket_price_all,omitempty"` // ttp单号 TtpId int64 `json:"ttp_id,omitempty" xml:"ttp_id,omitempty"` // 票数量 TicketTotalNum int64 `json:"ticket_total_num,omitempty" xml:"ticket_total_num,omitempty"` // 改签申请单状态 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
ChangeApplyOrderDto 结构体
type ChangeApplySubOrderDto ¶ added in v1.2.8
type ChangeApplySubOrderDto struct { // 乘车人姓名 PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"` // 原票坐席号 OriginalSeatNo string `json:"original_seat_no,omitempty" xml:"original_seat_no,omitempty"` // 原票坐席类型code OriginalSeatTypeCode string `json:"original_seat_type_code,omitempty" xml:"original_seat_type_code,omitempty"` // 原票坐席类型名称 OriginalSeatTypeName string `json:"original_seat_type_name,omitempty" xml:"original_seat_type_name,omitempty"` // 证件号 CertificateNo string `json:"certificate_no,omitempty" xml:"certificate_no,omitempty"` // 证件类型名称 CertificateTypeName string `json:"certificate_type_name,omitempty" xml:"certificate_type_name,omitempty"` // 证件类型code CertificateTypeCode string `json:"certificate_type_code,omitempty" xml:"certificate_type_code,omitempty"` // 原票票价(分) OriginalTicketPrice string `json:"original_ticket_price,omitempty" xml:"original_ticket_price,omitempty"` // 原票车厢名称 OriginalCoachName string `json:"original_coach_name,omitempty" xml:"original_coach_name,omitempty"` // 票类型名称 TicketTypeName string `json:"ticket_type_name,omitempty" xml:"ticket_type_name,omitempty"` // 原票车厢号 OriginalCoachNo string `json:"original_coach_no,omitempty" xml:"original_coach_no,omitempty"` // 改签票坐席类型code ChangeSeatTypeCode string `json:"change_seat_type_code,omitempty" xml:"change_seat_type_code,omitempty"` // 改签票坐席类型名称 ChangeSeatTypeName string `json:"change_seat_type_name,omitempty" xml:"change_seat_type_name,omitempty"` // 代理商id AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"` // 改签申请单id ChangeApplyId int64 `json:"change_apply_id,omitempty" xml:"change_apply_id,omitempty"` // 子单单号 SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 票类型code TicketTypeCode int64 `json:"ticket_type_code,omitempty" xml:"ticket_type_code,omitempty"` // 用户提交改签票价(卧铺、儿童票都是按最高票价提交) PreTicketPrice int64 `json:"pre_ticket_price,omitempty" xml:"pre_ticket_price,omitempty"` }
ChangeApplySubOrderDto 结构体
type ChangeIssueRq ¶ added in v1.2.8
type ChangeIssueRq struct { // 改签票信息列表 ChangeTickets []ChangeTicketDto `json:"change_tickets,omitempty" xml:"change_tickets>change_ticket_dto,omitempty"` // 改签票出发站 ChangeFromStation string `json:"change_from_station,omitempty" xml:"change_from_station,omitempty"` // 支付宝交易流水号 AlipayTradeNo string `json:"alipay_trade_no,omitempty" xml:"alipay_trade_no,omitempty"` // 支付宝账号 AlipayAccount string `json:"alipay_account,omitempty" xml:"alipay_account,omitempty"` // 改签票到达站 ChangeToStation string `json:"change_to_station,omitempty" xml:"change_to_station,omitempty"` // 改签票123N6订单号 SequenceNo string `json:"sequence_no,omitempty" xml:"sequence_no,omitempty"` // 改签票发车时间 ChangeFromDateTime string `json:"change_from_date_time,omitempty" xml:"change_from_date_time,omitempty"` // 改签票到达时间 ChangeToDateTime string `json:"change_to_date_time,omitempty" xml:"change_to_date_time,omitempty"` // 改签票发车日期 ChangeTrainDate string `json:"change_train_date,omitempty" xml:"change_train_date,omitempty"` // 改签票车次号 ChangeTrainCode string `json:"change_train_code,omitempty" xml:"change_train_code,omitempty"` // 改签出票失败msg IssueFailMsg string `json:"issue_fail_msg,omitempty" xml:"issue_fail_msg,omitempty"` // 改签失败出票回填code IssueFailCode int64 `json:"issue_fail_code,omitempty" xml:"issue_fail_code,omitempty"` // 代理商id AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"` // 改签申请单id ChangeApplyId int64 `json:"change_apply_id,omitempty" xml:"change_apply_id,omitempty"` // 改签结算方式 0现金 1电子 ChangeSettlementMode int64 `json:"change_settlement_mode,omitempty" xml:"change_settlement_mode,omitempty"` // 淘宝主单单号 TpOrderId int64 `json:"tp_order_id,omitempty" xml:"tp_order_id,omitempty"` // ttp单号 TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"` // 出票状态 1成功 2失败 IssueStatus int64 `json:"issue_status,omitempty" xml:"issue_status,omitempty"` }
ChangeIssueRq 结构体
type ChangeTicketDto ¶ added in v1.2.8
type ChangeTicketDto struct { // 改签票坐席类型名 ChangeSeatTypeName string `json:"change_seat_type_name,omitempty" xml:"change_seat_type_name,omitempty"` // 改签票坐席类型code ChangeSeatTypeCode string `json:"change_seat_type_code,omitempty" xml:"change_seat_type_code,omitempty"` // 改签票坐席号 ChangeSeatNo string `json:"change_seat_no,omitempty" xml:"change_seat_no,omitempty"` // 改签票车厢号 ChangeCoachNo string `json:"change_coach_no,omitempty" xml:"change_coach_no,omitempty"` // 票类型code TicketTypeCode string `json:"ticket_type_code,omitempty" xml:"ticket_type_code,omitempty"` // 改签票车厢名 ChangeCoachName string `json:"change_coach_name,omitempty" xml:"change_coach_name,omitempty"` // 票类型名称 TicketTypeName string `json:"ticket_type_name,omitempty" xml:"ticket_type_name,omitempty"` // 改签票票价,单位分 ChangeTicketPrice string `json:"change_ticket_price,omitempty" xml:"change_ticket_price,omitempty"` // 改签申请单id ChangeApplyId int64 `json:"change_apply_id,omitempty" xml:"change_apply_id,omitempty"` // 改签手续费,单位分 HandingFee int64 `json:"handing_fee,omitempty" xml:"handing_fee,omitempty"` // 子单单号 SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` }
ChangeTicketDto 结构体
type CustomMadeItemDto ¶ added in v1.2.9
type CustomMadeItemDto struct { // 定制类型 CustomType string `json:"custom_type,omitempty" xml:"custom_type,omitempty"` // 定制车厢集合字符串 CarriageCustom string `json:"carriage_custom,omitempty" xml:"carriage_custom,omitempty"` // 选座坐席号集合字符串 SeatCustom string `json:"seat_custom,omitempty" xml:"seat_custom,omitempty"` // 定制份数 Count int64 `json:"count,omitempty" xml:"count,omitempty"` // 是否接受非定制,0不接受,1接受 AcceptNoVipCustom int64 `json:"accept_no_vip_custom,omitempty" xml:"accept_no_vip_custom,omitempty"` }
CustomMadeItemDto 结构体
type FreeChildrenTicketDealRq ¶ added in v1.2.9
type FreeChildrenTicketDealRq struct { // 失败文案 FailMsg string `json:"fail_msg,omitempty" xml:"fail_msg,omitempty"` // 唯一id ApplyNo int64 `json:"apply_no,omitempty" xml:"apply_no,omitempty"` // 失败code FailCode int64 `json:"fail_code,omitempty" xml:"fail_code,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
FreeChildrenTicketDealRq 结构体
type FreeChildrenTicketDetailRq ¶ added in v1.2.9
type FreeChildrenTicketDetailRq struct { // 申请单号 ApplyNo int64 `json:"apply_no,omitempty" xml:"apply_no,omitempty"` }
FreeChildrenTicketDetailRq 结构体
type FreeChildrenTicketDetailRs ¶ added in v1.2.9
type FreeChildrenTicketDetailRs struct { // 唯一标识 ApplyNo string `json:"apply_no,omitempty" xml:"apply_no,omitempty"` // 超时时间 Timeout string `json:"timeout,omitempty" xml:"timeout,omitempty"` // 火车信息 TrainInfo *TrainInfo `json:"train_info,omitempty" xml:"train_info,omitempty"` // 成人信息 PassengerInfo *PassengerInfo `json:"passenger_info,omitempty" xml:"passenger_info,omitempty"` // 儿童信息 FreeChildrenPassengerInfo *PassengerInfo `json:"free_children_passenger_info,omitempty" xml:"free_children_passenger_info,omitempty"` // 操作类型 OperatorType int64 `json:"operator_type,omitempty" xml:"operator_type,omitempty"` // 状态 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
FreeChildrenTicketDetailRs 结构体
type FreeChildrenTicketListRs ¶ added in v1.2.9
type FreeChildrenTicketListRs struct { // 待处理列表 FreeChildrenTicketNeedDealList []string `json:"free_children_ticket_need_deal_list,omitempty" xml:"free_children_ticket_need_deal_list>string,omitempty"` }
FreeChildrenTicketListRs 结构体
type IgnoreOrderRq ¶ added in v1.2.7
type IgnoreOrderRq struct { // 子单号 (不填默认全部忽略) SubOrderId []int64 `json:"sub_order_id,omitempty" xml:"sub_order_id>int64,omitempty"` // 主单号 TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"` }
IgnoreOrderRq 结构体
type LockOrderRq ¶ added in v1.2.7
type LockOrderRq struct { // 票信息 Tickets []TicketDto `json:"tickets,omitempty" xml:"tickets>ticket_dto,omitempty"` // 主单号 TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"` }
LockOrderRq 结构体
type LockOrderRs ¶ added in v1.2.5
type LockOrderRs struct { // 票信息 TicketInfos []TicketInfoDto `json:"ticket_infos,omitempty" xml:"ticket_infos>ticket_info_dto,omitempty"` // 锁单最晚有效时间 LockLastTime string `json:"lock_last_time,omitempty" xml:"lock_last_time,omitempty"` // 乘车人余留联系方式 ContactMobileNo string `json:"contact_mobile_no,omitempty" xml:"contact_mobile_no,omitempty"` }
LockOrderRs 结构体
type OrderTicketInfo ¶
type OrderTicketInfo struct { // 出票结果定制信息列表 VipCustomResultList []VipCustomTicketConfirmItem `json:"vip_custom_result_list,omitempty" xml:"vip_custom_result_list>vip_custom_ticket_confirm_item,omitempty"` // 座位号 SeatNum string `json:"seat_num,omitempty" xml:"seat_num,omitempty"` // 车次 TrainNo string `json:"train_no,omitempty" xml:"train_no,omitempty"` // 乘客姓名 PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"` // 证件类型 CertType string `json:"cert_type,omitempty" xml:"cert_type,omitempty"` // 证件号 CertificateNum string `json:"certificate_num,omitempty" xml:"certificate_num,omitempty"` // 12306票号 TicketNo string `json:"ticket_no,omitempty" xml:"ticket_no,omitempty"` // ttp子单ID TtpSubOrderId int64 `json:"ttp_sub_order_id,omitempty" xml:"ttp_sub_order_id,omitempty"` // 真实票价 RealTicketPrice int64 `json:"real_ticket_price,omitempty" xml:"real_ticket_price,omitempty"` // 真实坐席 RealSeat int64 `json:"real_seat,omitempty" xml:"real_seat,omitempty"` // 保险支付金额 InsurancePayPrice int64 `json:"insurance_pay_price,omitempty" xml:"insurance_pay_price,omitempty"` // 定制票出票结果 1:定制票出票 0:非定制票出票 VipCustomResult int64 `json:"vip_custom_result,omitempty" xml:"vip_custom_result,omitempty"` }
OrderTicketInfo 结构体
type PassengerInfo ¶ added in v1.2.9
type PassengerInfo struct { // 证件类型 CertificateTypeCode string `json:"certificate_type_code,omitempty" xml:"certificate_type_code,omitempty"` // 乘客 PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"` // 证件号 CertificateNo string `json:"certificate_no,omitempty" xml:"certificate_no,omitempty"` }
PassengerInfo 结构体
type QueryChangeDetailRq ¶ added in v1.2.8
type QueryChangeDetailRq struct { // 代理商id AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"` // 改签申请单id ChangeApplyId int64 `json:"change_apply_id,omitempty" xml:"change_apply_id,omitempty"` // 淘宝主单id TpOrderId int64 `json:"tp_order_id,omitempty" xml:"tp_order_id,omitempty"` // ttp单号 TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"` }
QueryChangeDetailRq 结构体
type QueryOrderRq ¶ added in v1.2.7
type QueryOrderRq struct { // 主单号 TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"` }
QueryOrderRq 结构体
type QueryOrderRs ¶ added in v1.2.5
type QueryOrderRs struct { // 票详情 TicketInfos []TicketInfoDto `json:"ticket_infos,omitempty" xml:"ticket_infos>ticket_info_dto,omitempty"` // 子单详情 TapSubOrders []TapSubOrderVo `json:"tap_sub_orders,omitempty" xml:"tap_sub_orders>tap_sub_order_vo,omitempty"` // 主单详情 TapOrder *TapOrderVo `json:"tap_order,omitempty" xml:"tap_order,omitempty"` }
QueryOrderRs 结构体
type QueryUntreatedChangeRq ¶ added in v1.2.8
type QueryUntreatedChangeRq struct { // 代理商id AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"` // 淘宝主单单号 TpOrderId int64 `json:"tp_order_id,omitempty" xml:"tp_order_id,omitempty"` // ttp单号 TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"` }
QueryUntreatedChangeRq 结构体
type StudentInfo ¶
type StudentInfo struct { // demo Card string `json:"card,omitempty" xml:"card,omitempty"` // demo Classes string `json:"classes,omitempty" xml:"classes,omitempty"` // demo DepartMent string `json:"depart_ment,omitempty" xml:"depart_ment,omitempty"` // demo EductionalSystem string `json:"eductional_system,omitempty" xml:"eductional_system,omitempty"` // demo EntranceYear string `json:"entrance_year,omitempty" xml:"entrance_year,omitempty"` // demo FromCity string `json:"from_city,omitempty" xml:"from_city,omitempty"` // demo SchoolName string `json:"school_name,omitempty" xml:"school_name,omitempty"` // demo SchoolProvince string `json:"school_province,omitempty" xml:"school_province,omitempty"` // demo StudentNo string `json:"student_no,omitempty" xml:"student_no,omitempty"` // demo ToCity string `json:"to_city,omitempty" xml:"to_city,omitempty"` }
StudentInfo 结构体
type TaobaoTrainAgentBookordersGetVtwoAPIRequest ¶ added in v1.2.0
type TaobaoTrainAgentBookordersGetVtwoAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentBookordersGetVtwoAPIRequest 代理商获取待出票订单列表v2--增加鉴权校验 API请求 taobao.train.agent.bookorders.get.vtwo
代理商获取待出票订单列表,只返回订单号
func NewTaobaoTrainAgentBookordersGetVtwoRequest ¶
func NewTaobaoTrainAgentBookordersGetVtwoRequest() *TaobaoTrainAgentBookordersGetVtwoAPIRequest
NewTaobaoTrainAgentBookordersGetVtwoRequest 初始化TaobaoTrainAgentBookordersGetVtwoAPIRequest对象
func (TaobaoTrainAgentBookordersGetVtwoAPIRequest) GetAgentId ¶ added in v1.2.0
func (r TaobaoTrainAgentBookordersGetVtwoAPIRequest) GetAgentId() int64
GetAgentId AgentId Getter
func (TaobaoTrainAgentBookordersGetVtwoAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTrainAgentBookordersGetVtwoAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentBookordersGetVtwoAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTrainAgentBookordersGetVtwoAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentBookordersGetVtwoAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentBookordersGetVtwoAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentBookordersGetVtwoAPIRequest) SetAgentId ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookordersGetVtwoAPIRequest) SetAgentId(_agentId int64) error
SetAgentId is AgentId Setter 代理商id
type TaobaoTrainAgentBookordersGetVtwoAPIResponse ¶
type TaobaoTrainAgentBookordersGetVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentBookordersGetVtwoAPIResponseModel }
TaobaoTrainAgentBookordersGetVtwoAPIResponse 代理商获取待出票订单列表v2--增加鉴权校验 API返回值 taobao.train.agent.bookorders.get.vtwo
代理商获取待出票订单列表,只返回订单号
type TaobaoTrainAgentBookordersGetVtwoAPIResponseModel ¶ added in v1.2.0
type TaobaoTrainAgentBookordersGetVtwoAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_bookorders_get_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 订单号集合,用半角逗号(,)连接,只会返回固定数量 OrderIds string `json:"order_ids,omitempty" xml:"order_ids,omitempty"` // 错误描述 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 待处理订单总数 OrderCount int64 `json:"order_count,omitempty" xml:"order_count,omitempty"` }
TaobaoTrainAgentBookordersGetVtwoAPIResponseModel is 代理商获取待出票订单列表v2--增加鉴权校验 成功返回结果
type TaobaoTrainAgentBookticketConfirmVtwoAPIRequest ¶ added in v1.2.0
type TaobaoTrainAgentBookticketConfirmVtwoAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentBookticketConfirmVtwoAPIRequest 火车票代理商接口——确认出票是否成功v2--增加鉴权校验 API请求 taobao.train.agent.bookticket.confirm.vtwo
火车票代理商接口——确认出票是否成功
func NewTaobaoTrainAgentBookticketConfirmVtwoRequest ¶
func NewTaobaoTrainAgentBookticketConfirmVtwoRequest() *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest
NewTaobaoTrainAgentBookticketConfirmVtwoRequest 初始化TaobaoTrainAgentBookticketConfirmVtwoAPIRequest对象
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetAgentId ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetAgentId() int64
GetAgentId AgentId Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetAlipayAccount ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetAlipayAccount() string
GetAlipayAccount AlipayAccount Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetAlipayTradeNo ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetAlipayTradeNo() string
GetAlipayTradeNo AlipayTradeNo Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetArriveDate ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetArriveDate() string
GetArriveDate ArriveDate Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetBoardingGates ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetBoardingGates() string
GetBoardingGates BoardingGates Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetCanChange ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetCanChange() bool
GetCanChange CanChange Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetDepDate ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetDepDate() string
GetDepDate DepDate Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetExpectDeliveryTime ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetExpectDeliveryTime() string
GetExpectDeliveryTime ExpectDeliveryTime Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetExtendParams ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetExtendParams() string
GetExtendParams ExtendParams Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetFailMsg ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetFailMsg() string
GetFailMsg FailMsg Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetFromStationName ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetFromStationName() string
GetFromStationName FromStationName Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetMainOrderId ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetMainOrderId() int64
GetMainOrderId MainOrderId Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetOrderType ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetOrderType() int64
GetOrderType OrderType Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetStatus ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetStatus() bool
GetStatus Status Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetSubOrderId ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetSubOrderId() string
GetSubOrderId SubOrderId Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetTicket12306Id ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetTicket12306Id() string
GetTicket12306Id Ticket12306Id Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetTicketInfoList ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetTicketInfoList() []OrderTicketInfo
GetTicketInfoList TicketInfoList Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetTicketNum ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetTicketNum() int64
GetTicketNum TicketNum Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetTickets ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetTickets() []string
GetTickets Tickets Getter
func (TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetToStationName ¶ added in v1.2.0
func (r TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) GetToStationName() string
GetToStationName ToStationName Getter
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetAgentId ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetAgentId(_agentId int64) error
SetAgentId is AgentId Setter 代理商id
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetAlipayAccount ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetAlipayAccount(_alipayAccount string) error
SetAlipayAccount is AlipayAccount Setter 支付宝账号
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetAlipayTradeNo ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetAlipayTradeNo(_alipayTradeNo string) error
SetAlipayTradeNo is AlipayTradeNo Setter 支付宝交易流水号
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetArriveDate ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetArriveDate(_arriveDate string) error
SetArriveDate is ArriveDate Setter 到达时间
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetBoardingGates ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetBoardingGates(_boardingGates string) error
SetBoardingGates is BoardingGates Setter 检票口
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetCanChange ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetCanChange(_canChange bool) error
SetCanChange is CanChange Setter 是否支持在线退改签
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetDepDate ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetDepDate(_depDate string) error
SetDepDate is DepDate Setter 出发时间
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetExpectDeliveryTime ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetExpectDeliveryTime(_expectDeliveryTime string) error
SetExpectDeliveryTime is ExpectDeliveryTime Setter 送票上门预计派送时间
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetExtendParams ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetExtendParams(_extendParams string) error
SetExtendParams is ExtendParams Setter 扩展字段
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetFailMsg ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetFailMsg(_failMsg string) error
SetFailMsg is FailMsg Setter 记录失败原因,传数字,1、票已售完,出票失败全额退款,2、票价变动,出票失败全额退款,3、乘车人已购买相同车票,出票失败全额退款, 4、出票超时,出票失败全额退款,5、乘车人证件未通过铁路局审核,需到售票窗口办理, 6、发车时间变动,出票失败全额退款,7、车次信息错误,出票失败全额退款,8、12306故障,出票失败全额退款, 0、出票失败全额退款
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetFromStationName ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetFromStationName(_fromStationName string) error
SetFromStationName is FromStationName Setter 出发站
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetMainOrderId ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetMainOrderId(_mainOrderId int64) error
SetMainOrderId is MainOrderId Setter 主订单id
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetOrderType ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetOrderType(_orderType int64) error
SetOrderType is OrderType Setter 订单类型0 代购 1直购 3抢票
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetStatus ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetStatus(_status bool) error
SetStatus is Status Setter 是否成功
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetSubOrderId ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetSubOrderId(_subOrderId string) error
SetSubOrderId is SubOrderId Setter 错误的子订单号123434,123432
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetTicket12306Id ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetTicket12306Id(_ticket12306Id string) error
SetTicket12306Id is Ticket12306Id Setter 12306成功出票id
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetTicketInfoList ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetTicketInfoList(_ticketInfoList []OrderTicketInfo) error
SetTicketInfoList is TicketInfoList Setter 票信息列表
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetTicketNum ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetTicketNum(_ticketNum int64) error
SetTicketNum is TicketNum Setter 订单中包含的票数量
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetTickets ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetTickets(_tickets []string) error
SetTickets is Tickets Setter 火车票id;单价;坐席;座次号;车次;乘车人姓名;证件类型;证件号码;保单号;保单价格特别注意:票价、保险价格必须到分,例如10元,输入为1000.
func (*TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetToStationName ¶ added in v1.2.0
func (r *TaobaoTrainAgentBookticketConfirmVtwoAPIRequest) SetToStationName(_toStationName string) error
SetToStationName is ToStationName Setter 到达站
type TaobaoTrainAgentBookticketConfirmVtwoAPIResponse ¶
type TaobaoTrainAgentBookticketConfirmVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentBookticketConfirmVtwoAPIResponseModel }
TaobaoTrainAgentBookticketConfirmVtwoAPIResponse 火车票代理商接口——确认出票是否成功v2--增加鉴权校验 API返回值 taobao.train.agent.bookticket.confirm.vtwo
火车票代理商接口——确认出票是否成功
type TaobaoTrainAgentBookticketConfirmVtwoAPIResponseModel ¶ added in v1.2.0
type TaobaoTrainAgentBookticketConfirmVtwoAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_bookticket_confirm_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoTrainAgentBookticketConfirmVtwoAPIResponseModel is 火车票代理商接口——确认出票是否成功v2--增加鉴权校验 成功返回结果
type TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest ¶ added in v1.2.8
type TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest 火车票代理商接口-跑腿改签出票回填-含鉴权校验 API请求 taobao.train.agent.changeissue.confirm.vtwo
火车票代理商接口-跑腿改签出票回填-含鉴权校验
func NewTaobaoTrainAgentChangeissueConfirmVtwoRequest ¶ added in v1.2.8
func NewTaobaoTrainAgentChangeissueConfirmVtwoRequest() *TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest
NewTaobaoTrainAgentChangeissueConfirmVtwoRequest 初始化TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest对象
func (TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest) GetApiMethodName ¶ added in v1.2.8
func (r TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest) GetApiParams ¶ added in v1.2.8
func (r TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest) GetChangeIssueRq ¶ added in v1.2.8
func (r TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest) GetChangeIssueRq() *ChangeIssueRq
GetChangeIssueRq ChangeIssueRq Getter
func (TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest) SetChangeIssueRq ¶ added in v1.2.8
func (r *TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest) SetChangeIssueRq(_changeIssueRq *ChangeIssueRq) error
SetChangeIssueRq is ChangeIssueRq Setter 改签出票回填入参rq
type TaobaoTrainAgentChangeissueConfirmVtwoAPIResponse ¶ added in v1.2.8
type TaobaoTrainAgentChangeissueConfirmVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentChangeissueConfirmVtwoAPIResponseModel }
TaobaoTrainAgentChangeissueConfirmVtwoAPIResponse 火车票代理商接口-跑腿改签出票回填-含鉴权校验 API返回值 taobao.train.agent.changeissue.confirm.vtwo
火车票代理商接口-跑腿改签出票回填-含鉴权校验
type TaobaoTrainAgentChangeissueConfirmVtwoAPIResponseModel ¶ added in v1.2.8
type TaobaoTrainAgentChangeissueConfirmVtwoAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_changeissue_confirm_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 回填失败原因 FailMessage string `json:"fail_message,omitempty" xml:"fail_message,omitempty"` // 回填失败code FailCode string `json:"fail_code,omitempty" xml:"fail_code,omitempty"` // 出票回填结果 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoTrainAgentChangeissueConfirmVtwoAPIResponseModel is 火车票代理商接口-跑腿改签出票回填-含鉴权校验 成功返回结果
type TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest ¶ added in v1.2.8
type TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest 火车票代理商接口-查询跑腿改签订单详情-含鉴权校验 API请求 taobao.train.agent.changeorderdetail.query.vtwo
火车票代理商接口-查询跑腿改签订单详情-含鉴权校验
func NewTaobaoTrainAgentChangeorderdetailQueryVtwoRequest ¶ added in v1.2.8
func NewTaobaoTrainAgentChangeorderdetailQueryVtwoRequest() *TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest
NewTaobaoTrainAgentChangeorderdetailQueryVtwoRequest 初始化TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest对象
func (TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest) GetApiMethodName ¶ added in v1.2.8
func (r TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest) GetApiParams ¶ added in v1.2.8
func (r TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest) GetQueryChangeDetailRq ¶ added in v1.2.8
func (r TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest) GetQueryChangeDetailRq() *QueryChangeDetailRq
GetQueryChangeDetailRq QueryChangeDetailRq Getter
func (TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest) SetQueryChangeDetailRq ¶ added in v1.2.8
func (r *TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest) SetQueryChangeDetailRq(_queryChangeDetailRq *QueryChangeDetailRq) error
SetQueryChangeDetailRq is QueryChangeDetailRq Setter 查询改签订单详情rq
type TaobaoTrainAgentChangeorderdetailQueryVtwoAPIResponse ¶ added in v1.2.8
type TaobaoTrainAgentChangeorderdetailQueryVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentChangeorderdetailQueryVtwoAPIResponseModel }
TaobaoTrainAgentChangeorderdetailQueryVtwoAPIResponse 火车票代理商接口-查询跑腿改签订单详情-含鉴权校验 API返回值 taobao.train.agent.changeorderdetail.query.vtwo
火车票代理商接口-查询跑腿改签订单详情-含鉴权校验
type TaobaoTrainAgentChangeorderdetailQueryVtwoAPIResponseModel ¶ added in v1.2.8
type TaobaoTrainAgentChangeorderdetailQueryVtwoAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_changeorderdetail_query_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 改签子单列表 ChangeApplySubOrders []ChangeApplySubOrderDto `json:"change_apply_sub_orders,omitempty" xml:"change_apply_sub_orders>change_apply_sub_order_dto,omitempty"` // 定制信息集合 CustomMadeList []CustomMadeItemDto `json:"custom_made_list,omitempty" xml:"custom_made_list>custom_made_item_dto,omitempty"` // 改签申请单主单 ChangeApplyOrder *ChangeApplyOrderDto `json:"change_apply_order,omitempty" xml:"change_apply_order,omitempty"` }
TaobaoTrainAgentChangeorderdetailQueryVtwoAPIResponseModel is 火车票代理商接口-查询跑腿改签订单详情-含鉴权校验 成功返回结果
type TaobaoTrainAgentExpressSetAPIRequest ¶ added in v1.2.0
type TaobaoTrainAgentExpressSetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentExpressSetAPIRequest 线下票回填物流信息 API请求 taobao.train.agent.express.set
线下票回填物流信息服务
func NewTaobaoTrainAgentExpressSetRequest ¶
func NewTaobaoTrainAgentExpressSetRequest() *TaobaoTrainAgentExpressSetAPIRequest
NewTaobaoTrainAgentExpressSetRequest 初始化TaobaoTrainAgentExpressSetAPIRequest对象
func (TaobaoTrainAgentExpressSetAPIRequest) GetAddr ¶ added in v1.2.0
func (r TaobaoTrainAgentExpressSetAPIRequest) GetAddr() string
GetAddr Addr Getter
func (TaobaoTrainAgentExpressSetAPIRequest) GetAgentId ¶ added in v1.2.0
func (r TaobaoTrainAgentExpressSetAPIRequest) GetAgentId() int64
GetAgentId AgentId Getter
func (TaobaoTrainAgentExpressSetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTrainAgentExpressSetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentExpressSetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTrainAgentExpressSetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentExpressSetAPIRequest) GetExpressId ¶ added in v1.2.0
func (r TaobaoTrainAgentExpressSetAPIRequest) GetExpressId() string
GetExpressId ExpressId Getter
func (TaobaoTrainAgentExpressSetAPIRequest) GetExpressName ¶ added in v1.2.0
func (r TaobaoTrainAgentExpressSetAPIRequest) GetExpressName() string
GetExpressName ExpressName Getter
func (TaobaoTrainAgentExpressSetAPIRequest) GetMainOrderId ¶ added in v1.2.0
func (r TaobaoTrainAgentExpressSetAPIRequest) GetMainOrderId() int64
GetMainOrderId MainOrderId Getter
func (TaobaoTrainAgentExpressSetAPIRequest) GetMobile ¶ added in v1.2.0
func (r TaobaoTrainAgentExpressSetAPIRequest) GetMobile() string
GetMobile Mobile Getter
func (TaobaoTrainAgentExpressSetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentExpressSetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentExpressSetAPIRequest) SetAddr ¶ added in v1.2.0
func (r *TaobaoTrainAgentExpressSetAPIRequest) SetAddr(_addr string) error
SetAddr is Addr Setter 发货地址
func (*TaobaoTrainAgentExpressSetAPIRequest) SetAgentId ¶ added in v1.2.0
func (r *TaobaoTrainAgentExpressSetAPIRequest) SetAgentId(_agentId int64) error
SetAgentId is AgentId Setter 代理商id
func (*TaobaoTrainAgentExpressSetAPIRequest) SetExpressId ¶ added in v1.2.0
func (r *TaobaoTrainAgentExpressSetAPIRequest) SetExpressId(_expressId string) error
SetExpressId is ExpressId Setter 物流单号
func (*TaobaoTrainAgentExpressSetAPIRequest) SetExpressName ¶ added in v1.2.0
func (r *TaobaoTrainAgentExpressSetAPIRequest) SetExpressName(_expressName string) error
SetExpressName is ExpressName Setter 物流公司:SF,EMS
func (*TaobaoTrainAgentExpressSetAPIRequest) SetMainOrderId ¶ added in v1.2.0
func (r *TaobaoTrainAgentExpressSetAPIRequest) SetMainOrderId(_mainOrderId int64) error
SetMainOrderId is MainOrderId Setter 订单号
func (*TaobaoTrainAgentExpressSetAPIRequest) SetMobile ¶ added in v1.2.0
func (r *TaobaoTrainAgentExpressSetAPIRequest) SetMobile(_mobile string) error
SetMobile is Mobile Setter 手机号
type TaobaoTrainAgentExpressSetAPIResponse ¶
type TaobaoTrainAgentExpressSetAPIResponse struct { model.CommonResponse TaobaoTrainAgentExpressSetAPIResponseModel }
TaobaoTrainAgentExpressSetAPIResponse 线下票回填物流信息 API返回值 taobao.train.agent.express.set
线下票回填物流信息服务
type TaobaoTrainAgentExpressSetAPIResponseModel ¶ added in v1.2.0
type TaobaoTrainAgentExpressSetAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_express_set_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 ErrorMsgCode string `json:"error_msg_code,omitempty" xml:"error_msg_code,omitempty"` // 错误描述 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 扩展参数 ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoTrainAgentExpressSetAPIResponseModel is 线下票回填物流信息 成功返回结果
type TaobaoTrainAgentExpressSetVtwoAPIRequest ¶ added in v1.2.0
type TaobaoTrainAgentExpressSetVtwoAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentExpressSetVtwoAPIRequest 线下票回填物流信息v2--增加鉴权校验 API请求 taobao.train.agent.express.set.vtwo
线下票回填物流信息服务
func NewTaobaoTrainAgentExpressSetVtwoRequest ¶
func NewTaobaoTrainAgentExpressSetVtwoRequest() *TaobaoTrainAgentExpressSetVtwoAPIRequest
NewTaobaoTrainAgentExpressSetVtwoRequest 初始化TaobaoTrainAgentExpressSetVtwoAPIRequest对象
func (TaobaoTrainAgentExpressSetVtwoAPIRequest) GetAddr ¶ added in v1.2.0
func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetAddr() string
GetAddr Addr Getter
func (TaobaoTrainAgentExpressSetVtwoAPIRequest) GetAgentId ¶ added in v1.2.0
func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetAgentId() int64
GetAgentId AgentId Getter
func (TaobaoTrainAgentExpressSetVtwoAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentExpressSetVtwoAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentExpressSetVtwoAPIRequest) GetExpressId ¶ added in v1.2.0
func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetExpressId() string
GetExpressId ExpressId Getter
func (TaobaoTrainAgentExpressSetVtwoAPIRequest) GetExpressName ¶ added in v1.2.0
func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetExpressName() string
GetExpressName ExpressName Getter
func (TaobaoTrainAgentExpressSetVtwoAPIRequest) GetMainOrderId ¶ added in v1.2.0
func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetMainOrderId() int64
GetMainOrderId MainOrderId Getter
func (TaobaoTrainAgentExpressSetVtwoAPIRequest) GetMobile ¶ added in v1.2.0
func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetMobile() string
GetMobile Mobile Getter
func (TaobaoTrainAgentExpressSetVtwoAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentExpressSetVtwoAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentExpressSetVtwoAPIRequest) SetAddr ¶ added in v1.2.0
func (r *TaobaoTrainAgentExpressSetVtwoAPIRequest) SetAddr(_addr string) error
SetAddr is Addr Setter 发货地址
func (*TaobaoTrainAgentExpressSetVtwoAPIRequest) SetAgentId ¶ added in v1.2.0
func (r *TaobaoTrainAgentExpressSetVtwoAPIRequest) SetAgentId(_agentId int64) error
SetAgentId is AgentId Setter 代理商id
func (*TaobaoTrainAgentExpressSetVtwoAPIRequest) SetExpressId ¶ added in v1.2.0
func (r *TaobaoTrainAgentExpressSetVtwoAPIRequest) SetExpressId(_expressId string) error
SetExpressId is ExpressId Setter 物流单号
func (*TaobaoTrainAgentExpressSetVtwoAPIRequest) SetExpressName ¶ added in v1.2.0
func (r *TaobaoTrainAgentExpressSetVtwoAPIRequest) SetExpressName(_expressName string) error
SetExpressName is ExpressName Setter 物流公司:SF,EMS
func (*TaobaoTrainAgentExpressSetVtwoAPIRequest) SetMainOrderId ¶ added in v1.2.0
func (r *TaobaoTrainAgentExpressSetVtwoAPIRequest) SetMainOrderId(_mainOrderId int64) error
SetMainOrderId is MainOrderId Setter 订单号
func (*TaobaoTrainAgentExpressSetVtwoAPIRequest) SetMobile ¶ added in v1.2.0
func (r *TaobaoTrainAgentExpressSetVtwoAPIRequest) SetMobile(_mobile string) error
SetMobile is Mobile Setter 手机号
type TaobaoTrainAgentExpressSetVtwoAPIResponse ¶
type TaobaoTrainAgentExpressSetVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentExpressSetVtwoAPIResponseModel }
TaobaoTrainAgentExpressSetVtwoAPIResponse 线下票回填物流信息v2--增加鉴权校验 API返回值 taobao.train.agent.express.set.vtwo
线下票回填物流信息服务
type TaobaoTrainAgentExpressSetVtwoAPIResponseModel ¶ added in v1.2.0
type TaobaoTrainAgentExpressSetVtwoAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_express_set_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 ErrorMsgCode string `json:"error_msg_code,omitempty" xml:"error_msg_code,omitempty"` // 错误描述 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 扩展参数 ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoTrainAgentExpressSetVtwoAPIResponseModel is 线下票回填物流信息v2--增加鉴权校验 成功返回结果
type TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest ¶ added in v1.2.9
type TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest 免费儿童处理 API请求 taobao.train.agent.freechildrendeal.confirm.vtwo
免费儿童列表查询
func NewTaobaoTrainAgentFreechildrendealConfirmVtwoRequest ¶ added in v1.2.9
func NewTaobaoTrainAgentFreechildrendealConfirmVtwoRequest() *TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest
NewTaobaoTrainAgentFreechildrendealConfirmVtwoRequest 初始化TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest对象
func (TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest) GetApiParams ¶ added in v1.2.9
func (r TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest) GetFreeChildrenTicketDealRq ¶ added in v1.2.9
func (r TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest) GetFreeChildrenTicketDealRq() *FreeChildrenTicketDealRq
GetFreeChildrenTicketDealRq FreeChildrenTicketDealRq Getter
func (TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest) GetRawParams ¶ added in v1.2.9
func (r TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest) SetFreeChildrenTicketDealRq ¶ added in v1.2.9
func (r *TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest) SetFreeChildrenTicketDealRq(_freeChildrenTicketDealRq *FreeChildrenTicketDealRq) error
SetFreeChildrenTicketDealRq is FreeChildrenTicketDealRq Setter 免费儿童处理信息
type TaobaoTrainAgentFreechildrendealConfirmVtwoAPIResponse ¶ added in v1.2.9
type TaobaoTrainAgentFreechildrendealConfirmVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentFreechildrendealConfirmVtwoAPIResponseModel }
TaobaoTrainAgentFreechildrendealConfirmVtwoAPIResponse 免费儿童处理 API返回值 taobao.train.agent.freechildrendeal.confirm.vtwo
免费儿童列表查询
type TaobaoTrainAgentFreechildrendealConfirmVtwoAPIResponseModel ¶ added in v1.2.9
type TaobaoTrainAgentFreechildrendealConfirmVtwoAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_freechildrendeal_confirm_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // rs Result *TapResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTrainAgentFreechildrendealConfirmVtwoAPIResponseModel is 免费儿童处理 成功返回结果
type TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest ¶ added in v1.2.9
type TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest 免费儿童详情 API请求 taobao.train.agent.freechildrendetail.query.vtwo
免费儿童列表详情
func NewTaobaoTrainAgentFreechildrendetailQueryVtwoRequest ¶ added in v1.2.9
func NewTaobaoTrainAgentFreechildrendetailQueryVtwoRequest() *TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest
NewTaobaoTrainAgentFreechildrendetailQueryVtwoRequest 初始化TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest对象
func (TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest) GetApiParams ¶ added in v1.2.9
func (r TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest) GetFreeChildrenTicketDetailRq ¶ added in v1.2.9
func (r TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest) GetFreeChildrenTicketDetailRq() *FreeChildrenTicketDetailRq
GetFreeChildrenTicketDetailRq FreeChildrenTicketDetailRq Getter
func (TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest) GetRawParams ¶ added in v1.2.9
func (r TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest) SetFreeChildrenTicketDetailRq ¶ added in v1.2.9
func (r *TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest) SetFreeChildrenTicketDetailRq(_freeChildrenTicketDetailRq *FreeChildrenTicketDetailRq) error
SetFreeChildrenTicketDetailRq is FreeChildrenTicketDetailRq Setter 请求参数
type TaobaoTrainAgentFreechildrendetailQueryVtwoAPIResponse ¶ added in v1.2.9
type TaobaoTrainAgentFreechildrendetailQueryVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentFreechildrendetailQueryVtwoAPIResponseModel }
TaobaoTrainAgentFreechildrendetailQueryVtwoAPIResponse 免费儿童详情 API返回值 taobao.train.agent.freechildrendetail.query.vtwo
免费儿童列表详情
type TaobaoTrainAgentFreechildrendetailQueryVtwoAPIResponseModel ¶ added in v1.2.9
type TaobaoTrainAgentFreechildrendetailQueryVtwoAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_freechildrendetail_query_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // rs Result *TapResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTrainAgentFreechildrendetailQueryVtwoAPIResponseModel is 免费儿童详情 成功返回结果
type TaobaoTrainAgentFreechildrenlistQueryVtwoAPIRequest ¶ added in v1.2.9
TaobaoTrainAgentFreechildrenlistQueryVtwoAPIRequest 免费儿童列表查询 API请求 taobao.train.agent.freechildrenlist.query.vtwo
免费儿童列表查询
func NewTaobaoTrainAgentFreechildrenlistQueryVtwoRequest ¶ added in v1.2.9
func NewTaobaoTrainAgentFreechildrenlistQueryVtwoRequest() *TaobaoTrainAgentFreechildrenlistQueryVtwoAPIRequest
NewTaobaoTrainAgentFreechildrenlistQueryVtwoRequest 初始化TaobaoTrainAgentFreechildrenlistQueryVtwoAPIRequest对象
func (TaobaoTrainAgentFreechildrenlistQueryVtwoAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r TaobaoTrainAgentFreechildrenlistQueryVtwoAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentFreechildrenlistQueryVtwoAPIRequest) GetApiParams ¶ added in v1.2.9
func (r TaobaoTrainAgentFreechildrenlistQueryVtwoAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentFreechildrenlistQueryVtwoAPIRequest) GetRawParams ¶ added in v1.2.9
func (r TaobaoTrainAgentFreechildrenlistQueryVtwoAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
type TaobaoTrainAgentFreechildrenlistQueryVtwoAPIResponse ¶ added in v1.2.9
type TaobaoTrainAgentFreechildrenlistQueryVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentFreechildrenlistQueryVtwoAPIResponseModel }
TaobaoTrainAgentFreechildrenlistQueryVtwoAPIResponse 免费儿童列表查询 API返回值 taobao.train.agent.freechildrenlist.query.vtwo
免费儿童列表查询
type TaobaoTrainAgentFreechildrenlistQueryVtwoAPIResponseModel ¶ added in v1.2.9
type TaobaoTrainAgentFreechildrenlistQueryVtwoAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_freechildrenlist_query_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // rs Result *TapResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTrainAgentFreechildrenlistQueryVtwoAPIResponseModel is 免费儿童列表查询 成功返回结果
type TaobaoTrainAgentGetRefundAPIRequest ¶ added in v1.2.0
type TaobaoTrainAgentGetRefundAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentGetRefundAPIRequest 代理商获取订单退票信息 API请求 taobao.train.agent.get.refund
代理商获取订单信息回调API
func NewTaobaoTrainAgentGetRefundRequest ¶
func NewTaobaoTrainAgentGetRefundRequest() *TaobaoTrainAgentGetRefundAPIRequest
NewTaobaoTrainAgentGetRefundRequest 初始化TaobaoTrainAgentGetRefundAPIRequest对象
func (TaobaoTrainAgentGetRefundAPIRequest) GetAgentId ¶ added in v1.2.0
func (r TaobaoTrainAgentGetRefundAPIRequest) GetAgentId() int64
GetAgentId AgentId Getter
func (TaobaoTrainAgentGetRefundAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTrainAgentGetRefundAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentGetRefundAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTrainAgentGetRefundAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentGetRefundAPIRequest) GetMainOrderId ¶ added in v1.2.0
func (r TaobaoTrainAgentGetRefundAPIRequest) GetMainOrderId() int64
GetMainOrderId MainOrderId Getter
func (TaobaoTrainAgentGetRefundAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentGetRefundAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentGetRefundAPIRequest) SetAgentId ¶ added in v1.2.0
func (r *TaobaoTrainAgentGetRefundAPIRequest) SetAgentId(_agentId int64) error
SetAgentId is AgentId Setter 代理商id
func (*TaobaoTrainAgentGetRefundAPIRequest) SetMainOrderId ¶ added in v1.2.0
func (r *TaobaoTrainAgentGetRefundAPIRequest) SetMainOrderId(_mainOrderId int64) error
SetMainOrderId is MainOrderId Setter 淘宝的主订单号
type TaobaoTrainAgentGetRefundAPIResponse ¶
type TaobaoTrainAgentGetRefundAPIResponse struct { model.CommonResponse TaobaoTrainAgentGetRefundAPIResponseModel }
TaobaoTrainAgentGetRefundAPIResponse 代理商获取订单退票信息 API返回值 taobao.train.agent.get.refund
代理商获取订单信息回调API
type TaobaoTrainAgentGetRefundAPIResponseModel ¶ added in v1.2.0
type TaobaoTrainAgentGetRefundAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_get_refund_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 系统自动生成 TopRefundApplyList string `json:"top_refund_apply_list,omitempty" xml:"top_refund_apply_list,omitempty"` }
TaobaoTrainAgentGetRefundAPIResponseModel is 代理商获取订单退票信息 成功返回结果
type TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest ¶ added in v1.2.0
type TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest 代理商出票中v2--增加鉴权校验 API请求 taobao.train.agent.handleticket.confirm.vtwo
代理商出票中
func NewTaobaoTrainAgentHandleticketConfirmVtwoRequest ¶
func NewTaobaoTrainAgentHandleticketConfirmVtwoRequest() *TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest
NewTaobaoTrainAgentHandleticketConfirmVtwoRequest 初始化TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest对象
func (TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetExtendParams ¶ added in v1.2.0
func (r TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetExtendParams() string
GetExtendParams ExtendParams Getter
func (TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetMainOrderId ¶ added in v1.2.0
func (r TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetMainOrderId() int64
GetMainOrderId MainOrderId Getter
func (TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetSellerId ¶ added in v1.2.0
func (r TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) GetSellerId() int64
GetSellerId SellerId Getter
func (*TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) SetExtendParams ¶ added in v1.2.0
func (r *TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) SetExtendParams(_extendParams string) error
SetExtendParams is ExtendParams Setter 扩展参数
func (*TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) SetMainOrderId ¶ added in v1.2.0
func (r *TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) SetMainOrderId(_mainOrderId int64) error
SetMainOrderId is MainOrderId Setter 主站id
func (*TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) SetSellerId ¶ added in v1.2.0
func (r *TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest) SetSellerId(_sellerId int64) error
SetSellerId is SellerId Setter 代理商id
type TaobaoTrainAgentHandleticketConfirmVtwoAPIResponse ¶
type TaobaoTrainAgentHandleticketConfirmVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentHandleticketConfirmVtwoAPIResponseModel }
TaobaoTrainAgentHandleticketConfirmVtwoAPIResponse 代理商出票中v2--增加鉴权校验 API返回值 taobao.train.agent.handleticket.confirm.vtwo
代理商出票中
type TaobaoTrainAgentHandleticketConfirmVtwoAPIResponseModel ¶ added in v1.2.0
type TaobaoTrainAgentHandleticketConfirmVtwoAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_handleticket_confirm_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 TrainErrorCode string `json:"train_error_code,omitempty" xml:"train_error_code,omitempty"` // 错误信息 TrainErrorMsg string `json:"train_error_msg,omitempty" xml:"train_error_msg,omitempty"` // 暂无 ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoTrainAgentHandleticketConfirmVtwoAPIResponseModel is 代理商出票中v2--增加鉴权校验 成功返回结果
type TaobaoTrainAgentHandrefundRefundfeeAPIRequest ¶ added in v1.2.0
type TaobaoTrainAgentHandrefundRefundfeeAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentHandrefundRefundfeeAPIRequest 代理商手动退款接口 API请求 taobao.train.agent.handrefund.refundfee
火车票代理商手动退款接口
func NewTaobaoTrainAgentHandrefundRefundfeeRequest ¶
func NewTaobaoTrainAgentHandrefundRefundfeeRequest() *TaobaoTrainAgentHandrefundRefundfeeAPIRequest
NewTaobaoTrainAgentHandrefundRefundfeeRequest 初始化TaobaoTrainAgentHandrefundRefundfeeAPIRequest对象
func (TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetMainBizOrderId ¶ added in v1.2.0
func (r TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetMainBizOrderId() int64
GetMainBizOrderId MainBizOrderId Getter
func (TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetOutTradeNo ¶ added in v1.2.0
func (r TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetOutTradeNo() string
GetOutTradeNo OutTradeNo Getter
func (TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetRefundFee ¶ added in v1.2.0
func (r TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetRefundFee() int64
GetRefundFee RefundFee Getter
func (TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetSubOrderId ¶ added in v1.2.5
func (r TaobaoTrainAgentHandrefundRefundfeeAPIRequest) GetSubOrderId() int64
GetSubOrderId SubOrderId Getter
func (*TaobaoTrainAgentHandrefundRefundfeeAPIRequest) SetMainBizOrderId ¶ added in v1.2.0
func (r *TaobaoTrainAgentHandrefundRefundfeeAPIRequest) SetMainBizOrderId(_mainBizOrderId int64) error
SetMainBizOrderId is MainBizOrderId Setter 主订单id
func (*TaobaoTrainAgentHandrefundRefundfeeAPIRequest) SetOutTradeNo ¶ added in v1.2.0
func (r *TaobaoTrainAgentHandrefundRefundfeeAPIRequest) SetOutTradeNo(_outTradeNo string) error
SetOutTradeNo is OutTradeNo Setter 外部订单号
func (*TaobaoTrainAgentHandrefundRefundfeeAPIRequest) SetRefundFee ¶ added in v1.2.0
func (r *TaobaoTrainAgentHandrefundRefundfeeAPIRequest) SetRefundFee(_refundFee int64) error
SetRefundFee is RefundFee Setter 退款金额,单位为分
func (*TaobaoTrainAgentHandrefundRefundfeeAPIRequest) SetSubOrderId ¶ added in v1.2.5
func (r *TaobaoTrainAgentHandrefundRefundfeeAPIRequest) SetSubOrderId(_subOrderId int64) error
SetSubOrderId is SubOrderId Setter 子订单号
type TaobaoTrainAgentHandrefundRefundfeeAPIResponse ¶
type TaobaoTrainAgentHandrefundRefundfeeAPIResponse struct { model.CommonResponse TaobaoTrainAgentHandrefundRefundfeeAPIResponseModel }
TaobaoTrainAgentHandrefundRefundfeeAPIResponse 代理商手动退款接口 API返回值 taobao.train.agent.handrefund.refundfee
火车票代理商手动退款接口
type TaobaoTrainAgentHandrefundRefundfeeAPIResponseModel ¶ added in v1.2.0
type TaobaoTrainAgentHandrefundRefundfeeAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_handrefund_refundfee_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 失败code 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"` }
TaobaoTrainAgentHandrefundRefundfeeAPIResponseModel is 代理商手动退款接口 成功返回结果
type TaobaoTrainAgentOrderConfirmAPIRequest ¶ added in v1.2.5
type TaobaoTrainAgentOrderConfirmAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentOrderConfirmAPIRequest 确认出票 API请求 taobao.train.agent.order.confirm
确认出票
func NewTaobaoTrainAgentOrderConfirmRequest ¶ added in v1.2.5
func NewTaobaoTrainAgentOrderConfirmRequest() *TaobaoTrainAgentOrderConfirmAPIRequest
NewTaobaoTrainAgentOrderConfirmRequest 初始化TaobaoTrainAgentOrderConfirmAPIRequest对象
func (TaobaoTrainAgentOrderConfirmAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTrainAgentOrderConfirmAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentOrderConfirmAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTrainAgentOrderConfirmAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentOrderConfirmAPIRequest) GetParam ¶ added in v1.2.5
func (r TaobaoTrainAgentOrderConfirmAPIRequest) GetParam() *BookTicketConfirmRq
GetParam Param Getter
func (TaobaoTrainAgentOrderConfirmAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentOrderConfirmAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentOrderConfirmAPIRequest) SetParam ¶ added in v1.2.5
func (r *TaobaoTrainAgentOrderConfirmAPIRequest) SetParam(_param *BookTicketConfirmRq) error
SetParam is Param Setter 入参
type TaobaoTrainAgentOrderConfirmAPIResponse ¶ added in v1.2.5
type TaobaoTrainAgentOrderConfirmAPIResponse struct { model.CommonResponse TaobaoTrainAgentOrderConfirmAPIResponseModel }
TaobaoTrainAgentOrderConfirmAPIResponse 确认出票 API返回值 taobao.train.agent.order.confirm
确认出票
type TaobaoTrainAgentOrderConfirmAPIResponseModel ¶ added in v1.2.5
type TaobaoTrainAgentOrderConfirmAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_order_confirm_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // rs Result *TapResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTrainAgentOrderConfirmAPIResponseModel is 确认出票 成功返回结果
type TaobaoTrainAgentOrderFailAPIRequest ¶ added in v1.2.5
type TaobaoTrainAgentOrderFailAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentOrderFailAPIRequest 出票失败 API请求 taobao.train.agent.order.fail
出票失败
func NewTaobaoTrainAgentOrderFailRequest ¶ added in v1.2.5
func NewTaobaoTrainAgentOrderFailRequest() *TaobaoTrainAgentOrderFailAPIRequest
NewTaobaoTrainAgentOrderFailRequest 初始化TaobaoTrainAgentOrderFailAPIRequest对象
func (TaobaoTrainAgentOrderFailAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTrainAgentOrderFailAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentOrderFailAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTrainAgentOrderFailAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentOrderFailAPIRequest) GetParam ¶ added in v1.2.5
func (r TaobaoTrainAgentOrderFailAPIRequest) GetParam() *BookTicketFailRq
GetParam Param Getter
func (TaobaoTrainAgentOrderFailAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentOrderFailAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentOrderFailAPIRequest) SetParam ¶ added in v1.2.5
func (r *TaobaoTrainAgentOrderFailAPIRequest) SetParam(_param *BookTicketFailRq) error
SetParam is Param Setter rq
type TaobaoTrainAgentOrderFailAPIResponse ¶ added in v1.2.5
type TaobaoTrainAgentOrderFailAPIResponse struct { model.CommonResponse TaobaoTrainAgentOrderFailAPIResponseModel }
TaobaoTrainAgentOrderFailAPIResponse 出票失败 API返回值 taobao.train.agent.order.fail
出票失败
type TaobaoTrainAgentOrderFailAPIResponseModel ¶ added in v1.2.5
type TaobaoTrainAgentOrderFailAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_order_fail_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // rs Result *TapResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTrainAgentOrderFailAPIResponseModel is 出票失败 成功返回结果
type TaobaoTrainAgentOrderGetAPIRequest ¶ added in v1.2.0
type TaobaoTrainAgentOrderGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentOrderGetAPIRequest 代理商获取订单信息回调API API请求 taobao.train.agent.order.get
代理商获取订单信息回调API
func NewTaobaoTrainAgentOrderGetRequest ¶
func NewTaobaoTrainAgentOrderGetRequest() *TaobaoTrainAgentOrderGetAPIRequest
NewTaobaoTrainAgentOrderGetRequest 初始化TaobaoTrainAgentOrderGetAPIRequest对象
func (TaobaoTrainAgentOrderGetAPIRequest) GetAgentId ¶ added in v1.2.0
func (r TaobaoTrainAgentOrderGetAPIRequest) GetAgentId() int64
GetAgentId AgentId Getter
func (TaobaoTrainAgentOrderGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTrainAgentOrderGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentOrderGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTrainAgentOrderGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentOrderGetAPIRequest) GetMainOrderId ¶ added in v1.2.0
func (r TaobaoTrainAgentOrderGetAPIRequest) GetMainOrderId() int64
GetMainOrderId MainOrderId Getter
func (TaobaoTrainAgentOrderGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentOrderGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentOrderGetAPIRequest) SetAgentId ¶ added in v1.2.0
func (r *TaobaoTrainAgentOrderGetAPIRequest) SetAgentId(_agentId int64) error
SetAgentId is AgentId Setter 代理商id
func (*TaobaoTrainAgentOrderGetAPIRequest) SetMainOrderId ¶ added in v1.2.0
func (r *TaobaoTrainAgentOrderGetAPIRequest) SetMainOrderId(_mainOrderId int64) error
SetMainOrderId is MainOrderId Setter 淘宝的主订单号
type TaobaoTrainAgentOrderGetAPIResponse ¶
type TaobaoTrainAgentOrderGetAPIResponse struct { model.CommonResponse TaobaoTrainAgentOrderGetAPIResponseModel }
TaobaoTrainAgentOrderGetAPIResponse 代理商获取订单信息回调API API返回值 taobao.train.agent.order.get
代理商获取订单信息回调API
type TaobaoTrainAgentOrderGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTrainAgentOrderGetAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_order_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 火车票信息。 Tickets []ToAgentTicketInfo `json:"tickets,omitempty" xml:"tickets>to_agent_ticket_info,omitempty"` // 移动电话 Telephone string `json:"telephone,omitempty" xml:"telephone,omitempty"` // 保险邮件地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 联系人姓名 RelationName string `json:"relation_name,omitempty" xml:"relation_name,omitempty"` // 如果是公司发票,需要公司名称,如果不需要公司名称,返回no CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 最晚出票时间 LatestIssueTime string `json:"latest_issue_time,omitempty" xml:"latest_issue_time,omitempty"` // 线下票收件人姓名 TransportName string `json:"transport_name,omitempty" xml:"transport_name,omitempty"` // 线下票收件人手机号 TransportPhone string `json:"transport_phone,omitempty" xml:"transport_phone,omitempty"` // 线下票收件人地址 TransportAddress string `json:"transport_address,omitempty" xml:"transport_address,omitempty"` // 扩展字段 ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"` // ttp_order_id TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"` // 主订单id MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"` // 整个订单的总价,包括每张票价及保险价格,价格精确到分,例如100元,输出为10000. TotalPrice int64 `json:"total_price,omitempty" xml:"total_price,omitempty"` // 1-已付款,2-关闭,3-成功 OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"` // 订单类型0:默认订单类型走代理商账号;1:走12306客户绑定的账号;2:线下邮寄票 OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"` // 纸质票类型: 1 靠窗,2 连坐,3 上铺,4 中铺,5 下铺,6 是否同包厢 PaperType int64 `json:"paper_type,omitempty" xml:"paper_type,omitempty"` // 当下铺/靠窗/连坐无票时,是否支持非下铺/非靠窗/非连坐(0不接受,1接受) PaperBackup int64 `json:"paper_backup,omitempty" xml:"paper_backup,omitempty"` // 至少接受下铺/靠窗/连坐数量 PaperLowSeatCount int64 `json:"paper_low_seat_count,omitempty" xml:"paper_low_seat_count,omitempty"` // 快递费(分) TransportPrice int64 `json:"transport_price,omitempty" xml:"transport_price,omitempty"` // 手续费总价(分) ServicePrice int64 `json:"service_price,omitempty" xml:"service_price,omitempty"` // 返回错误。 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // 是否需要保险邮件地址 Mailing bool `json:"mailing,omitempty" xml:"mailing,omitempty"` }
TaobaoTrainAgentOrderGetAPIResponseModel is 代理商获取订单信息回调API 成功返回结果
type TaobaoTrainAgentOrderGetVtwoAPIRequest ¶ added in v1.2.0
type TaobaoTrainAgentOrderGetVtwoAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentOrderGetVtwoAPIRequest 代理商获取订单信息回调APIv2--增加鉴权校验 API请求 taobao.train.agent.order.get.vtwo
代理商获取订单信息回调API
func NewTaobaoTrainAgentOrderGetVtwoRequest ¶
func NewTaobaoTrainAgentOrderGetVtwoRequest() *TaobaoTrainAgentOrderGetVtwoAPIRequest
NewTaobaoTrainAgentOrderGetVtwoRequest 初始化TaobaoTrainAgentOrderGetVtwoAPIRequest对象
func (TaobaoTrainAgentOrderGetVtwoAPIRequest) GetAgentId ¶ added in v1.2.0
func (r TaobaoTrainAgentOrderGetVtwoAPIRequest) GetAgentId() int64
GetAgentId AgentId Getter
func (TaobaoTrainAgentOrderGetVtwoAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTrainAgentOrderGetVtwoAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentOrderGetVtwoAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTrainAgentOrderGetVtwoAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentOrderGetVtwoAPIRequest) GetMainOrderId ¶ added in v1.2.0
func (r TaobaoTrainAgentOrderGetVtwoAPIRequest) GetMainOrderId() int64
GetMainOrderId MainOrderId Getter
func (TaobaoTrainAgentOrderGetVtwoAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentOrderGetVtwoAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentOrderGetVtwoAPIRequest) SetAgentId ¶ added in v1.2.0
func (r *TaobaoTrainAgentOrderGetVtwoAPIRequest) SetAgentId(_agentId int64) error
SetAgentId is AgentId Setter 代理商id
func (*TaobaoTrainAgentOrderGetVtwoAPIRequest) SetMainOrderId ¶ added in v1.2.0
func (r *TaobaoTrainAgentOrderGetVtwoAPIRequest) SetMainOrderId(_mainOrderId int64) error
SetMainOrderId is MainOrderId Setter 淘宝的主订单号
type TaobaoTrainAgentOrderGetVtwoAPIResponse ¶
type TaobaoTrainAgentOrderGetVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentOrderGetVtwoAPIResponseModel }
TaobaoTrainAgentOrderGetVtwoAPIResponse 代理商获取订单信息回调APIv2--增加鉴权校验 API返回值 taobao.train.agent.order.get.vtwo
代理商获取订单信息回调API
type TaobaoTrainAgentOrderGetVtwoAPIResponseModel ¶ added in v1.2.0
type TaobaoTrainAgentOrderGetVtwoAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_order_get_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 火车票信息。 Tickets []ToAgentTicketInfo `json:"tickets,omitempty" xml:"tickets>to_agent_ticket_info,omitempty"` // vip定制信息 VipCustomList []VipCustomResultItem `json:"vip_custom_list,omitempty" xml:"vip_custom_list>vip_custom_result_item,omitempty"` // 保险邮件地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 如果是公司发票,需要公司名称,如果不需要公司名称,返回no CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 联系人姓名 RelationName string `json:"relation_name,omitempty" xml:"relation_name,omitempty"` // 移动电话 Telephone string `json:"telephone,omitempty" xml:"telephone,omitempty"` // 最晚出票时间 LatestIssueTime string `json:"latest_issue_time,omitempty" xml:"latest_issue_time,omitempty"` // 线下票收件人姓名 TransportName string `json:"transport_name,omitempty" xml:"transport_name,omitempty"` // 线下票收件人手机号 TransportPhone string `json:"transport_phone,omitempty" xml:"transport_phone,omitempty"` // 线下票收件人地址 TransportAddress string `json:"transport_address,omitempty" xml:"transport_address,omitempty"` // 扩展字段 ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"` // 1A2B OnlineBookSeat string `json:"online_book_seat,omitempty" xml:"online_book_seat,omitempty"` // interchangeStation InterchangeStation string `json:"interchange_station,omitempty" xml:"interchange_station,omitempty"` // isMultiTrip IsMultiTrip string `json:"is_multi_trip,omitempty" xml:"is_multi_trip,omitempty"` // 主订单id MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"` // 1-已付款,2-关闭,3-成功 OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"` // 整个订单的总价,包括每张票价及保险价格,价格精确到分,例如100元,输出为10000. TotalPrice int64 `json:"total_price,omitempty" xml:"total_price,omitempty"` // ttp_order_id TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"` // 订单类型0:默认订单类型走代理商账号;1:走12306客户绑定的账号;2:线下邮寄票 OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"` // 纸质票类型: 1 靠窗,2 连坐,3 上铺,4 中铺,5 下铺,6 是否同包厢 PaperType int64 `json:"paper_type,omitempty" xml:"paper_type,omitempty"` // 当下铺/靠窗/连坐无票时,是否支持非下铺/非靠窗/非连坐(0不接受,1接受) PaperBackup int64 `json:"paper_backup,omitempty" xml:"paper_backup,omitempty"` // 至少接受下铺/靠窗/连坐数量 PaperLowSeatCount int64 `json:"paper_low_seat_count,omitempty" xml:"paper_low_seat_count,omitempty"` // 快递费(分) TransportPrice int64 `json:"transport_price,omitempty" xml:"transport_price,omitempty"` // 手续费总价(分) ServicePrice int64 `json:"service_price,omitempty" xml:"service_price,omitempty"` // 是否接受非定制坐席 1:是 0:否 AcceptNoVipCustom int64 `json:"accept_no_vip_custom,omitempty" xml:"accept_no_vip_custom,omitempty"` // 用户可接受的最少定制票数量 VipCustomMinSeatCount int64 `json:"vip_custom_min_seat_count,omitempty" xml:"vip_custom_min_seat_count,omitempty"` // 定制票类型 1:下铺 2:下铺or中铺 3:过道 4:靠窗 VipCustomType int64 `json:"vip_custom_type,omitempty" xml:"vip_custom_type,omitempty"` // 是否需要保险邮件地址 Mailing bool `json:"mailing,omitempty" xml:"mailing,omitempty"` // 返回错误。 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // 是否需要发票 NeedReceipt bool `json:"need_receipt,omitempty" xml:"need_receipt,omitempty"` // 是否需要乘车人退款 true:需要 false:不需要 RefundByPassenger bool `json:"refund_by_passenger,omitempty" xml:"refund_by_passenger,omitempty"` }
TaobaoTrainAgentOrderGetVtwoAPIResponseModel is 代理商获取订单信息回调APIv2--增加鉴权校验 成功返回结果
type TaobaoTrainAgentOrderIgnoreAPIRequest ¶ added in v1.2.5
type TaobaoTrainAgentOrderIgnoreAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentOrderIgnoreAPIRequest 忽略订单 API请求 taobao.train.agent.order.ignore
忽略订单
func NewTaobaoTrainAgentOrderIgnoreRequest ¶ added in v1.2.5
func NewTaobaoTrainAgentOrderIgnoreRequest() *TaobaoTrainAgentOrderIgnoreAPIRequest
NewTaobaoTrainAgentOrderIgnoreRequest 初始化TaobaoTrainAgentOrderIgnoreAPIRequest对象
func (TaobaoTrainAgentOrderIgnoreAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTrainAgentOrderIgnoreAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentOrderIgnoreAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTrainAgentOrderIgnoreAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentOrderIgnoreAPIRequest) GetParam0 ¶ added in v1.2.5
func (r TaobaoTrainAgentOrderIgnoreAPIRequest) GetParam0() *IgnoreOrderRq
GetParam0 Param0 Getter
func (TaobaoTrainAgentOrderIgnoreAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentOrderIgnoreAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentOrderIgnoreAPIRequest) SetParam0 ¶ added in v1.2.5
func (r *TaobaoTrainAgentOrderIgnoreAPIRequest) SetParam0(_param0 *IgnoreOrderRq) error
SetParam0 is Param0 Setter rq
type TaobaoTrainAgentOrderIgnoreAPIResponse ¶ added in v1.2.5
type TaobaoTrainAgentOrderIgnoreAPIResponse struct { model.CommonResponse TaobaoTrainAgentOrderIgnoreAPIResponseModel }
TaobaoTrainAgentOrderIgnoreAPIResponse 忽略订单 API返回值 taobao.train.agent.order.ignore
忽略订单
type TaobaoTrainAgentOrderIgnoreAPIResponseModel ¶ added in v1.2.5
type TaobaoTrainAgentOrderIgnoreAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_order_ignore_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // rs Result *TapResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTrainAgentOrderIgnoreAPIResponseModel is 忽略订单 成功返回结果
type TaobaoTrainAgentOrderLockAPIRequest ¶ added in v1.2.5
type TaobaoTrainAgentOrderLockAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentOrderLockAPIRequest 锁单 API请求 taobao.train.agent.order.lock
锁单
func NewTaobaoTrainAgentOrderLockRequest ¶ added in v1.2.5
func NewTaobaoTrainAgentOrderLockRequest() *TaobaoTrainAgentOrderLockAPIRequest
NewTaobaoTrainAgentOrderLockRequest 初始化TaobaoTrainAgentOrderLockAPIRequest对象
func (TaobaoTrainAgentOrderLockAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTrainAgentOrderLockAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentOrderLockAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTrainAgentOrderLockAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentOrderLockAPIRequest) GetParam ¶ added in v1.2.5
func (r TaobaoTrainAgentOrderLockAPIRequest) GetParam() *LockOrderRq
GetParam Param Getter
func (TaobaoTrainAgentOrderLockAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentOrderLockAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentOrderLockAPIRequest) SetParam ¶ added in v1.2.5
func (r *TaobaoTrainAgentOrderLockAPIRequest) SetParam(_param *LockOrderRq) error
SetParam is Param Setter 入参
type TaobaoTrainAgentOrderLockAPIResponse ¶ added in v1.2.5
type TaobaoTrainAgentOrderLockAPIResponse struct { model.CommonResponse TaobaoTrainAgentOrderLockAPIResponseModel }
TaobaoTrainAgentOrderLockAPIResponse 锁单 API返回值 taobao.train.agent.order.lock
锁单
type TaobaoTrainAgentOrderLockAPIResponseModel ¶ added in v1.2.5
type TaobaoTrainAgentOrderLockAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_order_lock_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // rs Result *TapResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTrainAgentOrderLockAPIResponseModel is 锁单 成功返回结果
type TaobaoTrainAgentOrderQueryAPIRequest ¶ added in v1.2.5
type TaobaoTrainAgentOrderQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentOrderQueryAPIRequest 订单详情查询 API请求 taobao.train.agent.order.query
订单详情查询接口
func NewTaobaoTrainAgentOrderQueryRequest ¶ added in v1.2.5
func NewTaobaoTrainAgentOrderQueryRequest() *TaobaoTrainAgentOrderQueryAPIRequest
NewTaobaoTrainAgentOrderQueryRequest 初始化TaobaoTrainAgentOrderQueryAPIRequest对象
func (TaobaoTrainAgentOrderQueryAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTrainAgentOrderQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentOrderQueryAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTrainAgentOrderQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentOrderQueryAPIRequest) GetParam0 ¶ added in v1.2.5
func (r TaobaoTrainAgentOrderQueryAPIRequest) GetParam0() *QueryOrderRq
GetParam0 Param0 Getter
func (TaobaoTrainAgentOrderQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentOrderQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentOrderQueryAPIRequest) SetParam0 ¶ added in v1.2.5
func (r *TaobaoTrainAgentOrderQueryAPIRequest) SetParam0(_param0 *QueryOrderRq) error
SetParam0 is Param0 Setter rq
type TaobaoTrainAgentOrderQueryAPIResponse ¶ added in v1.2.5
type TaobaoTrainAgentOrderQueryAPIResponse struct { model.CommonResponse TaobaoTrainAgentOrderQueryAPIResponseModel }
TaobaoTrainAgentOrderQueryAPIResponse 订单详情查询 API返回值 taobao.train.agent.order.query
订单详情查询接口
type TaobaoTrainAgentOrderQueryAPIResponseModel ¶ added in v1.2.5
type TaobaoTrainAgentOrderQueryAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_order_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // rs Result *TapResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTrainAgentOrderQueryAPIResponseModel is 订单详情查询 成功返回结果
type TaobaoTrainAgentReturnordersGetVtwoAPIRequest ¶ added in v1.2.0
type TaobaoTrainAgentReturnordersGetVtwoAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentReturnordersGetVtwoAPIRequest 获取待退票的订单v2--增加鉴权校验 API请求 taobao.train.agent.returnorders.get.vtwo
代理商用来获取待退票的订单列表及数量,防止代理商掉单。
func NewTaobaoTrainAgentReturnordersGetVtwoRequest ¶
func NewTaobaoTrainAgentReturnordersGetVtwoRequest() *TaobaoTrainAgentReturnordersGetVtwoAPIRequest
NewTaobaoTrainAgentReturnordersGetVtwoRequest 初始化TaobaoTrainAgentReturnordersGetVtwoAPIRequest对象
func (TaobaoTrainAgentReturnordersGetVtwoAPIRequest) GetAgentId ¶ added in v1.2.0
func (r TaobaoTrainAgentReturnordersGetVtwoAPIRequest) GetAgentId() int64
GetAgentId AgentId Getter
func (TaobaoTrainAgentReturnordersGetVtwoAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTrainAgentReturnordersGetVtwoAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentReturnordersGetVtwoAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTrainAgentReturnordersGetVtwoAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentReturnordersGetVtwoAPIRequest) GetOffline ¶ added in v1.2.0
func (r TaobaoTrainAgentReturnordersGetVtwoAPIRequest) GetOffline() int64
GetOffline Offline Getter
func (TaobaoTrainAgentReturnordersGetVtwoAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentReturnordersGetVtwoAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentReturnordersGetVtwoAPIRequest) SetAgentId ¶ added in v1.2.0
func (r *TaobaoTrainAgentReturnordersGetVtwoAPIRequest) SetAgentId(_agentId int64) error
SetAgentId is AgentId Setter 卖家ID
func (*TaobaoTrainAgentReturnordersGetVtwoAPIRequest) SetOffline ¶ added in v1.2.0
func (r *TaobaoTrainAgentReturnordersGetVtwoAPIRequest) SetOffline(_offline int64) error
SetOffline is Offline Setter 0 线上退票 1线下退票
type TaobaoTrainAgentReturnordersGetVtwoAPIResponse ¶
type TaobaoTrainAgentReturnordersGetVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentReturnordersGetVtwoAPIResponseModel }
TaobaoTrainAgentReturnordersGetVtwoAPIResponse 获取待退票的订单v2--增加鉴权校验 API返回值 taobao.train.agent.returnorders.get.vtwo
代理商用来获取待退票的订单列表及数量,防止代理商掉单。
type TaobaoTrainAgentReturnordersGetVtwoAPIResponseModel ¶ added in v1.2.0
type TaobaoTrainAgentReturnordersGetVtwoAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_returnorders_get_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 子订单号字符串,每个订单以逗号分隔 OrderIds string `json:"order_ids,omitempty" xml:"order_ids,omitempty"` // 错误描述 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 主订单id列表 MainOrderIds string `json:"main_order_ids,omitempty" xml:"main_order_ids,omitempty"` // 申请时间,每个时间以逗号分隔 RefundApplyTimes string `json:"refund_apply_times,omitempty" xml:"refund_apply_times,omitempty"` // 待退票的订单数 OrderCount int64 `json:"order_count,omitempty" xml:"order_count,omitempty"` }
TaobaoTrainAgentReturnordersGetVtwoAPIResponseModel is 获取待退票的订单v2--增加鉴权校验 成功返回结果
type TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest ¶ added in v1.2.0
type TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest 退票通知 API请求 taobao.train.agent.returnticket.confirm.vtwo
火车票代理商接口——退票通知回调
func NewTaobaoTrainAgentReturnticketConfirmVtwoRequest ¶
func NewTaobaoTrainAgentReturnticketConfirmVtwoRequest() *TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest
NewTaobaoTrainAgentReturnticketConfirmVtwoRequest 初始化TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest对象
func (TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetAgentId ¶ added in v1.2.0
func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetAgentId() int64
GetAgentId AgentId Getter
func (TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetAgreeReturn ¶ added in v1.2.0
func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetAgreeReturn() bool
GetAgreeReturn AgreeReturn Getter
func (TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetBuyerId ¶ added in v1.2.0
func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetBuyerId() int64
GetBuyerId BuyerId Getter
func (TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetCloseRefundNotify ¶ added in v1.2.0
func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetCloseRefundNotify() bool
GetCloseRefundNotify CloseRefundNotify Getter
func (TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetMainBizOrderId ¶ added in v1.2.0
func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetMainBizOrderId() int64
GetMainBizOrderId MainBizOrderId Getter
func (TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetRefundFee ¶ added in v1.2.0
func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetRefundFee() int64
GetRefundFee RefundFee Getter
func (TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetRefuseReturnReason ¶ added in v1.2.0
func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetRefuseReturnReason() string
GetRefuseReturnReason RefuseReturnReason Getter
func (TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetSubBizOrderId ¶ added in v1.2.0
func (r TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) GetSubBizOrderId() int64
GetSubBizOrderId SubBizOrderId Getter
func (*TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetAgentId ¶ added in v1.2.0
func (r *TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetAgentId(_agentId int64) error
SetAgentId is AgentId Setter 代理商id
func (*TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetAgreeReturn ¶ added in v1.2.0
func (r *TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetAgreeReturn(_agreeReturn bool) error
SetAgreeReturn is AgreeReturn Setter 是否同意退票
func (*TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetBuyerId ¶ added in v1.2.0
func (r *TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetBuyerId(_buyerId int64) error
SetBuyerId is BuyerId Setter 用户id
func (*TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetCloseRefundNotify ¶ added in v1.2.0
func (r *TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetCloseRefundNotify(_closeRefundNotify bool) error
SetCloseRefundNotify is CloseRefundNotify Setter 关闭通知用户 true:关闭 false:不关闭
func (*TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetMainBizOrderId ¶ added in v1.2.0
func (r *TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetMainBizOrderId(_mainBizOrderId int64) error
SetMainBizOrderId is MainBizOrderId Setter 淘宝主订单id
func (*TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetRefundFee ¶ added in v1.2.0
func (r *TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetRefundFee(_refundFee int64) error
SetRefundFee is RefundFee Setter 退票金额,单位分
func (*TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetRefuseReturnReason ¶ added in v1.2.0
func (r *TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetRefuseReturnReason(_refuseReturnReason string) error
SetRefuseReturnReason is RefuseReturnReason Setter 拒绝退票原因
func (*TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetSubBizOrderId ¶ added in v1.2.0
func (r *TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest) SetSubBizOrderId(_subBizOrderId int64) error
SetSubBizOrderId is SubBizOrderId Setter 淘宝子订单id
type TaobaoTrainAgentReturnticketConfirmVtwoAPIResponse ¶
type TaobaoTrainAgentReturnticketConfirmVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentReturnticketConfirmVtwoAPIResponseModel }
TaobaoTrainAgentReturnticketConfirmVtwoAPIResponse 退票通知 API返回值 taobao.train.agent.returnticket.confirm.vtwo
火车票代理商接口——退票通知回调
type TaobaoTrainAgentReturnticketConfirmVtwoAPIResponseModel ¶ added in v1.2.0
type TaobaoTrainAgentReturnticketConfirmVtwoAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_returnticket_confirm_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // resultCode ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // resultMsg ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // success IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoTrainAgentReturnticketConfirmVtwoAPIResponseModel is 退票通知 成功返回结果
type TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest ¶ added in v1.2.5
type TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest 代理商获取退票详情回调 API请求 taobao.train.agent.returnticketinfo.get.vtwo
代理商获取退票详情回调
func NewTaobaoTrainAgentReturnticketinfoGetVtwoRequest ¶ added in v1.2.5
func NewTaobaoTrainAgentReturnticketinfoGetVtwoRequest() *TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest
NewTaobaoTrainAgentReturnticketinfoGetVtwoRequest 初始化TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest对象
func (TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetAgentId ¶ added in v1.2.5
func (r TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetAgentId() int64
GetAgentId AgentId Getter
func (TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetMainOrderId ¶ added in v1.2.5
func (r TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetMainOrderId() int64
GetMainOrderId MainOrderId Getter
func (TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetSubOrderId ¶ added in v1.2.5
func (r TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) GetSubOrderId() int64
GetSubOrderId SubOrderId Getter
func (*TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) SetAgentId ¶ added in v1.2.5
func (r *TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) SetAgentId(_agentId int64) error
SetAgentId is AgentId Setter 代理商id
func (*TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) SetMainOrderId ¶ added in v1.2.5
func (r *TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) SetMainOrderId(_mainOrderId int64) error
SetMainOrderId is MainOrderId Setter 淘宝主订单号
func (*TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) SetSubOrderId ¶ added in v1.2.5
func (r *TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest) SetSubOrderId(_subOrderId int64) error
SetSubOrderId is SubOrderId Setter 淘宝子订单号
type TaobaoTrainAgentReturnticketinfoGetVtwoAPIResponse ¶ added in v1.2.5
type TaobaoTrainAgentReturnticketinfoGetVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentReturnticketinfoGetVtwoAPIResponseModel }
TaobaoTrainAgentReturnticketinfoGetVtwoAPIResponse 代理商获取退票详情回调 API返回值 taobao.train.agent.returnticketinfo.get.vtwo
代理商获取退票详情回调
type TaobaoTrainAgentReturnticketinfoGetVtwoAPIResponseModel ¶ added in v1.2.5
type TaobaoTrainAgentReturnticketinfoGetVtwoAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_returnticketinfo_get_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 证件照图片列表 CertificateUrlList []string `json:"certificate_url_list,omitempty" xml:"certificate_url_list>string,omitempty"` // 错误信息 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 错误码 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 退票处理截止时间 RefundDeadline string `json:"refund_deadline,omitempty" xml:"refund_deadline,omitempty"` // 预留字段 Attribute string `json:"attribute,omitempty" xml:"attribute,omitempty"` // 退票类型:10:跑腿退 OfflineRefundType int64 `json:"offline_refund_type,omitempty" xml:"offline_refund_type,omitempty"` // 淘宝子订单号 SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 淘宝主订单号 MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"` // 证件类型 CertificateType int64 `json:"certificate_type,omitempty" xml:"certificate_type,omitempty"` // 线下票跑腿费 VipErrandReturnPrice int64 `json:"vip_errand_return_price,omitempty" xml:"vip_errand_return_price,omitempty"` // 是否线下票退票 OfflineReturn bool `json:"offline_return,omitempty" xml:"offline_return,omitempty"` // 查询返回状态 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoTrainAgentReturnticketinfoGetVtwoAPIResponseModel is 代理商获取退票详情回调 成功返回结果
type TaobaoTrainAgentTicketStatusCallbackAPIRequest ¶ added in v1.2.5
type TaobaoTrainAgentTicketStatusCallbackAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentTicketStatusCallbackAPIRequest 代理商票状态查询回调 API请求 taobao.train.agent.ticket.status.callback
代理商票状态查询结果回调
func NewTaobaoTrainAgentTicketStatusCallbackRequest ¶ added in v1.2.5
func NewTaobaoTrainAgentTicketStatusCallbackRequest() *TaobaoTrainAgentTicketStatusCallbackAPIRequest
NewTaobaoTrainAgentTicketStatusCallbackRequest 初始化TaobaoTrainAgentTicketStatusCallbackAPIRequest对象
func (TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetId ¶ added in v1.2.5
func (r TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetId() string
GetId Id Getter
func (TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetMsg ¶ added in v1.2.5
func (r TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetMsg() string
GetMsg Msg Getter
func (TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetTicketStatus ¶ added in v1.2.5
func (r TaobaoTrainAgentTicketStatusCallbackAPIRequest) GetTicketStatus() int64
GetTicketStatus TicketStatus Getter
func (*TaobaoTrainAgentTicketStatusCallbackAPIRequest) SetId ¶ added in v1.2.5
func (r *TaobaoTrainAgentTicketStatusCallbackAPIRequest) SetId(_id string) error
SetId is Id Setter 唯一编号
func (*TaobaoTrainAgentTicketStatusCallbackAPIRequest) SetMsg ¶ added in v1.2.5
func (r *TaobaoTrainAgentTicketStatusCallbackAPIRequest) SetMsg(_msg string) error
SetMsg is Msg Setter 描述信息
func (*TaobaoTrainAgentTicketStatusCallbackAPIRequest) SetTicketStatus ¶ added in v1.2.5
func (r *TaobaoTrainAgentTicketStatusCallbackAPIRequest) SetTicketStatus(_ticketStatus int64) error
SetTicketStatus is TicketStatus Setter 车票状态
type TaobaoTrainAgentTicketStatusCallbackAPIResponse ¶ added in v1.2.5
type TaobaoTrainAgentTicketStatusCallbackAPIResponse struct { model.CommonResponse TaobaoTrainAgentTicketStatusCallbackAPIResponseModel }
TaobaoTrainAgentTicketStatusCallbackAPIResponse 代理商票状态查询回调 API返回值 taobao.train.agent.ticket.status.callback
代理商票状态查询结果回调
type TaobaoTrainAgentTicketStatusCallbackAPIResponseModel ¶ added in v1.2.5
type TaobaoTrainAgentTicketStatusCallbackAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_ticket_status_callback_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误描述 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 是否成功调用 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoTrainAgentTicketStatusCallbackAPIResponseModel is 代理商票状态查询回调 成功返回结果
type TaobaoTrainAgentTostationConfirmAPIRequest ¶ added in v1.2.0
type TaobaoTrainAgentTostationConfirmAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentTostationConfirmAPIRequest 线下票确认送票至车站服务 API请求 taobao.train.agent.tostation.confirm
送票至车站的订单,代理商确认配送到站
func NewTaobaoTrainAgentTostationConfirmRequest ¶
func NewTaobaoTrainAgentTostationConfirmRequest() *TaobaoTrainAgentTostationConfirmAPIRequest
NewTaobaoTrainAgentTostationConfirmRequest 初始化TaobaoTrainAgentTostationConfirmAPIRequest对象
func (TaobaoTrainAgentTostationConfirmAPIRequest) GetAgentId ¶ added in v1.2.0
func (r TaobaoTrainAgentTostationConfirmAPIRequest) GetAgentId() int64
GetAgentId AgentId Getter
func (TaobaoTrainAgentTostationConfirmAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTrainAgentTostationConfirmAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentTostationConfirmAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTrainAgentTostationConfirmAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentTostationConfirmAPIRequest) GetMainOrderId ¶ added in v1.2.0
func (r TaobaoTrainAgentTostationConfirmAPIRequest) GetMainOrderId() int64
GetMainOrderId MainOrderId Getter
func (TaobaoTrainAgentTostationConfirmAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentTostationConfirmAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentTostationConfirmAPIRequest) SetAgentId ¶ added in v1.2.0
func (r *TaobaoTrainAgentTostationConfirmAPIRequest) SetAgentId(_agentId int64) error
SetAgentId is AgentId Setter 代理商id
func (*TaobaoTrainAgentTostationConfirmAPIRequest) SetMainOrderId ¶ added in v1.2.0
func (r *TaobaoTrainAgentTostationConfirmAPIRequest) SetMainOrderId(_mainOrderId int64) error
SetMainOrderId is MainOrderId Setter 淘宝的主订单号
type TaobaoTrainAgentTostationConfirmAPIResponse ¶
type TaobaoTrainAgentTostationConfirmAPIResponse struct { model.CommonResponse TaobaoTrainAgentTostationConfirmAPIResponseModel }
TaobaoTrainAgentTostationConfirmAPIResponse 线下票确认送票至车站服务 API返回值 taobao.train.agent.tostation.confirm
送票至车站的订单,代理商确认配送到站
type TaobaoTrainAgentTostationConfirmAPIResponseModel ¶ added in v1.2.0
type TaobaoTrainAgentTostationConfirmAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_tostation_confirm_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 ErrorMsgCode string `json:"error_msg_code,omitempty" xml:"error_msg_code,omitempty"` // 扩展参数 ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"` // 错误描述 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoTrainAgentTostationConfirmAPIResponseModel is 线下票确认送票至车站服务 成功返回结果
type TaobaoTrainAgentTostationReceiveAPIRequest ¶ added in v1.2.0
type TaobaoTrainAgentTostationReceiveAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentTostationReceiveAPIRequest 线下票送票至车站代理商确认用户已取票服务 API请求 taobao.train.agent.tostation.receive
送票至车站的订单,代理商确认用户已取票
func NewTaobaoTrainAgentTostationReceiveRequest ¶
func NewTaobaoTrainAgentTostationReceiveRequest() *TaobaoTrainAgentTostationReceiveAPIRequest
NewTaobaoTrainAgentTostationReceiveRequest 初始化TaobaoTrainAgentTostationReceiveAPIRequest对象
func (TaobaoTrainAgentTostationReceiveAPIRequest) GetAgentId ¶ added in v1.2.0
func (r TaobaoTrainAgentTostationReceiveAPIRequest) GetAgentId() int64
GetAgentId AgentId Getter
func (TaobaoTrainAgentTostationReceiveAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTrainAgentTostationReceiveAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentTostationReceiveAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTrainAgentTostationReceiveAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentTostationReceiveAPIRequest) GetMainOrderId ¶ added in v1.2.0
func (r TaobaoTrainAgentTostationReceiveAPIRequest) GetMainOrderId() int64
GetMainOrderId MainOrderId Getter
func (TaobaoTrainAgentTostationReceiveAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentTostationReceiveAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentTostationReceiveAPIRequest) SetAgentId ¶ added in v1.2.0
func (r *TaobaoTrainAgentTostationReceiveAPIRequest) SetAgentId(_agentId int64) error
SetAgentId is AgentId Setter 代理商id
func (*TaobaoTrainAgentTostationReceiveAPIRequest) SetMainOrderId ¶ added in v1.2.0
func (r *TaobaoTrainAgentTostationReceiveAPIRequest) SetMainOrderId(_mainOrderId int64) error
SetMainOrderId is MainOrderId Setter 淘宝的主订单号
type TaobaoTrainAgentTostationReceiveAPIResponse ¶
type TaobaoTrainAgentTostationReceiveAPIResponse struct { model.CommonResponse TaobaoTrainAgentTostationReceiveAPIResponseModel }
TaobaoTrainAgentTostationReceiveAPIResponse 线下票送票至车站代理商确认用户已取票服务 API返回值 taobao.train.agent.tostation.receive
送票至车站的订单,代理商确认用户已取票
type TaobaoTrainAgentTostationReceiveAPIResponseModel ¶ added in v1.2.0
type TaobaoTrainAgentTostationReceiveAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_tostation_receive_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 ErrorMsgCode string `json:"error_msg_code,omitempty" xml:"error_msg_code,omitempty"` // 扩展参数 ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"` // 错误描述 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoTrainAgentTostationReceiveAPIResponseModel is 线下票送票至车站代理商确认用户已取票服务 成功返回结果
type TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest ¶ added in v1.2.8
type TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest 火车票代理商接口-查询待处理改签单列表-含鉴权校验 API请求 taobao.train.agent.untreatedchange.query.vtwo
火车票代理商接口-查询待处理改签单列表-含鉴权校验
func NewTaobaoTrainAgentUntreatedchangeQueryVtwoRequest ¶ added in v1.2.8
func NewTaobaoTrainAgentUntreatedchangeQueryVtwoRequest() *TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest
NewTaobaoTrainAgentUntreatedchangeQueryVtwoRequest 初始化TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest对象
func (TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest) GetApiMethodName ¶ added in v1.2.8
func (r TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest) GetApiParams ¶ added in v1.2.8
func (r TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest) GetQueryUntreatedChangeRq ¶ added in v1.2.8
func (r TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest) GetQueryUntreatedChangeRq() *QueryUntreatedChangeRq
GetQueryUntreatedChangeRq QueryUntreatedChangeRq Getter
func (TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest) SetQueryUntreatedChangeRq ¶ added in v1.2.8
func (r *TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest) SetQueryUntreatedChangeRq(_queryUntreatedChangeRq *QueryUntreatedChangeRq) error
SetQueryUntreatedChangeRq is QueryUntreatedChangeRq Setter 查询待处理改签列表rq
type TaobaoTrainAgentUntreatedchangeQueryVtwoAPIResponse ¶ added in v1.2.8
type TaobaoTrainAgentUntreatedchangeQueryVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentUntreatedchangeQueryVtwoAPIResponseModel }
TaobaoTrainAgentUntreatedchangeQueryVtwoAPIResponse 火车票代理商接口-查询待处理改签单列表-含鉴权校验 API返回值 taobao.train.agent.untreatedchange.query.vtwo
火车票代理商接口-查询待处理改签单列表-含鉴权校验
type TaobaoTrainAgentUntreatedchangeQueryVtwoAPIResponseModel ¶ added in v1.2.8
type TaobaoTrainAgentUntreatedchangeQueryVtwoAPIResponseModel struct { XMLName xml.Name `xml:"train_agent_untreatedchange_query_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 待处理改签申请单列表 UntreatedChangeApplyIds string `json:"untreated_change_apply_ids,omitempty" xml:"untreated_change_apply_ids,omitempty"` // 待处理改签单数量 UntreatedChangeOrderNum int64 `json:"untreated_change_order_num,omitempty" xml:"untreated_change_order_num,omitempty"` }
TaobaoTrainAgentUntreatedchangeQueryVtwoAPIResponseModel is 火车票代理商接口-查询待处理改签单列表-含鉴权校验 成功返回结果
type TaobaoTrainPurchaseOrderPayurlAPIRequest ¶ added in v1.2.8
type TaobaoTrainPurchaseOrderPayurlAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainPurchaseOrderPayurlAPIRequest 火车票采购商接口-获取支付链接 API请求 taobao.train.purchase.order.payurl
火车票采购商接口-获取支付链接
func NewTaobaoTrainPurchaseOrderPayurlRequest ¶ added in v1.2.8
func NewTaobaoTrainPurchaseOrderPayurlRequest() *TaobaoTrainPurchaseOrderPayurlAPIRequest
NewTaobaoTrainPurchaseOrderPayurlRequest 初始化TaobaoTrainPurchaseOrderPayurlAPIRequest对象
func (TaobaoTrainPurchaseOrderPayurlAPIRequest) GetApiMethodName ¶ added in v1.2.8
func (r TaobaoTrainPurchaseOrderPayurlAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainPurchaseOrderPayurlAPIRequest) GetApiParams ¶ added in v1.2.8
func (r TaobaoTrainPurchaseOrderPayurlAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainPurchaseOrderPayurlAPIRequest) GetBusinessType ¶ added in v1.2.8
func (r TaobaoTrainPurchaseOrderPayurlAPIRequest) GetBusinessType() int64
GetBusinessType BusinessType Getter
func (TaobaoTrainPurchaseOrderPayurlAPIRequest) GetChangeApplyId ¶ added in v1.2.8
func (r TaobaoTrainPurchaseOrderPayurlAPIRequest) GetChangeApplyId() int64
GetChangeApplyId ChangeApplyId Getter
func (TaobaoTrainPurchaseOrderPayurlAPIRequest) GetMainBizOrderId ¶ added in v1.2.8
func (r TaobaoTrainPurchaseOrderPayurlAPIRequest) GetMainBizOrderId() int64
GetMainBizOrderId MainBizOrderId Getter
func (TaobaoTrainPurchaseOrderPayurlAPIRequest) GetPayChannel ¶ added in v1.2.8
func (r TaobaoTrainPurchaseOrderPayurlAPIRequest) GetPayChannel() string
GetPayChannel PayChannel Getter
func (TaobaoTrainPurchaseOrderPayurlAPIRequest) GetPayType ¶ added in v1.2.8
func (r TaobaoTrainPurchaseOrderPayurlAPIRequest) GetPayType() int64
GetPayType PayType Getter
func (TaobaoTrainPurchaseOrderPayurlAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainPurchaseOrderPayurlAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoTrainPurchaseOrderPayurlAPIRequest) SetBusinessType ¶ added in v1.2.8
func (r *TaobaoTrainPurchaseOrderPayurlAPIRequest) SetBusinessType(_businessType int64) error
SetBusinessType is BusinessType Setter 订单业务类型(1-正向,2-改签)
func (*TaobaoTrainPurchaseOrderPayurlAPIRequest) SetChangeApplyId ¶ added in v1.2.8
func (r *TaobaoTrainPurchaseOrderPayurlAPIRequest) SetChangeApplyId(_changeApplyId int64) error
SetChangeApplyId is ChangeApplyId Setter 改签id,取自mtop.trip.train.createChangeOrder的响应{"headers":{},"httpStatusCode":200,"model":{"applyId":532585123123,"occupyChannelType":1,"occupyType":0},"success":true}
func (*TaobaoTrainPurchaseOrderPayurlAPIRequest) SetMainBizOrderId ¶ added in v1.2.8
func (r *TaobaoTrainPurchaseOrderPayurlAPIRequest) SetMainBizOrderId(_mainBizOrderId int64) error
SetMainBizOrderId is MainBizOrderId Setter 主订单id
func (*TaobaoTrainPurchaseOrderPayurlAPIRequest) SetPayChannel ¶ added in v1.2.8
func (r *TaobaoTrainPurchaseOrderPayurlAPIRequest) SetPayChannel(_payChannel string) error
SetPayChannel is PayChannel Setter 支付渠道(alipay-支付宝、union-银联、cmb-中国招商银行)
func (*TaobaoTrainPurchaseOrderPayurlAPIRequest) SetPayType ¶ added in v1.2.8
func (r *TaobaoTrainPurchaseOrderPayurlAPIRequest) SetPayType(_payType int64) error
SetPayType is PayType Setter 支付类型(1-app,0-pc),暂时只支持app
type TaobaoTrainPurchaseOrderPayurlAPIResponse ¶ added in v1.2.8
type TaobaoTrainPurchaseOrderPayurlAPIResponse struct { model.CommonResponse TaobaoTrainPurchaseOrderPayurlAPIResponseModel }
TaobaoTrainPurchaseOrderPayurlAPIResponse 火车票采购商接口-获取支付链接 API返回值 taobao.train.purchase.order.payurl
火车票采购商接口-获取支付链接
type TaobaoTrainPurchaseOrderPayurlAPIResponseModel ¶ added in v1.2.8
type TaobaoTrainPurchaseOrderPayurlAPIResponseModel struct { XMLName xml.Name `xml:"train_purchase_order_payurl_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 失败code ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 失败msg补充 InnerMsg string `json:"inner_msg,omitempty" xml:"inner_msg,omitempty"` // 支付链接地址 Url string `json:"url,omitempty" xml:"url,omitempty"` // 失败msg ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoTrainPurchaseOrderPayurlAPIResponseModel is 火车票采购商接口-获取支付链接 成功返回结果
type TaobaoTrainStopAgentCallbackAPIRequest ¶ added in v1.2.5
type TaobaoTrainStopAgentCallbackAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTrainStopAgentCallbackAPIRequest 火车票车次停运信息商家回调 API请求 taobao.train.stop.agent.callback
火车票车次停运信息商家回调接口
func NewTaobaoTrainStopAgentCallbackRequest ¶ added in v1.2.5
func NewTaobaoTrainStopAgentCallbackRequest() *TaobaoTrainStopAgentCallbackAPIRequest
NewTaobaoTrainStopAgentCallbackRequest 初始化TaobaoTrainStopAgentCallbackAPIRequest对象
func (TaobaoTrainStopAgentCallbackAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTrainStopAgentCallbackAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTrainStopAgentCallbackAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTrainStopAgentCallbackAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTrainStopAgentCallbackAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTrainStopAgentCallbackAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoTrainStopAgentCallbackAPIRequest) GetTrainAgentStopInfo ¶ added in v1.2.5
func (r TaobaoTrainStopAgentCallbackAPIRequest) GetTrainAgentStopInfo() *TrainAgentStopInfo
GetTrainAgentStopInfo TrainAgentStopInfo Getter
func (*TaobaoTrainStopAgentCallbackAPIRequest) SetTrainAgentStopInfo ¶ added in v1.2.5
func (r *TaobaoTrainStopAgentCallbackAPIRequest) SetTrainAgentStopInfo(_trainAgentStopInfo *TrainAgentStopInfo) error
SetTrainAgentStopInfo is TrainAgentStopInfo Setter 代理商车次停运信息
type TaobaoTrainStopAgentCallbackAPIResponse ¶ added in v1.2.5
type TaobaoTrainStopAgentCallbackAPIResponse struct { model.CommonResponse TaobaoTrainStopAgentCallbackAPIResponseModel }
TaobaoTrainStopAgentCallbackAPIResponse 火车票车次停运信息商家回调 API返回值 taobao.train.stop.agent.callback
火车票车次停运信息商家回调接口
type TaobaoTrainStopAgentCallbackAPIResponseModel ¶ added in v1.2.5
type TaobaoTrainStopAgentCallbackAPIResponseModel struct { XMLName xml.Name `xml:"train_stop_agent_callback_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoTrainStopAgentCallbackAPIResponseModel is 火车票车次停运信息商家回调 成功返回结果
type TapOrderVo ¶ added in v1.2.7
type TapOrderVo struct { // 最晚出票时间 LastIssueTime string `json:"last_issue_time,omitempty" xml:"last_issue_time,omitempty"` // 主单状态 OrderStatusName string `json:"order_status_name,omitempty" xml:"order_status_name,omitempty"` // 主单号 TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"` // 票数 TicketNum int64 `json:"ticket_num,omitempty" xml:"ticket_num,omitempty"` // 支付方式(0 现金 1 电子支付) VipSettleMode int64 `json:"vip_settle_mode,omitempty" xml:"vip_settle_mode,omitempty"` // 退改订单号 TpOrderId int64 `json:"tp_order_id,omitempty" xml:"tp_order_id,omitempty"` // 是否为紧急单 Emergency bool `json:"emergency,omitempty" xml:"emergency,omitempty"` }
TapOrderVo 结构体
type TapResult ¶ added in v1.2.5
type TapResult struct { // 失败msg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 失败code ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"` // 返回信息 Module *FreeChildrenTicketDetailRs `json:"module,omitempty" xml:"module,omitempty"` // 处理结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TapResult 结构体
type TapSubOrderVo ¶ added in v1.2.7
type TapSubOrderVo struct { // 出发站 FromStationName string `json:"from_station_name,omitempty" xml:"from_station_name,omitempty"` // 出发站三字码 FromStationTelecode string `json:"from_station_telecode,omitempty" xml:"from_station_telecode,omitempty"` // 到达站 ToStationName string `json:"to_station_name,omitempty" xml:"to_station_name,omitempty"` // 到达站三字码 ToStationTelecode string `json:"to_station_telecode,omitempty" xml:"to_station_telecode,omitempty"` // 发车日期 TrainDate string `json:"train_date,omitempty" xml:"train_date,omitempty"` // 车次编号 TrainCode string `json:"train_code,omitempty" xml:"train_code,omitempty"` // 座席编号 SeatTypeCode string `json:"seat_type_code,omitempty" xml:"seat_type_code,omitempty"` // 座席名称 SeatTypeName string `json:"seat_type_name,omitempty" xml:"seat_type_name,omitempty"` // 在线选座参数(GDC支持在线选座,此坐席为优选坐席,出票员可以优先保证此字段解析的坐席) OnlineBookSeat string `json:"online_book_seat,omitempty" xml:"online_book_seat,omitempty"` // 中转站三字码 InterChangeStationTelecode string `json:"inter_change_station_telecode,omitempty" xml:"inter_change_station_telecode,omitempty"` // 中转站名称 InterChangeStationName string `json:"inter_change_station_name,omitempty" xml:"inter_change_station_name,omitempty"` // 出发时间 FromTime string `json:"from_time,omitempty" xml:"from_time,omitempty"` // 到达时间 ToTime string `json:"to_time,omitempty" xml:"to_time,omitempty"` // 子单状态 StatusName string `json:"status_name,omitempty" xml:"status_name,omitempty"` // 子单出票截止时间(yyyy-MM-dd HH:mm:ss) LastIssueTime string `json:"last_issue_time,omitempty" xml:"last_issue_time,omitempty"` // 主订单号 TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"` // 子订单号 SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 票价(单位 分) TicketPrice int64 `json:"ticket_price,omitempty" xml:"ticket_price,omitempty"` // 定制票类型(0:不指定坐席 1:下铺 2:下铺or中铺 3:过道 4:靠窗) VipCustomType int64 `json:"vip_custom_type,omitempty" xml:"vip_custom_type,omitempty"` // 程id SegmentId int64 `json:"segment_id,omitempty" xml:"segment_id,omitempty"` // 程 序号(区分中转一、二程) SegmentIndex int64 `json:"segment_index,omitempty" xml:"segment_index,omitempty"` // 是否为紧急单 Emergency bool `json:"emergency,omitempty" xml:"emergency,omitempty"` }
TapSubOrderVo 结构体
type TicketDto ¶ added in v1.2.5
type TicketDto struct { // 12306订单号 SequenceNo string `json:"sequence_no,omitempty" xml:"sequence_no,omitempty"` // 座席号 SeatNo string `json:"seat_no,omitempty" xml:"seat_no,omitempty"` // 车厢号 CoachNo string `json:"coach_no,omitempty" xml:"coach_no,omitempty"` // 批次号 BatchNo string `json:"batch_no,omitempty" xml:"batch_no,omitempty"` // 票类型(1 成人票 2 儿童 3 学生 4 残、军) TicketTypeCode string `json:"ticket_type_code,omitempty" xml:"ticket_type_code,omitempty"` // 真实座席编码 RealSeatTypeCode string `json:"real_seat_type_code,omitempty" xml:"real_seat_type_code,omitempty"` // 出发站名称 FromStationName string `json:"from_station_name,omitempty" xml:"from_station_name,omitempty"` // 中转站编码 InterChangeStationTelecode string `json:"inter_change_station_telecode,omitempty" xml:"inter_change_station_telecode,omitempty"` // 中转站名称 InterChangeStationName string `json:"inter_change_station_name,omitempty" xml:"inter_change_station_name,omitempty"` // 车次编码 TrainCode string `json:"train_code,omitempty" xml:"train_code,omitempty"` // 坐席编码 SeatTypeCode string `json:"seat_type_code,omitempty" xml:"seat_type_code,omitempty"` // 座席名称 SeatTypeName string `json:"seat_type_name,omitempty" xml:"seat_type_name,omitempty"` // 到达站名称 ToStationName string `json:"to_station_name,omitempty" xml:"to_station_name,omitempty"` // 出发站编码 FromStationTelecode string `json:"from_station_telecode,omitempty" xml:"from_station_telecode,omitempty"` // 车次日期 TrainDate string `json:"train_date,omitempty" xml:"train_date,omitempty"` // 出发时间 FromTime string `json:"from_time,omitempty" xml:"from_time,omitempty"` // 到达站编码 ToStationTelecode string `json:"to_station_telecode,omitempty" xml:"to_station_telecode,omitempty"` // 到达时间 ToTime string `json:"to_time,omitempty" xml:"to_time,omitempty"` // 主单号 TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"` // 子单号 SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // ttp子单号 TtpSubOrderId int64 `json:"ttp_sub_order_id,omitempty" xml:"ttp_sub_order_id,omitempty"` // 真实票价 单位 分 RealTicketPrice int64 `json:"real_ticket_price,omitempty" xml:"real_ticket_price,omitempty"` // 定制票类型(0:不指定坐席 1:下铺 2:下铺or中铺 3:过道 4:靠窗) VipCustomType int64 `json:"vip_custom_type,omitempty" xml:"vip_custom_type,omitempty"` // 程ID SegmentId int64 `json:"segment_id,omitempty" xml:"segment_id,omitempty"` // 程 序号 SegmentIndex int64 `json:"segment_index,omitempty" xml:"segment_index,omitempty"` }
TicketDto 结构体
type TicketInfoDto ¶ added in v1.2.5
type TicketInfoDto struct { // 乘车人姓名 PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"` // 乘车人类型编码(1 成人 2 儿童 3 学生 4 残、军) PassengerTypeCode string `json:"passenger_type_code,omitempty" xml:"passenger_type_code,omitempty"` // 证件类型(1 身份证 C 港澳通行证 G 台胞证 B 护照) CertificateTypeCode string `json:"certificate_type_code,omitempty" xml:"certificate_type_code,omitempty"` // 证件号 CertificateNo string `json:"certificate_no,omitempty" xml:"certificate_no,omitempty"` // 手机号 MobileNo string `json:"mobile_no,omitempty" xml:"mobile_no,omitempty"` // ttp子单号 TtpSubOrderId int64 `json:"ttp_sub_order_id,omitempty" xml:"ttp_sub_order_id,omitempty"` }
TicketInfoDto 结构体
type ToAgentTicketInfo ¶
type ToAgentTicketInfo struct { // 淘宝火车票子订单id. SubOrderId string `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 出发站 FromStation string `json:"from_station,omitempty" xml:"from_station,omitempty"` // 出发时间 FromTime string `json:"from_time,omitempty" xml:"from_time,omitempty"` // 到达站 ToStation string `json:"to_station,omitempty" xml:"to_station,omitempty"` // 车次 TrainNum string `json:"train_num,omitempty" xml:"train_num,omitempty"` // 乘客姓名 PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"` // 证件编号 CertificateNum string `json:"certificate_num,omitempty" xml:"certificate_num,omitempty"` // 证件类型,0:身份证 1:护照 4:港澳通行证 5:台湾通行证 CertificateType string `json:"certificate_type,omitempty" xml:"certificate_type,omitempty"` // 乘客生日 Birthday string `json:"birthday,omitempty" xml:"birthday,omitempty"` // 到站时间 ToTime string `json:"to_time,omitempty" xml:"to_time,omitempty"` // 证件有效期 ValidUntil string `json:"valid_until,omitempty" xml:"valid_until,omitempty"` // 国家code NationalityCode string `json:"nationality_code,omitempty" xml:"nationality_code,omitempty"` // 国家名称 Nationality string `json:"nationality,omitempty" xml:"nationality,omitempty"` // 性别 1:男 0:女 Gender string `json:"gender,omitempty" xml:"gender,omitempty"` // 联系人电话 Telephone string `json:"telephone,omitempty" xml:"telephone,omitempty"` // 学生信息 StudentInfo *StudentInfo `json:"student_info,omitempty" xml:"student_info,omitempty"` // 坐席 Seat int64 `json:"seat,omitempty" xml:"seat,omitempty"` // 保险价格,精确到分,例如10元,输入1000。 InsurancePrice int64 `json:"insurance_price,omitempty" xml:"insurance_price,omitempty"` // 单张票价(不包含保险价格),例如100元,输出为10000,精确到分. TicketPrice int64 `json:"ticket_price,omitempty" xml:"ticket_price,omitempty"` // 1:单程票 Tag int64 `json:"tag,omitempty" xml:"tag,omitempty"` // 保险的单一价格 InsuranceUnitPrice int64 `json:"insurance_unit_price,omitempty" xml:"insurance_unit_price,omitempty"` // 0:成人 1:儿童 2:学生 PassengerType int64 `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"` // segmentIndex SegmentIndex int64 `json:"segment_index,omitempty" xml:"segment_index,omitempty"` // 实际票价(不包含保险价格),例如100元,输出为10000,精确到分. RealTicketPrice int64 `json:"real_ticket_price,omitempty" xml:"real_ticket_price,omitempty"` // 是否支持无座 SupportNoSeat bool `json:"support_no_seat,omitempty" xml:"support_no_seat,omitempty"` }
ToAgentTicketInfo 结构体
type TrainAgentStopInfo ¶ added in v1.2.5
type TrainAgentStopInfo struct { // 车次号 TrainNo string `json:"train_no,omitempty" xml:"train_no,omitempty"` // 发车时间 DepTime string `json:"dep_time,omitempty" xml:"dep_time,omitempty"` // 出发车站 FromStation string `json:"from_station,omitempty" xml:"from_station,omitempty"` // 到达车站 ToStation string `json:"to_station,omitempty" xml:"to_station,omitempty"` // 车次状态:STOP 停运、NORMAL 正常开行、NO_TRAIN 无车次、UN_KNOWN未知状态 TrainStatus string `json:"train_status,omitempty" xml:"train_status,omitempty"` // uuid唯一标识 Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"` }
TrainAgentStopInfo 结构体
type TrainInfo ¶ added in v1.2.9
type TrainInfo struct { // 到达站 TrainTo string `json:"train_to,omitempty" xml:"train_to,omitempty"` // 出发站 TrainFrom string `json:"train_from,omitempty" xml:"train_from,omitempty"` // 票号 SequenceNo string `json:"sequence_no,omitempty" xml:"sequence_no,omitempty"` // 出发时间 TrainDate string `json:"train_date,omitempty" xml:"train_date,omitempty"` // 车次号 TrainNo string `json:"train_no,omitempty" xml:"train_no,omitempty"` // 坐席信息 ChooseSeat string `json:"choose_seat,omitempty" xml:"choose_seat,omitempty"` }
TrainInfo 结构体
type VipCustomResultItem ¶ added in v1.2.8
type VipCustomResultItem struct { // 定制车厢号 CarriageCustom []string `json:"carriage_custom,omitempty" xml:"carriage_custom>string,omitempty"` // 定制类型 CustomType string `json:"custom_type,omitempty" xml:"custom_type,omitempty"` // 定制坐席号 SeatCustom string `json:"seat_custom,omitempty" xml:"seat_custom,omitempty"` // 定制数量 Count int64 `json:"count,omitempty" xml:"count,omitempty"` // 是否接受非定制,0不接受,1接受 AcceptNoVipCustom int64 `json:"accept_no_vip_custom,omitempty" xml:"accept_no_vip_custom,omitempty"` // 联程订单定制序号 SegmentIndex int64 `json:"segment_index,omitempty" xml:"segment_index,omitempty"` }
VipCustomResultItem 结构体
type VipCustomTicketConfirmItem ¶ added in v1.2.8
type VipCustomTicketConfirmItem struct { // 定制信息 CustomType string `json:"custom_type,omitempty" xml:"custom_type,omitempty"` }
VipCustomTicketConfirmItem 结构体
Source Files ¶
- BookTicketConfirmRq.go
- BookTicketFailRq.go
- ChangeApplyOrderDto.go
- ChangeApplySubOrderDto.go
- ChangeIssueRq.go
- ChangeTicketDto.go
- CustomMadeItemDto.go
- FreeChildrenTicketDealRq.go
- FreeChildrenTicketDetailRq.go
- FreeChildrenTicketDetailRs.go
- FreeChildrenTicketListRs.go
- IgnoreOrderRq.go
- LockOrderRq.go
- LockOrderRs.go
- OrderTicketInfo.go
- PassengerInfo.go
- QueryChangeDetailRq.go
- QueryOrderRq.go
- QueryOrderRs.go
- QueryUntreatedChangeRq.go
- StudentInfo.go
- TaobaoTrainAgentBookordersGetVtwoAPIRequest.go
- TaobaoTrainAgentBookordersGetVtwoAPIResponse.go
- TaobaoTrainAgentBookticketConfirmVtwoAPIRequest.go
- TaobaoTrainAgentBookticketConfirmVtwoAPIResponse.go
- TaobaoTrainAgentChangeissueConfirmVtwoAPIRequest.go
- TaobaoTrainAgentChangeissueConfirmVtwoAPIResponse.go
- TaobaoTrainAgentChangeorderdetailQueryVtwoAPIRequest.go
- TaobaoTrainAgentChangeorderdetailQueryVtwoAPIResponse.go
- TaobaoTrainAgentExpressSetAPIRequest.go
- TaobaoTrainAgentExpressSetAPIResponse.go
- TaobaoTrainAgentExpressSetVtwoAPIRequest.go
- TaobaoTrainAgentExpressSetVtwoAPIResponse.go
- TaobaoTrainAgentFreechildrendealConfirmVtwoAPIRequest.go
- TaobaoTrainAgentFreechildrendealConfirmVtwoAPIResponse.go
- TaobaoTrainAgentFreechildrendetailQueryVtwoAPIRequest.go
- TaobaoTrainAgentFreechildrendetailQueryVtwoAPIResponse.go
- TaobaoTrainAgentFreechildrenlistQueryVtwoAPIRequest.go
- TaobaoTrainAgentFreechildrenlistQueryVtwoAPIResponse.go
- TaobaoTrainAgentGetRefundAPIRequest.go
- TaobaoTrainAgentGetRefundAPIResponse.go
- TaobaoTrainAgentHandleticketConfirmVtwoAPIRequest.go
- TaobaoTrainAgentHandleticketConfirmVtwoAPIResponse.go
- TaobaoTrainAgentHandrefundRefundfeeAPIRequest.go
- TaobaoTrainAgentHandrefundRefundfeeAPIResponse.go
- TaobaoTrainAgentOrderConfirmAPIRequest.go
- TaobaoTrainAgentOrderConfirmAPIResponse.go
- TaobaoTrainAgentOrderFailAPIRequest.go
- TaobaoTrainAgentOrderFailAPIResponse.go
- TaobaoTrainAgentOrderGetAPIRequest.go
- TaobaoTrainAgentOrderGetAPIResponse.go
- TaobaoTrainAgentOrderGetVtwoAPIRequest.go
- TaobaoTrainAgentOrderGetVtwoAPIResponse.go
- TaobaoTrainAgentOrderIgnoreAPIRequest.go
- TaobaoTrainAgentOrderIgnoreAPIResponse.go
- TaobaoTrainAgentOrderLockAPIRequest.go
- TaobaoTrainAgentOrderLockAPIResponse.go
- TaobaoTrainAgentOrderQueryAPIRequest.go
- TaobaoTrainAgentOrderQueryAPIResponse.go
- TaobaoTrainAgentReturnordersGetVtwoAPIRequest.go
- TaobaoTrainAgentReturnordersGetVtwoAPIResponse.go
- TaobaoTrainAgentReturnticketConfirmVtwoAPIRequest.go
- TaobaoTrainAgentReturnticketConfirmVtwoAPIResponse.go
- TaobaoTrainAgentReturnticketinfoGetVtwoAPIRequest.go
- TaobaoTrainAgentReturnticketinfoGetVtwoAPIResponse.go
- TaobaoTrainAgentTicketStatusCallbackAPIRequest.go
- TaobaoTrainAgentTicketStatusCallbackAPIResponse.go
- TaobaoTrainAgentTostationConfirmAPIRequest.go
- TaobaoTrainAgentTostationConfirmAPIResponse.go
- TaobaoTrainAgentTostationReceiveAPIRequest.go
- TaobaoTrainAgentTostationReceiveAPIResponse.go
- TaobaoTrainAgentUntreatedchangeQueryVtwoAPIRequest.go
- TaobaoTrainAgentUntreatedchangeQueryVtwoAPIResponse.go
- TaobaoTrainPurchaseOrderPayurlAPIRequest.go
- TaobaoTrainPurchaseOrderPayurlAPIResponse.go
- TaobaoTrainStopAgentCallbackAPIRequest.go
- TaobaoTrainStopAgentCallbackAPIResponse.go
- TapOrderVo.go
- TapResult.go
- TapSubOrderVo.go
- TicketDto.go
- TicketInfoDto.go
- ToAgentTicketInfo.go
- TrainAgentStopInfo.go
- TrainInfo.go
- VipCustomResultItem.go
- VipCustomTicketConfirmItem.go
- doc.go