train

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountParam

type AccountParam struct {
	AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"`

	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`

	AccountName string `json:"account_name,omitempty" xml:"account_name,omitempty"`

	AccountPassword string `json:"account_password,omitempty" xml:"account_password,omitempty"`
}

AccountParam

type AgentAgreeChangeParam

type AgentAgreeChangeParam struct {
	ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"`

	AlipayTradeNo string `json:"alipay_trade_no,omitempty" xml:"alipay_trade_no,omitempty"`

	ExtendParam string `json:"extend_param,omitempty" xml:"extend_param,omitempty"`

	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`

	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`

	MainBizOrderId int64 `json:"main_biz_order_id,omitempty" xml:"main_biz_order_id,omitempty"`

	Tickets []ChangeTicketInfo `json:"tickets,omitempty" xml:"tickets,omitempty"`

	AlipayAccount string `json:"alipay_account,omitempty" xml:"alipay_account,omitempty"`
}

AgentAgreeChangeParam

type AgentPayOrderParam

type AgentPayOrderParam struct {
	ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"`

	SequenceNo string `json:"sequence_no,omitempty" xml:"sequence_no,omitempty"`

	PayUrl string `json:"pay_url,omitempty" xml:"pay_url,omitempty"`

	MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"`
}

AgentPayOrderParam

type AgentRefuseChangeParam

type AgentRefuseChangeParam struct {
	ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"`

	ExtendParam string `json:"extend_param,omitempty" xml:"extend_param,omitempty"`

	RefuseType int64 `json:"refuse_type,omitempty" xml:"refuse_type,omitempty"`

	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`

	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`

	MainBizOrderId int64 `json:"main_biz_order_id,omitempty" xml:"main_biz_order_id,omitempty"`
}

AgentRefuseChangeParam

type ApplyOrderInfoDo

type ApplyOrderInfoDo struct {
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`

	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`

	PassengerList []TrainPassengerInfoDto `json:"passenger_list,omitempty" xml:"passenger_list,omitempty"`

	PayUrl string `json:"pay_url,omitempty" xml:"pay_url,omitempty"`

	CanRefund bool `json:"can_refund,omitempty" xml:"can_refund,omitempty"`

	ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"`

	LimitAlipayTime string `json:"limit_alipay_time,omitempty" xml:"limit_alipay_time,omitempty"`

	TicketNo string `json:"ticket_no,omitempty" xml:"ticket_no,omitempty"`

	HandFee int64 `json:"hand_fee,omitempty" xml:"hand_fee,omitempty"`

	LimitPayTime string `json:"limit_pay_time,omitempty" xml:"limit_pay_time,omitempty"`
}

ApplyOrderInfoDo

type ChangeHoldSeatParam

type ChangeHoldSeatParam struct {
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`

	ApplyOrderBaseDo *ApplyOrderInfoDo `json:"apply_order_base_do,omitempty" xml:"apply_order_base_do,omitempty"`

	HoldSeatStatus bool `json:"hold_seat_status,omitempty" xml:"hold_seat_status,omitempty"`
}

ChangeHoldSeatParam

type ChangeTicketInfo

type ChangeTicketInfo struct {
	ChangeFee int64 `json:"change_fee,omitempty" xml:"change_fee,omitempty"`

	ExtendParam string `json:"extend_param,omitempty" xml:"extend_param,omitempty"`

	ChooseSeat string `json:"choose_seat,omitempty" xml:"choose_seat,omitempty"`

	SubBizOrderId int64 `json:"sub_biz_order_id,omitempty" xml:"sub_biz_order_id,omitempty"`

	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`

	RealSeat int64 `json:"real_seat,omitempty" xml:"real_seat,omitempty"`

	HandingFee int64 `json:"handing_fee,omitempty" xml:"handing_fee,omitempty"`

	CanChange bool `json:"can_change,omitempty" xml:"can_change,omitempty"`
}

ChangeTicketInfo

type CompensateParam

type CompensateParam struct {
	AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"`

	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`

	ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"`
}

CompensateParam

type HoldSeatParam

type HoldSeatParam struct {
	OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"`

	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`

	OrderBase *OrderInfoDto `json:"order_base,omitempty" xml:"order_base,omitempty"`

	HoldSeatStatus bool `json:"hold_seat_status,omitempty" xml:"hold_seat_status,omitempty"`

	AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"`
}

HoldSeatParam

type OrderInfoDto

type OrderInfoDto struct {
	PassengerList []TrainPassengerInfoDto `json:"passenger_list,omitempty" xml:"passenger_list,omitempty"`

	IsMultiTrip bool `json:"is_multi_trip,omitempty" xml:"is_multi_trip,omitempty"`

	CanRefund bool `json:"can_refund,omitempty" xml:"can_refund,omitempty"`

	LimitPayTime string `json:"limit_pay_time,omitempty" xml:"limit_pay_time,omitempty"`

	TicketNo string `json:"ticket_no,omitempty" xml:"ticket_no,omitempty"`

	FailSubOrderId int64 `json:"fail_sub_order_id,omitempty" xml:"fail_sub_order_id,omitempty"`

	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`

	PayUrl string `json:"pay_url,omitempty" xml:"pay_url,omitempty"`

	BaseDo *TrainBaseDto `json:"base_do,omitempty" xml:"base_do,omitempty"`
}

OrderInfoDto

type OrderTicketInfo

type OrderTicketInfo struct {
	TtpSubOrderId int64 `json:"ttp_sub_order_id,omitempty" xml:"ttp_sub_order_id,omitempty"`

	RealTicketPrice int64 `json:"real_ticket_price,omitempty" xml:"real_ticket_price,omitempty"`

	RealSeat int64 `json:"real_seat,omitempty" xml:"real_seat,omitempty"`

	SeatNum string `json:"seat_num,omitempty" xml:"seat_num,omitempty"`

	TrainNo string `json:"train_no,omitempty" xml:"train_no,omitempty"`

	PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"`

	CertType string `json:"cert_type,omitempty" xml:"cert_type,omitempty"`

	CertificateNum string `json:"certificate_num,omitempty" xml:"certificate_num,omitempty"`

	InsurancePayPrice int64 `json:"insurance_pay_price,omitempty" xml:"insurance_pay_price,omitempty"`

	VipCustomResult int64 `json:"vip_custom_result,omitempty" xml:"vip_custom_result,omitempty"`

	TicketNo string `json:"ticket_no,omitempty" xml:"ticket_no,omitempty"`
}

OrderTicketInfo

type StationPassInfo

type StationPassInfo struct {
	Atime string `json:"atime,omitempty" xml:"atime,omitempty"`

	Ltime string `json:"ltime,omitempty" xml:"ltime,omitempty"`

	Sid int64 `json:"sid,omitempty" xml:"sid,omitempty"`

	Snm string `json:"snm,omitempty" xml:"snm,omitempty"`

	Stime int64 `json:"stime,omitempty" xml:"stime,omitempty"`
}

StationPassInfo

type StudentInfo

type StudentInfo struct {
	Card string `json:"card,omitempty" xml:"card,omitempty"`

	Classes string `json:"classes,omitempty" xml:"classes,omitempty"`

	DepartMent string `json:"depart_ment,omitempty" xml:"depart_ment,omitempty"`

	EductionalSystem string `json:"eductional_system,omitempty" xml:"eductional_system,omitempty"`

	EntranceYear string `json:"entrance_year,omitempty" xml:"entrance_year,omitempty"`

	FromCity string `json:"from_city,omitempty" xml:"from_city,omitempty"`

	SchoolName string `json:"school_name,omitempty" xml:"school_name,omitempty"`

	SchoolProvince string `json:"school_province,omitempty" xml:"school_province,omitempty"`

	StudentNo string `json:"student_no,omitempty" xml:"student_no,omitempty"`

	ToCity string `json:"to_city,omitempty" xml:"to_city,omitempty"`
}

StudentInfo

type TaobaoTrainAgentBookordersGetAPIResponse

type TaobaoTrainAgentBookordersGetAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentBookordersGetResponse
}

代理商获取待出票订单列表 APIResponse taobao.train.agent.bookorders.get

代理商获取待出票订单列表,只返回订单号

type TaobaoTrainAgentBookordersGetRequest

type TaobaoTrainAgentBookordersGetRequest struct {
	model.Params
	// contains filtered or unexported fields
}

代理商获取待出票订单列表 APIRequest taobao.train.agent.bookorders.get

代理商获取待出票订单列表,只返回订单号

func NewTaobaoTrainAgentBookordersGetRequest

func NewTaobaoTrainAgentBookordersGetRequest() *TaobaoTrainAgentBookordersGetRequest

func (TaobaoTrainAgentBookordersGetRequest) GetAgentId

func (TaobaoTrainAgentBookordersGetRequest) GetApiMethodName

func (r TaobaoTrainAgentBookordersGetRequest) GetApiMethodName() string

func (TaobaoTrainAgentBookordersGetRequest) GetApiParams

func (*TaobaoTrainAgentBookordersGetRequest) SetAgentId

func (r *TaobaoTrainAgentBookordersGetRequest) SetAgentId(agentId int64) error

type TaobaoTrainAgentBookordersGetResponse

