ieagency

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package ieagency 包含国际机票订单API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlitripiebuyerorderbookpayAPIRequest added in v1.3.1

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

AlitripiebuyerorderbookpayAPIRequest 【国际机票】下单预定支付 API请求 alitrip.ie.buyer.order.bookpay

【国际机票】 生单预定支付接口

func NewAlitripiebuyerorderbookpayRequest added in v1.3.1

func NewAlitripiebuyerorderbookpayRequest() *AlitripiebuyerorderbookpayAPIRequest

NewAlitripiebuyerorderbookpayRequest 初始化AlitripiebuyerorderbookpayAPIRequest对象

func (AlitripiebuyerorderbookpayAPIRequest) GetApiMethodName added in v1.3.1

func (r AlitripiebuyerorderbookpayAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripiebuyerorderbookpayAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripiebuyerorderbookpayAPIRequest) GetBookPayOrderParam added in v1.3.1

func (r AlitripiebuyerorderbookpayAPIRequest) GetBookPayOrderParam() *BookPayOrderRq

GetBookPayOrderParam BookPayOrderParam Getter

func (AlitripiebuyerorderbookpayAPIRequest) GetRawParams added in v1.3.1

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

func (*AlitripiebuyerorderbookpayAPIRequest) SetBookPayOrderParam added in v1.3.1

func (r *AlitripiebuyerorderbookpayAPIRequest) SetBookPayOrderParam(_bookPayOrderParam *BookPayOrderRq) error

SetBookPayOrderParam is BookPayOrderParam Setter 生单支付请求参数

type AlitripiebuyerorderbookpayAPIResponse added in v1.3.1

type AlitripiebuyerorderbookpayAPIResponse struct {
	model.CommonResponse
	AlitripiebuyerorderbookpayAPIResponseModel
}

AlitripiebuyerorderbookpayAPIResponse 【国际机票】下单预定支付 API返回值 alitrip.ie.buyer.order.bookpay

【国际机票】 生单预定支付接口

type AlitripiebuyerorderbookpayAPIResponseModel added in v1.3.1

type AlitripiebuyerorderbookpayAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_ie_buyer_order_bookpay_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应
	BookPayOrderResult *BaseApiResult `json:"book_pay_order_result,omitempty" xml:"book_pay_order_result,omitempty"`
}

AlitripiebuyerorderbookpayAPIResponseModel is 【国际机票】下单预定支付 成功返回结果

type AlitriptripvpagentordersearchAPIRequest added in v1.3.1

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

AlitriptripvpagentordersearchAPIRequest 【国际机票】查询辅营订单列表 API请求 alitrip.tripvp.agent.order.search

【国际机票】查询辅营订单列表

func NewAlitriptripvpagentordersearchRequest added in v1.3.1

func NewAlitriptripvpagentordersearchRequest() *AlitriptripvpagentordersearchAPIRequest

NewAlitriptripvpagentordersearchRequest 初始化AlitriptripvpagentordersearchAPIRequest对象

func (AlitriptripvpagentordersearchAPIRequest) GetAgentId added in v1.3.1

GetAgentId AgentId Getter

func (AlitriptripvpagentordersearchAPIRequest) GetApiMethodName added in v1.3.1

func (r AlitriptripvpagentordersearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitriptripvpagentordersearchAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlitriptripvpagentordersearchAPIRequest) GetBeginTime added in v1.3.1

GetBeginTime BeginTime Getter

func (AlitriptripvpagentordersearchAPIRequest) GetCurrentPage added in v1.3.1

GetCurrentPage CurrentPage Getter

func (AlitriptripvpagentordersearchAPIRequest) GetEndTime added in v1.3.1

GetEndTime EndTime Getter

func (AlitriptripvpagentordersearchAPIRequest) GetOrderStatus added in v1.3.1

GetOrderStatus OrderStatus Getter

func (AlitriptripvpagentordersearchAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (AlitriptripvpagentordersearchAPIRequest) GetRawParams added in v1.3.1

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

func (*AlitriptripvpagentordersearchAPIRequest) SetAgentId added in v1.3.1

func (r *AlitriptripvpagentordersearchAPIRequest) SetAgentId(_agentId int64) error

SetAgentId is AgentId Setter 代理商ID

func (*AlitriptripvpagentordersearchAPIRequest) SetBeginTime added in v1.3.1

func (r *AlitriptripvpagentordersearchAPIRequest) SetBeginTime(_beginTime string) error

SetBeginTime is BeginTime Setter 辅营创建开始时间

func (*AlitriptripvpagentordersearchAPIRequest) SetCurrentPage added in v1.3.1

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

SetCurrentPage is CurrentPage Setter 当前页码

func (*AlitriptripvpagentordersearchAPIRequest) SetEndTime added in v1.3.1

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

SetEndTime is EndTime Setter 辅营创建结束时间

func (*AlitriptripvpagentordersearchAPIRequest) SetOrderStatus added in v1.3.1

func (r *AlitriptripvpagentordersearchAPIRequest) SetOrderStatus(_orderStatus int64) error

SetOrderStatus is OrderStatus Setter 订单状态,1-待支付 2-支付成功 3- 辅营出货成功 4-订单取消

func (*AlitriptripvpagentordersearchAPIRequest) SetPageSize added in v1.3.1

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

SetPageSize is PageSize Setter 分页行数

type AlitriptripvpagentordersearchAPIResponse added in v1.3.1

type AlitriptripvpagentordersearchAPIResponse struct {
	model.CommonResponse
	AlitriptripvpagentordersearchAPIResponseModel
}

AlitriptripvpagentordersearchAPIResponse 【国际机票】查询辅营订单列表 API返回值 alitrip.tripvp.agent.order.search

【国际机票】查询辅营订单列表

type AlitriptripvpagentordersearchAPIResponseModel added in v1.3.1

type AlitriptripvpagentordersearchAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_tripvp_agent_order_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 辅营订单列表
	OrderVos []VirProOrderVo `json:"order_vos,omitempty" xml:"order_vos>vir_pro_order_vo,omitempty"`
	// 当前页码CurrentPage
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// 是否有下一页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
}

AlitriptripvpagentordersearchAPIResponseModel is 【国际机票】查询辅营订单列表 成功返回结果

type BaseApiResult

type BaseApiResult struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误编码
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 创建支付订单结果
	Model *IeBookPayOrderVo `json:"model,omitempty" xml:"model,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

BaseApiResult 结构体

type BasePageDo

type BasePageDo struct {
	// 第几页
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 分页大小
	Pageindex int64 `json:"pageindex,omitempty" xml:"pageindex,omitempty"`
	// 总纪录数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

BasePageDo 结构体

type BookPayOrderRq

type BookPayOrderRq struct {
	// 乘机人信息
	PassengerParams []PassengerParam `json:"passenger_params,omitempty" xml:"passenger_params>passenger_param,omitempty"`
	// 代理商飞猪昵称(注意不是淘宝代理商昵称)
	AgentName string `json:"agent_name,omitempty" xml:"agent_name,omitempty"`
	// 外部采购订单标识(有唯一性要求)
	OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"`
	// 联系人信息
	ContactsParam *ContactsParam `json:"contacts_param,omitempty" xml:"contacts_param,omitempty"`
	// 航班产品信息
	ItemParam *ItemParam `json:"item_param,omitempty" xml:"item_param,omitempty"`
}

BookPayOrderRq 结构体

type ChangeSimpleVo

type ChangeSimpleVo struct {
	// 总改签服务费(单位:分)
	TotalChangeServiceFee string `json:"total_change_service_fee,omitempty" xml:"total_change_service_fee,omitempty"`
	// 乘机人改签费用(单位:分)
	PassengerChangeFeeVos *PassengerChangeFeeVo `json:"passenger_change_fee_vos,omitempty" xml:"passenger_change_fee_vos,omitempty"`
	// 总改签升舱费(单位:分)
	TotalChangeUpgradeFee int64 `json:"total_change_upgrade_fee,omitempty" xml:"total_change_upgrade_fee,omitempty"`
	// 是否有成功改签过
	HadChanged bool `json:"had_changed,omitempty" xml:"had_changed,omitempty"`
}

ChangeSimpleVo 结构体

type ContactsParam

type ContactsParam struct {
	// 联系人邮箱地址
	Email string `json:"email,omitempty" xml:"email,omitempty"`
	// 联系人姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 联系人手机号
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 联系人手机号国家编码
	PhoneCountryCode string `json:"phone_country_code,omitempty" xml:"phone_country_code,omitempty"`
}

ContactsParam 结构体

type FlightSegmentParam

type FlightSegmentParam struct {
	// 到达机场三字码
	ArrAirportCode string `json:"arr_airport_code,omitempty" xml:"arr_airport_code,omitempty"`
	// 到达机场航站楼
	ArrTerminal string `json:"arr_terminal,omitempty" xml:"arr_terminal,omitempty"`
	// 到达时间
	ArrTime string `json:"arr_time,omitempty" xml:"arr_time,omitempty"`
	// 舱位服务等级
	CabinClassCode string `json:"cabin_class_code,omitempty" xml:"cabin_class_code,omitempty"`
	// 舱位等级
	CabinCode string `json:"cabin_code,omitempty" xml:"cabin_code,omitempty"`
	// 出发机场三字码
	DepAirportCode string `json:"dep_airport_code,omitempty" xml:"dep_airport_code,omitempty"`
	// 出发机场航站楼
	DepTerminal string `json:"dep_terminal,omitempty" xml:"dep_terminal,omitempty"`
	// 出发时间
	DepTime string `json:"dep_time,omitempty" xml:"dep_time,omitempty"`
	// 机型
	EquipType string `json:"equip_type,omitempty" xml:"equip_type,omitempty"`
	// 市场方航空公司
	MarketingAirline string `json:"marketing_airline,omitempty" xml:"marketing_airline,omitempty"`
	// 市场方航班号
	MarketingFlightNumber string `json:"marketing_flight_number,omitempty" xml:"marketing_flight_number,omitempty"`
	// 承运航空公司
	OperatingAirLine string `json:"operating_air_line,omitempty" xml:"operating_air_line,omitempty"`
	// 承运航班号
	OperatingFlightNumber string `json:"operating_flight_number,omitempty" xml:"operating_flight_number,omitempty"`
	// 飞行时长(分钟)
	ElapsedMinute int64 `json:"elapsed_minute,omitempty" xml:"elapsed_minute,omitempty"`
	// 航段序号(从1开始)
	SegmentRph int64 `json:"segment_rph,omitempty" xml:"segment_rph,omitempty"`
	// 主航段
	MainSegment bool `json:"main_segment,omitempty" xml:"main_segment,omitempty"`
}

FlightSegmentParam 结构体

type IeAuxProductVo

type IeAuxProductVo struct {
	// 产品外部ID
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 产品名称
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// 产品类型 3:贵宾厅,4:行李,5:选座,6:套餐,7:CIP,11:值机,12:餐食, 13:值机及选座
	ProductType int64 `json:"product_type,omitempty" xml:"product_type,omitempty"`
	// 销售类型 1:一次销售,2:二次销售,3:不限
	SaleType int64 `json:"sale_type,omitempty" xml:"sale_type,omitempty"`
	// 商品销售价格单位人民币分,打包行李的单价
	OnlinePrice int64 `json:"online_price,omitempty" xml:"online_price,omitempty"`
	// 行李产品规格信息(仅当productType=4有效)
	BaggageVo *IeBaggageVo `json:"baggage_vo,omitempty" xml:"baggage_vo,omitempty"`
	// 选座产品信息(仅当productType=3或8有效)
	SeatVo *IeSeatVo `json:"seat_vo,omitempty" xml:"seat_vo,omitempty"`
}

IeAuxProductVo 结构体

type IeBaggageVo

type IeBaggageVo struct {
	// 行李总件数
	Pc int64 `json:"pc,omitempty" xml:"pc,omitempty"`
	// 行李重量,单位KG,当allWeight为是的时候行李重量描述所有件数的总重量
	Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"`
	// 是否所有行李重量
	IsAllWeight bool `json:"is_all_weight,omitempty" xml:"is_all_weight,omitempty"`
}

IeBaggageVo 结构体

type IeBaseOrderVo

