jipiao

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package jipiao 包含国内机票订单API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=26565

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseCorpInfo added in v1.3.4

func ReleaseCorpInfo(v *CorpInfo)

ReleaseCorpInfo 释放CorpInfo

func ReleaseFlight added in v1.3.4

func ReleaseFlight(v *Flight)

ReleaseFlight 释放Flight

func ReleaseItinerary added in v1.3.4

func ReleaseItinerary(v *Itinerary)

ReleaseItinerary 释放Itinerary

func ReleasePassenger added in v1.3.4

func ReleasePassenger(v *Passenger)

ReleasePassenger 释放Passenger

func ReleaseRequestAxbDo added in v1.3.4

func ReleaseRequestAxbDo(v *RequestAxbDo)

ReleaseRequestAxbDo 释放RequestAxbDo

func ReleaseReturnApplyDo added in v1.3.4

func ReleaseReturnApplyDo(v *ReturnApplyDo)

ReleaseReturnApplyDo 释放ReturnApplyDo

func ReleaseReturnApplyPassenge added in v1.3.4

func ReleaseReturnApplyPassenge(v *ReturnApplyPassenge)

ReleaseReturnApplyPassenge 释放ReturnApplyPassenge

func ReleaseReturnTicketDetail added in v1.3.4

func ReleaseReturnTicketDetail(v *ReturnTicketDetail)

ReleaseReturnTicketDetail 释放ReturnTicketDetail

func ReleaseReturnTicketDo added in v1.3.4

func ReleaseReturnTicketDo(v *ReturnTicketDo)

ReleaseReturnTicketDo 释放ReturnTicketDo

func ReleaseReturnTicketSegment added in v1.3.4

func ReleaseReturnTicketSegment(v *ReturnTicketSegment)

ReleaseReturnTicketSegment 释放ReturnTicketSegment

func ReleaseSyncOrderDo added in v1.3.4

func ReleaseSyncOrderDo(v *SyncOrderDo)

ReleaseSyncOrderDo 释放SyncOrderDo

func ReleaseTaobaoAlitripBuyerGetAPIRequest added in v1.3.4

func ReleaseTaobaoAlitripBuyerGetAPIRequest(v *TaobaoAlitripBuyerGetAPIRequest)

ReleaseTaobaoAlitripBuyerGetAPIRequest 将 TaobaoAlitripBuyerGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoAlitripBuyerGetAPIResponse added in v1.3.4

func ReleaseTaobaoAlitripBuyerGetAPIResponse(v *TaobaoAlitripBuyerGetAPIResponse)

ReleaseTaobaoAlitripBuyerGetAPIResponse 将 TaobaoAlitripBuyerGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoAlitripSellerModifyListAPIRequest added in v1.3.4

func ReleaseTaobaoAlitripSellerModifyListAPIRequest(v *TaobaoAlitripSellerModifyListAPIRequest)

ReleaseTaobaoAlitripSellerModifyListAPIRequest 将 TaobaoAlitripSellerModifyListAPIRequest 放入 sync.Pool

func ReleaseTaobaoAlitripSellerModifyListAPIResponse added in v1.3.4

func ReleaseTaobaoAlitripSellerModifyListAPIResponse(v *TaobaoAlitripSellerModifyListAPIResponse)

ReleaseTaobaoAlitripSellerModifyListAPIResponse 将 TaobaoAlitripSellerModifyListAPIResponse 保存到 sync.Pool

func ReleaseTaobaoAlitripSellerRefundConfirmreturnAPIRequest added in v1.3.4

func ReleaseTaobaoAlitripSellerRefundConfirmreturnAPIRequest(v *TaobaoAlitripSellerRefundConfirmreturnAPIRequest)

ReleaseTaobaoAlitripSellerRefundConfirmreturnAPIRequest 将 TaobaoAlitripSellerRefundConfirmreturnAPIRequest 放入 sync.Pool

func ReleaseTaobaoAlitripSellerRefundConfirmreturnAPIResponse added in v1.3.4

func ReleaseTaobaoAlitripSellerRefundConfirmreturnAPIResponse(v *TaobaoAlitripSellerRefundConfirmreturnAPIResponse)

ReleaseTaobaoAlitripSellerRefundConfirmreturnAPIResponse 将 TaobaoAlitripSellerRefundConfirmreturnAPIResponse 保存到 sync.Pool

func ReleaseTaobaoAlitripSellerRefundFillfeeAPIRequest added in v1.3.4

func ReleaseTaobaoAlitripSellerRefundFillfeeAPIRequest(v *TaobaoAlitripSellerRefundFillfeeAPIRequest)

ReleaseTaobaoAlitripSellerRefundFillfeeAPIRequest 将 TaobaoAlitripSellerRefundFillfeeAPIRequest 放入 sync.Pool

func ReleaseTaobaoAlitripSellerRefundFillfeeAPIResponse added in v1.3.4

func ReleaseTaobaoAlitripSellerRefundFillfeeAPIResponse(v *TaobaoAlitripSellerRefundFillfeeAPIResponse)

ReleaseTaobaoAlitripSellerRefundFillfeeAPIResponse 将 TaobaoAlitripSellerRefundFillfeeAPIResponse 保存到 sync.Pool

func ReleaseTaobaoAlitripSellerRefundGetAPIRequest added in v1.3.4

func ReleaseTaobaoAlitripSellerRefundGetAPIRequest(v *TaobaoAlitripSellerRefundGetAPIRequest)

ReleaseTaobaoAlitripSellerRefundGetAPIRequest 将 TaobaoAlitripSellerRefundGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoAlitripSellerRefundGetAPIResponse added in v1.3.4

func ReleaseTaobaoAlitripSellerRefundGetAPIResponse(v *TaobaoAlitripSellerRefundGetAPIResponse)

ReleaseTaobaoAlitripSellerRefundGetAPIResponse 将 TaobaoAlitripSellerRefundGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoAlitripSellerRefundGetResultDo added in v1.3.4

func ReleaseTaobaoAlitripSellerRefundGetResultDo(v *TaobaoAlitripSellerRefundGetResultDo)

ReleaseTaobaoAlitripSellerRefundGetResultDo 释放TaobaoAlitripSellerRefundGetResultDo

func ReleaseTaobaoAlitripSellerRefundRefusereturnAPIRequest added in v1.3.4

func ReleaseTaobaoAlitripSellerRefundRefusereturnAPIRequest(v *TaobaoAlitripSellerRefundRefusereturnAPIRequest)

ReleaseTaobaoAlitripSellerRefundRefusereturnAPIRequest 将 TaobaoAlitripSellerRefundRefusereturnAPIRequest 放入 sync.Pool

func ReleaseTaobaoAlitripSellerRefundRefusereturnAPIResponse added in v1.3.4

func ReleaseTaobaoAlitripSellerRefundRefusereturnAPIResponse(v *TaobaoAlitripSellerRefundRefusereturnAPIResponse)

ReleaseTaobaoAlitripSellerRefundRefusereturnAPIResponse 将 TaobaoAlitripSellerRefundRefusereturnAPIResponse 保存到 sync.Pool

func ReleaseTaobaoAlitripSellerRefundRefusereturnResultDo added in v1.3.4

func ReleaseTaobaoAlitripSellerRefundRefusereturnResultDo(v *TaobaoAlitripSellerRefundRefusereturnResultDo)

ReleaseTaobaoAlitripSellerRefundRefusereturnResultDo 释放TaobaoAlitripSellerRefundRefusereturnResultDo

func ReleaseTaobaoAlitripSellerRefundSearchAPIRequest added in v1.3.4

func ReleaseTaobaoAlitripSellerRefundSearchAPIRequest(v *TaobaoAlitripSellerRefundSearchAPIRequest)

ReleaseTaobaoAlitripSellerRefundSearchAPIRequest 将 TaobaoAlitripSellerRefundSearchAPIRequest 放入 sync.Pool

func ReleaseTaobaoAlitripSellerRefundSearchAPIResponse added in v1.3.4

func ReleaseTaobaoAlitripSellerRefundSearchAPIResponse(v *TaobaoAlitripSellerRefundSearchAPIResponse)

ReleaseTaobaoAlitripSellerRefundSearchAPIResponse 将 TaobaoAlitripSellerRefundSearchAPIResponse 保存到 sync.Pool

func ReleaseTaobaoAlitripSellerRefundSearchResultDo added in v1.3.4

func ReleaseTaobaoAlitripSellerRefundSearchResultDo(v *TaobaoAlitripSellerRefundSearchResultDo)

ReleaseTaobaoAlitripSellerRefundSearchResultDo 释放TaobaoAlitripSellerRefundSearchResultDo

func ReleaseTaobaoAlitripSellerRefundmoneyConfirmAPIRequest added in v1.3.4

func ReleaseTaobaoAlitripSellerRefundmoneyConfirmAPIRequest(v *TaobaoAlitripSellerRefundmoneyConfirmAPIRequest)

ReleaseTaobaoAlitripSellerRefundmoneyConfirmAPIRequest 将 TaobaoAlitripSellerRefundmoneyConfirmAPIRequest 放入 sync.Pool

func ReleaseTaobaoAlitripSellerRefundmoneyConfirmAPIResponse added in v1.3.4

func ReleaseTaobaoAlitripSellerRefundmoneyConfirmAPIResponse(v *TaobaoAlitripSellerRefundmoneyConfirmAPIResponse)

