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