type TaobaoTrainAgentBookordersGetResponse struct {
	XMLName   xml.Name `xml:"train_agent_bookorders_get_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	OrderCount int64 `json:"order_count,omitempty" xml:"order_count,omitempty"`

	OrderIds string `json:"order_ids,omitempty" xml:"order_ids,omitempty"`

	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

type TaobaoTrainAgentBookordersGetVtwoAPIResponse

type TaobaoTrainAgentBookordersGetVtwoAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentBookordersGetVtwoResponse
}

代理商获取待出票订单列表v2--增加鉴权校验 APIResponse taobao.train.agent.bookorders.get.vtwo

代理商获取待出票订单列表,只返回订单号

type TaobaoTrainAgentBookordersGetVtwoRequest

type TaobaoTrainAgentBookordersGetVtwoRequest struct {
	model.Params
	// contains filtered or unexported fields
}

代理商获取待出票订单列表v2--增加鉴权校验 APIRequest taobao.train.agent.bookorders.get.vtwo

代理商获取待出票订单列表,只返回订单号

func NewTaobaoTrainAgentBookordersGetVtwoRequest

func NewTaobaoTrainAgentBookordersGetVtwoRequest() *TaobaoTrainAgentBookordersGetVtwoRequest

func (TaobaoTrainAgentBookordersGetVtwoRequest) GetAgentId

func (TaobaoTrainAgentBookordersGetVtwoRequest) GetApiMethodName

func (r TaobaoTrainAgentBookordersGetVtwoRequest) GetApiMethodName() string

func (TaobaoTrainAgentBookordersGetVtwoRequest) GetApiParams

func (*TaobaoTrainAgentBookordersGetVtwoRequest) SetAgentId

func (r *TaobaoTrainAgentBookordersGetVtwoRequest) SetAgentId(agentId int64) error

type TaobaoTrainAgentBookordersGetVtwoResponse

type TaobaoTrainAgentBookordersGetVtwoResponse struct {
	XMLName   xml.Name `xml:"train_agent_bookorders_get_vtwo_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	OrderCount int64 `json:"order_count,omitempty" xml:"order_count,omitempty"`

	OrderIds string `json:"order_ids,omitempty" xml:"order_ids,omitempty"`

	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

type TaobaoTrainAgentBookticketConfirmAPIResponse

type TaobaoTrainAgentBookticketConfirmAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentBookticketConfirmResponse
}

火车票代理商接口——确认出票是否成功 APIResponse taobao.train.agent.bookticket.confirm

火车票代理商接口——确认出票是否成功

type TaobaoTrainAgentBookticketConfirmRequest

type TaobaoTrainAgentBookticketConfirmRequest struct {
	model.Params
	// contains filtered or unexported fields
}

火车票代理商接口——确认出票是否成功 APIRequest taobao.train.agent.bookticket.confirm

火车票代理商接口——确认出票是否成功

func NewTaobaoTrainAgentBookticketConfirmRequest

func NewTaobaoTrainAgentBookticketConfirmRequest() *TaobaoTrainAgentBookticketConfirmRequest

func (TaobaoTrainAgentBookticketConfirmRequest) GetAgentId

func (TaobaoTrainAgentBookticketConfirmRequest) GetAlipayAccount

func (r TaobaoTrainAgentBookticketConfirmRequest) GetAlipayAccount() string

func (TaobaoTrainAgentBookticketConfirmRequest) GetAlipayTradeNo

func (r TaobaoTrainAgentBookticketConfirmRequest) GetAlipayTradeNo() string

func (TaobaoTrainAgentBookticketConfirmRequest) GetApiMethodName

func (r TaobaoTrainAgentBookticketConfirmRequest) GetApiMethodName() string

func (TaobaoTrainAgentBookticketConfirmRequest) GetApiParams

func (TaobaoTrainAgentBookticketConfirmRequest) GetArriveDate

func (TaobaoTrainAgentBookticketConfirmRequest) GetBoardingGates

func (r TaobaoTrainAgentBookticketConfirmRequest) GetBoardingGates() string

func (TaobaoTrainAgentBookticketConfirmRequest) GetCanChange

func (TaobaoTrainAgentBookticketConfirmRequest) GetDepDate

func (TaobaoTrainAgentBookticketConfirmRequest) GetFailMsg

func (TaobaoTrainAgentBookticketConfirmRequest) GetFromStationName

func (r TaobaoTrainAgentBookticketConfirmRequest) GetFromStationName() string

func (TaobaoTrainAgentBookticketConfirmRequest) GetMainOrderId

func (TaobaoTrainAgentBookticketConfirmRequest) GetOrderType

func (TaobaoTrainAgentBookticketConfirmRequest) GetStatus

func (TaobaoTrainAgentBookticketConfirmRequest) GetSubOrderId

func (TaobaoTrainAgentBookticketConfirmRequest) GetTicket12306Id

func (r TaobaoTrainAgentBookticketConfirmRequest) GetTicket12306Id() string

func (TaobaoTrainAgentBookticketConfirmRequest) GetTicketNum

func (TaobaoTrainAgentBookticketConfirmRequest) GetTickets

func (TaobaoTrainAgentBookticketConfirmRequest) GetToStationName

func (r TaobaoTrainAgentBookticketConfirmRequest) GetToStationName() string

func (*TaobaoTrainAgentBookticketConfirmRequest) SetAgentId

func (r *TaobaoTrainAgentBookticketConfirmRequest) SetAgentId(agentId int64) error

func (*TaobaoTrainAgentBookticketConfirmRequest) SetAlipayAccount

func (r *TaobaoTrainAgentBookticketConfirmRequest) SetAlipayAccount(alipayAccount string) error

func (*TaobaoTrainAgentBookticketConfirmRequest) SetAlipayTradeNo

func (r *TaobaoTrainAgentBookticketConfirmRequest) SetAlipayTradeNo(alipayTradeNo string) error

func (*TaobaoTrainAgentBookticketConfirmRequest) SetArriveDate

func (r *TaobaoTrainAgentBookticketConfirmRequest) SetArriveDate(arriveDate string) error

func (*TaobaoTrainAgentBookticketConfirmRequest) SetBoardingGates

func (r *TaobaoTrainAgentBookticketConfirmRequest) SetBoardingGates(boardingGates string) error

func (*TaobaoTrainAgentBookticketConfirmRequest) SetCanChange

func (r *TaobaoTrainAgentBookticketConfirmRequest) SetCanChange(canChange bool) error

func (*TaobaoTrainAgentBookticketConfirmRequest) SetDepDate

func (r *TaobaoTrainAgentBookticketConfirmRequest) SetDepDate(depDate string) error

func (*TaobaoTrainAgentBookticketConfirmRequest) SetFailMsg

func (r *TaobaoTrainAgentBookticketConfirmRequest) SetFailMsg(failMsg string) error

func (*TaobaoTrainAgentBookticketConfirmRequest) SetFromStationName

func (r *TaobaoTrainAgentBookticketConfirmRequest) SetFromStationName(fromStationName string) error

func (*TaobaoTrainAgentBookticketConfirmRequest) SetMainOrderId

func (r *TaobaoTrainAgentBookticketConfirmRequest) SetMainOrderId(mainOrderId int64) error

func (*TaobaoTrainAgentBookticketConfirmRequest) SetOrderType

func (r *TaobaoTrainAgentBookticketConfirmRequest) SetOrderType(orderType int64) error

func (*TaobaoTrainAgentBookticketConfirmRequest) SetStatus

func (*TaobaoTrainAgentBookticketConfirmRequest) SetSubOrderId

func (r *TaobaoTrainAgentBookticketConfirmRequest) SetSubOrderId(subOrderId string) error

func (*TaobaoTrainAgentBookticketConfirmRequest) SetTicket12306Id

func (r *TaobaoTrainAgentBookticketConfirmRequest) SetTicket12306Id(ticket12306Id string) error

func (*TaobaoTrainAgentBookticketConfirmRequest) SetTicketNum

func (r *TaobaoTrainAgentBookticketConfirmRequest) SetTicketNum(ticketNum int64) error

func (*TaobaoTrainAgentBookticketConfirmRequest) SetTickets

func (r *TaobaoTrainAgentBookticketConfirmRequest) SetTickets(tickets []string) error

func (*TaobaoTrainAgentBookticketConfirmRequest) SetToStationName

func (r *TaobaoTrainAgentBookticketConfirmRequest) SetToStationName(toStationName string) error

type TaobaoTrainAgentBookticketConfirmResponse