type IeBaseOrderVo struct {
	// 产品标识 student:学生票、nationality:国籍票、group:小团票、gold:金牌机票、card:宝贝机票、common:年龄票、speed:极速机票、age:限年龄票、delay:延时出票
	ProductTags []string `json:"product_tags,omitempty" xml:"product_tags>string,omitempty"`
	// 到达机场
	ArrAirport string `json:"arr_airport,omitempty" xml:"arr_airport,omitempty"`
	// 预定hk时间
	BookTime string `json:"book_time,omitempty" xml:"book_time,omitempty"`
	// 关闭原因
	CloseReason string `json:"close_reason,omitempty" xml:"close_reason,omitempty"`
	// 订单关闭时间
	CloseTime string `json:"close_time,omitempty" xml:"close_time,omitempty"`
	// 关闭类型(Init:正常(未关闭),BuyerClose:买家关闭,NoAVClose:舱位已售完,NoEnoughAV:剩余座位数不足,PayOvertime:付款超时,TicketOrverTime:出票超时,Other:其它)
	CloseType string `json:"close_type,omitempty" xml:"close_type,omitempty"`
	// 佣金状态(Init:初始状态,Failure:扣佣金失败,Success:扣佣金成功;)
	CommissionStatus string `json:"commission_status,omitempty" xml:"commission_status,omitempty"`
	// 信用状态(Normal:正常,Frozen:已冻结,Unfrozen:已解冻)
	CreditStatus string `json:"credit_status,omitempty" xml:"credit_status,omitempty"`
	// 出发机场
	DepAirport string `json:"dep_airport,omitempty" xml:"dep_airport,omitempty"`
	// 全部航班号
	FlightNos string `json:"flight_nos,omitempty" xml:"flight_nos,omitempty"`
	// 订单创建时间
	GmtCreateTime string `json:"gmt_create_time,omitempty" xml:"gmt_create_time,omitempty"`
	// 回程到达时间
	InboundArrTime string `json:"inbound_arr_time,omitempty" xml:"inbound_arr_time,omitempty"`
	// 回程出发日期
	InboundDepTime string `json:"inbound_dep_time,omitempty" xml:"inbound_dep_time,omitempty"`
	// 订单状态(Init:初始状态,BookSuccess:"预定成功,PaySuccess:付款成功,TicketSuccess:订单成功,Close:订单关闭)
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 出发到达日期
	OutboundArrTime string `json:"outbound_arr_time,omitempty" xml:"outbound_arr_time,omitempty"`
	// 出发时间
	OutboundDepTime string `json:"outbound_dep_time,omitempty" xml:"outbound_dep_time,omitempty"`
	// 转交易时间
	Pay2AgentTime string `json:"pay2_agent_time,omitempty" xml:"pay2_agent_time,omitempty"`
	// 支付状态(Init:初始状态;create_secure_pay:创建担保交易成功,PaySuccess:付款成功,TransferSuccess:转交易成功, PayedClosed:已支付订单关闭,NoPayClosed:未支付订单关闭 )
	PayStatus string `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
	// 支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 订单成功时间
	SuccessTime string `json:"success_time,omitempty" xml:"success_time,omitempty"`
	// 行程类型(OneWay:单程,RoundTrip:往返,MultiCity:多程)
	TripType string `json:"trip_type,omitempty" xml:"trip_type,omitempty"`
	// 佣金金额
	CommissionPrice int64 `json:"commission_price,omitempty" xml:"commission_price,omitempty"`
	// 预计佣金金额
	EstCommissionPrice int64 `json:"est_commission_price,omitempty" xml:"est_commission_price,omitempty"`
	// 订单初始总价(包含打包商品的价格)
	OriginTotalPrice int64 `json:"origin_total_price,omitempty" xml:"origin_total_price,omitempty"`
	// 乘机人数量
	PassengerCount int64 `json:"passenger_count,omitempty" xml:"passenger_count,omitempty"`
	// 活动金额
	TotalActivityRemitPrice int64 `json:"total_activity_remit_price,omitempty" xml:"total_activity_remit_price,omitempty"`
	// 订单总价(包含打包商品的价格)
	TotalPrice int64 `json:"total_price,omitempty" xml:"total_price,omitempty"`
	// 红包价格
	TotalRedpackage int64 `json:"total_redpackage,omitempty" xml:"total_redpackage,omitempty"`
	// 服务费
	TotalServicePrice int64 `json:"total_service_price,omitempty" xml:"total_service_price,omitempty"`
	// 总税费
	TotalTaxPrice int64 `json:"total_tax_price,omitempty" xml:"total_tax_price,omitempty"`
	// 总票价
	TotalTicketPrice int64 `json:"total_ticket_price,omitempty" xml:"total_ticket_price,omitempty"`
	// 交易订单id
	TradeOrderId int64 `json:"trade_order_id,omitempty" xml:"trade_order_id,omitempty"`
	// 金牌订单
	GoldMedalOrder bool `json:"gold_medal_order,omitempty" xml:"gold_medal_order,omitempty"`
	// 极速出票订单:true:是, false:否
	SpeedTicketOrder bool `json:"speed_ticket_order,omitempty" xml:"speed_ticket_order,omitempty"`
}

IeBaseOrderVo 结构体

type IeBookFlightVo

type IeBookFlightVo struct {
	// 到达机场
	ArrAirport string `json:"arr_airport,omitempty" xml:"arr_airport,omitempty"`
	// 到达时间
	ArrTime string `json:"arr_time,omitempty" xml:"arr_time,omitempty"`
	// 出发机场
	DepAirport string `json:"dep_airport,omitempty" xml:"dep_airport,omitempty"`
	// 出发日期
	DepTime string `json:"dep_time,omitempty" xml:"dep_time,omitempty"`
	// 航班方向(Outbound:去程,Inbound:回程,行程类型,MultiCity:多程)
	DirectionType string `json:"direction_type,omitempty" xml:"direction_type,omitempty"`
	// 机型
	EquipType string `json:"equip_type,omitempty" xml:"equip_type,omitempty"`
	// 航班舱位
	FlightCabin string `json:"flight_cabin,omitempty" xml:"flight_cabin,omitempty"`
	// 市场方航班号
	FlightNumber string `json:"flight_number,omitempty" xml:"flight_number,omitempty"`
	// 市场
	MarketingAirline string `json:"marketing_airline,omitempty" xml:"marketing_airline,omitempty"`
	// 共享航空公司
	OperatingAirLine string `json:"operating_air_line,omitempty" xml:"operating_air_line,omitempty"`
	// 共享航班号
	OperatingFlightNumber string `json:"operating_flight_number,omitempty" xml:"operating_flight_number,omitempty"`
	// 第几段
	SegmentRph int64 `json:"segment_rph,omitempty" xml:"segment_rph,omitempty"`
	// 是否共享航班
	CodeShare bool `json:"code_share,omitempty" xml:"code_share,omitempty"`
}

IeBookFlightVo 结构体

type IeBookOrderVo

type IeBookOrderVo struct {
	// 2
	BookFlightVos []IeBookFlightVo `json:"book_flight_vos,omitempty" xml:"book_flight_vos>ie_book_flight_vo,omitempty"`
	// 9
	BookPnrVos []IeBookPnrVo `json:"book_pnr_vos,omitempty" xml:"book_pnr_vos>ie_book_pnr_vo,omitempty"`
	// 13
	BookTicketVos []IeBookTicketVo `json:"book_ticket_vos,omitempty" xml:"book_ticket_vos>ie_book_ticket_vo,omitempty"`
	// 预定订单状态(Init:初始状态, Need_Manule_HK:转手工HK, HK_Success:HK成功,Ticket_Success:出票成功,Close:订单关闭)
	BookStatus string `json:"book_status,omitempty" xml:"book_status,omitempty"`
	// pnr预定类型(Auto:自动, Manual:手工)
	BookType string `json:"book_type,omitempty" xml:"book_type,omitempty"`
	// 出票类型(Auto:自动出票,Manual:手工出票)
	IssueTicketType string `json:"issue_ticket_type,omitempty" xml:"issue_ticket_type,omitempty"`
	// 税费类型(UserRefTax:参考税,RealTax:实时税费,ManualTax:手工回填税费)
	TaxType string `json:"tax_type,omitempty" xml:"tax_type,omitempty"`
	// 19
	TerminalFileName string `json:"terminal_file_name,omitempty" xml:"terminal_file_name,omitempty"`
	// 18
	TerminalUrl string `json:"terminal_url,omitempty" xml:"terminal_url,omitempty"`
	// 票号验真状态(Init:初始状态,Failure:验真失败,SUCCESS:验真通过)
	TicketAuthenticStatus string `json:"ticket_authentic_status,omitempty" xml:"ticket_authentic_status,omitempty"`
	// 15
	AdtTaxPrice int64 `json:"adt_tax_price,omitempty" xml:"adt_tax_price,omitempty"`
	// 10
	AdtTicketPrice int64 `json:"adt_ticket_price,omitempty" xml:"adt_ticket_price,omitempty"`
	// 300
	ChdTaxPrice int64 `json:"chd_tax_price,omitempty" xml:"chd_tax_price,omitempty"`
	// 1
	ChdTicketPrice int64 `json:"chd_ticket_price,omitempty" xml:"chd_ticket_price,omitempty"`
	// 3
	FareSource int64 `json:"fare_source,omitempty" xml:"fare_source,omitempty"`
	// 原始总价(包含打包商品的价格)
	OriginTotalPrice int64 `json:"origin_total_price,omitempty" xml:"origin_total_price,omitempty"`
	// 16
	PassengerCount int64 `json:"passenger_count,omitempty" xml:"passenger_count,omitempty"`
	// 5000
	TotalOrderPirce int64 `json:"total_order_pirce,omitempty" xml:"total_order_pirce,omitempty"`
	// 17
	TotalTaxPrice int64 `json:"total_tax_price,omitempty" xml:"total_tax_price,omitempty"`
	// 12
	TotalTicketPrice int64 `json:"total_ticket_price,omitempty" xml:"total_ticket_price,omitempty"`
}

IeBookOrderVo 结构体

type IeBookPayOrderVo

type IeBookPayOrderVo struct {
	// orderId
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

IeBookPayOrderVo 结构体

type IeBookPnrVo

type IeBookPnrVo struct {
	// pnr值
	PnrNo string `json:"pnr_no,omitempty" xml:"pnr_no,omitempty"`
	// pnr类型
	PnrType string `json:"pnr_type,omitempty" xml:"pnr_type,omitempty"`
	// pnr id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

IeBookPnrVo 结构体

type IeBookTicketVo

type IeBookTicketVo struct {
	// 航班号id列表
	FlightIds []int64 `json:"flight_ids,omitempty" xml:"flight_ids>int64,omitempty"`
	// 票号
	TicketNos []string `json:"ticket_nos,omitempty" xml:"ticket_nos>string,omitempty"`
	// 票号验真备注
	AuthenticMemo string `json:"authentic_memo,omitempty" xml:"authentic_memo,omitempty"`
	// 票号验真状态(Init:初始状态,Failure:验真失败,SUCCESS:验真通过)
	AuthenticStatus string `json:"authentic_status,omitempty" xml:"authentic_status,omitempty"`
	// 出票日期
	IssueTicketTime string `json:"issue_ticket_time,omitempty" xml:"issue_ticket_time,omitempty"`
	// 乘机人证件号
	PassengerCertNo string `json:"passenger_cert_no,omitempty" xml:"passenger_cert_no,omitempty"`
	// 乘机人证件类型(Passport:护照,Hongkong_Macao:港澳通行证,Taiwan_MTP:台胞证,Home_Return_Permit:回乡证,Taiwan_Pass:台湾通行证,Entry_Taiwan_Permit:入台证);
	PassengerCertType string `json:"passenger_cert_type,omitempty" xml:"passenger_cert_type,omitempty"`
	// 乘机人姓名
	PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"`
	// 乘机人类型(Adult:普通成人,Child:儿童,StudentAbroad:留学生,Infant:婴儿)
	PassengerType string `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"`
	// 主键
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// pnr主键
	PnrId int64 `json:"pnr_id,omitempty" xml:"pnr_id,omitempty"`
	// 票价
	TicketPrice int64 `json:"ticket_price,omitempty" xml:"ticket_price,omitempty"`
	// 票税
	TicketTax int64 `json:"ticket_tax,omitempty" xml:"ticket_tax,omitempty"`
	// 是否联程票
	ConjTicketFlag bool `json:"conj_ticket_flag,omitempty" xml:"conj_ticket_flag,omitempty"`
}

IeBookTicketVo 结构体

type IeChangeContactVo

