flight

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package flight 包含机票API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AfterChangeSegments

type AfterChangeSegments struct {
	// 舱等
	CabinClass string `json:"cabin_class,omitempty" xml:"cabin_class,omitempty"`
	// 航班号
	FlightNo string `json:"flight_no,omitempty" xml:"flight_no,omitempty"`
	// 起飞时间
	DepTime string `json:"dep_time,omitempty" xml:"dep_time,omitempty"`
	// 到达城市
	ArrCity string `json:"arr_city,omitempty" xml:"arr_city,omitempty"`
	// 起飞城市
	DepCity string `json:"dep_city,omitempty" xml:"dep_city,omitempty"`
	// 舱位
	Cabin string `json:"cabin,omitempty" xml:"cabin,omitempty"`
	// 到达机场
	ArrAirport string `json:"arr_airport,omitempty" xml:"arr_airport,omitempty"`
	// 起飞机场
	DepAirport string `json:"dep_airport,omitempty" xml:"dep_airport,omitempty"`
	// 到达时间
	ArrTime string `json:"arr_time,omitempty" xml:"arr_time,omitempty"`
	// 航段序号
	SegmentIndex int64 `json:"segment_index,omitempty" xml:"segment_index,omitempty"`
	// 航程序号
	OdIndex int64 `json:"od_index,omitempty" xml:"od_index,omitempty"`
}

AfterChangeSegments 结构体

type AlitripAgentFlightSellModifyApproveAPIRequest added in v1.2.0

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

AlitripAgentFlightSellModifyApproveAPIRequest 销售改签确认 API请求 alitrip.agent.flight.sell.modify.approve

销售改签确认

func NewAlitripAgentFlightSellModifyApproveRequest

func NewAlitripAgentFlightSellModifyApproveRequest() *AlitripAgentFlightSellModifyApproveAPIRequest

NewAlitripAgentFlightSellModifyApproveRequest 初始化AlitripAgentFlightSellModifyApproveAPIRequest对象

func (AlitripAgentFlightSellModifyApproveAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripAgentFlightSellModifyApproveAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripAgentFlightSellModifyApproveAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (*AlitripAgentFlightSellModifyApproveAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 入参对象

type AlitripAgentFlightSellModifyApproveAPIResponse

type AlitripAgentFlightSellModifyApproveAPIResponse struct {
	model.CommonResponse
	AlitripAgentFlightSellModifyApproveAPIResponseModel
}

AlitripAgentFlightSellModifyApproveAPIResponse 销售改签确认 API返回值 alitrip.agent.flight.sell.modify.approve

销售改签确认

type AlitripAgentFlightSellModifyApproveAPIResponseModel added in v1.2.0

type AlitripAgentFlightSellModifyApproveAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_agent_flight_sell_modify_approve_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *AlitripAgentFlightSellModifyApproveResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripAgentFlightSellModifyApproveAPIResponseModel is 销售改签确认 成功返回结果

type AlitripAgentFlightSellModifyApproveResultDto

type AlitripAgentFlightSellModifyApproveResultDto struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripAgentFlightSellModifyApproveResultDto 结构体

type AlitripAgentFlightSellModifyBackfillAPIRequest added in v1.2.0

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

AlitripAgentFlightSellModifyBackfillAPIRequest 销售改签回填 API请求 alitrip.agent.flight.sell.modify.backfill

销售改签回填

func NewAlitripAgentFlightSellModifyBackfillRequest

func NewAlitripAgentFlightSellModifyBackfillRequest() *AlitripAgentFlightSellModifyBackfillAPIRequest

NewAlitripAgentFlightSellModifyBackfillRequest 初始化AlitripAgentFlightSellModifyBackfillAPIRequest对象

func (AlitripAgentFlightSellModifyBackfillAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripAgentFlightSellModifyBackfillAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripAgentFlightSellModifyBackfillAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (*AlitripAgentFlightSellModifyBackfillAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 入参

type AlitripAgentFlightSellModifyBackfillAPIResponse

type AlitripAgentFlightSellModifyBackfillAPIResponse struct {
	model.CommonResponse
	AlitripAgentFlightSellModifyBackfillAPIResponseModel
}

AlitripAgentFlightSellModifyBackfillAPIResponse 销售改签回填 API返回值 alitrip.agent.flight.sell.modify.backfill

销售改签回填

type AlitripAgentFlightSellModifyBackfillAPIResponseModel added in v1.2.0

type AlitripAgentFlightSellModifyBackfillAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_agent_flight_sell_modify_backfill_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *AlitripAgentFlightSellModifyBackfillResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripAgentFlightSellModifyBackfillAPIResponseModel is 销售改签回填 成功返回结果

type AlitripAgentFlightSellModifyBackfillResultDto

type AlitripAgentFlightSellModifyBackfillResultDto struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripAgentFlightSellModifyBackfillResultDto 结构体

type AlitripAgentFlightSellModifyDetailAPIRequest added in v1.2.0

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

AlitripAgentFlightSellModifyDetailAPIRequest 销售改签详情 API请求 alitrip.agent.flight.sell.modify.detail

销售改签详情

func NewAlitripAgentFlightSellModifyDetailRequest

func NewAlitripAgentFlightSellModifyDetailRequest() *AlitripAgentFlightSellModifyDetailAPIRequest

NewAlitripAgentFlightSellModifyDetailRequest 初始化AlitripAgentFlightSellModifyDetailAPIRequest对象

func (AlitripAgentFlightSellModifyDetailAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripAgentFlightSellModifyDetailAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripAgentFlightSellModifyDetailAPIRequest) GetApplyId added in v1.2.0

GetApplyId ApplyId Getter

func (AlitripAgentFlightSellModifyDetailAPIRequest) GetDomesticIntl added in v1.2.0

GetDomesticIntl DomesticIntl Getter

func (*AlitripAgentFlightSellModifyDetailAPIRequest) SetApplyId added in v1.2.0

SetApplyId is ApplyId Setter 申请单号

func (*AlitripAgentFlightSellModifyDetailAPIRequest) SetDomesticIntl added in v1.2.0

func (r *AlitripAgentFlightSellModifyDetailAPIRequest) SetDomesticIntl(_domesticIntl int64) error

SetDomesticIntl is DomesticIntl Setter 国内国际标识

type AlitripAgentFlightSellModifyDetailAPIResponse

type AlitripAgentFlightSellModifyDetailAPIResponse struct {
	model.CommonResponse
	AlitripAgentFlightSellModifyDetailAPIResponseModel
}

AlitripAgentFlightSellModifyDetailAPIResponse 销售改签详情 API返回值 alitrip.agent.flight.sell.modify.detail

销售改签详情

type AlitripAgentFlightSellModifyDetailAPIResponseModel added in v1.2.0

type AlitripAgentFlightSellModifyDetailAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_agent_flight_sell_modify_detail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *AlitripAgentFlightSellModifyDetailResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripAgentFlightSellModifyDetailAPIResponseModel is 销售改签详情 成功返回结果

type AlitripAgentFlightSellModifyDetailResultDto

type AlitripAgentFlightSellModifyDetailResultDto struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 结果对象
	Data *ModifyDetailDto `json:"data,omitempty" xml:"data,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripAgentFlightSellModifyDetailResultDto 结构体

type AlitripAgentFlightSellModifyListAPIRequest added in v1.2.0

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

AlitripAgentFlightSellModifyListAPIRequest 销售改签单列表 API请求 alitrip.agent.flight.sell.modify.list

销售改签单列表

func NewAlitripAgentFlightSellModifyListRequest

func NewAlitripAgentFlightSellModifyListRequest() *AlitripAgentFlightSellModifyListAPIRequest

NewAlitripAgentFlightSellModifyListRequest 初始化AlitripAgentFlightSellModifyListAPIRequest对象

func (AlitripAgentFlightSellModifyListAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripAgentFlightSellModifyListAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripAgentFlightSellModifyListAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (*AlitripAgentFlightSellModifyListAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 入参

type AlitripAgentFlightSellModifyListAPIResponse

type AlitripAgentFlightSellModifyListAPIResponse struct {
	model.CommonResponse
	AlitripAgentFlightSellModifyListAPIResponseModel
}

AlitripAgentFlightSellModifyListAPIResponse 销售改签单列表 API返回值 alitrip.agent.flight.sell.modify.list

销售改签单列表

type AlitripAgentFlightSellModifyListAPIResponseModel added in v1.2.0

type AlitripAgentFlightSellModifyListAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_agent_flight_sell_modify_list_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *PageDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripAgentFlightSellModifyListAPIResponseModel is 销售改签单列表 成功返回结果

type AlitripAgentFlightSellModifyListT added in v1.1.3

type AlitripAgentFlightSellModifyListT struct {
	// 申请单号
	ApplyId string `json:"apply_id,omitempty" xml:"apply_id,omitempty"`
	// 飞猪订单号
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 申请时间
	ApplyTime string `json:"apply_time,omitempty" xml:"apply_time,omitempty"`
	// 国内国际标识
	DomesticIntl int64 `json:"domestic_intl,omitempty" xml:"domestic_intl,omitempty"`
}

AlitripAgentFlightSellModifyListT 结构体

type AlitripAgentFlightSellModifyRefuseAPIRequest added in v1.2.0

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

AlitripAgentFlightSellModifyRefuseAPIRequest 销售改签拒绝 API请求 alitrip.agent.flight.sell.modify.refuse

销售改签拒绝

func NewAlitripAgentFlightSellModifyRefuseRequest

func NewAlitripAgentFlightSellModifyRefuseRequest() *AlitripAgentFlightSellModifyRefuseAPIRequest

NewAlitripAgentFlightSellModifyRefuseRequest 初始化AlitripAgentFlightSellModifyRefuseAPIRequest对象

func (AlitripAgentFlightSellModifyRefuseAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripAgentFlightSellModifyRefuseAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripAgentFlightSellModifyRefuseAPIRequest) GetApplyId added in v1.2.0

GetApplyId ApplyId Getter

func (AlitripAgentFlightSellModifyRefuseAPIRequest) GetDomesticIntl added in v1.2.0

GetDomesticIntl DomesticIntl Getter

func (AlitripAgentFlightSellModifyRefuseAPIRequest) GetRefuseReason added in v1.2.0

GetRefuseReason RefuseReason Getter

func (*AlitripAgentFlightSellModifyRefuseAPIRequest) SetApplyId added in v1.2.0

SetApplyId is ApplyId Setter 申请单号

func (*AlitripAgentFlightSellModifyRefuseAPIRequest) SetDomesticIntl added in v1.2.0

func (r *AlitripAgentFlightSellModifyRefuseAPIRequest) SetDomesticIntl(_domesticIntl int64) error

SetDomesticIntl is DomesticIntl Setter 国际国内标识

func (*AlitripAgentFlightSellModifyRefuseAPIRequest) SetRefuseReason added in v1.2.0

func (r *AlitripAgentFlightSellModifyRefuseAPIRequest) SetRefuseReason(_refuseReason string) error

SetRefuseReason is RefuseReason Setter 拒绝原因

type AlitripAgentFlightSellModifyRefuseAPIResponse

type AlitripAgentFlightSellModifyRefuseAPIResponse struct {
	model.CommonResponse
	AlitripAgentFlightSellModifyRefuseAPIResponseModel
}

AlitripAgentFlightSellModifyRefuseAPIResponse 销售改签拒绝 API返回值 alitrip.agent.flight.sell.modify.refuse

销售改签拒绝

type AlitripAgentFlightSellModifyRefuseAPIResponseModel added in v1.2.0

type AlitripAgentFlightSellModifyRefuseAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_agent_flight_sell_modify_refuse_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *AlitripAgentFlightSellModifyRefuseResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripAgentFlightSellModifyRefuseAPIResponseModel is 销售改签拒绝 成功返回结果

type AlitripAgentFlightSellModifyRefuseResultDto

type AlitripAgentFlightSellModifyRefuseResultDto struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripAgentFlightSellModifyRefuseResultDto 结构体

type AlitripAgentFlightSellRefundApproveAPIRequest added in v1.2.0

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

AlitripAgentFlightSellRefundApproveAPIRequest 销售退票确认 API请求 alitrip.agent.flight.sell.refund.approve

销售退票确认

func NewAlitripAgentFlightSellRefundApproveRequest

func NewAlitripAgentFlightSellRefundApproveRequest() *AlitripAgentFlightSellRefundApproveAPIRequest

NewAlitripAgentFlightSellRefundApproveRequest 初始化AlitripAgentFlightSellRefundApproveAPIRequest对象

func (AlitripAgentFlightSellRefundApproveAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripAgentFlightSellRefundApproveAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripAgentFlightSellRefundApproveAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (*AlitripAgentFlightSellRefundApproveAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 入参

type AlitripAgentFlightSellRefundApproveAPIResponse

type AlitripAgentFlightSellRefundApproveAPIResponse struct {
	model.CommonResponse
	AlitripAgentFlightSellRefundApproveAPIResponseModel
}

AlitripAgentFlightSellRefundApproveAPIResponse 销售退票确认 API返回值 alitrip.agent.flight.sell.refund.approve

销售退票确认

type AlitripAgentFlightSellRefundApproveAPIResponseModel added in v1.2.0

type AlitripAgentFlightSellRefundApproveAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_agent_flight_sell_refund_approve_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *AlitripAgentFlightSellRefundApproveResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripAgentFlightSellRefundApproveAPIResponseModel is 销售退票确认 成功返回结果

type AlitripAgentFlightSellRefundApproveResultDto

type AlitripAgentFlightSellRefundApproveResultDto struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripAgentFlightSellRefundApproveResultDto 结构体

type AlitripAgentFlightSellRefundDetailAPIRequest added in v1.2.0

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

AlitripAgentFlightSellRefundDetailAPIRequest 销售退票单详情 API请求 alitrip.agent.flight.sell.refund.detail

销售退票单详情

func NewAlitripAgentFlightSellRefundDetailRequest

func NewAlitripAgentFlightSellRefundDetailRequest() *AlitripAgentFlightSellRefundDetailAPIRequest

NewAlitripAgentFlightSellRefundDetailRequest 初始化AlitripAgentFlightSellRefundDetailAPIRequest对象

func (AlitripAgentFlightSellRefundDetailAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripAgentFlightSellRefundDetailAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripAgentFlightSellRefundDetailAPIRequest) GetApplyId added in v1.2.0

GetApplyId ApplyId Getter

func (AlitripAgentFlightSellRefundDetailAPIRequest) GetDomesticIntl added in v1.2.0

GetDomesticIntl DomesticIntl Getter

func (*AlitripAgentFlightSellRefundDetailAPIRequest) SetApplyId added in v1.2.0

SetApplyId is ApplyId Setter 申请单号

func (*AlitripAgentFlightSellRefundDetailAPIRequest) SetDomesticIntl added in v1.2.0

func (r *AlitripAgentFlightSellRefundDetailAPIRequest) SetDomesticIntl(_domesticIntl int64) error

SetDomesticIntl is DomesticIntl Setter 国际国内标识

type AlitripAgentFlightSellRefundDetailAPIResponse

type AlitripAgentFlightSellRefundDetailAPIResponse struct {
	model.CommonResponse
	AlitripAgentFlightSellRefundDetailAPIResponseModel
}

AlitripAgentFlightSellRefundDetailAPIResponse 销售退票单详情 API返回值 alitrip.agent.flight.sell.refund.detail

销售退票单详情

type AlitripAgentFlightSellRefundDetailAPIResponseModel added in v1.2.0

type AlitripAgentFlightSellRefundDetailAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_agent_flight_sell_refund_detail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *AlitripAgentFlightSellRefundDetailResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripAgentFlightSellRefundDetailAPIResponseModel is 销售退票单详情 成功返回结果

type AlitripAgentFlightSellRefundDetailResultDto

type AlitripAgentFlightSellRefundDetailResultDto struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 结果数据
	Data *RefundDetailDto `json:"data,omitempty" xml:"data,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripAgentFlightSellRefundDetailResultDto 结构体

type AlitripAgentFlightSellRefundListAPIRequest added in v1.2.0

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

AlitripAgentFlightSellRefundListAPIRequest 销售退票单列表 API请求 alitrip.agent.flight.sell.refund.list

销售退票单列表

func NewAlitripAgentFlightSellRefundListRequest

func NewAlitripAgentFlightSellRefundListRequest() *AlitripAgentFlightSellRefundListAPIRequest

NewAlitripAgentFlightSellRefundListRequest 初始化AlitripAgentFlightSellRefundListAPIRequest对象

func (AlitripAgentFlightSellRefundListAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripAgentFlightSellRefundListAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripAgentFlightSellRefundListAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (*AlitripAgentFlightSellRefundListAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 请求对象

type AlitripAgentFlightSellRefundListAPIResponse

type AlitripAgentFlightSellRefundListAPIResponse struct {
	model.CommonResponse
	AlitripAgentFlightSellRefundListAPIResponseModel
}

AlitripAgentFlightSellRefundListAPIResponse 销售退票单列表 API返回值 alitrip.agent.flight.sell.refund.list

销售退票单列表

type AlitripAgentFlightSellRefundListAPIResponseModel added in v1.2.0

type AlitripAgentFlightSellRefundListAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_agent_flight_sell_refund_list_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *PageDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripAgentFlightSellRefundListAPIResponseModel is 销售退票单列表 成功返回结果

type AlitripAgentFlightSellRefundListT added in v1.1.3

type AlitripAgentFlightSellRefundListT struct {
	// 退票申请单号
	ApplyId string `json:"apply_id,omitempty" xml:"apply_id,omitempty"`
	// 飞猪订单号
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 时间
	ApplyTime string `json:"apply_time,omitempty" xml:"apply_time,omitempty"`
	// 国内国际标识
	DomesticIntl int64 `json:"domestic_intl,omitempty" xml:"domestic_intl,omitempty"`
}

AlitripAgentFlightSellRefundListT 结构体

type AlitripAgentFlightSellRefundRefuseAPIRequest added in v1.2.0

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

AlitripAgentFlightSellRefundRefuseAPIRequest 销售退票拒绝 API请求 alitrip.agent.flight.sell.refund.refuse

销售退票拒绝

func NewAlitripAgentFlightSellRefundRefuseRequest

func NewAlitripAgentFlightSellRefundRefuseRequest() *AlitripAgentFlightSellRefundRefuseAPIRequest

NewAlitripAgentFlightSellRefundRefuseRequest 初始化AlitripAgentFlightSellRefundRefuseAPIRequest对象

func (AlitripAgentFlightSellRefundRefuseAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripAgentFlightSellRefundRefuseAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripAgentFlightSellRefundRefuseAPIRequest) GetApplyId added in v1.2.0

GetApplyId ApplyId Getter

func (AlitripAgentFlightSellRefundRefuseAPIRequest) GetDomesticIntl added in v1.2.0

GetDomesticIntl DomesticIntl Getter

func (AlitripAgentFlightSellRefundRefuseAPIRequest) GetRefuseReason added in v1.2.0

GetRefuseReason RefuseReason Getter

func (*AlitripAgentFlightSellRefundRefuseAPIRequest) SetApplyId added in v1.2.0

SetApplyId is ApplyId Setter 申请单号

func (*AlitripAgentFlightSellRefundRefuseAPIRequest) SetDomesticIntl added in v1.2.0

func (r *AlitripAgentFlightSellRefundRefuseAPIRequest) SetDomesticIntl(_domesticIntl int64) error

SetDomesticIntl is DomesticIntl Setter 国内国际标识

func (*AlitripAgentFlightSellRefundRefuseAPIRequest) SetRefuseReason added in v1.2.0

func (r *AlitripAgentFlightSellRefundRefuseAPIRequest) SetRefuseReason(_refuseReason string) error

SetRefuseReason is RefuseReason Setter 拒绝原因

type AlitripAgentFlightSellRefundRefuseAPIResponse

type AlitripAgentFlightSellRefundRefuseAPIResponse struct {
	model.CommonResponse
	AlitripAgentFlightSellRefundRefuseAPIResponseModel
}

AlitripAgentFlightSellRefundRefuseAPIResponse 销售退票拒绝 API返回值 alitrip.agent.flight.sell.refund.refuse

销售退票拒绝

type AlitripAgentFlightSellRefundRefuseAPIResponseModel added in v1.2.0

type AlitripAgentFlightSellRefundRefuseAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_agent_flight_sell_refund_refuse_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *AlitripAgentFlightSellRefundRefuseResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripAgentFlightSellRefundRefuseAPIResponseModel is 销售退票拒绝 成功返回结果

type AlitripAgentFlightSellRefundRefuseResultDto

type AlitripAgentFlightSellRefundRefuseResultDto struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripAgentFlightSellRefundRefuseResultDto 结构体

type AlitripAgentFlightSellTicketingDetailAPIRequest added in v1.2.0

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

AlitripAgentFlightSellTicketingDetailAPIRequest 销售出票详情 API请求 alitrip.agent.flight.sell.ticketing.detail

销售出票详情

func NewAlitripAgentFlightSellTicketingDetailRequest

func NewAlitripAgentFlightSellTicketingDetailRequest() *AlitripAgentFlightSellTicketingDetailAPIRequest

NewAlitripAgentFlightSellTicketingDetailRequest 初始化AlitripAgentFlightSellTicketingDetailAPIRequest对象

func (AlitripAgentFlightSellTicketingDetailAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripAgentFlightSellTicketingDetailAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripAgentFlightSellTicketingDetailAPIRequest) GetDomesticIntl added in v1.2.0

GetDomesticIntl DomesticIntl Getter

func (AlitripAgentFlightSellTicketingDetailAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (*AlitripAgentFlightSellTicketingDetailAPIRequest) SetDomesticIntl added in v1.2.0

func (r *AlitripAgentFlightSellTicketingDetailAPIRequest) SetDomesticIntl(_domesticIntl int64) error

SetDomesticIntl is DomesticIntl Setter 国内国际标识

func (*AlitripAgentFlightSellTicketingDetailAPIRequest) SetOrderId added in v1.2.0

SetOrderId is OrderId Setter 飞猪订单号

type AlitripAgentFlightSellTicketingDetailAPIResponse

type AlitripAgentFlightSellTicketingDetailAPIResponse struct {
	model.CommonResponse
	AlitripAgentFlightSellTicketingDetailAPIResponseModel
}

AlitripAgentFlightSellTicketingDetailAPIResponse 销售出票详情 API返回值 alitrip.agent.flight.sell.ticketing.detail

销售出票详情

type AlitripAgentFlightSellTicketingDetailAPIResponseModel added in v1.2.0

type AlitripAgentFlightSellTicketingDetailAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_agent_flight_sell_ticketing_detail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 出参对象
	Result *AlitripAgentFlightSellTicketingDetailResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripAgentFlightSellTicketingDetailAPIResponseModel is 销售出票详情 成功返回结果

type AlitripAgentFlightSellTicketingDetailData

type AlitripAgentFlightSellTicketingDetailData struct {
	// 出票对象
	IssueList []IssueList `json:"issue_list,omitempty" xml:"issue_list>issue_list,omitempty"`
	// 订单标签
	Tags []string `json:"tags,omitempty" xml:"tags>string,omitempty"`
	// 飞猪订单号
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 出票时间
	IssueTime string `json:"issue_time,omitempty" xml:"issue_time,omitempty"`
	// sla
	Sla string `json:"sla,omitempty" xml:"sla,omitempty"`
	// 币种
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 店铺id
	AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"`
	// 国内国际标识
	DomesticIntl int64 `json:"domestic_intl,omitempty" xml:"domestic_intl,omitempty"`
	// 佣金
	Commission int64 `json:"commission,omitempty" xml:"commission,omitempty"`
	// 订单状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

AlitripAgentFlightSellTicketingDetailData 结构体

type AlitripAgentFlightSellTicketingDetailResultDto

type AlitripAgentFlightSellTicketingDetailResultDto struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 出参对象
	Data *AlitripAgentFlightSellTicketingDetailData `json:"data,omitempty" xml:"data,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripAgentFlightSellTicketingDetailResultDto 结构体

type AlitripAgentFlightSellTicketingIssueAPIRequest added in v1.2.0

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

AlitripAgentFlightSellTicketingIssueAPIRequest 销售出票 API请求 alitrip.agent.flight.sell.ticketing.issue

销售出票

func NewAlitripAgentFlightSellTicketingIssueRequest

func NewAlitripAgentFlightSellTicketingIssueRequest() *AlitripAgentFlightSellTicketingIssueAPIRequest

NewAlitripAgentFlightSellTicketingIssueRequest 初始化AlitripAgentFlightSellTicketingIssueAPIRequest对象

func (AlitripAgentFlightSellTicketingIssueAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripAgentFlightSellTicketingIssueAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripAgentFlightSellTicketingIssueAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (*AlitripAgentFlightSellTicketingIssueAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 入参对象

type AlitripAgentFlightSellTicketingIssueAPIResponse

type AlitripAgentFlightSellTicketingIssueAPIResponse struct {
	model.CommonResponse
	AlitripAgentFlightSellTicketingIssueAPIResponseModel
}

AlitripAgentFlightSellTicketingIssueAPIResponse 销售出票 API返回值 alitrip.agent.flight.sell.ticketing.issue

销售出票

type AlitripAgentFlightSellTicketingIssueAPIResponseModel added in v1.2.0

type AlitripAgentFlightSellTicketingIssueAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_agent_flight_sell_ticketing_issue_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *AlitripAgentFlightSellTicketingIssueResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripAgentFlightSellTicketingIssueAPIResponseModel is 销售出票 成功返回结果

type AlitripAgentFlightSellTicketingIssueResultDto

type AlitripAgentFlightSellTicketingIssueResultDto struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误消息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripAgentFlightSellTicketingIssueResultDto 结构体

type AlitripAgentFlightSellTicketingListAPIRequest added in v1.2.0

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

AlitripAgentFlightSellTicketingListAPIRequest 销售出票列表 API请求 alitrip.agent.flight.sell.ticketing.list

销售出票列表

func NewAlitripAgentFlightSellTicketingListRequest

func NewAlitripAgentFlightSellTicketingListRequest() *AlitripAgentFlightSellTicketingListAPIRequest

NewAlitripAgentFlightSellTicketingListRequest 初始化AlitripAgentFlightSellTicketingListAPIRequest对象

func (AlitripAgentFlightSellTicketingListAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripAgentFlightSellTicketingListAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripAgentFlightSellTicketingListAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (*AlitripAgentFlightSellTicketingListAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 入参对象

type AlitripAgentFlightSellTicketingListAPIResponse

type AlitripAgentFlightSellTicketingListAPIResponse struct {
	model.CommonResponse
	AlitripAgentFlightSellTicketingListAPIResponseModel
}

AlitripAgentFlightSellTicketingListAPIResponse 销售出票列表 API返回值 alitrip.agent.flight.sell.ticketing.list

销售出票列表

type AlitripAgentFlightSellTicketingListAPIResponseModel added in v1.2.0

type AlitripAgentFlightSellTicketingListAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_agent_flight_sell_ticketing_list_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *PageDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripAgentFlightSellTicketingListAPIResponseModel is 销售出票列表 成功返回结果

type AlitripAgentFlightSellTicketingListT added in v1.1.3

type AlitripAgentFlightSellTicketingListT struct {
	// 飞猪订单号
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 国内国际标识
	DomesticIntl int64 `json:"domestic_intl,omitempty" xml:"domestic_intl,omitempty"`
}

AlitripAgentFlightSellTicketingListT 结构体

type AlitripTripvpAgentOrderGetAPIRequest added in v1.2.0

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

AlitripTripvpAgentOrderGetAPIRequest 廉航辅营正向订单查询详情接口 API请求 alitrip.tripvp.agent.order.get

【国际机票】查询辅营订单详情

func NewAlitripTripvpAgentOrderGetRequest

func NewAlitripTripvpAgentOrderGetRequest() *AlitripTripvpAgentOrderGetAPIRequest

NewAlitripTripvpAgentOrderGetRequest 初始化AlitripTripvpAgentOrderGetAPIRequest对象

func (AlitripTripvpAgentOrderGetAPIRequest) GetAgentId added in v1.2.0

GetAgentId AgentId Getter

func (AlitripTripvpAgentOrderGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlitripTripvpAgentOrderGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripTripvpAgentOrderGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripTripvpAgentOrderGetAPIRequest) GetTradeOrderId added in v1.2.0

func (r AlitripTripvpAgentOrderGetAPIRequest) GetTradeOrderId() int64

GetTradeOrderId TradeOrderId Getter

func (*AlitripTripvpAgentOrderGetAPIRequest) SetAgentId added in v1.2.0

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

SetAgentId is AgentId Setter 代理商ID

func (*AlitripTripvpAgentOrderGetAPIRequest) SetTradeOrderId added in v1.2.0

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

SetTradeOrderId is TradeOrderId Setter 辅营的订单号

type AlitripTripvpAgentOrderGetAPIResponse

type AlitripTripvpAgentOrderGetAPIResponse struct {
	model.CommonResponse
	AlitripTripvpAgentOrderGetAPIResponseModel
}

AlitripTripvpAgentOrderGetAPIResponse 廉航辅营正向订单查询详情接口 API返回值 alitrip.tripvp.agent.order.get

【国际机票】查询辅营订单详情

type AlitripTripvpAgentOrderGetAPIResponseModel added in v1.2.0

type AlitripTripvpAgentOrderGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_tripvp_agent_order_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// orderVO
	OrderVo *VirProOrderVo `json:"order_vo,omitempty" xml:"order_vo,omitempty"`
	// pageSize
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

AlitripTripvpAgentOrderGetAPIResponseModel is 廉航辅营正向订单查询详情接口 成功返回结果

type AlitripTripvpAgentOrderIssueAPIRequest added in v1.2.0

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

AlitripTripvpAgentOrderIssueAPIRequest 廉航辅营正向订单出货接口 API请求 alitrip.tripvp.agent.order.issue

廉航辅营正向订单出货接口

func NewAlitripTripvpAgentOrderIssueRequest

func NewAlitripTripvpAgentOrderIssueRequest() *AlitripTripvpAgentOrderIssueAPIRequest

NewAlitripTripvpAgentOrderIssueRequest 初始化AlitripTripvpAgentOrderIssueAPIRequest对象

func (AlitripTripvpAgentOrderIssueAPIRequest) GetAgentId added in v1.2.0

GetAgentId AgentId Getter

func (AlitripTripvpAgentOrderIssueAPIRequest) GetApiMethodName added in v1.2.0

func (r AlitripTripvpAgentOrderIssueAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripTripvpAgentOrderIssueAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripTripvpAgentOrderIssueAPIRequest) GetIssueProOrderVo added in v1.2.0

GetIssueProOrderVo IssueProOrderVo Getter

func (*AlitripTripvpAgentOrderIssueAPIRequest) SetAgentId added in v1.2.0

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

SetAgentId is AgentId Setter 代理商ID

func (*AlitripTripvpAgentOrderIssueAPIRequest) SetIssueProOrderVo added in v1.2.0

func (r *AlitripTripvpAgentOrderIssueAPIRequest) SetIssueProOrderVo(_issueProOrderVo *IssueProOrderVo) error

SetIssueProOrderVo is IssueProOrderVo Setter 出货通知信息

type AlitripTripvpAgentOrderIssueAPIResponse

type AlitripTripvpAgentOrderIssueAPIResponse struct {
	model.CommonResponse
	AlitripTripvpAgentOrderIssueAPIResponseModel
}

AlitripTripvpAgentOrderIssueAPIResponse 廉航辅营正向订单出货接口 API返回值 alitrip.tripvp.agent.order.issue

廉航辅营正向订单出货接口

type AlitripTripvpAgentOrderIssueAPIResponseModel added in v1.2.0

type AlitripTripvpAgentOrderIssueAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_tripvp_agent_order_issue_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlitripTripvpAgentOrderIssueAPIResponseModel is 廉航辅营正向订单出货接口 成功返回结果

type AuxProductItemApiBean

type AuxProductItemApiBean struct {
	// 产品名称。 最大允许64个字符,不允许*·#|等特殊符号,也不允许带空格换行等符号
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// 外部ID,此辅营报价的唯一标识,后续用于校验生单;只允许数字字母组合,最大允许32个字符。 不允许包含空格、换行、|这类特殊符号
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 行李说明,当productType=4为必传
	Baggage *BaggageApiBean `json:"baggage,omitempty" xml:"baggage,omitempty"`
	// 柜台价,用于划价显示。 仅允许100的倍数。 币种:人民币。单位:分。
	CounterPrice int64 `json:"counter_price,omitempty" xml:"counter_price,omitempty"`
	// 销售类型 1:一次销售,2:二次销售,3:不限 一次销售是指辅营产品和机票同时购买; 二次销售是指买完机票后,再单独购买辅营
	SaleType int64 `json:"sale_type,omitempty" xml:"sale_type,omitempty"`
	// 辅营产品服务说明,仅当productType=1或productType=2为必传
	Service *ServiceApiBean `json:"service,omitempty" xml:"service,omitempty"`
	// 在线价,是对旅客展示的销售价格。 仅允许100的倍数。 币种:人民币。单位:分。
	OnlinePrice int64 `json:"online_price,omitempty" xml:"online_price,omitempty"`
	// 辅营产品销售规则
	SalesRule *SalesRuleApiBean `json:"sales_rule,omitempty" xml:"sales_rule,omitempty"`
	// 辅营产品退改规则
	RefundRule *AuxRefundApiBean `json:"refund_rule,omitempty" xml:"refund_rule,omitempty"`
	// 成本价。仅允许100的倍数。 币种:人民币。单位:分。
	BasePrice int64 `json:"base_price,omitempty" xml:"base_price,omitempty"`
	// 产品类型 1:贵宾厅,2:CIP,3:在线选座,4:付费行李,6:值机,7:餐食, 8:值机及选座 当前仅允许投放:4,6,7,8
	ProductType int64 `json:"product_type,omitempty" xml:"product_type,omitempty"`
	// 选座说明,当productType=3或8 为必传
	Seat *SeatApiBean `json:"seat,omitempty" xml:"seat,omitempty"`
}

AuxProductItemApiBean 结构体

type AuxProductVo

type AuxProductVo struct {
	// 外部outerId
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 辅营产品名称
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// 结构化的行李说明
	BaggageVo *BaggageVo `json:"baggage_vo,omitempty" xml:"baggage_vo,omitempty"`
	// 基准价
	BasePrice int64 `json:"base_price,omitempty" xml:"base_price,omitempty"`
	// 柜台价
	CounterPrice int64 `json:"counter_price,omitempty" xml:"counter_price,omitempty"`
	// 销售价格
	OnlinePrice int64 `json:"online_price,omitempty" xml:"online_price,omitempty"`
	// deprecated, 不建议使用
	ProductType int64 `json:"product_type,omitempty" xml:"product_type,omitempty"`
	// 销售类型 1:一次销售,2:二次销售,3:不限
	SaleType int64 `json:"sale_type,omitempty" xml:"sale_type,omitempty"`
	// 选座规格信息
	SeatVo *SeatVo `json:"seat_vo,omitempty" xml:"seat_vo,omitempty"`
	// 产品类型 4:付费行李,6:值机,7:餐食, 8:值机及选座
	UnityProductType int64 `json:"unity_product_type,omitempty" xml:"unity_product_type,omitempty"`
}

AuxProductVo 结构体

type AuxRefundApiBean

type AuxRefundApiBean struct {
	// 改规则。 最多允许200个字符。 禁止空格等特殊符号。
	ModifyRule string `json:"modify_rule,omitempty" xml:"modify_rule,omitempty"`
	// 退规则。 最多允许200个字符。 禁止空格等特殊符号。
	RefundRule string `json:"refund_rule,omitempty" xml:"refund_rule,omitempty"`
	// 是否可单独退 true可以,false不可以 当canRefund =true时此节点必传
	CanRefundIndependent bool `json:"can_refund_independent,omitempty" xml:"can_refund_independent,omitempty"`
	// 是否可改 true可以,false不可以 当refundRule=true时此节点必传
	CanModify bool `json:"can_modify,omitempty" xml:"can_modify,omitempty"`
	// 是否可单独改 true可以,false不可以
	CanModifyIndependent bool `json:"can_modify_independent,omitempty" xml:"can_modify_independent,omitempty"`
	// 是否可退 true 可以,false不可以
	CanRefund bool `json:"can_refund,omitempty" xml:"can_refund,omitempty"`
}

AuxRefundApiBean 结构体

type BaggageApiBean

type BaggageApiBean struct {
	// 单件行李高度限制,单位厘米
	Height int64 `json:"height,omitempty" xml:"height,omitempty"`
	// 行李重量,当allWeight为是的时候行李重量描述所有件数的总重量
	Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"`
	// 单件行李宽度限制,单位厘米
	Width int64 `json:"width,omitempty" xml:"width,omitempty"`
	// 行李总件数,大于等于1的正整数
	Pc int64 `json:"pc,omitempty" xml:"pc,omitempty"`
	// 单件行李长度限制,单位厘米
	Length int64 `json:"length,omitempty" xml:"length,omitempty"`
	// 是否所有行李重量
	IsAllWeight bool `json:"is_all_weight,omitempty" xml:"is_all_weight,omitempty"`
}

BaggageApiBean 结构体

type BaggageVo

type BaggageVo struct {
	// 行李数量
	Pc int64 `json:"pc,omitempty" xml:"pc,omitempty"`
	// 行李重量,单位KG
	Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"`
	// 是否为全部重量
	IsAllWeight bool `json:"is_all_weight,omitempty" xml:"is_all_weight,omitempty"`
}

BaggageVo 结构体

type BeforeChangeSegments

type BeforeChangeSegments struct {
	// 舱等
	CabinClass string `json:"cabin_class,omitempty" xml:"cabin_class,omitempty"`
	// 航班号
	FlightNo string `json:"flight_no,omitempty" xml:"flight_no,omitempty"`
	// 起飞时间
	DepTime string `json:"dep_time,omitempty" xml:"dep_time,omitempty"`
	// 到达城市
	ArrCity string `json:"arr_city,omitempty" xml:"arr_city,omitempty"`
	// 起飞城市
	DepCity string `json:"dep_city,omitempty" xml:"dep_city,omitempty"`
	// 舱位
	Cabin string `json:"cabin,omitempty" xml:"cabin,omitempty"`
	// 到达机场
	ArrAirport string `json:"arr_airport,omitempty" xml:"arr_airport,omitempty"`
	// 起飞机场
	DepAirport string `json:"dep_airport,omitempty" xml:"dep_airport,omitempty"`
	// 到达时间
	ArrTime string `json:"arr_time,omitempty" xml:"arr_time,omitempty"`
	// 航段序号
	SegmentIndex int64 `json:"segment_index,omitempty" xml:"segment_index,omitempty"`
	// 航程序号
	OdIndex int64 `json:"od_index,omitempty" xml:"od_index,omitempty"`
}

BeforeChangeSegments 结构体

type BookFlightVo

type BookFlightVo struct {
	// 到达机场三字码
	ArrAirport string `json:"arr_airport,omitempty" xml:"arr_airport,omitempty"`
	// 出发机场三字码
	DepAirport string `json:"dep_airport,omitempty" xml:"dep_airport,omitempty"`
	// 出发时间
	DepTime string `json:"dep_time,omitempty" xml:"dep_time,omitempty"`
	// 仓位
	FlightCabin string `json:"flight_cabin,omitempty" xml:"flight_cabin,omitempty"`
	// 航班号
	FlightNumber string `json:"flight_number,omitempty" xml:"flight_number,omitempty"`
}

BookFlightVo 结构体

type ChangeList

type ChangeList struct {
	// 票号
	Tickets []string `json:"tickets,omitempty" xml:"tickets>string,omitempty"`
	// 改签前数据
	BeforeChangeSegments []BeforeChangeSegments `json:"before_change_segments,omitempty" xml:"before_change_segments>before_change_segments,omitempty"`
	// 改签后数据
	AfterChangeSegments []AfterChangeSegments `json:"after_change_segments,omitempty" xml:"after_change_segments>after_change_segments,omitempty"`
	// 改签前票号
	BeforeChangeTickets []string `json:"before_change_tickets,omitempty" xml:"before_change_tickets>string,omitempty"`
	// 证件号
	CertNo string `json:"cert_no,omitempty" xml:"cert_no,omitempty"`
	// 乘客姓名
	PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"`
	// 改签后pnr
	Pnr string `json:"pnr,omitempty" xml:"pnr,omitempty"`
	// 证件类型
	CertType int64 `json:"cert_type,omitempty" xml:"cert_type,omitempty"`
	// 乘客类型
	PassengerType int64 `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"`
	// 优惠
	Promotion int64 `json:"promotion,omitempty" xml:"promotion,omitempty"`
	// 票面价
	TicketPrice int64 `json:"ticket_price,omitempty" xml:"ticket_price,omitempty"`
	// 改签费
	ChangeFee int64 `json:"change_fee,omitempty" xml:"change_fee,omitempty"`
	// 升舱费
	UpgradeFee int64 `json:"upgrade_fee,omitempty" xml:"upgrade_fee,omitempty"`
}

ChangeList 结构体

type DelAuxProductRq

type DelAuxProductRq struct {
	// 外部ID列表,外部ID是辅营报价的唯一标识,后续用于校验生单;只允许数字字母组合,最大允许32个字符。 不允许包含空格、换行、|这类特殊符号
	OuterIds []string `json:"outer_ids,omitempty" xml:"outer_ids>string,omitempty"`
	// 接口身份标识用户名(渠道唯一标识)。校验请求商家身份,channelId非空,则cid必须与之匹配。 当channelId与外部id都为空,表明删除此店铺全部渠道全部辅营产品
	Cid string `json:"cid,omitempty" xml:"cid,omitempty"`
	// 渠道id.校验请求商家身份,channelId非空,则cid必须与之匹配。 当channelId与外部id都为空,表明删除此店铺全部渠道全部辅营产品
	ChannelId int64 `json:"channel_id,omitempty" xml:"channel_id,omitempty"`
	// 代理商ID
	AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"`
}

DelAuxProductRq 结构体

type DelAuxProductsRs

type DelAuxProductsRs struct {
	// 操作日志id,商家可通过该id在后台查看本次操作的具体结果
	TracerId string `json:"tracer_id,omitempty" xml:"tracer_id,omitempty"`
	// 备注
	ApiErrorMsg string `json:"api_error_msg,omitempty" xml:"api_error_msg,omitempty"`
	// 是否操作成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

DelAuxProductsRs 结构体

type FlightChangeDataDo added in v1.2.0

type FlightChangeDataDo struct {
	// 原到达机场三字代码, 字符长度3
	OldArrAirport string `json:"old_arr_airport,omitempty" xml:"old_arr_airport,omitempty"`
	// 原航变日期 ,格式:yyyy-MM-dd
	OldDepTimeStr string `json:"old_dep_time_str,omitempty" xml:"old_dep_time_str,omitempty"`
	// 原航班号(如果是二次航变,该参数为第一航变后最新的航班号。eg:第一航变 航班号从CA123变更到CA456,那第二次航变的原航班应该为CA456)
	OldFltNum string `json:"old_flt_num,omitempty" xml:"old_flt_num,omitempty"`
	// 航班最新计划起飞时间,仅当flightChangeType=2,该参数必填;录入格式:yyyy-MM-dd HH: mm
	NewDepTimeStr string `json:"new_dep_time_str,omitempty" xml:"new_dep_time_str,omitempty"`
	// 航班最新出发机场三字码, 字符长度3;仅当flightChangeType=2,该参数必填
	NewDepAirport string `json:"new_dep_airport,omitempty" xml:"new_dep_airport,omitempty"`
	// 原出发机场三字代码, 字符长度3
	OldDepAirport string `json:"old_dep_airport,omitempty" xml:"old_dep_airport,omitempty"`
	// 变更到的最新航班号,仅当flightChangeType=2,该参数必填
	NewFltNum string `json:"new_flt_num,omitempty" xml:"new_flt_num,omitempty"`
	// 最新到达时间
	NewArrTimeStr string `json:"new_arr_time_str,omitempty" xml:"new_arr_time_str,omitempty"`
	// 航班最新到达机场三字码, 字符长度3;仅当flightChangeType=2,该参数必填
	NewArrAirport string `json:"new_arr_airport,omitempty" xml:"new_arr_airport,omitempty"`
	// 航变类型,1:航班取消 2:航班变更
	FlightChangeType int64 `json:"flight_change_type,omitempty" xml:"flight_change_type,omitempty"`
	// 业务类型,0:国内机票 1:国际机票
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 飞猪机票订单号,如果输入了该参数,平台只会给该指定订单发送航变,如果不输入该参数,则会处理代理商的所有订单;正常的延误航变该参数一般不需要,如果是航班保护,大部分情况该参数应该都是必填的,因为航班保护基本每个订单保护的新航班可能都不一样。
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

FlightChangeDataDo 结构体

type FlightChangeDataQueryOption

type FlightChangeDataQueryOption struct {
	// 航变信息产生时间截至,格式yyyy-MM-dd
	EndFlightChangeTimeStr string `json:"end_flight_change_time_str,omitempty" xml:"end_flight_change_time_str,omitempty"`
	// 原到达机场三字代码
	OldArrAirport string `json:"old_arr_airport,omitempty" xml:"old_arr_airport,omitempty"`
	// 原航变旅行日期开始,格式yyyy-MM-dd
	BeginOldDepTimeStr string `json:"begin_old_dep_time_str,omitempty" xml:"begin_old_dep_time_str,omitempty"`
	// 原航变旅行日期截至,格式yyyy-MM-dd
	EndOldDepTimeStr string `json:"end_old_dep_time_str,omitempty" xml:"end_old_dep_time_str,omitempty"`
	// 原出发机场三字代码
	OldDepAirport string `json:"old_dep_airport,omitempty" xml:"old_dep_airport,omitempty"`
	// 航变信息产生时间开始,格式yyyy-MM-dd
	BeginFlightChangeTimeStr string `json:"begin_flight_change_time_str,omitempty" xml:"begin_flight_change_time_str,omitempty"`
	// 原航班号
	OldFltNum string `json:"old_flt_num,omitempty" xml:"old_flt_num,omitempty"`
	// 是否只查已确认的航变,1:是 2:否
	IsConfirmed int64 `json:"is_confirmed,omitempty" xml:"is_confirmed,omitempty"`
	// 是否只查自己订单航变,1:是 2:否
	IsGetSelfOnly int64 `json:"is_get_self_only,omitempty" xml:"is_get_self_only,omitempty"`
	// 排序,1:航变时间降序(默认) 2:航变时间升序 3:离港时间降序 4:离港时间升序
	Qsort int64 `json:"qsort,omitempty" xml:"qsort,omitempty"`
	// 第几页
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
}

FlightChangeDataQueryOption 结构体

type IssueList

type IssueList struct {
	// 票号
	Tickets []string `json:"tickets,omitempty" xml:"tickets>string,omitempty"`
	// 税项对象
	Taxes []Taxes `json:"taxes,omitempty" xml:"taxes>taxes,omitempty"`
	// 航段
	Segments []Segments `json:"segments,omitempty" xml:"segments>segments,omitempty"`
	// 证件信息
	CertNo string `json:"cert_no,omitempty" xml:"cert_no,omitempty"`
	// 乘机人姓名
	PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"`
	// pnr
	Pnr string `json:"pnr,omitempty" xml:"pnr,omitempty"`
	// 联系电话
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 证件类型
	CertType int64 `json:"cert_type,omitempty" xml:"cert_type,omitempty"`
	// 乘客类型
	PassengerType int64 `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"`
	// 票面价
	TicketPrice int64 `json:"ticket_price,omitempty" xml:"ticket_price,omitempty"`
	// 优惠价格
	Promotion int64 `json:"promotion,omitempty" xml:"promotion,omitempty"`
}

IssueList 结构体

type IssueProOrderVo

type IssueProOrderVo struct {
	// 辅营出票号,不可为空,字符长度不超过32位
	ExtraNo string `json:"extra_no,omitempty" xml:"extra_no,omitempty"`
	// 辅营订单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

IssueProOrderVo 结构体

type ModifyApproveRequestDto

type ModifyApproveRequestDto struct {
	// 改签数据
	ChangeList []ModifyItemDto `json:"change_list,omitempty" xml:"change_list>modify_item_dto,omitempty"`
	// 改签申请单号
	ApplyId string `json:"apply_id,omitempty" xml:"apply_id,omitempty"`
	// 国内国际标识
	DomesticIntl int64 `json:"domestic_intl,omitempty" xml:"domestic_intl,omitempty"`
}

ModifyApproveRequestDto 结构体

type ModifyBackFillRequestDto

type ModifyBackFillRequestDto struct {
	// 改签数据
	ChangeList []ModifyItemDto `json:"change_list,omitempty" xml:"change_list>modify_item_dto,omitempty"`
	// 申请单号
	ApplyId string `json:"apply_id,omitempty" xml:"apply_id,omitempty"`
	// 币种
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 国际国内标识
	DomesticIntl int64 `json:"domestic_intl,omitempty" xml:"domestic_intl,omitempty"`
}

ModifyBackFillRequestDto 结构体

type ModifyBeforeSegmentDto added in v1.2.0

type ModifyBeforeSegmentDto struct {
	// 到达城市
	ArrCity string `json:"arr_city,omitempty" xml:"arr_city,omitempty"`
	// 起飞城市
	DepCity string `json:"dep_city,omitempty" xml:"dep_city,omitempty"`
}

ModifyBeforeSegmentDto 结构体

type ModifyDetailDto

type ModifyDetailDto struct {
	// 改签数据
	ChangeList []ChangeList `json:"change_list,omitempty" xml:"change_list>change_list,omitempty"`
	// 订单标签
	Tags []string `json:"tags,omitempty" xml:"tags>string,omitempty"`
	// 申请单号
	ApplyId string `json:"apply_id,omitempty" xml:"apply_id,omitempty"`
	// 申请原因
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
	// 关联飞猪订单号
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// sla
	Sla string `json:"sla,omitempty" xml:"sla,omitempty"`
	// 币种
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 申请时间
	ApplyTime string `json:"apply_time,omitempty" xml:"apply_time,omitempty"`
	// 拒绝原因
	RefuseReason string `json:"refuse_reason,omitempty" xml:"refuse_reason,omitempty"`
	// 国际国内标识
	DomesticIntl int64 `json:"domestic_intl,omitempty" xml:"domestic_intl,omitempty"`
	// 改签单状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 佣金
	Commission int64 `json:"commission,omitempty" xml:"commission,omitempty"`
	// 是否自愿
	Voluntary int64 `json:"voluntary,omitempty" xml:"voluntary,omitempty"`
}

ModifyDetailDto 结构体

type ModifyItemDto added in v1.2.0

type ModifyItemDto struct {
	// 票号
	Tickets []string `json:"tickets,omitempty" xml:"tickets>string,omitempty"`
	// 改签后航段
	AfterChangeSegments []ModifySegmentDto `json:"after_change_segments,omitempty" xml:"after_change_segments>modify_segment_dto,omitempty"`
	// 改前航段
	BeforeChangeSegments []ModifyBeforeSegmentDto `json:"before_change_segments,omitempty" xml:"before_change_segments>modify_before_segment_dto,omitempty"`
	// 票号
	TicketNos []string `json:"ticket_nos,omitempty" xml:"ticket_nos>string,omitempty"`
	// 乘客姓名
	PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"`
	// pnr
	Pnr string `json:"pnr,omitempty" xml:"pnr,omitempty"`
	// 改签费用
	ModifyFee int64 `json:"modify_fee,omitempty" xml:"modify_fee,omitempty"`
	// 升舱费用
	UpgradeFee int64 `json:"upgrade_fee,omitempty" xml:"upgrade_fee,omitempty"`
}

ModifyItemDto 结构体

type ModifyListRequestDto

type ModifyListRequestDto struct {
	// 店铺id
	AgentIds []int64 `json:"agent_ids,omitempty" xml:"agent_ids>int64,omitempty"`
	// 申请结束时间
	EndApplyTime string `json:"end_apply_time,omitempty" xml:"end_apply_time,omitempty"`
	// 申请开始时间
	BeginApplyTime string `json:"begin_apply_time,omitempty" xml:"begin_apply_time,omitempty"`
	// 页码
	Page int64 `json:"page,omitempty" xml:"page,omitempty"`
	// 改签单状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

ModifyListRequestDto 结构体

type ModifySegmentDto added in v1.2.0

type ModifySegmentDto struct {
	// 舱等
	CabinClass string `json:"cabin_class,omitempty" xml:"cabin_class,omitempty"`
	// 航班号
	FlightNo string `json:"flight_no,omitempty" xml:"flight_no,omitempty"`
	// 起飞时间
	DepTime string `json:"dep_time,omitempty" xml:"dep_time,omitempty"`
	// 到达城市
	ArrCity string `json:"arr_city,omitempty" xml:"arr_city,omitempty"`
	// 起飞城市
	DepCity string `json:"dep_city,omitempty" xml:"dep_city,omitempty"`
	// 舱位
	Cabin string `json:"cabin,omitempty" xml:"cabin,omitempty"`
	// 到达机场
	ArrAirport string `json:"arr_airport,omitempty" xml:"arr_airport,omitempty"`
	// 起飞机场
	DepAirport string `json:"dep_airport,omitempty" xml:"dep_airport,omitempty"`
	// 到达时间
	ArrTime string `json:"arr_time,omitempty" xml:"arr_time,omitempty"`
	// 航段序号
	SegmentIndex int64 `json:"segment_index,omitempty" xml:"segment_index,omitempty"`
	// 航程序号
	OdIndex int64 `json:"od_index,omitempty" xml:"od_index,omitempty"`
}

ModifySegmentDto 结构体

type PageDto

type PageDto struct {
	// 结果集
	DataList []AlitripAgentFlightSellModifyListT `json:"data_list,omitempty" xml:"data_list>alitrip_agent_flight_sell_modify_list_t,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 123
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 成功标识
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

PageDto 结构体

type PassengerAuxVo

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

PassengerAuxVo 结构体

type PushAuxProductsRq

type PushAuxProductsRq struct {
	// 廉航辅营产品
	ProductItems []AuxProductItemApiBean `json:"product_items,omitempty" xml:"product_items>aux_product_item_api_bean,omitempty"`
	// 接口身份标识用户名(渠道唯一标识)
	Cid string `json:"cid,omitempty" xml:"cid,omitempty"`
	// 渠道id
	ChannelId int64 `json:"channel_id,omitempty" xml:"channel_id,omitempty"`
	// 代理商ID
	AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"`
}

PushAuxProductsRq 结构体

type RefundApproveRequestDto

type RefundApproveRequestDto struct {
	// 退票数据
	RefundList []RefundList `json:"refund_list,omitempty" xml:"refund_list>refund_list,omitempty"`
	// 申请单号
	ApplyId string `json:"apply_id,omitempty" xml:"apply_id,omitempty"`
	// 交易币种
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 国内国际标识
	DomesticIntl int64 `json:"domestic_intl,omitempty" xml:"domestic_intl,omitempty"`
}

RefundApproveRequestDto 结构体

type RefundDetailDto

type RefundDetailDto struct {
	// 退票数据集
	RefundList []RefundList `json:"refund_list,omitempty" xml:"refund_list>refund_list,omitempty"`
	// 紧急标识
	Tags []string `json:"tags,omitempty" xml:"tags>string,omitempty"`
	// 申请单号
	ApplyId string `json:"apply_id,omitempty" xml:"apply_id,omitempty"`
	// 申请原因
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
	// 关联飞猪订单号
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// sla
	Sla string `json:"sla,omitempty" xml:"sla,omitempty"`
	// 交易币种
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 申请时间
	ApplyTime string `json:"apply_time,omitempty" xml:"apply_time,omitempty"`
	// 拒绝原因
	RefuseReason string `json:"refuse_reason,omitempty" xml:"refuse_reason,omitempty"`
	// 申请原因类型
	ApplyReasonType int64 `json:"apply_reason_type,omitempty" xml:"apply_reason_type,omitempty"`
	// 店铺id
	AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"`
	// 国际国内标识
	DomesticIntl int64 `json:"domestic_intl,omitempty" xml:"domestic_intl,omitempty"`
	// 退票状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 自愿标识
	Voluntary int64 `json:"voluntary,omitempty" xml:"voluntary,omitempty"`
	// 补退单标识(1是补退单)
	Supplement int64 `json:"supplement,omitempty" xml:"supplement,omitempty"`
}

RefundDetailDto 结构体

type RefundList

type RefundList struct {
	// 票号
	Tickets []string `json:"tickets,omitempty" xml:"tickets>string,omitempty"`
	// 退票航段
	RefundSegments []RefundSegments `json:"refund_segments,omitempty" xml:"refund_segments>refund_segments,omitempty"`
	// 税费
	Taxes []Tax `json:"taxes,omitempty" xml:"taxes>tax,omitempty"`
	// 乘客信息
	PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"`
	// 退票费
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 升舱退票费
	RefundUpgradeFee int64 `json:"refund_upgrade_fee,omitempty" xml:"refund_upgrade_fee,omitempty"`
	// 改期退票费
	RefundModifyFee int64 `json:"refund_modify_fee,omitempty" xml:"refund_modify_fee,omitempty"`
	// 乘客类型
	PassengerType int64 `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"`
	// 退票总额
	RefundAmount int64 `json:"refund_amount,omitempty" xml:"refund_amount,omitempty"`
	// 票面价
	TicketPrice int64 `json:"ticket_price,omitempty" xml:"ticket_price,omitempty"`
}

RefundList 结构体

type RefundListRequestDto

type RefundListRequestDto struct {
	// 店铺id集合
	AgentIds []int64 `json:"agent_ids,omitempty" xml:"agent_ids>int64,omitempty"`
	// 退票申请起始时间
	EndApplyTime string `json:"end_apply_time,omitempty" xml:"end_apply_time,omitempty"`
	// 退票申请结束时间
	BeginApplyTime string `json:"begin_apply_time,omitempty" xml:"begin_apply_time,omitempty"`
	// 页码
	Page int64 `json:"page,omitempty" xml:"page,omitempty"`
	// 退票单状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

RefundListRequestDto 结构体

type RefundOrderFillConfirmFeeRq

type RefundOrderFillConfirmFeeRq struct {
	// 回填费用参数列表
	FeeParams []RefundPassengerFeeParam `json:"fee_params,omitempty" xml:"fee_params>refund_passenger_fee_param,omitempty"`
	// 代理商ID
	AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"`
	// 申请单ID
	RefundOrderId int64 `json:"refund_order_id,omitempty" xml:"refund_order_id,omitempty"`
	// 商家退款金额(单位:分),用于审计金额正确性
	TotalSellerRefundMoney int64 `json:"total_seller_refund_money,omitempty" xml:"total_seller_refund_money,omitempty"`
}

RefundOrderFillConfirmFeeRq 结构体

type RefundOrderFillConfirmFeeRs

type RefundOrderFillConfirmFeeRs struct {
	// 错误秒速
	ApiErrorMsg string `json:"api_error_msg,omitempty" xml:"api_error_msg,omitempty"`
	// errTrace
	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"`
	// 是否失败
	Failure bool `json:"failure,omitempty" xml:"failure,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

RefundOrderFillConfirmFeeRs 结构体

type RefundPassengerFeeParam

type RefundPassengerFeeParam struct {
	// 乘机人姓名
	PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"`
	// 机票已使用部分总价(单位:分)
	AlreadyUsedTotalPirce int64 `json:"already_used_total_pirce,omitempty" xml:"already_used_total_pirce,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"`
	// 机票不可退改签服务费(单位:分)
	NonRefundableTotalChangeServiceFee int64 `json:"non_refundable_total_change_service_fee,omitempty" xml:"non_refundable_total_change_service_fee,omitempty"`
	// 机票不可退改签升舱费(单位:分)
	NonRefundableTotalChangeUpgradeFee int64 `json:"non_refundable_total_change_upgrade_fee,omitempty" xml:"non_refundable_total_change_upgrade_fee,omitempty"`
}

RefundPassengerFeeParam 结构体

type RefundSegments

type RefundSegments struct {
	// 舱等
	CabinClass string `json:"cabin_class,omitempty" xml:"cabin_class,omitempty"`
	// 航班号
	FlightNo string `json:"flight_no,omitempty" xml:"flight_no,omitempty"`
	// 起飞时间
	DepTime string `json:"dep_time,omitempty" xml:"dep_time,omitempty"`
	// 到达城市
	ArrCity string `json:"arr_city,omitempty" xml:"arr_city,omitempty"`
	// 起飞城市
	DepCity string `json:"dep_city,omitempty" xml:"dep_city,omitempty"`
	// 舱位
	Cabin string `json:"cabin,omitempty" xml:"cabin,omitempty"`
	// 到达机场
	ArrAirport string `json:"arr_airport,omitempty" xml:"arr_airport,omitempty"`
	// 起飞机场
	DepAirport string `json:"dep_airport,omitempty" xml:"dep_airport,omitempty"`
	// 到达时间
	ArrTime string `json:"arr_time,omitempty" xml:"arr_time,omitempty"`
	// 航段序号
	SegmentIndex int64 `json:"segment_index,omitempty" xml:"segment_index,omitempty"`
	// 航程序号
	OdIndex int64 `json:"od_index,omitempty" xml:"od_index,omitempty"`
}

RefundSegments 结构体

type SalesRuleApiBean

type SalesRuleApiBean struct {
	// 适用舱位(可以多个,支持子舱,用“/”隔开);
	Cabin string `json:"cabin,omitempty" xml:"cabin,omitempty"`
	// 例外航线(可以多个,机场码) PEKPVG/DMKYVR ods和exceptOds二选一填写。 适用和例外二选一填写。 最多允许510个字符。
	ExceptOds string `json:"except_ods,omitempty" xml:"except_ods,omitempty"`
	// 旅行开始日期(yyyyMMdd)
	TravelDateStart string `json:"travel_date_start,omitempty" xml:"travel_date_start,omitempty"`
	// 旅行结束日期(yyyyMMdd),最大值当前+365且不能小于开始
	TravelDateEnd string `json:"travel_date_end,omitempty" xml:"travel_date_end,omitempty"`
	// 例外机场,如果为多个机场,按照PEK/NAY 格式返回 airports和exceptAirports二选一填写。 最多允许511个字符。
	ExceptAirports string `json:"except_airports,omitempty" xml:"except_airports,omitempty"`
	// 销售结束日期(yyyyMMdd),最大值当前+365且不能小于开始
	SaleDateEnd string `json:"sale_date_end,omitempty" xml:"sale_date_end,omitempty"`
	// 例外航班(可以多个,用“/”隔开); 适用和例外二选一填写。 最多允许512个字符。
	ExceptFlightNos string `json:"except_flight_nos,omitempty" xml:"except_flight_nos,omitempty"`
	// 适用航线(可以多个,机场码) PEKPVG/DMKYVR ods和exceptOds二选一填写。 适用和例外二选一填写。 最多允许510个字符。
	Ods string `json:"ods,omitempty" xml:"ods,omitempty"`
	// 适用航司二字码
	AirlineCodes string `json:"airline_codes,omitempty" xml:"airline_codes,omitempty"`
	// 例外舱位(可以多个,支持子舱,用“/”隔开);
	ExceptCabin string `json:"except_cabin,omitempty" xml:"except_cabin,omitempty"`
	// 适用机场,如果为多个机场,按照PEK/NAY 格式返回 airports和exceptAirports二选一填写。 最多允许511个字符。
	Airports string `json:"airports,omitempty" xml:"airports,omitempty"`
	// 销售开始日期(yyyyMMdd)
	SaleDateStart string `json:"sale_date_start,omitempty" xml:"sale_date_start,omitempty"`
	// 例外航司二字码,如果为多个航司,按照 AK/FD格式返回。 最多允许254个字符。
	ExceptAirlineCodes string `json:"except_airline_codes,omitempty" xml:"except_airline_codes,omitempty"`
	// 适用航班(可以多个,用“/”隔开); 适用和例外二选一填写。 最多允许512个字符。
	FlightNos string `json:"flight_nos,omitempty" xml:"flight_nos,omitempty"`
	// 适用出发航站楼(可以多个,用“/”隔开)。 最多允许10个字符。
	OutboundTerminal string `json:"outbound_terminal,omitempty" xml:"outbound_terminal,omitempty"`
	// 库存规则,当stockType=1或stockType=2时必填。
	StockRule string `json:"stock_rule,omitempty" xml:"stock_rule,omitempty"`
	// 例外舱位等级,单选 0:头等,1:商务,2:经济,3:全部 适用和例外二选一填写
	ExceptCabinClass int64 `json:"except_cabin_class,omitempty" xml:"except_cabin_class,omitempty"`
	// 最晚购买时间,航班起飞前n小时 (计划起飞时间-当前时间)>=n小时
	LatestBuyTime int64 `json:"latest_buy_time,omitempty" xml:"latest_buy_time,omitempty"`
	// 最早购买时间,航班起飞前n小时 (计划起飞时间-当前时间)<=n小时 如无限制,请填写9000
	EarlistBuyTime int64 `json:"earlist_buy_time,omitempty" xml:"earlist_buy_time,omitempty"`
	// 适用舱位等级,单选 0:头等,1:商务,2:经济,3:全部 适用和例外二选一填写
	CabinClass int64 `json:"cabin_class,omitempty" xml:"cabin_class,omitempty"`
	// 发票类型 1:电子,2:纸质,3:不提供
	ReceiptType int64 `json:"receipt_type,omitempty" xml:"receipt_type,omitempty"`
	// 库存数,当stockType=1或stockType=2时必填
	StockNum int64 `json:"stock_num,omitempty" xml:"stock_num,omitempty"`
	// 库存类型 1:共享总库存数,2:每日库存数(旅行日期下每天),3:不限制(不使用产品库库存)
	StockType int64 `json:"stock_type,omitempty" xml:"stock_type,omitempty"`
	// 发票领取规则 1:行程单,2:机场柜台 默认为1.当receiptType=1或receiptType=2时,receiptWay必须指定
	ReceiptWay int64 `json:"receipt_way,omitempty" xml:"receipt_way,omitempty"`
	// 共享航班是否可用 1:不能用于共享航班,2:可用
	CodeShareForbidden bool `json:"code_share_forbidden,omitempty" xml:"code_share_forbidden,omitempty"`
}

SalesRuleApiBean 结构体

type SeatApiBean

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

SeatApiBean 结构体

type SeatVo

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

SeatVo 结构体

type Segments

type Segments struct {
	// 舱等
	CabinClass string `json:"cabin_class,omitempty" xml:"cabin_class,omitempty"`
	// 航班号
	FlightNo string `json:"flight_no,omitempty" xml:"flight_no,omitempty"`
	// 起飞时间
	DepTime string `json:"dep_time,omitempty" xml:"dep_time,omitempty"`
	// 到达城市
	ArrCity string `json:"arr_city,omitempty" xml:"arr_city,omitempty"`
	// 出发城市
	DepCity string `json:"dep_city,omitempty" xml:"dep_city,omitempty"`
	// 舱位
	Cabin string `json:"cabin,omitempty" xml:"cabin,omitempty"`
	// 到达机场
	ArrAirport string `json:"arr_airport,omitempty" xml:"arr_airport,omitempty"`
	// 出发机场
	DepAirport string `json:"dep_airport,omitempty" xml:"dep_airport,omitempty"`
	// 到达时间
	ArrTime string `json:"arr_time,omitempty" xml:"arr_time,omitempty"`
	// 航段序号
	SegmentIndex int64 `json:"segment_index,omitempty" xml:"segment_index,omitempty"`
	// 航程序号
	OdIndex int64 `json:"od_index,omitempty" xml:"od_index,omitempty"`
}

Segments 结构体

type ServiceApiBean

type ServiceApiBean struct {
	// 服务内容。 最多允许200个字符。 禁止空格等特殊符号。
	ServiceContent string `json:"service_content,omitempty" xml:"service_content,omitempty"`
	// 服务说明。 最多允许100个字符。 禁止空格等特殊符号。
	RoomTip string `json:"room_tip,omitempty" xml:"room_tip,omitempty"`
	// 服务地点。 最多允许100个字符。 禁止空格等特殊符号。
	Room string `json:"room,omitempty" xml:"room,omitempty"`
	// 服务时间结束 HHmm,serviceTimeType为2时必填
	ServiceTimeEnd string `json:"service_time_end,omitempty" xml:"service_time_end,omitempty"`
	// 服务时间开始 HHmm,serviceTimeType为2时必填
	ServiceTimeStart string `json:"service_time_start,omitempty" xml:"service_time_start,omitempty"`
	// 服务时间 1:不限制时间 2:按具体服务时间
	ServiceTimeType int64 `json:"service_time_type,omitempty" xml:"service_time_type,omitempty"`
}

ServiceApiBean 结构体

type ShoppingPushRq

type ShoppingPushRq struct {
	// cid
	Cid string `json:"cid,omitempty" xml:"cid,omitempty"`
	// 出发地 IATA 三字码代码; 如果为多程,最多三程六段,按照 PEK/HKG,HKG/SHA 格式请求
	FromCity string `json:"from_city,omitempty" xml:"from_city,omitempty"`
	// 目的地城市 、到达城市IATA 三字码代码 ;多程为空
	ToCity string `json:"to_city,omitempty" xml:"to_city,omitempty"`
	// 去程日期,格式为 YYYYMMDD ;如果为多程,20180729,20180804方式传输数据
	FromDate string `json:"from_date,omitempty" xml:"from_date,omitempty"`
	// 回程日期,格式为 YYYYMMDD(不传此参数或者留空表示单程/多程)
	RetDate string `json:"ret_date,omitempty" xml:"ret_date,omitempty"`
	// 政策详情,同大卖家API搜索结果返回的json字符串格式;
	SearchRs string `json:"search_rs,omitempty" xml:"search_rs,omitempty"`
	// 渠道id
	ChannelId int64 `json:"channel_id,omitempty" xml:"channel_id,omitempty"`
	// 行程类型,1:单程;2:往返;5:  多程
	TripType int64 `json:"trip_type,omitempty" xml:"trip_type,omitempty"`
}

ShoppingPushRq 结构体

type ShoppingPushRs

type ShoppingPushRs struct {
	// errRoutingMsg
	ErrRoutingMsgList []string `json:"err_routing_msg_list,omitempty" xml:"err_routing_msg_list>string,omitempty"`
	// errCode
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ShoppingPushRs 结构体

type TaobaoAlitripFlightchangeAddAPIRequest added in v1.2.0

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

TaobaoAlitripFlightchangeAddAPIRequest 航变信息录入接口 API请求 taobao.alitrip.flightchange.add

代理商调用航变录入接口,

简要描述:完成航变信息的自动录入后飞猪机票平台会发生的动作是匹配所有该代理人的订单,如果接口参数指定了飞猪机票订单号,发生的动作是匹配该代理人的指定订单;

找到与航变航班相关的订单给旅客下发航变短信并出发IVR自动外呼旅客。

func NewTaobaoAlitripFlightchangeAddRequest

func NewTaobaoAlitripFlightchangeAddRequest() *TaobaoAlitripFlightchangeAddAPIRequest

NewTaobaoAlitripFlightchangeAddRequest 初始化TaobaoAlitripFlightchangeAddAPIRequest对象

func (TaobaoAlitripFlightchangeAddAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoAlitripFlightchangeAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripFlightchangeAddAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripFlightchangeAddAPIRequest) GetFlightChangeDataDo added in v1.2.0

GetFlightChangeDataDo FlightChangeDataDo Getter

func (*TaobaoAlitripFlightchangeAddAPIRequest) SetFlightChangeDataDo added in v1.2.0

func (r *TaobaoAlitripFlightchangeAddAPIRequest) SetFlightChangeDataDo(_flightChangeDataDo *FlightChangeDataDo) error

SetFlightChangeDataDo is FlightChangeDataDo Setter 录入参数类

type TaobaoAlitripFlightchangeAddAPIResponse

type TaobaoAlitripFlightchangeAddAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripFlightchangeAddAPIResponseModel
}

TaobaoAlitripFlightchangeAddAPIResponse 航变信息录入接口 API返回值 taobao.alitrip.flightchange.add

代理商调用航变录入接口,

简要描述:完成航变信息的自动录入后飞猪机票平台会发生的动作是匹配所有该代理人的订单,如果接口参数指定了飞猪机票订单号,发生的动作是匹配该代理人的指定订单;

找到与航变航班相关的订单给旅客下发航变短信并出发IVR自动外呼旅客。

type TaobaoAlitripFlightchangeAddAPIResponseModel added in v1.2.0

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

TaobaoAlitripFlightchangeAddAPIResponseModel is 航变信息录入接口 成功返回结果

type TaobaoAlitripFlightchangeAddResultDo

type TaobaoAlitripFlightchangeAddResultDo struct {
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripFlightchangeAddResultDo 结构体

type TaobaoAlitripFlightchangeGetAPIRequest added in v1.2.0

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

TaobaoAlitripFlightchangeGetAPIRequest 获取航变信息 API请求 taobao.alitrip.flightchange.get

查询航变是为了两个目的,阿里旅行抓取到未确认航变的航变信息源时可以由代理确认航变,同时对于确认航变的航变信息也共享给代理人做本体业务使用。

func NewTaobaoAlitripFlightchangeGetRequest

func NewTaobaoAlitripFlightchangeGetRequest() *TaobaoAlitripFlightchangeGetAPIRequest

NewTaobaoAlitripFlightchangeGetRequest 初始化TaobaoAlitripFlightchangeGetAPIRequest对象

func (TaobaoAlitripFlightchangeGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoAlitripFlightchangeGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripFlightchangeGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripFlightchangeGetAPIRequest) GetSearchOption added in v1.2.0

GetSearchOption SearchOption Getter

func (*TaobaoAlitripFlightchangeGetAPIRequest) SetSearchOption added in v1.2.0

SetSearchOption is SearchOption Setter 查询信息封装

type TaobaoAlitripFlightchangeGetAPIResponse

type TaobaoAlitripFlightchangeGetAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripFlightchangeGetAPIResponseModel
}

TaobaoAlitripFlightchangeGetAPIResponse 获取航变信息 API返回值 taobao.alitrip.flightchange.get

查询航变是为了两个目的,阿里旅行抓取到未确认航变的航变信息源时可以由代理确认航变,同时对于确认航变的航变信息也共享给代理人做本体业务使用。

type TaobaoAlitripFlightchangeGetAPIResponseModel added in v1.2.0

type TaobaoAlitripFlightchangeGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_flightchange_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	ResultDO *TaobaoAlitripFlightchangeGetResultDo `json:"result_d_o,omitempty" xml:"result_d_o,omitempty"`
}

TaobaoAlitripFlightchangeGetAPIResponseModel is 获取航变信息 成功返回结果

type TaobaoAlitripFlightchangeGetResultDo

type TaobaoAlitripFlightchangeGetResultDo struct {
	// results
	Results []string `json:"results,omitempty" xml:"results>string,omitempty"`
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// errCode
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripFlightchangeGetResultDo 结构体

type TaobaoAlitripIeAgentRefundNewFillconfirmfeeAPIRequest added in v1.2.0

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

TaobaoAlitripIeAgentRefundNewFillconfirmfeeAPIRequest 新模型-回填申请单费用 API请求 taobao.alitrip.ie.agent.refund.new.fillconfirmfee

1. 回填退票费用

func NewTaobaoAlitripIeAgentRefundNewFillconfirmfeeRequest

func NewTaobaoAlitripIeAgentRefundNewFillconfirmfeeRequest() *TaobaoAlitripIeAgentRefundNewFillconfirmfeeAPIRequest

NewTaobaoAlitripIeAgentRefundNewFillconfirmfeeRequest 初始化TaobaoAlitripIeAgentRefundNewFillconfirmfeeAPIRequest对象

func (TaobaoAlitripIeAgentRefundNewFillconfirmfeeAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripIeAgentRefundNewFillconfirmfeeAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripIeAgentRefundNewFillconfirmfeeAPIRequest) GetParamRefundOrderFillConfirmFeeRq added in v1.2.0

GetParamRefundOrderFillConfirmFeeRq ParamRefundOrderFillConfirmFeeRq Getter

func (*TaobaoAlitripIeAgentRefundNewFillconfirmfeeAPIRequest) SetParamRefundOrderFillConfirmFeeRq added in v1.2.0

func (r *TaobaoAlitripIeAgentRefundNewFillconfirmfeeAPIRequest) SetParamRefundOrderFillConfirmFeeRq(_paramRefundOrderFillConfirmFeeRq *RefundOrderFillConfirmFeeRq) error

SetParamRefundOrderFillConfirmFeeRq is ParamRefundOrderFillConfirmFeeRq Setter 请求

type TaobaoAlitripIeAgentRefundNewFillconfirmfeeAPIResponse

type TaobaoAlitripIeAgentRefundNewFillconfirmfeeAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripIeAgentRefundNewFillconfirmfeeAPIResponseModel
}

TaobaoAlitripIeAgentRefundNewFillconfirmfeeAPIResponse 新模型-回填申请单费用 API返回值 taobao.alitrip.ie.agent.refund.new.fillconfirmfee

1. 回填退票费用

type TaobaoAlitripIeAgentRefundNewFillconfirmfeeAPIResponseModel added in v1.2.0

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

TaobaoAlitripIeAgentRefundNewFillconfirmfeeAPIResponseModel is 新模型-回填申请单费用 成功返回结果

type TaobaoAlitripIeAgentShoppingPushAPIRequest added in v1.2.0

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

TaobaoAlitripIeAgentShoppingPushAPIRequest 国际机票大卖家Shopping推送 API请求 taobao.alitrip.ie.agent.shopping.push

用于国际机票大卖家主动推送Shopping结果更新缓存报价。

func NewTaobaoAlitripIeAgentShoppingPushRequest

func NewTaobaoAlitripIeAgentShoppingPushRequest() *TaobaoAlitripIeAgentShoppingPushAPIRequest

NewTaobaoAlitripIeAgentShoppingPushRequest 初始化TaobaoAlitripIeAgentShoppingPushAPIRequest对象

func (TaobaoAlitripIeAgentShoppingPushAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripIeAgentShoppingPushAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripIeAgentShoppingPushAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (*TaobaoAlitripIeAgentShoppingPushAPIRequest) SetParam0 added in v1.2.0

SetParam0 is Param0 Setter 政策推送结构体

type TaobaoAlitripIeAgentShoppingPushAPIResponse

type TaobaoAlitripIeAgentShoppingPushAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripIeAgentShoppingPushAPIResponseModel
}

TaobaoAlitripIeAgentShoppingPushAPIResponse 国际机票大卖家Shopping推送 API返回值 taobao.alitrip.ie.agent.shopping.push

用于国际机票大卖家主动推送Shopping结果更新缓存报价。

type TaobaoAlitripIeAgentShoppingPushAPIResponseModel added in v1.2.0

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

TaobaoAlitripIeAgentShoppingPushAPIResponseModel is 国际机票大卖家Shopping推送 成功返回结果

type TaobaoAlitripTotoroAuxproductDeleteAPIRequest added in v1.2.0

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

TaobaoAlitripTotoroAuxproductDeleteAPIRequest 廉航辅营产品删除 API请求 taobao.alitrip.totoro.auxproduct.delete

廉航辅营产品删除接口

func NewTaobaoAlitripTotoroAuxproductDeleteRequest

func NewTaobaoAlitripTotoroAuxproductDeleteRequest() *TaobaoAlitripTotoroAuxproductDeleteAPIRequest

NewTaobaoAlitripTotoroAuxproductDeleteRequest 初始化TaobaoAlitripTotoroAuxproductDeleteAPIRequest对象

func (TaobaoAlitripTotoroAuxproductDeleteAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripTotoroAuxproductDeleteAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripTotoroAuxproductDeleteAPIRequest) GetDelAuxProductRq added in v1.2.0

GetDelAuxProductRq DelAuxProductRq Getter

func (*TaobaoAlitripTotoroAuxproductDeleteAPIRequest) SetDelAuxProductRq added in v1.2.0

func (r *TaobaoAlitripTotoroAuxproductDeleteAPIRequest) SetDelAuxProductRq(_delAuxProductRq *DelAuxProductRq) error

SetDelAuxProductRq is DelAuxProductRq Setter 廉航辅营产品删除请求

type TaobaoAlitripTotoroAuxproductDeleteAPIResponse

type TaobaoAlitripTotoroAuxproductDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripTotoroAuxproductDeleteAPIResponseModel
}

TaobaoAlitripTotoroAuxproductDeleteAPIResponse 廉航辅营产品删除 API返回值 taobao.alitrip.totoro.auxproduct.delete

廉航辅营产品删除接口

type TaobaoAlitripTotoroAuxproductDeleteAPIResponseModel added in v1.2.0

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

TaobaoAlitripTotoroAuxproductDeleteAPIResponseModel is 廉航辅营产品删除 成功返回结果

type TaobaoAlitripTotoroAuxproductPushAPIRequest added in v1.2.0

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

TaobaoAlitripTotoroAuxproductPushAPIRequest 廉航辅营产品投放 API请求 taobao.alitrip.totoro.auxproduct.push

廉航辅营产品投放接口

func NewTaobaoAlitripTotoroAuxproductPushRequest

func NewTaobaoAlitripTotoroAuxproductPushRequest() *TaobaoAlitripTotoroAuxproductPushAPIRequest

NewTaobaoAlitripTotoroAuxproductPushRequest 初始化TaobaoAlitripTotoroAuxproductPushAPIRequest对象

func (TaobaoAlitripTotoroAuxproductPushAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripTotoroAuxproductPushAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripTotoroAuxproductPushAPIRequest) GetPushAuxProductsRq added in v1.2.0

GetPushAuxProductsRq PushAuxProductsRq Getter

func (*TaobaoAlitripTotoroAuxproductPushAPIRequest) SetPushAuxProductsRq added in v1.2.0

func (r *TaobaoAlitripTotoroAuxproductPushAPIRequest) SetPushAuxProductsRq(_pushAuxProductsRq *PushAuxProductsRq) error

SetPushAuxProductsRq is PushAuxProductsRq Setter 廉航辅营产品推送请求

type TaobaoAlitripTotoroAuxproductPushAPIResponse

type TaobaoAlitripTotoroAuxproductPushAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripTotoroAuxproductPushAPIResponseModel
}

TaobaoAlitripTotoroAuxproductPushAPIResponse 廉航辅营产品投放 API返回值 taobao.alitrip.totoro.auxproduct.push

廉航辅营产品投放接口

type TaobaoAlitripTotoroAuxproductPushAPIResponseModel added in v1.2.0

type TaobaoAlitripTotoroAuxproductPushAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_totoro_auxproduct_push_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 操作日志id,商家可通过该id在后台查看本次操作的具体结果
	TracerId string `json:"tracer_id,omitempty" xml:"tracer_id,omitempty"`
	// 备注
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 是否操作成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoAlitripTotoroAuxproductPushAPIResponseModel is 廉航辅营产品投放 成功返回结果

type Tax

type Tax struct {
	// 税费编码
	TaxCode string `json:"tax_code,omitempty" xml:"tax_code,omitempty"`
	// 税费金额
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 不可退税费
	NotRefundAmount int64 `json:"not_refund_amount,omitempty" xml:"not_refund_amount,omitempty"`
}

Tax 结构体

type Taxes

type Taxes struct {
	// 税项二字码
	TaxCode string `json:"tax_code,omitempty" xml:"tax_code,omitempty"`
	// 税值
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
}

Taxes 结构体

type TicketingIssueRequestDto

type TicketingIssueRequestDto struct {
	// 出票信息
	IssueList []TicketingPsgItemDto `json:"issue_list,omitempty" xml:"issue_list>ticketing_psg_item_dto,omitempty"`
	// 飞猪订单号
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 国内国际标识
	DomesticIntl int64 `json:"domestic_intl,omitempty" xml:"domestic_intl,omitempty"`
}

TicketingIssueRequestDto 结构体

type TicketingListRequestDto

type TicketingListRequestDto struct {
	// 店铺id
	AgentIds []int64 `json:"agent_ids,omitempty" xml:"agent_ids>int64,omitempty"`
	// 支付起始时间
	BeginPayTime string `json:"begin_pay_time,omitempty" xml:"begin_pay_time,omitempty"`
	// 支付结束时间
	EndPayTime string `json:"end_pay_time,omitempty" xml:"end_pay_time,omitempty"`
	// 页码
	Page int64 `json:"page,omitempty" xml:"page,omitempty"`
	// 状态码
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

TicketingListRequestDto 结构体

type TicketingPsgItemDto

type TicketingPsgItemDto struct {
	// 票号
	Tickets []string `json:"tickets,omitempty" xml:"tickets>string,omitempty"`
	// 航段
	Segments []Segments `json:"segments,omitempty" xml:"segments>segments,omitempty"`
	// 乘客姓名
	PassengerName string `json:"passenger_name,omitempty" xml:"passenger_name,omitempty"`
	// pnr
	Pnr string `json:"pnr,omitempty" xml:"pnr,omitempty"`
}

TicketingPsgItemDto 结构体

type VirProOrderVo

type VirProOrderVo struct {
	// 乘机人购买辅营产品详情
	PassengerAuxVos []PassengerAuxVo `json:"passenger_aux_vos,omitempty" xml:"passenger_aux_vos>passenger_aux_vo,omitempty"`
	// 预订时间,辅营订单创建时间
	BookTime string `json:"book_time,omitempty" xml:"book_time,omitempty"`
	// 支付宝流水号,存在多个辅营订单对应一个支付宝流水号的情况
	PayNo string `json:"pay_no,omitempty" xml:"pay_no,omitempty"`
	// 支付时间,订单为支付成功或出货成功时返回
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 机票订单号
	FlightOrderId int64 `json:"flight_order_id,omitempty" xml:"flight_order_id,omitempty"`
	// 辅营订单金额
	PayPrice int64 `json:"pay_price,omitempty" xml:"pay_price,omitempty"`
	// 辅营订单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 辅营订单状态,1-	待支付 2-	支付成功 3-	辅营出货成功 4-	订单取消
	OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"`
}

VirProOrderVo 结构体

Source Files

Jump to

Keyboard shortcuts

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