type TaobaoTrainAgentBookticketConfirmResponse struct {
	XMLName   xml.Name `xml:"train_agent_bookticket_confirm_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

type TaobaoTrainAgentBookticketConfirmVtwoAPIResponse

type TaobaoTrainAgentBookticketConfirmVtwoAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentBookticketConfirmVtwoResponse
}

火车票代理商接口——确认出票是否成功v2--增加鉴权校验 APIResponse taobao.train.agent.bookticket.confirm.vtwo

火车票代理商接口——确认出票是否成功

type TaobaoTrainAgentBookticketConfirmVtwoRequest

type TaobaoTrainAgentBookticketConfirmVtwoRequest struct {
	model.Params
	// contains filtered or unexported fields
}

火车票代理商接口——确认出票是否成功v2--增加鉴权校验 APIRequest taobao.train.agent.bookticket.confirm.vtwo

火车票代理商接口——确认出票是否成功

func NewTaobaoTrainAgentBookticketConfirmVtwoRequest

func NewTaobaoTrainAgentBookticketConfirmVtwoRequest() *TaobaoTrainAgentBookticketConfirmVtwoRequest

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAgentId

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAlipayAccount

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetAlipayTradeNo

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetApiMethodName

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetApiParams

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetArriveDate

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetBoardingGates

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetCanChange

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetDepDate

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetExpectDeliveryTime

func (r TaobaoTrainAgentBookticketConfirmVtwoRequest) GetExpectDeliveryTime() string

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetExtendParams

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetFailMsg

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetFromStationName

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetMainOrderId

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetOrderType

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetStatus

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetSubOrderId

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicket12306Id

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicketInfoList

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTicketNum

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetTickets

func (TaobaoTrainAgentBookticketConfirmVtwoRequest) GetToStationName

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAgentId

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAlipayAccount

func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAlipayAccount(alipayAccount string) error

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAlipayTradeNo

func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetAlipayTradeNo(alipayTradeNo string) error

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetArriveDate

func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetArriveDate(arriveDate string) error

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetBoardingGates

func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetBoardingGates(boardingGates string) error

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetCanChange

func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetCanChange(canChange bool) error

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetDepDate

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetExpectDeliveryTime

func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetExpectDeliveryTime(expectDeliveryTime string) error

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetExtendParams

func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetExtendParams(extendParams string) error

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetFailMsg

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetFromStationName

func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetFromStationName(fromStationName string) error

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetMainOrderId

func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetMainOrderId(mainOrderId int64) error

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetOrderType

func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetOrderType(orderType int64) error

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetStatus

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetSubOrderId

func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetSubOrderId(subOrderId string) error

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicket12306Id

func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicket12306Id(ticket12306Id string) error

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicketInfoList

func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicketInfoList(ticketInfoList []OrderTicketInfo) error

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicketNum

func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTicketNum(ticketNum int64) error

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetTickets

func (*TaobaoTrainAgentBookticketConfirmVtwoRequest) SetToStationName

func (r *TaobaoTrainAgentBookticketConfirmVtwoRequest) SetToStationName(toStationName string) error

type TaobaoTrainAgentBookticketConfirmVtwoResponse

type TaobaoTrainAgentBookticketConfirmVtwoResponse struct {
	XMLName   xml.Name `xml:"train_agent_bookticket_confirm_vtwo_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

type TaobaoTrainAgentChangeAgreeVtwoAPIResponse

type TaobaoTrainAgentChangeAgreeVtwoAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentChangeAgreeVtwoResponse
}

代理商同意改签v2--增加鉴权校验 APIResponse taobao.train.agent.change.agree.vtwo

代理商同意改签接口服务

type TaobaoTrainAgentChangeAgreeVtwoRequest

type TaobaoTrainAgentChangeAgreeVtwoRequest struct {
	model.Params
	// contains filtered or unexported fields
}

代理商同意改签v2--增加鉴权校验 APIRequest taobao.train.agent.change.agree.vtwo

代理商同意改签接口服务

func NewTaobaoTrainAgentChangeAgreeVtwoRequest

func NewTaobaoTrainAgentChangeAgreeVtwoRequest() *TaobaoTrainAgentChangeAgreeVtwoRequest

func (TaobaoTrainAgentChangeAgreeVtwoRequest) GetApiMethodName

func (r TaobaoTrainAgentChangeAgreeVtwoRequest) GetApiMethodName() string

func (TaobaoTrainAgentChangeAgreeVtwoRequest) GetApiParams

func (TaobaoTrainAgentChangeAgreeVtwoRequest) GetParam

func (*TaobaoTrainAgentChangeAgreeVtwoRequest) SetParam

type TaobaoTrainAgentChangeAgreeVtwoResponse

type TaobaoTrainAgentChangeAgreeVtwoResponse struct {
	XMLName   xml.Name `xml:"train_agent_change_agree_vtwo_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

type TaobaoTrainAgentChangeGetVtwoAPIResponse

type TaobaoTrainAgentChangeGetVtwoAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentChangeGetVtwoResponse
}

获取改签单详情v2--增加鉴权校验 APIResponse taobao.train.agent.change.get.vtwo

卖家获取待处理的改签单详情

type TaobaoTrainAgentChangeGetVtwoRequest

type TaobaoTrainAgentChangeGetVtwoRequest struct {
	model.Params
	// contains filtered or unexported fields
}

获取改签单详情v2--增加鉴权校验 APIRequest taobao.train.agent.change.get.vtwo

卖家获取待处理的改签单详情

func NewTaobaoTrainAgentChangeGetVtwoRequest

func NewTaobaoTrainAgentChangeGetVtwoRequest() *TaobaoTrainAgentChangeGetVtwoRequest

func (TaobaoTrainAgentChangeGetVtwoRequest) GetAgentId

func (TaobaoTrainAgentChangeGetVtwoRequest) GetApiMethodName

func (r TaobaoTrainAgentChangeGetVtwoRequest) GetApiMethodName() string

func (TaobaoTrainAgentChangeGetVtwoRequest) GetApiParams

func (TaobaoTrainAgentChangeGetVtwoRequest) GetApplyId

func (*TaobaoTrainAgentChangeGetVtwoRequest) SetAgentId

func (r *TaobaoTrainAgentChangeGetVtwoRequest) SetAgentId(agentId int64) error

func (*TaobaoTrainAgentChangeGetVtwoRequest) SetApplyId

func (r *TaobaoTrainAgentChangeGetVtwoRequest) SetApplyId(applyId int64) error

type TaobaoTrainAgentChangeGetVtwoResponse

type TaobaoTrainAgentChangeGetVtwoResponse struct {
	XMLName   xml.Name `xml:"train_agent_change_get_vtwo_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	ExtendParam string `json:"extend_param,omitempty" xml:"extend_param,omitempty"`

	Tickets []ChangeTicketInfo `json:"tickets,omitempty" xml:"tickets>change_ticket_info,omitempty"`

	SeatName int64 `json:"seat_name,omitempty" xml:"seat_name,omitempty"`

	ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"`

	Status int64 `json:"status,omitempty" xml:"status,omitempty"`

	TotalChangeFee int64 `json:"total_change_fee,omitempty" xml:"total_change_fee,omitempty"`

	TrainNum string `json:"train_num,omitempty" xml:"train_num,omitempty"`

	FromStationName string `json:"from_station_name,omitempty" xml:"from_station_name,omitempty"`

	LatestChangeTime string `json:"latest_change_time,omitempty" xml:"latest_change_time,omitempty"`

	FromTime string `json:"from_time,omitempty" xml:"from_time,omitempty"`

	MainBizOrderId int64 `json:"main_biz_order_id,omitempty" xml:"main_biz_order_id,omitempty"`

	ToTime string `json:"to_time,omitempty" xml:"to_time,omitempty"`

	ToStationName string `json:"to_station_name,omitempty" xml:"to_station_name,omitempty"`
}

type TaobaoTrainAgentChangeHoldseatConfirmAPIResponse

type TaobaoTrainAgentChangeHoldseatConfirmAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentChangeHoldseatConfirmResponse
}

火车票代理商接口——确认改签占座是否成功 APIResponse taobao.train.agent.change.holdseat.confirm

火车票代理商接口——确认改签占座是否成功

type TaobaoTrainAgentChangeHoldseatConfirmRequest

type TaobaoTrainAgentChangeHoldseatConfirmRequest struct {
	model.Params
	// contains filtered or unexported fields
}

火车票代理商接口——确认改签占座是否成功 APIRequest taobao.train.agent.change.holdseat.confirm

火车票代理商接口——确认改签占座是否成功

func NewTaobaoTrainAgentChangeHoldseatConfirmRequest

func NewTaobaoTrainAgentChangeHoldseatConfirmRequest() *TaobaoTrainAgentChangeHoldseatConfirmRequest

func (TaobaoTrainAgentChangeHoldseatConfirmRequest) GetApiMethodName

func (TaobaoTrainAgentChangeHoldseatConfirmRequest) GetApiParams

func (TaobaoTrainAgentChangeHoldseatConfirmRequest) GetChangeHoldSeatParam

func (*TaobaoTrainAgentChangeHoldseatConfirmRequest) SetChangeHoldSeatParam

func (r *TaobaoTrainAgentChangeHoldseatConfirmRequest) SetChangeHoldSeatParam(changeHoldSeatParam *ChangeHoldSeatParam) error

type TaobaoTrainAgentChangeHoldseatConfirmResponse

type TaobaoTrainAgentChangeHoldseatConfirmResponse struct {
	XMLName   xml.Name `xml:"train_agent_change_holdseat_confirm_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`

	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`

	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
}

type TaobaoTrainAgentChangeRefuseVtwoAPIResponse

type TaobaoTrainAgentChangeRefuseVtwoAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentChangeRefuseVtwoResponse
}

代理商拒绝改签v2--增加鉴权校验 APIResponse taobao.train.agent.change.refuse.vtwo

代理商拒绝火车票改签服务

type TaobaoTrainAgentChangeRefuseVtwoRequest

type TaobaoTrainAgentChangeRefuseVtwoRequest struct {
	model.Params
	// contains filtered or unexported fields
}

代理商拒绝改签v2--增加鉴权校验 APIRequest taobao.train.agent.change.refuse.vtwo

代理商拒绝火车票改签服务

func NewTaobaoTrainAgentChangeRefuseVtwoRequest

func NewTaobaoTrainAgentChangeRefuseVtwoRequest() *TaobaoTrainAgentChangeRefuseVtwoRequest

func (TaobaoTrainAgentChangeRefuseVtwoRequest) GetApiMethodName

func (r TaobaoTrainAgentChangeRefuseVtwoRequest) GetApiMethodName() string

func (TaobaoTrainAgentChangeRefuseVtwoRequest) GetApiParams

func (TaobaoTrainAgentChangeRefuseVtwoRequest) GetParam

func (*TaobaoTrainAgentChangeRefuseVtwoRequest) SetParam

type TaobaoTrainAgentChangeRefuseVtwoResponse

type TaobaoTrainAgentChangeRefuseVtwoResponse struct {
	XMLName   xml.Name `xml:"train_agent_change_refuse_vtwo_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

type TaobaoTrainAgentChangeordersGetAPIResponse

type TaobaoTrainAgentChangeordersGetAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentChangeordersGetResponse
}