ReleaseTaobaoAlitripSellerRefundmoneyConfirmAPIResponse 将 TaobaoAlitripSellerRefundmoneyConfirmAPIResponse 保存到 sync.Pool

func ReleaseTaobaoAlitripSellerRefundorderlistFetchAPIRequest added in v1.3.4

func ReleaseTaobaoAlitripSellerRefundorderlistFetchAPIRequest(v *TaobaoAlitripSellerRefundorderlistFetchAPIRequest)

ReleaseTaobaoAlitripSellerRefundorderlistFetchAPIRequest 将 TaobaoAlitripSellerRefundorderlistFetchAPIRequest 放入 sync.Pool

func ReleaseTaobaoAlitripSellerRefundorderlistFetchAPIResponse added in v1.3.4

func ReleaseTaobaoAlitripSellerRefundorderlistFetchAPIResponse(v *TaobaoAlitripSellerRefundorderlistFetchAPIResponse)

ReleaseTaobaoAlitripSellerRefundorderlistFetchAPIResponse 将 TaobaoAlitripSellerRefundorderlistFetchAPIResponse 保存到 sync.Pool

func ReleaseTaobaoJipiaoAgentOrderBdetailAPIRequest added in v1.3.4

func ReleaseTaobaoJipiaoAgentOrderBdetailAPIRequest(v *TaobaoJipiaoAgentOrderBdetailAPIRequest)

ReleaseTaobaoJipiaoAgentOrderBdetailAPIRequest 将 TaobaoJipiaoAgentOrderBdetailAPIRequest 放入 sync.Pool

func ReleaseTaobaoJipiaoAgentOrderBdetailAPIResponse added in v1.3.4

func ReleaseTaobaoJipiaoAgentOrderBdetailAPIResponse(v *TaobaoJipiaoAgentOrderBdetailAPIResponse)

ReleaseTaobaoJipiaoAgentOrderBdetailAPIResponse 将 TaobaoJipiaoAgentOrderBdetailAPIResponse 保存到 sync.Pool

func ReleaseTripBaseInfo added in v1.3.4

func ReleaseTripBaseInfo(v *TripBaseInfo)

ReleaseTripBaseInfo 释放TripBaseInfo

func ReleaseTripFlightInfo added in v1.3.4

func ReleaseTripFlightInfo(v *TripFlightInfo)

ReleaseTripFlightInfo 释放TripFlightInfo

func ReleaseTripFlightPassenger added in v1.3.4

func ReleaseTripFlightPassenger(v *TripFlightPassenger)

ReleaseTripFlightPassenger 释放TripFlightPassenger

func ReleaseTripOrder added in v1.3.4

func ReleaseTripOrder(v *TripOrder)

ReleaseTripOrder 释放TripOrder

Types

type CorpInfo

type CorpInfo struct {
	// 申请人姓名
	ApplyName string `json:"apply_name,omitempty" xml:"apply_name,omitempty"`
	// 申请人工号
	ApplyNo string `json:"apply_no,omitempty" xml:"apply_no,omitempty"`
	// BPM的fromNO
	FormNo string `json:"form_no,omitempty" xml:"form_no,omitempty"`
	// 出差人工号
	TripPersonNo string `json:"trip_person_no,omitempty" xml:"trip_person_no,omitempty"`
	// 出差人姓名
	TripPersonName string `json:"trip_person_name,omitempty" xml:"trip_person_name,omitempty"`
	// 工作地点
	WorkSpace string `json:"work_space,omitempty" xml:"work_space,omitempty"`
	// 成本中心代码
	CostCenterCode string `json:"cost_center_code,omitempty" xml:"cost_center_code,omitempty"`
	// 成本中心
	CostCenter string `json:"cost_center,omitempty" xml:"cost_center,omitempty"`
	// 单据状态代码
	FormStatus string `json:"form_status,omitempty" xml:"form_status,omitempty"`
	// 单据状态描述
	ReceiptsStatus string `json:"receipts_status,omitempty" xml:"receipts_status,omitempty"`
	// 费用归属OU的CODE
	CostOu string `json:"cost_ou,omitempty" xml:"cost_ou,omitempty"`
	// 申请时间
	ApplyTime string `json:"apply_time,omitempty" xml:"apply_time,omitempty"`
	// 集团id
	CorprationId string `json:"corpration_id,omitempty" xml:"corpration_id,omitempty"`
	// 扩展字段
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
}

CorpInfo 结构体

func GetCorpInfo added in v1.3.4

func GetCorpInfo() *CorpInfo

GetCorpInfo() 从对象池中获取CorpInfo

type Flight

type Flight struct {
	// 改签后航空公司二字码
	AirLineCode string `json:"air_line_code,omitempty" xml:"air_line_code,omitempty"`
	// 改签后到达机场三字码
	ArrAirport string `json:"arr_airport,omitempty" xml:"arr_airport,omitempty"`
	// 改签后出发机场三字码
	DepAirport string `json:"dep_airport,omitempty" xml:"dep_airport,omitempty"`
	// 改签后出发时间
	DepDate string `json:"dep_date,omitempty" xml:"dep_date,omitempty"`
	// 改签后航班号
	FlightNo string `json:"flight_no,omitempty" xml:"flight_no,omitempty"`
}

Flight 结构体

func GetFlight added in v1.3.4

func GetFlight() *Flight

GetFlight() 从对象池中获取Flight

type Itinerary

