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 { // 代理商ID AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"` // 主订单号 OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` // 12306账户名 AccountName string `json:"account_name,omitempty" xml:"account_name,omitempty"` // 12306账户密码 AccountPassword string `json:"account_password,omitempty" xml:"account_password,omitempty"` }
AccountParam
type AgentAgreeChangeParam ¶
type AgentAgreeChangeParam struct { // 申请单id 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"` // 代理商id 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>change_ticket_info,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"` // 12306票号 SequenceNo string `json:"sequence_no,omitempty" xml:"sequence_no,omitempty"` // 12306支付url 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 { // 改签申请单id ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"` // 扩展参数 ExtendParam string `json:"extend_param,omitempty" xml:"extend_param,omitempty"` // 拒绝原因类型,0 其他、1 余票不足、2 已取票、3 已线下退票 RefuseType int64 `json:"refuse_type,omitempty" xml:"refuse_type,omitempty"` // 备注 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 代理商id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 订单id 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>train_passenger_info_dto,omitempty"` // 支付url PayUrl string `json:"pay_url,omitempty" xml:"pay_url,omitempty"` // 是否可以退改 true:支持 false:不支持 CanRefund bool `json:"can_refund,omitempty" xml:"can_refund,omitempty"` // 改签单号 ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"` // 改签支付url有效期 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"` // 占座结果 true:占座成功 false:占座失败 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 { // 代理商id AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"` // 订单id OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` // 改签单id 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"` // 和出票失败错误码回填相同,666666代表占座失败转后占座 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"` // 代理商id 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>train_passenger_info_dto,omitempty"` // 是否联程 IsMultiTrip bool `json:"is_multi_trip,omitempty" xml:"is_multi_trip,omitempty"` // 是否可以退改 CanRefund bool `json:"can_refund,omitempty" xml:"can_refund,omitempty"` // 12306支付截止时间 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"` // 支付url 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 { // ttp子单ID TtpSubOrderId int64 `json:"ttp_sub_order_id,omitempty" xml:"ttp_sub_order_id,omitempty"` // 真实票价 RealTicketPrice int64 `json:"real_ticket_price,omitempty" xml:"real_ticket_price,omitempty"` // 真实坐席 RealSeat int64 `json:"real_seat,omitempty" xml:"real_seat,omitempty"` // 座位号 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"` // 定制票出票结果 1:定制票出票 0:非定制票出票 VipCustomResult int64 `json:"vip_custom_result,omitempty" xml:"vip_custom_result,omitempty"` // 12306票号 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"` // 当前站点索引,从1开始 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 { // demo Card string `json:"card,omitempty" xml:"card,omitempty"` // demo Classes string `json:"classes,omitempty" xml:"classes,omitempty"` // demo DepartMent string `json:"depart_ment,omitempty" xml:"depart_ment,omitempty"` // demo EductionalSystem string `json:"eductional_system,omitempty" xml:"eductional_system,omitempty"` // demo EntranceYear string `json:"entrance_year,omitempty" xml:"entrance_year,omitempty"` // demo FromCity string `json:"from_city,omitempty" xml:"from_city,omitempty"` // demo SchoolName string `json:"school_name,omitempty" xml:"school_name,omitempty"` // demo SchoolProvince string `json:"school_province,omitempty" xml:"school_province,omitempty"` // demo StudentNo string `json:"student_no,omitempty" xml:"student_no,omitempty"` // demo ToCity string `json:"to_city,omitempty" xml:"to_city,omitempty"` }
StudentInfo
type TaobaoTrainAgentBookordersGetAPIResponse ¶
type TaobaoTrainAgentBookordersGetAPIResponse struct { model.CommonResponse TaobaoTrainAgentBookordersGetResponse }
代理商获取待出票订单列表 API返回值 taobao.train.agent.bookorders.get
代理商获取待出票订单列表,只返回订单号
type TaobaoTrainAgentBookordersGetRequest ¶
type TaobaoTrainAgentBookordersGetRequest struct { model.Params // contains filtered or unexported fields }
代理商获取待出票订单列表 API请求 taobao.train.agent.bookorders.get
代理商获取待出票订单列表,只返回订单号
func NewTaobaoTrainAgentBookordersGetRequest ¶
func NewTaobaoTrainAgentBookordersGetRequest() *TaobaoTrainAgentBookordersGetRequest
初始化TaobaoTrainAgentBookordersGetRequest对象
func (TaobaoTrainAgentBookordersGetRequest) GetAgentId ¶
func (r TaobaoTrainAgentBookordersGetRequest) GetAgentId() int64
AgentId Getter
func (TaobaoTrainAgentBookordersGetRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentBookordersGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentBookordersGetRequest) GetApiParams ¶
func (r TaobaoTrainAgentBookordersGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (*TaobaoTrainAgentBookordersGetRequest) SetAgentId ¶
func (r *TaobaoTrainAgentBookordersGetRequest) SetAgentId(agentId int64) error
AgentId Setter 代理商id
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--增加鉴权校验 API返回值 taobao.train.agent.bookorders.get.vtwo
代理商获取待出票订单列表,只返回订单号
type TaobaoTrainAgentBookordersGetVtwoRequest ¶
type TaobaoTrainAgentBookordersGetVtwoRequest struct { model.Params // contains filtered or unexported fields }
代理商获取待出票订单列表v2--增加鉴权校验 API请求 taobao.train.agent.bookorders.get.vtwo
代理商获取待出票订单列表,只返回订单号
func NewTaobaoTrainAgentBookordersGetVtwoRequest ¶
func NewTaobaoTrainAgentBookordersGetVtwoRequest() *TaobaoTrainAgentBookordersGetVtwoRequest
初始化TaobaoTrainAgentBookordersGetVtwoRequest对象
func (TaobaoTrainAgentBookordersGetVtwoRequest) GetAgentId ¶
func (r TaobaoTrainAgentBookordersGetVtwoRequest) GetAgentId() int64
AgentId Getter
func (TaobaoTrainAgentBookordersGetVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentBookordersGetVtwoRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentBookordersGetVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentBookordersGetVtwoRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (*TaobaoTrainAgentBookordersGetVtwoRequest) SetAgentId ¶
func (r *TaobaoTrainAgentBookordersGetVtwoRequest) SetAgentId(agentId int64) error
AgentId Setter 代理商id
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"` }
代理商获取待出票订单列表v2--增加鉴权校验 成功返回结果
type TaobaoTrainAgentBookticketConfirmAPIResponse ¶
type TaobaoTrainAgentBookticketConfirmAPIResponse struct { model.CommonResponse TaobaoTrainAgentBookticketConfirmResponse }
火车票代理商接口——确认出票是否成功 API返回值 taobao.train.agent.bookticket.confirm
火车票代理商接口——确认出票是否成功
type TaobaoTrainAgentBookticketConfirmRequest ¶
type TaobaoTrainAgentBookticketConfirmRequest struct { model.Params // contains filtered or unexported fields }
火车票代理商接口——确认出票是否成功 API请求 taobao.train.agent.bookticket.confirm
火车票代理商接口——确认出票是否成功
func NewTaobaoTrainAgentBookticketConfirmRequest ¶
func NewTaobaoTrainAgentBookticketConfirmRequest() *TaobaoTrainAgentBookticketConfirmRequest
初始化TaobaoTrainAgentBookticketConfirmRequest对象
func (TaobaoTrainAgentBookticketConfirmRequest) GetAgentId ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetAgentId() int64
AgentId Getter
func (TaobaoTrainAgentBookticketConfirmRequest) GetAlipayAccount ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetAlipayAccount() string
AlipayAccount Getter
func (TaobaoTrainAgentBookticketConfirmRequest) GetAlipayTradeNo ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetAlipayTradeNo() string
AlipayTradeNo Getter
func (TaobaoTrainAgentBookticketConfirmRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentBookticketConfirmRequest) GetApiParams ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentBookticketConfirmRequest) GetArriveDate ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetArriveDate() string
ArriveDate Getter
func (TaobaoTrainAgentBookticketConfirmRequest) GetBoardingGates ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetBoardingGates() string
BoardingGates Getter
func (TaobaoTrainAgentBookticketConfirmRequest) GetCanChange ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetCanChange() bool
CanChange Getter
func (TaobaoTrainAgentBookticketConfirmRequest) GetDepDate ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetDepDate() string
DepDate Getter
func (TaobaoTrainAgentBookticketConfirmRequest) GetFailMsg ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetFailMsg() string
FailMsg Getter
func (TaobaoTrainAgentBookticketConfirmRequest) GetFromStationName ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetFromStationName() string
FromStationName Getter
func (TaobaoTrainAgentBookticketConfirmRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetMainOrderId() int64
MainOrderId Getter
func (TaobaoTrainAgentBookticketConfirmRequest) GetOrderType ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetOrderType() int64
OrderType Getter
func (TaobaoTrainAgentBookticketConfirmRequest) GetStatus ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetStatus() bool
Status Getter
func (TaobaoTrainAgentBookticketConfirmRequest) GetSubOrderId ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetSubOrderId() string
SubOrderId Getter
func (TaobaoTrainAgentBookticketConfirmRequest) GetTicket12306Id ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetTicket12306Id() string
Ticket12306Id Getter
func (TaobaoTrainAgentBookticketConfirmRequest) GetTicketNum ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetTicketNum() int64
TicketNum Getter
func (TaobaoTrainAgentBookticketConfirmRequest) GetTickets ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetTickets() []string
Tickets Getter
func (TaobaoTrainAgentBookticketConfirmRequest) GetToStationName ¶
func (r TaobaoTrainAgentBookticketConfirmRequest) GetToStationName() string
ToStationName Getter
func (*TaobaoTrainAgentBookticketConfirmRequest) SetAgentId ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetAgentId(agentId int64) error
AgentId Setter 代理商id
func (*TaobaoTrainAgentBookticketConfirmRequest) SetAlipayAccount ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetAlipayAccount(alipayAccount string) error
AlipayAccount Setter 支付宝账号
func (*TaobaoTrainAgentBookticketConfirmRequest) SetAlipayTradeNo ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetAlipayTradeNo(alipayTradeNo string) error
AlipayTradeNo Setter 支付宝交易流水号
func (*TaobaoTrainAgentBookticketConfirmRequest) SetArriveDate ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetArriveDate(arriveDate string) error
ArriveDate Setter 到达时间
func (*TaobaoTrainAgentBookticketConfirmRequest) SetBoardingGates ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetBoardingGates(boardingGates string) error
BoardingGates Setter 检票口
func (*TaobaoTrainAgentBookticketConfirmRequest) SetCanChange ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetCanChange(canChange bool) error
CanChange Setter 是否支持在线退改签
func (*TaobaoTrainAgentBookticketConfirmRequest) SetDepDate ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetDepDate(depDate string) error
DepDate Setter 出发时间
func (*TaobaoTrainAgentBookticketConfirmRequest) SetFailMsg ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetFailMsg(failMsg string) error
FailMsg Setter 记录失败原因,传数字,1:票已售完,2:票价变动,3:乘车人已购相同车票,4:出票超时,5:乘车人证件未通过铁路局核验,6:发车时间变动,7:车次信息变更,8:12306故障,9:学生票信息有误,10:身份冒用,11:被限制高消费,12:坐票已售完,13:行程冲突,14:预售期变更,15:用户12306账号登录失败,16:12306账号存在未支付订单,17:用户常旅客已满,18:乘客信息有误,19:非法席别,20:车次停运,21:session登陆失败,22:账户已在其他地方登陆,23:帐号手机未核验,24:取消订单次数达到上限,25:帐号持有人身份未核验,26:邮寄地址无法保证及时送达,27:无法满足用户定制需求,28:您主动要求取消,0:未知原因
func (*TaobaoTrainAgentBookticketConfirmRequest) SetFromStationName ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetFromStationName(fromStationName string) error
FromStationName Setter 出发站
func (*TaobaoTrainAgentBookticketConfirmRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetMainOrderId(mainOrderId int64) error
MainOrderId Setter 主订单id
func (*TaobaoTrainAgentBookticketConfirmRequest) SetOrderType ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetOrderType(orderType int64) error
OrderType Setter 订单类型 0 代购 1直购 3抢票
func (*TaobaoTrainAgentBookticketConfirmRequest) SetStatus ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetStatus(status bool) error
Status Setter 是否成功
func (*TaobaoTrainAgentBookticketConfirmRequest) SetSubOrderId ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetSubOrderId(subOrderId string) error
SubOrderId Setter 错误的子订单号123434,123432
func (*TaobaoTrainAgentBookticketConfirmRequest) SetTicket12306Id ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetTicket12306Id(ticket12306Id string) error
Ticket12306Id Setter 12306成功出票id
func (*TaobaoTrainAgentBookticketConfirmRequest) SetTicketNum ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetTicketNum(ticketNum int64) error
TicketNum Setter 订单中包含的票数量
func (*TaobaoTrainAgentBookticketConfirmRequest) SetTickets ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetTickets(tickets []string) error
Tickets Setter 火车票子订单id;单价;坐席;座次号;车次;乘车人姓名;证件类型;证件号码;保单号;保单价格 (座次号格式:坐席_车厢号_座位号,eg1:硬卧_09_03号下铺 eg2:硬座_02_03c ,注意:票价、保险价格必须到分)
func (*TaobaoTrainAgentBookticketConfirmRequest) SetToStationName ¶
func (r *TaobaoTrainAgentBookticketConfirmRequest) SetToStationName(toStationName string) error
ToStationName Setter 到达站
type TaobaoTrainAgentBookticketConfirmResponse ¶
type TaobaoTrainAgentBookticketConfirmResponse struct { XMLName xml.Name `xml:"train_agent_bookticket_confirm_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
火车票代理商接口——确认出票是否成功 成功返回结果
type TaobaoTrainAgentBookticketConfirmVtwoAPIResponse ¶
type TaobaoTrainAgentBookticketConfirmVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentBookticketConfirmVtwoResponse }
火车票代理商接口——确认出票是否成功v2--增加鉴权校验 API返回值 taobao.train.agent.bookticket.confirm.vtwo
火车票代理商接口——确认出票是否成功
type TaobaoTrainAgentBookticketConfirmVtwoRequest ¶
type TaobaoTrainAgentBookticketConfirmVtwoRequest struct { model.Params // contains filtered or unexported fields }
火车票代理商接口——确认出票是否成功v2--增加鉴权校验 API请求 taobao.train.agent.bookticket.confirm.vtwo
火车票代理商接口——确认出票是否成功
func NewTaobaoTrainAgentBookticketConfirmVtwoRequest ¶
func NewTaobaoTrainAgentBookticketConfirmVtwoRequest() *TaobaoTrainAgentBookticketConfirmVtwoRequest
初始化TaobaoTrainAgentBookticketConfirmVtwoRequest对象
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAgentId ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAgentId() int64
AgentId Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAlipayAccount ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAlipayAccount() string
AlipayAccount Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAlipayTradeNo ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAlipayTradeNo() string
AlipayTradeNo Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetArriveDate ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetArriveDate() string
ArriveDate Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetBoardingGates ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetBoardingGates() string
BoardingGates Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetCanChange ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetCanChange() bool
CanChange Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetDepDate ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetDepDate() string
DepDate Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetExpectDeliveryTime ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetExpectDeliveryTime() string
ExpectDeliveryTime Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetExtendParams ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetExtendParams() string
ExtendParams Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetFailMsg ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetFailMsg() string
FailMsg Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetFromStationName ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetFromStationName() string
FromStationName Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetMainOrderId() int64
MainOrderId Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetOrderType ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetOrderType() int64
OrderType Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetStatus ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetStatus() bool
Status Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetSubOrderId ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetSubOrderId() string
SubOrderId Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicket12306Id ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicket12306Id() string
Ticket12306Id Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicketInfoList ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicketInfoList() []OrderTicketInfo
TicketInfoList Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicketNum ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicketNum() int64
TicketNum Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTickets ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTickets() []string
Tickets Getter
func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetToStationName ¶
func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetToStationName() string
ToStationName Getter
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAgentId ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAgentId(agentId int64) error
AgentId Setter 代理商id
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAlipayAccount ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAlipayAccount(alipayAccount string) error
AlipayAccount Setter 支付宝账号
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAlipayTradeNo ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAlipayTradeNo(alipayTradeNo string) error
AlipayTradeNo Setter 支付宝交易流水号
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetArriveDate ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetArriveDate(arriveDate string) error
ArriveDate Setter 到达时间
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetBoardingGates ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetBoardingGates(boardingGates string) error
BoardingGates Setter 检票口
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetCanChange ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetCanChange(canChange bool) error
CanChange Setter 是否支持在线退改签
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetDepDate ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetDepDate(depDate string) error
DepDate Setter 出发时间
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetExpectDeliveryTime ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetExpectDeliveryTime(expectDeliveryTime string) error
ExpectDeliveryTime Setter 送票上门预计派送时间
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetExtendParams ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetExtendParams(extendParams string) error
ExtendParams Setter 扩展字段
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetFailMsg ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetFailMsg(failMsg string) error
FailMsg Setter 记录失败原因,传数字,1、票已售完,出票失败全额退款,2、票价变动,出票失败全额退款,3、乘车人已购买相同车票,出票失败全额退款, 4、出票超时,出票失败全额退款,5、乘车人证件未通过铁路局审核,需到售票窗口办理, 6、发车时间变动,出票失败全额退款,7、车次信息错误,出票失败全额退款,8、12306故障,出票失败全额退款, 0、出票失败全额退款
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetFromStationName ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetFromStationName(fromStationName string) error
FromStationName Setter 出发站
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetMainOrderId(mainOrderId int64) error
MainOrderId Setter 主订单id
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetOrderType ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetOrderType(orderType int64) error
OrderType Setter 订单类型0 代购 1直购 3抢票
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetStatus ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetStatus(status bool) error
Status Setter 是否成功
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetSubOrderId ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetSubOrderId(subOrderId string) error
SubOrderId Setter 错误的子订单号123434,123432
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicket12306Id ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicket12306Id(ticket12306Id string) error
Ticket12306Id Setter 12306成功出票id
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicketInfoList ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicketInfoList(ticketInfoList []OrderTicketInfo) error
TicketInfoList Setter 票信息列表
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicketNum ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicketNum(ticketNum int64) error
TicketNum Setter 订单中包含的票数量
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTickets ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTickets(tickets []string) error
Tickets Setter 火车票id;单价;坐席;座次号;车次;乘车人姓名;证件类型;证件号码;保单号;保单价格特别注意:票价、保险价格必须到分,例如10元,输入为1000.
func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetToStationName ¶
func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetToStationName(toStationName string) error
ToStationName Setter 到达站
type TaobaoTrainAgentBookticketConfirmVtwoResponse ¶
type TaobaoTrainAgentBookticketConfirmVtwoResponse struct { XMLName xml.Name `xml:"train_agent_bookticket_confirm_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
火车票代理商接口——确认出票是否成功v2--增加鉴权校验 成功返回结果
type TaobaoTrainAgentChangeAgreeVtwoAPIResponse ¶
type TaobaoTrainAgentChangeAgreeVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentChangeAgreeVtwoResponse }
代理商同意改签v2--增加鉴权校验 API返回值 taobao.train.agent.change.agree.vtwo
代理商同意改签接口服务
type TaobaoTrainAgentChangeAgreeVtwoRequest ¶
type TaobaoTrainAgentChangeAgreeVtwoRequest struct { model.Params // contains filtered or unexported fields }
代理商同意改签v2--增加鉴权校验 API请求 taobao.train.agent.change.agree.vtwo
代理商同意改签接口服务
func NewTaobaoTrainAgentChangeAgreeVtwoRequest ¶
func NewTaobaoTrainAgentChangeAgreeVtwoRequest() *TaobaoTrainAgentChangeAgreeVtwoRequest
初始化TaobaoTrainAgentChangeAgreeVtwoRequest对象
func (TaobaoTrainAgentChangeAgreeVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentChangeAgreeVtwoRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentChangeAgreeVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentChangeAgreeVtwoRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentChangeAgreeVtwoRequest) GetParam ¶
func (r TaobaoTrainAgentChangeAgreeVtwoRequest) GetParam() *AgentAgreeChangeParam
Param Getter
func (*TaobaoTrainAgentChangeAgreeVtwoRequest) SetParam ¶
func (r *TaobaoTrainAgentChangeAgreeVtwoRequest) SetParam(param *AgentAgreeChangeParam) error
Param Setter 代理商同意改签参数
type TaobaoTrainAgentChangeAgreeVtwoResponse ¶
type TaobaoTrainAgentChangeAgreeVtwoResponse struct { XMLName xml.Name `xml:"train_agent_change_agree_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
代理商同意改签v2--增加鉴权校验 成功返回结果
type TaobaoTrainAgentChangeGetVtwoAPIResponse ¶
type TaobaoTrainAgentChangeGetVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentChangeGetVtwoResponse }
获取改签单详情v2--增加鉴权校验 API返回值 taobao.train.agent.change.get.vtwo
卖家获取待处理的改签单详情
type TaobaoTrainAgentChangeGetVtwoRequest ¶
type TaobaoTrainAgentChangeGetVtwoRequest struct { model.Params // contains filtered or unexported fields }
获取改签单详情v2--增加鉴权校验 API请求 taobao.train.agent.change.get.vtwo
卖家获取待处理的改签单详情
func NewTaobaoTrainAgentChangeGetVtwoRequest ¶
func NewTaobaoTrainAgentChangeGetVtwoRequest() *TaobaoTrainAgentChangeGetVtwoRequest
初始化TaobaoTrainAgentChangeGetVtwoRequest对象
func (TaobaoTrainAgentChangeGetVtwoRequest) GetAgentId ¶
func (r TaobaoTrainAgentChangeGetVtwoRequest) GetAgentId() int64
AgentId Getter
func (TaobaoTrainAgentChangeGetVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentChangeGetVtwoRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentChangeGetVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentChangeGetVtwoRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentChangeGetVtwoRequest) GetApplyId ¶
func (r TaobaoTrainAgentChangeGetVtwoRequest) GetApplyId() int64
ApplyId Getter
func (*TaobaoTrainAgentChangeGetVtwoRequest) SetAgentId ¶
func (r *TaobaoTrainAgentChangeGetVtwoRequest) SetAgentId(agentId int64) error
AgentId Setter 代理商id
func (*TaobaoTrainAgentChangeGetVtwoRequest) SetApplyId ¶
func (r *TaobaoTrainAgentChangeGetVtwoRequest) SetApplyId(applyId int64) error
ApplyId Setter 申请单id
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"` // 1 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"` // 状态,1 待支付、2 待改签、3 已改签、4 改签失败 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"` }
获取改签单详情v2--增加鉴权校验 成功返回结果
type TaobaoTrainAgentChangeHoldseatConfirmAPIResponse ¶
type TaobaoTrainAgentChangeHoldseatConfirmAPIResponse struct { model.CommonResponse TaobaoTrainAgentChangeHoldseatConfirmResponse }
火车票代理商接口——确认改签占座是否成功 API返回值 taobao.train.agent.change.holdseat.confirm
火车票代理商接口——确认改签占座是否成功
type TaobaoTrainAgentChangeHoldseatConfirmRequest ¶
type TaobaoTrainAgentChangeHoldseatConfirmRequest struct { model.Params // contains filtered or unexported fields }
火车票代理商接口——确认改签占座是否成功 API请求 taobao.train.agent.change.holdseat.confirm
火车票代理商接口——确认改签占座是否成功
func NewTaobaoTrainAgentChangeHoldseatConfirmRequest ¶
func NewTaobaoTrainAgentChangeHoldseatConfirmRequest() *TaobaoTrainAgentChangeHoldseatConfirmRequest
初始化TaobaoTrainAgentChangeHoldseatConfirmRequest对象
func (TaobaoTrainAgentChangeHoldseatConfirmRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentChangeHoldseatConfirmRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentChangeHoldseatConfirmRequest) GetApiParams ¶
func (r TaobaoTrainAgentChangeHoldseatConfirmRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentChangeHoldseatConfirmRequest) GetChangeHoldSeatParam ¶
func (r TaobaoTrainAgentChangeHoldseatConfirmRequest) GetChangeHoldSeatParam() *ChangeHoldSeatParam
ChangeHoldSeatParam Getter
func (*TaobaoTrainAgentChangeHoldseatConfirmRequest) SetChangeHoldSeatParam ¶
func (r *TaobaoTrainAgentChangeHoldseatConfirmRequest) SetChangeHoldSeatParam(changeHoldSeatParam *ChangeHoldSeatParam) error
ChangeHoldSeatParam Setter 改签占座入参
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"` // errorCode ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // errorMsg ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` }
火车票代理商接口——确认改签占座是否成功 成功返回结果
type TaobaoTrainAgentChangeRefuseVtwoAPIResponse ¶
type TaobaoTrainAgentChangeRefuseVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentChangeRefuseVtwoResponse }
代理商拒绝改签v2--增加鉴权校验 API返回值 taobao.train.agent.change.refuse.vtwo
代理商拒绝火车票改签服务
type TaobaoTrainAgentChangeRefuseVtwoRequest ¶
type TaobaoTrainAgentChangeRefuseVtwoRequest struct { model.Params // contains filtered or unexported fields }
代理商拒绝改签v2--增加鉴权校验 API请求 taobao.train.agent.change.refuse.vtwo
代理商拒绝火车票改签服务
func NewTaobaoTrainAgentChangeRefuseVtwoRequest ¶
func NewTaobaoTrainAgentChangeRefuseVtwoRequest() *TaobaoTrainAgentChangeRefuseVtwoRequest
初始化TaobaoTrainAgentChangeRefuseVtwoRequest对象
func (TaobaoTrainAgentChangeRefuseVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentChangeRefuseVtwoRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentChangeRefuseVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentChangeRefuseVtwoRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentChangeRefuseVtwoRequest) GetParam ¶
func (r TaobaoTrainAgentChangeRefuseVtwoRequest) GetParam() *AgentRefuseChangeParam
Param Getter
func (*TaobaoTrainAgentChangeRefuseVtwoRequest) SetParam ¶
func (r *TaobaoTrainAgentChangeRefuseVtwoRequest) SetParam(param *AgentRefuseChangeParam) error
Param Setter 代理商拒绝改签参数
type TaobaoTrainAgentChangeRefuseVtwoResponse ¶
type TaobaoTrainAgentChangeRefuseVtwoResponse struct { XMLName xml.Name `xml:"train_agent_change_refuse_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
代理商拒绝改签v2--增加鉴权校验 成功返回结果
type TaobaoTrainAgentChangeordersGetAPIResponse ¶
type TaobaoTrainAgentChangeordersGetAPIResponse struct { model.CommonResponse TaobaoTrainAgentChangeordersGetResponse }
获取待改签订单 API返回值 taobao.train.agent.changeorders.get
代理商用来获取待改签的订单列表及数量,防止代理商掉单。
type TaobaoTrainAgentChangeordersGetRequest ¶
type TaobaoTrainAgentChangeordersGetRequest struct { model.Params // contains filtered or unexported fields }
获取待改签订单 API请求 taobao.train.agent.changeorders.get
代理商用来获取待改签的订单列表及数量,防止代理商掉单。
func NewTaobaoTrainAgentChangeordersGetRequest ¶
func NewTaobaoTrainAgentChangeordersGetRequest() *TaobaoTrainAgentChangeordersGetRequest
初始化TaobaoTrainAgentChangeordersGetRequest对象
func (TaobaoTrainAgentChangeordersGetRequest) GetAgentId ¶
func (r TaobaoTrainAgentChangeordersGetRequest) GetAgentId() int64
AgentId Getter
func (TaobaoTrainAgentChangeordersGetRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentChangeordersGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentChangeordersGetRequest) GetApiParams ¶
func (r TaobaoTrainAgentChangeordersGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (*TaobaoTrainAgentChangeordersGetRequest) SetAgentId ¶
func (r *TaobaoTrainAgentChangeordersGetRequest) SetAgentId(agentId int64) error
AgentId Setter 卖家id
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"` // 逗号连接的多个改签单id ApplyIds string `json:"apply_ids,omitempty" xml:"apply_ids,omitempty"` }
获取待改签订单 成功返回结果
type TaobaoTrainAgentChangeordersGetVtwoAPIResponse ¶
type TaobaoTrainAgentChangeordersGetVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentChangeordersGetVtwoResponse }
获取待改签订单v2--增加鉴权校验 API返回值 taobao.train.agent.changeorders.get.vtwo
代理商用来获取待改签的订单列表及数量,防止代理商掉单。
type TaobaoTrainAgentChangeordersGetVtwoRequest ¶
type TaobaoTrainAgentChangeordersGetVtwoRequest struct { model.Params // contains filtered or unexported fields }
获取待改签订单v2--增加鉴权校验 API请求 taobao.train.agent.changeorders.get.vtwo
代理商用来获取待改签的订单列表及数量,防止代理商掉单。
func NewTaobaoTrainAgentChangeordersGetVtwoRequest ¶
func NewTaobaoTrainAgentChangeordersGetVtwoRequest() *TaobaoTrainAgentChangeordersGetVtwoRequest
初始化TaobaoTrainAgentChangeordersGetVtwoRequest对象
func (TaobaoTrainAgentChangeordersGetVtwoRequest) GetAgentId ¶
func (r TaobaoTrainAgentChangeordersGetVtwoRequest) GetAgentId() int64
AgentId Getter
func (TaobaoTrainAgentChangeordersGetVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentChangeordersGetVtwoRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentChangeordersGetVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentChangeordersGetVtwoRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (*TaobaoTrainAgentChangeordersGetVtwoRequest) SetAgentId ¶
func (r *TaobaoTrainAgentChangeordersGetVtwoRequest) SetAgentId(agentId int64) error
AgentId Setter 卖家id
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"` // 逗号连接的多个改签单id ApplyIds string `json:"apply_ids,omitempty" xml:"apply_ids,omitempty"` }
获取待改签订单v2--增加鉴权校验 成功返回结果
type TaobaoTrainAgentDirectCompensateAPIResponse ¶
type TaobaoTrainAgentDirectCompensateAPIResponse struct { model.CommonResponse TaobaoTrainAgentDirectCompensateResponse }
火车票代理商接口——订单关闭实际出票成功审计接口 API返回值 taobao.train.agent.direct.compensate
代购直连订单平台关单但是代理商出票成功补偿接口
type TaobaoTrainAgentDirectCompensateRequest ¶
type TaobaoTrainAgentDirectCompensateRequest struct { model.Params // contains filtered or unexported fields }
火车票代理商接口——订单关闭实际出票成功审计接口 API请求 taobao.train.agent.direct.compensate
代购直连订单平台关单但是代理商出票成功补偿接口
func NewTaobaoTrainAgentDirectCompensateRequest ¶
func NewTaobaoTrainAgentDirectCompensateRequest() *TaobaoTrainAgentDirectCompensateRequest
初始化TaobaoTrainAgentDirectCompensateRequest对象
func (TaobaoTrainAgentDirectCompensateRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentDirectCompensateRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentDirectCompensateRequest) GetApiParams ¶
func (r TaobaoTrainAgentDirectCompensateRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentDirectCompensateRequest) GetCompensateParam ¶
func (r TaobaoTrainAgentDirectCompensateRequest) GetCompensateParam() *CompensateParam
CompensateParam Getter
func (*TaobaoTrainAgentDirectCompensateRequest) SetCompensateParam ¶
func (r *TaobaoTrainAgentDirectCompensateRequest) SetCompensateParam(compensateParam *CompensateParam) error
CompensateParam Setter 出票成功补偿入参
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 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // resultMsg ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` }
火车票代理商接口——订单关闭实际出票成功审计接口 成功返回结果
type TaobaoTrainAgentExpressSetAPIResponse ¶
type TaobaoTrainAgentExpressSetAPIResponse struct { model.CommonResponse TaobaoTrainAgentExpressSetResponse }
线下票回填物流信息 API返回值 taobao.train.agent.express.set
线下票回填物流信息服务
type TaobaoTrainAgentExpressSetRequest ¶
type TaobaoTrainAgentExpressSetRequest struct { model.Params // contains filtered or unexported fields }
线下票回填物流信息 API请求 taobao.train.agent.express.set
线下票回填物流信息服务
func NewTaobaoTrainAgentExpressSetRequest ¶
func NewTaobaoTrainAgentExpressSetRequest() *TaobaoTrainAgentExpressSetRequest
初始化TaobaoTrainAgentExpressSetRequest对象
func (TaobaoTrainAgentExpressSetRequest) GetAddr ¶
func (r TaobaoTrainAgentExpressSetRequest) GetAddr() string
Addr Getter
func (TaobaoTrainAgentExpressSetRequest) GetAgentId ¶
func (r TaobaoTrainAgentExpressSetRequest) GetAgentId() int64
AgentId Getter
func (TaobaoTrainAgentExpressSetRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentExpressSetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentExpressSetRequest) GetApiParams ¶
func (r TaobaoTrainAgentExpressSetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentExpressSetRequest) GetExpressId ¶
func (r TaobaoTrainAgentExpressSetRequest) GetExpressId() string
ExpressId Getter
func (TaobaoTrainAgentExpressSetRequest) GetExpressName ¶
func (r TaobaoTrainAgentExpressSetRequest) GetExpressName() string
ExpressName Getter
func (TaobaoTrainAgentExpressSetRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentExpressSetRequest) GetMainOrderId() int64
MainOrderId Getter
func (TaobaoTrainAgentExpressSetRequest) GetMobile ¶
func (r TaobaoTrainAgentExpressSetRequest) GetMobile() string
Mobile Getter
func (*TaobaoTrainAgentExpressSetRequest) SetAddr ¶
func (r *TaobaoTrainAgentExpressSetRequest) SetAddr(addr string) error
Addr Setter 发货地址
func (*TaobaoTrainAgentExpressSetRequest) SetAgentId ¶
func (r *TaobaoTrainAgentExpressSetRequest) SetAgentId(agentId int64) error
AgentId Setter 代理商id
func (*TaobaoTrainAgentExpressSetRequest) SetExpressId ¶
func (r *TaobaoTrainAgentExpressSetRequest) SetExpressId(expressId string) error
ExpressId Setter 物流单号
func (*TaobaoTrainAgentExpressSetRequest) SetExpressName ¶
func (r *TaobaoTrainAgentExpressSetRequest) SetExpressName(expressName string) error
ExpressName Setter 物流公司:SF,EMS
func (*TaobaoTrainAgentExpressSetRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentExpressSetRequest) SetMainOrderId(mainOrderId int64) error
MainOrderId Setter 订单号
func (*TaobaoTrainAgentExpressSetRequest) SetMobile ¶
func (r *TaobaoTrainAgentExpressSetRequest) SetMobile(mobile string) error
Mobile Setter 手机号
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--增加鉴权校验 API返回值 taobao.train.agent.express.set.vtwo
线下票回填物流信息服务
type TaobaoTrainAgentExpressSetVtwoRequest ¶
type TaobaoTrainAgentExpressSetVtwoRequest struct { model.Params // contains filtered or unexported fields }
线下票回填物流信息v2--增加鉴权校验 API请求 taobao.train.agent.express.set.vtwo
线下票回填物流信息服务
func NewTaobaoTrainAgentExpressSetVtwoRequest ¶
func NewTaobaoTrainAgentExpressSetVtwoRequest() *TaobaoTrainAgentExpressSetVtwoRequest
初始化TaobaoTrainAgentExpressSetVtwoRequest对象
func (TaobaoTrainAgentExpressSetVtwoRequest) GetAddr ¶
func (r TaobaoTrainAgentExpressSetVtwoRequest) GetAddr() string
Addr Getter
func (TaobaoTrainAgentExpressSetVtwoRequest) GetAgentId ¶
func (r TaobaoTrainAgentExpressSetVtwoRequest) GetAgentId() int64
AgentId Getter
func (TaobaoTrainAgentExpressSetVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentExpressSetVtwoRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentExpressSetVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentExpressSetVtwoRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentExpressSetVtwoRequest) GetExpressId ¶
func (r TaobaoTrainAgentExpressSetVtwoRequest) GetExpressId() string
ExpressId Getter
func (TaobaoTrainAgentExpressSetVtwoRequest) GetExpressName ¶
func (r TaobaoTrainAgentExpressSetVtwoRequest) GetExpressName() string
ExpressName Getter
func (TaobaoTrainAgentExpressSetVtwoRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentExpressSetVtwoRequest) GetMainOrderId() int64
MainOrderId Getter
func (TaobaoTrainAgentExpressSetVtwoRequest) GetMobile ¶
func (r TaobaoTrainAgentExpressSetVtwoRequest) GetMobile() string
Mobile Getter
func (*TaobaoTrainAgentExpressSetVtwoRequest) SetAddr ¶
func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetAddr(addr string) error
Addr Setter 发货地址
func (*TaobaoTrainAgentExpressSetVtwoRequest) SetAgentId ¶
func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetAgentId(agentId int64) error
AgentId Setter 代理商id
func (*TaobaoTrainAgentExpressSetVtwoRequest) SetExpressId ¶
func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetExpressId(expressId string) error
ExpressId Setter 物流单号
func (*TaobaoTrainAgentExpressSetVtwoRequest) SetExpressName ¶
func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetExpressName(expressName string) error
ExpressName Setter 物流公司:SF,EMS
func (*TaobaoTrainAgentExpressSetVtwoRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetMainOrderId(mainOrderId int64) error
MainOrderId Setter 订单号
func (*TaobaoTrainAgentExpressSetVtwoRequest) SetMobile ¶
func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetMobile(mobile string) error
Mobile Setter 手机号
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"` }
线下票回填物流信息v2--增加鉴权校验 成功返回结果
type TaobaoTrainAgentGetRefundAPIResponse ¶
type TaobaoTrainAgentGetRefundAPIResponse struct { model.CommonResponse TaobaoTrainAgentGetRefundResponse }
代理商获取订单退票信息 API返回值 taobao.train.agent.get.refund
代理商获取订单信息回调API
type TaobaoTrainAgentGetRefundRequest ¶
type TaobaoTrainAgentGetRefundRequest struct { model.Params // contains filtered or unexported fields }
代理商获取订单退票信息 API请求 taobao.train.agent.get.refund
代理商获取订单信息回调API
func NewTaobaoTrainAgentGetRefundRequest ¶
func NewTaobaoTrainAgentGetRefundRequest() *TaobaoTrainAgentGetRefundRequest
初始化TaobaoTrainAgentGetRefundRequest对象
func (TaobaoTrainAgentGetRefundRequest) GetAgentId ¶
func (r TaobaoTrainAgentGetRefundRequest) GetAgentId() int64
AgentId Getter
func (TaobaoTrainAgentGetRefundRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentGetRefundRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentGetRefundRequest) GetApiParams ¶
func (r TaobaoTrainAgentGetRefundRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentGetRefundRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentGetRefundRequest) GetMainOrderId() int64
MainOrderId Getter
func (*TaobaoTrainAgentGetRefundRequest) SetAgentId ¶
func (r *TaobaoTrainAgentGetRefundRequest) SetAgentId(agentId int64) error
AgentId Setter 代理商id
func (*TaobaoTrainAgentGetRefundRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentGetRefundRequest) SetMainOrderId(mainOrderId int64) error
MainOrderId Setter 淘宝的主订单号
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账号 API返回值 taobao.train.agent.grab.account
火车票业务代购抢功能,代理商回传12306账号,用于自营抢票链路出票
type TaobaoTrainAgentGrabAccountRequest ¶
type TaobaoTrainAgentGrabAccountRequest struct { model.Params // contains filtered or unexported fields }
代购抢代理商回传12306账号 API请求 taobao.train.agent.grab.account
火车票业务代购抢功能,代理商回传12306账号,用于自营抢票链路出票
func NewTaobaoTrainAgentGrabAccountRequest ¶
func NewTaobaoTrainAgentGrabAccountRequest() *TaobaoTrainAgentGrabAccountRequest
初始化TaobaoTrainAgentGrabAccountRequest对象
func (TaobaoTrainAgentGrabAccountRequest) GetAccountParam ¶
func (r TaobaoTrainAgentGrabAccountRequest) GetAccountParam() *AccountParam
AccountParam Getter
func (TaobaoTrainAgentGrabAccountRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentGrabAccountRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentGrabAccountRequest) GetApiParams ¶
func (r TaobaoTrainAgentGrabAccountRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (*TaobaoTrainAgentGrabAccountRequest) SetAccountParam ¶
func (r *TaobaoTrainAgentGrabAccountRequest) SetAccountParam(accountParam *AccountParam) error
AccountParam Setter 12306账户信息
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 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // resultCode ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // success IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
代购抢代理商回传12306账号 成功返回结果
type TaobaoTrainAgentHandleticketConfirmAPIResponse ¶
type TaobaoTrainAgentHandleticketConfirmAPIResponse struct { model.CommonResponse TaobaoTrainAgentHandleticketConfirmResponse }
代理商出票中 API返回值 taobao.train.agent.handleticket.confirm
代理商出票中
type TaobaoTrainAgentHandleticketConfirmRequest ¶
type TaobaoTrainAgentHandleticketConfirmRequest struct { model.Params // contains filtered or unexported fields }
代理商出票中 API请求 taobao.train.agent.handleticket.confirm
代理商出票中
func NewTaobaoTrainAgentHandleticketConfirmRequest ¶
func NewTaobaoTrainAgentHandleticketConfirmRequest() *TaobaoTrainAgentHandleticketConfirmRequest
初始化TaobaoTrainAgentHandleticketConfirmRequest对象
func (TaobaoTrainAgentHandleticketConfirmRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentHandleticketConfirmRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentHandleticketConfirmRequest) GetApiParams ¶
func (r TaobaoTrainAgentHandleticketConfirmRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentHandleticketConfirmRequest) GetExtendParams ¶
func (r TaobaoTrainAgentHandleticketConfirmRequest) GetExtendParams() string
ExtendParams Getter
func (TaobaoTrainAgentHandleticketConfirmRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentHandleticketConfirmRequest) GetMainOrderId() int64
MainOrderId Getter
func (TaobaoTrainAgentHandleticketConfirmRequest) GetSellerId ¶
func (r TaobaoTrainAgentHandleticketConfirmRequest) GetSellerId() int64
SellerId Getter
func (*TaobaoTrainAgentHandleticketConfirmRequest) SetExtendParams ¶
func (r *TaobaoTrainAgentHandleticketConfirmRequest) SetExtendParams(extendParams string) error
ExtendParams Setter 扩展参数
func (*TaobaoTrainAgentHandleticketConfirmRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentHandleticketConfirmRequest) SetMainOrderId(mainOrderId int64) error
MainOrderId Setter 主站id
func (*TaobaoTrainAgentHandleticketConfirmRequest) SetSellerId ¶
func (r *TaobaoTrainAgentHandleticketConfirmRequest) SetSellerId(sellerId int64) error
SellerId Setter 代理商id
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--增加鉴权校验 API返回值 taobao.train.agent.handleticket.confirm.vtwo
代理商出票中
type TaobaoTrainAgentHandleticketConfirmVtwoRequest ¶
type TaobaoTrainAgentHandleticketConfirmVtwoRequest struct { model.Params // contains filtered or unexported fields }
代理商出票中v2--增加鉴权校验 API请求 taobao.train.agent.handleticket.confirm.vtwo
代理商出票中
func NewTaobaoTrainAgentHandleticketConfirmVtwoRequest ¶
func NewTaobaoTrainAgentHandleticketConfirmVtwoRequest() *TaobaoTrainAgentHandleticketConfirmVtwoRequest
初始化TaobaoTrainAgentHandleticketConfirmVtwoRequest对象
func (TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetExtendParams ¶
func (r TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetExtendParams() string
ExtendParams Getter
func (TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetMainOrderId() int64
MainOrderId Getter
func (TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetSellerId ¶
func (r TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetSellerId() int64
SellerId Getter
func (*TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetExtendParams ¶
func (r *TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetExtendParams(extendParams string) error
ExtendParams Setter 扩展参数
func (*TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetMainOrderId(mainOrderId int64) error
MainOrderId Setter 主站id
func (*TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetSellerId ¶
func (r *TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetSellerId(sellerId int64) error
SellerId Setter 代理商id
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"` }
代理商出票中v2--增加鉴权校验 成功返回结果
type TaobaoTrainAgentHandrefundRefundfeeAPIResponse ¶
type TaobaoTrainAgentHandrefundRefundfeeAPIResponse struct { model.CommonResponse TaobaoTrainAgentHandrefundRefundfeeResponse }
代理商手动退款接口 API返回值 taobao.train.agent.handrefund.refundfee
火车票代理商手动退款接口
type TaobaoTrainAgentHandrefundRefundfeeRequest ¶
type TaobaoTrainAgentHandrefundRefundfeeRequest struct { model.Params // contains filtered or unexported fields }
代理商手动退款接口 API请求 taobao.train.agent.handrefund.refundfee
火车票代理商手动退款接口
func NewTaobaoTrainAgentHandrefundRefundfeeRequest ¶
func NewTaobaoTrainAgentHandrefundRefundfeeRequest() *TaobaoTrainAgentHandrefundRefundfeeRequest
初始化TaobaoTrainAgentHandrefundRefundfeeRequest对象
func (TaobaoTrainAgentHandrefundRefundfeeRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentHandrefundRefundfeeRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentHandrefundRefundfeeRequest) GetApiParams ¶
func (r TaobaoTrainAgentHandrefundRefundfeeRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentHandrefundRefundfeeRequest) GetMainBizOrderId ¶
func (r TaobaoTrainAgentHandrefundRefundfeeRequest) GetMainBizOrderId() int64
MainBizOrderId Getter
func (TaobaoTrainAgentHandrefundRefundfeeRequest) GetOutTradeNo ¶
func (r TaobaoTrainAgentHandrefundRefundfeeRequest) GetOutTradeNo() string
OutTradeNo Getter
func (TaobaoTrainAgentHandrefundRefundfeeRequest) GetRefundFee ¶
func (r TaobaoTrainAgentHandrefundRefundfeeRequest) GetRefundFee() int64
RefundFee Getter
func (*TaobaoTrainAgentHandrefundRefundfeeRequest) SetMainBizOrderId ¶
func (r *TaobaoTrainAgentHandrefundRefundfeeRequest) SetMainBizOrderId(mainBizOrderId int64) error
MainBizOrderId Setter 主订单id
func (*TaobaoTrainAgentHandrefundRefundfeeRequest) SetOutTradeNo ¶
func (r *TaobaoTrainAgentHandrefundRefundfeeRequest) SetOutTradeNo(outTradeNo string) error
OutTradeNo Setter 外部订单号
func (*TaobaoTrainAgentHandrefundRefundfeeRequest) SetRefundFee ¶
func (r *TaobaoTrainAgentHandrefundRefundfeeRequest) SetRefundFee(refundFee int64) error
RefundFee Setter 退款金额,单位为分
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"` // 失败code 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 }
火车票代理商接口——确认占座是否成功 API返回值 taobao.train.agent.holdseat.confirm
火车票代理商接口——确认占座是否成功
type TaobaoTrainAgentHoldseatConfirmRequest ¶
type TaobaoTrainAgentHoldseatConfirmRequest struct { model.Params // contains filtered or unexported fields }
火车票代理商接口——确认占座是否成功 API请求 taobao.train.agent.holdseat.confirm
火车票代理商接口——确认占座是否成功
func NewTaobaoTrainAgentHoldseatConfirmRequest ¶
func NewTaobaoTrainAgentHoldseatConfirmRequest() *TaobaoTrainAgentHoldseatConfirmRequest
初始化TaobaoTrainAgentHoldseatConfirmRequest对象
func (TaobaoTrainAgentHoldseatConfirmRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentHoldseatConfirmRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentHoldseatConfirmRequest) GetApiParams ¶
func (r TaobaoTrainAgentHoldseatConfirmRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentHoldseatConfirmRequest) GetHoldSeatParam ¶
func (r TaobaoTrainAgentHoldseatConfirmRequest) GetHoldSeatParam() *HoldSeatParam
HoldSeatParam Getter
func (*TaobaoTrainAgentHoldseatConfirmRequest) SetHoldSeatParam ¶
func (r *TaobaoTrainAgentHoldseatConfirmRequest) SetHoldSeatParam(holdSeatParam *HoldSeatParam) error
HoldSeatParam Setter 占座入参
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 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // resultCode ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // success IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
火车票代理商接口——确认占座是否成功 成功返回结果
type TaobaoTrainAgentOrderGetAPIResponse ¶
type TaobaoTrainAgentOrderGetAPIResponse struct { model.CommonResponse TaobaoTrainAgentOrderGetResponse }
代理商获取订单信息回调API API返回值 taobao.train.agent.order.get
代理商获取订单信息回调API
type TaobaoTrainAgentOrderGetRequest ¶
type TaobaoTrainAgentOrderGetRequest struct { model.Params // contains filtered or unexported fields }
代理商获取订单信息回调API API请求 taobao.train.agent.order.get
代理商获取订单信息回调API
func NewTaobaoTrainAgentOrderGetRequest ¶
func NewTaobaoTrainAgentOrderGetRequest() *TaobaoTrainAgentOrderGetRequest
初始化TaobaoTrainAgentOrderGetRequest对象
func (TaobaoTrainAgentOrderGetRequest) GetAgentId ¶
func (r TaobaoTrainAgentOrderGetRequest) GetAgentId() int64
AgentId Getter
func (TaobaoTrainAgentOrderGetRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentOrderGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentOrderGetRequest) GetApiParams ¶
func (r TaobaoTrainAgentOrderGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentOrderGetRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentOrderGetRequest) GetMainOrderId() int64
MainOrderId Getter
func (*TaobaoTrainAgentOrderGetRequest) SetAgentId ¶
func (r *TaobaoTrainAgentOrderGetRequest) SetAgentId(agentId int64) error
AgentId Setter 代理商id
func (*TaobaoTrainAgentOrderGetRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentOrderGetRequest) SetMainOrderId(mainOrderId int64) error
MainOrderId Setter 淘宝的主订单号
type TaobaoTrainAgentOrderGetResponse ¶
type TaobaoTrainAgentOrderGetResponse struct { XMLName xml.Name `xml:"train_agent_order_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // ttp_order_id TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"` // 返回错误。 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // 主订单id MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"` // 火车票信息。 Tickets []ToAgentTicketInfo `json:"tickets,omitempty" xml:"tickets>to_agent_ticket_info,omitempty"` // 整个订单的总价,包括每张票价及保险价格,价格精确到分,例如100元,输出为10000. 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"` // 如果是公司发票,需要公司名称,如果不需要公司名称,返回no CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 1-已付款,2-关闭,3-成功 OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"` // 最晚出票时间 LatestIssueTime string `json:"latest_issue_time,omitempty" xml:"latest_issue_time,omitempty"` // 订单类型0:默认订单类型走代理商账号;1:走12306客户绑定的账号;2:线下邮寄票 OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"` // 纸质票类型: 1 靠窗,2 连坐,3 上铺,4 中铺,5 下铺,6 是否同包厢 PaperType int64 `json:"paper_type,omitempty" xml:"paper_type,omitempty"` // 当下铺/靠窗/连坐无票时,是否支持非下铺/非靠窗/非连坐(0不接受,1接受) PaperBackup int64 `json:"paper_backup,omitempty" xml:"paper_backup,omitempty"` // 至少接受下铺/靠窗/连坐数量 PaperLowSeatCount int64 `json:"paper_low_seat_count,omitempty" xml:"paper_low_seat_count,omitempty"` // 线下票收件人姓名 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"` }
代理商获取订单信息回调API 成功返回结果
type TaobaoTrainAgentOrderGetVtwoAPIResponse ¶
type TaobaoTrainAgentOrderGetVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentOrderGetVtwoResponse }
代理商获取订单信息回调APIv2--增加鉴权校验 API返回值 taobao.train.agent.order.get.vtwo
代理商获取订单信息回调API
type TaobaoTrainAgentOrderGetVtwoRequest ¶
type TaobaoTrainAgentOrderGetVtwoRequest struct { model.Params // contains filtered or unexported fields }
代理商获取订单信息回调APIv2--增加鉴权校验 API请求 taobao.train.agent.order.get.vtwo
代理商获取订单信息回调API
func NewTaobaoTrainAgentOrderGetVtwoRequest ¶
func NewTaobaoTrainAgentOrderGetVtwoRequest() *TaobaoTrainAgentOrderGetVtwoRequest
初始化TaobaoTrainAgentOrderGetVtwoRequest对象
func (TaobaoTrainAgentOrderGetVtwoRequest) GetAgentId ¶
func (r TaobaoTrainAgentOrderGetVtwoRequest) GetAgentId() int64
AgentId Getter
func (TaobaoTrainAgentOrderGetVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentOrderGetVtwoRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentOrderGetVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentOrderGetVtwoRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentOrderGetVtwoRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentOrderGetVtwoRequest) GetMainOrderId() int64
MainOrderId Getter
func (*TaobaoTrainAgentOrderGetVtwoRequest) SetAgentId ¶
func (r *TaobaoTrainAgentOrderGetVtwoRequest) SetAgentId(agentId int64) error
AgentId Setter 代理商id
func (*TaobaoTrainAgentOrderGetVtwoRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentOrderGetVtwoRequest) SetMainOrderId(mainOrderId int64) error
MainOrderId Setter 淘宝的主订单号
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"` // ttp_order_id TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"` // 返回错误。 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // 主订单id MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"` // 火车票信息。 Tickets []ToAgentTicketInfo `json:"tickets,omitempty" xml:"tickets>to_agent_ticket_info,omitempty"` // 整个订单的总价,包括每张票价及保险价格,价格精确到分,例如100元,输出为10000. 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"` // 如果是公司发票,需要公司名称,如果不需要公司名称,返回no CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 1-已付款,2-关闭,3-成功 OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"` // 最晚出票时间 LatestIssueTime string `json:"latest_issue_time,omitempty" xml:"latest_issue_time,omitempty"` // 订单类型0:默认订单类型走代理商账号;1:走12306客户绑定的账号;2:线下邮寄票 OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"` // 纸质票类型: 1 靠窗,2 连坐,3 上铺,4 中铺,5 下铺,6 是否同包厢 PaperType int64 `json:"paper_type,omitempty" xml:"paper_type,omitempty"` // 当下铺/靠窗/连坐无票时,是否支持非下铺/非靠窗/非连坐(0不接受,1接受) PaperBackup int64 `json:"paper_backup,omitempty" xml:"paper_backup,omitempty"` // 至少接受下铺/靠窗/连坐数量 PaperLowSeatCount int64 `json:"paper_low_seat_count,omitempty" xml:"paper_low_seat_count,omitempty"` // 线下票收件人姓名 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"` // 1A2B OnlineBookSeat string `json:"online_book_seat,omitempty" xml:"online_book_seat,omitempty"` // interchangeStation InterchangeStation string `json:"interchange_station,omitempty" xml:"interchange_station,omitempty"` // isMultiTrip IsMultiTrip string `json:"is_multi_trip,omitempty" xml:"is_multi_trip,omitempty"` // 是否需要发票 NeedReceipt bool `json:"need_receipt,omitempty" xml:"need_receipt,omitempty"` // 是否接受非定制坐席 1:是 0:否 AcceptNoVipCustom int64 `json:"accept_no_vip_custom,omitempty" xml:"accept_no_vip_custom,omitempty"` // 用户可接受的最少定制票数量 VipCustomMinSeatCount int64 `json:"vip_custom_min_seat_count,omitempty" xml:"vip_custom_min_seat_count,omitempty"` // 定制票类型 1:下铺 2:下铺or中铺 3:过道 4:靠窗 VipCustomType int64 `json:"vip_custom_type,omitempty" xml:"vip_custom_type,omitempty"` }
代理商获取订单信息回调APIv2--增加鉴权校验 成功返回结果
type TaobaoTrainAgentOrderPayAPIResponse ¶
type TaobaoTrainAgentOrderPayAPIResponse struct { model.CommonResponse TaobaoTrainAgentOrderPayResponse }
代购订单代付接口 API返回值 taobao.train.agent.order.pay
代购订单代付接口
type TaobaoTrainAgentOrderPayRequest ¶
type TaobaoTrainAgentOrderPayRequest struct { model.Params // contains filtered or unexported fields }
代购订单代付接口 API请求 taobao.train.agent.order.pay
代购订单代付接口
func NewTaobaoTrainAgentOrderPayRequest ¶
func NewTaobaoTrainAgentOrderPayRequest() *TaobaoTrainAgentOrderPayRequest
初始化TaobaoTrainAgentOrderPayRequest对象
func (TaobaoTrainAgentOrderPayRequest) GetAgentPayOrderParam ¶
func (r TaobaoTrainAgentOrderPayRequest) GetAgentPayOrderParam() *AgentPayOrderParam
AgentPayOrderParam Getter
func (TaobaoTrainAgentOrderPayRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentOrderPayRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentOrderPayRequest) GetApiParams ¶
func (r TaobaoTrainAgentOrderPayRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (*TaobaoTrainAgentOrderPayRequest) SetAgentPayOrderParam ¶
func (r *TaobaoTrainAgentOrderPayRequest) SetAgentPayOrderParam(agentPayOrderParam *AgentPayOrderParam) error
AgentPayOrderParam Setter 入参对象
type TaobaoTrainAgentOrderPayResponse ¶
type TaobaoTrainAgentOrderPayResponse struct { XMLName xml.Name `xml:"train_agent_order_pay_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 成功返回 ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"` }
代购订单代付接口 成功返回结果
type TaobaoTrainAgentReturnordersGetVtwoAPIResponse ¶
type TaobaoTrainAgentReturnordersGetVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentReturnordersGetVtwoResponse }
获取待退票的订单v2--增加鉴权校验 API返回值 taobao.train.agent.returnorders.get.vtwo
代理商用来获取待退票的订单列表及数量,防止代理商掉单。
type TaobaoTrainAgentReturnordersGetVtwoRequest ¶
type TaobaoTrainAgentReturnordersGetVtwoRequest struct { model.Params // contains filtered or unexported fields }
获取待退票的订单v2--增加鉴权校验 API请求 taobao.train.agent.returnorders.get.vtwo
代理商用来获取待退票的订单列表及数量,防止代理商掉单。
func NewTaobaoTrainAgentReturnordersGetVtwoRequest ¶
func NewTaobaoTrainAgentReturnordersGetVtwoRequest() *TaobaoTrainAgentReturnordersGetVtwoRequest
初始化TaobaoTrainAgentReturnordersGetVtwoRequest对象
func (TaobaoTrainAgentReturnordersGetVtwoRequest) GetAgentId ¶
func (r TaobaoTrainAgentReturnordersGetVtwoRequest) GetAgentId() int64
AgentId Getter
func (TaobaoTrainAgentReturnordersGetVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentReturnordersGetVtwoRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentReturnordersGetVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentReturnordersGetVtwoRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentReturnordersGetVtwoRequest) GetOffline ¶
func (r TaobaoTrainAgentReturnordersGetVtwoRequest) GetOffline() int64
Offline Getter
func (*TaobaoTrainAgentReturnordersGetVtwoRequest) SetAgentId ¶
func (r *TaobaoTrainAgentReturnordersGetVtwoRequest) SetAgentId(agentId int64) error
AgentId Setter 卖家ID
func (*TaobaoTrainAgentReturnordersGetVtwoRequest) SetOffline ¶
func (r *TaobaoTrainAgentReturnordersGetVtwoRequest) SetOffline(offline int64) error
Offline Setter 0 线上退票 1线下退票
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"` // 主订单id列表 MainOrderIds string `json:"main_order_ids,omitempty" xml:"main_order_ids,omitempty"` // 申请时间,每个时间以逗号分隔 RefundApplyTimes string `json:"refund_apply_times,omitempty" xml:"refund_apply_times,omitempty"` }
获取待退票的订单v2--增加鉴权校验 成功返回结果
type TaobaoTrainAgentReturnticketConfirmVtwoAPIResponse ¶
type TaobaoTrainAgentReturnticketConfirmVtwoAPIResponse struct { model.CommonResponse TaobaoTrainAgentReturnticketConfirmVtwoResponse }
退票通知 API返回值 taobao.train.agent.returnticket.confirm.vtwo
火车票代理商接口——退票通知回调
type TaobaoTrainAgentReturnticketConfirmVtwoRequest ¶
type TaobaoTrainAgentReturnticketConfirmVtwoRequest struct { model.Params // contains filtered or unexported fields }
退票通知 API请求 taobao.train.agent.returnticket.confirm.vtwo
火车票代理商接口——退票通知回调
func NewTaobaoTrainAgentReturnticketConfirmVtwoRequest ¶
func NewTaobaoTrainAgentReturnticketConfirmVtwoRequest() *TaobaoTrainAgentReturnticketConfirmVtwoRequest
初始化TaobaoTrainAgentReturnticketConfirmVtwoRequest对象
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetAgentId ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetAgentId() int64
AgentId Getter
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetAgreeReturn ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetAgreeReturn() bool
AgreeReturn Getter
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetApiParams ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetBuyerId ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetBuyerId() int64
BuyerId Getter
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetCloseRefundNotify ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetCloseRefundNotify() bool
CloseRefundNotify Getter
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetMainBizOrderId ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetMainBizOrderId() int64
MainBizOrderId Getter
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetRefundFee ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetRefundFee() int64
RefundFee Getter
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetRefuseReturnReason ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetRefuseReturnReason() string
RefuseReturnReason Getter
func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetSubBizOrderId ¶
func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetSubBizOrderId() int64
SubBizOrderId Getter
func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetAgentId ¶
func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetAgentId(agentId int64) error
AgentId Setter 代理商id
func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetAgreeReturn ¶
func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetAgreeReturn(agreeReturn bool) error
AgreeReturn Setter 是否同意退票
func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetBuyerId ¶
func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetBuyerId(buyerId int64) error
BuyerId Setter 用户id
func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetCloseRefundNotify ¶
func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetCloseRefundNotify(closeRefundNotify bool) error
CloseRefundNotify Setter 关闭通知用户 true:关闭 false:不关闭
func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetMainBizOrderId ¶
func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetMainBizOrderId(mainBizOrderId int64) error
MainBizOrderId Setter 淘宝主订单id
func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetRefundFee ¶
func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetRefundFee(refundFee int64) error
RefundFee Setter 退票金额,单位分
func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetRefuseReturnReason ¶
func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetRefuseReturnReason(refuseReturnReason string) error
RefuseReturnReason Setter 拒绝退票原因
func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetSubBizOrderId ¶
func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetSubBizOrderId(subBizOrderId int64) error
SubBizOrderId Setter 淘宝子订单id
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 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // success IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // resultMsg ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` }
退票通知 成功返回结果
type TaobaoTrainAgentTostationConfirmAPIResponse ¶
type TaobaoTrainAgentTostationConfirmAPIResponse struct { model.CommonResponse TaobaoTrainAgentTostationConfirmResponse }
线下票确认送票至车站服务 API返回值 taobao.train.agent.tostation.confirm
送票至车站的订单,代理商确认配送到站
type TaobaoTrainAgentTostationConfirmRequest ¶
type TaobaoTrainAgentTostationConfirmRequest struct { model.Params // contains filtered or unexported fields }
线下票确认送票至车站服务 API请求 taobao.train.agent.tostation.confirm
送票至车站的订单,代理商确认配送到站
func NewTaobaoTrainAgentTostationConfirmRequest ¶
func NewTaobaoTrainAgentTostationConfirmRequest() *TaobaoTrainAgentTostationConfirmRequest
初始化TaobaoTrainAgentTostationConfirmRequest对象
func (TaobaoTrainAgentTostationConfirmRequest) GetAgentId ¶
func (r TaobaoTrainAgentTostationConfirmRequest) GetAgentId() int64
AgentId Getter
func (TaobaoTrainAgentTostationConfirmRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentTostationConfirmRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentTostationConfirmRequest) GetApiParams ¶
func (r TaobaoTrainAgentTostationConfirmRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentTostationConfirmRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentTostationConfirmRequest) GetMainOrderId() int64
MainOrderId Getter
func (*TaobaoTrainAgentTostationConfirmRequest) SetAgentId ¶
func (r *TaobaoTrainAgentTostationConfirmRequest) SetAgentId(agentId int64) error
AgentId Setter 代理商id
func (*TaobaoTrainAgentTostationConfirmRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentTostationConfirmRequest) SetMainOrderId(mainOrderId int64) error
MainOrderId Setter 淘宝的主订单号
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 }
线下票送票至车站代理商确认用户已取票服务 API返回值 taobao.train.agent.tostation.receive
送票至车站的订单,代理商确认用户已取票
type TaobaoTrainAgentTostationReceiveRequest ¶
type TaobaoTrainAgentTostationReceiveRequest struct { model.Params // contains filtered or unexported fields }
线下票送票至车站代理商确认用户已取票服务 API请求 taobao.train.agent.tostation.receive
送票至车站的订单,代理商确认用户已取票
func NewTaobaoTrainAgentTostationReceiveRequest ¶
func NewTaobaoTrainAgentTostationReceiveRequest() *TaobaoTrainAgentTostationReceiveRequest
初始化TaobaoTrainAgentTostationReceiveRequest对象
func (TaobaoTrainAgentTostationReceiveRequest) GetAgentId ¶
func (r TaobaoTrainAgentTostationReceiveRequest) GetAgentId() int64
AgentId Getter
func (TaobaoTrainAgentTostationReceiveRequest) GetApiMethodName ¶
func (r TaobaoTrainAgentTostationReceiveRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainAgentTostationReceiveRequest) GetApiParams ¶
func (r TaobaoTrainAgentTostationReceiveRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainAgentTostationReceiveRequest) GetMainOrderId ¶
func (r TaobaoTrainAgentTostationReceiveRequest) GetMainOrderId() int64
MainOrderId Getter
func (*TaobaoTrainAgentTostationReceiveRequest) SetAgentId ¶
func (r *TaobaoTrainAgentTostationReceiveRequest) SetAgentId(agentId int64) error
AgentId Setter 代理商id
func (*TaobaoTrainAgentTostationReceiveRequest) SetMainOrderId ¶
func (r *TaobaoTrainAgentTostationReceiveRequest) SetMainOrderId(mainOrderId int64) error
MainOrderId Setter 淘宝的主订单号
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 }
火车票时刻表 API返回值 taobao.train.moment.get
查询火车票车次时刻表
type TaobaoTrainMomentGetRequest ¶
火车票时刻表 API请求 taobao.train.moment.get
查询火车票车次时刻表
func NewTaobaoTrainMomentGetRequest ¶
func NewTaobaoTrainMomentGetRequest() *TaobaoTrainMomentGetRequest
初始化TaobaoTrainMomentGetRequest对象
func (TaobaoTrainMomentGetRequest) GetApiMethodName ¶
func (r TaobaoTrainMomentGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTrainMomentGetRequest) GetApiParams ¶
func (r TaobaoTrainMomentGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTrainMomentGetRequest) GetParam ¶
func (r TaobaoTrainMomentGetRequest) GetParam() *TrainMomentTopParam
Param Getter
func (*TaobaoTrainMomentGetRequest) SetParam ¶
func (r *TaobaoTrainMomentGetRequest) SetParam(param *TrainMomentTopParam) error
Param Setter 出参
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"` // 淘宝火车票子订单id. SubOrderId string `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 出发站 FromStation string `json:"from_station,omitempty" xml:"from_station,omitempty"` // 出发时间 FromTime string `json:"from_time,omitempty" xml:"from_time,omitempty"` // 到达站 ToStation string `json:"to_station,omitempty" xml:"to_station,omitempty"` // 坐席 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"` // 证件类型,0:身份证 1:护照 4:港澳通行证 5:台湾通行证 CertificateType string `json:"certificate_type,omitempty" xml:"certificate_type,omitempty"` // 保险价格,精确到分,例如10元,输入1000。 InsurancePrice int64 `json:"insurance_price,omitempty" xml:"insurance_price,omitempty"` // 单张票价(不包含保险价格),例如100元,输出为10000,精确到分. TicketPrice int64 `json:"ticket_price,omitempty" xml:"ticket_price,omitempty"` // 乘客生日 Birthday string `json:"birthday,omitempty" xml:"birthday,omitempty"` // 到站时间 ToTime string `json:"to_time,omitempty" xml:"to_time,omitempty"` // 1:单程票 Tag int64 `json:"tag,omitempty" xml:"tag,omitempty"` // 保险的单一价格 InsuranceUnitPrice int64 `json:"insurance_unit_price,omitempty" xml:"insurance_unit_price,omitempty"` // 0:成人 1:儿童 2:学生 PassengerType int64 `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"` // segmentIndex SegmentIndex int64 `json:"segment_index,omitempty" xml:"segment_index,omitempty"` // 国籍 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"` // 性别 1:男 0:女 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