获取待改签订单 APIResponse taobao.train.agent.changeorders.get

代理商用来获取待改签的订单列表及数量,防止代理商掉单。

type TaobaoTrainAgentChangeordersGetRequest

type TaobaoTrainAgentChangeordersGetRequest struct {
	model.Params
	// contains filtered or unexported fields
}

获取待改签订单 APIRequest taobao.train.agent.changeorders.get

代理商用来获取待改签的订单列表及数量,防止代理商掉单。

func NewTaobaoTrainAgentChangeordersGetRequest

func NewTaobaoTrainAgentChangeordersGetRequest() *TaobaoTrainAgentChangeordersGetRequest

func (TaobaoTrainAgentChangeordersGetRequest) GetAgentId

func (TaobaoTrainAgentChangeordersGetRequest) GetApiMethodName

func (r TaobaoTrainAgentChangeordersGetRequest) GetApiMethodName() string

func (TaobaoTrainAgentChangeordersGetRequest) GetApiParams

func (*TaobaoTrainAgentChangeordersGetRequest) SetAgentId

func (r *TaobaoTrainAgentChangeordersGetRequest) SetAgentId(agentId int64) error

type TaobaoTrainAgentChangeordersGetResponse

type TaobaoTrainAgentChangeordersGetResponse struct {
	XMLName   xml.Name `xml:"train_agent_changeorders_get_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	ApplyCount int64 `json:"apply_count,omitempty" xml:"apply_count,omitempty"`

	ApplyIds string `json:"apply_ids,omitempty" xml:"apply_ids,omitempty"`
}

type TaobaoTrainAgentChangeordersGetVtwoAPIResponse

type TaobaoTrainAgentChangeordersGetVtwoAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentChangeordersGetVtwoResponse
}

获取待改签订单v2--增加鉴权校验 APIResponse taobao.train.agent.changeorders.get.vtwo

代理商用来获取待改签的订单列表及数量,防止代理商掉单。

type TaobaoTrainAgentChangeordersGetVtwoRequest

type TaobaoTrainAgentChangeordersGetVtwoRequest struct {
	model.Params
	// contains filtered or unexported fields
}

获取待改签订单v2--增加鉴权校验 APIRequest taobao.train.agent.changeorders.get.vtwo

代理商用来获取待改签的订单列表及数量,防止代理商掉单。

func NewTaobaoTrainAgentChangeordersGetVtwoRequest

func NewTaobaoTrainAgentChangeordersGetVtwoRequest() *TaobaoTrainAgentChangeordersGetVtwoRequest

func (TaobaoTrainAgentChangeordersGetVtwoRequest) GetAgentId

func (TaobaoTrainAgentChangeordersGetVtwoRequest) GetApiMethodName

func (TaobaoTrainAgentChangeordersGetVtwoRequest) GetApiParams

func (*TaobaoTrainAgentChangeordersGetVtwoRequest) SetAgentId

type TaobaoTrainAgentChangeordersGetVtwoResponse

type TaobaoTrainAgentChangeordersGetVtwoResponse struct {
	XMLName   xml.Name `xml:"train_agent_changeorders_get_vtwo_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	ApplyCount int64 `json:"apply_count,omitempty" xml:"apply_count,omitempty"`

	ApplyIds string `json:"apply_ids,omitempty" xml:"apply_ids,omitempty"`
}

type TaobaoTrainAgentDirectCompensateAPIResponse

type TaobaoTrainAgentDirectCompensateAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentDirectCompensateResponse
}

火车票代理商接口——订单关闭实际出票成功审计接口 APIResponse taobao.train.agent.direct.compensate

代购直连订单平台关单但是代理商出票成功补偿接口

type TaobaoTrainAgentDirectCompensateRequest

type TaobaoTrainAgentDirectCompensateRequest struct {
	model.Params
	// contains filtered or unexported fields
}

火车票代理商接口——订单关闭实际出票成功审计接口 APIRequest taobao.train.agent.direct.compensate

代购直连订单平台关单但是代理商出票成功补偿接口

func NewTaobaoTrainAgentDirectCompensateRequest

func NewTaobaoTrainAgentDirectCompensateRequest() *TaobaoTrainAgentDirectCompensateRequest

func (TaobaoTrainAgentDirectCompensateRequest) GetApiMethodName

func (r TaobaoTrainAgentDirectCompensateRequest) GetApiMethodName() string

func (TaobaoTrainAgentDirectCompensateRequest) GetApiParams

func (TaobaoTrainAgentDirectCompensateRequest) GetCompensateParam

func (*TaobaoTrainAgentDirectCompensateRequest) SetCompensateParam

func (r *TaobaoTrainAgentDirectCompensateRequest) SetCompensateParam(compensateParam *CompensateParam) error

type TaobaoTrainAgentDirectCompensateResponse