type Itinerary struct {
	// 收件人姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 收件人手机号
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 收件人备用手机号
	MobileBak string `json:"mobile_bak,omitempty" xml:"mobile_bak,omitempty"`
	// 收件人地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 行程单价格,单位:分
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 物流公司代码
	CompanyCode string `json:"company_code,omitempty" xml:"company_code,omitempty"`
	// 邮寄单号
	ExpressCode string `json:"express_code,omitempty" xml:"express_code,omitempty"`
	// 行程单号
	ItineraryNo string `json:"itinerary_no,omitempty" xml:"itinerary_no,omitempty"`
	// 邮寄时间
	SendDate string `json:"send_date,omitempty" xml:"send_date,omitempty"`
	// 扩展字段
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 支付宝交易号
	AlipayTradeNo string `json:"alipay_trade_no,omitempty" xml:"alipay_trade_no,omitempty"`
	// 行程单类型:6,快递
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 行程单订单的状态 0:未付款 1:已付款 2:转交易成功 3:已邮寄 4:已取消
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 淘宝主键id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

Itinerary 结构体

func GetItinerary added in v1.3.4

func GetItinerary() *Itinerary

GetItinerary() 从对象池中获取Itinerary

type Passenger

type Passenger struct {
	// 乘客生日
	Birthday string `json:"birthday,omitempty" xml:"birthday,omitempty"`
	// 乘客证件号码
	CertNum string `json:"cert_num,omitempty" xml:"cert_num,omitempty"`
	// 乘客姓名
	PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"`
	// 改签前的pnr
	Pnr string `json:"pnr,omitempty" xml:"pnr,omitempty"`
	// 改签后的票号
	TicketNo string `json:"ticket_no,omitempty" xml:"ticket_no,omitempty"`
	// 改签前的票号
	OldTicketNo string `json:"old_ticket_no,omitempty" xml:"old_ticket_no,omitempty"`
}

Passenger 结构体

func GetPassenger added in v1.3.4

func GetPassenger() *Passenger

GetPassenger() 从对象池中获取Passenger

type RequestAxbDo

type RequestAxbDo struct {
	// 商家联系号码,多个号码以“,”分割;传证件号时为乘机人姓名
	ContactNo string `json:"contact_no,omitempty" xml:"contact_no,omitempty"`
	// 用途
	Purpose string `json:"purpose,omitempty" xml:"purpose,omitempty"`
	// 请求内容:0手机号
	ReqContent int64 `json:"req_content,omitempty" xml:"req_content,omitempty"`
	// 业务类型:0国内机票,1国际机票
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 订单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

RequestAxbDo 结构体

func GetRequestAxbDo added in v1.3.4

func GetRequestAxbDo() *RequestAxbDo

GetRequestAxbDo() 从对象池中获取RequestAxbDo

type ReturnApplyDo

type ReturnApplyDo struct {
	// 航线二字码
	AirlineCode string `json:"airline_code,omitempty" xml:"airline_code,omitempty"`
	// 退票提交时间
	ApplyTime string `json:"apply_time,omitempty" xml:"apply_time,omitempty"`
	// 到达机场三字码
	ArrAirportCode string `json:"arr_airport_code,omitempty" xml:"arr_airport_code,omitempty"`
	// 舱位
	Cabin string `json:"cabin,omitempty" xml:"cabin,omitempty"`
	// 出发机场三字码
	DepAirportCode string `json:"dep_airport_code,omitempty" xml:"dep_airport_code,omitempty"`
	// 到达时间
	DepTime string `json:"dep_time,omitempty" xml:"dep_time,omitempty"`
	// 退票成功时间
	FirstProcessTime string `json:"first_process_time,omitempty" xml:"first_process_time,omitempty"`
	// 航班号
	FlightNo string `json:"flight_no,omitempty" xml:"flight_no,omitempty"`
	// 乘机人姓名
	PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"`
	// 退款成功时间
	PaySuccessTime string `json:"pay_success_time,omitempty" xml:"pay_success_time,omitempty"`
	// 票号
	TicketNo string `json:"ticket_no,omitempty" xml:"ticket_no,omitempty"`
	// 退票原因
	RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"`
	// 数据项id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 订单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 退票手续费(单位:元)
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 退款金额(单位:元)
	RefundMoney int64 `json:"refund_money,omitempty" xml:"refund_money,omitempty"`
	// 退票状态,1:初始,2:接受,3:确认,4:失败,5:买家处理,6:卖家处理,7:等待小二回填,8:退款成功
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 是否自愿
	IsVoluntary bool `json:"is_voluntary,omitempty" xml:"is_voluntary,omitempty"`
}

ReturnApplyDo 结构体

func GetReturnApplyDo added in v1.3.4

func GetReturnApplyDo() *ReturnApplyDo

GetReturnApplyDo() 从对象池中获取ReturnApplyDo

type ReturnApplyPassenge

type ReturnApplyPassenge struct {
	// 退款航段信息
	ReturnTicketSegment []ReturnTicketSegment `json:"return_ticket_segment,omitempty" xml:"return_ticket_segment>return_ticket_segment,omitempty"`
	// 乘机人姓名
	PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"`
	// 优惠后票面价
	DiscountTicketPrice int64 `json:"discount_ticket_price,omitempty" xml:"discount_ticket_price,omitempty"`
	// 人ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 乘机人类型
	PassengerType int64 `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"`
	// 退款手续费
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 退款金额
	RefundMoney int64 `json:"refund_money,omitempty" xml:"refund_money,omitempty"`
	// 票价信息(分)
	TicketPrice int64 `json:"ticket_price,omitempty" xml:"ticket_price,omitempty"`
	// 优惠券金额
	VoucherPrice int64 `json:"voucher_price,omitempty" xml:"voucher_price,omitempty"`
}

ReturnApplyPassenge 结构体

func GetReturnApplyPassenge added in v1.3.4

func GetReturnApplyPassenge() *ReturnApplyPassenge

GetReturnApplyPassenge() 从对象池中获取ReturnApplyPassenge

type ReturnTicketDetail

type ReturnTicketDetail struct {
	// 人的费用信息
	ReturnApplyPassenge []ReturnApplyPassenge `json:"return_apply_passenge,omitempty" xml:"return_apply_passenge>return_apply_passenge,omitempty"`
	// 退票申请时间
	ApplyTime string `json:"apply_time,omitempty" xml:"apply_time,omitempty"`
	// 退票成功时间
	FirstProcessTime string `json:"first_process_time,omitempty" xml:"first_process_time,omitempty"`
	// 退款成功时间
	PaySuccessTime string `json:"pay_success_time,omitempty" xml:"pay_success_time,omitempty"`
	// 申退原因
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
	// 申请单ID
	ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"`
	// 退票原因
	ApplyReasonType int64 `json:"apply_reason_type,omitempty" xml:"apply_reason_type,omitempty"`
	// 订单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 退款手续费(分)
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 退款金额(退给买家的钱)(分)
	RefundMoney int64 `json:"refund_money,omitempty" xml:"refund_money,omitempty"`
	// 申请单状态(1初始 2接受 3确认 4失败 5买家处理 6卖家处理 7等待小二回填 8退款成功)
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// creditMoney
	CreditMoney int64 `json:"credit_money,omitempty" xml:"credit_money,omitempty"`
}

ReturnTicketDetail 结构体

func GetReturnTicketDetail added in v1.3.4

func GetReturnTicketDetail() *ReturnTicketDetail

GetReturnTicketDetail() 从对象池中获取ReturnTicketDetail

type ReturnTicketDo

type ReturnTicketDo struct {
	// 申请时间
	ApplyTime string `json:"apply_time,omitempty" xml:"apply_time,omitempty"`
	// 申请单ID
	ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"`
	// 订单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 申请单状态(1初始 2接受 3确认 4失败 5买家处理 6卖家处理 7等待小二回填 8退款成功)
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

ReturnTicketDo 结构体

func GetReturnTicketDo added in v1.3.4

func GetReturnTicketDo() *ReturnTicketDo

GetReturnTicketDo() 从对象池中获取ReturnTicketDo

type ReturnTicketSegment

type ReturnTicketSegment struct {
	// 到达机场三字码
	ArrAirportCode string `json:"arr_airport_code,omitempty" xml:"arr_airport_code,omitempty"`
	// 到达城市
	ArrCity string `json:"arr_city,omitempty" xml:"arr_city,omitempty"`
	// 出发机场三字码
	DepAirportCode string `json:"dep_airport_code,omitempty" xml:"dep_airport_code,omitempty"`
	// 出发城市
	DepCity string `json:"dep_city,omitempty" xml:"dep_city,omitempty"`
	// 起飞时间
	DepTime string `json:"dep_time,omitempty" xml:"dep_time,omitempty"`
	// 航班号
	FlightNo string `json:"flight_no,omitempty" xml:"flight_no,omitempty"`
	// 票号信息
	TicketNo string `json:"ticket_no,omitempty" xml:"ticket_no,omitempty"`
	// 单个航段机场建设费用(分)
	BuildFee int64 `json:"build_fee,omitempty" xml:"build_fee,omitempty"`
	// 航段ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 单个航段机场建燃油费用
	OilTax int64 `json:"oil_tax,omitempty" xml:"oil_tax,omitempty"`
	// 改签手续费(分)
	RefundModifyFee int64 `json:"refund_modify_fee,omitempty" xml:"refund_modify_fee,omitempty"`
	// 升舱手续费(分)
	RefundUpgradeFee int64 `json:"refund_upgrade_fee,omitempty" xml:"refund_upgrade_fee,omitempty"`
	// 去程0 回程1
	TripType int64 `json:"trip_type,omitempty" xml:"trip_type,omitempty"`
	// 票状态是否挂起
	Suspend bool `json:"suspend,omitempty" xml:"suspend,omitempty"`
}

ReturnTicketSegment 结构体

func GetReturnTicketSegment added in v1.3.4

func GetReturnTicketSegment() *ReturnTicketSegment

GetReturnTicketSegment() 从对象池中获取ReturnTicketSegment

type SyncOrderDo

type SyncOrderDo struct {
	// 改签后的舱位
	Cabin string `json:"cabin,omitempty" xml:"cabin,omitempty"`
	// 改签前的舱位
	LastCabin string `json:"last_cabin,omitempty" xml:"last_cabin,omitempty"`
	// 改签备注信息
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 申请单id
	ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"`
	// 改签后航班信息
	ModifyAfterFlight *Flight `json:"modify_after_flight,omitempty" xml:"modify_after_flight,omitempty"`
	// 改签前航班信息
	ModifyBeforeFlight *Flight `json:"modify_before_flight,omitempty" xml:"modify_before_flight,omitempty"`
	// 订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 乘客信息
	Passenger *Passenger `json:"passenger,omitempty" xml:"passenger,omitempty"`
	// 改签费(单位分)
	ModifyFee int64 `json:"modify_fee,omitempty" xml:"modify_fee,omitempty"`
	// 升舱费(单位分)
	UpgradeFee int64 `json:"upgrade_fee,omitempty" xml:"upgrade_fee,omitempty"`
	// 申请单状态。1:初始状态,2:已改签成功,3:已拒绝,4:未付款(已回填退票费),5:已付款
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

SyncOrderDo 结构体

func GetSyncOrderDo added in v1.3.4

func GetSyncOrderDo() *SyncOrderDo

GetSyncOrderDo() 从对象池中获取SyncOrderDo

type TaobaoAlitripBuyerGetAPIRequest added in v1.2.0

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

TaobaoAlitripBuyerGetAPIRequest 敏感信息查询 API请求 taobao.alitrip.buyer.get

针对商家提供统一的TOP接口,可以根据订单获取订单对应买家联系电话(阿里小号)。

func GetTaobaoAlitripBuyerGetAPIRequest added in v1.3.4

func GetTaobaoAlitripBuyerGetAPIRequest() *TaobaoAlitripBuyerGetAPIRequest

GetTaobaoAlitripBuyerGetRequest 从 sync.Pool 获取 TaobaoAlitripBuyerGetAPIRequest

func NewTaobaoAlitripBuyerGetRequest

func NewTaobaoAlitripBuyerGetRequest() *TaobaoAlitripBuyerGetAPIRequest

NewTaobaoAlitripBuyerGetRequest 初始化TaobaoAlitripBuyerGetAPIRequest对象

func (TaobaoAlitripBuyerGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoAlitripBuyerGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripBuyerGetAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoAlitripBuyerGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripBuyerGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoAlitripBuyerGetAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoAlitripBuyerGetAPIRequest) GetRequestAxb added in v1.2.0

func (r TaobaoAlitripBuyerGetAPIRequest) GetRequestAxb() *RequestAxbDo

GetRequestAxb RequestAxb Getter

func (*TaobaoAlitripBuyerGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoAlitripBuyerGetAPIRequest) SetRequestAxb added in v1.2.0

func (r *TaobaoAlitripBuyerGetAPIRequest) SetRequestAxb(_requestAxb *RequestAxbDo) error

SetRequestAxb is RequestAxb Setter 敏感信息查询请求参数

type TaobaoAlitripBuyerGetAPIResponse

type TaobaoAlitripBuyerGetAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripBuyerGetAPIResponseModel
}

TaobaoAlitripBuyerGetAPIResponse 敏感信息查询 API返回值 taobao.alitrip.buyer.get

针对商家提供统一的TOP接口,可以根据订单获取订单对应买家联系电话(阿里小号)。

func GetTaobaoAlitripBuyerGetAPIResponse added in v1.3.4

func GetTaobaoAlitripBuyerGetAPIResponse() *TaobaoAlitripBuyerGetAPIResponse

GetTaobaoAlitripBuyerGetAPIResponse 从 sync.Pool 获取 TaobaoAlitripBuyerGetAPIResponse

func (*TaobaoAlitripBuyerGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoAlitripBuyerGetAPIResponseModel added in v1.2.0

type TaobaoAlitripBuyerGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_buyer_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 请求内容,如阿里小号
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 有效期
	Expires string `json:"expires,omitempty" xml:"expires,omitempty"`
}

TaobaoAlitripBuyerGetAPIResponseModel is 敏感信息查询 成功返回结果

func (*TaobaoAlitripBuyerGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoAlitripSellerModifyListAPIRequest added in v1.2.0

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

TaobaoAlitripSellerModifyListAPIRequest 【机票代理商订单】改签订单列表 API请求 taobao.alitrip.seller.modify.list

提供机票代理商查询改签订单列表

func GetTaobaoAlitripSellerModifyListAPIRequest added in v1.3.4

func GetTaobaoAlitripSellerModifyListAPIRequest() *TaobaoAlitripSellerModifyListAPIRequest

GetTaobaoAlitripSellerModifyListRequest 从 sync.Pool 获取 TaobaoAlitripSellerModifyListAPIRequest

func NewTaobaoAlitripSellerModifyListRequest

func NewTaobaoAlitripSellerModifyListRequest() *TaobaoAlitripSellerModifyListAPIRequest

NewTaobaoAlitripSellerModifyListRequest 初始化TaobaoAlitripSellerModifyListAPIRequest对象

func (TaobaoAlitripSellerModifyListAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoAlitripSellerModifyListAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripSellerModifyListAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoAlitripSellerModifyListAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripSellerModifyListAPIRequest) GetApplyDateEnd added in v1.2.0

func (r TaobaoAlitripSellerModifyListAPIRequest) GetApplyDateEnd() string

GetApplyDateEnd ApplyDateEnd Getter

func (TaobaoAlitripSellerModifyListAPIRequest) GetApplyDateStart added in v1.2.0

func (r TaobaoAlitripSellerModifyListAPIRequest) GetApplyDateStart() string

GetApplyDateStart ApplyDateStart Getter

func (TaobaoAlitripSellerModifyListAPIRequest) GetApplyId added in v1.2.0

GetApplyId ApplyId Getter

func (TaobaoAlitripSellerModifyListAPIRequest) GetCurrentPage added in v1.2.0

GetCurrentPage CurrentPage Getter

func (TaobaoAlitripSellerModifyListAPIRequest) GetFlyDateEnd added in v1.2.0

GetFlyDateEnd FlyDateEnd Getter

func (TaobaoAlitripSellerModifyListAPIRequest) GetFlyDateStart added in v1.2.0

func (r TaobaoAlitripSellerModifyListAPIRequest) GetFlyDateStart() string

GetFlyDateStart FlyDateStart Getter

func (TaobaoAlitripSellerModifyListAPIRequest) GetModifyDateEnd added in v1.2.0

func (r TaobaoAlitripSellerModifyListAPIRequest) GetModifyDateEnd() string

GetModifyDateEnd ModifyDateEnd Getter

func (TaobaoAlitripSellerModifyListAPIRequest) GetModifyDateStart added in v1.2.0

func (r TaobaoAlitripSellerModifyListAPIRequest) GetModifyDateStart() string

GetModifyDateStart ModifyDateStart Getter

func (TaobaoAlitripSellerModifyListAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (TaobaoAlitripSellerModifyListAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoAlitripSellerModifyListAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoAlitripSellerModifyListAPIRequest) GetStatus added in v1.2.0

GetStatus Status Getter

func (*TaobaoAlitripSellerModifyListAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoAlitripSellerModifyListAPIRequest) SetApplyDateEnd added in v1.2.0

func (r *TaobaoAlitripSellerModifyListAPIRequest) SetApplyDateEnd(_applyDateEnd string) error

SetApplyDateEnd is ApplyDateEnd Setter 改签发起时间的查询结束日期 和 更新时间必选其一

func (*TaobaoAlitripSellerModifyListAPIRequest) SetApplyDateStart added in v1.2.0

func (r *TaobaoAlitripSellerModifyListAPIRequest) SetApplyDateStart(_applyDateStart string) error

SetApplyDateStart is ApplyDateStart Setter 改签发起时间的查询开始日期 和 更新时间必选其一

func (*TaobaoAlitripSellerModifyListAPIRequest) SetApplyId added in v1.2.0

func (r *TaobaoAlitripSellerModifyListAPIRequest) SetApplyId(_applyId int64) error

SetApplyId is ApplyId Setter 申请单ID

func (*TaobaoAlitripSellerModifyListAPIRequest) SetCurrentPage added in v1.2.0

func (r *TaobaoAlitripSellerModifyListAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 页码

func (*TaobaoAlitripSellerModifyListAPIRequest) SetFlyDateEnd added in v1.2.0

func (r *TaobaoAlitripSellerModifyListAPIRequest) SetFlyDateEnd(_flyDateEnd string) error

SetFlyDateEnd is FlyDateEnd Setter 乘客起飞时间的查询结束日期

func (*TaobaoAlitripSellerModifyListAPIRequest) SetFlyDateStart added in v1.2.0

func (r *TaobaoAlitripSellerModifyListAPIRequest) SetFlyDateStart(_flyDateStart string) error

SetFlyDateStart is FlyDateStart Setter 乘客起飞时间的查询开始日期

func (*TaobaoAlitripSellerModifyListAPIRequest) SetModifyDateEnd added in v1.2.0

func (r *TaobaoAlitripSellerModifyListAPIRequest) SetModifyDateEnd(_modifyDateEnd string) error

SetModifyDateEnd is ModifyDateEnd Setter 记录修改结束时间 和 改签发起时间必选其一

func (*TaobaoAlitripSellerModifyListAPIRequest) SetModifyDateStart added in v1.2.0

func (r *TaobaoAlitripSellerModifyListAPIRequest) SetModifyDateStart(_modifyDateStart string) error

SetModifyDateStart is ModifyDateStart Setter 记录修改起始时间 和 改签发起时间必选其一

func (*TaobaoAlitripSellerModifyListAPIRequest) SetOrderId added in v1.2.0

func (r *TaobaoAlitripSellerModifyListAPIRequest) SetOrderId(_orderId int64) error

SetOrderId is OrderId Setter 淘宝订单号

func (*TaobaoAlitripSellerModifyListAPIRequest) SetPageSize added in v1.2.0

func (r *TaobaoAlitripSellerModifyListAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 每页记录数

func (*TaobaoAlitripSellerModifyListAPIRequest) SetStatus added in v1.2.0

func (r *TaobaoAlitripSellerModifyListAPIRequest) SetStatus(_status int64) error

SetStatus is Status Setter 1:初始状态,2:已改签成功,3:已拒绝,4:未付款(已回填退票费),5:已付款

type TaobaoAlitripSellerModifyListAPIResponse

type TaobaoAlitripSellerModifyListAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripSellerModifyListAPIResponseModel
}

TaobaoAlitripSellerModifyListAPIResponse 【机票代理商订单】改签订单列表 API返回值 taobao.alitrip.seller.modify.list

提供机票代理商查询改签订单列表

func GetTaobaoAlitripSellerModifyListAPIResponse added in v1.3.4

func GetTaobaoAlitripSellerModifyListAPIResponse() *TaobaoAlitripSellerModifyListAPIResponse

GetTaobaoAlitripSellerModifyListAPIResponse 从 sync.Pool 获取 TaobaoAlitripSellerModifyListAPIResponse

func (*TaobaoAlitripSellerModifyListAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoAlitripSellerModifyListAPIResponseModel added in v1.2.0

type TaobaoAlitripSellerModifyListAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_seller_modify_list_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 改签订单列表
	OrderList []SyncOrderDo `json:"order_list,omitempty" xml:"order_list>sync_order_do,omitempty"`
	// 查出总记录数
	TotalItem int64 `json:"total_item,omitempty" xml:"total_item,omitempty"`
}

TaobaoAlitripSellerModifyListAPIResponseModel is 【机票代理商订单】改签订单列表 成功返回结果

func (*TaobaoAlitripSellerModifyListAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoAlitripSellerRefundConfirmreturnAPIRequest added in v1.2.0

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

TaobaoAlitripSellerRefundConfirmreturnAPIRequest 【机票代理商】确认退票 API请求 taobao.alitrip.seller.refund.confirmreturn

确认退票

func GetTaobaoAlitripSellerRefundConfirmreturnAPIRequest added in v1.3.4

func GetTaobaoAlitripSellerRefundConfirmreturnAPIRequest() *TaobaoAlitripSellerRefundConfirmreturnAPIRequest

GetTaobaoAlitripSellerRefundConfirmreturnRequest 从 sync.Pool 获取 TaobaoAlitripSellerRefundConfirmreturnAPIRequest

func NewTaobaoAlitripSellerRefundConfirmreturnRequest

func NewTaobaoAlitripSellerRefundConfirmreturnRequest() *TaobaoAlitripSellerRefundConfirmreturnAPIRequest

NewTaobaoAlitripSellerRefundConfirmreturnRequest 初始化TaobaoAlitripSellerRefundConfirmreturnAPIRequest对象

func (TaobaoAlitripSellerRefundConfirmreturnAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripSellerRefundConfirmreturnAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripSellerRefundConfirmreturnAPIRequest) GetApplyId added in v1.2.0

GetApplyId ApplyId Getter

func (TaobaoAlitripSellerRefundConfirmreturnAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoAlitripSellerRefundConfirmreturnAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoAlitripSellerRefundConfirmreturnAPIRequest) SetApplyId added in v1.2.0

SetApplyId is ApplyId Setter 退票申请单

type TaobaoAlitripSellerRefundConfirmreturnAPIResponse

type TaobaoAlitripSellerRefundConfirmreturnAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripSellerRefundConfirmreturnAPIResponseModel
}

TaobaoAlitripSellerRefundConfirmreturnAPIResponse 【机票代理商】确认退票 API返回值 taobao.alitrip.seller.refund.confirmreturn

确认退票

func GetTaobaoAlitripSellerRefundConfirmreturnAPIResponse added in v1.3.4

func GetTaobaoAlitripSellerRefundConfirmreturnAPIResponse() *TaobaoAlitripSellerRefundConfirmreturnAPIResponse

GetTaobaoAlitripSellerRefundConfirmreturnAPIResponse 从 sync.Pool 获取 TaobaoAlitripSellerRefundConfirmreturnAPIResponse

func (*TaobaoAlitripSellerRefundConfirmreturnAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoAlitripSellerRefundConfirmreturnAPIResponseModel added in v1.2.0

type TaobaoAlitripSellerRefundConfirmreturnAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_seller_refund_confirmreturn_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripSellerRefundConfirmreturnAPIResponseModel is 【机票代理商】确认退票 成功返回结果

func (*TaobaoAlitripSellerRefundConfirmreturnAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoAlitripSellerRefundFillfeeAPIRequest added in v1.2.0

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

TaobaoAlitripSellerRefundFillfeeAPIRequest 机票代理商】回填手续费 API请求 taobao.alitrip.seller.refund.fillfee

回填手续费

func GetTaobaoAlitripSellerRefundFillfeeAPIRequest added in v1.3.4

func GetTaobaoAlitripSellerRefundFillfeeAPIRequest() *TaobaoAlitripSellerRefundFillfeeAPIRequest

GetTaobaoAlitripSellerRefundFillfeeRequest 从 sync.Pool 获取 TaobaoAlitripSellerRefundFillfeeAPIRequest

func NewTaobaoAlitripSellerRefundFillfeeRequest

func NewTaobaoAlitripSellerRefundFillfeeRequest() *TaobaoAlitripSellerRefundFillfeeAPIRequest

NewTaobaoAlitripSellerRefundFillfeeRequest 初始化TaobaoAlitripSellerRefundFillfeeAPIRequest对象

func (TaobaoAlitripSellerRefundFillfeeAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripSellerRefundFillfeeAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoAlitripSellerRefundFillfeeAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripSellerRefundFillfeeAPIRequest) GetApplyId added in v1.2.0

GetApplyId ApplyId Getter

func (TaobaoAlitripSellerRefundFillfeeAPIRequest) GetFeePriceMap added in v1.2.0

GetFeePriceMap FeePriceMap Getter

func (TaobaoAlitripSellerRefundFillfeeAPIRequest) GetModifyFee added in v1.2.0

GetModifyFee ModifyFee Getter

func (TaobaoAlitripSellerRefundFillfeeAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoAlitripSellerRefundFillfeeAPIRequest) GetTicketPriceMap added in v1.2.0

func (r TaobaoAlitripSellerRefundFillfeeAPIRequest) GetTicketPriceMap() string

GetTicketPriceMap TicketPriceMap Getter

func (TaobaoAlitripSellerRefundFillfeeAPIRequest) GetUpgradeFee added in v1.2.0

GetUpgradeFee UpgradeFee Getter

func (*TaobaoAlitripSellerRefundFillfeeAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoAlitripSellerRefundFillfeeAPIRequest) SetApplyId added in v1.2.0

func (r *TaobaoAlitripSellerRefundFillfeeAPIRequest) SetApplyId(_applyId int64) error

SetApplyId is ApplyId Setter 申请单ID

func (*TaobaoAlitripSellerRefundFillfeeAPIRequest) SetFeePriceMap added in v1.2.0

func (r *TaobaoAlitripSellerRefundFillfeeAPIRequest) SetFeePriceMap(_feePriceMap string) error

SetFeePriceMap is FeePriceMap Setter 费对于关系,格式:{apply_fee_id:123,value:费用,金额单位分}

func (*TaobaoAlitripSellerRefundFillfeeAPIRequest) SetModifyFee added in v1.2.0

func (r *TaobaoAlitripSellerRefundFillfeeAPIRequest) SetModifyFee(_modifyFee string) error

SetModifyFee is ModifyFee Setter 改签费用,格式:{detail_id:123,value:费用,金额单位分}

func (*TaobaoAlitripSellerRefundFillfeeAPIRequest) SetTicketPriceMap added in v1.2.0

func (r *TaobaoAlitripSellerRefundFillfeeAPIRequest) SetTicketPriceMap(_ticketPriceMap string) error

SetTicketPriceMap is TicketPriceMap Setter 票价信息,格式:{apply_fee_id:123,value:费用,金额单位分}

func (*TaobaoAlitripSellerRefundFillfeeAPIRequest) SetUpgradeFee added in v1.2.0

func (r *TaobaoAlitripSellerRefundFillfeeAPIRequest) SetUpgradeFee(_upgradeFee string) error

SetUpgradeFee is UpgradeFee Setter 升舱费用,格式:{detail_id:123,value:费用,金额单位分}

type TaobaoAlitripSellerRefundFillfeeAPIResponse

type TaobaoAlitripSellerRefundFillfeeAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripSellerRefundFillfeeAPIResponseModel
}

TaobaoAlitripSellerRefundFillfeeAPIResponse 机票代理商】回填手续费 API返回值 taobao.alitrip.seller.refund.fillfee

回填手续费

func GetTaobaoAlitripSellerRefundFillfeeAPIResponse added in v1.3.4

func GetTaobaoAlitripSellerRefundFillfeeAPIResponse() *TaobaoAlitripSellerRefundFillfeeAPIResponse

GetTaobaoAlitripSellerRefundFillfeeAPIResponse 从 sync.Pool 获取 TaobaoAlitripSellerRefundFillfeeAPIResponse

func (*TaobaoAlitripSellerRefundFillfeeAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoAlitripSellerRefundFillfeeAPIResponseModel added in v1.2.0

type TaobaoAlitripSellerRefundFillfeeAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_seller_refund_fillfee_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripSellerRefundFillfeeAPIResponseModel is 机票代理商】回填手续费 成功返回结果

func (*TaobaoAlitripSellerRefundFillfeeAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoAlitripSellerRefundGetAPIRequest added in v1.2.0

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

TaobaoAlitripSellerRefundGetAPIRequest 【机票代理商】退票申请单详情 API请求 taobao.alitrip.seller.refund.get

查询退票申请单详情

func GetTaobaoAlitripSellerRefundGetAPIRequest added in v1.3.4

func GetTaobaoAlitripSellerRefundGetAPIRequest() *TaobaoAlitripSellerRefundGetAPIRequest

GetTaobaoAlitripSellerRefundGetRequest 从 sync.Pool 获取 TaobaoAlitripSellerRefundGetAPIRequest

func NewTaobaoAlitripSellerRefundGetRequest

func NewTaobaoAlitripSellerRefundGetRequest() *TaobaoAlitripSellerRefundGetAPIRequest

NewTaobaoAlitripSellerRefundGetRequest 初始化TaobaoAlitripSellerRefundGetAPIRequest对象

func (TaobaoAlitripSellerRefundGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoAlitripSellerRefundGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripSellerRefundGetAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoAlitripSellerRefundGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripSellerRefundGetAPIRequest) GetApplyId added in v1.2.0

GetApplyId ApplyId Getter

func (TaobaoAlitripSellerRefundGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoAlitripSellerRefundGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoAlitripSellerRefundGetAPIRequest) SetApplyId added in v1.2.0

func (r *TaobaoAlitripSellerRefundGetAPIRequest) SetApplyId(_applyId int64) error

SetApplyId is ApplyId Setter 申请单ID

type TaobaoAlitripSellerRefundGetAPIResponse

type TaobaoAlitripSellerRefundGetAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripSellerRefundGetAPIResponseModel
}

TaobaoAlitripSellerRefundGetAPIResponse 【机票代理商】退票申请单详情 API返回值 taobao.alitrip.seller.refund.get

查询退票申请单详情

func GetTaobaoAlitripSellerRefundGetAPIResponse added in v1.3.4

func GetTaobaoAlitripSellerRefundGetAPIResponse() *TaobaoAlitripSellerRefundGetAPIResponse

GetTaobaoAlitripSellerRefundGetAPIResponse 从 sync.Pool 获取 TaobaoAlitripSellerRefundGetAPIResponse

func (*TaobaoAlitripSellerRefundGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoAlitripSellerRefundGetAPIResponseModel added in v1.2.0

type TaobaoAlitripSellerRefundGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_seller_refund_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *TaobaoAlitripSellerRefundGetResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripSellerRefundGetAPIResponseModel is 【机票代理商】退票申请单详情 成功返回结果

func (*TaobaoAlitripSellerRefundGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoAlitripSellerRefundGetResultDo

type TaobaoAlitripSellerRefundGetResultDo struct {
	// 系统自动生成
	ErrorCode string `json:"errorCode,omitempty" xml:"errorCode,omitempty"`
	// 系统自动生成
	ErrorMsg string `json:"errorMsg,omitempty" xml:"errorMsg,omitempty"`
	// 申请单详情
	Results *ReturnTicketDetail `json:"results,omitempty" xml:"results,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripSellerRefundGetResultDo 结构体

func GetTaobaoAlitripSellerRefundGetResultDo added in v1.3.4

func GetTaobaoAlitripSellerRefundGetResultDo() *TaobaoAlitripSellerRefundGetResultDo

GetTaobaoAlitripSellerRefundGetResultDo() 从对象池中获取TaobaoAlitripSellerRefundGetResultDo

type TaobaoAlitripSellerRefundRefusereturnAPIRequest added in v1.2.0

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

TaobaoAlitripSellerRefundRefusereturnAPIRequest 【机票代理商】拒绝退票 API请求 taobao.alitrip.seller.refund.refusereturn

拒绝退票

func GetTaobaoAlitripSellerRefundRefusereturnAPIRequest added in v1.3.4

func GetTaobaoAlitripSellerRefundRefusereturnAPIRequest() *TaobaoAlitripSellerRefundRefusereturnAPIRequest

GetTaobaoAlitripSellerRefundRefusereturnRequest 从 sync.Pool 获取 TaobaoAlitripSellerRefundRefusereturnAPIRequest

func NewTaobaoAlitripSellerRefundRefusereturnRequest

func NewTaobaoAlitripSellerRefundRefusereturnRequest() *TaobaoAlitripSellerRefundRefusereturnAPIRequest

NewTaobaoAlitripSellerRefundRefusereturnRequest 初始化TaobaoAlitripSellerRefundRefusereturnAPIRequest对象

func (TaobaoAlitripSellerRefundRefusereturnAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripSellerRefundRefusereturnAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripSellerRefundRefusereturnAPIRequest) GetApplyId added in v1.2.0

GetApplyId ApplyId Getter

func (TaobaoAlitripSellerRefundRefusereturnAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoAlitripSellerRefundRefusereturnAPIRequest) GetReason added in v1.2.0

GetReason Reason Getter

func (*TaobaoAlitripSellerRefundRefusereturnAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoAlitripSellerRefundRefusereturnAPIRequest) SetApplyId added in v1.2.0

SetApplyId is ApplyId Setter 申请单ID

func (*TaobaoAlitripSellerRefundRefusereturnAPIRequest) SetReason added in v1.2.0

SetReason is Reason Setter 拒绝理由

type TaobaoAlitripSellerRefundRefusereturnAPIResponse

type TaobaoAlitripSellerRefundRefusereturnAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripSellerRefundRefusereturnAPIResponseModel
}

TaobaoAlitripSellerRefundRefusereturnAPIResponse 【机票代理商】拒绝退票 API返回值 taobao.alitrip.seller.refund.refusereturn

拒绝退票

func GetTaobaoAlitripSellerRefundRefusereturnAPIResponse added in v1.3.4

func GetTaobaoAlitripSellerRefundRefusereturnAPIResponse() *TaobaoAlitripSellerRefundRefusereturnAPIResponse

GetTaobaoAlitripSellerRefundRefusereturnAPIResponse 从 sync.Pool 获取 TaobaoAlitripSellerRefundRefusereturnAPIResponse

func (*TaobaoAlitripSellerRefundRefusereturnAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoAlitripSellerRefundRefusereturnAPIResponseModel added in v1.2.0

type TaobaoAlitripSellerRefundRefusereturnAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_seller_refund_refusereturn_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *TaobaoAlitripSellerRefundRefusereturnResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripSellerRefundRefusereturnAPIResponseModel is 【机票代理商】拒绝退票 成功返回结果

func (*TaobaoAlitripSellerRefundRefusereturnAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoAlitripSellerRefundRefusereturnResultDo

type TaobaoAlitripSellerRefundRefusereturnResultDo struct {
	// 系统自动生成
	ErrorCode string `json:"errorCode,omitempty" xml:"errorCode,omitempty"`
	// 系统自动生成
	ErrorMsg string `json:"errorMsg,omitempty" xml:"errorMsg,omitempty"`
	// 处理结果
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripSellerRefundRefusereturnResultDo 结构体

func GetTaobaoAlitripSellerRefundRefusereturnResultDo added in v1.3.4

func GetTaobaoAlitripSellerRefundRefusereturnResultDo() *TaobaoAlitripSellerRefundRefusereturnResultDo

GetTaobaoAlitripSellerRefundRefusereturnResultDo() 从对象池中获取TaobaoAlitripSellerRefundRefusereturnResultDo

type TaobaoAlitripSellerRefundSearchAPIRequest added in v1.2.0

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

TaobaoAlitripSellerRefundSearchAPIRequest 【机票代理商】退票申请单列表 API请求 taobao.alitrip.seller.refund.search

查询退票申请单列表

func GetTaobaoAlitripSellerRefundSearchAPIRequest added in v1.3.4

func GetTaobaoAlitripSellerRefundSearchAPIRequest() *TaobaoAlitripSellerRefundSearchAPIRequest

GetTaobaoAlitripSellerRefundSearchRequest 从 sync.Pool 获取 TaobaoAlitripSellerRefundSearchAPIRequest

func NewTaobaoAlitripSellerRefundSearchRequest

func NewTaobaoAlitripSellerRefundSearchRequest() *TaobaoAlitripSellerRefundSearchAPIRequest

NewTaobaoAlitripSellerRefundSearchRequest 初始化TaobaoAlitripSellerRefundSearchAPIRequest对象

func (TaobaoAlitripSellerRefundSearchAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripSellerRefundSearchAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoAlitripSellerRefundSearchAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripSellerRefundSearchAPIRequest) GetEndTime added in v1.2.0

GetEndTime EndTime Getter

func (TaobaoAlitripSellerRefundSearchAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoAlitripSellerRefundSearchAPIRequest) GetStartTime added in v1.2.0

GetStartTime StartTime Getter

func (TaobaoAlitripSellerRefundSearchAPIRequest) GetStatus added in v1.2.0

GetStatus Status Getter

func (*TaobaoAlitripSellerRefundSearchAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoAlitripSellerRefundSearchAPIRequest) SetEndTime added in v1.2.0

func (r *TaobaoAlitripSellerRefundSearchAPIRequest) SetEndTime(_endTime string) error

SetEndTime is EndTime Setter 结束时间

func (*TaobaoAlitripSellerRefundSearchAPIRequest) SetStartTime added in v1.2.0

func (r *TaobaoAlitripSellerRefundSearchAPIRequest) SetStartTime(_startTime string) error

SetStartTime is StartTime Setter 开始时间

func (*TaobaoAlitripSellerRefundSearchAPIRequest) SetStatus added in v1.2.0

SetStatus is Status Setter 申请单状态(如果为空查询所有状态,1初始 2接受 3确认 4失败 5买家处理 6卖家处理 7等待小二回填 8退款成功)

type TaobaoAlitripSellerRefundSearchAPIResponse

type TaobaoAlitripSellerRefundSearchAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripSellerRefundSearchAPIResponseModel
}

TaobaoAlitripSellerRefundSearchAPIResponse 【机票代理商】退票申请单列表 API返回值 taobao.alitrip.seller.refund.search

查询退票申请单列表

func GetTaobaoAlitripSellerRefundSearchAPIResponse added in v1.3.4

func GetTaobaoAlitripSellerRefundSearchAPIResponse() *TaobaoAlitripSellerRefundSearchAPIResponse

GetTaobaoAlitripSellerRefundSearchAPIResponse 从 sync.Pool 获取 TaobaoAlitripSellerRefundSearchAPIResponse

func (*TaobaoAlitripSellerRefundSearchAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoAlitripSellerRefundSearchAPIResponseModel added in v1.2.0

type TaobaoAlitripSellerRefundSearchAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_seller_refund_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *TaobaoAlitripSellerRefundSearchResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripSellerRefundSearchAPIResponseModel is 【机票代理商】退票申请单列表 成功返回结果

func (*TaobaoAlitripSellerRefundSearchAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoAlitripSellerRefundSearchResultDo

type TaobaoAlitripSellerRefundSearchResultDo struct {
	// ReturnTicketDo
	Results []ReturnTicketDo `json:"results,omitempty" xml:"results>return_ticket_do,omitempty"`
	// 错误码
	ErrorCode string `json:"errorCode,omitempty" xml:"errorCode,omitempty"`
	// 错误信息
	ErrorMsg string `json:"errorMsg,omitempty" xml:"errorMsg,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripSellerRefundSearchResultDo 结构体

func GetTaobaoAlitripSellerRefundSearchResultDo added in v1.3.4

func GetTaobaoAlitripSellerRefundSearchResultDo() *TaobaoAlitripSellerRefundSearchResultDo

GetTaobaoAlitripSellerRefundSearchResultDo() 从对象池中获取TaobaoAlitripSellerRefundSearchResultDo

type TaobaoAlitripSellerRefundmoneyConfirmAPIRequest added in v1.2.0

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

TaobaoAlitripSellerRefundmoneyConfirmAPIRequest 【机票代理商订单】确认退款 API请求 taobao.alitrip.seller.refundmoney.confirm

代理人确认退票申请单的退款

func GetTaobaoAlitripSellerRefundmoneyConfirmAPIRequest added in v1.3.4

func GetTaobaoAlitripSellerRefundmoneyConfirmAPIRequest() *TaobaoAlitripSellerRefundmoneyConfirmAPIRequest

GetTaobaoAlitripSellerRefundmoneyConfirmRequest 从 sync.Pool 获取 TaobaoAlitripSellerRefundmoneyConfirmAPIRequest

func NewTaobaoAlitripSellerRefundmoneyConfirmRequest

func NewTaobaoAlitripSellerRefundmoneyConfirmRequest() *TaobaoAlitripSellerRefundmoneyConfirmAPIRequest

NewTaobaoAlitripSellerRefundmoneyConfirmRequest 初始化TaobaoAlitripSellerRefundmoneyConfirmAPIRequest对象

func (TaobaoAlitripSellerRefundmoneyConfirmAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripSellerRefundmoneyConfirmAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripSellerRefundmoneyConfirmAPIRequest) GetApplyId added in v1.2.0

GetApplyId ApplyId Getter

func (TaobaoAlitripSellerRefundmoneyConfirmAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoAlitripSellerRefundmoneyConfirmAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoAlitripSellerRefundmoneyConfirmAPIRequest) SetApplyId added in v1.2.0

SetApplyId is ApplyId Setter 申请单id

type TaobaoAlitripSellerRefundmoneyConfirmAPIResponse

type TaobaoAlitripSellerRefundmoneyConfirmAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripSellerRefundmoneyConfirmAPIResponseModel
}

TaobaoAlitripSellerRefundmoneyConfirmAPIResponse 【机票代理商订单】确认退款 API返回值 taobao.alitrip.seller.refundmoney.confirm

代理人确认退票申请单的退款

func GetTaobaoAlitripSellerRefundmoneyConfirmAPIResponse added in v1.3.4

func GetTaobaoAlitripSellerRefundmoneyConfirmAPIResponse() *TaobaoAlitripSellerRefundmoneyConfirmAPIResponse

GetTaobaoAlitripSellerRefundmoneyConfirmAPIResponse 从 sync.Pool 获取 TaobaoAlitripSellerRefundmoneyConfirmAPIResponse

func (*TaobaoAlitripSellerRefundmoneyConfirmAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoAlitripSellerRefundmoneyConfirmAPIResponseModel added in v1.2.0

type TaobaoAlitripSellerRefundmoneyConfirmAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_seller_refundmoney_confirm_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功确认
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoAlitripSellerRefundmoneyConfirmAPIResponseModel is 【机票代理商订单】确认退款 成功返回结果

func (*TaobaoAlitripSellerRefundmoneyConfirmAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoAlitripSellerRefundorderlistFetchAPIRequest added in v1.2.0

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

TaobaoAlitripSellerRefundorderlistFetchAPIRequest 【机票代理商】——退票订单列表提取 API请求 taobao.alitrip.seller.refundorderlist.fetch

代理商纬度退票订单列表提取

func GetTaobaoAlitripSellerRefundorderlistFetchAPIRequest added in v1.3.4

func GetTaobaoAlitripSellerRefundorderlistFetchAPIRequest() *TaobaoAlitripSellerRefundorderlistFetchAPIRequest

GetTaobaoAlitripSellerRefundorderlistFetchRequest 从 sync.Pool 获取 TaobaoAlitripSellerRefundorderlistFetchAPIRequest

func NewTaobaoAlitripSellerRefundorderlistFetchRequest

func NewTaobaoAlitripSellerRefundorderlistFetchRequest() *TaobaoAlitripSellerRefundorderlistFetchAPIRequest

NewTaobaoAlitripSellerRefundorderlistFetchRequest 初始化TaobaoAlitripSellerRefundorderlistFetchAPIRequest对象

func (TaobaoAlitripSellerRefundorderlistFetchAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripSellerRefundorderlistFetchAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripSellerRefundorderlistFetchAPIRequest) GetEndDate added in v1.2.0

GetEndDate EndDate Getter

func (TaobaoAlitripSellerRefundorderlistFetchAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoAlitripSellerRefundorderlistFetchAPIRequest) GetStartDate added in v1.2.0

GetStartDate StartDate Getter

func (TaobaoAlitripSellerRefundorderlistFetchAPIRequest) GetStatus added in v1.2.0

GetStatus Status Getter

func (*TaobaoAlitripSellerRefundorderlistFetchAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoAlitripSellerRefundorderlistFetchAPIRequest) SetEndDate added in v1.2.0

SetEndDate is EndDate Setter 提取数据的结束时间

func (*TaobaoAlitripSellerRefundorderlistFetchAPIRequest) SetStartDate added in v1.2.0

SetStartDate is StartDate Setter 提取数据的开始时间

func (*TaobaoAlitripSellerRefundorderlistFetchAPIRequest) SetStatus added in v1.2.0

SetStatus is Status Setter 1:初始,2:接受,3:确认,4:失败,5:买家处理,6:卖家处理,7:等待小二回填,8:退款成功

type TaobaoAlitripSellerRefundorderlistFetchAPIResponse

type TaobaoAlitripSellerRefundorderlistFetchAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripSellerRefundorderlistFetchAPIResponseModel
}

TaobaoAlitripSellerRefundorderlistFetchAPIResponse 【机票代理商】——退票订单列表提取 API返回值 taobao.alitrip.seller.refundorderlist.fetch

代理商纬度退票订单列表提取

func GetTaobaoAlitripSellerRefundorderlistFetchAPIResponse added in v1.3.4

func GetTaobaoAlitripSellerRefundorderlistFetchAPIResponse() *TaobaoAlitripSellerRefundorderlistFetchAPIResponse

GetTaobaoAlitripSellerRefundorderlistFetchAPIResponse 从 sync.Pool 获取 TaobaoAlitripSellerRefundorderlistFetchAPIResponse

func (*TaobaoAlitripSellerRefundorderlistFetchAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoAlitripSellerRefundorderlistFetchAPIResponseModel added in v1.2.0

type TaobaoAlitripSellerRefundorderlistFetchAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_seller_refundorderlist_fetch_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 退票订单列表
	ResultList []ReturnApplyDo `json:"result_list,omitempty" xml:"result_list>return_apply_do,omitempty"`
}

TaobaoAlitripSellerRefundorderlistFetchAPIResponseModel is 【机票代理商】——退票订单列表提取 成功返回结果

func (*TaobaoAlitripSellerRefundorderlistFetchAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoJipiaoAgentOrderBdetailAPIRequest added in v1.2.0

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

TaobaoJipiaoAgentOrderBdetailAPIRequest 【机票代理商订单】采购订单详情 API请求 taobao.jipiao.agent.order.bdetail

根据淘宝系统订单号获取订单详情信息

func GetTaobaoJipiaoAgentOrderBdetailAPIRequest added in v1.3.4

func GetTaobaoJipiaoAgentOrderBdetailAPIRequest() *TaobaoJipiaoAgentOrderBdetailAPIRequest

GetTaobaoJipiaoAgentOrderBdetailRequest 从 sync.Pool 获取 TaobaoJipiaoAgentOrderBdetailAPIRequest

func NewTaobaoJipiaoAgentOrderBdetailRequest

func NewTaobaoJipiaoAgentOrderBdetailRequest() *TaobaoJipiaoAgentOrderBdetailAPIRequest

NewTaobaoJipiaoAgentOrderBdetailRequest 初始化TaobaoJipiaoAgentOrderBdetailAPIRequest对象

func (TaobaoJipiaoAgentOrderBdetailAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoJipiaoAgentOrderBdetailAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJipiaoAgentOrderBdetailAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoJipiaoAgentOrderBdetailAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJipiaoAgentOrderBdetailAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (TaobaoJipiaoAgentOrderBdetailAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoJipiaoAgentOrderBdetailAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoJipiaoAgentOrderBdetailAPIRequest) SetOrderId added in v1.2.0

func (r *TaobaoJipiaoAgentOrderBdetailAPIRequest) SetOrderId(_orderId int64) error

SetOrderId is OrderId Setter 订单号

type TaobaoJipiaoAgentOrderBdetailAPIResponse

type TaobaoJipiaoAgentOrderBdetailAPIResponse struct {
	model.CommonResponse
	TaobaoJipiaoAgentOrderBdetailAPIResponseModel
}

TaobaoJipiaoAgentOrderBdetailAPIResponse 【机票代理商订单】采购订单详情 API返回值 taobao.jipiao.agent.order.bdetail

根据淘宝系统订单号获取订单详情信息

func GetTaobaoJipiaoAgentOrderBdetailAPIResponse added in v1.3.4

func GetTaobaoJipiaoAgentOrderBdetailAPIResponse() *TaobaoJipiaoAgentOrderBdetailAPIResponse

GetTaobaoJipiaoAgentOrderBdetailAPIResponse 从 sync.Pool 获取 TaobaoJipiaoAgentOrderBdetailAPIResponse

func (*TaobaoJipiaoAgentOrderBdetailAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoJipiaoAgentOrderBdetailAPIResponseModel added in v1.2.0

type TaobaoJipiaoAgentOrderBdetailAPIResponseModel struct {
	XMLName xml.Name `xml:"jipiao_agent_order_bdetail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 机票订单的详情列表,当前支持返回一个订单
	Orders []TripOrder `json:"orders,omitempty" xml:"orders>trip_order,omitempty"`
	// 返回操作成功失败信息
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoJipiaoAgentOrderBdetailAPIResponseModel is 【机票代理商订单】采购订单详情 成功返回结果

func (*TaobaoJipiaoAgentOrderBdetailAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TripBaseInfo

type TripBaseInfo struct {
	// 订单创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 订单表最近一次修改时间
	ModifyTime string `json:"modify_time,omitempty" xml:"modify_time,omitempty"`
	// 订单最晚支付时间
	PayLatestTime string `json:"pay_latest_time,omitempty" xml:"pay_latest_time,omitempty"`
	// 佣金,单位:分
	Commission string `json:"commission,omitempty" xml:"commission,omitempty"`
	// 联系人姓名
	RelationName string `json:"relation_name,omitempty" xml:"relation_name,omitempty"`
	// 联系人手机号
	RelationMobile string `json:"relation_mobile,omitempty" xml:"relation_mobile,omitempty"`
	// 联系人备用电话
	RelationPhoneBak string `json:"relation_phone_bak,omitempty" xml:"relation_phone_bak,omitempty"`
	// 联系人邮箱
	RelationEmail string `json:"relation_email,omitempty" xml:"relation_email,omitempty"`
	// 扩展信息
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 支付宝交易号
	AlipayTradeNo string `json:"alipay_trade_no,omitempty" xml:"alipay_trade_no,omitempty"`
	// 淘宝机票订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 航程类型:0,单程;1,往返;
	TripType int64 `json:"trip_type,omitempty" xml:"trip_type,omitempty"`
	// 订单状态定义==> 0:未付款;(注:支持保险分润时,订单已付款,保险未付款也为0)1:处理中;2:确定出票;3:预定成功;4:预定失败;5:处理中超时失效;6:支付超时失效;7:买家取消
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 订单支付状态==> 0:未付款;1:已付款,冻结买家定金;2:付款给卖家;3:解冻定金给买家;4:已扣佣;5:交易关闭;6:确认可支付;7:确认不可支付
	PayStatus int64 `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
	// 总金额,所有乘机人加机建燃油,单位:分
	TotalPrice int64 `json:"total_price,omitempty" xml:"total_price,omitempty"`
	// 是否保险分润订单,有一个乘机人支持分润即为 True
	InsurePromotion bool `json:"insure_promotion,omitempty" xml:"insure_promotion,omitempty"`
	// 是否强制保险订单,有一张票为强制保险即为true
	ForceInsure bool `json:"force_insure,omitempty" xml:"force_insure,omitempty"`
}

TripBaseInfo 结构体

func GetTripBaseInfo added in v1.3.4

func GetTripBaseInfo() *TripBaseInfo

GetTripBaseInfo() 从对象池中获取TripBaseInfo

type TripFlightInfo

type TripFlightInfo struct {
	// 乘机人信息列表
	Passengers []TripFlightPassenger `json:"passengers,omitempty" xml:"passengers>trip_flight_passenger,omitempty"`
	// 航班航空公司二字码
	AirlineCode string `json:"airline_code,omitempty" xml:"airline_code,omitempty"`
	// 航班号
	FlightNo string `json:"flight_no,omitempty" xml:"flight_no,omitempty"`
	// 航班实际承运航班号
	Carrier string `json:"carrier,omitempty" xml:"carrier,omitempty"`
	// 航班机型
	FlightType string `json:"flight_type,omitempty" xml:"flight_type,omitempty"`
	// 航班出发城市三字码
	DepCityCode string `json:"dep_city_code,omitempty" xml:"dep_city_code,omitempty"`
	// 航班到达城市三字码
	ArrCityCode string `json:"arr_city_code,omitempty" xml:"arr_city_code,omitempty"`
	// 航班出发机场三字码
	DepAirportCode string `json:"dep_airport_code,omitempty" xml:"dep_airport_code,omitempty"`
	// 航班到达机场三字码
	ArrAirportCode string `json:"arr_airport_code,omitempty" xml:"arr_airport_code,omitempty"`
	// 航班起飞时间,格式yyyy-mm-dd hh:mm:ss
	DepTime string `json:"dep_time,omitempty" xml:"dep_time,omitempty"`
	// 航班到达时间,格式yyyy-mm-dd hh:mm:ss
	ArrTime string `json:"arr_time,omitempty" xml:"arr_time,omitempty"`
	// 扩展信息
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 特殊说明
	SpecialRule string `json:"special_rule,omitempty" xml:"special_rule,omitempty"`
	// 淘宝机票平台航班id
	FlightId int64 `json:"flight_id,omitempty" xml:"flight_id,omitempty"`
	// 航段类型:0,去程;1,回程
	SegmentType int64 `json:"segment_type,omitempty" xml:"segment_type,omitempty"`
	// 去程或回程第几段航班,0,第1段;1,第2段航班
	SegmentNumber int64 `json:"segment_number,omitempty" xml:"segment_number,omitempty"`
	// 当前航段票面价格,单位:分
	TicketPrice int64 `json:"ticket_price,omitempty" xml:"ticket_price,omitempty"`
}

TripFlightInfo 结构体

func GetTripFlightInfo added in v1.3.4

func GetTripFlightInfo() *TripFlightInfo

GetTripFlightInfo() 从对象池中获取TripFlightInfo

type TripFlightPassenger

type TripFlightPassenger struct {
	// 乘机人姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 乘机人证件号码
	CertNo string `json:"cert_no,omitempty" xml:"cert_no,omitempty"`
	// 乘机人生日:yyyy-mm-dd
	Birthday string `json:"birthday,omitempty" xml:"birthday,omitempty"`
	// 常旅客卡号
	TripCardNo string `json:"trip_card_no,omitempty" xml:"trip_card_no,omitempty"`
	// PNR信息
	Pnr string `json:"pnr,omitempty" xml:"pnr,omitempty"`
	// 票号
	TicketNo string `json:"ticket_no,omitempty" xml:"ticket_no,omitempty"`
	// 扩展字段
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 备注信息,政策中的备注信息
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 航班舱位代码
	CabinCode string `json:"cabin_code,omitempty" xml:"cabin_code,omitempty"`
	// 退改签
	Tuigaiqian string `json:"tuigaiqian,omitempty" xml:"tuigaiqian,omitempty"`
	// ei项
	Ei string `json:"ei,omitempty" xml:"ei,omitempty"`
	// 乘机人证件类型:0,身份证;1,护照;3,军人证;4,回乡证;5,台胞证;6,港澳台胞;10,警官证;11,士兵证件
	CertType int64 `json:"cert_type,omitempty" xml:"cert_type,omitempty"`
	// 乘机人类型:0,成人;1,儿童;
	PassengerType int64 `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"`
	// 政策id,淘宝系统政策唯一键
	PolicyId int64 `json:"policy_id,omitempty" xml:"policy_id,omitempty"`
	// 机票政策类型:0,默认;1,自定义
	PolicyType int64 `json:"policy_type,omitempty" xml:"policy_type,omitempty"`
	// 销售价格,单位:分
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 航班机建费,单位:分
	Fee int64 `json:"fee,omitempty" xml:"fee,omitempty"`
	// 航班燃油税,单位:分
	Tax int64 `json:"tax,omitempty" xml:"tax,omitempty"`
	// 舱位等级:0,头等舱(F);1,商务舱(C);2,经济舱(Y)
	CabinClass int64 `json:"cabin_class,omitempty" xml:"cabin_class,omitempty"`
	// 当前乘机人的保险分润金额,单位:分
	InsurePromotionPrice int64 `json:"insure_promotion_price,omitempty" xml:"insure_promotion_price,omitempty"`
	// 强制保险金额,单位:分
	ForceInsurePrice int64 `json:"force_insure_price,omitempty" xml:"force_insure_price,omitempty"`
}

TripFlightPassenger 结构体

func GetTripFlightPassenger added in v1.3.4

func GetTripFlightPassenger() *TripFlightPassenger

GetTripFlightPassenger() 从对象池中获取TripFlightPassenger

type TripOrder

type TripOrder struct {
	// 订单航班信息(包含航班乘机人)
	FlightInfos []TripFlightInfo `json:"flight_infos,omitempty" xml:"flight_infos>trip_flight_info,omitempty"`
	// 扩展字段
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 订单基础信息
	BaseInfo *TripBaseInfo `json:"base_info,omitempty" xml:"base_info,omitempty"`
	// 订单行程单信息
	Itinerary *Itinerary `json:"itinerary,omitempty" xml:"itinerary,omitempty"`
	// 订单行政购票信息
	CorpInfo *CorpInfo `json:"corp_info,omitempty" xml:"corp_info,omitempty"`
}

TripOrder 结构体

func GetTripOrder added in v1.3.4

func GetTripOrder() *TripOrder

GetTripOrder() 从对象池中获取TripOrder

Jump to

Keyboard shortcuts

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