Documentation ¶
Overview ¶
Package flightuppc 包含飞猪机票前台类目相关结构体
Index ¶
- type AlitripFlightBasicDataCityQueryAllAPIRequest
- type AlitripFlightBasicDataCityQueryAllAPIResponse
- type AlitripFlightBasicDataCityQueryAllAPIResponseModel
- type AlitripFlightBasicDataCityQueryAllData
- type AlitripFlightFlightchangeOrderQueryAPIRequest
- func (r AlitripFlightFlightchangeOrderQueryAPIRequest) GetApiMethodName() string
- func (r AlitripFlightFlightchangeOrderQueryAPIRequest) GetApiParams(params url.Values)
- func (r AlitripFlightFlightchangeOrderQueryAPIRequest) GetQueryFlightChangeOrderReq() *QueryFlightChangeOrderReq
- func (r AlitripFlightFlightchangeOrderQueryAPIRequest) GetRawParams() model.Params
- func (r *AlitripFlightFlightchangeOrderQueryAPIRequest) SetQueryFlightChangeOrderReq(_queryFlightChangeOrderReq *QueryFlightChangeOrderReq) error
- type AlitripFlightFlightchangeOrderQueryAPIResponse
- type AlitripFlightFlightchangeOrderQueryAPIResponseModel
- type AlitripFlightInsuranceOrderApplyAPIRequest
- func (r AlitripFlightInsuranceOrderApplyAPIRequest) GetApiMethodName() string
- func (r AlitripFlightInsuranceOrderApplyAPIRequest) GetApiParams(params url.Values)
- func (r AlitripFlightInsuranceOrderApplyAPIRequest) GetInsApplyReq() *InsApplyReq
- func (r AlitripFlightInsuranceOrderApplyAPIRequest) GetRawParams() model.Params
- func (r *AlitripFlightInsuranceOrderApplyAPIRequest) SetInsApplyReq(_insApplyReq *InsApplyReq) error
- type AlitripFlightInsuranceOrderApplyAPIResponse
- type AlitripFlightInsuranceOrderApplyAPIResponseModel
- type AlitripFlightInsuranceOrderModifyAPIRequest
- func (r AlitripFlightInsuranceOrderModifyAPIRequest) GetApiMethodName() string
- func (r AlitripFlightInsuranceOrderModifyAPIRequest) GetApiParams(params url.Values)
- func (r AlitripFlightInsuranceOrderModifyAPIRequest) GetInsReverseOrderReq() *InsReverseOrderReq
- func (r AlitripFlightInsuranceOrderModifyAPIRequest) GetRawParams() model.Params
- func (r *AlitripFlightInsuranceOrderModifyAPIRequest) SetInsReverseOrderReq(_insReverseOrderReq *InsReverseOrderReq) error
- type AlitripFlightInsuranceOrderModifyAPIResponse
- type AlitripFlightInsuranceOrderModifyAPIResponseModel
- type AlitripFlightInsuranceOrderRefundAPIRequest
- func (r AlitripFlightInsuranceOrderRefundAPIRequest) GetApiMethodName() string
- func (r AlitripFlightInsuranceOrderRefundAPIRequest) GetApiParams(params url.Values)
- func (r AlitripFlightInsuranceOrderRefundAPIRequest) GetInsRefundOrderReq() *InsReverseOrderReq
- func (r AlitripFlightInsuranceOrderRefundAPIRequest) GetRawParams() model.Params
- func (r *AlitripFlightInsuranceOrderRefundAPIRequest) SetInsRefundOrderReq(_insRefundOrderReq *InsReverseOrderReq) error
- type AlitripFlightInsuranceOrderRefundAPIResponse
- type AlitripFlightInsuranceOrderRefundAPIResponseModel
- type AlitripFlightInsuranceOrderSearchAPIRequest
- func (r AlitripFlightInsuranceOrderSearchAPIRequest) GetApiMethodName() string
- func (r AlitripFlightInsuranceOrderSearchAPIRequest) GetApiParams(params url.Values)
- func (r AlitripFlightInsuranceOrderSearchAPIRequest) GetOutOrderId() int64
- func (r AlitripFlightInsuranceOrderSearchAPIRequest) GetRawParams() model.Params
- func (r *AlitripFlightInsuranceOrderSearchAPIRequest) SetOutOrderId(_outOrderId int64) error
- type AlitripFlightInsuranceOrderSearchAPIResponse
- type AlitripFlightInsuranceOrderSearchAPIResponseModel
- type AlitripFlightInsuranceProductSearchAPIRequest
- func (r AlitripFlightInsuranceProductSearchAPIRequest) GetApiMethodName() string
- func (r AlitripFlightInsuranceProductSearchAPIRequest) GetApiParams(params url.Values)
- func (r AlitripFlightInsuranceProductSearchAPIRequest) GetInsurancePremiumId() int64
- func (r AlitripFlightInsuranceProductSearchAPIRequest) GetRawParams() model.Params
- func (r *AlitripFlightInsuranceProductSearchAPIRequest) SetInsurancePremiumId(_insurancePremiumId int64) error
- type AlitripFlightInsuranceProductSearchAPIResponse
- type AlitripFlightInsuranceProductSearchAPIResponseModel
- type AlitripUppcMemberGainAPIRequest
- func (r AlitripUppcMemberGainAPIRequest) GetApiMethodName() string
- func (r AlitripUppcMemberGainAPIRequest) GetApiParams(params url.Values)
- func (r AlitripUppcMemberGainAPIRequest) GetErrorMsg() string
- func (r AlitripUppcMemberGainAPIRequest) GetRawParams() model.Params
- func (r AlitripUppcMemberGainAPIRequest) GetRequestId() string
- func (r AlitripUppcMemberGainAPIRequest) GetResponseJson() string
- func (r AlitripUppcMemberGainAPIRequest) GetStatusCode() int64
- func (r *AlitripUppcMemberGainAPIRequest) SetErrorMsg(_errorMsg string) error
- func (r *AlitripUppcMemberGainAPIRequest) SetRequestId(_requestId string) error
- func (r *AlitripUppcMemberGainAPIRequest) SetResponseJson(_responseJson string) error
- func (r *AlitripUppcMemberGainAPIRequest) SetStatusCode(_statusCode int64) error
- type AlitripUppcMemberGainAPIResponse
- type AlitripUppcMemberGainAPIResponseModel
- type BaseResult
- type FlightChangeDto
- type FlightChangeOrderDto
- type InsApplyReq
- type InsOrderAirTicketSegmentDto
- type InsOrderOpenDetailDto
- type InsOrderOpenDto
- type InsOrderOpenPersonDto
- type InsOrderOpenSegmentDto
- type InsPersonAndAirSegmentDto
- type InsPersonDto
- type InsPersonParam
- type InsProductBaseParam
- type InsProductDto
- type InsProductResult
- type InsReverseOrderReq
- type QueryFlightChangeOrderReq
- type ResultDo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlitripFlightBasicDataCityQueryAllAPIRequest ¶ added in v1.2.0
AlitripFlightBasicDataCityQueryAllAPIRequest 机票基础数据城市数据查询 API请求 alitrip.flight.basic.data.city.queryAll
机票基础数据城市数据查询top接口
func NewAlitripFlightBasicDataCityQueryAllRequest ¶
func NewAlitripFlightBasicDataCityQueryAllRequest() *AlitripFlightBasicDataCityQueryAllAPIRequest
NewAlitripFlightBasicDataCityQueryAllRequest 初始化AlitripFlightBasicDataCityQueryAllAPIRequest对象
func (AlitripFlightBasicDataCityQueryAllAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripFlightBasicDataCityQueryAllAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripFlightBasicDataCityQueryAllAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripFlightBasicDataCityQueryAllAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripFlightBasicDataCityQueryAllAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripFlightBasicDataCityQueryAllAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
type AlitripFlightBasicDataCityQueryAllAPIResponse ¶
type AlitripFlightBasicDataCityQueryAllAPIResponse struct { model.CommonResponse AlitripFlightBasicDataCityQueryAllAPIResponseModel }
AlitripFlightBasicDataCityQueryAllAPIResponse 机票基础数据城市数据查询 API返回值 alitrip.flight.basic.data.city.queryAll
机票基础数据城市数据查询top接口
type AlitripFlightBasicDataCityQueryAllAPIResponseModel ¶ added in v1.2.0
type AlitripFlightBasicDataCityQueryAllAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_flight_basic_data_city_queryAll_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回包装类 Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"` }
AlitripFlightBasicDataCityQueryAllAPIResponseModel is 机票基础数据城市数据查询 成功返回结果
type AlitripFlightBasicDataCityQueryAllData ¶
type AlitripFlightBasicDataCityQueryAllData struct { // 航空大区 AirZone string `json:"air_zone,omitempty" xml:"air_zone,omitempty"` // 城市对应国家 CountryName string `json:"country_name,omitempty" xml:"country_name,omitempty"` // 城市简拼 CityJp string `json:"city_jp,omitempty" xml:"city_jp,omitempty"` // 夏日时区区间 TimeZoneSummerPeriod string `json:"time_zone_summer_period,omitempty" xml:"time_zone_summer_period,omitempty"` // 夏日时区 TimeZoneSummer string `json:"time_zone_summer,omitempty" xml:"time_zone_summer,omitempty"` // 标准时区 TimeZoneStandard string `json:"time_zone_standard,omitempty" xml:"time_zone_standard,omitempty"` // 大洲 Continent string `json:"continent,omitempty" xml:"continent,omitempty"` // 省/州名称 ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"` // 国家二字码 CountryCode string `json:"country_code,omitempty" xml:"country_code,omitempty"` // 省/州二字码 ProvinceCode string `json:"province_code,omitempty" xml:"province_code,omitempty"` // 首字母 CityCapital string `json:"city_capital,omitempty" xml:"city_capital,omitempty"` // 英文名称 EnglishName string `json:"english_name,omitempty" xml:"english_name,omitempty"` // 城市全拼 CityPy string `json:"city_py,omitempty" xml:"city_py,omitempty"` // 城市名称 CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"` // 城市三字码 CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"` // 次区代码 IataCode string `json:"iata_code,omitempty" xml:"iata_code,omitempty"` // 次区 SecdZone string `json:"secd_zone,omitempty" xml:"secd_zone,omitempty"` // OAG来源的夏令时 OagSummerPeriod string `json:"oag_summer_period,omitempty" xml:"oag_summer_period,omitempty"` // 小次区 MiniIataCode string `json:"mini_iata_code,omitempty" xml:"mini_iata_code,omitempty"` // 搜索热度 SearchHeat int64 `json:"search_heat,omitempty" xml:"search_heat,omitempty"` NavigableStatus int64 `json:"navigable_status,omitempty" xml:"navigable_status,omitempty"` }
AlitripFlightBasicDataCityQueryAllData 结构体
type AlitripFlightFlightchangeOrderQueryAPIRequest ¶ added in v1.2.8
type AlitripFlightFlightchangeOrderQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripFlightFlightchangeOrderQueryAPIRequest 订单维度航变查询 API请求 alitrip.flight.flightchange.order.query
订单维度航变查询
func NewAlitripFlightFlightchangeOrderQueryRequest ¶ added in v1.2.8
func NewAlitripFlightFlightchangeOrderQueryRequest() *AlitripFlightFlightchangeOrderQueryAPIRequest
NewAlitripFlightFlightchangeOrderQueryRequest 初始化AlitripFlightFlightchangeOrderQueryAPIRequest对象
func (AlitripFlightFlightchangeOrderQueryAPIRequest) GetApiMethodName ¶ added in v1.2.8
func (r AlitripFlightFlightchangeOrderQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripFlightFlightchangeOrderQueryAPIRequest) GetApiParams ¶ added in v1.2.8
func (r AlitripFlightFlightchangeOrderQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripFlightFlightchangeOrderQueryAPIRequest) GetQueryFlightChangeOrderReq ¶ added in v1.2.8
func (r AlitripFlightFlightchangeOrderQueryAPIRequest) GetQueryFlightChangeOrderReq() *QueryFlightChangeOrderReq
GetQueryFlightChangeOrderReq QueryFlightChangeOrderReq Getter
func (AlitripFlightFlightchangeOrderQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripFlightFlightchangeOrderQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripFlightFlightchangeOrderQueryAPIRequest) SetQueryFlightChangeOrderReq ¶ added in v1.2.8
func (r *AlitripFlightFlightchangeOrderQueryAPIRequest) SetQueryFlightChangeOrderReq(_queryFlightChangeOrderReq *QueryFlightChangeOrderReq) error
SetQueryFlightChangeOrderReq is QueryFlightChangeOrderReq Setter 航变信息查询请求体
type AlitripFlightFlightchangeOrderQueryAPIResponse ¶ added in v1.2.8
type AlitripFlightFlightchangeOrderQueryAPIResponse struct { model.CommonResponse AlitripFlightFlightchangeOrderQueryAPIResponseModel }
AlitripFlightFlightchangeOrderQueryAPIResponse 订单维度航变查询 API返回值 alitrip.flight.flightchange.order.query
订单维度航变查询
type AlitripFlightFlightchangeOrderQueryAPIResponseModel ¶ added in v1.2.8
type AlitripFlightFlightchangeOrderQueryAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_flight_flightchange_order_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 航变信息查询结果 Result []FlightChangeOrderDto `json:"result,omitempty" xml:"result>flight_change_order_dto,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 调用成功标志 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
AlitripFlightFlightchangeOrderQueryAPIResponseModel is 订单维度航变查询 成功返回结果
type AlitripFlightInsuranceOrderApplyAPIRequest ¶ added in v1.2.8
type AlitripFlightInsuranceOrderApplyAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripFlightInsuranceOrderApplyAPIRequest 多险种批量投保 API请求 alitrip.flight.insurance.order.apply
多险种批量投保
func NewAlitripFlightInsuranceOrderApplyRequest ¶ added in v1.2.8
func NewAlitripFlightInsuranceOrderApplyRequest() *AlitripFlightInsuranceOrderApplyAPIRequest
NewAlitripFlightInsuranceOrderApplyRequest 初始化AlitripFlightInsuranceOrderApplyAPIRequest对象
func (AlitripFlightInsuranceOrderApplyAPIRequest) GetApiMethodName ¶ added in v1.2.8
func (r AlitripFlightInsuranceOrderApplyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripFlightInsuranceOrderApplyAPIRequest) GetApiParams ¶ added in v1.2.8
func (r AlitripFlightInsuranceOrderApplyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripFlightInsuranceOrderApplyAPIRequest) GetInsApplyReq ¶ added in v1.2.8
func (r AlitripFlightInsuranceOrderApplyAPIRequest) GetInsApplyReq() *InsApplyReq
GetInsApplyReq InsApplyReq Getter
func (AlitripFlightInsuranceOrderApplyAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripFlightInsuranceOrderApplyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripFlightInsuranceOrderApplyAPIRequest) SetInsApplyReq ¶ added in v1.2.8
func (r *AlitripFlightInsuranceOrderApplyAPIRequest) SetInsApplyReq(_insApplyReq *InsApplyReq) error
SetInsApplyReq is InsApplyReq Setter 请求体
type AlitripFlightInsuranceOrderApplyAPIResponse ¶ added in v1.2.8
type AlitripFlightInsuranceOrderApplyAPIResponse struct { model.CommonResponse AlitripFlightInsuranceOrderApplyAPIResponseModel }
AlitripFlightInsuranceOrderApplyAPIResponse 多险种批量投保 API返回值 alitrip.flight.insurance.order.apply
多险种批量投保
type AlitripFlightInsuranceOrderApplyAPIResponseModel ¶ added in v1.2.8
type AlitripFlightInsuranceOrderApplyAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_flight_insurance_order_apply_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 响应体 InsProductResultList []InsProductResult `json:"ins_product_result_list,omitempty" xml:"ins_product_result_list>ins_product_result,omitempty"` // 错误信息,调用成功时该字段为空 ErrMsgForClient string `json:"err_msg_for_client,omitempty" xml:"err_msg_for_client,omitempty"` // 外部订单号 OutOrderId int64 `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
AlitripFlightInsuranceOrderApplyAPIResponseModel is 多险种批量投保 成功返回结果
type AlitripFlightInsuranceOrderModifyAPIRequest ¶ added in v1.2.8
type AlitripFlightInsuranceOrderModifyAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripFlightInsuranceOrderModifyAPIRequest 保险订单批改申请 API请求 alitrip.flight.insurance.order.modify
保险订单批改申请
func NewAlitripFlightInsuranceOrderModifyRequest ¶ added in v1.2.8
func NewAlitripFlightInsuranceOrderModifyRequest() *AlitripFlightInsuranceOrderModifyAPIRequest
NewAlitripFlightInsuranceOrderModifyRequest 初始化AlitripFlightInsuranceOrderModifyAPIRequest对象
func (AlitripFlightInsuranceOrderModifyAPIRequest) GetApiMethodName ¶ added in v1.2.8
func (r AlitripFlightInsuranceOrderModifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripFlightInsuranceOrderModifyAPIRequest) GetApiParams ¶ added in v1.2.8
func (r AlitripFlightInsuranceOrderModifyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripFlightInsuranceOrderModifyAPIRequest) GetInsReverseOrderReq ¶ added in v1.2.8
func (r AlitripFlightInsuranceOrderModifyAPIRequest) GetInsReverseOrderReq() *InsReverseOrderReq
GetInsReverseOrderReq InsReverseOrderReq Getter
func (AlitripFlightInsuranceOrderModifyAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripFlightInsuranceOrderModifyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripFlightInsuranceOrderModifyAPIRequest) SetInsReverseOrderReq ¶ added in v1.2.8
func (r *AlitripFlightInsuranceOrderModifyAPIRequest) SetInsReverseOrderReq(_insReverseOrderReq *InsReverseOrderReq) error
SetInsReverseOrderReq is InsReverseOrderReq Setter 请求体
type AlitripFlightInsuranceOrderModifyAPIResponse ¶ added in v1.2.8
type AlitripFlightInsuranceOrderModifyAPIResponse struct { model.CommonResponse AlitripFlightInsuranceOrderModifyAPIResponseModel }
AlitripFlightInsuranceOrderModifyAPIResponse 保险订单批改申请 API返回值 alitrip.flight.insurance.order.modify
保险订单批改申请
type AlitripFlightInsuranceOrderModifyAPIResponseModel ¶ added in v1.2.8
type AlitripFlightInsuranceOrderModifyAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_flight_insurance_order_modify_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误信息(调用成功时该字段为空) ErrMsgForClient string `json:"err_msg_for_client,omitempty" xml:"err_msg_for_client,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
AlitripFlightInsuranceOrderModifyAPIResponseModel is 保险订单批改申请 成功返回结果
type AlitripFlightInsuranceOrderRefundAPIRequest ¶ added in v1.2.8
type AlitripFlightInsuranceOrderRefundAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripFlightInsuranceOrderRefundAPIRequest 保险订单退保 API请求 alitrip.flight.insurance.order.refund
保险订单退保
func NewAlitripFlightInsuranceOrderRefundRequest ¶ added in v1.2.8
func NewAlitripFlightInsuranceOrderRefundRequest() *AlitripFlightInsuranceOrderRefundAPIRequest
NewAlitripFlightInsuranceOrderRefundRequest 初始化AlitripFlightInsuranceOrderRefundAPIRequest对象
func (AlitripFlightInsuranceOrderRefundAPIRequest) GetApiMethodName ¶ added in v1.2.8
func (r AlitripFlightInsuranceOrderRefundAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripFlightInsuranceOrderRefundAPIRequest) GetApiParams ¶ added in v1.2.8
func (r AlitripFlightInsuranceOrderRefundAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripFlightInsuranceOrderRefundAPIRequest) GetInsRefundOrderReq ¶ added in v1.2.8
func (r AlitripFlightInsuranceOrderRefundAPIRequest) GetInsRefundOrderReq() *InsReverseOrderReq
GetInsRefundOrderReq InsRefundOrderReq Getter
func (AlitripFlightInsuranceOrderRefundAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripFlightInsuranceOrderRefundAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripFlightInsuranceOrderRefundAPIRequest) SetInsRefundOrderReq ¶ added in v1.2.8
func (r *AlitripFlightInsuranceOrderRefundAPIRequest) SetInsRefundOrderReq(_insRefundOrderReq *InsReverseOrderReq) error
SetInsRefundOrderReq is InsRefundOrderReq Setter 请求体
type AlitripFlightInsuranceOrderRefundAPIResponse ¶ added in v1.2.8
type AlitripFlightInsuranceOrderRefundAPIResponse struct { model.CommonResponse AlitripFlightInsuranceOrderRefundAPIResponseModel }
AlitripFlightInsuranceOrderRefundAPIResponse 保险订单退保 API返回值 alitrip.flight.insurance.order.refund
保险订单退保
type AlitripFlightInsuranceOrderRefundAPIResponseModel ¶ added in v1.2.8
type AlitripFlightInsuranceOrderRefundAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_flight_insurance_order_refund_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误信息(调用成功时该字段为空) ErrMsgForClient string `json:"err_msg_for_client,omitempty" xml:"err_msg_for_client,omitempty"` // 保险订单号,,即tcOrderId TpOrderId int64 `json:"tp_order_id,omitempty" xml:"tp_order_id,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
AlitripFlightInsuranceOrderRefundAPIResponseModel is 保险订单退保 成功返回结果
type AlitripFlightInsuranceOrderSearchAPIRequest ¶ added in v1.2.8
type AlitripFlightInsuranceOrderSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripFlightInsuranceOrderSearchAPIRequest 查询保险订单详情 API请求 alitrip.flight.insurance.order.search
查询保险订单详情
func NewAlitripFlightInsuranceOrderSearchRequest ¶ added in v1.2.8
func NewAlitripFlightInsuranceOrderSearchRequest() *AlitripFlightInsuranceOrderSearchAPIRequest
NewAlitripFlightInsuranceOrderSearchRequest 初始化AlitripFlightInsuranceOrderSearchAPIRequest对象
func (AlitripFlightInsuranceOrderSearchAPIRequest) GetApiMethodName ¶ added in v1.2.8
func (r AlitripFlightInsuranceOrderSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripFlightInsuranceOrderSearchAPIRequest) GetApiParams ¶ added in v1.2.8
func (r AlitripFlightInsuranceOrderSearchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripFlightInsuranceOrderSearchAPIRequest) GetOutOrderId ¶ added in v1.2.8
func (r AlitripFlightInsuranceOrderSearchAPIRequest) GetOutOrderId() int64
GetOutOrderId OutOrderId Getter
func (AlitripFlightInsuranceOrderSearchAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripFlightInsuranceOrderSearchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripFlightInsuranceOrderSearchAPIRequest) SetOutOrderId ¶ added in v1.2.8
func (r *AlitripFlightInsuranceOrderSearchAPIRequest) SetOutOrderId(_outOrderId int64) error
SetOutOrderId is OutOrderId Setter 外部订单号
type AlitripFlightInsuranceOrderSearchAPIResponse ¶ added in v1.2.8
type AlitripFlightInsuranceOrderSearchAPIResponse struct { model.CommonResponse AlitripFlightInsuranceOrderSearchAPIResponseModel }
AlitripFlightInsuranceOrderSearchAPIResponse 查询保险订单详情 API返回值 alitrip.flight.insurance.order.search
查询保险订单详情
type AlitripFlightInsuranceOrderSearchAPIResponseModel ¶ added in v1.2.8
type AlitripFlightInsuranceOrderSearchAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_flight_insurance_order_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 保险订单 InsOrders []InsOrderOpenDto `json:"ins_orders,omitempty" xml:"ins_orders>ins_order_open_dto,omitempty"` // 错误信息,调用成功是该字段为空 ErrMsgForClient string `json:"err_msg_for_client,omitempty" xml:"err_msg_for_client,omitempty"` // 是否调用成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
AlitripFlightInsuranceOrderSearchAPIResponseModel is 查询保险订单详情 成功返回结果
type AlitripFlightInsuranceProductSearchAPIRequest ¶ added in v1.2.8
type AlitripFlightInsuranceProductSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripFlightInsuranceProductSearchAPIRequest 搜索保险产品 API请求 alitrip.flight.insurance.product.search
搜索保险产品
func NewAlitripFlightInsuranceProductSearchRequest ¶ added in v1.2.8
func NewAlitripFlightInsuranceProductSearchRequest() *AlitripFlightInsuranceProductSearchAPIRequest
NewAlitripFlightInsuranceProductSearchRequest 初始化AlitripFlightInsuranceProductSearchAPIRequest对象
func (AlitripFlightInsuranceProductSearchAPIRequest) GetApiMethodName ¶ added in v1.2.8
func (r AlitripFlightInsuranceProductSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripFlightInsuranceProductSearchAPIRequest) GetApiParams ¶ added in v1.2.8
func (r AlitripFlightInsuranceProductSearchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripFlightInsuranceProductSearchAPIRequest) GetInsurancePremiumId ¶ added in v1.2.8
func (r AlitripFlightInsuranceProductSearchAPIRequest) GetInsurancePremiumId() int64
GetInsurancePremiumId InsurancePremiumId Getter
func (AlitripFlightInsuranceProductSearchAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripFlightInsuranceProductSearchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripFlightInsuranceProductSearchAPIRequest) SetInsurancePremiumId ¶ added in v1.2.8
func (r *AlitripFlightInsuranceProductSearchAPIRequest) SetInsurancePremiumId(_insurancePremiumId int64) error
SetInsurancePremiumId is InsurancePremiumId Setter 保险产品id
type AlitripFlightInsuranceProductSearchAPIResponse ¶ added in v1.2.8
type AlitripFlightInsuranceProductSearchAPIResponse struct { model.CommonResponse AlitripFlightInsuranceProductSearchAPIResponseModel }
AlitripFlightInsuranceProductSearchAPIResponse 搜索保险产品 API返回值 alitrip.flight.insurance.product.search
搜索保险产品
type AlitripFlightInsuranceProductSearchAPIResponseModel ¶ added in v1.2.8
type AlitripFlightInsuranceProductSearchAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_flight_insurance_product_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 保险产品列表 InsProducts []InsProductDto `json:"ins_products,omitempty" xml:"ins_products>ins_product_dto,omitempty"` // 错误信息(调用成功时该字段为空) ErrMsgForClient string `json:"err_msg_for_client,omitempty" xml:"err_msg_for_client,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
AlitripFlightInsuranceProductSearchAPIResponseModel is 搜索保险产品 成功返回结果
type AlitripUppcMemberGainAPIRequest ¶ added in v1.2.0
type AlitripUppcMemberGainAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripUppcMemberGainAPIRequest 航司权益数据回流 API请求 alitrip.uppc.member.gain
航司权益数据回流
func NewAlitripUppcMemberGainRequest ¶
func NewAlitripUppcMemberGainRequest() *AlitripUppcMemberGainAPIRequest
NewAlitripUppcMemberGainRequest 初始化AlitripUppcMemberGainAPIRequest对象
func (AlitripUppcMemberGainAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripUppcMemberGainAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripUppcMemberGainAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripUppcMemberGainAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripUppcMemberGainAPIRequest) GetErrorMsg ¶ added in v1.2.0
func (r AlitripUppcMemberGainAPIRequest) GetErrorMsg() string
GetErrorMsg ErrorMsg Getter
func (AlitripUppcMemberGainAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripUppcMemberGainAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripUppcMemberGainAPIRequest) GetRequestId ¶ added in v1.2.0
func (r AlitripUppcMemberGainAPIRequest) GetRequestId() string
GetRequestId RequestId Getter
func (AlitripUppcMemberGainAPIRequest) GetResponseJson ¶ added in v1.2.0
func (r AlitripUppcMemberGainAPIRequest) GetResponseJson() string
GetResponseJson ResponseJson Getter
func (AlitripUppcMemberGainAPIRequest) GetStatusCode ¶ added in v1.2.0
func (r AlitripUppcMemberGainAPIRequest) GetStatusCode() int64
GetStatusCode StatusCode Getter
func (*AlitripUppcMemberGainAPIRequest) SetErrorMsg ¶ added in v1.2.0
func (r *AlitripUppcMemberGainAPIRequest) SetErrorMsg(_errorMsg string) error
SetErrorMsg is ErrorMsg Setter 错误提示
func (*AlitripUppcMemberGainAPIRequest) SetRequestId ¶ added in v1.2.0
func (r *AlitripUppcMemberGainAPIRequest) SetRequestId(_requestId string) error
SetRequestId is RequestId Setter 请求唯一标识
func (*AlitripUppcMemberGainAPIRequest) SetResponseJson ¶ added in v1.2.0
func (r *AlitripUppcMemberGainAPIRequest) SetResponseJson(_responseJson string) error
SetResponseJson is ResponseJson Setter 权益截止时间(扩展字段)
func (*AlitripUppcMemberGainAPIRequest) SetStatusCode ¶ added in v1.2.0
func (r *AlitripUppcMemberGainAPIRequest) SetStatusCode(_statusCode int64) error
SetStatusCode is StatusCode Setter 查询成功
type AlitripUppcMemberGainAPIResponse ¶
type AlitripUppcMemberGainAPIResponse struct { model.CommonResponse AlitripUppcMemberGainAPIResponseModel }
AlitripUppcMemberGainAPIResponse 航司权益数据回流 API返回值 alitrip.uppc.member.gain
航司权益数据回流
type AlitripUppcMemberGainAPIResponseModel ¶ added in v1.2.0
type AlitripUppcMemberGainAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_uppc_member_gain_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *ResultDo `json:"result,omitempty" xml:"result,omitempty"` }
AlitripUppcMemberGainAPIResponseModel is 航司权益数据回流 成功返回结果
type BaseResult ¶
type BaseResult struct { // 数据实体 DataList []AlitripFlightBasicDataCityQueryAllData `json:"data_list,omitempty" xml:"data_list>alitrip_flight_basic_data_city_query_all_data,omitempty"` // 错误信息 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 请求唯一标识 QueryId string `json:"query_id,omitempty" xml:"query_id,omitempty"` // 结果码 0成功 ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"` }
BaseResult 结构体
type FlightChangeDto ¶ added in v1.2.8
type FlightChangeDto struct { // 航班号 OldFlightNo string `json:"old_flight_no,omitempty" xml:"old_flight_no,omitempty"` // 原航班日期 OldFlightDate string `json:"old_flight_date,omitempty" xml:"old_flight_date,omitempty"` // 出发机场三字码 OldDepartCode string `json:"old_depart_code,omitempty" xml:"old_depart_code,omitempty"` // 到达机场三字码 OldArriveCode string `json:"old_arrive_code,omitempty" xml:"old_arrive_code,omitempty"` // 出发时间 OldDepartTime string `json:"old_depart_time,omitempty" xml:"old_depart_time,omitempty"` // 到达时间 OldArriveTime string `json:"old_arrive_time,omitempty" xml:"old_arrive_time,omitempty"` // 新航班号 NewFlightNo string `json:"new_flight_no,omitempty" xml:"new_flight_no,omitempty"` // 新航班日期 NewFlightDate string `json:"new_flight_date,omitempty" xml:"new_flight_date,omitempty"` // 新出发机场三字码 NewDepartCode string `json:"new_depart_code,omitempty" xml:"new_depart_code,omitempty"` // 新到达机场三字码 NewArriveCode string `json:"new_arrive_code,omitempty" xml:"new_arrive_code,omitempty"` // 新出发时间 NewDepartTime string `json:"new_depart_time,omitempty" xml:"new_depart_time,omitempty"` // 新到达时间 NewArriveTime string `json:"new_arrive_time,omitempty" xml:"new_arrive_time,omitempty"` // 航变时间 ChangeTime string `json:"change_time,omitempty" xml:"change_time,omitempty"` // 航变原因 ChangeReason string `json:"change_reason,omitempty" xml:"change_reason,omitempty"` // 航变类型,1为取消,2为变更 ChangeType int64 `json:"change_type,omitempty" xml:"change_type,omitempty"` }
FlightChangeDto 结构体
type FlightChangeOrderDto ¶ added in v1.2.8
type FlightChangeOrderDto struct { // 订单号 OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` // 航变信息 FlightChange *FlightChangeDto `json:"flight_change,omitempty" xml:"flight_change,omitempty"` }
FlightChangeOrderDto 结构体
type InsApplyReq ¶ added in v1.2.8
type InsApplyReq struct { // 投保参数列表,通过险种聚类 InsProductParams []InsProductBaseParam `json:"ins_product_params,omitempty" xml:"ins_product_params>ins_product_base_param,omitempty"` }
InsApplyReq 结构体
type InsOrderAirTicketSegmentDto ¶ added in v1.2.8
type InsOrderAirTicketSegmentDto struct { // 票价 TicketPrice string `json:"ticket_price,omitempty" xml:"ticket_price,omitempty"` // 航司名称 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 到达城市 ArrCity string `json:"arr_city,omitempty" xml:"arr_city,omitempty"` // 出发城市 DepCity string `json:"dep_city,omitempty" xml:"dep_city,omitempty"` // 子保单号 PolicyNo string `json:"policy_no,omitempty" xml:"policy_no,omitempty"` // 航班号 FlightNo string `json:"flight_no,omitempty" xml:"flight_no,omitempty"` // 票号 TicketNo string `json:"ticket_no,omitempty" xml:"ticket_no,omitempty"` // 起飞时间 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // 到达时间 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` }
InsOrderAirTicketSegmentDto 结构体
type InsOrderOpenDetailDto ¶ added in v1.2.8
type InsOrderOpenDetailDto struct { // 修改时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 支付时间 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 子保单号 PolicyNo string `json:"policy_no,omitempty" xml:"policy_no,omitempty"` // claimApplyTime ClaimApplyTime string `json:"claim_apply_time,omitempty" xml:"claim_apply_time,omitempty"` // 保险产品编号 ProductNo string `json:"product_no,omitempty" xml:"product_no,omitempty"` // 保司名称 InsCompany string `json:"ins_company,omitempty" xml:"ins_company,omitempty"` // claimSuccessTime ClaimSuccessTime string `json:"claim_success_time,omitempty" xml:"claim_success_time,omitempty"` // effectiveEndTime EffectiveEndTime string `json:"effective_end_time,omitempty" xml:"effective_end_time,omitempty"` // 创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // effectiveStartTime EffectiveStartTime string `json:"effective_start_time,omitempty" xml:"effective_start_time,omitempty"` // 被保人id InsPersonId int64 `json:"ins_person_id,omitempty" xml:"ins_person_id,omitempty"` // 保险订单号 TcOrderId int64 `json:"tc_order_id,omitempty" xml:"tc_order_id,omitempty"` // 被保人信息 InsOrderOpenPerson *InsOrderOpenPersonDto `json:"ins_order_open_person,omitempty" xml:"ins_order_open_person,omitempty"` // 保险价格 Price int64 `json:"price,omitempty" xml:"price,omitempty"` // itemSourceTag ItemSourceTag int64 `json:"item_source_tag,omitempty" xml:"item_source_tag,omitempty"` // claimFee ClaimFee int64 `json:"claim_fee,omitempty" xml:"claim_fee,omitempty"` // insSegmentId InsSegmentId int64 `json:"ins_segment_id,omitempty" xml:"ins_segment_id,omitempty"` // 航段信息 InsOrderOpenSegment *InsOrderOpenSegmentDto `json:"ins_order_open_segment,omitempty" xml:"ins_order_open_segment,omitempty"` // 外部订单号 OutOrderId int64 `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 子保单状态 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 订单是否有效 IsEnable bool `json:"is_enable,omitempty" xml:"is_enable,omitempty"` }
InsOrderOpenDetailDto 结构体
type InsOrderOpenDto ¶ added in v1.2.8
type InsOrderOpenDto struct { // 订单详情列表 InsOrderDetailList []InsOrderOpenDetailDto `json:"ins_order_detail_list,omitempty" xml:"ins_order_detail_list>ins_order_open_detail_dto,omitempty"` // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 修改时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 保单详情页地址 PolicyDetailUrl string `json:"policy_detail_url,omitempty" xml:"policy_detail_url,omitempty"` // 保单号 PolicyNo string `json:"policy_no,omitempty" xml:"policy_no,omitempty"` // 创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 保险产品名称 ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"` // features Features string `json:"features,omitempty" xml:"features,omitempty"` // 保险产品编号 ProductNo string `json:"product_no,omitempty" xml:"product_no,omitempty"` // 保险订单号 TcOrderId int64 `json:"tc_order_id,omitempty" xml:"tc_order_id,omitempty"` // 保险供应方id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 保险份数 Copies int64 `json:"copies,omitempty" xml:"copies,omitempty"` // 保险价格 Price int64 `json:"price,omitempty" xml:"price,omitempty"` // 外部订单号 OutOrderId int64 `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 保险订单状态 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 保险产品id PremiumId int64 `json:"premium_id,omitempty" xml:"premium_id,omitempty"` }
InsOrderOpenDto 结构体
type InsOrderOpenPersonDto ¶ added in v1.2.8
type InsOrderOpenPersonDto struct { // idCardNo(md5脱敏) IdCardNo string `json:"id_card_no,omitempty" xml:"id_card_no,omitempty"` // 子保单号 PolicyNo string `json:"policy_no,omitempty" xml:"policy_no,omitempty"` // 保险订单号 TcOrderId int64 `json:"tc_order_id,omitempty" xml:"tc_order_id,omitempty"` // idCardType IdCardType int64 `json:"id_card_type,omitempty" xml:"id_card_type,omitempty"` // 外部订单号 OutOrderId int64 `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` }
InsOrderOpenPersonDto 结构体
type InsOrderOpenSegmentDto ¶ added in v1.2.8
type InsOrderOpenSegmentDto struct { // 航司名称 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 到达城市 ArrCity string `json:"arr_city,omitempty" xml:"arr_city,omitempty"` // 出发城市 DepCity string `json:"dep_city,omitempty" xml:"dep_city,omitempty"` // 子保单号 PolicyNo string `json:"policy_no,omitempty" xml:"policy_no,omitempty"` // 航段编号 SegmentNo string `json:"segment_no,omitempty" xml:"segment_no,omitempty"` // 出发时间 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // 到达时间 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // attribute Attribute string `json:"attribute,omitempty" xml:"attribute,omitempty"` // 保险订单号 TcOrderId int64 `json:"tc_order_id,omitempty" xml:"tc_order_id,omitempty"` // 外部订单号 OutOrderId int64 `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` }
InsOrderOpenSegmentDto 结构体
type InsPersonAndAirSegmentDto ¶ added in v1.2.8
type InsPersonAndAirSegmentDto struct { // 航段信息 InsOrderSegment *InsOrderAirTicketSegmentDto `json:"ins_order_segment,omitempty" xml:"ins_order_segment,omitempty"` // 被保人 InsPerson *InsPersonDto `json:"ins_person,omitempty" xml:"ins_person,omitempty"` }
InsPersonAndAirSegmentDto 结构体
type InsPersonDto ¶ added in v1.2.8
type InsPersonDto struct { // 证件编号 CertNo string `json:"cert_no,omitempty" xml:"cert_no,omitempty"` // 证件名字 CertName string `json:"cert_name,omitempty" xml:"cert_name,omitempty"` // 证件类型 CertType int64 `json:"cert_type,omitempty" xml:"cert_type,omitempty"` }
InsPersonDto 结构体
type InsPersonParam ¶ added in v1.2.8
type InsPersonParam struct { // 证件号码 CertNo string `json:"cert_no,omitempty" xml:"cert_no,omitempty"` // 身份类型 IdentityType string `json:"identity_type,omitempty" xml:"identity_type,omitempty"` // 证件名称 CertName string `json:"cert_name,omitempty" xml:"cert_name,omitempty"` // 生日,不需要传 Birthday string `json:"birthday,omitempty" xml:"birthday,omitempty"` // 证件类型,不需要传 CertType string `json:"cert_type,omitempty" xml:"cert_type,omitempty"` // 电话号码,不需要传 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` }
InsPersonParam 结构体
type InsProductBaseParam ¶ added in v1.2.8
type InsProductBaseParam struct { // 干系人,用于保险团队联系 StakeHolders []InsPersonParam `json:"stake_holders,omitempty" xml:"stake_holders>ins_person_param,omitempty"` // 被保人信息列表 Insureds []InsPersonParam `json:"insureds,omitempty" xml:"insureds>ins_person_param,omitempty"` // 航段信息列表,示例:{"endCity":"成都", "arrCityCode":"510100", "startTime":"2022-10-26 13:10:00", "arrAirport":"TFU", "startCity":"珠海", "depAirport":"ZUH", "flightNo":"CA2678", "endTime":"2022-10-26 15:40:00", "airlineName":"国航", "depCityCode":"440400", "ticketNo":"123123424"} AirTicketSegmentList []string `json:"air_ticket_segment_list,omitempty" xml:"air_ticket_segment_list>string,omitempty"` // 外部订单号,同一个用户购买的保险的outOrderId都是一样的 OutOrderId int64 `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 保险产品id PremiumId int64 `json:"premium_id,omitempty" xml:"premium_id,omitempty"` }
InsProductBaseParam 结构体
type InsProductDto ¶ added in v1.2.8
type InsProductDto struct { // 副标题:同一保险在不同页面可以有不同副标题 SubTitles string `json:"sub_titles,omitempty" xml:"sub_titles,omitempty"` // 气泡 Bubble string `json:"bubble,omitempty" xml:"bubble,omitempty"` // 文案 Description string `json:"description,omitempty" xml:"description,omitempty"` // 利益点:一个保险可以有多个利益点,如:意外保障¥500万+意外医疗¥3万;同一利益点在不同页面可以有不同描述,如:OTA页、OTA浮层、下单页、弹屏页 Interests string `json:"interests,omitempty" xml:"interests,omitempty"` // 主标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 保险产品名称 ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"` // 标签:同一保险在不同页面可以有不同标签 Labels string `json:"labels,omitempty" xml:"labels,omitempty"` // 保险产品价格 Price int64 `json:"price,omitempty" xml:"price,omitempty"` // 保险产品唯一标识 InsurancePremiumId int64 `json:"insurance_premium_id,omitempty" xml:"insurance_premium_id,omitempty"` }
InsProductDto 结构体
type InsProductResult ¶ added in v1.2.8
type InsProductResult struct { // 保险产品编码 ProdCode string `json:"prod_code,omitempty" xml:"prod_code,omitempty"` // 保险产品名称 ProdName string `json:"prod_name,omitempty" xml:"prod_name,omitempty"` // 销售单元 CsuNo string `json:"csu_no,omitempty" xml:"csu_no,omitempty"` // 保险价格 Premium int64 `json:"premium,omitempty" xml:"premium,omitempty"` // 生成的保险订单号 TcOrderId int64 `json:"tc_order_id,omitempty" xml:"tc_order_id,omitempty"` // 保险订单关联的外部订单号 OutOrderId int64 `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 保险订单号 InsOrderId int64 `json:"ins_order_id,omitempty" xml:"ins_order_id,omitempty"` // 保险产品id PremiumId int64 `json:"premium_id,omitempty" xml:"premium_id,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
InsProductResult 结构体
type InsReverseOrderReq ¶ added in v1.2.8
type InsReverseOrderReq struct { // 保险信息列表 Insureds []InsPersonAndAirSegmentDto `json:"insureds,omitempty" xml:"insureds>ins_person_and_air_segment_dto,omitempty"` // 保险订单号 TpOrderId int64 `json:"tp_order_id,omitempty" xml:"tp_order_id,omitempty"` }
InsReverseOrderReq 结构体
type QueryFlightChangeOrderReq ¶ added in v1.2.8
type QueryFlightChangeOrderReq struct { // 订单号 OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` }
QueryFlightChangeOrderReq 结构体
type ResultDo ¶ added in v1.2.0
type ResultDo struct { // 错误信息 MsgForClient string `json:"msg_for_client,omitempty" xml:"msg_for_client,omitempty"` // 返回code Code string `json:"code,omitempty" xml:"code,omitempty"` // 错误信息 Msg string `json:"msg,omitempty" xml:"msg,omitempty"` // 是否回流成功 Module bool `json:"module,omitempty" xml:"module,omitempty"` // 是否执行回流成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
ResultDo 结构体
Source Files ¶
- AlitripFlightBasicDataCityQueryAllAPIRequest.go
- AlitripFlightBasicDataCityQueryAllAPIResponse.go
- AlitripFlightBasicDataCityQueryAllData.go
- AlitripFlightFlightchangeOrderQueryAPIRequest.go
- AlitripFlightFlightchangeOrderQueryAPIResponse.go
- AlitripFlightInsuranceOrderApplyAPIRequest.go
- AlitripFlightInsuranceOrderApplyAPIResponse.go
- AlitripFlightInsuranceOrderModifyAPIRequest.go
- AlitripFlightInsuranceOrderModifyAPIResponse.go
- AlitripFlightInsuranceOrderRefundAPIRequest.go
- AlitripFlightInsuranceOrderRefundAPIResponse.go
- AlitripFlightInsuranceOrderSearchAPIRequest.go
- AlitripFlightInsuranceOrderSearchAPIResponse.go
- AlitripFlightInsuranceProductSearchAPIRequest.go
- AlitripFlightInsuranceProductSearchAPIResponse.go
- AlitripUppcMemberGainAPIRequest.go
- AlitripUppcMemberGainAPIResponse.go
- BaseResult.go
- FlightChangeDto.go
- FlightChangeOrderDto.go
- InsApplyReq.go
- InsOrderAirTicketSegmentDto.go
- InsOrderOpenDetailDto.go
- InsOrderOpenDto.go
- InsOrderOpenPersonDto.go
- InsOrderOpenSegmentDto.go
- InsPersonAndAirSegmentDto.go
- InsPersonDto.go
- InsPersonParam.go
- InsProductBaseParam.go
- InsProductDto.go
- InsProductResult.go
- InsReverseOrderReq.go
- QueryFlightChangeOrderReq.go
- ResultDo.go
- doc.go