type TaobaoTrainAgentDirectCompensateResponse struct {
	XMLName   xml.Name `xml:"train_agent_direct_compensate_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`

	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`

	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
}

type TaobaoTrainAgentExpressSetAPIResponse

type TaobaoTrainAgentExpressSetAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentExpressSetResponse
}

线下票回填物流信息 APIResponse taobao.train.agent.express.set

线下票回填物流信息服务

type TaobaoTrainAgentExpressSetRequest

type TaobaoTrainAgentExpressSetRequest struct {
	model.Params
	// contains filtered or unexported fields
}

线下票回填物流信息 APIRequest taobao.train.agent.express.set

线下票回填物流信息服务

func NewTaobaoTrainAgentExpressSetRequest

func NewTaobaoTrainAgentExpressSetRequest() *TaobaoTrainAgentExpressSetRequest

func (TaobaoTrainAgentExpressSetRequest) GetAddr

func (TaobaoTrainAgentExpressSetRequest) GetAgentId

func (TaobaoTrainAgentExpressSetRequest) GetApiMethodName

func (r TaobaoTrainAgentExpressSetRequest) GetApiMethodName() string

func (TaobaoTrainAgentExpressSetRequest) GetApiParams

func (r TaobaoTrainAgentExpressSetRequest) GetApiParams() url.Values

func (TaobaoTrainAgentExpressSetRequest) GetExpressId

func (r TaobaoTrainAgentExpressSetRequest) GetExpressId() string

func (TaobaoTrainAgentExpressSetRequest) GetExpressName

func (r TaobaoTrainAgentExpressSetRequest) GetExpressName() string

func (TaobaoTrainAgentExpressSetRequest) GetMainOrderId

func (r TaobaoTrainAgentExpressSetRequest) GetMainOrderId() int64

func (TaobaoTrainAgentExpressSetRequest) GetMobile

func (*TaobaoTrainAgentExpressSetRequest) SetAddr

func (*TaobaoTrainAgentExpressSetRequest) SetAgentId

func (r *TaobaoTrainAgentExpressSetRequest) SetAgentId(agentId int64) error

func (*TaobaoTrainAgentExpressSetRequest) SetExpressId

func (r *TaobaoTrainAgentExpressSetRequest) SetExpressId(expressId string) error

func (*TaobaoTrainAgentExpressSetRequest) SetExpressName

func (r *TaobaoTrainAgentExpressSetRequest) SetExpressName(expressName string) error

func (*TaobaoTrainAgentExpressSetRequest) SetMainOrderId

func (r *TaobaoTrainAgentExpressSetRequest) SetMainOrderId(mainOrderId int64) error

func (*TaobaoTrainAgentExpressSetRequest) SetMobile

func (r *TaobaoTrainAgentExpressSetRequest) SetMobile(mobile string) error

type TaobaoTrainAgentExpressSetResponse

type TaobaoTrainAgentExpressSetResponse struct {
	XMLName   xml.Name `xml:"train_agent_express_set_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	ErrorMsgCode string `json:"error_msg_code,omitempty" xml:"error_msg_code,omitempty"`

	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`

	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

type TaobaoTrainAgentExpressSetVtwoAPIResponse

type TaobaoTrainAgentExpressSetVtwoAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentExpressSetVtwoResponse
}

线下票回填物流信息v2--增加鉴权校验 APIResponse taobao.train.agent.express.set.vtwo

线下票回填物流信息服务

type TaobaoTrainAgentExpressSetVtwoRequest

type TaobaoTrainAgentExpressSetVtwoRequest struct {
	model.Params
	// contains filtered or unexported fields
}

线下票回填物流信息v2--增加鉴权校验 APIRequest taobao.train.agent.express.set.vtwo

线下票回填物流信息服务

func NewTaobaoTrainAgentExpressSetVtwoRequest

func NewTaobaoTrainAgentExpressSetVtwoRequest() *TaobaoTrainAgentExpressSetVtwoRequest

func (TaobaoTrainAgentExpressSetVtwoRequest) GetAddr

func (TaobaoTrainAgentExpressSetVtwoRequest) GetAgentId

func (TaobaoTrainAgentExpressSetVtwoRequest) GetApiMethodName

func (r TaobaoTrainAgentExpressSetVtwoRequest) GetApiMethodName() string

func (TaobaoTrainAgentExpressSetVtwoRequest) GetApiParams

func (TaobaoTrainAgentExpressSetVtwoRequest) GetExpressId

func (TaobaoTrainAgentExpressSetVtwoRequest) GetExpressName

func (r TaobaoTrainAgentExpressSetVtwoRequest) GetExpressName() string

func (TaobaoTrainAgentExpressSetVtwoRequest) GetMainOrderId

func (r TaobaoTrainAgentExpressSetVtwoRequest) GetMainOrderId() int64

func (TaobaoTrainAgentExpressSetVtwoRequest) GetMobile

func (*TaobaoTrainAgentExpressSetVtwoRequest) SetAddr

func (*TaobaoTrainAgentExpressSetVtwoRequest) SetAgentId

func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetAgentId(agentId int64) error

func (*TaobaoTrainAgentExpressSetVtwoRequest) SetExpressId

func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetExpressId(expressId string) error

func (*TaobaoTrainAgentExpressSetVtwoRequest) SetExpressName

func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetExpressName(expressName string) error

func (*TaobaoTrainAgentExpressSetVtwoRequest) SetMainOrderId

func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetMainOrderId(mainOrderId int64) error

func (*TaobaoTrainAgentExpressSetVtwoRequest) SetMobile

func (r *TaobaoTrainAgentExpressSetVtwoRequest) SetMobile(mobile string) error

type TaobaoTrainAgentExpressSetVtwoResponse

type TaobaoTrainAgentExpressSetVtwoResponse struct {
	XMLName   xml.Name `xml:"train_agent_express_set_vtwo_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	ErrorMsgCode string `json:"error_msg_code,omitempty" xml:"error_msg_code,omitempty"`

	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`

	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

type TaobaoTrainAgentGetRefundAPIResponse

type TaobaoTrainAgentGetRefundAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentGetRefundResponse
}

代理商获取订单退票信息 APIResponse taobao.train.agent.get.refund

代理商获取订单信息回调API

type TaobaoTrainAgentGetRefundRequest

type TaobaoTrainAgentGetRefundRequest struct {
	model.Params
	// contains filtered or unexported fields
}

代理商获取订单退票信息 APIRequest taobao.train.agent.get.refund

代理商获取订单信息回调API

func NewTaobaoTrainAgentGetRefundRequest

func NewTaobaoTrainAgentGetRefundRequest() *TaobaoTrainAgentGetRefundRequest

func (TaobaoTrainAgentGetRefundRequest) GetAgentId

func (r TaobaoTrainAgentGetRefundRequest) GetAgentId() int64

func (TaobaoTrainAgentGetRefundRequest) GetApiMethodName

func (r TaobaoTrainAgentGetRefundRequest) GetApiMethodName() string

func (TaobaoTrainAgentGetRefundRequest) GetApiParams

func (r TaobaoTrainAgentGetRefundRequest) GetApiParams() url.Values

func (TaobaoTrainAgentGetRefundRequest) GetMainOrderId

func (r TaobaoTrainAgentGetRefundRequest) GetMainOrderId() int64

func (*TaobaoTrainAgentGetRefundRequest) SetAgentId

func (r *TaobaoTrainAgentGetRefundRequest) SetAgentId(agentId int64) error

func (*TaobaoTrainAgentGetRefundRequest) SetMainOrderId

func (r *TaobaoTrainAgentGetRefundRequest) SetMainOrderId(mainOrderId int64) error

type TaobaoTrainAgentGetRefundResponse

type TaobaoTrainAgentGetRefundResponse struct {
	XMLName   xml.Name `xml:"train_agent_get_refund_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	TopRefundApplyList string `json:"top_refund_apply_list,omitempty" xml:"top_refund_apply_list,omitempty"`
}

type TaobaoTrainAgentGrabAccountAPIResponse

type TaobaoTrainAgentGrabAccountAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentGrabAccountResponse
}

代购抢代理商回传12306账号 APIResponse taobao.train.agent.grab.account

火车票业务代购抢功能,代理商回传12306账号,用于自营抢票链路出票

type TaobaoTrainAgentGrabAccountRequest

type TaobaoTrainAgentGrabAccountRequest struct {
	model.Params
	// contains filtered or unexported fields
}

代购抢代理商回传12306账号 APIRequest taobao.train.agent.grab.account

火车票业务代购抢功能,代理商回传12306账号,用于自营抢票链路出票

func NewTaobaoTrainAgentGrabAccountRequest

func NewTaobaoTrainAgentGrabAccountRequest() *TaobaoTrainAgentGrabAccountRequest

func (TaobaoTrainAgentGrabAccountRequest) GetAccountParam

func (r TaobaoTrainAgentGrabAccountRequest) GetAccountParam() *AccountParam

func (TaobaoTrainAgentGrabAccountRequest) GetApiMethodName

func (r TaobaoTrainAgentGrabAccountRequest) GetApiMethodName() string

func (TaobaoTrainAgentGrabAccountRequest) GetApiParams

func (*TaobaoTrainAgentGrabAccountRequest) SetAccountParam

func (r *TaobaoTrainAgentGrabAccountRequest) SetAccountParam(accountParam *AccountParam) error

type TaobaoTrainAgentGrabAccountResponse

type TaobaoTrainAgentGrabAccountResponse struct {
	XMLName   xml.Name `xml:"train_agent_grab_account_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`

	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

type TaobaoTrainAgentHandleticketConfirmAPIResponse

type TaobaoTrainAgentHandleticketConfirmAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentHandleticketConfirmResponse
}

代理商出票中 APIResponse taobao.train.agent.handleticket.confirm

代理商出票中

type TaobaoTrainAgentHandleticketConfirmRequest

type TaobaoTrainAgentHandleticketConfirmRequest struct {
	model.Params
	// contains filtered or unexported fields
}

代理商出票中 APIRequest taobao.train.agent.handleticket.confirm

代理商出票中

func NewTaobaoTrainAgentHandleticketConfirmRequest

func NewTaobaoTrainAgentHandleticketConfirmRequest() *TaobaoTrainAgentHandleticketConfirmRequest

func (TaobaoTrainAgentHandleticketConfirmRequest) GetApiMethodName

func (TaobaoTrainAgentHandleticketConfirmRequest) GetApiParams

func (TaobaoTrainAgentHandleticketConfirmRequest) GetExtendParams

func (TaobaoTrainAgentHandleticketConfirmRequest) GetMainOrderId

func (TaobaoTrainAgentHandleticketConfirmRequest) GetSellerId

func (*TaobaoTrainAgentHandleticketConfirmRequest) SetExtendParams

func (r *TaobaoTrainAgentHandleticketConfirmRequest) SetExtendParams(extendParams string) error

func (*TaobaoTrainAgentHandleticketConfirmRequest) SetMainOrderId

func (r *TaobaoTrainAgentHandleticketConfirmRequest) SetMainOrderId(mainOrderId int64) error

func (*TaobaoTrainAgentHandleticketConfirmRequest) SetSellerId

func (r *TaobaoTrainAgentHandleticketConfirmRequest) SetSellerId(sellerId int64) error

type TaobaoTrainAgentHandleticketConfirmResponse

type TaobaoTrainAgentHandleticketConfirmResponse struct {
	XMLName   xml.Name `xml:"train_agent_handleticket_confirm_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`

	TrainErrorCode string `json:"train_error_code,omitempty" xml:"train_error_code,omitempty"`

	TrainErrorMsg string `json:"train_error_msg,omitempty" xml:"train_error_msg,omitempty"`

	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
}

type TaobaoTrainAgentHandleticketConfirmVtwoAPIResponse

type TaobaoTrainAgentHandleticketConfirmVtwoAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentHandleticketConfirmVtwoResponse
}

代理商出票中v2--增加鉴权校验 APIResponse taobao.train.agent.handleticket.confirm.vtwo

代理商出票中

type TaobaoTrainAgentHandleticketConfirmVtwoRequest

type TaobaoTrainAgentHandleticketConfirmVtwoRequest struct {
	model.Params
	// contains filtered or unexported fields
}

代理商出票中v2--增加鉴权校验 APIRequest taobao.train.agent.handleticket.confirm.vtwo

代理商出票中

func NewTaobaoTrainAgentHandleticketConfirmVtwoRequest

func NewTaobaoTrainAgentHandleticketConfirmVtwoRequest() *TaobaoTrainAgentHandleticketConfirmVtwoRequest