type IeChangeContactVo struct {
	// 电话国际区号
	MobileCountryCode string `json:"mobile_country_code,omitempty" xml:"mobile_country_code,omitempty"`
	// 电话号
	MobilePhoneNumber string `json:"mobile_phone_number,omitempty" xml:"mobile_phone_number,omitempty"`
	// 邮箱
	Email string `json:"email,omitempty" xml:"email,omitempty"`
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

IeChangeContactVo 结构体

type IeChangeFlightSegmentVo

type IeChangeFlightSegmentVo struct {
	// 到达机场码
	ArrAirport string `json:"arr_airport,omitempty" xml:"arr_airport,omitempty"`
	// 到达城市码
	ArrCity string `json:"arr_city,omitempty" xml:"arr_city,omitempty"`
	// 到达航站楼
	ArrTerminal string `json:"arr_terminal,omitempty" xml:"arr_terminal,omitempty"`
	// 到达日期
	ArrTime string `json:"arr_time,omitempty" xml:"arr_time,omitempty"`
	// 舱位等级
	CabinClassCode string `json:"cabin_class_code,omitempty" xml:"cabin_class_code,omitempty"`
	// 舱位代码
	CabinCode string `json:"cabin_code,omitempty" xml:"cabin_code,omitempty"`
	// 出发机场码
	DepAirport string `json:"dep_airport,omitempty" xml:"dep_airport,omitempty"`
	// 出发城市码
	DepCity string `json:"dep_city,omitempty" xml:"dep_city,omitempty"`
	// 出发航站楼
	DepTerminal string `json:"dep_terminal,omitempty" xml:"dep_terminal,omitempty"`
	// 出发时间
	DepTime string `json:"dep_time,omitempty" xml:"dep_time,omitempty"`
	// 市场承运航班号
	MarketingFlightNumber string `json:"marketing_flight_number,omitempty" xml:"marketing_flight_number,omitempty"`
	// 实际承运航班号
	OperatingFlightNumber string `json:"operating_flight_number,omitempty" xml:"operating_flight_number,omitempty"`
	// 航段序号
	SegmentIndex int64 `json:"segment_index,omitempty" xml:"segment_index,omitempty"`
	// 是否共享
	CodeShare bool `json:"code_share,omitempty" xml:"code_share,omitempty"`
}

IeChangeFlightSegmentVo 结构体

type IeChangeItemVo

type IeChangeItemVo struct {
	// 目标行程信息
	DestinationItinerarys []IeChangeItineraryVo `json:"destination_itinerarys,omitempty" xml:"destination_itinerarys>ie_change_itinerary_vo,omitempty"`
	// 原始改签行程
	SourceItinerarys []IeChangeItineraryVo `json:"source_itinerarys,omitempty" xml:"source_itinerarys>ie_change_itinerary_vo,omitempty"`
	// 行李额
	BaggageRule string `json:"baggage_rule,omitempty" xml:"baggage_rule,omitempty"`
	// 成人改签手续费
	AdultServiceFee int64 `json:"adult_service_fee,omitempty" xml:"adult_service_fee,omitempty"`
	// 成人升舱费用
	AdultUpgradeFee int64 `json:"adult_upgrade_fee,omitempty" xml:"adult_upgrade_fee,omitempty"`
	// 儿童改签手续费
	ChildServiceFee int64 `json:"child_service_fee,omitempty" xml:"child_service_fee,omitempty"`
	// 儿童升舱费用
	ChildUpgradeFee int64 `json:"child_upgrade_fee,omitempty" xml:"child_upgrade_fee,omitempty"`
	// 航程类型 0-单程,1-去程,2-回程,3-往返,4-多程
	TripType int64 `json:"trip_type,omitempty" xml:"trip_type,omitempty"`
	// 婴儿改签升舱费
	InfantUpgradeFee int64 `json:"infant_upgrade_fee,omitempty" xml:"infant_upgrade_fee,omitempty"`
	// 婴儿改签费
	InfantServiceFee int64 `json:"infant_service_fee,omitempty" xml:"infant_service_fee,omitempty"`
}

IeChangeItemVo 结构体

type IeChangeItineraryVo

type IeChangeItineraryVo struct {
	// 改签航班信息
	ChangeFlights []IeChangeFlightSegmentVo `json:"change_flights,omitempty" xml:"change_flights>ie_change_flight_segment_vo,omitempty"`
	// 到达机场码
	ArrAirPortCode string `json:"arr_air_port_code,omitempty" xml:"arr_air_port_code,omitempty"`
	// 到达城市码
	ArrCityCode string `json:"arr_city_code,omitempty" xml:"arr_city_code,omitempty"`
	// 到达城市名称
	ArrCityName string `json:"arr_city_name,omitempty" xml:"arr_city_name,omitempty"`
	// 出发机场码
	DepAirportCode string `json:"dep_airport_code,omitempty" xml:"dep_airport_code,omitempty"`
	// 出发城市码
	DepCityCode string `json:"dep_city_code,omitempty" xml:"dep_city_code,omitempty"`
	// 出发城市名称
	DepCityName string `json:"dep_city_name,omitempty" xml:"dep_city_name,omitempty"`
	// 出发日期
	DepDate string `json:"dep_date,omitempty" xml:"dep_date,omitempty"`
	// 航程序号
	Index int64 `json:"index,omitempty" xml:"index,omitempty"`
}

IeChangeItineraryVo 结构体

type IeChangeOrderVo

type IeChangeOrderVo struct {
	// 乘机人信息
	ChangePassengerVOS []IeChangePassengerVo `json:"change_passenger_v_o_s,omitempty" xml:"change_passenger_v_o_s>ie_change_passenger_vo,omitempty"`
	// 改签票信息
	ChangeTicketVOS []IeChangeTicketVo `json:"change_ticket_v_o_s,omitempty" xml:"change_ticket_v_o_s>ie_change_ticket_vo,omitempty"`
	// 支付宝交易号
	AlipayTradeNO string `json:"alipay_trade_n_o,omitempty" xml:"alipay_trade_n_o,omitempty"`
	// 申请支付时间
	ApplyTime string `json:"apply_time,omitempty" xml:"apply_time,omitempty"`
	// 买家改签意向备注
	BuyerIntensionMemo string `json:"buyer_intension_memo,omitempty" xml:"buyer_intension_memo,omitempty"`
	// 验真通过时间
	CheckingPassTime string `json:"checking_pass_time,omitempty" xml:"checking_pass_time,omitempty"`
	// 关单原因
	CloseMemo string `json:"close_memo,omitempty" xml:"close_memo,omitempty"`
	// 改签关单时间
	CloseTime string `json:"close_time,omitempty" xml:"close_time,omitempty"`
	// 申请单改签时间
	GmtCreateTime string `json:"gmt_create_time,omitempty" xml:"gmt_create_time,omitempty"`
	// 改签修改时间
	GmtModifiedTime string `json:"gmt_modified_time,omitempty" xml:"gmt_modified_time,omitempty"`
	// 代理商最晚出票时间
	LatestAgentIssueTime string `json:"latest_agent_issue_time,omitempty" xml:"latest_agent_issue_time,omitempty"`
	// 代理商最迟确认时间
	LatestAgentProcessingTime string `json:"latest_agent_processing_time,omitempty" xml:"latest_agent_processing_time,omitempty"`
	// 买家最迟支付时间
	LatestBuyerPayTime string `json:"latest_buyer_pay_time,omitempty" xml:"latest_buyer_pay_time,omitempty"`
	// 支付成功时间
	PaySuccessTime string `json:"pay_success_time,omitempty" xml:"pay_success_time,omitempty"`
	// 改签意向
	ChangeIntensions string `json:"change_intensions,omitempty" xml:"change_intensions,omitempty"`
	// 代理商ID
	AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"`
	// 买家ID
	BuyerId int64 `json:"buyer_id,omitempty" xml:"buyer_id,omitempty"`
	// 改签产品信息
	ChangeItem *IeChangeItemVo `json:"change_item,omitempty" xml:"change_item,omitempty"`
	// 改签申请类型 0-因乘客个人原因(自愿改签) ,1-因航班取消/延误(非自愿)
	ChangeReasonType int64 `json:"change_reason_type,omitempty" xml:"change_reason_type,omitempty"`
	// 关单类型 关单类型 -1-未关闭,0-买家主动关闭,1-买家支付超时,10-卖家确认处理超时,11-卖家拒绝,99-其他原因
	CloseType int64 `json:"close_type,omitempty" xml:"close_type,omitempty"`
	// 改签单ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 改签单业务状态 10-卖家待确认,20-卖家已确认,30-卖家待出票,40-出票超时冻结,50-出票成功,60-验真失败,61-验真成功,70-卖家已拒绝
	OrderBizStatus int64 `json:"order_biz_status,omitempty" xml:"order_biz_status,omitempty"`
	// 订单ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 改签订单状态 0-初始状态,1-待支付,2-付款成功,3-改签成功 ,4-改签关闭
	OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 支付状态 0-初始状态,1-待支付,2-支付成功,3-转交易成功(打款给卖家),4-关闭已支付订单成功,5-关闭未支付订单成功
	PayStatus int64 `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
	// 订单总金额
	TotalPrice int64 `json:"total_price,omitempty" xml:"total_price,omitempty"`
	// 改签联系人
	ChangeContactVO *IeChangeContactVo `json:"change_contact_v_o,omitempty" xml:"change_contact_v_o,omitempty"`
}

IeChangeOrderVo 结构体

type IeChangePassengerVo

type IeChangePassengerVo struct {
	// 出生日期
	BirthDate string `json:"birth_date,omitempty" xml:"birth_date,omitempty"`
	// 证件过期日期
	DocumentExpireDate string `json:"document_expire_date,omitempty" xml:"document_expire_date,omitempty"`
	// 持有人国际
	DocumentHolderNationality string `json:"document_holder_nationality,omitempty" xml:"document_holder_nationality,omitempty"`
	// 证件号
	DocumentID string `json:"document_i_d,omitempty" xml:"document_i_d,omitempty"`
	// 发证国际
	DocumentIssueCountry string `json:"document_issue_country,omitempty" xml:"document_issue_country,omitempty"`
	// 名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 证件类型
	DocumentType int64 `json:"document_type,omitempty" xml:"document_type,omitempty"`
	// 性别
	Gender int64 `json:"gender,omitempty" xml:"gender,omitempty"`
	// 乘机人编号
	PassengerId int64 `json:"passenger_id,omitempty" xml:"passenger_id,omitempty"`
	// 乘机人类型 0-成人,1-儿童,2-留学生
	PassengerType int64 `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"`
}

IeChangePassengerVo 结构体

type IeChangeTicketVo

type IeChangeTicketVo struct {
	// 证件号
	DocumentID string `json:"document_i_d,omitempty" xml:"document_i_d,omitempty"`
	// 乘机人姓名
	PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"`
	// 票号
	TicketNO string `json:"ticket_n_o,omitempty" xml:"ticket_n_o,omitempty"`
	// 乘机人类型  0-成人,1-儿童,2-留学生
	PassengerType int64 `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"`
}

IeChangeTicketVo 结构体

type IeContactsVo

type IeContactsVo struct {
	// 联系人邮箱
	Email string `json:"email,omitempty" xml:"email,omitempty"`
	// 联系人姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 联系人电话
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
}

IeContactsVo 结构体

type IeFlightVo

type IeFlightVo struct {
	// 到达机场
	ArrAirport string `json:"arr_airport,omitempty" xml:"arr_airport,omitempty"`
	// 到达航站楼
	ArrTerminal string `json:"arr_terminal,omitempty" xml:"arr_terminal,omitempty"`
	// 到达时间
	ArrTime string `json:"arr_time,omitempty" xml:"arr_time,omitempty"`
	// 服务等级(First:头等舱,Business:商务舱, Economy:经济舱, EconomyStandard:标准经济舱, EconomyPremium:超级经济舱)
	CabinClass string `json:"cabin_class,omitempty" xml:"cabin_class,omitempty"`
	// cabinClassCode
	CabinClassCode string `json:"cabin_class_code,omitempty" xml:"cabin_class_code,omitempty"`
	// 出发机场
	DepAirport string `json:"dep_airport,omitempty" xml:"dep_airport,omitempty"`
	// 出发航站楼
	DepTerminal string `json:"dep_terminal,omitempty" xml:"dep_terminal,omitempty"`
	// 出发时间
	DepTime string `json:"dep_time,omitempty" xml:"dep_time,omitempty"`
	// 机型
	EquipType string `json:"equip_type,omitempty" xml:"equip_type,omitempty"`
	// 舱位
	FlightCabin string `json:"flight_cabin,omitempty" xml:"flight_cabin,omitempty"`
	// 航班号
	FlightNumber string `json:"flight_number,omitempty" xml:"flight_number,omitempty"`
	// 市场方航空公司
	MarketingAirline string `json:"marketing_airline,omitempty" xml:"marketing_airline,omitempty"`
	// 承运方航空公司
	OperatingAirLine string `json:"operating_air_line,omitempty" xml:"operating_air_line,omitempty"`
	// 实际承运航班号
	OperatingFlightNumber string `json:"operating_flight_number,omitempty" xml:"operating_flight_number,omitempty"`
	// 经停机场三字码,逗号分隔
	StopAirport string `json:"stop_airport,omitempty" xml:"stop_airport,omitempty"`
	// 过境签信息
	TransVisa string `json:"trans_visa,omitempty" xml:"trans_visa,omitempty"`
	// 婴儿舱位等级代码
	InfantCabinClassCode string `json:"infant_cabin_class_code,omitempty" xml:"infant_cabin_class_code,omitempty"`
	// 服务等级(First:头等舱,Business:商务舱, Economy:经济舱, EconomyStandard:标准经济舱, EconomyPremium:超级经济舱)
	InfantCabinClass string `json:"infant_cabin_class,omitempty" xml:"infant_cabin_class,omitempty"`
	// 婴儿舱位代码
	InfantFlightCabin string `json:"infant_flight_cabin,omitempty" xml:"infant_flight_cabin,omitempty"`
	// 飞行时长
	ElapsedMinute int64 `json:"elapsed_minute,omitempty" xml:"elapsed_minute,omitempty"`
	// 行程类型
	ItineraryType int64 `json:"itinerary_type,omitempty" xml:"itinerary_type,omitempty"`
	// 第几段
	SegmentRph int64 `json:"segment_rph,omitempty" xml:"segment_rph,omitempty"`
	// 经停分钟数,逗号分隔
	StopMinute int64 `json:"stop_minute,omitempty" xml:"stop_minute,omitempty"`
	// 经停数量
	StopQuantity int64 `json:"stop_quantity,omitempty" xml:"stop_quantity,omitempty"`
	// mainSegment
	MainSegment bool `json:"main_segment,omitempty" xml:"main_segment,omitempty"`
}

IeFlightVo 结构体

type IeIssueTicketVo added in v1.2.7

type IeIssueTicketVo struct {
	// 乘机人票信息
	PassengerTicketVos []IePassengerTicketVo `json:"passenger_ticket_vos,omitempty" xml:"passenger_ticket_vos>ie_passenger_ticket_vo,omitempty"`
	// 预定订单pnr信息
	UpdatePnrVos []IeBookPnrVo `json:"update_pnr_vos,omitempty" xml:"update_pnr_vos>ie_book_pnr_vo,omitempty"`
	// 订单备注
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 预定订单id
	BookOrderId int64 `json:"book_order_id,omitempty" xml:"book_order_id,omitempty"`
}

IeIssueTicketVo 结构体

type IeItemVo

type IeItemVo struct {
	// 航班信息
	Flights []IeFlightVo `json:"flights,omitempty" xml:"flights>ie_flight_vo,omitempty"`
	// 行李规定
	BaggageRule string `json:"baggage_rule,omitempty" xml:"baggage_rule,omitempty"`
	// bonusId
	BonusId string `json:"bonus_id,omitempty" xml:"bonus_id,omitempty"`
	// fareItemId
	FareItemId string `json:"fare_item_id,omitempty" xml:"fare_item_id,omitempty"`
	// officeNo
	OfficeNo string `json:"office_no,omitempty" xml:"office_no,omitempty"`
	// 供应渠道
	ResourceCode string `json:"resource_code,omitempty" xml:"resource_code,omitempty"`
	// 退改签规则
	Restriction string `json:"restriction,omitempty" xml:"restriction,omitempty"`
	// 出票航司
	TicketingAirline string `json:"ticketing_airline,omitempty" xml:"ticketing_airline,omitempty"`
	// 行程类型(OneWay:单程,RoundTrip:往返,MultiCity:多程)
	TripType string `json:"trip_type,omitempty" xml:"trip_type,omitempty"`
	// 原始政策id
	OriginBonusId string `json:"origin_bonus_id,omitempty" xml:"origin_bonus_id,omitempty"`
	// 成人价格
	AdultPrice int64 `json:"adult_price,omitempty" xml:"adult_price,omitempty"`
	// 成人价格
	AdultTax int64 `json:"adult_tax,omitempty" xml:"adult_tax,omitempty"`
	// 儿童价格
	ChildPrice int64 `json:"child_price,omitempty" xml:"child_price,omitempty"`
	// 儿童税费
	ChildTax int64 `json:"child_tax,omitempty" xml:"child_tax,omitempty"`
	// 婴儿税费
	InfantTax int64 `json:"infant_tax,omitempty" xml:"infant_tax,omitempty"`
	// 婴儿价格
	InfantPrice int64 `json:"infant_price,omitempty" xml:"infant_price,omitempty"`
}

IeItemVo 结构体

type IeItineraryVo

type IeItineraryVo struct {
	// 收货地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 城市名称
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 收件人
	Consignee string `json:"consignee,omitempty" xml:"consignee,omitempty"`
	// 区县名称
	DistrictName string `json:"district_name,omitempty" xml:"district_name,omitempty"`
	// 快递公司编号
	ExpressCompanyCode string `json:"express_company_code,omitempty" xml:"express_company_code,omitempty"`
	// 快递公司编号
	ExpressCompanyName string `json:"express_company_name,omitempty" xml:"express_company_name,omitempty"`
	// 快递单号
	ExpressNo string `json:"express_no,omitempty" xml:"express_no,omitempty"`
	// 行程单号
	ItineraryNo string `json:"itinerary_no,omitempty" xml:"itinerary_no,omitempty"`
	// 移动电话
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 支付状态(INITIAL: 初始状态, CREATED:已创建担保交易, PAYED:已付款, TURNED:转交易成功)
	PayStatus string `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
	// 邮编
	Postcode string `json:"postcode,omitempty" xml:"postcode,omitempty"`
	// 省份名称
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
	// 商家备注信息
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 发送时间
	SendTime string `json:"send_time,omitempty" xml:"send_time,omitempty"`
	// 配送方式(Counter:自取,Normal:快递,Regist:挂号信,Common:平邮)
	SendType string `json:"send_type,omitempty" xml:"send_type,omitempty"`
	// 行程单状态(INITIAL:初始状态,NOPAY(:未付款,PAYED:已付款,FINISHED:已完成,REFUND:已退款,CLOSED:已关闭(随主订单))
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 电话
	Telephone string `json:"telephone,omitempty" xml:"telephone,omitempty"`
	// 主键
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 价格
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 退款金额
	RefundMoney int64 `json:"refund_money,omitempty" xml:"refund_money,omitempty"`
	// 是否已经邮寄
	IsPost bool `json:"is_post,omitempty" xml:"is_post,omitempty"`
}

IeItineraryVo 结构体

type IeOrderActivityVo

type IeOrderActivityVo struct {
	// activityName
	ActivityName string `json:"activity_name,omitempty" xml:"activity_name,omitempty"`
	// activityPrice
	ActivityPrice int64 `json:"activity_price,omitempty" xml:"activity_price,omitempty"`
}

IeOrderActivityVo 结构体

type IeOrderVo

type IeOrderVo struct {
	// activityVOs
	ActivityVos []IeOrderActivityVo `json:"activity_vos,omitempty" xml:"activity_vos>ie_order_activity_vo,omitempty"`
	// 预定订单信息
	BookOrderVos []IeBookOrderVo `json:"book_order_vos,omitempty" xml:"book_order_vos>ie_book_order_vo,omitempty"`
	// 乘机人列表
	PassgenerVos []IePassgenerVo `json:"passgener_vos,omitempty" xml:"passgener_vos>ie_passgener_vo,omitempty"`
	// 辅营订单
	VirProOrderVos []IeVirProOrderVo `json:"vir_pro_order_vos,omitempty" xml:"vir_pro_order_vos>ie_vir_pro_order_vo,omitempty"`
	// 订单基本信息
	BaseOrderVo *IeBaseOrderVo `json:"base_order_vo,omitempty" xml:"base_order_vo,omitempty"`
	// 联系人信息
	ContactsVo *IeContactsVo `json:"contacts_vo,omitempty" xml:"contacts_vo,omitempty"`
	// 搜索产品信息
	ItemVo *IeItemVo `json:"item_vo,omitempty" xml:"item_vo,omitempty"`
	// 行程单信息
	ItineraryVo *IeItineraryVo `json:"itinerary_vo,omitempty" xml:"itinerary_vo,omitempty"`
	// 交易订单ID
	TradeOrderId int64 `json:"trade_order_id,omitempty" xml:"trade_order_id,omitempty"`
	// 订单模式
	BusinessMode int64 `json:"business_mode,omitempty" xml:"business_mode,omitempty"`
}

IeOrderVo 结构体

type IePassengerAuxVo

type IePassengerAuxVo struct {
	// 乘机人姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 乘机人购买辅营产品的航段
	FlightVo *IeBookFlightVo `json:"flight_vo,omitempty" xml:"flight_vo,omitempty"`
	// 辅营产品规格信息
	AuxProductVo *IeAuxProductVo `json:"aux_product_vo,omitempty" xml:"aux_product_vo,omitempty"`
	// 订购数量,默认1
	BookNum int64 `json:"book_num,omitempty" xml:"book_num,omitempty"`
}

IePassengerAuxVo 结构体

type IePassengerTicketVo added in v1.2.7

type IePassengerTicketVo struct {
	// 票号
	TicketNos []string `json:"ticket_nos,omitempty" xml:"ticket_nos>string,omitempty"`
	// 证件号码
	CertNo string `json:"cert_no,omitempty" xml:"cert_no,omitempty"`
	// 乘机人姓名(英文)
	PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"`
	// 代理人pnr
	Cpnr string `json:"cpnr,omitempty" xml:"cpnr,omitempty"`
	// 航空公司pnr
	Bpnr string `json:"bpnr,omitempty" xml:"bpnr,omitempty"`
	// 出票渠道,可以填1E、1A、1S、1G、官网、其他
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
}

IePassengerTicketVo 结构体

type IePassgenerVo

type IePassgenerVo struct {
	// 美国居住地-城市
	AddressCity string `json:"address_city,omitempty" xml:"address_city,omitempty"`
	// 美国居住地-邮编
	AddressPostcode string `json:"address_postcode,omitempty" xml:"address_postcode,omitempty"`
	// 美国加拿大居住地-州
	AddressState string `json:"address_state,omitempty" xml:"address_state,omitempty"`
	// 美国居住地-街道
	AddressStreet string `json:"address_street,omitempty" xml:"address_street,omitempty"`
	// 出生日期
	Birthday string `json:"birthday,omitempty" xml:"birthday,omitempty"`
	// 证件签发国
	CertIssueCountry string `json:"cert_issue_country,omitempty" xml:"cert_issue_country,omitempty"`
	// 乘机人证件号
	CertNo string `json:"cert_no,omitempty" xml:"cert_no,omitempty"`
	// 证件有效期
	CertPeriod string `json:"cert_period,omitempty" xml:"cert_period,omitempty"`
	// 乘机人证件类型(Passport:护照,Hongkong_Macao:港澳通行证,Taiwan_MTP:台胞证,Home_Return_Permit:回乡证,Taiwan_Pass:台湾通行证,Entry_Taiwan_Permit:入台证);
	CertType string `json:"cert_type,omitempty" xml:"cert_type,omitempty"`
	// 性别(MALE:男,FEMALE:女)
	Gender string `json:"gender,omitempty" xml:"gender,omitempty"`
	// 乘机人姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 国籍
	Nationality string `json:"nationality,omitempty" xml:"nationality,omitempty"`
	// 乘机人类型(Adult:普通成人,Child:儿童,StudentAbroad:留学生,Infant:婴儿)
	PassengerType string `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"`
	// 常旅客积分分属航司二字码
	AirlineCode string `json:"airline_code,omitempty" xml:"airline_code,omitempty"`
	// 常旅客卡号
	AirlineCardNo string `json:"airline_card_no,omitempty" xml:"airline_card_no,omitempty"`
}

IePassgenerVo 结构体

type IeRefundReasonDo

type IeRefundReasonDo struct {
	// 原因描述
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
	// 原因类型
	ReasonType int64 `json:"reason_type,omitempty" xml:"reason_type,omitempty"`
}

IeRefundReasonDo 结构体

type IeRefundTicketVo

type IeRefundTicketVo struct {
	// 申请时间
	ApplyTime string `json:"apply_time,omitempty" xml:"apply_time,omitempty"`
	// 票号
	TicketNo string `json:"ticket_no,omitempty" xml:"ticket_no,omitempty"`
	// agentAgreeTime
	AgentAgreeTime string `json:"agent_agree_time,omitempty" xml:"agent_agree_time,omitempty"`
	// 申请原因
	ApplyReason string `json:"apply_reason,omitempty" xml:"apply_reason,omitempty"`
	// 代理商名称
	AgentName string `json:"agent_name,omitempty" xml:"agent_name,omitempty"`
	// 乘机人名称
	PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"`
	// agentPayTime
	AgentPayTime string `json:"agent_pay_time,omitempty" xml:"agent_pay_time,omitempty"`
	// agentRefuseTime
	AgentRefuseTime string `json:"agent_refuse_time,omitempty" xml:"agent_refuse_time,omitempty"`
	// 代理商回复
	ApplyAnswer string `json:"apply_answer,omitempty" xml:"apply_answer,omitempty"`
	// agentReceiveTime
	AgentReceiveTime string `json:"agent_receive_time,omitempty" xml:"agent_receive_time,omitempty"`
	// 填写退款金额
	RefundMoney int64 `json:"refund_money,omitempty" xml:"refund_money,omitempty"`
	// 申请单id
	ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"`
	// 乘机人id
	PassengerId int64 `json:"passenger_id,omitempty" xml:"passenger_id,omitempty"`
	// 初始化:1, 退款失败2, 退款成功:3
	RefundPayStatus int64 `json:"refund_pay_status,omitempty" xml:"refund_pay_status,omitempty"`
	// 待处理:1, 已同意:2,已拒绝:3,已受理:6,已退款:7
	RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 实际退还买家
	RefundToUserMoney int64 `json:"refund_to_user_money,omitempty" xml:"refund_to_user_money,omitempty"`
	// 自愿申请:0,非自愿退票(不可抗力):1,自愿退票(我要改变行程计划、我不想飞):2,自愿退票(填错名字、选错日期、选错航班):3,自愿退票(生病了无法乘机(无二甲医院证明)):4,非自愿退票(航班延误或取消、航班时刻变更等航司原因):5,非自愿退票(身体原因且有二级甲等医院<含>以上的医院证明):6,非自愿退票(旅客拒签或其他不可抗力因素):7
	ApplyType int64 `json:"apply_type,omitempty" xml:"apply_type,omitempty"`
	// 订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 2^0=1 限时免费退;2^1=2 极速退款;比如表示(限时免费退+实时退款)=1+2=3
	RefundProductType int64 `json:"refund_product_type,omitempty" xml:"refund_product_type,omitempty"`
	// 是否补退订单
	BuTui bool `json:"bu_tui,omitempty" xml:"bu_tui,omitempty"`
}

IeRefundTicketVo 结构体

type IeSeatVo

type IeSeatVo struct {
	// 座位行区域,1:前排,2:中排,3:后排
	SeatRow int64 `json:"seat_row,omitempty" xml:"seat_row,omitempty"`
	// 座位列区域, 1:靠过道,2:靠窗,3:并排
	SeatArea int64 `json:"seat_area,omitempty" xml:"seat_area,omitempty"`
}

IeSeatVo 结构体

type IeVirProOrderVo

type IeVirProOrderVo struct {
	// 辅营购买信息
	PassengerAuxVos []IePassengerAuxVo `json:"passenger_aux_vos,omitempty" xml:"passenger_aux_vos>ie_passenger_aux_vo,omitempty"`
	// 辅营订单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

IeVirProOrderVo 结构体

type IeWriteBackPnrVo added in v1.2.7

type IeWriteBackPnrVo struct {
	// 预定订单pnr信息
	BookPnrVos []IeBookPnrVo `json:"book_pnr_vos,omitempty" xml:"book_pnr_vos>ie_book_pnr_vo,omitempty"`
	// 预定订单ID
	BookOrderId int64 `json:"book_order_id,omitempty" xml:"book_order_id,omitempty"`
}

IeWriteBackPnrVo 结构体

type ItemParam

type ItemParam struct {
	// 航班行程信息
	ItineraryParams []ItineraryParam `json:"itinerary_params,omitempty" xml:"itinerary_params>itinerary_param,omitempty"`
	// 成人税费(单位:分)
	AdultTax int64 `json:"adult_tax,omitempty" xml:"adult_tax,omitempty"`
	// 成人票价(单位:分)
	AdultTicketPrice int64 `json:"adult_ticket_price,omitempty" xml:"adult_ticket_price,omitempty"`
	// 儿童税费(单位:分)
	ChildTax int64 `json:"child_tax,omitempty" xml:"child_tax,omitempty"`
	// 儿童票价(单位:分)
	ChildTicketPrice int64 `json:"child_ticket_price,omitempty" xml:"child_ticket_price,omitempty"`
	// 行程类型(1:单程;2:往返; 3:多程)
	TripType int64 `json:"trip_type,omitempty" xml:"trip_type,omitempty"`
}

ItemParam 结构体

type ItineraryParam

type ItineraryParam struct {
	// 航段信息
	FlightSegmentParams []FlightSegmentParam `json:"flight_segment_params,omitempty" xml:"flight_segment_params>flight_segment_param,omitempty"`
	// 航程序号(从1开始)
	ItineraryRph int64 `json:"itinerary_rph,omitempty" xml:"itinerary_rph,omitempty"`
}

ItineraryParam 结构体

type PassengerChangeFeeVo

type PassengerChangeFeeVo struct {
	// 改签升舱费(单位:分)
	ChangeUpgradeFee int64 `json:"change_upgrade_fee,omitempty" xml:"change_upgrade_fee,omitempty"`
	// 改签服务费(单位:分)
	ChangeServiceFee int64 `json:"change_service_fee,omitempty" xml:"change_service_fee,omitempty"`
	// 乘机人ID
	PassengerId int64 `json:"passenger_id,omitempty" xml:"passenger_id,omitempty"`
}

PassengerChangeFeeVo 结构体

type PassengerParam

type PassengerParam struct {
	// 出生日期
	BirthDate string `json:"birth_date,omitempty" xml:"birth_date,omitempty"`
	// 证件持有人国籍名称
	DocHolderNationalityName string `json:"doc_holder_nationality_name,omitempty" xml:"doc_holder_nationality_name,omitempty"`
	// 证件号
	DocId string `json:"doc_id,omitempty" xml:"doc_id,omitempty"`
	// 证件发放国际名称
	DocIssueCountryName string `json:"doc_issue_country_name,omitempty" xml:"doc_issue_country_name,omitempty"`
	// 有效期截止日期
	EffectiveDate string `json:"effective_date,omitempty" xml:"effective_date,omitempty"`
	// 乘机人姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 证件类型(0:护照; 1:港澳通行证;2:台湾通行证;3:台胞证;4:回乡证;6:入台证)
	CertType int64 `json:"cert_type,omitempty" xml:"cert_type,omitempty"`
	// 乘机人性别(0:男;1:女)
	Gender int64 `json:"gender,omitempty" xml:"gender,omitempty"`
	// 乘机人类型(0:成人; 1 儿童)
	PassengerType int64 `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"`
}

PassengerParam 结构体

type QueryChangeAgentListRs

type QueryChangeAgentListRs struct {
	// 改签单信息
	ChangeOrderDOs []IeChangeOrderVo `json:"change_order_d_os,omitempty" xml:"change_order_d_os>ie_change_order_vo,omitempty"`
	// 错误信息
	ApiErrorMsg string `json:"api_error_msg,omitempty" xml:"api_error_msg,omitempty"`
	// 错误码
	ApiErrorCode int64 `json:"api_error_code,omitempty" xml:"api_error_code,omitempty"`
	// 分页信息
	PageInfoDO *BasePageDo `json:"page_info_d_o,omitempty" xml:"page_info_d_o,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

QueryChangeAgentListRs 结构体

type QueryRefundTicketDetailRs

type QueryRefundTicketDetailRs struct {
	// apiErrorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// ieRefundTicketVO
	RefundTicket *IeRefundTicketVo `json:"refund_ticket,omitempty" xml:"refund_ticket,omitempty"`
	// apiErrorCode
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

QueryRefundTicketDetailRs 结构体

type QueryRefundTicketsRs

type QueryRefundTicketsRs struct {
	// refundTicketList
	RefundTicketList []IeRefundTicketVo `json:"refund_ticket_list,omitempty" xml:"refund_ticket_list>ie_refund_ticket_vo,omitempty"`
	// apiErrorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// apiErrorCode
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// pageCount
	PageCount int64 `json:"page_count,omitempty" xml:"page_count,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

QueryRefundTicketsRs 结构体

type ReceiveRefundTicketRs

type ReceiveRefundTicketRs struct {
	// apiErrorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// apiErrorCode
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ReceiveRefundTicketRs 结构体

type RefundActivityVo

type RefundActivityVo struct {
	// 活动名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 活动收回金额(单位:分)
	TakeBackPrice int64 `json:"take_back_price,omitempty" xml:"take_back_price,omitempty"`
}

RefundActivityVo 结构体

type RefundFlightPrice

type RefundFlightPrice struct {
	// 税费价格(单位:分)
	TaxPrice int64 `json:"tax_price,omitempty" xml:"tax_price,omitempty"`
	// 机票价格(单位:分)
	TicketPrice int64 `json:"ticket_price,omitempty" xml:"ticket_price,omitempty"`
}

RefundFlightPrice 结构体

type RefundFlightSegmentVo

type RefundFlightSegmentVo struct {
	// 到达机场
	ArrAirport string `json:"arr_airport,omitempty" xml:"arr_airport,omitempty"`
	// 到达城市
	ArrCity string `json:"arr_city,omitempty" xml:"arr_city,omitempty"`
	// 到达航站楼
	ArrTerminal string `json:"arr_terminal,omitempty" xml:"arr_terminal,omitempty"`
	// 到达时间
	ArrTime string `json:"arr_time,omitempty" xml:"arr_time,omitempty"`
	// 出发机场
	DepAirport string `json:"dep_airport,omitempty" xml:"dep_airport,omitempty"`
	// 出发城市
	DepCity string `json:"dep_city,omitempty" xml:"dep_city,omitempty"`
	// 出发航站楼
	DepTerminal string `json:"dep_terminal,omitempty" xml:"dep_terminal,omitempty"`
	// 出发时间
	DepTime string `json:"dep_time,omitempty" xml:"dep_time,omitempty"`
	// 市场方航司
	MarketingAirline string `json:"marketing_airline,omitempty" xml:"marketing_airline,omitempty"`
	// 市场方航班号
	MarketingFlightNumber string `json:"marketing_flight_number,omitempty" xml:"marketing_flight_number,omitempty"`
	// 执行方航班号
	OperatingAirline string `json:"operating_airline,omitempty" xml:"operating_airline,omitempty"`
	// 执行航班号
	OperatingFlightNumber string `json:"operating_flight_number,omitempty" xml:"operating_flight_number,omitempty"`
	// 航段ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 行程序号
	ItineraryIndex int64 `json:"itinerary_index,omitempty" xml:"itinerary_index,omitempty"`
	// 航段序号
	SegmentIndex int64 `json:"segment_index,omitempty" xml:"segment_index,omitempty"`
	// 共享编码
	CodeShare bool `json:"code_share,omitempty" xml:"code_share,omitempty"`
	// 主航段
	MainSegment bool `json:"main_segment,omitempty" xml:"main_segment,omitempty"`
}

RefundFlightSegmentVo 结构体

type RefundItemVo

type RefundItemVo struct {
	// 乘机人类型价格信息
	PassengerTypePrices []RefundPassengerTypePrice `json:"passenger_type_prices,omitempty" xml:"passenger_type_prices>refund_passenger_type_price,omitempty"`
	// 行程信息
	RefundItineraryFlights []RefundItineraryVo `json:"refund_itinerary_flights,omitempty" xml:"refund_itinerary_flights>refund_itinerary_vo,omitempty"`
}

RefundItemVo 结构体

type RefundItineraryVo

type RefundItineraryVo struct {
	// 航班列表
	RefundFlightSegmentVos []RefundFlightSegmentVo `json:"refund_flight_segment_vos,omitempty" xml:"refund_flight_segment_vos>refund_flight_segment_vo,omitempty"`
	// 到达机场
	ArrAirportCode string `json:"arr_airport_code,omitempty" xml:"arr_airport_code,omitempty"`
	// 出发机场
	DepAirportCode string `json:"dep_airport_code,omitempty" xml:"dep_airport_code,omitempty"`
	// 出发时间
	DepDate string `json:"dep_date,omitempty" xml:"dep_date,omitempty"`
	// 行程序号
	Index int64 `json:"index,omitempty" xml:"index,omitempty"`
}

RefundItineraryVo 结构体

type RefundMoneyNoPasswordRs

type RefundMoneyNoPasswordRs struct {
	// apiErrorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// apiErrorCode
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

RefundMoneyNoPasswordRs 结构体

type RefundOrderDetailVo

type RefundOrderDetailVo struct {
	// 商家回复
	AgreeAnswer string `json:"agree_answer,omitempty" xml:"agree_answer,omitempty"`
	// 同意时间
	AgreeTime string `json:"agree_time,omitempty" xml:"agree_time,omitempty"`
	// 最晚处理时间
	LatestProcessTime string `json:"latest_process_time,omitempty" xml:"latest_process_time,omitempty"`
	// 接受回复
	ReceiveAnswer string `json:"receive_answer,omitempty" xml:"receive_answer,omitempty"`
	// 接受退票时间
	ReceiveTime string `json:"receive_time,omitempty" xml:"receive_time,omitempty"`
	// 拒绝答复
	RefuseAnswer string `json:"refuse_answer,omitempty" xml:"refuse_answer,omitempty"`
	// 拒绝时间
	RefuseTime string `json:"refuse_time,omitempty" xml:"refuse_time,omitempty"`
	// 创建时间
	ApplyTime string `json:"apply_time,omitempty" xml:"apply_time,omitempty"`
	// 模型版本
	ModelVersion string `json:"model_version,omitempty" xml:"model_version,omitempty"`
	// 极速类型
	InstantType int64 `json:"instant_type,omitempty" xml:"instant_type,omitempty"`
	// 多次退次数
	MultiRefundIndex int64 `json:"multi_refund_index,omitempty" xml:"multi_refund_index,omitempty"`
	// 申请单退商品粒度
	RefundTicketDimension int64 `json:"refund_ticket_dimension,omitempty" xml:"refund_ticket_dimension,omitempty"`
	// 是否补退
	BuiTui bool `json:"bui_tui,omitempty" xml:"bui_tui,omitempty"`
	// 限时免费退
	TimeLimitRefund bool `json:"time_limit_refund,omitempty" xml:"time_limit_refund,omitempty"`
}

RefundOrderDetailVo 结构体

type RefundOrderQueryDetailRq

type RefundOrderQueryDetailRq struct {
	// 代理商ID
	AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"`
	// 申请单ID
	RefundOrderId int64 `json:"refund_order_id,omitempty" xml:"refund_order_id,omitempty"`
}

RefundOrderQueryDetailRq 结构体

type RefundOrderQueryDetailRs

type RefundOrderQueryDetailRs struct {
	// 错误描述
	ApiErrorMsg string `json:"api_error_msg,omitempty" xml:"api_error_msg,omitempty"`
	// 错误trace
	ErrTrace string `json:"err_trace,omitempty" xml:"err_trace,omitempty"`
	// 机器名称
	HostName string `json:"host_name,omitempty" xml:"host_name,omitempty"`
	// 错误码
	ApiErrorCode int64 `json:"api_error_code,omitempty" xml:"api_error_code,omitempty"`
	// 申请单详情
	RefundOrderVo *RefundOrderVo `json:"refund_order_vo,omitempty" xml:"refund_order_vo,omitempty"`
	// 失败
	Failure bool `json:"failure,omitempty" xml:"failure,omitempty"`
	// 成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

RefundOrderQueryDetailRs 结构体

type RefundOrderQueryListRq

type RefundOrderQueryListRq struct {
	// 申请单创建开始时间
	CreateEndTime string `json:"create_end_time,omitempty" xml:"create_end_time,omitempty"`
	// 申请单创建结束时间
	CreateStartTime string `json:"create_start_time,omitempty" xml:"create_start_time,omitempty"`
	// 代理商ID
	AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"`
	// 【必填】分页索引
	PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"`
	// 【必填】分页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 申请单状态(WAIT(1,"待处理"), AGREED(2, "已同意"),REFUSE(3, "已拒绝"),PROCESS(6, "已受理"), SUCCESS(7, "已退款"))
	RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 飞猪订单ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

RefundOrderQueryListRq 结构体

type RefundOrderQueryListRs

type RefundOrderQueryListRs struct {
	// 退票申请单列表
	RefundOrderSimpleVos []RefundOrderSimpleVo `json:"refund_order_simple_vos,omitempty" xml:"refund_order_simple_vos>refund_order_simple_vo,omitempty"`
	// 错误原因
	ApiErrorMsg string `json:"api_error_msg,omitempty" xml:"api_error_msg,omitempty"`
	// 错误原因
	ErrTrace string `json:"err_trace,omitempty" xml:"err_trace,omitempty"`
	// 机器名称
	HostName string `json:"host_name,omitempty" xml:"host_name,omitempty"`
	// API错误码
	ApiErrorCode int64 `json:"api_error_code,omitempty" xml:"api_error_code,omitempty"`
	// failure
	Failure bool `json:"failure,omitempty" xml:"failure,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

RefundOrderQueryListRs 结构体

type RefundOrderSimpleVo

type RefundOrderSimpleVo struct {
	// 新老模型(V1:老模型,V2:新模型)
	ModelVersion string `json:"model_version,omitempty" xml:"model_version,omitempty"`
	// 代理商ID
	AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"`
	// 订单ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 10: "已提交待处理",WAI20:"待人工处理"
	RefundBizStatus int64 `json:"refund_biz_status,omitempty" xml:"refund_biz_status,omitempty"`
	// 退票单ID
	RefundOrderId int64 `json:"refund_order_id,omitempty" xml:"refund_order_id,omitempty"`
	// 申请单状态(WAIT(1,"待处理"), AGREED(2, "已同意"),REFUSE(3, "已拒绝"),PROCESS(6, "已受理"), SUCCESS(7, "已退款"))
	RefundOrderStatus int64 `json:"refund_order_status,omitempty" xml:"refund_order_status,omitempty"`
	// 申请单支付状态(   INIT(1, "初始化"),     REFUND_FAIL(2, "退款失败"),     REFUND_SUCCESS(3, "退款成功"))
	RefundPayStatus int64 `json:"refund_pay_status,omitempty" xml:"refund_pay_status,omitempty"`
}

RefundOrderSimpleVo 结构体

type RefundOrderVo

type RefundOrderVo struct {
	// 乘机人费用列表
	RefundPassengerFeeVos []RefundPassengerFeeVo `json:"refund_passenger_fee_vos,omitempty" xml:"refund_passenger_fee_vos>refund_passenger_fee_vo,omitempty"`
	// 退票乘机人列表
	RefundPassengerVos []RefundPassengerVo `json:"refund_passenger_vos,omitempty" xml:"refund_passenger_vos>refund_passenger_vo,omitempty"`
	// 代理商ID
	AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"`
	// 正向订单ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 业务状态(INIT(10, "已提交待处理"),     WAIT_ADMIN_PROCESS(20, "待人工处理")),配合主状态使用
	RefundBizStatus int64 `json:"refund_biz_status,omitempty" xml:"refund_biz_status,omitempty"`
	// 退商品信息
	RefundItemVo *RefundItemVo `json:"refund_item_vo,omitempty" xml:"refund_item_vo,omitempty"`
	// 申请单详情
	RefundOrderDetailVo *RefundOrderDetailVo `json:"refund_order_detail_vo,omitempty" xml:"refund_order_detail_vo,omitempty"`
	// 退票申请单ID
	RefundOrderId int64 `json:"refund_order_id,omitempty" xml:"refund_order_id,omitempty"`
	// 申请单状态(WAIT(1,"待处理"), AGREED(2, "已同意"),REFUSE(3, "已拒绝"),PROCESS(6, "已受理"), SUCCESS(7, "已退款")
	RefundOrderStatus int64 `json:"refund_order_status,omitempty" xml:"refund_order_status,omitempty"`
	// 支付状态(INIT(1, "初始化"),     REFUND_FAIL(2, "退款失败"),     REFUND_SUCCESS(3, "退款成功")
	RefundPayStatus int64 `json:"refund_pay_status,omitempty" xml:"refund_pay_status,omitempty"`
	// 原因
	RefundReasonDo *IeRefundReasonDo `json:"refund_reason_do,omitempty" xml:"refund_reason_do,omitempty"`
	// 总退给买家金额(单位:分)
	TotalRefundToBuyerMoney int64 `json:"total_refund_to_buyer_money,omitempty" xml:"total_refund_to_buyer_money,omitempty"`
	// 总活动收回金额(单位:分)
	TotalTakeBackActivityMoney int64 `json:"total_take_back_activity_money,omitempty" xml:"total_take_back_activity_money,omitempty"`
	// 改签信息
	ChangeSimpleVo *ChangeSimpleVo `json:"change_simple_vo,omitempty" xml:"change_simple_vo,omitempty"`
	// 催退
	UrgentRefundVo *UrgentRefundVo `json:"urgent_refund_vo,omitempty" xml:"urgent_refund_vo,omitempty"`
}

RefundOrderVo 结构体

type RefundPassengerFeeVo

type RefundPassengerFeeVo struct {
	// 活动列表
	RefundActivityVos []RefundActivityVo `json:"refund_activity_vos,omitempty" xml:"refund_activity_vos>refund_activity_vo,omitempty"`
	// 已使用票总价(单位:分)
	AlreadyUsedTotalPirce int64 `json:"already_used_total_pirce,omitempty" xml:"already_used_total_pirce,omitempty"`
	// 改签不可退服务费(单位:分)
	NonRefundableChangeServiceFee int64 `json:"non_refundable_change_service_fee,omitempty" xml:"non_refundable_change_service_fee,omitempty"`
	// 改签不可退升舱费(单位:分)
	NonRefundableChangeUpgradeFee int64 `json:"non_refundable_change_upgrade_fee,omitempty" xml:"non_refundable_change_upgrade_fee,omitempty"`
	// 机票不可退税费(单位:分)
	NonRefundableTaxPrice int64 `json:"non_refundable_tax_price,omitempty" xml:"non_refundable_tax_price,omitempty"`
	// 机票不可退票价(单位:分)
	NonRefundableTicketPrice int64 `json:"non_refundable_ticket_price,omitempty" xml:"non_refundable_ticket_price,omitempty"`
	// 乘机人ID
	PassengerId int64 `json:"passenger_id,omitempty" xml:"passenger_id,omitempty"`
	// 乘机人退总金额(单位:分)
	RefundToBuyerMoney int64 `json:"refund_to_buyer_money,omitempty" xml:"refund_to_buyer_money,omitempty"`
	// 乘机人红包收回(单位:分)
	TakeBackActivityMoney int64 `json:"take_back_activity_money,omitempty" xml:"take_back_activity_money,omitempty"`
}

RefundPassengerFeeVo 结构体

type RefundPassengerTypePrice

type RefundPassengerTypePrice struct {
	// 机票价格信息
	FlightPrice *RefundFlightPrice `json:"flight_price,omitempty" xml:"flight_price,omitempty"`
	// 乘机人类型(Adult(0, "成人"),     Child(1, "儿童"),     StudentAbroad(2, "留学生"),     Infant(3, "婴儿")
	PassengerType int64 `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"`
}

RefundPassengerTypePrice 结构体

type RefundPassengerVo

type RefundPassengerVo struct {
	// 乘机人姓名
	PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"`
	// 乘机人ID
	PassenerId int64 `json:"passener_id,omitempty" xml:"passener_id,omitempty"`
	// 乘机人类型(Adult(0, "成人"),     Child(1, "儿童"),     StudentAbroad(2, "留学生"),     Infant(3, "婴儿")
	PassengerType int64 `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"`
}

RefundPassengerVo 结构体

type RefuseRefundTicketRs

type RefuseRefundTicketRs struct {
	// apiErrorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// apiErrorCode
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

RefuseRefundTicketRs 结构体

type TaobaoalitripieagentchangequerychangelistAPIRequest added in v1.3.1

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

TaobaoalitripieagentchangequerychangelistAPIRequest 卖家查询改签列表 API请求 taobao.alitrip.ie.agent.change.querychangelist

提供B2B卖家查看改签列表服务

func NewTaobaoalitripieagentchangequerychangelistRequest added in v1.3.1

func NewTaobaoalitripieagentchangequerychangelistRequest() *TaobaoalitripieagentchangequerychangelistAPIRequest

NewTaobaoalitripieagentchangequerychangelistRequest 初始化TaobaoalitripieagentchangequerychangelistAPIRequest对象

func (TaobaoalitripieagentchangequerychangelistAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoalitripieagentchangequerychangelistAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoalitripieagentchangequerychangelistAPIRequest) GetChangeBizStatusEnum added in v1.3.1

GetChangeBizStatusEnum ChangeBizStatusEnum Getter

func (TaobaoalitripieagentchangequerychangelistAPIRequest) GetChangeOrderId added in v1.3.1

GetChangeOrderId ChangeOrderId Getter

func (TaobaoalitripieagentchangequerychangelistAPIRequest) GetChangeReasonType added in v1.3.1

GetChangeReasonType ChangeReasonType Getter

func (TaobaoalitripieagentchangequerychangelistAPIRequest) GetEndCreateDate added in v1.3.1

GetEndCreateDate EndCreateDate Getter

func (TaobaoalitripieagentchangequerychangelistAPIRequest) GetOrderId added in v1.3.1

GetOrderId OrderId Getter

func (TaobaoalitripieagentchangequerychangelistAPIRequest) GetPageIndex added in v1.3.1

GetPageIndex PageIndex Getter

func (TaobaoalitripieagentchangequerychangelistAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (TaobaoalitripieagentchangequerychangelistAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaoalitripieagentchangequerychangelistAPIRequest) GetSortField added in v1.3.1

GetSortField SortField Getter

func (TaobaoalitripieagentchangequerychangelistAPIRequest) GetStartCreateDate added in v1.3.1

GetStartCreateDate StartCreateDate Getter

func (*TaobaoalitripieagentchangequerychangelistAPIRequest) SetChangeBizStatusEnum added in v1.3.1

func (r *TaobaoalitripieagentchangequerychangelistAPIRequest) SetChangeBizStatusEnum(_changeBizStatusEnum string) error

SetChangeBizStatusEnum is ChangeBizStatusEnum Setter WAITING_CONFIRM(10, "卖家待确认"),CONFIRMED(20, "卖家已确认"),WAITING_ISSUE(30, "卖家待出票"),FROZEN_ORDER(40, "出票超时冻结"),ISSUE_SUCCESS(50, "出票成功"),CHECKING_FAILURE(60,"验真失败"),CHECKING_SUCCCESS(61,"验真成功"),REFUSED(70, "卖家已拒绝")

func (*TaobaoalitripieagentchangequerychangelistAPIRequest) SetChangeOrderId added in v1.3.1

func (r *TaobaoalitripieagentchangequerychangelistAPIRequest) SetChangeOrderId(_changeOrderId int64) error

SetChangeOrderId is ChangeOrderId Setter 改签申请单ID

func (*TaobaoalitripieagentchangequerychangelistAPIRequest) SetChangeReasonType added in v1.3.1

func (r *TaobaoalitripieagentchangequerychangelistAPIRequest) SetChangeReasonType(_changeReasonType string) error

SetChangeReasonType is ChangeReasonType Setter 申请原因类型 0-因乘客个人原因(自愿改签) ,1-因航班取消/延误(非自愿),

func (*TaobaoalitripieagentchangequerychangelistAPIRequest) SetEndCreateDate added in v1.3.1

func (r *TaobaoalitripieagentchangequerychangelistAPIRequest) SetEndCreateDate(_endCreateDate string) error

SetEndCreateDate is EndCreateDate Setter 1

func (*TaobaoalitripieagentchangequerychangelistAPIRequest) SetOrderId added in v1.3.1

SetOrderId is OrderId Setter 订单ID

func (*TaobaoalitripieagentchangequerychangelistAPIRequest) SetPageIndex added in v1.3.1

SetPageIndex is PageIndex Setter 分页索引

func (*TaobaoalitripieagentchangequerychangelistAPIRequest) SetPageSize added in v1.3.1

SetPageSize is PageSize Setter 分页大小

func (*TaobaoalitripieagentchangequerychangelistAPIRequest) SetSortField added in v1.3.1

SetSortField is SortField Setter 排序

func (*TaobaoalitripieagentchangequerychangelistAPIRequest) SetStartCreateDate added in v1.3.1

func (r *TaobaoalitripieagentchangequerychangelistAPIRequest) SetStartCreateDate(_startCreateDate string) error

SetStartCreateDate is StartCreateDate Setter 1

type TaobaoalitripieagentchangequerychangelistAPIResponse added in v1.3.1

type TaobaoalitripieagentchangequerychangelistAPIResponse struct {
	model.CommonResponse
	TaobaoalitripieagentchangequerychangelistAPIResponseModel
}

TaobaoalitripieagentchangequerychangelistAPIResponse 卖家查询改签列表 API返回值 taobao.alitrip.ie.agent.change.querychangelist

提供B2B卖家查看改签列表服务

type TaobaoalitripieagentchangequerychangelistAPIResponseModel added in v1.3.1

type TaobaoalitripieagentchangequerychangelistAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_ie_agent_change_querychangelist_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *QueryChangeAgentListRs `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoalitripieagentchangequerychangelistAPIResponseModel is 卖家查询改签列表 成功返回结果

type TaobaoalitripieagentordergetAPIRequest added in v1.3.1

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

TaobaoalitripieagentordergetAPIRequest 【国际机票】查询订单详情 API请求 taobao.alitrip.ie.agent.order.get

根据订单ID查询订单详情

func NewTaobaoalitripieagentordergetRequest added in v1.3.1

func NewTaobaoalitripieagentordergetRequest() *TaobaoalitripieagentordergetAPIRequest

NewTaobaoalitripieagentordergetRequest 初始化TaobaoalitripieagentordergetAPIRequest对象

func (TaobaoalitripieagentordergetAPIRequest) GetAgentId added in v1.3.1

GetAgentId AgentId Getter

func (TaobaoalitripieagentordergetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaoalitripieagentordergetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoalitripieagentordergetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoalitripieagentordergetAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaoalitripieagentordergetAPIRequest) GetTradeOrderId added in v1.3.1

func (r TaobaoalitripieagentordergetAPIRequest) GetTradeOrderId() int64

GetTradeOrderId TradeOrderId Getter

func (*TaobaoalitripieagentordergetAPIRequest) SetAgentId added in v1.3.1

func (r *TaobaoalitripieagentordergetAPIRequest) SetAgentId(_agentId int64) error

SetAgentId is AgentId Setter 代理商ID

func (*TaobaoalitripieagentordergetAPIRequest) SetTradeOrderId added in v1.3.1

func (r *TaobaoalitripieagentordergetAPIRequest) SetTradeOrderId(_tradeOrderId int64) error

SetTradeOrderId is TradeOrderId Setter 交易订单ID

type TaobaoalitripieagentordergetAPIResponse added in v1.3.1

type TaobaoalitripieagentordergetAPIResponse struct {
	model.CommonResponse
	TaobaoalitripieagentordergetAPIResponseModel
}

TaobaoalitripieagentordergetAPIResponse 【国际机票】查询订单详情 API返回值 taobao.alitrip.ie.agent.order.get

根据订单ID查询订单详情

type TaobaoalitripieagentordergetAPIResponseModel added in v1.3.1

type TaobaoalitripieagentordergetAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_ie_agent_order_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回数据
	OrderVo *IeOrderVo `json:"order_vo,omitempty" xml:"order_vo,omitempty"`
}

TaobaoalitripieagentordergetAPIResponseModel is 【国际机票】查询订单详情 成功返回结果

type TaobaoalitripieagentorderhkAPIRequest added in v1.3.1

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

TaobaoalitripieagentorderhkAPIRequest 【国际机票】手工预定回填PNR API请求 taobao.alitrip.ie.agent.order.hk

代理商通过手工预定PNR,并回填。

func NewTaobaoalitripieagentorderhkRequest added in v1.3.1

func NewTaobaoalitripieagentorderhkRequest() *TaobaoalitripieagentorderhkAPIRequest

NewTaobaoalitripieagentorderhkRequest 初始化TaobaoalitripieagentorderhkAPIRequest对象

func (TaobaoalitripieagentorderhkAPIRequest) GetAgentId added in v1.3.1

GetAgentId AgentId Getter

func (TaobaoalitripieagentorderhkAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaoalitripieagentorderhkAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoalitripieagentorderhkAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoalitripieagentorderhkAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaoalitripieagentorderhkAPIRequest) GetWriteBackPnrVO added in v1.3.1

GetWriteBackPnrVO WriteBackPnrVO Getter

func (*TaobaoalitripieagentorderhkAPIRequest) SetAgentId added in v1.3.1

func (r *TaobaoalitripieagentorderhkAPIRequest) SetAgentId(_agentId int64) error

SetAgentId is AgentId Setter 代理商ID

func (*TaobaoalitripieagentorderhkAPIRequest) SetWriteBackPnrVO added in v1.3.1

func (r *TaobaoalitripieagentorderhkAPIRequest) SetWriteBackPnrVO(_writeBackPnrVO *IeWriteBackPnrVo) error

SetWriteBackPnrVO is WriteBackPnrVO Setter 回填pnr信息

type TaobaoalitripieagentorderhkAPIResponse added in v1.3.1

type TaobaoalitripieagentorderhkAPIResponse struct {
	model.CommonResponse
	TaobaoalitripieagentorderhkAPIResponseModel
}

TaobaoalitripieagentorderhkAPIResponse 【国际机票】手工预定回填PNR API返回值 taobao.alitrip.ie.agent.order.hk

代理商通过手工预定PNR,并回填。

type TaobaoalitripieagentorderhkAPIResponseModel added in v1.3.1

type TaobaoalitripieagentorderhkAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_ie_agent_order_hk_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否回填成功true:成功 false:失败
	HkSuccess bool `json:"hk_success,omitempty" xml:"hk_success,omitempty"`
}

TaobaoalitripieagentorderhkAPIResponseModel is 【国际机票】手工预定回填PNR 成功返回结果

type TaobaoalitripieagentordersearchAPIRequest added in v1.3.1

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

TaobaoalitripieagentordersearchAPIRequest 【国际机票】订单列表查询 API请求 taobao.alitrip.ie.agent.order.search

根据指定条件查询国际机票订单列表

func NewTaobaoalitripieagentordersearchRequest added in v1.3.1

func NewTaobaoalitripieagentordersearchRequest() *TaobaoalitripieagentordersearchAPIRequest

NewTaobaoalitripieagentordersearchRequest 初始化TaobaoalitripieagentordersearchAPIRequest对象

func (TaobaoalitripieagentordersearchAPIRequest) GetAgentId added in v1.3.1

GetAgentId AgentId Getter

func (TaobaoalitripieagentordersearchAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoalitripieagentordersearchAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoalitripieagentordersearchAPIRequest) GetBeginTime added in v1.3.1

GetBeginTime BeginTime Getter

func (TaobaoalitripieagentordersearchAPIRequest) GetCurrentPage added in v1.3.1

GetCurrentPage CurrentPage Getter

func (TaobaoalitripieagentordersearchAPIRequest) GetEndTime added in v1.3.1

GetEndTime EndTime Getter

func (TaobaoalitripieagentordersearchAPIRequest) GetFareSource added in v1.3.1

GetFareSource FareSource Getter

func (TaobaoalitripieagentordersearchAPIRequest) GetOfficeNo added in v1.3.1

GetOfficeNo OfficeNo Getter

func (TaobaoalitripieagentordersearchAPIRequest) GetOrderStatus added in v1.3.1

GetOrderStatus OrderStatus Getter

func (TaobaoalitripieagentordersearchAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (TaobaoalitripieagentordersearchAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaoalitripieagentordersearchAPIRequest) GetResourceCode added in v1.3.1

GetResourceCode ResourceCode Getter

func (*TaobaoalitripieagentordersearchAPIRequest) SetAgentId added in v1.3.1

func (r *TaobaoalitripieagentordersearchAPIRequest) SetAgentId(_agentId int64) error

SetAgentId is AgentId Setter 代理商ID

func (*TaobaoalitripieagentordersearchAPIRequest) SetBeginTime added in v1.3.1

func (r *TaobaoalitripieagentordersearchAPIRequest) SetBeginTime(_beginTime string) error

SetBeginTime is BeginTime Setter 订单起始日期

func (*TaobaoalitripieagentordersearchAPIRequest) SetCurrentPage added in v1.3.1

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

SetCurrentPage is CurrentPage Setter 当前页码

func (*TaobaoalitripieagentordersearchAPIRequest) SetEndTime added in v1.3.1

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

SetEndTime is EndTime Setter 订单结束日期

func (*TaobaoalitripieagentordersearchAPIRequest) SetFareSource added in v1.3.1

func (r *TaobaoalitripieagentordersearchAPIRequest) SetFareSource(_fareSource int64) error

SetFareSource is FareSource Setter 0:自有运价;3:公布运价;9:大卖家API;11私有库存

func (*TaobaoalitripieagentordersearchAPIRequest) SetOfficeNo added in v1.3.1

func (r *TaobaoalitripieagentordersearchAPIRequest) SetOfficeNo(_officeNo string) error

SetOfficeNo is OfficeNo Setter officeNo

func (*TaobaoalitripieagentordersearchAPIRequest) SetOrderStatus added in v1.3.1

func (r *TaobaoalitripieagentordersearchAPIRequest) SetOrderStatus(_orderStatus string) error

SetOrderStatus is OrderStatus Setter 订单状态(只能传入一个状态,不支持多个一起传)

func (*TaobaoalitripieagentordersearchAPIRequest) SetPageSize added in v1.3.1

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

SetPageSize is PageSize Setter 分页大小

func (*TaobaoalitripieagentordersearchAPIRequest) SetResourceCode added in v1.3.1

func (r *TaobaoalitripieagentordersearchAPIRequest) SetResourceCode(_resourceCode string) error

SetResourceCode is ResourceCode Setter 供应渠道/资源码

type TaobaoalitripieagentordersearchAPIResponse added in v1.3.1

type TaobaoalitripieagentordersearchAPIResponse struct {
	model.CommonResponse
	TaobaoalitripieagentordersearchAPIResponseModel
}

TaobaoalitripieagentordersearchAPIResponse 【国际机票】订单列表查询 API返回值 taobao.alitrip.ie.agent.order.search

根据指定条件查询国际机票订单列表

type TaobaoalitripieagentordersearchAPIResponseModel added in v1.3.1

type TaobaoalitripieagentordersearchAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_ie_agent_order_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 订单列表
	BaseOrderVos []IeBaseOrderVo `json:"base_order_vos,omitempty" xml:"base_order_vos>ie_base_order_vo,omitempty"`
	// 是否可以翻页查询
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
	// 请求成功标识
	QuerySuccess bool `json:"query_success,omitempty" xml:"query_success,omitempty"`
}

TaobaoalitripieagentordersearchAPIResponseModel is 【国际机票】订单列表查询 成功返回结果

type TaobaoalitripieagentrefundgetAPIRequest added in v1.3.1

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

TaobaoalitripieagentrefundgetAPIRequest 获取退票申请详情 API请求 taobao.alitrip.ie.agent.refund.get

获取退票申请详情

func NewTaobaoalitripieagentrefundgetRequest added in v1.3.1

func NewTaobaoalitripieagentrefundgetRequest() *TaobaoalitripieagentrefundgetAPIRequest

NewTaobaoalitripieagentrefundgetRequest 初始化TaobaoalitripieagentrefundgetAPIRequest对象

func (TaobaoalitripieagentrefundgetAPIRequest) GetAgentId added in v1.3.1

GetAgentId AgentId Getter

func (TaobaoalitripieagentrefundgetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaoalitripieagentrefundgetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoalitripieagentrefundgetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoalitripieagentrefundgetAPIRequest) GetApplyId added in v1.3.1

GetApplyId ApplyId Getter

func (TaobaoalitripieagentrefundgetAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaoalitripieagentrefundgetAPIRequest) SetAgentId added in v1.3.1

func (r *TaobaoalitripieagentrefundgetAPIRequest) SetAgentId(_agentId int64) error

SetAgentId is AgentId Setter 代理商id

func (*TaobaoalitripieagentrefundgetAPIRequest) SetApplyId added in v1.3.1

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

SetApplyId is ApplyId Setter 退票申请单id

type TaobaoalitripieagentrefundgetAPIResponse added in v1.3.1

type TaobaoalitripieagentrefundgetAPIResponse struct {
	model.CommonResponse
	TaobaoalitripieagentrefundgetAPIResponseModel
}

TaobaoalitripieagentrefundgetAPIResponse 获取退票申请详情 API返回值 taobao.alitrip.ie.agent.refund.get

获取退票申请详情

type TaobaoalitripieagentrefundgetAPIResponseModel added in v1.3.1

type TaobaoalitripieagentrefundgetAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_ie_agent_refund_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *QueryRefundTicketDetailRs `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoalitripieagentrefundgetAPIResponseModel is 获取退票申请详情 成功返回结果

type TaobaoalitripieagentrefundnewgetdetailAPIRequest added in v1.3.1

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

TaobaoalitripieagentrefundnewgetdetailAPIRequest 查询申请单详情(新版) API请求 taobao.alitrip.ie.agent.refund.new.getdetail

查询申请单详情

func NewTaobaoalitripieagentrefundnewgetdetailRequest added in v1.3.1

func NewTaobaoalitripieagentrefundnewgetdetailRequest() *TaobaoalitripieagentrefundnewgetdetailAPIRequest

NewTaobaoalitripieagentrefundnewgetdetailRequest 初始化TaobaoalitripieagentrefundnewgetdetailAPIRequest对象

func (TaobaoalitripieagentrefundnewgetdetailAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoalitripieagentrefundnewgetdetailAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoalitripieagentrefundnewgetdetailAPIRequest) GetParamRefundOrderQueryDetailRq added in v1.3.1

func (r TaobaoalitripieagentrefundnewgetdetailAPIRequest) GetParamRefundOrderQueryDetailRq() *RefundOrderQueryDetailRq

GetParamRefundOrderQueryDetailRq ParamRefundOrderQueryDetailRq Getter

func (TaobaoalitripieagentrefundnewgetdetailAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaoalitripieagentrefundnewgetdetailAPIRequest) SetParamRefundOrderQueryDetailRq added in v1.3.1

func (r *TaobaoalitripieagentrefundnewgetdetailAPIRequest) SetParamRefundOrderQueryDetailRq(_paramRefundOrderQueryDetailRq *RefundOrderQueryDetailRq) error

SetParamRefundOrderQueryDetailRq is ParamRefundOrderQueryDetailRq Setter 请求

type TaobaoalitripieagentrefundnewgetdetailAPIResponse added in v1.3.1

type TaobaoalitripieagentrefundnewgetdetailAPIResponse struct {
	model.CommonResponse
	TaobaoalitripieagentrefundnewgetdetailAPIResponseModel
}

TaobaoalitripieagentrefundnewgetdetailAPIResponse 查询申请单详情(新版) API返回值 taobao.alitrip.ie.agent.refund.new.getdetail

查询申请单详情

type TaobaoalitripieagentrefundnewgetdetailAPIResponseModel added in v1.3.1

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

TaobaoalitripieagentrefundnewgetdetailAPIResponseModel is 查询申请单详情(新版) 成功返回结果

type TaobaoalitripieagentrefundnewgetlistAPIRequest added in v1.3.1

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

TaobaoalitripieagentrefundnewgetlistAPIRequest 新查询退票申请单列表 API请求 taobao.alitrip.ie.agent.refund.new.getlist

查询商家国际机票退票申请单列表

func NewTaobaoalitripieagentrefundnewgetlistRequest added in v1.3.1

func NewTaobaoalitripieagentrefundnewgetlistRequest() *TaobaoalitripieagentrefundnewgetlistAPIRequest

NewTaobaoalitripieagentrefundnewgetlistRequest 初始化TaobaoalitripieagentrefundnewgetlistAPIRequest对象

func (TaobaoalitripieagentrefundnewgetlistAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoalitripieagentrefundnewgetlistAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoalitripieagentrefundnewgetlistAPIRequest) GetParamRefundOrderQueryListRq added in v1.3.1

func (r TaobaoalitripieagentrefundnewgetlistAPIRequest) GetParamRefundOrderQueryListRq() *RefundOrderQueryListRq

GetParamRefundOrderQueryListRq ParamRefundOrderQueryListRq Getter

func (TaobaoalitripieagentrefundnewgetlistAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaoalitripieagentrefundnewgetlistAPIRequest) SetParamRefundOrderQueryListRq added in v1.3.1

func (r *TaobaoalitripieagentrefundnewgetlistAPIRequest) SetParamRefundOrderQueryListRq(_paramRefundOrderQueryListRq *RefundOrderQueryListRq) error

SetParamRefundOrderQueryListRq is ParamRefundOrderQueryListRq Setter 列表查询

type TaobaoalitripieagentrefundnewgetlistAPIResponse added in v1.3.1

type TaobaoalitripieagentrefundnewgetlistAPIResponse struct {
	model.CommonResponse
	TaobaoalitripieagentrefundnewgetlistAPIResponseModel
}

TaobaoalitripieagentrefundnewgetlistAPIResponse 新查询退票申请单列表 API返回值 taobao.alitrip.ie.agent.refund.new.getlist

查询商家国际机票退票申请单列表

type TaobaoalitripieagentrefundnewgetlistAPIResponseModel added in v1.3.1

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

TaobaoalitripieagentrefundnewgetlistAPIResponseModel is 新查询退票申请单列表 成功返回结果

type TaobaoalitripieagentrefundnewreceiveAPIRequest added in v1.3.1

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

TaobaoalitripieagentrefundnewreceiveAPIRequest 商家退票受理申请(对外) API请求 taobao.alitrip.ie.agent.refund.new.receive

允许代理商通过top接口受理退票申请

func NewTaobaoalitripieagentrefundnewreceiveRequest added in v1.3.1

func NewTaobaoalitripieagentrefundnewreceiveRequest() *TaobaoalitripieagentrefundnewreceiveAPIRequest

NewTaobaoalitripieagentrefundnewreceiveRequest 初始化TaobaoalitripieagentrefundnewreceiveAPIRequest对象

func (TaobaoalitripieagentrefundnewreceiveAPIRequest) GetAgentId added in v1.3.1

GetAgentId AgentId Getter

func (TaobaoalitripieagentrefundnewreceiveAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoalitripieagentrefundnewreceiveAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoalitripieagentrefundnewreceiveAPIRequest) GetApplyId added in v1.3.1

GetApplyId ApplyId Getter

func (TaobaoalitripieagentrefundnewreceiveAPIRequest) GetOrderId added in v1.3.1

GetOrderId OrderId Getter

func (TaobaoalitripieagentrefundnewreceiveAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaoalitripieagentrefundnewreceiveAPIRequest) SetAgentId added in v1.3.1

SetAgentId is AgentId Setter 代理商id

func (*TaobaoalitripieagentrefundnewreceiveAPIRequest) SetApplyId added in v1.3.1

SetApplyId is ApplyId Setter 退票申请单id

func (*TaobaoalitripieagentrefundnewreceiveAPIRequest) SetOrderId added in v1.3.1

SetOrderId is OrderId Setter 订单id

type TaobaoalitripieagentrefundnewreceiveAPIResponse added in v1.3.1

type TaobaoalitripieagentrefundnewreceiveAPIResponse struct {
	model.CommonResponse
	TaobaoalitripieagentrefundnewreceiveAPIResponseModel
}

TaobaoalitripieagentrefundnewreceiveAPIResponse 商家退票受理申请(对外) API返回值 taobao.alitrip.ie.agent.refund.new.receive

允许代理商通过top接口受理退票申请

type TaobaoalitripieagentrefundnewreceiveAPIResponseModel added in v1.3.1

type TaobaoalitripieagentrefundnewreceiveAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_ie_agent_refund_new_receive_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *ReceiveRefundTicketRs `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoalitripieagentrefundnewreceiveAPIResponseModel is 商家退票受理申请(对外) 成功返回结果

type TaobaoalitripieagentrefundrefundmoneyAPIRequest added in v1.3.1

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

TaobaoalitripieagentrefundrefundmoneyAPIRequest 确认退款 API请求 taobao.alitrip.ie.agent.refund.refundmoney

卖家进行退款操作

func NewTaobaoalitripieagentrefundrefundmoneyRequest added in v1.3.1

func NewTaobaoalitripieagentrefundrefundmoneyRequest() *TaobaoalitripieagentrefundrefundmoneyAPIRequest

NewTaobaoalitripieagentrefundrefundmoneyRequest 初始化TaobaoalitripieagentrefundrefundmoneyAPIRequest对象

func (TaobaoalitripieagentrefundrefundmoneyAPIRequest) GetAgentId added in v1.3.1

GetAgentId AgentId Getter

func (TaobaoalitripieagentrefundrefundmoneyAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoalitripieagentrefundrefundmoneyAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoalitripieagentrefundrefundmoneyAPIRequest) GetApplyId added in v1.3.1

GetApplyId ApplyId Getter

func (TaobaoalitripieagentrefundrefundmoneyAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaoalitripieagentrefundrefundmoneyAPIRequest) SetAgentId added in v1.3.1

SetAgentId is AgentId Setter 代理商id

func (*TaobaoalitripieagentrefundrefundmoneyAPIRequest) SetApplyId added in v1.3.1

SetApplyId is ApplyId Setter 退票申请单id

type TaobaoalitripieagentrefundrefundmoneyAPIResponse added in v1.3.1

type TaobaoalitripieagentrefundrefundmoneyAPIResponse struct {
	model.CommonResponse
	TaobaoalitripieagentrefundrefundmoneyAPIResponseModel
}

TaobaoalitripieagentrefundrefundmoneyAPIResponse 确认退款 API返回值 taobao.alitrip.ie.agent.refund.refundmoney

卖家进行退款操作

type TaobaoalitripieagentrefundrefundmoneyAPIResponseModel added in v1.3.1

type TaobaoalitripieagentrefundrefundmoneyAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_ie_agent_refund_refundmoney_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *RefundMoneyNoPasswordRs `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoalitripieagentrefundrefundmoneyAPIResponseModel is 确认退款 成功返回结果

type TaobaoalitripieagentrefundrefuseAPIRequest added in v1.3.1

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

TaobaoalitripieagentrefundrefuseAPIRequest 拒绝退票申请 API请求 taobao.alitrip.ie.agent.refund.refuse

卖家拒绝退票退票申请

func NewTaobaoalitripieagentrefundrefuseRequest added in v1.3.1

func NewTaobaoalitripieagentrefundrefuseRequest() *TaobaoalitripieagentrefundrefuseAPIRequest

NewTaobaoalitripieagentrefundrefuseRequest 初始化TaobaoalitripieagentrefundrefuseAPIRequest对象

func (TaobaoalitripieagentrefundrefuseAPIRequest) GetAgentAnswer added in v1.3.1

GetAgentAnswer AgentAnswer Getter

func (TaobaoalitripieagentrefundrefuseAPIRequest) GetAgentId added in v1.3.1

GetAgentId AgentId Getter

func (TaobaoalitripieagentrefundrefuseAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoalitripieagentrefundrefuseAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoalitripieagentrefundrefuseAPIRequest) GetApplyId added in v1.3.1

GetApplyId ApplyId Getter

func (TaobaoalitripieagentrefundrefuseAPIRequest) GetOrderId added in v1.3.1

GetOrderId OrderId Getter

func (TaobaoalitripieagentrefundrefuseAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaoalitripieagentrefundrefuseAPIRequest) SetAgentAnswer added in v1.3.1

func (r *TaobaoalitripieagentrefundrefuseAPIRequest) SetAgentAnswer(_agentAnswer string) error

SetAgentAnswer is AgentAnswer Setter 代理商回复

func (*TaobaoalitripieagentrefundrefuseAPIRequest) SetAgentId added in v1.3.1

func (r *TaobaoalitripieagentrefundrefuseAPIRequest) SetAgentId(_agentId int64) error

SetAgentId is AgentId Setter 代理商id

func (*TaobaoalitripieagentrefundrefuseAPIRequest) SetApplyId added in v1.3.1

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

SetApplyId is ApplyId Setter 退票申请单id

func (*TaobaoalitripieagentrefundrefuseAPIRequest) SetOrderId added in v1.3.1

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

SetOrderId is OrderId Setter 订单id

type TaobaoalitripieagentrefundrefuseAPIResponse added in v1.3.1

type TaobaoalitripieagentrefundrefuseAPIResponse struct {
	model.CommonResponse
	TaobaoalitripieagentrefundrefuseAPIResponseModel
}

TaobaoalitripieagentrefundrefuseAPIResponse 拒绝退票申请 API返回值 taobao.alitrip.ie.agent.refund.refuse

卖家拒绝退票退票申请

type TaobaoalitripieagentrefundrefuseAPIResponseModel added in v1.3.1

type TaobaoalitripieagentrefundrefuseAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_ie_agent_refund_refuse_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *RefuseRefundTicketRs `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoalitripieagentrefundrefuseAPIResponseModel is 拒绝退票申请 成功返回结果

type TaobaoalitripieagentrefundsearchAPIRequest added in v1.3.1

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

TaobaoalitripieagentrefundsearchAPIRequest 卖家查询退票申请 API请求 taobao.alitrip.ie.agent.refund.search

卖家查询退票申请

func NewTaobaoalitripieagentrefundsearchRequest added in v1.3.1

func NewTaobaoalitripieagentrefundsearchRequest() *TaobaoalitripieagentrefundsearchAPIRequest

NewTaobaoalitripieagentrefundsearchRequest 初始化TaobaoalitripieagentrefundsearchAPIRequest对象

func (TaobaoalitripieagentrefundsearchAPIRequest) GetAgentId added in v1.3.1

GetAgentId AgentId Getter

func (TaobaoalitripieagentrefundsearchAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoalitripieagentrefundsearchAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoalitripieagentrefundsearchAPIRequest) GetCreateEndTime added in v1.3.1

GetCreateEndTime CreateEndTime Getter

func (TaobaoalitripieagentrefundsearchAPIRequest) GetCreateStartTime added in v1.3.1

func (r TaobaoalitripieagentrefundsearchAPIRequest) GetCreateStartTime() string

GetCreateStartTime CreateStartTime Getter

func (TaobaoalitripieagentrefundsearchAPIRequest) GetPageIndex added in v1.3.1

GetPageIndex PageIndex Getter

func (TaobaoalitripieagentrefundsearchAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (TaobaoalitripieagentrefundsearchAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaoalitripieagentrefundsearchAPIRequest) GetRefundStatus added in v1.3.1

GetRefundStatus RefundStatus Getter

func (*TaobaoalitripieagentrefundsearchAPIRequest) SetAgentId added in v1.3.1

func (r *TaobaoalitripieagentrefundsearchAPIRequest) SetAgentId(_agentId int64) error

SetAgentId is AgentId Setter 代理商id

func (*TaobaoalitripieagentrefundsearchAPIRequest) SetCreateEndTime added in v1.3.1

func (r *TaobaoalitripieagentrefundsearchAPIRequest) SetCreateEndTime(_createEndTime string) error

SetCreateEndTime is CreateEndTime Setter 查询结束时间

func (*TaobaoalitripieagentrefundsearchAPIRequest) SetCreateStartTime added in v1.3.1

func (r *TaobaoalitripieagentrefundsearchAPIRequest) SetCreateStartTime(_createStartTime string) error

SetCreateStartTime is CreateStartTime Setter 查询起始时间

func (*TaobaoalitripieagentrefundsearchAPIRequest) SetPageIndex added in v1.3.1

func (r *TaobaoalitripieagentrefundsearchAPIRequest) SetPageIndex(_pageIndex int64) error

SetPageIndex is PageIndex Setter 从1开始

func (*TaobaoalitripieagentrefundsearchAPIRequest) SetPageSize added in v1.3.1

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

SetPageSize is PageSize Setter 每页大小

func (*TaobaoalitripieagentrefundsearchAPIRequest) SetRefundStatus added in v1.3.1

func (r *TaobaoalitripieagentrefundsearchAPIRequest) SetRefundStatus(_refundStatus int64) error

SetRefundStatus is RefundStatus Setter WAIT(1,"待处理"), AGREED(2, "已同意"),REFUSE(3, "已拒绝"),PROCESS(6, "已受理"), SUCCESS(7, "已退款");

type TaobaoalitripieagentrefundsearchAPIResponse added in v1.3.1

type TaobaoalitripieagentrefundsearchAPIResponse struct {
	model.CommonResponse
	TaobaoalitripieagentrefundsearchAPIResponseModel
}

TaobaoalitripieagentrefundsearchAPIResponse 卖家查询退票申请 API返回值 taobao.alitrip.ie.agent.refund.search

卖家查询退票申请

type TaobaoalitripieagentrefundsearchAPIResponseModel added in v1.3.1

type TaobaoalitripieagentrefundsearchAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_ie_agent_refund_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *QueryRefundTicketsRs `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoalitripieagentrefundsearchAPIResponseModel is 卖家查询退票申请 成功返回结果

type TaobaoalitripieagentticketissueAPIRequest added in v1.3.1

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

TaobaoalitripieagentticketissueAPIRequest 【国际机票】手工出票 API请求 taobao.alitrip.ie.agent.ticket.issue

代理商手工出票,并回填票号

func NewTaobaoalitripieagentticketissueRequest added in v1.3.1

func NewTaobaoalitripieagentticketissueRequest() *TaobaoalitripieagentticketissueAPIRequest

NewTaobaoalitripieagentticketissueRequest 初始化TaobaoalitripieagentticketissueAPIRequest对象

func (TaobaoalitripieagentticketissueAPIRequest) GetAgentId added in v1.3.1

GetAgentId AgentId Getter

func (TaobaoalitripieagentticketissueAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoalitripieagentticketissueAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoalitripieagentticketissueAPIRequest) GetIssueTicketVO added in v1.3.1

GetIssueTicketVO IssueTicketVO Getter

func (TaobaoalitripieagentticketissueAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaoalitripieagentticketissueAPIRequest) SetAgentId added in v1.3.1

func (r *TaobaoalitripieagentticketissueAPIRequest) SetAgentId(_agentId int64) error

SetAgentId is AgentId Setter 代理商id

func (*TaobaoalitripieagentticketissueAPIRequest) SetIssueTicketVO added in v1.3.1

func (r *TaobaoalitripieagentticketissueAPIRequest) SetIssueTicketVO(_issueTicketVO *IeIssueTicketVo) error

SetIssueTicketVO is IssueTicketVO Setter 出票信息

type TaobaoalitripieagentticketissueAPIResponse added in v1.3.1

type TaobaoalitripieagentticketissueAPIResponse struct {
	model.CommonResponse
	TaobaoalitripieagentticketissueAPIResponseModel
}

TaobaoalitripieagentticketissueAPIResponse 【国际机票】手工出票 API返回值 taobao.alitrip.ie.agent.ticket.issue

代理商手工出票,并回填票号

type TaobaoalitripieagentticketissueAPIResponseModel added in v1.3.1

type TaobaoalitripieagentticketissueAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_ie_agent_ticket_issue_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 回填票号是否成功,true:成功,false:失败
	TicketSuccess bool `json:"ticket_success,omitempty" xml:"ticket_success,omitempty"`
}

TaobaoalitripieagentticketissueAPIResponseModel is 【国际机票】手工出票 成功返回结果

type UrgentRefundHistoryDo added in v1.2.9

type UrgentRefundHistoryDo struct {
	// 催退时间
	RequestDate string `json:"request_date,omitempty" xml:"request_date,omitempty"`
	// 要求商家处理时间
	UrgentToSellerFinishTime string `json:"urgent_to_seller_finish_time,omitempty" xml:"urgent_to_seller_finish_time,omitempty"`
	// 平台承若用户完成时间
	UrgentToBuyerPromiseTime string `json:"urgent_to_buyer_promise_time,omitempty" xml:"urgent_to_buyer_promise_time,omitempty"`
	// 第num次催退
	Num int64 `json:"num,omitempty" xml:"num,omitempty"`
}

UrgentRefundHistoryDo 结构体

type UrgentRefundVo added in v1.2.9

type UrgentRefundVo struct {
	// 催退历史记录
	UrgentRefundHistory []UrgentRefundHistoryDo `json:"urgent_refund_history,omitempty" xml:"urgent_refund_history>urgent_refund_history_do,omitempty"`
	// 最新要求商家处理时间
	LatestUrgentToSellerFinishTime string `json:"latest_urgent_to_seller_finish_time,omitempty" xml:"latest_urgent_to_seller_finish_time,omitempty"`
	// 最新平台承若用户完成时间
	LatestUrgentToBuyerPromiseTime string `json:"latest_urgent_to_buyer_promise_time,omitempty" xml:"latest_urgent_to_buyer_promise_time,omitempty"`
	// 最新催退时间
	LatestRequestDate string `json:"latest_request_date,omitempty" xml:"latest_request_date,omitempty"`
	// 催退次数
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
	// 是否触发了强制退款
	ForceRefund bool `json:"force_refund,omitempty" xml:"force_refund,omitempty"`
}

UrgentRefundVo 结构体

type VirProOrderVo

type VirProOrderVo struct {
	// bookTime
	BookTime string `json:"book_time,omitempty" xml:"book_time,omitempty"`
	// 辅营订单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

VirProOrderVo 结构体

Source Files

Jump to

Keyboard shortcuts

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