Documentation ¶
Index ¶
- type AccountParam
- type AgentAgreeChangeParam
- type AgentPayOrderParam
- type AgentRefuseChangeParam
- type ApplyOrderInfoDo
- type ChangeHoldSeatParam
- type ChangeTicketInfo
- type CompensateParam
- type HoldSeatParam
- type OrderInfoDto
- type OrderTicketInfo
- type StationPassInfo
- type StudentInfo
- type TaobaoTrainAgentBookordersGetAPIResponse
- type TaobaoTrainAgentBookordersGetRequest
- type TaobaoTrainAgentBookordersGetResponse
- type TaobaoTrainAgentBookordersGetVtwoAPIResponse
- type TaobaoTrainAgentBookordersGetVtwoRequest
- func (r TaobaoTrainAgentBookordersGetVtwoRequest) GetAgentId() int64
- func (r TaobaoTrainAgentBookordersGetVtwoRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentBookordersGetVtwoRequest) GetApiParams() url.Values
- func (r *TaobaoTrainAgentBookordersGetVtwoRequest) SetAgentId(agentId int64) error
- type TaobaoTrainAgentBookordersGetVtwoResponse
- type TaobaoTrainAgentBookticketConfirmAPIResponse
- type TaobaoTrainAgentBookticketConfirmRequest
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetAgentId() int64
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetAlipayAccount() string
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetAlipayTradeNo() string
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetArriveDate() string
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetBoardingGates() string
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetCanChange() bool
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetDepDate() string
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetFailMsg() string
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetFromStationName() string
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetMainOrderId() int64
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetOrderType() int64
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetStatus() bool
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetSubOrderId() string
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetTicket12306Id() string
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetTicketNum() int64
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetTickets() []string
- func (r TaobaoTrainAgentBookticketConfirmRequest) GetToStationName() string
- func (r *TaobaoTrainAgentBookticketConfirmRequest) SetAgentId(agentId int64) error
- func (r *TaobaoTrainAgentBookticketConfirmRequest) SetAlipayAccount(alipayAccount string) error
- func (r *TaobaoTrainAgentBookticketConfirmRequest) SetAlipayTradeNo(alipayTradeNo string) error
- func (r *TaobaoTrainAgentBookticketConfirmRequest) SetArriveDate(arriveDate string) error
- func (r *TaobaoTrainAgentBookticketConfirmRequest) SetBoardingGates(boardingGates string) error
- func (r *TaobaoTrainAgentBookticketConfirmRequest) SetCanChange(canChange bool) error
- func (r *TaobaoTrainAgentBookticketConfirmRequest) SetDepDate(depDate string) error
- func (r *TaobaoTrainAgentBookticketConfirmRequest) SetFailMsg(failMsg string) error
- func (r *TaobaoTrainAgentBookticketConfirmRequest) SetFromStationName(fromStationName string) error
- func (r *TaobaoTrainAgentBookticketConfirmRequest) SetMainOrderId(mainOrderId int64) error
- func (r *TaobaoTrainAgentBookticketConfirmRequest) SetOrderType(orderType int64) error
- func (r *TaobaoTrainAgentBookticketConfirmRequest) SetStatus(status bool) error
- func (r *TaobaoTrainAgentBookticketConfirmRequest) SetSubOrderId(subOrderId string) error
- func (r *TaobaoTrainAgentBookticketConfirmRequest) SetTicket12306Id(ticket12306Id string) error
- func (r *TaobaoTrainAgentBookticketConfirmRequest) SetTicketNum(ticketNum int64) error
- func (r *TaobaoTrainAgentBookticketConfirmRequest) SetTickets(tickets []string) error
- func (r *TaobaoTrainAgentBookticketConfirmRequest) SetToStationName(toStationName string) error
- type TaobaoTrainAgentBookticketConfirmResponse
- type TaobaoTrainAgentBookticketConfirmVtwoAPIResponse
- type TaobaoTrainAgentBookticketConfirmVtwoRequest
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAgentId() int64
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAlipayAccount() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAlipayTradeNo() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetArriveDate() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetBoardingGates() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetCanChange() bool
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetDepDate() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetExpectDeliveryTime() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetExtendParams() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetFailMsg() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetFromStationName() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetMainOrderId() int64
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetOrderType() int64
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetStatus() bool
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetSubOrderId() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicket12306Id() string
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicketInfoList() []OrderTicketInfo
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicketNum() int64
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTickets() []string
- func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetToStationName() string
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAgentId(agentId int64) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAlipayAccount(alipayAccount string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAlipayTradeNo(alipayTradeNo string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetArriveDate(arriveDate string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetBoardingGates(boardingGates string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetCanChange(canChange bool) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetDepDate(depDate string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetExpectDeliveryTime(expectDeliveryTime string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetExtendParams(extendParams string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetFailMsg(failMsg string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetFromStationName(fromStationName string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetMainOrderId(mainOrderId int64) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetOrderType(orderType int64) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetStatus(status bool) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetSubOrderId(subOrderId string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicket12306Id(ticket12306Id string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicketInfoList(ticketInfoList []OrderTicketInfo) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicketNum(ticketNum int64) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTickets(tickets []string) error
- func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetToStationName(toStationName string) error
- type TaobaoTrainAgentBookticketConfirmVtwoResponse
- type TaobaoTrainAgentChangeAgreeVtwoAPIResponse
- type TaobaoTrainAgentChangeAgreeVtwoRequest
- func (r TaobaoTrainAgentChangeAgreeVtwoRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentChangeAgreeVtwoRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentChangeAgreeVtwoRequest) GetParam() *AgentAgreeChangeParam
- func (r *TaobaoTrainAgentChangeAgreeVtwoRequest) SetParam(param *AgentAgreeChangeParam) error
- type TaobaoTrainAgentChangeAgreeVtwoResponse
- type TaobaoTrainAgentChangeGetVtwoAPIResponse
- type TaobaoTrainAgentChangeGetVtwoRequest
- func (r TaobaoTrainAgentChangeGetVtwoRequest) GetAgentId() int64
- func (r TaobaoTrainAgentChangeGetVtwoRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentChangeGetVtwoRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentChangeGetVtwoRequest) GetApplyId() int64
- func (r *TaobaoTrainAgentChangeGetVtwoRequest) SetAgentId(agentId int64) error
- func (r *TaobaoTrainAgentChangeGetVtwoRequest) SetApplyId(applyId int64) error
- type TaobaoTrainAgentChangeGetVtwoResponse
- type TaobaoTrainAgentChangeHoldseatConfirmAPIResponse
- type TaobaoTrainAgentChangeHoldseatConfirmRequest
- func (r TaobaoTrainAgentChangeHoldseatConfirmRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentChangeHoldseatConfirmRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentChangeHoldseatConfirmRequest) GetChangeHoldSeatParam() *ChangeHoldSeatParam
- func (r *TaobaoTrainAgentChangeHoldseatConfirmRequest) SetChangeHoldSeatParam(changeHoldSeatParam *ChangeHoldSeatParam) error
- type TaobaoTrainAgentChangeHoldseatConfirmResponse
- type TaobaoTrainAgentChangeRefuseVtwoAPIResponse
- type TaobaoTrainAgentChangeRefuseVtwoRequest
- func (r TaobaoTrainAgentChangeRefuseVtwoRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentChangeRefuseVtwoRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentChangeRefuseVtwoRequest) GetParam() *AgentRefuseChangeParam
- func (r *TaobaoTrainAgentChangeRefuseVtwoRequest) SetParam(param *AgentRefuseChangeParam) error
- type TaobaoTrainAgentChangeRefuseVtwoResponse
- type TaobaoTrainAgentChangeordersGetAPIResponse
- type TaobaoTrainAgentChangeordersGetRequest
- type TaobaoTrainAgentChangeordersGetResponse
- type TaobaoTrainAgentChangeordersGetVtwoAPIResponse
- type TaobaoTrainAgentChangeordersGetVtwoRequest
- func (r TaobaoTrainAgentChangeordersGetVtwoRequest) GetAgentId() int64
- func (r TaobaoTrainAgentChangeordersGetVtwoRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentChangeordersGetVtwoRequest) GetApiParams() url.Values
- func (r *TaobaoTrainAgentChangeordersGetVtwoRequest) SetAgentId(agentId int64) error
- type TaobaoTrainAgentChangeordersGetVtwoResponse
- type TaobaoTrainAgentDirectCompensateAPIResponse
- type TaobaoTrainAgentDirectCompensateRequest
- func (r TaobaoTrainAgentDirectCompensateRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentDirectCompensateRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentDirectCompensateRequest) GetCompensateParam() *CompensateParam
- func (r *TaobaoTrainAgentDirectCompensateRequest) SetCompensateParam(compensateParam *CompensateParam) error
- type TaobaoTrainAgentDirectCompensateResponse
- type TaobaoTrainAgentExpressSetAPIResponse
- type TaobaoTrainAgentExpressSetRequest
- func (r TaobaoTrainAgentExpressSetRequest) GetAddr() string
- func (r TaobaoTrainAgentExpressSetRequest) GetAgentId() int64
- func (r TaobaoTrainAgentExpressSetRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentExpressSetRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentExpressSetRequest) GetExpressId() string
- func (r TaobaoTrainAgentExpressSetRequest) GetExpressName() string
- func (r TaobaoTrainAgentExpressSetRequest) GetMainOrderId() int64
- func (r TaobaoTrainAgentExpressSetRequest) GetMobile() string
- func (r *TaobaoTrainAgentExpressSetRequest) SetAddr(addr string) error
- func (r *TaobaoTrainAgentExpressSetRequest) SetAgentId(agentId int64) error
- func (r *TaobaoTrainAgentExpressSetRequest) SetExpressId(expressId string) error
- func (r *TaobaoTrainAgentExpressSetRequest) SetExpressName(expressName string) error
- func (r *TaobaoTrainAgentExpressSetRequest) SetMainOrderId(mainOrderId int64) error
- func (r *TaobaoTrainAgentExpressSetRequest) SetMobile(mobile string) error
- type TaobaoTrainAgentExpressSetResponse
- type TaobaoTrainAgentExpressSetVtwoAPIResponse
- type TaobaoTrainAgentExpressSetVtwoRequest
- func (r TaobaoTrainAgentExpressSetVtwoRequest) GetAddr() string
- func (r TaobaoTrainAgentExpressSetVtwoRequest) GetAgentId() int64
- func (r TaobaoTrainAgentExpressSetVtwoRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentExpressSetVtwoRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentExpressSetVtwoRequest) GetExpressId() string
- func (r TaobaoTrainAgentExpressSetVtwoRequest) GetExpressName() string
- func (r TaobaoTrainAgentExpressSetVtwoRequest) GetMainOrderId() int64
- func (r TaobaoTrainAgentExpressSetVtwoRequest) GetMobile() string
- func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetAddr(addr string) error
- func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetAgentId(agentId int64) error
- func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetExpressId(expressId string) error
- func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetExpressName(expressName string) error
- func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetMainOrderId(mainOrderId int64) error
- func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetMobile(mobile string) error
- type TaobaoTrainAgentExpressSetVtwoResponse
- type TaobaoTrainAgentGetRefundAPIResponse
- type TaobaoTrainAgentGetRefundRequest
- func (r TaobaoTrainAgentGetRefundRequest) GetAgentId() int64
- func (r TaobaoTrainAgentGetRefundRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentGetRefundRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentGetRefundRequest) GetMainOrderId() int64
- func (r *TaobaoTrainAgentGetRefundRequest) SetAgentId(agentId int64) error
- func (r *TaobaoTrainAgentGetRefundRequest) SetMainOrderId(mainOrderId int64) error
- type TaobaoTrainAgentGetRefundResponse
- type TaobaoTrainAgentGrabAccountAPIResponse
- type TaobaoTrainAgentGrabAccountRequest
- func (r TaobaoTrainAgentGrabAccountRequest) GetAccountParam() *AccountParam
- func (r TaobaoTrainAgentGrabAccountRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentGrabAccountRequest) GetApiParams() url.Values
- func (r *TaobaoTrainAgentGrabAccountRequest) SetAccountParam(accountParam *AccountParam) error
- type TaobaoTrainAgentGrabAccountResponse
- type TaobaoTrainAgentHandleticketConfirmAPIResponse
- type TaobaoTrainAgentHandleticketConfirmRequest
- func (r TaobaoTrainAgentHandleticketConfirmRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentHandleticketConfirmRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentHandleticketConfirmRequest) GetExtendParams() string
- func (r TaobaoTrainAgentHandleticketConfirmRequest) GetMainOrderId() int64
- func (r TaobaoTrainAgentHandleticketConfirmRequest) GetSellerId() int64
- func (r *TaobaoTrainAgentHandleticketConfirmRequest) SetExtendParams(extendParams string) error
- func (r *TaobaoTrainAgentHandleticketConfirmRequest) SetMainOrderId(mainOrderId int64) error
- func (r *TaobaoTrainAgentHandleticketConfirmRequest) SetSellerId(sellerId int64) error
- type TaobaoTrainAgentHandleticketConfirmResponse
- type TaobaoTrainAgentHandleticketConfirmVtwoAPIResponse
- type TaobaoTrainAgentHandleticketConfirmVtwoRequest
- func (r TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetExtendParams() string
- func (r TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetMainOrderId() int64
- func (r TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetSellerId() int64
- func (r *TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetExtendParams(extendParams string) error
- func (r *TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetMainOrderId(mainOrderId int64) error
- func (r *TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetSellerId(sellerId int64) error
- type TaobaoTrainAgentHandleticketConfirmVtwoResponse
- type TaobaoTrainAgentHandrefundRefundfeeAPIResponse
- type TaobaoTrainAgentHandrefundRefundfeeRequest
- func (r TaobaoTrainAgentHandrefundRefundfeeRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentHandrefundRefundfeeRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentHandrefundRefundfeeRequest) GetMainBizOrderId() int64
- func (r TaobaoTrainAgentHandrefundRefundfeeRequest) GetOutTradeNo() string
- func (r TaobaoTrainAgentHandrefundRefundfeeRequest) GetRefundFee() int64
- func (r *TaobaoTrainAgentHandrefundRefundfeeRequest) SetMainBizOrderId(mainBizOrderId int64) error
- func (r *TaobaoTrainAgentHandrefundRefundfeeRequest) SetOutTradeNo(outTradeNo string) error
- func (r *TaobaoTrainAgentHandrefundRefundfeeRequest) SetRefundFee(refundFee int64) error
- type TaobaoTrainAgentHandrefundRefundfeeResponse
- type TaobaoTrainAgentHoldseatConfirmAPIResponse
- type TaobaoTrainAgentHoldseatConfirmRequest
- func (r TaobaoTrainAgentHoldseatConfirmRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentHoldseatConfirmRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentHoldseatConfirmRequest) GetHoldSeatParam() *HoldSeatParam
- func (r *TaobaoTrainAgentHoldseatConfirmRequest) SetHoldSeatParam(holdSeatParam *HoldSeatParam) error
- type TaobaoTrainAgentHoldseatConfirmResponse
- type TaobaoTrainAgentOrderGetAPIResponse
- type TaobaoTrainAgentOrderGetRequest
- func (r TaobaoTrainAgentOrderGetRequest) GetAgentId() int64
- func (r TaobaoTrainAgentOrderGetRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentOrderGetRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentOrderGetRequest) GetMainOrderId() int64
- func (r *TaobaoTrainAgentOrderGetRequest) SetAgentId(agentId int64) error
- func (r *TaobaoTrainAgentOrderGetRequest) SetMainOrderId(mainOrderId int64) error
- type TaobaoTrainAgentOrderGetResponse
- type TaobaoTrainAgentOrderGetVtwoAPIResponse
- type TaobaoTrainAgentOrderGetVtwoRequest
- func (r TaobaoTrainAgentOrderGetVtwoRequest) GetAgentId() int64
- func (r TaobaoTrainAgentOrderGetVtwoRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentOrderGetVtwoRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentOrderGetVtwoRequest) GetMainOrderId() int64
- func (r *TaobaoTrainAgentOrderGetVtwoRequest) SetAgentId(agentId int64) error
- func (r *TaobaoTrainAgentOrderGetVtwoRequest) SetMainOrderId(mainOrderId int64) error
- type TaobaoTrainAgentOrderGetVtwoResponse
- type TaobaoTrainAgentOrderPayAPIResponse
- type TaobaoTrainAgentOrderPayRequest
- func (r TaobaoTrainAgentOrderPayRequest) GetAgentPayOrderParam() *AgentPayOrderParam
- func (r TaobaoTrainAgentOrderPayRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentOrderPayRequest) GetApiParams() url.Values
- func (r *TaobaoTrainAgentOrderPayRequest) SetAgentPayOrderParam(agentPayOrderParam *AgentPayOrderParam) error
- type TaobaoTrainAgentOrderPayResponse
- type TaobaoTrainAgentReturnordersGetVtwoAPIResponse
- type TaobaoTrainAgentReturnordersGetVtwoRequest
- func (r TaobaoTrainAgentReturnordersGetVtwoRequest) GetAgentId() int64
- func (r TaobaoTrainAgentReturnordersGetVtwoRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentReturnordersGetVtwoRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentReturnordersGetVtwoRequest) GetOffline() int64
- func (r *TaobaoTrainAgentReturnordersGetVtwoRequest) SetAgentId(agentId int64) error
- func (r *TaobaoTrainAgentReturnordersGetVtwoRequest) SetOffline(offline int64) error
- type TaobaoTrainAgentReturnordersGetVtwoResponse
- type TaobaoTrainAgentReturnticketConfirmVtwoAPIResponse
- type TaobaoTrainAgentReturnticketConfirmVtwoRequest
- func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetAgentId() int64
- func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetAgreeReturn() bool
- func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetBuyerId() int64
- func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetCloseRefundNotify() bool
- func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetMainBizOrderId() int64
- func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetRefundFee() int64
- func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetRefuseReturnReason() string
- func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetSubBizOrderId() int64
- func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetAgentId(agentId int64) error
- func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetAgreeReturn(agreeReturn bool) error
- func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetBuyerId(buyerId int64) error
- func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetCloseRefundNotify(closeRefundNotify bool) error
- func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetMainBizOrderId(mainBizOrderId int64) error
- func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetRefundFee(refundFee int64) error
- func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetRefuseReturnReason(refuseReturnReason string) error
- func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetSubBizOrderId(subBizOrderId int64) error
- type TaobaoTrainAgentReturnticketConfirmVtwoResponse
- type TaobaoTrainAgentTostationConfirmAPIResponse
- type TaobaoTrainAgentTostationConfirmRequest
- func (r TaobaoTrainAgentTostationConfirmRequest) GetAgentId() int64
- func (r TaobaoTrainAgentTostationConfirmRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentTostationConfirmRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentTostationConfirmRequest) GetMainOrderId() int64
- func (r *TaobaoTrainAgentTostationConfirmRequest) SetAgentId(agentId int64) error
- func (r *TaobaoTrainAgentTostationConfirmRequest) SetMainOrderId(mainOrderId int64) error
- type TaobaoTrainAgentTostationConfirmResponse
- type TaobaoTrainAgentTostationReceiveAPIResponse
- type TaobaoTrainAgentTostationReceiveRequest
- func (r TaobaoTrainAgentTostationReceiveRequest) GetAgentId() int64
- func (r TaobaoTrainAgentTostationReceiveRequest) GetApiMethodName() string
- func (r TaobaoTrainAgentTostationReceiveRequest) GetApiParams() url.Values
- func (r TaobaoTrainAgentTostationReceiveRequest) GetMainOrderId() int64
- func (r *TaobaoTrainAgentTostationReceiveRequest) SetAgentId(agentId int64) error
- func (r *TaobaoTrainAgentTostationReceiveRequest) SetMainOrderId(mainOrderId int64) error
- type TaobaoTrainAgentTostationReceiveResponse
- type TaobaoTrainMomentGetAPIResponse
- type TaobaoTrainMomentGetRequest
- type TaobaoTrainMomentGetResponse
- type ToAgentTicketInfo
- type TrainBaseDto
- type TrainMomentTopParam
- type TrainPassengerInfoDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountParam ¶
type AccountParam struct { AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"` OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` AccountName string `json:"account_name,omitempty" xml:"account_name,omitempty"` AccountPassword string `json:"account_password,omitempty" xml:"account_password,omitempty"` }
AccountParam
type AgentAgreeChangeParam ¶
type AgentAgreeChangeParam struct { ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"` AlipayTradeNo string `json:"alipay_trade_no,omitempty" xml:"alipay_trade_no,omitempty"` ExtendParam string `json:"extend_param,omitempty" xml:"extend_param,omitempty"` Remark string `json:"remark,omitempty" xml:"remark,omitempty"` SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` MainBizOrderId int64 `json:"main_biz_order_id,omitempty" xml:"main_biz_order_id,omitempty"` Tickets []ChangeTicketInfo `json:"tickets,omitempty" xml:"tickets,omitempty"` AlipayAccount string `json:"alipay_account,omitempty" xml:"alipay_account,omitempty"` }
AgentAgreeChangeParam
type AgentPayOrderParam ¶
type AgentPayOrderParam struct { ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"` SequenceNo string `json:"sequence_no,omitempty" xml:"sequence_no,omitempty"` PayUrl string `json:"pay_url,omitempty" xml:"pay_url,omitempty"` MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"` }
AgentPayOrderParam
type AgentRefuseChangeParam ¶
type AgentRefuseChangeParam struct { ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"` ExtendParam string `json:"extend_param,omitempty" xml:"extend_param,omitempty"` RefuseType int64 `json:"refuse_type,omitempty" xml:"refuse_type,omitempty"` Remark string `json:"remark,omitempty" xml:"remark,omitempty"` SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` MainBizOrderId int64 `json:"main_biz_order_id,omitempty" xml:"main_biz_order_id,omitempty"` }
AgentRefuseChangeParam
type ApplyOrderInfoDo ¶
type ApplyOrderInfoDo struct { RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` PassengerList []TrainPassengerInfoDto `json:"passenger_list,omitempty" xml:"passenger_list,omitempty"` PayUrl string `json:"pay_url,omitempty" xml:"pay_url,omitempty"` CanRefund bool `json:"can_refund,omitempty" xml:"can_refund,omitempty"` ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"` LimitAlipayTime string `json:"limit_alipay_time,omitempty" xml:"limit_alipay_time,omitempty"` TicketNo string `json:"ticket_no,omitempty" xml:"ticket_no,omitempty"` HandFee int64 `json:"hand_fee,omitempty" xml:"hand_fee,omitempty"` LimitPayTime string `json:"limit_pay_time,omitempty" xml:"limit_pay_time,omitempty"` }
ApplyOrderInfoDo
type ChangeHoldSeatParam ¶
type ChangeHoldSeatParam struct { ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"` ApplyOrderBaseDo *ApplyOrderInfoDo `json:"apply_order_base_do,omitempty" xml:"apply_order_base_do,omitempty"` HoldSeatStatus bool `json:"hold_seat_status,omitempty" xml:"hold_seat_status,omitempty"` }
ChangeHoldSeatParam
type ChangeTicketInfo ¶
type ChangeTicketInfo struct { ChangeFee int64 `json:"change_fee,omitempty" xml:"change_fee,omitempty"` ExtendParam string `json:"extend_param,omitempty" xml:"extend_param,omitempty"` ChooseSeat string `json:"choose_seat,omitempty" xml:"choose_seat,omitempty"` SubBizOrderId int64 `json:"sub_biz_order_id,omitempty" xml:"sub_biz_order_id,omitempty"` Remark string `json:"remark,omitempty" xml:"remark,omitempty"` RealSeat int64 `json:"real_seat,omitempty" xml:"real_seat,omitempty"` HandingFee int64 `json:"handing_fee,omitempty" xml:"handing_fee,omitempty"` CanChange bool `json:"can_change,omitempty" xml:"can_change,omitempty"` }
ChangeTicketInfo
type CompensateParam ¶
type CompensateParam struct { AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"` OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"` }
CompensateParam
type HoldSeatParam ¶
type HoldSeatParam struct { OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"` ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"` OrderBase *OrderInfoDto `json:"order_base,omitempty" xml:"order_base,omitempty"` HoldSeatStatus bool `json:"hold_seat_status,omitempty" xml:"hold_seat_status,omitempty"` AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"` }
HoldSeatParam
type OrderInfoDto ¶
type OrderInfoDto struct { PassengerList []TrainPassengerInfoDto `json:"passenger_list,omitempty" xml:"passenger_list,omitempty"` IsMultiTrip bool `json:"is_multi_trip,omitempty" xml:"is_multi_trip,omitempty"` CanRefund bool `json:"can_refund,omitempty" xml:"can_refund,omitempty"` LimitPayTime string `json:"limit_pay_time,omitempty" xml:"limit_pay_time,omitempty"` TicketNo string `json:"ticket_no,omitempty" xml:"ticket_no,omitempty"` FailSubOrderId int64 `json:"fail_sub_order_id,omitempty" xml:"fail_sub_order_id,omitempty"` OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` PayUrl string `json:"pay_url,omitempty" xml:"pay_url,omitempty"` BaseDo *TrainBaseDto `json:"base_do,omitempty" xml:"base_do,omitempty"` }
OrderInfoDto
type OrderTicketInfo ¶
type OrderTicketInfo struct { 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"` 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"` InsurancePayPrice int64 `json:"insurance_pay_price,omitempty" xml:"insurance_pay_price,omitempty"` VipCustomResult int64 `json:"vip_custom_result,omitempty" xml:"vip_custom_result,omitempty"` TicketNo string `json:"ticket_no,omitempty" xml:"ticket_no,omitempty"` }
OrderTicketInfo
type StationPassInfo ¶
type StationPassInfo struct { Atime string `json:"atime,omitempty" xml:"atime,omitempty"` Ltime string `json:"ltime,omitempty" xml:"ltime,omitempty"` Sid int64 `json:"sid,omitempty" xml:"sid,omitempty"` Snm string `json:"snm,omitempty" xml:"snm,omitempty"` Stime int64 `json:"stime,omitempty" xml:"stime,omitempty"` }
StationPassInfo
type StudentInfo ¶
type StudentInfo struct { Card string `json:"card,omitempty" xml:"card,omitempty"` Classes string `json:"classes,omitempty" xml:"classes,omitempty"` DepartMent string `json:"depart_ment,omitempty" xml:"depart_ment,omitempty"` EductionalSystem string `json:"eductional_system,omitempty" xml:"eductional_system,omitempty"` EntranceYear string `json:"entrance_year,omitempty" xml:"entrance_year,omitempty"` FromCity string `json:"from_city,omitempty" xml:"from_city,omitempty"` SchoolName string `json:"school_name,omitempty" xml:"school_name,omitempty"` SchoolProvince string `json:"school_province,omitempty" xml:"school_province,omitempty"` StudentNo string `json:"student_no,omitempty" xml:"student_no,omitempty"` ToCity string `json:"to_city,omitempty" xml:"to_city,omitempty"` }
StudentInfo
type TaobaoTrainAgentBookordersGetAPIResponse ¶
type TaobaoTrainAgentBookordersGetAPIResponse struct { model.CommonResponse TaobaoTrainAgentBookordersGetResponse }
代理商获取待出票订单列表 APIResponse taobao.train.agent.bookorders.get
代理商获取待出票订单列表,只返回订单号
type TaobaoTrainAgentBookordersGetRequest ¶
type TaobaoTrainAgentBookordersGetRequest struct { model.Params // contains filtered or unexported fields }
代理商获取待出票订单列表 APIRequest taobao.train.agent.bookorders.get
代理商获取待出票订单列表,只返回订单号
func NewTaobaoTrainAgentBookordersGetRequest ¶
func NewTaobaoTrainAgentBookordersGetRequest() *TaobaoTrainAgentBookordersGetRequest
func (TaobaoTrainAgentBookordersGetRequest) GetAgentId ¶
func (r TaobaoTrainAgentBookordersGetRequest) GetAgentId() int64
func (TaobaoTrainAgentBookordersGetRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentBookordersGetRequest) GetApiMethodName() string
func (TaobaoTrainAgentBookordersGetRequest) GetApiParams ¶
func (r TaobaoTrainAgentBookordersGetRequest) GetApiParams() url.Values
func (*TaobaoTrainAgentBookordersGetRequest) SetAgentId ¶
func (r *TaobaoTrainAgentBookordersGetRequest) SetAgentId(agentId int64) error
type TaobaoTrainAgentBookordersGetResponse ¶
type TaobaoTrainAgentBookordersGetResponse struct { XMLName xml.Name `xml:"train_agent_bookorders_get_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 OrderCount int64 `json:"order_count,omitempty" xml:"order_count,omitempty"` OrderIds string `json:"order_ids,omitempty" xml:"order_ids,omitempty"` ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` }
type TaobaoTrainAgentBookordersGetVtwoAPIResponse ¶
type TaobaoTrainAgentBookordersGetVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentBookordersGetVtwoResponse }
代理商获取待出票订单列表v2--增加鉴权校验 APIResponse taobao.train.agent.bookorders.get.vtwo
代理商获取待出票订单列表,只返回订单号
type TaobaoTrainAgentBookordersGetVtwoRequest ¶
type TaobaoTrainAgentBookordersGetVtwoRequest struct { model.Params // contains filtered or unexported fields }
代理商获取待出票订单列表v2--增加鉴权校验 APIRequest taobao.train.agent.bookorders.get.vtwo
代理商获取待出票订单列表,只返回订单号
func NewTaobaoTrainAgentBookordersGetVtwoRequest ¶
func NewTaobaoTrainAgentBookordersGetVtwoRequest() *TaobaoTrainAgentBookordersGetVtwoRequest
func (TaobaoTrainAgentBookordersGetVtwoRequest) GetAgentId ¶
func (r TaobaoTrainAgentBookordersGetVtwoRequest) GetAgentId() int64
func (TaobaoTrainAgentBookordersGetVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentBookordersGetVtwoRequest) GetApiMethodName() string
func (TaobaoTrainAgentBookordersGetVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentBookordersGetVtwoRequest) GetApiParams() url.Values
func (*TaobaoTrainAgentBookordersGetVtwoRequest) SetAgentId ¶
func (r *TaobaoTrainAgentBookordersGetVtwoRequest) SetAgentId(agentId int64) error
type TaobaoTrainAgentBookordersGetVtwoResponse ¶
type TaobaoTrainAgentBookordersGetVtwoResponse struct { XMLName xml.Name `xml:"train_agent_bookorders_get_vtwo_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 OrderCount int64 `json:"order_count,omitempty" xml:"order_count,omitempty"` OrderIds string `json:"order_ids,omitempty" xml:"order_ids,omitempty"` ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` }
type TaobaoTrainAgentBookticketConfirmAPIResponse ¶
type TaobaoTrainAgentBookticketConfirmAPIResponse struct { model.CommonResponse TaobaoTrainAgentBookticketConfirmResponse }
火车票代理商接口——确认出票是否成功 APIResponse taobao.train.agent.bookticket.confirm
火车票代理商接口——确认出票是否成功
type TaobaoTrainAgentBookticketConfirmRequest ¶
type TaobaoTrainAgentBookticketConfirmRequest struct { model.Params // contains filtered or unexported fields }
火车票代理商接口——确认出票是否成功 APIRequest taobao.train.agent.bookticket.confirm
火车票代理商接口——确认出票是否成功
func NewTaobaoTrainAgentBookticketConfirmRequest ¶
func NewTaobaoTrainAgentBookticketConfirmRequest() *TaobaoTrainAgentBookticketConfirmRequest
func (TaobaoTrainAgentBookticketConfirmRequest) GetAgentId ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetAgentId() int64
func (TaobaoTrainAgentBookticketConfirmRequest) GetAlipayAccount ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetAlipayAccount() string
func (TaobaoTrainAgentBookticketConfirmRequest) GetAlipayTradeNo ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetAlipayTradeNo() string
func (TaobaoTrainAgentBookticketConfirmRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetApiMethodName() string
func (TaobaoTrainAgentBookticketConfirmRequest) GetApiParams ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetApiParams() url.Values
func (TaobaoTrainAgentBookticketConfirmRequest) GetArriveDate ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetArriveDate() string
func (TaobaoTrainAgentBookticketConfirmRequest) GetBoardingGates ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetBoardingGates() string
func (TaobaoTrainAgentBookticketConfirmRequest) GetCanChange ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetCanChange() bool
func (TaobaoTrainAgentBookticketConfirmRequest) GetDepDate ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetDepDate() string
func (TaobaoTrainAgentBookticketConfirmRequest) GetFailMsg ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetFailMsg() string
func (TaobaoTrainAgentBookticketConfirmRequest) GetFromStationName ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetFromStationName() string
func (TaobaoTrainAgentBookticketConfirmRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetMainOrderId() int64
func (TaobaoTrainAgentBookticketConfirmRequest) GetOrderType ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetOrderType() int64
func (TaobaoTrainAgentBookticketConfirmRequest) GetStatus ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetStatus() bool
func (TaobaoTrainAgentBookticketConfirmRequest) GetSubOrderId ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetSubOrderId() string
func (TaobaoTrainAgentBookticketConfirmRequest) GetTicket12306Id ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetTicket12306Id() string
func (TaobaoTrainAgentBookticketConfirmRequest) GetTicketNum ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetTicketNum() int64
func (TaobaoTrainAgentBookticketConfirmRequest) GetTickets ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetTickets() []string
func (TaobaoTrainAgentBookticketConfirmRequest) GetToStationName ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetToStationName() string
func (*TaobaoTrainAgentBookticketConfirmRequest) SetAgentId ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetAgentId(agentId int64) error
func (*TaobaoTrainAgentBookticketConfirmRequest) SetAlipayAccount ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetAlipayAccount(alipayAccount string) error
func (*TaobaoTrainAgentBookticketConfirmRequest) SetAlipayTradeNo ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetAlipayTradeNo(alipayTradeNo string) error
func (*TaobaoTrainAgentBookticketConfirmRequest) SetArriveDate ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetArriveDate(arriveDate string) error
func (*TaobaoTrainAgentBookticketConfirmRequest) SetBoardingGates ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetBoardingGates(boardingGates string) error
func (*TaobaoTrainAgentBookticketConfirmRequest) SetCanChange ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetCanChange(canChange bool) error
func (*TaobaoTrainAgentBookticketConfirmRequest) SetDepDate ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetDepDate(depDate string) error
func (*TaobaoTrainAgentBookticketConfirmRequest) SetFailMsg ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetFailMsg(failMsg string) error
func (*TaobaoTrainAgentBookticketConfirmRequest) SetFromStationName ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetFromStationName(fromStationName string) error
func (*TaobaoTrainAgentBookticketConfirmRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetMainOrderId(mainOrderId int64) error
func (*TaobaoTrainAgentBookticketConfirmRequest) SetOrderType ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetOrderType(orderType int64) error
func (*TaobaoTrainAgentBookticketConfirmRequest) SetStatus ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetStatus(status bool) error
func (*TaobaoTrainAgentBookticketConfirmRequest) SetSubOrderId ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetSubOrderId(subOrderId string) error
func (*TaobaoTrainAgentBookticketConfirmRequest) SetTicket12306Id ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetTicket12306Id(ticket12306Id string) error
func (*TaobaoTrainAgentBookticketConfirmRequest) SetTicketNum ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetTicketNum(ticketNum int64) error
func (*TaobaoTrainAgentBookticketConfirmRequest) SetTickets ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetTickets(tickets []string) error
func (*TaobaoTrainAgentBookticketConfirmRequest) SetToStationName ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetToStationName(toStationName string) error
type TaobaoTrainAgentBookticketConfirmVtwoAPIResponse ¶
type TaobaoTrainAgentBookticketConfirmVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentBookticketConfirmVtwoResponse }
火车票代理商接口——确认出票是否成功v2--增加鉴权校验 APIResponse taobao.train.agent.bookticket.confirm.vtwo
火车票代理商接口——确认出票是否成功
type TaobaoTrainAgentBookticketConfirmVtwoRequest ¶
type TaobaoTrainAgentBookticketConfirmVtwoRequest struct { model.Params // contains filtered or unexported fields }
火车票代理商接口——确认出票是否成功v2--增加鉴权校验 APIRequest taobao.train.agent.bookticket.confirm.vtwo
火车票代理商接口——确认出票是否成功
func NewTaobaoTrainAgentBookticketConfirmVtwoRequest ¶
func NewTaobaoTrainAgentBookticketConfirmVtwoRequest() *TaobaoTrainAgentBookticketConfirmVtwoRequest
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAgentId ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAgentId() int64
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAlipayAccount ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAlipayAccount() string
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAlipayTradeNo ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAlipayTradeNo() string
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetApiMethodName() string
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetApiParams() url.Values
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetArriveDate ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetArriveDate() string
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetBoardingGates ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetBoardingGates() string
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetCanChange ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetCanChange() bool
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetDepDate ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetDepDate() string
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetExpectDeliveryTime ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetExpectDeliveryTime() string
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetExtendParams ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetExtendParams() string
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetFailMsg ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetFailMsg() string
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetFromStationName ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetFromStationName() string
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetMainOrderId() int64
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetOrderType ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetOrderType() int64
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetStatus ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetStatus() bool
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetSubOrderId ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetSubOrderId() string
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicket12306Id ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicket12306Id() string
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicketInfoList ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicketInfoList() []OrderTicketInfo
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicketNum ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicketNum() int64
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTickets ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTickets() []string
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetToStationName ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetToStationName() string
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAgentId ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAgentId(agentId int64) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAlipayAccount ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAlipayAccount(alipayAccount string) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAlipayTradeNo ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAlipayTradeNo(alipayTradeNo string) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetArriveDate ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetArriveDate(arriveDate string) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetBoardingGates ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetBoardingGates(boardingGates string) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetCanChange ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetCanChange(canChange bool) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetDepDate ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetDepDate(depDate string) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetExpectDeliveryTime ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetExpectDeliveryTime(expectDeliveryTime string) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetExtendParams ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetExtendParams(extendParams string) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetFailMsg ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetFailMsg(failMsg string) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetFromStationName ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetFromStationName(fromStationName string) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetMainOrderId(mainOrderId int64) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetOrderType ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetOrderType(orderType int64) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetStatus ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetStatus(status bool) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetSubOrderId ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetSubOrderId(subOrderId string) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicket12306Id ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicket12306Id(ticket12306Id string) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicketInfoList ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicketInfoList(ticketInfoList []OrderTicketInfo) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicketNum ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicketNum(ticketNum int64) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTickets ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTickets(tickets []string) error
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetToStationName ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetToStationName(toStationName string) error
type TaobaoTrainAgentChangeAgreeVtwoAPIResponse ¶
type TaobaoTrainAgentChangeAgreeVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentChangeAgreeVtwoResponse }
代理商同意改签v2--增加鉴权校验 APIResponse taobao.train.agent.change.agree.vtwo
代理商同意改签接口服务
type TaobaoTrainAgentChangeAgreeVtwoRequest ¶
type TaobaoTrainAgentChangeAgreeVtwoRequest struct { model.Params // contains filtered or unexported fields }
代理商同意改签v2--增加鉴权校验 APIRequest taobao.train.agent.change.agree.vtwo
代理商同意改签接口服务
func NewTaobaoTrainAgentChangeAgreeVtwoRequest ¶
func NewTaobaoTrainAgentChangeAgreeVtwoRequest() *TaobaoTrainAgentChangeAgreeVtwoRequest
func (TaobaoTrainAgentChangeAgreeVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentChangeAgreeVtwoRequest) GetApiMethodName() string
func (TaobaoTrainAgentChangeAgreeVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentChangeAgreeVtwoRequest) GetApiParams() url.Values
func (TaobaoTrainAgentChangeAgreeVtwoRequest) GetParam ¶
func (r TaobaoTrainAgentChangeAgreeVtwoRequest) GetParam() *AgentAgreeChangeParam
func (*TaobaoTrainAgentChangeAgreeVtwoRequest) SetParam ¶
func (r *TaobaoTrainAgentChangeAgreeVtwoRequest) SetParam(param *AgentAgreeChangeParam) error
type TaobaoTrainAgentChangeGetVtwoAPIResponse ¶
type TaobaoTrainAgentChangeGetVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentChangeGetVtwoResponse }
获取改签单详情v2--增加鉴权校验 APIResponse taobao.train.agent.change.get.vtwo
卖家获取待处理的改签单详情
type TaobaoTrainAgentChangeGetVtwoRequest ¶
type TaobaoTrainAgentChangeGetVtwoRequest struct { model.Params // contains filtered or unexported fields }
获取改签单详情v2--增加鉴权校验 APIRequest taobao.train.agent.change.get.vtwo
卖家获取待处理的改签单详情
func NewTaobaoTrainAgentChangeGetVtwoRequest ¶
func NewTaobaoTrainAgentChangeGetVtwoRequest() *TaobaoTrainAgentChangeGetVtwoRequest
func (TaobaoTrainAgentChangeGetVtwoRequest) GetAgentId ¶
func (r TaobaoTrainAgentChangeGetVtwoRequest) GetAgentId() int64
func (TaobaoTrainAgentChangeGetVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentChangeGetVtwoRequest) GetApiMethodName() string
func (TaobaoTrainAgentChangeGetVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentChangeGetVtwoRequest) GetApiParams() url.Values
func (TaobaoTrainAgentChangeGetVtwoRequest) GetApplyId ¶
func (r TaobaoTrainAgentChangeGetVtwoRequest) GetApplyId() int64
func (*TaobaoTrainAgentChangeGetVtwoRequest) SetAgentId ¶
func (r *TaobaoTrainAgentChangeGetVtwoRequest) SetAgentId(agentId int64) error
func (*TaobaoTrainAgentChangeGetVtwoRequest) SetApplyId ¶
func (r *TaobaoTrainAgentChangeGetVtwoRequest) SetApplyId(applyId int64) error
type TaobaoTrainAgentChangeGetVtwoResponse ¶
type TaobaoTrainAgentChangeGetVtwoResponse struct { XMLName xml.Name `xml:"train_agent_change_get_vtwo_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 ExtendParam string `json:"extend_param,omitempty" xml:"extend_param,omitempty"` Tickets []ChangeTicketInfo `json:"tickets,omitempty" xml:"tickets>change_ticket_info,omitempty"` SeatName int64 `json:"seat_name,omitempty" xml:"seat_name,omitempty"` ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"` Status int64 `json:"status,omitempty" xml:"status,omitempty"` TotalChangeFee int64 `json:"total_change_fee,omitempty" xml:"total_change_fee,omitempty"` TrainNum string `json:"train_num,omitempty" xml:"train_num,omitempty"` FromStationName string `json:"from_station_name,omitempty" xml:"from_station_name,omitempty"` LatestChangeTime string `json:"latest_change_time,omitempty" xml:"latest_change_time,omitempty"` FromTime string `json:"from_time,omitempty" xml:"from_time,omitempty"` MainBizOrderId int64 `json:"main_biz_order_id,omitempty" xml:"main_biz_order_id,omitempty"` ToTime string `json:"to_time,omitempty" xml:"to_time,omitempty"` ToStationName string `json:"to_station_name,omitempty" xml:"to_station_name,omitempty"` }
type TaobaoTrainAgentChangeHoldseatConfirmAPIResponse ¶
type TaobaoTrainAgentChangeHoldseatConfirmAPIResponse struct { model.CommonResponse TaobaoTrainAgentChangeHoldseatConfirmResponse }
火车票代理商接口——确认改签占座是否成功 APIResponse taobao.train.agent.change.holdseat.confirm
火车票代理商接口——确认改签占座是否成功
type TaobaoTrainAgentChangeHoldseatConfirmRequest ¶
type TaobaoTrainAgentChangeHoldseatConfirmRequest struct { model.Params // contains filtered or unexported fields }
火车票代理商接口——确认改签占座是否成功 APIRequest taobao.train.agent.change.holdseat.confirm
火车票代理商接口——确认改签占座是否成功
func NewTaobaoTrainAgentChangeHoldseatConfirmRequest ¶
func NewTaobaoTrainAgentChangeHoldseatConfirmRequest() *TaobaoTrainAgentChangeHoldseatConfirmRequest
func (TaobaoTrainAgentChangeHoldseatConfirmRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentChangeHoldseatConfirmRequest) GetApiMethodName() string
func (TaobaoTrainAgentChangeHoldseatConfirmRequest) GetApiParams ¶
func (r TaobaoTrainAgentChangeHoldseatConfirmRequest) GetApiParams() url.Values
func (TaobaoTrainAgentChangeHoldseatConfirmRequest) GetChangeHoldSeatParam ¶
func (r TaobaoTrainAgentChangeHoldseatConfirmRequest) GetChangeHoldSeatParam() *ChangeHoldSeatParam
func (*TaobaoTrainAgentChangeHoldseatConfirmRequest) SetChangeHoldSeatParam ¶
func (r *TaobaoTrainAgentChangeHoldseatConfirmRequest) SetChangeHoldSeatParam(changeHoldSeatParam *ChangeHoldSeatParam) error
type TaobaoTrainAgentChangeHoldseatConfirmResponse ¶
type TaobaoTrainAgentChangeHoldseatConfirmResponse struct { XMLName xml.Name `xml:"train_agent_change_holdseat_confirm_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` }
type TaobaoTrainAgentChangeRefuseVtwoAPIResponse ¶
type TaobaoTrainAgentChangeRefuseVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentChangeRefuseVtwoResponse }
代理商拒绝改签v2--增加鉴权校验 APIResponse taobao.train.agent.change.refuse.vtwo
代理商拒绝火车票改签服务
type TaobaoTrainAgentChangeRefuseVtwoRequest ¶
type TaobaoTrainAgentChangeRefuseVtwoRequest struct { model.Params // contains filtered or unexported fields }
代理商拒绝改签v2--增加鉴权校验 APIRequest taobao.train.agent.change.refuse.vtwo
代理商拒绝火车票改签服务
func NewTaobaoTrainAgentChangeRefuseVtwoRequest ¶
func NewTaobaoTrainAgentChangeRefuseVtwoRequest() *TaobaoTrainAgentChangeRefuseVtwoRequest
func (TaobaoTrainAgentChangeRefuseVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentChangeRefuseVtwoRequest) GetApiMethodName() string
func (TaobaoTrainAgentChangeRefuseVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentChangeRefuseVtwoRequest) GetApiParams() url.Values
func (TaobaoTrainAgentChangeRefuseVtwoRequest) GetParam ¶
func (r TaobaoTrainAgentChangeRefuseVtwoRequest) GetParam() *AgentRefuseChangeParam
func (*TaobaoTrainAgentChangeRefuseVtwoRequest) SetParam ¶
func (r *TaobaoTrainAgentChangeRefuseVtwoRequest) SetParam(param *AgentRefuseChangeParam) error
type TaobaoTrainAgentChangeordersGetAPIResponse ¶
type TaobaoTrainAgentChangeordersGetAPIResponse struct { model.CommonResponse TaobaoTrainAgentChangeordersGetResponse }
获取待改签订单 APIResponse taobao.train.agent.changeorders.get
代理商用来获取待改签的订单列表及数量,防止代理商掉单。
type TaobaoTrainAgentChangeordersGetRequest ¶
type TaobaoTrainAgentChangeordersGetRequest struct { model.Params // contains filtered or unexported fields }
获取待改签订单 APIRequest taobao.train.agent.changeorders.get
代理商用来获取待改签的订单列表及数量,防止代理商掉单。
func NewTaobaoTrainAgentChangeordersGetRequest ¶
func NewTaobaoTrainAgentChangeordersGetRequest() *TaobaoTrainAgentChangeordersGetRequest
func (TaobaoTrainAgentChangeordersGetRequest) GetAgentId ¶
func (r TaobaoTrainAgentChangeordersGetRequest) GetAgentId() int64
func (TaobaoTrainAgentChangeordersGetRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentChangeordersGetRequest) GetApiMethodName() string
func (TaobaoTrainAgentChangeordersGetRequest) GetApiParams ¶
func (r TaobaoTrainAgentChangeordersGetRequest) GetApiParams() url.Values
func (*TaobaoTrainAgentChangeordersGetRequest) SetAgentId ¶
func (r *TaobaoTrainAgentChangeordersGetRequest) SetAgentId(agentId int64) error
type TaobaoTrainAgentChangeordersGetResponse ¶
type TaobaoTrainAgentChangeordersGetResponse struct { XMLName xml.Name `xml:"train_agent_changeorders_get_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 ApplyCount int64 `json:"apply_count,omitempty" xml:"apply_count,omitempty"` ApplyIds string `json:"apply_ids,omitempty" xml:"apply_ids,omitempty"` }
type TaobaoTrainAgentChangeordersGetVtwoAPIResponse ¶
type TaobaoTrainAgentChangeordersGetVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentChangeordersGetVtwoResponse }
获取待改签订单v2--增加鉴权校验 APIResponse taobao.train.agent.changeorders.get.vtwo
代理商用来获取待改签的订单列表及数量,防止代理商掉单。
type TaobaoTrainAgentChangeordersGetVtwoRequest ¶
type TaobaoTrainAgentChangeordersGetVtwoRequest struct { model.Params // contains filtered or unexported fields }
获取待改签订单v2--增加鉴权校验 APIRequest taobao.train.agent.changeorders.get.vtwo
代理商用来获取待改签的订单列表及数量,防止代理商掉单。
func NewTaobaoTrainAgentChangeordersGetVtwoRequest ¶
func NewTaobaoTrainAgentChangeordersGetVtwoRequest() *TaobaoTrainAgentChangeordersGetVtwoRequest
func (TaobaoTrainAgentChangeordersGetVtwoRequest) GetAgentId ¶
func (r TaobaoTrainAgentChangeordersGetVtwoRequest) GetAgentId() int64
func (TaobaoTrainAgentChangeordersGetVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentChangeordersGetVtwoRequest) GetApiMethodName() string
func (TaobaoTrainAgentChangeordersGetVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentChangeordersGetVtwoRequest) GetApiParams() url.Values
func (*TaobaoTrainAgentChangeordersGetVtwoRequest) SetAgentId ¶
func (r *TaobaoTrainAgentChangeordersGetVtwoRequest) SetAgentId(agentId int64) error
type TaobaoTrainAgentChangeordersGetVtwoResponse ¶
type TaobaoTrainAgentChangeordersGetVtwoResponse struct { XMLName xml.Name `xml:"train_agent_changeorders_get_vtwo_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 ApplyCount int64 `json:"apply_count,omitempty" xml:"apply_count,omitempty"` ApplyIds string `json:"apply_ids,omitempty" xml:"apply_ids,omitempty"` }
type TaobaoTrainAgentDirectCompensateAPIResponse ¶
type TaobaoTrainAgentDirectCompensateAPIResponse struct { model.CommonResponse TaobaoTrainAgentDirectCompensateResponse }
火车票代理商接口——订单关闭实际出票成功审计接口 APIResponse taobao.train.agent.direct.compensate
代购直连订单平台关单但是代理商出票成功补偿接口
type TaobaoTrainAgentDirectCompensateRequest ¶
type TaobaoTrainAgentDirectCompensateRequest struct { model.Params // contains filtered or unexported fields }
火车票代理商接口——订单关闭实际出票成功审计接口 APIRequest taobao.train.agent.direct.compensate
代购直连订单平台关单但是代理商出票成功补偿接口
func NewTaobaoTrainAgentDirectCompensateRequest ¶
func NewTaobaoTrainAgentDirectCompensateRequest() *TaobaoTrainAgentDirectCompensateRequest
func (TaobaoTrainAgentDirectCompensateRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentDirectCompensateRequest) GetApiMethodName() string
func (TaobaoTrainAgentDirectCompensateRequest) GetApiParams ¶
func (r TaobaoTrainAgentDirectCompensateRequest) GetApiParams() url.Values
func (TaobaoTrainAgentDirectCompensateRequest) GetCompensateParam ¶
func (r TaobaoTrainAgentDirectCompensateRequest) GetCompensateParam() *CompensateParam
func (*TaobaoTrainAgentDirectCompensateRequest) SetCompensateParam ¶
func (r *TaobaoTrainAgentDirectCompensateRequest) SetCompensateParam(compensateParam *CompensateParam) error
type TaobaoTrainAgentDirectCompensateResponse ¶
type TaobaoTrainAgentDirectCompensateResponse struct { XMLName xml.Name `xml:"train_agent_direct_compensate_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` }
type TaobaoTrainAgentExpressSetAPIResponse ¶
type TaobaoTrainAgentExpressSetAPIResponse struct { model.CommonResponse TaobaoTrainAgentExpressSetResponse }
线下票回填物流信息 APIResponse taobao.train.agent.express.set
线下票回填物流信息服务
type TaobaoTrainAgentExpressSetRequest ¶
type TaobaoTrainAgentExpressSetRequest struct { model.Params // contains filtered or unexported fields }
线下票回填物流信息 APIRequest taobao.train.agent.express.set
线下票回填物流信息服务
func NewTaobaoTrainAgentExpressSetRequest ¶
func NewTaobaoTrainAgentExpressSetRequest() *TaobaoTrainAgentExpressSetRequest
func (TaobaoTrainAgentExpressSetRequest) GetAddr ¶
func (r TaobaoTrainAgentExpressSetRequest) GetAddr() string
func (TaobaoTrainAgentExpressSetRequest) GetAgentId ¶
func (r TaobaoTrainAgentExpressSetRequest) GetAgentId() int64
func (TaobaoTrainAgentExpressSetRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentExpressSetRequest) GetApiMethodName() string
func (TaobaoTrainAgentExpressSetRequest) GetApiParams ¶
func (r TaobaoTrainAgentExpressSetRequest) GetApiParams() url.Values
func (TaobaoTrainAgentExpressSetRequest) GetExpressId ¶
func (r TaobaoTrainAgentExpressSetRequest) GetExpressId() string
func (TaobaoTrainAgentExpressSetRequest) GetExpressName ¶
func (r TaobaoTrainAgentExpressSetRequest) GetExpressName() string
func (TaobaoTrainAgentExpressSetRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentExpressSetRequest) GetMainOrderId() int64
func (TaobaoTrainAgentExpressSetRequest) GetMobile ¶
func (r TaobaoTrainAgentExpressSetRequest) GetMobile() string
func (*TaobaoTrainAgentExpressSetRequest) SetAddr ¶
func (r *TaobaoTrainAgentExpressSetRequest) SetAddr(addr string) error
func (*TaobaoTrainAgentExpressSetRequest) SetAgentId ¶
func (r *TaobaoTrainAgentExpressSetRequest) SetAgentId(agentId int64) error
func (*TaobaoTrainAgentExpressSetRequest) SetExpressId ¶
func (r *TaobaoTrainAgentExpressSetRequest) SetExpressId(expressId string) error
func (*TaobaoTrainAgentExpressSetRequest) SetExpressName ¶
func (r *TaobaoTrainAgentExpressSetRequest) SetExpressName(expressName string) error
func (*TaobaoTrainAgentExpressSetRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentExpressSetRequest) SetMainOrderId(mainOrderId int64) error
func (*TaobaoTrainAgentExpressSetRequest) SetMobile ¶
func (r *TaobaoTrainAgentExpressSetRequest) SetMobile(mobile string) error
type TaobaoTrainAgentExpressSetResponse ¶
type TaobaoTrainAgentExpressSetResponse 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"` }
type TaobaoTrainAgentExpressSetVtwoAPIResponse ¶
type TaobaoTrainAgentExpressSetVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentExpressSetVtwoResponse }
线下票回填物流信息v2--增加鉴权校验 APIResponse taobao.train.agent.express.set.vtwo
线下票回填物流信息服务
type TaobaoTrainAgentExpressSetVtwoRequest ¶
type TaobaoTrainAgentExpressSetVtwoRequest struct { model.Params // contains filtered or unexported fields }
线下票回填物流信息v2--增加鉴权校验 APIRequest taobao.train.agent.express.set.vtwo
线下票回填物流信息服务
func NewTaobaoTrainAgentExpressSetVtwoRequest ¶
func NewTaobaoTrainAgentExpressSetVtwoRequest() *TaobaoTrainAgentExpressSetVtwoRequest
func (TaobaoTrainAgentExpressSetVtwoRequest) GetAddr ¶
func (r TaobaoTrainAgentExpressSetVtwoRequest) GetAddr() string
func (TaobaoTrainAgentExpressSetVtwoRequest) GetAgentId ¶
func (r TaobaoTrainAgentExpressSetVtwoRequest) GetAgentId() int64
func (TaobaoTrainAgentExpressSetVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentExpressSetVtwoRequest) GetApiMethodName() string
func (TaobaoTrainAgentExpressSetVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentExpressSetVtwoRequest) GetApiParams() url.Values
func (TaobaoTrainAgentExpressSetVtwoRequest) GetExpressId ¶
func (r TaobaoTrainAgentExpressSetVtwoRequest) GetExpressId() string
func (TaobaoTrainAgentExpressSetVtwoRequest) GetExpressName ¶
func (r TaobaoTrainAgentExpressSetVtwoRequest) GetExpressName() string
func (TaobaoTrainAgentExpressSetVtwoRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentExpressSetVtwoRequest) GetMainOrderId() int64
func (TaobaoTrainAgentExpressSetVtwoRequest) GetMobile ¶
func (r TaobaoTrainAgentExpressSetVtwoRequest) GetMobile() string
func (*TaobaoTrainAgentExpressSetVtwoRequest) SetAddr ¶
func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetAddr(addr string) error
func (*TaobaoTrainAgentExpressSetVtwoRequest) SetAgentId ¶
func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetAgentId(agentId int64) error
func (*TaobaoTrainAgentExpressSetVtwoRequest) SetExpressId ¶
func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetExpressId(expressId string) error
func (*TaobaoTrainAgentExpressSetVtwoRequest) SetExpressName ¶
func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetExpressName(expressName string) error
func (*TaobaoTrainAgentExpressSetVtwoRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetMainOrderId(mainOrderId int64) error
func (*TaobaoTrainAgentExpressSetVtwoRequest) SetMobile ¶
func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetMobile(mobile string) error
type TaobaoTrainAgentExpressSetVtwoResponse ¶
type TaobaoTrainAgentExpressSetVtwoResponse 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"` }
type TaobaoTrainAgentGetRefundAPIResponse ¶
type TaobaoTrainAgentGetRefundAPIResponse struct { model.CommonResponse TaobaoTrainAgentGetRefundResponse }
代理商获取订单退票信息 APIResponse taobao.train.agent.get.refund
代理商获取订单信息回调API
type TaobaoTrainAgentGetRefundRequest ¶
type TaobaoTrainAgentGetRefundRequest struct { model.Params // contains filtered or unexported fields }
代理商获取订单退票信息 APIRequest taobao.train.agent.get.refund
代理商获取订单信息回调API
func NewTaobaoTrainAgentGetRefundRequest ¶
func NewTaobaoTrainAgentGetRefundRequest() *TaobaoTrainAgentGetRefundRequest
func (TaobaoTrainAgentGetRefundRequest) GetAgentId ¶
func (r TaobaoTrainAgentGetRefundRequest) GetAgentId() int64
func (TaobaoTrainAgentGetRefundRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentGetRefundRequest) GetApiMethodName() string
func (TaobaoTrainAgentGetRefundRequest) GetApiParams ¶
func (r TaobaoTrainAgentGetRefundRequest) GetApiParams() url.Values
func (TaobaoTrainAgentGetRefundRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentGetRefundRequest) GetMainOrderId() int64
func (*TaobaoTrainAgentGetRefundRequest) SetAgentId ¶
func (r *TaobaoTrainAgentGetRefundRequest) SetAgentId(agentId int64) error
func (*TaobaoTrainAgentGetRefundRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentGetRefundRequest) SetMainOrderId(mainOrderId int64) error
type TaobaoTrainAgentGetRefundResponse ¶
type TaobaoTrainAgentGetRefundResponse 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"` }
type TaobaoTrainAgentGrabAccountAPIResponse ¶
type TaobaoTrainAgentGrabAccountAPIResponse struct { model.CommonResponse TaobaoTrainAgentGrabAccountResponse }
代购抢代理商回传12306账号 APIResponse taobao.train.agent.grab.account
火车票业务代购抢功能,代理商回传12306账号,用于自营抢票链路出票
type TaobaoTrainAgentGrabAccountRequest ¶
type TaobaoTrainAgentGrabAccountRequest struct { model.Params // contains filtered or unexported fields }
代购抢代理商回传12306账号 APIRequest taobao.train.agent.grab.account
火车票业务代购抢功能,代理商回传12306账号,用于自营抢票链路出票
func NewTaobaoTrainAgentGrabAccountRequest ¶
func NewTaobaoTrainAgentGrabAccountRequest() *TaobaoTrainAgentGrabAccountRequest
func (TaobaoTrainAgentGrabAccountRequest) GetAccountParam ¶
func (r TaobaoTrainAgentGrabAccountRequest) GetAccountParam() *AccountParam
func (TaobaoTrainAgentGrabAccountRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentGrabAccountRequest) GetApiMethodName() string
func (TaobaoTrainAgentGrabAccountRequest) GetApiParams ¶
func (r TaobaoTrainAgentGrabAccountRequest) GetApiParams() url.Values
func (*TaobaoTrainAgentGrabAccountRequest) SetAccountParam ¶
func (r *TaobaoTrainAgentGrabAccountRequest) SetAccountParam(accountParam *AccountParam) error
type TaobaoTrainAgentGrabAccountResponse ¶
type TaobaoTrainAgentGrabAccountResponse struct { XMLName xml.Name `xml:"train_agent_grab_account_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
type TaobaoTrainAgentHandleticketConfirmAPIResponse ¶
type TaobaoTrainAgentHandleticketConfirmAPIResponse struct { model.CommonResponse TaobaoTrainAgentHandleticketConfirmResponse }
代理商出票中 APIResponse taobao.train.agent.handleticket.confirm
代理商出票中
type TaobaoTrainAgentHandleticketConfirmRequest ¶
type TaobaoTrainAgentHandleticketConfirmRequest struct { model.Params // contains filtered or unexported fields }
代理商出票中 APIRequest taobao.train.agent.handleticket.confirm
代理商出票中
func NewTaobaoTrainAgentHandleticketConfirmRequest ¶
func NewTaobaoTrainAgentHandleticketConfirmRequest() *TaobaoTrainAgentHandleticketConfirmRequest
func (TaobaoTrainAgentHandleticketConfirmRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentHandleticketConfirmRequest) GetApiMethodName() string
func (TaobaoTrainAgentHandleticketConfirmRequest) GetApiParams ¶
func (r TaobaoTrainAgentHandleticketConfirmRequest) GetApiParams() url.Values
func (TaobaoTrainAgentHandleticketConfirmRequest) GetExtendParams ¶
func (r TaobaoTrainAgentHandleticketConfirmRequest) GetExtendParams() string
func (TaobaoTrainAgentHandleticketConfirmRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentHandleticketConfirmRequest) GetMainOrderId() int64
func (TaobaoTrainAgentHandleticketConfirmRequest) GetSellerId ¶
func (r TaobaoTrainAgentHandleticketConfirmRequest) GetSellerId() int64
func (*TaobaoTrainAgentHandleticketConfirmRequest) SetExtendParams ¶
func (r *TaobaoTrainAgentHandleticketConfirmRequest) SetExtendParams(extendParams string) error
func (*TaobaoTrainAgentHandleticketConfirmRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentHandleticketConfirmRequest) SetMainOrderId(mainOrderId int64) error
func (*TaobaoTrainAgentHandleticketConfirmRequest) SetSellerId ¶
func (r *TaobaoTrainAgentHandleticketConfirmRequest) SetSellerId(sellerId int64) error
type TaobaoTrainAgentHandleticketConfirmResponse ¶
type TaobaoTrainAgentHandleticketConfirmResponse struct { XMLName xml.Name `xml:"train_agent_handleticket_confirm_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,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"` }
type TaobaoTrainAgentHandleticketConfirmVtwoAPIResponse ¶
type TaobaoTrainAgentHandleticketConfirmVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentHandleticketConfirmVtwoResponse }
代理商出票中v2--增加鉴权校验 APIResponse taobao.train.agent.handleticket.confirm.vtwo
代理商出票中
type TaobaoTrainAgentHandleticketConfirmVtwoRequest ¶
type TaobaoTrainAgentHandleticketConfirmVtwoRequest struct { model.Params // contains filtered or unexported fields }
代理商出票中v2--增加鉴权校验 APIRequest taobao.train.agent.handleticket.confirm.vtwo
代理商出票中
func NewTaobaoTrainAgentHandleticketConfirmVtwoRequest ¶
func NewTaobaoTrainAgentHandleticketConfirmVtwoRequest() *TaobaoTrainAgentHandleticketConfirmVtwoRequest
func (TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetApiMethodName() string
func (TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetApiParams() url.Values
func (TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetExtendParams ¶
func (r TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetExtendParams() string
func (TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetMainOrderId() int64
func (TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetSellerId ¶
func (r TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetSellerId() int64
func (*TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetExtendParams ¶
func (r *TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetExtendParams(extendParams string) error
func (*TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetMainOrderId(mainOrderId int64) error
func (*TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetSellerId ¶
func (r *TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetSellerId(sellerId int64) error
type TaobaoTrainAgentHandleticketConfirmVtwoResponse ¶
type TaobaoTrainAgentHandleticketConfirmVtwoResponse struct { XMLName xml.Name `xml:"train_agent_handleticket_confirm_vtwo_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,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"` }
type TaobaoTrainAgentHandrefundRefundfeeAPIResponse ¶
type TaobaoTrainAgentHandrefundRefundfeeAPIResponse struct { model.CommonResponse TaobaoTrainAgentHandrefundRefundfeeResponse }
代理商手动退款接口 APIResponse taobao.train.agent.handrefund.refundfee
火车票代理商手动退款接口
type TaobaoTrainAgentHandrefundRefundfeeRequest ¶
type TaobaoTrainAgentHandrefundRefundfeeRequest struct { model.Params // contains filtered or unexported fields }
代理商手动退款接口 APIRequest taobao.train.agent.handrefund.refundfee
火车票代理商手动退款接口
func NewTaobaoTrainAgentHandrefundRefundfeeRequest ¶
func NewTaobaoTrainAgentHandrefundRefundfeeRequest() *TaobaoTrainAgentHandrefundRefundfeeRequest
func (TaobaoTrainAgentHandrefundRefundfeeRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentHandrefundRefundfeeRequest) GetApiMethodName() string
func (TaobaoTrainAgentHandrefundRefundfeeRequest) GetApiParams ¶
func (r TaobaoTrainAgentHandrefundRefundfeeRequest) GetApiParams() url.Values
func (TaobaoTrainAgentHandrefundRefundfeeRequest) GetMainBizOrderId ¶
func (r TaobaoTrainAgentHandrefundRefundfeeRequest) GetMainBizOrderId() int64
func (TaobaoTrainAgentHandrefundRefundfeeRequest) GetOutTradeNo ¶
func (r TaobaoTrainAgentHandrefundRefundfeeRequest) GetOutTradeNo() string
func (TaobaoTrainAgentHandrefundRefundfeeRequest) GetRefundFee ¶
func (r TaobaoTrainAgentHandrefundRefundfeeRequest) GetRefundFee() int64
func (*TaobaoTrainAgentHandrefundRefundfeeRequest) SetMainBizOrderId ¶
func (r *TaobaoTrainAgentHandrefundRefundfeeRequest) SetMainBizOrderId(mainBizOrderId int64) error
func (*TaobaoTrainAgentHandrefundRefundfeeRequest) SetOutTradeNo ¶
func (r *TaobaoTrainAgentHandrefundRefundfeeRequest) SetOutTradeNo(outTradeNo string) error
func (*TaobaoTrainAgentHandrefundRefundfeeRequest) SetRefundFee ¶
func (r *TaobaoTrainAgentHandrefundRefundfeeRequest) SetRefundFee(refundFee int64) error
type TaobaoTrainAgentHandrefundRefundfeeResponse ¶
type TaobaoTrainAgentHandrefundRefundfeeResponse struct { XMLName xml.Name `xml:"train_agent_handrefund_refundfee_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` }
type TaobaoTrainAgentHoldseatConfirmAPIResponse ¶
type TaobaoTrainAgentHoldseatConfirmAPIResponse struct { model.CommonResponse TaobaoTrainAgentHoldseatConfirmResponse }
火车票代理商接口——确认占座是否成功 APIResponse taobao.train.agent.holdseat.confirm
火车票代理商接口——确认占座是否成功
type TaobaoTrainAgentHoldseatConfirmRequest ¶
type TaobaoTrainAgentHoldseatConfirmRequest struct { model.Params // contains filtered or unexported fields }
火车票代理商接口——确认占座是否成功 APIRequest taobao.train.agent.holdseat.confirm
火车票代理商接口——确认占座是否成功
func NewTaobaoTrainAgentHoldseatConfirmRequest ¶
func NewTaobaoTrainAgentHoldseatConfirmRequest() *TaobaoTrainAgentHoldseatConfirmRequest
func (TaobaoTrainAgentHoldseatConfirmRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentHoldseatConfirmRequest) GetApiMethodName() string
func (TaobaoTrainAgentHoldseatConfirmRequest) GetApiParams ¶
func (r TaobaoTrainAgentHoldseatConfirmRequest) GetApiParams() url.Values
func (TaobaoTrainAgentHoldseatConfirmRequest) GetHoldSeatParam ¶
func (r TaobaoTrainAgentHoldseatConfirmRequest) GetHoldSeatParam() *HoldSeatParam
func (*TaobaoTrainAgentHoldseatConfirmRequest) SetHoldSeatParam ¶
func (r *TaobaoTrainAgentHoldseatConfirmRequest) SetHoldSeatParam(holdSeatParam *HoldSeatParam) error
type TaobaoTrainAgentHoldseatConfirmResponse ¶
type TaobaoTrainAgentHoldseatConfirmResponse struct { XMLName xml.Name `xml:"train_agent_holdseat_confirm_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
type TaobaoTrainAgentOrderGetAPIResponse ¶
type TaobaoTrainAgentOrderGetAPIResponse struct { model.CommonResponse TaobaoTrainAgentOrderGetResponse }
代理商获取订单信息回调API APIResponse taobao.train.agent.order.get
代理商获取订单信息回调API
type TaobaoTrainAgentOrderGetRequest ¶
type TaobaoTrainAgentOrderGetRequest struct { model.Params // contains filtered or unexported fields }
代理商获取订单信息回调API APIRequest taobao.train.agent.order.get
代理商获取订单信息回调API
func NewTaobaoTrainAgentOrderGetRequest ¶
func NewTaobaoTrainAgentOrderGetRequest() *TaobaoTrainAgentOrderGetRequest
func (TaobaoTrainAgentOrderGetRequest) GetAgentId ¶
func (r TaobaoTrainAgentOrderGetRequest) GetAgentId() int64
func (TaobaoTrainAgentOrderGetRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentOrderGetRequest) GetApiMethodName() string
func (TaobaoTrainAgentOrderGetRequest) GetApiParams ¶
func (r TaobaoTrainAgentOrderGetRequest) GetApiParams() url.Values
func (TaobaoTrainAgentOrderGetRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentOrderGetRequest) GetMainOrderId() int64
func (*TaobaoTrainAgentOrderGetRequest) SetAgentId ¶
func (r *TaobaoTrainAgentOrderGetRequest) SetAgentId(agentId int64) error
func (*TaobaoTrainAgentOrderGetRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentOrderGetRequest) SetMainOrderId(mainOrderId int64) error
type TaobaoTrainAgentOrderGetResponse ¶
type TaobaoTrainAgentOrderGetResponse struct { XMLName xml.Name `xml:"train_agent_order_get_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"` IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"` Tickets []ToAgentTicketInfo `json:"tickets,omitempty" xml:"tickets>to_agent_ticket_info,omitempty"` TotalPrice int64 `json:"total_price,omitempty" xml:"total_price,omitempty"` Telephone string `json:"telephone,omitempty" xml:"telephone,omitempty"` Mailing bool `json:"mailing,omitempty" xml:"mailing,omitempty"` Address string `json:"address,omitempty" xml:"address,omitempty"` RelationName string `json:"relation_name,omitempty" xml:"relation_name,omitempty"` CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"` LatestIssueTime string `json:"latest_issue_time,omitempty" xml:"latest_issue_time,omitempty"` OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"` PaperType int64 `json:"paper_type,omitempty" xml:"paper_type,omitempty"` PaperBackup int64 `json:"paper_backup,omitempty" xml:"paper_backup,omitempty"` PaperLowSeatCount int64 `json:"paper_low_seat_count,omitempty" xml:"paper_low_seat_count,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"` TransportPrice int64 `json:"transport_price,omitempty" xml:"transport_price,omitempty"` ServicePrice int64 `json:"service_price,omitempty" xml:"service_price,omitempty"` ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"` }
type TaobaoTrainAgentOrderGetVtwoAPIResponse ¶
type TaobaoTrainAgentOrderGetVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentOrderGetVtwoResponse }
代理商获取订单信息回调APIv2--增加鉴权校验 APIResponse taobao.train.agent.order.get.vtwo
代理商获取订单信息回调API
type TaobaoTrainAgentOrderGetVtwoRequest ¶
type TaobaoTrainAgentOrderGetVtwoRequest struct { model.Params // contains filtered or unexported fields }
代理商获取订单信息回调APIv2--增加鉴权校验 APIRequest taobao.train.agent.order.get.vtwo
代理商获取订单信息回调API
func NewTaobaoTrainAgentOrderGetVtwoRequest ¶
func NewTaobaoTrainAgentOrderGetVtwoRequest() *TaobaoTrainAgentOrderGetVtwoRequest
func (TaobaoTrainAgentOrderGetVtwoRequest) GetAgentId ¶
func (r TaobaoTrainAgentOrderGetVtwoRequest) GetAgentId() int64
func (TaobaoTrainAgentOrderGetVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentOrderGetVtwoRequest) GetApiMethodName() string
func (TaobaoTrainAgentOrderGetVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentOrderGetVtwoRequest) GetApiParams() url.Values
func (TaobaoTrainAgentOrderGetVtwoRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentOrderGetVtwoRequest) GetMainOrderId() int64
func (*TaobaoTrainAgentOrderGetVtwoRequest) SetAgentId ¶
func (r *TaobaoTrainAgentOrderGetVtwoRequest) SetAgentId(agentId int64) error
func (*TaobaoTrainAgentOrderGetVtwoRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentOrderGetVtwoRequest) SetMainOrderId(mainOrderId int64) error
type TaobaoTrainAgentOrderGetVtwoResponse ¶
type TaobaoTrainAgentOrderGetVtwoResponse struct { XMLName xml.Name `xml:"train_agent_order_get_vtwo_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"` IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"` Tickets []ToAgentTicketInfo `json:"tickets,omitempty" xml:"tickets>to_agent_ticket_info,omitempty"` TotalPrice int64 `json:"total_price,omitempty" xml:"total_price,omitempty"` Telephone string `json:"telephone,omitempty" xml:"telephone,omitempty"` Mailing bool `json:"mailing,omitempty" xml:"mailing,omitempty"` Address string `json:"address,omitempty" xml:"address,omitempty"` RelationName string `json:"relation_name,omitempty" xml:"relation_name,omitempty"` CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"` LatestIssueTime string `json:"latest_issue_time,omitempty" xml:"latest_issue_time,omitempty"` OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"` PaperType int64 `json:"paper_type,omitempty" xml:"paper_type,omitempty"` PaperBackup int64 `json:"paper_backup,omitempty" xml:"paper_backup,omitempty"` PaperLowSeatCount int64 `json:"paper_low_seat_count,omitempty" xml:"paper_low_seat_count,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"` TransportPrice int64 `json:"transport_price,omitempty" xml:"transport_price,omitempty"` ServicePrice int64 `json:"service_price,omitempty" xml:"service_price,omitempty"` ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"` OnlineBookSeat string `json:"online_book_seat,omitempty" xml:"online_book_seat,omitempty"` InterchangeStation string `json:"interchange_station,omitempty" xml:"interchange_station,omitempty"` IsMultiTrip string `json:"is_multi_trip,omitempty" xml:"is_multi_trip,omitempty"` NeedReceipt bool `json:"need_receipt,omitempty" xml:"need_receipt,omitempty"` 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"` VipCustomType int64 `json:"vip_custom_type,omitempty" xml:"vip_custom_type,omitempty"` }
type TaobaoTrainAgentOrderPayAPIResponse ¶
type TaobaoTrainAgentOrderPayAPIResponse struct { model.CommonResponse TaobaoTrainAgentOrderPayResponse }
代购订单代付接口 APIResponse taobao.train.agent.order.pay
代购订单代付接口
type TaobaoTrainAgentOrderPayRequest ¶
type TaobaoTrainAgentOrderPayRequest struct { model.Params // contains filtered or unexported fields }
代购订单代付接口 APIRequest taobao.train.agent.order.pay
代购订单代付接口
func NewTaobaoTrainAgentOrderPayRequest ¶
func NewTaobaoTrainAgentOrderPayRequest() *TaobaoTrainAgentOrderPayRequest
func (TaobaoTrainAgentOrderPayRequest) GetAgentPayOrderParam ¶
func (r TaobaoTrainAgentOrderPayRequest) GetAgentPayOrderParam() *AgentPayOrderParam
func (TaobaoTrainAgentOrderPayRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentOrderPayRequest) GetApiMethodName() string
func (TaobaoTrainAgentOrderPayRequest) GetApiParams ¶
func (r TaobaoTrainAgentOrderPayRequest) GetApiParams() url.Values
func (*TaobaoTrainAgentOrderPayRequest) SetAgentPayOrderParam ¶
func (r *TaobaoTrainAgentOrderPayRequest) SetAgentPayOrderParam(agentPayOrderParam *AgentPayOrderParam) error
type TaobaoTrainAgentReturnordersGetVtwoAPIResponse ¶
type TaobaoTrainAgentReturnordersGetVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentReturnordersGetVtwoResponse }
获取待退票的订单v2--增加鉴权校验 APIResponse taobao.train.agent.returnorders.get.vtwo
代理商用来获取待退票的订单列表及数量,防止代理商掉单。
type TaobaoTrainAgentReturnordersGetVtwoRequest ¶
type TaobaoTrainAgentReturnordersGetVtwoRequest struct { model.Params // contains filtered or unexported fields }
获取待退票的订单v2--增加鉴权校验 APIRequest taobao.train.agent.returnorders.get.vtwo
代理商用来获取待退票的订单列表及数量,防止代理商掉单。
func NewTaobaoTrainAgentReturnordersGetVtwoRequest ¶
func NewTaobaoTrainAgentReturnordersGetVtwoRequest() *TaobaoTrainAgentReturnordersGetVtwoRequest
func (TaobaoTrainAgentReturnordersGetVtwoRequest) GetAgentId ¶
func (r TaobaoTrainAgentReturnordersGetVtwoRequest) GetAgentId() int64
func (TaobaoTrainAgentReturnordersGetVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentReturnordersGetVtwoRequest) GetApiMethodName() string
func (TaobaoTrainAgentReturnordersGetVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentReturnordersGetVtwoRequest) GetApiParams() url.Values
func (TaobaoTrainAgentReturnordersGetVtwoRequest) GetOffline ¶
func (r TaobaoTrainAgentReturnordersGetVtwoRequest) GetOffline() int64
func (*TaobaoTrainAgentReturnordersGetVtwoRequest) SetAgentId ¶
func (r *TaobaoTrainAgentReturnordersGetVtwoRequest) SetAgentId(agentId int64) error
func (*TaobaoTrainAgentReturnordersGetVtwoRequest) SetOffline ¶
func (r *TaobaoTrainAgentReturnordersGetVtwoRequest) SetOffline(offline int64) error
type TaobaoTrainAgentReturnordersGetVtwoResponse ¶
type TaobaoTrainAgentReturnordersGetVtwoResponse struct { XMLName xml.Name `xml:"train_agent_returnorders_get_vtwo_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 OrderCount int64 `json:"order_count,omitempty" xml:"order_count,omitempty"` OrderIds string `json:"order_ids,omitempty" xml:"order_ids,omitempty"` ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` MainOrderIds string `json:"main_order_ids,omitempty" xml:"main_order_ids,omitempty"` RefundApplyTimes string `json:"refund_apply_times,omitempty" xml:"refund_apply_times,omitempty"` }
type TaobaoTrainAgentReturnticketConfirmVtwoAPIResponse ¶
type TaobaoTrainAgentReturnticketConfirmVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentReturnticketConfirmVtwoResponse }
退票通知 APIResponse taobao.train.agent.returnticket.confirm.vtwo
火车票代理商接口——退票通知回调
type TaobaoTrainAgentReturnticketConfirmVtwoRequest ¶
type TaobaoTrainAgentReturnticketConfirmVtwoRequest struct { model.Params // contains filtered or unexported fields }
退票通知 APIRequest taobao.train.agent.returnticket.confirm.vtwo
火车票代理商接口——退票通知回调
func NewTaobaoTrainAgentReturnticketConfirmVtwoRequest ¶
func NewTaobaoTrainAgentReturnticketConfirmVtwoRequest() *TaobaoTrainAgentReturnticketConfirmVtwoRequest
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetAgentId ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetAgentId() int64
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetAgreeReturn ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetAgreeReturn() bool
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetApiMethodName() string
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetApiParams() url.Values
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetBuyerId ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetBuyerId() int64
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetCloseRefundNotify ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetCloseRefundNotify() bool
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetMainBizOrderId ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetMainBizOrderId() int64
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetRefundFee ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetRefundFee() int64
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetRefuseReturnReason ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetRefuseReturnReason() string
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetSubBizOrderId ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetSubBizOrderId() int64
func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetAgentId ¶
func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetAgentId(agentId int64) error
func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetAgreeReturn ¶
func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetAgreeReturn(agreeReturn bool) error
func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetBuyerId ¶
func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetBuyerId(buyerId int64) error
func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetCloseRefundNotify ¶
func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetCloseRefundNotify(closeRefundNotify bool) error
func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetMainBizOrderId ¶
func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetMainBizOrderId(mainBizOrderId int64) error
func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetRefundFee ¶
func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetRefundFee(refundFee int64) error
func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetRefuseReturnReason ¶
func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetRefuseReturnReason(refuseReturnReason string) error
func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetSubBizOrderId ¶
func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetSubBizOrderId(subBizOrderId int64) error
type TaobaoTrainAgentReturnticketConfirmVtwoResponse ¶
type TaobaoTrainAgentReturnticketConfirmVtwoResponse struct { XMLName xml.Name `xml:"train_agent_returnticket_confirm_vtwo_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` }
type TaobaoTrainAgentTostationConfirmAPIResponse ¶
type TaobaoTrainAgentTostationConfirmAPIResponse struct { model.CommonResponse TaobaoTrainAgentTostationConfirmResponse }
线下票确认送票至车站服务 APIResponse taobao.train.agent.tostation.confirm
送票至车站的订单,代理商确认配送到站
type TaobaoTrainAgentTostationConfirmRequest ¶
type TaobaoTrainAgentTostationConfirmRequest struct { model.Params // contains filtered or unexported fields }
线下票确认送票至车站服务 APIRequest taobao.train.agent.tostation.confirm
送票至车站的订单,代理商确认配送到站
func NewTaobaoTrainAgentTostationConfirmRequest ¶
func NewTaobaoTrainAgentTostationConfirmRequest() *TaobaoTrainAgentTostationConfirmRequest
func (TaobaoTrainAgentTostationConfirmRequest) GetAgentId ¶
func (r TaobaoTrainAgentTostationConfirmRequest) GetAgentId() int64
func (TaobaoTrainAgentTostationConfirmRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentTostationConfirmRequest) GetApiMethodName() string
func (TaobaoTrainAgentTostationConfirmRequest) GetApiParams ¶
func (r TaobaoTrainAgentTostationConfirmRequest) GetApiParams() url.Values
func (TaobaoTrainAgentTostationConfirmRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentTostationConfirmRequest) GetMainOrderId() int64
func (*TaobaoTrainAgentTostationConfirmRequest) SetAgentId ¶
func (r *TaobaoTrainAgentTostationConfirmRequest) SetAgentId(agentId int64) error
func (*TaobaoTrainAgentTostationConfirmRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentTostationConfirmRequest) SetMainOrderId(mainOrderId int64) error
type TaobaoTrainAgentTostationConfirmResponse ¶
type TaobaoTrainAgentTostationConfirmResponse 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"` }
type TaobaoTrainAgentTostationReceiveAPIResponse ¶
type TaobaoTrainAgentTostationReceiveAPIResponse struct { model.CommonResponse TaobaoTrainAgentTostationReceiveResponse }
线下票送票至车站代理商确认用户已取票服务 APIResponse taobao.train.agent.tostation.receive
送票至车站的订单,代理商确认用户已取票
type TaobaoTrainAgentTostationReceiveRequest ¶
type TaobaoTrainAgentTostationReceiveRequest struct { model.Params // contains filtered or unexported fields }
线下票送票至车站代理商确认用户已取票服务 APIRequest taobao.train.agent.tostation.receive
送票至车站的订单,代理商确认用户已取票
func NewTaobaoTrainAgentTostationReceiveRequest ¶
func NewTaobaoTrainAgentTostationReceiveRequest() *TaobaoTrainAgentTostationReceiveRequest
func (TaobaoTrainAgentTostationReceiveRequest) GetAgentId ¶
func (r TaobaoTrainAgentTostationReceiveRequest) GetAgentId() int64
func (TaobaoTrainAgentTostationReceiveRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentTostationReceiveRequest) GetApiMethodName() string
func (TaobaoTrainAgentTostationReceiveRequest) GetApiParams ¶
func (r TaobaoTrainAgentTostationReceiveRequest) GetApiParams() url.Values
func (TaobaoTrainAgentTostationReceiveRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentTostationReceiveRequest) GetMainOrderId() int64
func (*TaobaoTrainAgentTostationReceiveRequest) SetAgentId ¶
func (r *TaobaoTrainAgentTostationReceiveRequest) SetAgentId(agentId int64) error
func (*TaobaoTrainAgentTostationReceiveRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentTostationReceiveRequest) SetMainOrderId(mainOrderId int64) error
type TaobaoTrainAgentTostationReceiveResponse ¶
type TaobaoTrainAgentTostationReceiveResponse 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"` }
type TaobaoTrainMomentGetAPIResponse ¶
type TaobaoTrainMomentGetAPIResponse struct { model.CommonResponse TaobaoTrainMomentGetResponse }
火车票时刻表 APIResponse taobao.train.moment.get
查询火车票车次时刻表
type TaobaoTrainMomentGetRequest ¶
火车票时刻表 APIRequest taobao.train.moment.get
查询火车票车次时刻表
func NewTaobaoTrainMomentGetRequest ¶
func NewTaobaoTrainMomentGetRequest() *TaobaoTrainMomentGetRequest
func (TaobaoTrainMomentGetRequest) GetApiMethodName ¶
func (r TaobaoTrainMomentGetRequest) GetApiMethodName() string
func (TaobaoTrainMomentGetRequest) GetApiParams ¶
func (r TaobaoTrainMomentGetRequest) GetApiParams() url.Values
func (TaobaoTrainMomentGetRequest) GetParam ¶
func (r TaobaoTrainMomentGetRequest) GetParam() *TrainMomentTopParam
func (*TaobaoTrainMomentGetRequest) SetParam ¶
func (r *TaobaoTrainMomentGetRequest) SetParam(param *TrainMomentTopParam) error
type TaobaoTrainMomentGetResponse ¶
type TaobaoTrainMomentGetResponse struct { XMLName xml.Name `xml:"train_moment_get_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 Bindex string `json:"bindex,omitempty" xml:"bindex,omitempty"` ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` Stations []StationPassInfo `json:"stations,omitempty" xml:"stations>station_pass_info,omitempty"` IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
type ToAgentTicketInfo ¶
type ToAgentTicketInfo struct { StudentInfo *StudentInfo `json:"student_info,omitempty" xml:"student_info,omitempty"` 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"` Seat int64 `json:"seat,omitempty" xml:"seat,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"` CertificateType string `json:"certificate_type,omitempty" xml:"certificate_type,omitempty"` InsurancePrice int64 `json:"insurance_price,omitempty" xml:"insurance_price,omitempty"` TicketPrice int64 `json:"ticket_price,omitempty" xml:"ticket_price,omitempty"` Birthday string `json:"birthday,omitempty" xml:"birthday,omitempty"` ToTime string `json:"to_time,omitempty" xml:"to_time,omitempty"` Tag int64 `json:"tag,omitempty" xml:"tag,omitempty"` InsuranceUnitPrice int64 `json:"insurance_unit_price,omitempty" xml:"insurance_unit_price,omitempty"` PassengerType int64 `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"` SegmentIndex int64 `json:"segment_index,omitempty" xml:"segment_index,omitempty"` Nationality string `json:"nationality,omitempty" xml:"nationality,omitempty"` NationalityCode string `json:"nationality_code,omitempty" xml:"nationality_code,omitempty"` ValidUntil string `json:"valid_until,omitempty" xml:"valid_until,omitempty"` Gender string `json:"gender,omitempty" xml:"gender,omitempty"` Telephone string `json:"telephone,omitempty" xml:"telephone,omitempty"` RealTicketPrice int64 `json:"real_ticket_price,omitempty" xml:"real_ticket_price,omitempty"` }
ToAgentTicketInfo
type TrainBaseDto ¶
type TrainBaseDto struct { TrainNumber string `json:"train_number,omitempty" xml:"train_number,omitempty"` TrainType int64 `json:"train_type,omitempty" xml:"train_type,omitempty"` RunTime string `json:"run_time,omitempty" xml:"run_time,omitempty"` ToStationTime string `json:"to_station_time,omitempty" xml:"to_station_time,omitempty"` ToStationName string `json:"to_station_name,omitempty" xml:"to_station_name,omitempty"` FromStationTime string `json:"from_station_time,omitempty" xml:"from_station_time,omitempty"` FromStationName string `json:"from_station_name,omitempty" xml:"from_station_name,omitempty"` SeatType string `json:"seat_type,omitempty" xml:"seat_type,omitempty"` }
TrainBaseDto
type TrainMomentTopParam ¶
type TrainMomentTopParam struct { ArrStation string `json:"arr_station,omitempty" xml:"arr_station,omitempty"` DepDate string `json:"dep_date,omitempty" xml:"dep_date,omitempty"` DepStation string `json:"dep_station,omitempty" xml:"dep_station,omitempty"` TrainNo string `json:"train_no,omitempty" xml:"train_no,omitempty"` TrainNoLong string `json:"train_no_long,omitempty" xml:"train_no_long,omitempty"` Ttid string `json:"ttid,omitempty" xml:"ttid,omitempty"` }
TrainMomentTopParam
type TrainPassengerInfoDto ¶
type TrainPassengerInfoDto struct { PayPrice int64 `json:"pay_price,omitempty" xml:"pay_price,omitempty"` SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` HandFee int64 `json:"hand_fee,omitempty" xml:"hand_fee,omitempty"` SeatNum string `json:"seat_num,omitempty" xml:"seat_num,omitempty"` RealSeat int64 `json:"real_seat,omitempty" xml:"real_seat,omitempty"` PassengerType int64 `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"` PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"` CertificateNum string `json:"certificate_num,omitempty" xml:"certificate_num,omitempty"` CertificateType int64 `json:"certificate_type,omitempty" xml:"certificate_type,omitempty"` ChdFollowAdtId string `json:"chd_follow_adt_id,omitempty" xml:"chd_follow_adt_id,omitempty"` }
TrainPassengerInfoDto
Source Files ¶
- AccountParam.go
- AgentAgreeChangeParam.go
- AgentPayOrderParam.go
- AgentRefuseChangeParam.go
- ApplyOrderInfoDo.go
- ChangeHoldSeatParam.go
- ChangeTicketInfo.go
- CompensateParam.go
- HoldSeatParam.go
- OrderInfoDto.go
- OrderTicketInfo.go
- StationPassInfo.go
- StudentInfo.go
- TaobaoTrainAgentBookordersGetRequest.go
- TaobaoTrainAgentBookordersGetResponse.go
- TaobaoTrainAgentBookordersGetVtwoRequest.go
- TaobaoTrainAgentBookordersGetVtwoResponse.go
- TaobaoTrainAgentBookticketConfirmRequest.go
- TaobaoTrainAgentBookticketConfirmResponse.go
- TaobaoTrainAgentBookticketConfirmVtwoRequest.go
- TaobaoTrainAgentBookticketConfirmVtwoResponse.go
- TaobaoTrainAgentChangeAgreeVtwoRequest.go
- TaobaoTrainAgentChangeAgreeVtwoResponse.go
- TaobaoTrainAgentChangeGetVtwoRequest.go
- TaobaoTrainAgentChangeGetVtwoResponse.go
- TaobaoTrainAgentChangeHoldseatConfirmRequest.go
- TaobaoTrainAgentChangeHoldseatConfirmResponse.go
- TaobaoTrainAgentChangeRefuseVtwoRequest.go
- TaobaoTrainAgentChangeRefuseVtwoResponse.go
- TaobaoTrainAgentChangeordersGetRequest.go
- TaobaoTrainAgentChangeordersGetResponse.go
- TaobaoTrainAgentChangeordersGetVtwoRequest.go
- TaobaoTrainAgentChangeordersGetVtwoResponse.go
- TaobaoTrainAgentDirectCompensateRequest.go
- TaobaoTrainAgentDirectCompensateResponse.go
- TaobaoTrainAgentExpressSetRequest.go
- TaobaoTrainAgentExpressSetResponse.go
- TaobaoTrainAgentExpressSetVtwoRequest.go
- TaobaoTrainAgentExpressSetVtwoResponse.go
- TaobaoTrainAgentGetRefundRequest.go
- TaobaoTrainAgentGetRefundResponse.go
- TaobaoTrainAgentGrabAccountRequest.go
- TaobaoTrainAgentGrabAccountResponse.go
- TaobaoTrainAgentHandleticketConfirmRequest.go
- TaobaoTrainAgentHandleticketConfirmResponse.go
- TaobaoTrainAgentHandleticketConfirmVtwoRequest.go
- TaobaoTrainAgentHandleticketConfirmVtwoResponse.go
- TaobaoTrainAgentHandrefundRefundfeeRequest.go
- TaobaoTrainAgentHandrefundRefundfeeResponse.go
- TaobaoTrainAgentHoldseatConfirmRequest.go
- TaobaoTrainAgentHoldseatConfirmResponse.go
- TaobaoTrainAgentOrderGetRequest.go
- TaobaoTrainAgentOrderGetResponse.go
- TaobaoTrainAgentOrderGetVtwoRequest.go
- TaobaoTrainAgentOrderGetVtwoResponse.go
- TaobaoTrainAgentOrderPayRequest.go
- TaobaoTrainAgentOrderPayResponse.go
- TaobaoTrainAgentReturnordersGetVtwoRequest.go
- TaobaoTrainAgentReturnordersGetVtwoResponse.go
- TaobaoTrainAgentReturnticketConfirmVtwoRequest.go
- TaobaoTrainAgentReturnticketConfirmVtwoResponse.go
- TaobaoTrainAgentTostationConfirmRequest.go
- TaobaoTrainAgentTostationConfirmResponse.go
- TaobaoTrainAgentTostationReceiveRequest.go
- TaobaoTrainAgentTostationReceiveResponse.go
- TaobaoTrainMomentGetRequest.go
- TaobaoTrainMomentGetResponse.go
- ToAgentTicketInfo.go
- TrainBaseDto.go
- TrainMomentTopParam.go
- TrainPassengerInfoDto.go