func (TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetApiMethodName

func (TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetApiParams

func (TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetExtendParams

func (TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetMainOrderId

func (TaobaoTrainAgentHandleticketConfirmVtwoRequest) GetSellerId

func (*TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetExtendParams

func (r *TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetExtendParams(extendParams string) error

func (*TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetMainOrderId

func (r *TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetMainOrderId(mainOrderId int64) error

func (*TaobaoTrainAgentHandleticketConfirmVtwoRequest) SetSellerId

type TaobaoTrainAgentHandleticketConfirmVtwoResponse

type TaobaoTrainAgentHandleticketConfirmVtwoResponse struct {
	XMLName   xml.Name `xml:"train_agent_handleticket_confirm_vtwo_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`

	TrainErrorCode string `json:"train_error_code,omitempty" xml:"train_error_code,omitempty"`

	TrainErrorMsg string `json:"train_error_msg,omitempty" xml:"train_error_msg,omitempty"`

	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
}

type TaobaoTrainAgentHandrefundRefundfeeAPIResponse

type TaobaoTrainAgentHandrefundRefundfeeAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentHandrefundRefundfeeResponse
}

代理商手动退款接口 APIResponse taobao.train.agent.handrefund.refundfee

火车票代理商手动退款接口

type TaobaoTrainAgentHandrefundRefundfeeRequest

type TaobaoTrainAgentHandrefundRefundfeeRequest struct {
	model.Params
	// contains filtered or unexported fields
}

代理商手动退款接口 APIRequest taobao.train.agent.handrefund.refundfee

火车票代理商手动退款接口

func NewTaobaoTrainAgentHandrefundRefundfeeRequest

func NewTaobaoTrainAgentHandrefundRefundfeeRequest() *TaobaoTrainAgentHandrefundRefundfeeRequest

func (TaobaoTrainAgentHandrefundRefundfeeRequest) GetApiMethodName

func (TaobaoTrainAgentHandrefundRefundfeeRequest) GetApiParams

func (TaobaoTrainAgentHandrefundRefundfeeRequest) GetMainBizOrderId

func (r TaobaoTrainAgentHandrefundRefundfeeRequest) GetMainBizOrderId() int64

func (TaobaoTrainAgentHandrefundRefundfeeRequest) GetOutTradeNo

func (TaobaoTrainAgentHandrefundRefundfeeRequest) GetRefundFee

func (*TaobaoTrainAgentHandrefundRefundfeeRequest) SetMainBizOrderId

func (r *TaobaoTrainAgentHandrefundRefundfeeRequest) SetMainBizOrderId(mainBizOrderId int64) error

func (*TaobaoTrainAgentHandrefundRefundfeeRequest) SetOutTradeNo

func (r *TaobaoTrainAgentHandrefundRefundfeeRequest) SetOutTradeNo(outTradeNo string) error

func (*TaobaoTrainAgentHandrefundRefundfeeRequest) SetRefundFee

func (r *TaobaoTrainAgentHandrefundRefundfeeRequest) SetRefundFee(refundFee int64) error

type TaobaoTrainAgentHandrefundRefundfeeResponse

type TaobaoTrainAgentHandrefundRefundfeeResponse struct {
	XMLName   xml.Name `xml:"train_agent_handrefund_refundfee_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`

	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`

	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
}

type TaobaoTrainAgentHoldseatConfirmAPIResponse

type TaobaoTrainAgentHoldseatConfirmAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentHoldseatConfirmResponse
}

火车票代理商接口——确认占座是否成功 APIResponse taobao.train.agent.holdseat.confirm

火车票代理商接口——确认占座是否成功

type TaobaoTrainAgentHoldseatConfirmRequest

type TaobaoTrainAgentHoldseatConfirmRequest struct {
	model.Params
	// contains filtered or unexported fields
}

火车票代理商接口——确认占座是否成功 APIRequest taobao.train.agent.holdseat.confirm

火车票代理商接口——确认占座是否成功

func NewTaobaoTrainAgentHoldseatConfirmRequest

func NewTaobaoTrainAgentHoldseatConfirmRequest() *TaobaoTrainAgentHoldseatConfirmRequest

func (TaobaoTrainAgentHoldseatConfirmRequest) GetApiMethodName

func (r TaobaoTrainAgentHoldseatConfirmRequest) GetApiMethodName() string

func (TaobaoTrainAgentHoldseatConfirmRequest) GetApiParams

func (TaobaoTrainAgentHoldseatConfirmRequest) GetHoldSeatParam

func (*TaobaoTrainAgentHoldseatConfirmRequest) SetHoldSeatParam

func (r *TaobaoTrainAgentHoldseatConfirmRequest) SetHoldSeatParam(holdSeatParam *HoldSeatParam) error

type TaobaoTrainAgentHoldseatConfirmResponse

type TaobaoTrainAgentHoldseatConfirmResponse struct {
	XMLName   xml.Name `xml:"train_agent_holdseat_confirm_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`

	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

type TaobaoTrainAgentOrderGetAPIResponse

type TaobaoTrainAgentOrderGetAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentOrderGetResponse
}

代理商获取订单信息回调API APIResponse taobao.train.agent.order.get

代理商获取订单信息回调API

type TaobaoTrainAgentOrderGetRequest

type TaobaoTrainAgentOrderGetRequest struct {
	model.Params
	// contains filtered or unexported fields
}

代理商获取订单信息回调API APIRequest taobao.train.agent.order.get

代理商获取订单信息回调API

func NewTaobaoTrainAgentOrderGetRequest

func NewTaobaoTrainAgentOrderGetRequest() *TaobaoTrainAgentOrderGetRequest

func (TaobaoTrainAgentOrderGetRequest) GetAgentId

func (r TaobaoTrainAgentOrderGetRequest) GetAgentId() int64

func (TaobaoTrainAgentOrderGetRequest) GetApiMethodName

func (r TaobaoTrainAgentOrderGetRequest) GetApiMethodName() string

func (TaobaoTrainAgentOrderGetRequest) GetApiParams

func (r TaobaoTrainAgentOrderGetRequest) GetApiParams() url.Values

func (TaobaoTrainAgentOrderGetRequest) GetMainOrderId

func (r TaobaoTrainAgentOrderGetRequest) GetMainOrderId() int64

func (*TaobaoTrainAgentOrderGetRequest) SetAgentId

func (r *TaobaoTrainAgentOrderGetRequest) SetAgentId(agentId int64) error

func (*TaobaoTrainAgentOrderGetRequest) SetMainOrderId

func (r *TaobaoTrainAgentOrderGetRequest) SetMainOrderId(mainOrderId int64) error

type TaobaoTrainAgentOrderGetResponse

type TaobaoTrainAgentOrderGetResponse struct {
	XMLName   xml.Name `xml:"train_agent_order_get_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"`

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`

	MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"`

	Tickets []ToAgentTicketInfo `json:"tickets,omitempty" xml:"tickets>to_agent_ticket_info,omitempty"`

	TotalPrice int64 `json:"total_price,omitempty" xml:"total_price,omitempty"`

	Telephone string `json:"telephone,omitempty" xml:"telephone,omitempty"`

	Mailing bool `json:"mailing,omitempty" xml:"mailing,omitempty"`

	Address string `json:"address,omitempty" xml:"address,omitempty"`

	RelationName string `json:"relation_name,omitempty" xml:"relation_name,omitempty"`

	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`

	OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"`

	LatestIssueTime string `json:"latest_issue_time,omitempty" xml:"latest_issue_time,omitempty"`

	OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"`

	PaperType int64 `json:"paper_type,omitempty" xml:"paper_type,omitempty"`

	PaperBackup int64 `json:"paper_backup,omitempty" xml:"paper_backup,omitempty"`

	PaperLowSeatCount int64 `json:"paper_low_seat_count,omitempty" xml:"paper_low_seat_count,omitempty"`

	TransportName string `json:"transport_name,omitempty" xml:"transport_name,omitempty"`

	TransportPhone string `json:"transport_phone,omitempty" xml:"transport_phone,omitempty"`

	TransportAddress string `json:"transport_address,omitempty" xml:"transport_address,omitempty"`

	TransportPrice int64 `json:"transport_price,omitempty" xml:"transport_price,omitempty"`

	ServicePrice int64 `json:"service_price,omitempty" xml:"service_price,omitempty"`

	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
}

type TaobaoTrainAgentOrderGetVtwoAPIResponse

type TaobaoTrainAgentOrderGetVtwoAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentOrderGetVtwoResponse
}

代理商获取订单信息回调APIv2--增加鉴权校验 APIResponse taobao.train.agent.order.get.vtwo

代理商获取订单信息回调API

type TaobaoTrainAgentOrderGetVtwoRequest

type TaobaoTrainAgentOrderGetVtwoRequest struct {
	model.Params
	// contains filtered or unexported fields
}

代理商获取订单信息回调APIv2--增加鉴权校验 APIRequest taobao.train.agent.order.get.vtwo

代理商获取订单信息回调API

func NewTaobaoTrainAgentOrderGetVtwoRequest

func NewTaobaoTrainAgentOrderGetVtwoRequest() *TaobaoTrainAgentOrderGetVtwoRequest

func (TaobaoTrainAgentOrderGetVtwoRequest) GetAgentId

func (TaobaoTrainAgentOrderGetVtwoRequest) GetApiMethodName

func (r TaobaoTrainAgentOrderGetVtwoRequest) GetApiMethodName() string

func (TaobaoTrainAgentOrderGetVtwoRequest) GetApiParams

func (TaobaoTrainAgentOrderGetVtwoRequest) GetMainOrderId

func (r TaobaoTrainAgentOrderGetVtwoRequest) GetMainOrderId() int64

func (*TaobaoTrainAgentOrderGetVtwoRequest) SetAgentId

func (r *TaobaoTrainAgentOrderGetVtwoRequest) SetAgentId(agentId int64) error

func (*TaobaoTrainAgentOrderGetVtwoRequest) SetMainOrderId

func (r *TaobaoTrainAgentOrderGetVtwoRequest) SetMainOrderId(mainOrderId int64) error

type TaobaoTrainAgentOrderGetVtwoResponse

type TaobaoTrainAgentOrderGetVtwoResponse struct {
	XMLName   xml.Name `xml:"train_agent_order_get_vtwo_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	TtpOrderId int64 `json:"ttp_order_id,omitempty" xml:"ttp_order_id,omitempty"`

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`

	MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"`

	Tickets []ToAgentTicketInfo `json:"tickets,omitempty" xml:"tickets>to_agent_ticket_info,omitempty"`

	TotalPrice int64 `json:"total_price,omitempty" xml:"total_price,omitempty"`

	Telephone string `json:"telephone,omitempty" xml:"telephone,omitempty"`

	Mailing bool `json:"mailing,omitempty" xml:"mailing,omitempty"`

	Address string `json:"address,omitempty" xml:"address,omitempty"`

	RelationName string `json:"relation_name,omitempty" xml:"relation_name,omitempty"`

	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`

	OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"`

	LatestIssueTime string `json:"latest_issue_time,omitempty" xml:"latest_issue_time,omitempty"`

	OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"`

	PaperType int64 `json:"paper_type,omitempty" xml:"paper_type,omitempty"`

	PaperBackup int64 `json:"paper_backup,omitempty" xml:"paper_backup,omitempty"`

	PaperLowSeatCount int64 `json:"paper_low_seat_count,omitempty" xml:"paper_low_seat_count,omitempty"`

	TransportName string `json:"transport_name,omitempty" xml:"transport_name,omitempty"`

	TransportPhone string `json:"transport_phone,omitempty" xml:"transport_phone,omitempty"`

	TransportAddress string `json:"transport_address,omitempty" xml:"transport_address,omitempty"`

	TransportPrice int64 `json:"transport_price,omitempty" xml:"transport_price,omitempty"`

	ServicePrice int64 `json:"service_price,omitempty" xml:"service_price,omitempty"`

	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`

	OnlineBookSeat string `json:"online_book_seat,omitempty" xml:"online_book_seat,omitempty"`

	InterchangeStation string `json:"interchange_station,omitempty" xml:"interchange_station,omitempty"`

	IsMultiTrip string `json:"is_multi_trip,omitempty" xml:"is_multi_trip,omitempty"`

	NeedReceipt bool `json:"need_receipt,omitempty" xml:"need_receipt,omitempty"`

	AcceptNoVipCustom int64 `json:"accept_no_vip_custom,omitempty" xml:"accept_no_vip_custom,omitempty"`

	VipCustomMinSeatCount int64 `json:"vip_custom_min_seat_count,omitempty" xml:"vip_custom_min_seat_count,omitempty"`

	VipCustomType int64 `json:"vip_custom_type,omitempty" xml:"vip_custom_type,omitempty"`
}

type TaobaoTrainAgentOrderPayAPIResponse

type TaobaoTrainAgentOrderPayAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentOrderPayResponse
}

代购订单代付接口 APIResponse taobao.train.agent.order.pay

代购订单代付接口

type TaobaoTrainAgentOrderPayRequest

type TaobaoTrainAgentOrderPayRequest struct {
	model.Params
	// contains filtered or unexported fields
}

代购订单代付接口 APIRequest taobao.train.agent.order.pay

代购订单代付接口

func NewTaobaoTrainAgentOrderPayRequest

func NewTaobaoTrainAgentOrderPayRequest() *TaobaoTrainAgentOrderPayRequest

func (TaobaoTrainAgentOrderPayRequest) GetAgentPayOrderParam

func (r TaobaoTrainAgentOrderPayRequest) GetAgentPayOrderParam() *AgentPayOrderParam

func (TaobaoTrainAgentOrderPayRequest) GetApiMethodName

func (r TaobaoTrainAgentOrderPayRequest) GetApiMethodName() string

func (TaobaoTrainAgentOrderPayRequest) GetApiParams

func (r TaobaoTrainAgentOrderPayRequest) GetApiParams() url.Values

func (*TaobaoTrainAgentOrderPayRequest) SetAgentPayOrderParam

func (r *TaobaoTrainAgentOrderPayRequest) SetAgentPayOrderParam(agentPayOrderParam *AgentPayOrderParam) error

type TaobaoTrainAgentOrderPayResponse

type TaobaoTrainAgentOrderPayResponse struct {
	XMLName   xml.Name `xml:"train_agent_order_pay_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
}

type TaobaoTrainAgentReturnordersGetVtwoAPIResponse

type TaobaoTrainAgentReturnordersGetVtwoAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentReturnordersGetVtwoResponse
}

获取待退票的订单v2--增加鉴权校验 APIResponse taobao.train.agent.returnorders.get.vtwo

代理商用来获取待退票的订单列表及数量,防止代理商掉单。

type TaobaoTrainAgentReturnordersGetVtwoRequest

type TaobaoTrainAgentReturnordersGetVtwoRequest struct {
	model.Params
	// contains filtered or unexported fields
}

获取待退票的订单v2--增加鉴权校验 APIRequest taobao.train.agent.returnorders.get.vtwo

代理商用来获取待退票的订单列表及数量,防止代理商掉单。

func NewTaobaoTrainAgentReturnordersGetVtwoRequest

func NewTaobaoTrainAgentReturnordersGetVtwoRequest() *TaobaoTrainAgentReturnordersGetVtwoRequest

func (TaobaoTrainAgentReturnordersGetVtwoRequest) GetAgentId

func (TaobaoTrainAgentReturnordersGetVtwoRequest) GetApiMethodName

func (TaobaoTrainAgentReturnordersGetVtwoRequest) GetApiParams

func (TaobaoTrainAgentReturnordersGetVtwoRequest) GetOffline

func (*TaobaoTrainAgentReturnordersGetVtwoRequest) SetAgentId

func (*TaobaoTrainAgentReturnordersGetVtwoRequest) SetOffline

type TaobaoTrainAgentReturnordersGetVtwoResponse

type TaobaoTrainAgentReturnordersGetVtwoResponse struct {
	XMLName   xml.Name `xml:"train_agent_returnorders_get_vtwo_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	OrderCount int64 `json:"order_count,omitempty" xml:"order_count,omitempty"`

	OrderIds string `json:"order_ids,omitempty" xml:"order_ids,omitempty"`

	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`

	MainOrderIds string `json:"main_order_ids,omitempty" xml:"main_order_ids,omitempty"`

	RefundApplyTimes string `json:"refund_apply_times,omitempty" xml:"refund_apply_times,omitempty"`
}

type TaobaoTrainAgentReturnticketConfirmVtwoAPIResponse

type TaobaoTrainAgentReturnticketConfirmVtwoAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentReturnticketConfirmVtwoResponse
}

退票通知 APIResponse taobao.train.agent.returnticket.confirm.vtwo

火车票代理商接口——退票通知回调

type TaobaoTrainAgentReturnticketConfirmVtwoRequest

type TaobaoTrainAgentReturnticketConfirmVtwoRequest struct {
	model.Params
	// contains filtered or unexported fields
}

退票通知 APIRequest taobao.train.agent.returnticket.confirm.vtwo

火车票代理商接口——退票通知回调

func NewTaobaoTrainAgentReturnticketConfirmVtwoRequest

func NewTaobaoTrainAgentReturnticketConfirmVtwoRequest() *TaobaoTrainAgentReturnticketConfirmVtwoRequest

func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetAgentId

func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetAgreeReturn

func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetApiMethodName

func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetApiParams

func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetBuyerId

func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetCloseRefundNotify

func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetCloseRefundNotify() bool

func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetMainBizOrderId

func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetRefundFee

func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetRefuseReturnReason

func (r TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetRefuseReturnReason() string

func (TaobaoTrainAgentReturnticketConfirmVtwoRequest) GetSubBizOrderId

func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetAgentId

func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetAgreeReturn

func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetAgreeReturn(agreeReturn bool) error

func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetBuyerId

func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetCloseRefundNotify

func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetCloseRefundNotify(closeRefundNotify bool) error

func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetMainBizOrderId

func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetMainBizOrderId(mainBizOrderId int64) error

func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetRefundFee

func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetRefundFee(refundFee int64) error

func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetRefuseReturnReason

func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetRefuseReturnReason(refuseReturnReason string) error

func (*TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetSubBizOrderId

func (r *TaobaoTrainAgentReturnticketConfirmVtwoRequest) SetSubBizOrderId(subBizOrderId int64) error

type TaobaoTrainAgentReturnticketConfirmVtwoResponse

type TaobaoTrainAgentReturnticketConfirmVtwoResponse struct {
	XMLName   xml.Name `xml:"train_agent_returnticket_confirm_vtwo_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`

	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
}

type TaobaoTrainAgentTostationConfirmAPIResponse

type TaobaoTrainAgentTostationConfirmAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentTostationConfirmResponse
}

线下票确认送票至车站服务 APIResponse taobao.train.agent.tostation.confirm

送票至车站的订单,代理商确认配送到站

type TaobaoTrainAgentTostationConfirmRequest

type TaobaoTrainAgentTostationConfirmRequest struct {
	model.Params
	// contains filtered or unexported fields
}

线下票确认送票至车站服务 APIRequest taobao.train.agent.tostation.confirm

送票至车站的订单,代理商确认配送到站

func NewTaobaoTrainAgentTostationConfirmRequest

func NewTaobaoTrainAgentTostationConfirmRequest() *TaobaoTrainAgentTostationConfirmRequest

func (TaobaoTrainAgentTostationConfirmRequest) GetAgentId

func (TaobaoTrainAgentTostationConfirmRequest) GetApiMethodName

func (r TaobaoTrainAgentTostationConfirmRequest) GetApiMethodName() string

func (TaobaoTrainAgentTostationConfirmRequest) GetApiParams

func (TaobaoTrainAgentTostationConfirmRequest) GetMainOrderId

func (*TaobaoTrainAgentTostationConfirmRequest) SetAgentId

func (r *TaobaoTrainAgentTostationConfirmRequest) SetAgentId(agentId int64) error

func (*TaobaoTrainAgentTostationConfirmRequest) SetMainOrderId

func (r *TaobaoTrainAgentTostationConfirmRequest) SetMainOrderId(mainOrderId int64) error

type TaobaoTrainAgentTostationConfirmResponse

type TaobaoTrainAgentTostationConfirmResponse struct {
	XMLName   xml.Name `xml:"train_agent_tostation_confirm_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	ErrorMsgCode string `json:"error_msg_code,omitempty" xml:"error_msg_code,omitempty"`

	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`

	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

type TaobaoTrainAgentTostationReceiveAPIResponse

type TaobaoTrainAgentTostationReceiveAPIResponse struct {
	model.CommonResponse
	TaobaoTrainAgentTostationReceiveResponse
}

线下票送票至车站代理商确认用户已取票服务 APIResponse taobao.train.agent.tostation.receive

送票至车站的订单,代理商确认用户已取票

type TaobaoTrainAgentTostationReceiveRequest

type TaobaoTrainAgentTostationReceiveRequest struct {
	model.Params
	// contains filtered or unexported fields
}

线下票送票至车站代理商确认用户已取票服务 APIRequest taobao.train.agent.tostation.receive

送票至车站的订单,代理商确认用户已取票

func NewTaobaoTrainAgentTostationReceiveRequest

func NewTaobaoTrainAgentTostationReceiveRequest() *TaobaoTrainAgentTostationReceiveRequest

func (TaobaoTrainAgentTostationReceiveRequest) GetAgentId

func (TaobaoTrainAgentTostationReceiveRequest) GetApiMethodName

func (r TaobaoTrainAgentTostationReceiveRequest) GetApiMethodName() string

func (TaobaoTrainAgentTostationReceiveRequest) GetApiParams

func (TaobaoTrainAgentTostationReceiveRequest) GetMainOrderId

func (*TaobaoTrainAgentTostationReceiveRequest) SetAgentId

func (r *TaobaoTrainAgentTostationReceiveRequest) SetAgentId(agentId int64) error

func (*TaobaoTrainAgentTostationReceiveRequest) SetMainOrderId

func (r *TaobaoTrainAgentTostationReceiveRequest) SetMainOrderId(mainOrderId int64) error

type TaobaoTrainAgentTostationReceiveResponse

type TaobaoTrainAgentTostationReceiveResponse struct {
	XMLName   xml.Name `xml:"train_agent_tostation_receive_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	ErrorMsgCode string `json:"error_msg_code,omitempty" xml:"error_msg_code,omitempty"`

	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`

	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

type TaobaoTrainMomentGetAPIResponse

type TaobaoTrainMomentGetAPIResponse struct {
	model.CommonResponse
	TaobaoTrainMomentGetResponse
}

火车票时刻表 APIResponse taobao.train.moment.get

查询火车票车次时刻表

type TaobaoTrainMomentGetRequest

type TaobaoTrainMomentGetRequest struct {
	model.Params
	// contains filtered or unexported fields
}

火车票时刻表 APIRequest taobao.train.moment.get

查询火车票车次时刻表

func NewTaobaoTrainMomentGetRequest

func NewTaobaoTrainMomentGetRequest() *TaobaoTrainMomentGetRequest

func (TaobaoTrainMomentGetRequest) GetApiMethodName

func (r TaobaoTrainMomentGetRequest) GetApiMethodName() string

func (TaobaoTrainMomentGetRequest) GetApiParams

func (r TaobaoTrainMomentGetRequest) GetApiParams() url.Values

func (TaobaoTrainMomentGetRequest) GetParam

func (*TaobaoTrainMomentGetRequest) SetParam

type TaobaoTrainMomentGetResponse

type TaobaoTrainMomentGetResponse struct {
	XMLName   xml.Name `xml:"train_moment_get_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Bindex string `json:"bindex,omitempty" xml:"bindex,omitempty"`

	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`

	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`

	Stations []StationPassInfo `json:"stations,omitempty" xml:"stations>station_pass_info,omitempty"`

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

type ToAgentTicketInfo

type ToAgentTicketInfo struct {
	StudentInfo *StudentInfo `json:"student_info,omitempty" xml:"student_info,omitempty"`

	SubOrderId string `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"`

	FromStation string `json:"from_station,omitempty" xml:"from_station,omitempty"`

	FromTime string `json:"from_time,omitempty" xml:"from_time,omitempty"`

	ToStation string `json:"to_station,omitempty" xml:"to_station,omitempty"`

	Seat int64 `json:"seat,omitempty" xml:"seat,omitempty"`

	TrainNum string `json:"train_num,omitempty" xml:"train_num,omitempty"`

	PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"`

	CertificateNum string `json:"certificate_num,omitempty" xml:"certificate_num,omitempty"`

	CertificateType string `json:"certificate_type,omitempty" xml:"certificate_type,omitempty"`

	InsurancePrice int64 `json:"insurance_price,omitempty" xml:"insurance_price,omitempty"`

	TicketPrice int64 `json:"ticket_price,omitempty" xml:"ticket_price,omitempty"`

	Birthday string `json:"birthday,omitempty" xml:"birthday,omitempty"`

	ToTime string `json:"to_time,omitempty" xml:"to_time,omitempty"`

	Tag int64 `json:"tag,omitempty" xml:"tag,omitempty"`

	InsuranceUnitPrice int64 `json:"insurance_unit_price,omitempty" xml:"insurance_unit_price,omitempty"`

	PassengerType int64 `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"`

	SegmentIndex int64 `json:"segment_index,omitempty" xml:"segment_index,omitempty"`

	Nationality string `json:"nationality,omitempty" xml:"nationality,omitempty"`

	NationalityCode string `json:"nationality_code,omitempty" xml:"nationality_code,omitempty"`

	ValidUntil string `json:"valid_until,omitempty" xml:"valid_until,omitempty"`

	Gender string `json:"gender,omitempty" xml:"gender,omitempty"`

	Telephone string `json:"telephone,omitempty" xml:"telephone,omitempty"`

	RealTicketPrice int64 `json:"real_ticket_price,omitempty" xml:"real_ticket_price,omitempty"`
}

ToAgentTicketInfo

type TrainBaseDto

type TrainBaseDto struct {
	TrainNumber string `json:"train_number,omitempty" xml:"train_number,omitempty"`

	TrainType int64 `json:"train_type,omitempty" xml:"train_type,omitempty"`

	RunTime string `json:"run_time,omitempty" xml:"run_time,omitempty"`

	ToStationTime string `json:"to_station_time,omitempty" xml:"to_station_time,omitempty"`

	ToStationName string `json:"to_station_name,omitempty" xml:"to_station_name,omitempty"`

	FromStationTime string `json:"from_station_time,omitempty" xml:"from_station_time,omitempty"`

	FromStationName string `json:"from_station_name,omitempty" xml:"from_station_name,omitempty"`

	SeatType string `json:"seat_type,omitempty" xml:"seat_type,omitempty"`
}

TrainBaseDto

type TrainMomentTopParam

type TrainMomentTopParam struct {
	ArrStation string `json:"arr_station,omitempty" xml:"arr_station,omitempty"`

	DepDate string `json:"dep_date,omitempty" xml:"dep_date,omitempty"`

	DepStation string `json:"dep_station,omitempty" xml:"dep_station,omitempty"`

	TrainNo string `json:"train_no,omitempty" xml:"train_no,omitempty"`

	TrainNoLong string `json:"train_no_long,omitempty" xml:"train_no_long,omitempty"`

	Ttid string `json:"ttid,omitempty" xml:"ttid,omitempty"`
}

TrainMomentTopParam

type TrainPassengerInfoDto

type TrainPassengerInfoDto struct {
	PayPrice int64 `json:"pay_price,omitempty" xml:"pay_price,omitempty"`

	SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"`

	HandFee int64 `json:"hand_fee,omitempty" xml:"hand_fee,omitempty"`

	SeatNum string `json:"seat_num,omitempty" xml:"seat_num,omitempty"`

	RealSeat int64 `json:"real_seat,omitempty" xml:"real_seat,omitempty"`

	PassengerType int64 `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"`

	PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"`

	CertificateNum string `json:"certificate_num,omitempty" xml:"certificate_num,omitempty"`

	CertificateType int64 `json:"certificate_type,omitempty" xml:"certificate_type,omitempty"`

	ChdFollowAdtId string `json:"chd_follow_adt_id,omitempty" xml:"chd_follow_adt_id,omitempty"`
}

TrainPassengerInfoDto

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL