Documentation ¶
Overview ¶
旅行用车API model
Index ¶
- type AlitripTravelCrsdriverArrangeAPIResponse
- type AlitripTravelCrsdriverArrangeRequest
- func (r AlitripTravelCrsdriverArrangeRequest) GetApiMethodName() string
- func (r AlitripTravelCrsdriverArrangeRequest) GetApiParams() url.Values
- func (r AlitripTravelCrsdriverArrangeRequest) GetCrsDriverArrangeParam() *CrsDriverArrangeParam
- func (r *AlitripTravelCrsdriverArrangeRequest) SetCrsDriverArrangeParam(crsDriverArrangeParam *CrsDriverArrangeParam) error
- type AlitripTravelCrsdriverArrangeResponse
- type AlitripTravelCrsorderCompleteAPIResponse
- type AlitripTravelCrsorderCompleteRequest
- func (r AlitripTravelCrsorderCompleteRequest) GetApiMethodName() string
- func (r AlitripTravelCrsorderCompleteRequest) GetApiParams() url.Values
- func (r AlitripTravelCrsorderCompleteRequest) GetCrsOrderCompleteParam() *CrsOrderCompleteParam
- func (r *AlitripTravelCrsorderCompleteRequest) SetCrsOrderCompleteParam(crsOrderCompleteParam *CrsOrderCompleteParam) error
- type AlitripTravelCrsorderCompleteResponse
- type AlitripTravelCrsorderSearchAPIResponse
- type AlitripTravelCrsorderSearchRequest
- func (r AlitripTravelCrsorderSearchRequest) GetApiMethodName() string
- func (r AlitripTravelCrsorderSearchRequest) GetApiParams() url.Values
- func (r AlitripTravelCrsorderSearchRequest) GetBeginCancelTime() string
- func (r AlitripTravelCrsorderSearchRequest) GetBeginCarUseTime() string
- func (r AlitripTravelCrsorderSearchRequest) GetBeginPayTime() string
- func (r AlitripTravelCrsorderSearchRequest) GetCrsOrderStatus() int64
- func (r AlitripTravelCrsorderSearchRequest) GetCurrentPage() int64
- func (r AlitripTravelCrsorderSearchRequest) GetEndCancelTime() string
- func (r AlitripTravelCrsorderSearchRequest) GetEndCarUseTime() string
- func (r AlitripTravelCrsorderSearchRequest) GetEndPayTime() string
- func (r AlitripTravelCrsorderSearchRequest) GetPageSize() int64
- func (r *AlitripTravelCrsorderSearchRequest) SetBeginCancelTime(beginCancelTime string) error
- func (r *AlitripTravelCrsorderSearchRequest) SetBeginCarUseTime(beginCarUseTime string) error
- func (r *AlitripTravelCrsorderSearchRequest) SetBeginPayTime(beginPayTime string) error
- func (r *AlitripTravelCrsorderSearchRequest) SetCrsOrderStatus(crsOrderStatus int64) error
- func (r *AlitripTravelCrsorderSearchRequest) SetCurrentPage(currentPage int64) error
- func (r *AlitripTravelCrsorderSearchRequest) SetEndCancelTime(endCancelTime string) error
- func (r *AlitripTravelCrsorderSearchRequest) SetEndCarUseTime(endCarUseTime string) error
- func (r *AlitripTravelCrsorderSearchRequest) SetEndPayTime(endPayTime string) error
- func (r *AlitripTravelCrsorderSearchRequest) SetPageSize(pageSize int64) error
- type AlitripTravelCrsorderSearchResponse
- type CrsDriverArrangeParam
- type CrsOrderCompleteParam
- type DetailPriceInfo
- type OrderAccept
- type OrderComplete
- type OrderConfirm
- type OrderQueryRsp
- type PriceInfo
- type RentProviderCancelRequest
- type TaobaoAlitripCarDriverStatusUpdateAPIResponse
- type TaobaoAlitripCarDriverStatusUpdateRequest
- func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetApiMethodName() string
- func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetApiParams() url.Values
- func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetOrderId() string
- func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetProviderId() string
- func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetSellerId() string
- func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetStatus() int64
- func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetThirdOrderId() string
- func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetTime() string
- func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetUseType() int64
- func (r *TaobaoAlitripCarDriverStatusUpdateRequest) SetOrderId(orderId string) error
- func (r *TaobaoAlitripCarDriverStatusUpdateRequest) SetProviderId(providerId string) error
- func (r *TaobaoAlitripCarDriverStatusUpdateRequest) SetSellerId(sellerId string) error
- func (r *TaobaoAlitripCarDriverStatusUpdateRequest) SetStatus(status int64) error
- func (r *TaobaoAlitripCarDriverStatusUpdateRequest) SetThirdOrderId(thirdOrderId string) error
- func (r *TaobaoAlitripCarDriverStatusUpdateRequest) SetTime(time string) error
- func (r *TaobaoAlitripCarDriverStatusUpdateRequest) SetUseType(useType int64) error
- type TaobaoAlitripCarDriverStatusUpdateResponse
- type TaobaoAlitripCarOrderAcceptAPIResponse
- type TaobaoAlitripCarOrderAcceptApiResult
- type TaobaoAlitripCarOrderAcceptRequest
- func (r TaobaoAlitripCarOrderAcceptRequest) GetApiMethodName() string
- func (r TaobaoAlitripCarOrderAcceptRequest) GetApiParams() url.Values
- func (r TaobaoAlitripCarOrderAcceptRequest) GetParamOrderAccept() *OrderAccept
- func (r *TaobaoAlitripCarOrderAcceptRequest) SetParamOrderAccept(paramOrderAccept *OrderAccept) error
- type TaobaoAlitripCarOrderAcceptResponse
- type TaobaoAlitripCarOrderCompleteAPIResponse
- type TaobaoAlitripCarOrderCompleteRequest
- func (r TaobaoAlitripCarOrderCompleteRequest) GetApiMethodName() string
- func (r TaobaoAlitripCarOrderCompleteRequest) GetApiParams() url.Values
- func (r TaobaoAlitripCarOrderCompleteRequest) GetParamOrderComplete() *OrderComplete
- func (r *TaobaoAlitripCarOrderCompleteRequest) SetParamOrderComplete(paramOrderComplete *OrderComplete) error
- type TaobaoAlitripCarOrderCompleteResponse
- type TaobaoAlitripCarOrderConfirmAPIResponse
- type TaobaoAlitripCarOrderConfirmRequest
- func (r TaobaoAlitripCarOrderConfirmRequest) GetApiMethodName() string
- func (r TaobaoAlitripCarOrderConfirmRequest) GetApiParams() url.Values
- func (r TaobaoAlitripCarOrderConfirmRequest) GetParamOrderConfirm() *OrderConfirm
- func (r *TaobaoAlitripCarOrderConfirmRequest) SetParamOrderConfirm(paramOrderConfirm *OrderConfirm) error
- type TaobaoAlitripCarOrderConfirmResponse
- type TaobaoAlitripCarOrderQueryAPIResponse
- type TaobaoAlitripCarOrderQueryRequest
- type TaobaoAlitripCarOrderQueryResponse
- type TaobaoAlitripCarOrderStatusAPIResponse
- type TaobaoAlitripCarOrderStatusApiResult
- type TaobaoAlitripCarOrderStatusRequest
- func (r TaobaoAlitripCarOrderStatusRequest) GetApiMethodName() string
- func (r TaobaoAlitripCarOrderStatusRequest) GetApiParams() url.Values
- func (r TaobaoAlitripCarOrderStatusRequest) GetOperation() string
- func (r TaobaoAlitripCarOrderStatusRequest) GetOrderId() string
- func (r TaobaoAlitripCarOrderStatusRequest) GetProviderId() string
- func (r TaobaoAlitripCarOrderStatusRequest) GetStatus() string
- func (r *TaobaoAlitripCarOrderStatusRequest) SetOperation(operation string) error
- func (r *TaobaoAlitripCarOrderStatusRequest) SetOrderId(orderId string) error
- func (r *TaobaoAlitripCarOrderStatusRequest) SetProviderId(providerId string) error
- func (r *TaobaoAlitripCarOrderStatusRequest) SetStatus(status string) error
- type TaobaoAlitripCarOrderStatusResponse
- type TaobaoAlitripCarRentOrderCancelAPIResponse
- type TaobaoAlitripCarRentOrderCancelRequest
- func (r TaobaoAlitripCarRentOrderCancelRequest) GetApiMethodName() string
- func (r TaobaoAlitripCarRentOrderCancelRequest) GetApiParams() url.Values
- func (r TaobaoAlitripCarRentOrderCancelRequest) GetParam0() *RentProviderCancelRequest
- func (r *TaobaoAlitripCarRentOrderCancelRequest) SetParam0(param0 *RentProviderCancelRequest) error
- type TaobaoAlitripCarRentOrderCancelResponse
- type TaobaoAlitripDomesticRentCarStatusUpdateAPIResponse
- type TaobaoAlitripDomesticRentCarStatusUpdateRequest
- func (r TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetApiMethodName() string
- func (r TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetApiParams() url.Values
- func (r TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetOrderId() string
- func (r TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetProviderId() string
- func (r TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetStatus() int64
- func (r TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetThirdOrderId() string
- func (r *TaobaoAlitripDomesticRentCarStatusUpdateRequest) SetOrderId(orderId string) error
- func (r *TaobaoAlitripDomesticRentCarStatusUpdateRequest) SetProviderId(providerId string) error
- func (r *TaobaoAlitripDomesticRentCarStatusUpdateRequest) SetStatus(status int64) error
- func (r *TaobaoAlitripDomesticRentCarStatusUpdateRequest) SetThirdOrderId(thirdOrderId string) error
- type TaobaoAlitripDomesticRentCarStatusUpdateResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlitripTravelCrsdriverArrangeAPIResponse ¶
type AlitripTravelCrsdriverArrangeAPIResponse struct { model.CommonResponse AlitripTravelCrsdriverArrangeResponse }
CRS接送机商家派司机接口 API返回值 alitrip.travel.crsdriver.arrange
提供给CRS接送机商家派司机的API
type AlitripTravelCrsdriverArrangeRequest ¶
type AlitripTravelCrsdriverArrangeRequest struct { model.Params // contains filtered or unexported fields }
CRS接送机商家派司机接口 API请求 alitrip.travel.crsdriver.arrange
提供给CRS接送机商家派司机的API
func NewAlitripTravelCrsdriverArrangeRequest ¶
func NewAlitripTravelCrsdriverArrangeRequest() *AlitripTravelCrsdriverArrangeRequest
初始化AlitripTravelCrsdriverArrangeRequest对象
func (AlitripTravelCrsdriverArrangeRequest) GetApiMethodName ¶
func (r AlitripTravelCrsdriverArrangeRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AlitripTravelCrsdriverArrangeRequest) GetApiParams ¶
func (r AlitripTravelCrsdriverArrangeRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripTravelCrsdriverArrangeRequest) GetCrsDriverArrangeParam ¶
func (r AlitripTravelCrsdriverArrangeRequest) GetCrsDriverArrangeParam() *CrsDriverArrangeParam
CrsDriverArrangeParam Getter
func (*AlitripTravelCrsdriverArrangeRequest) SetCrsDriverArrangeParam ¶
func (r *AlitripTravelCrsdriverArrangeRequest) SetCrsDriverArrangeParam(crsDriverArrangeParam *CrsDriverArrangeParam) error
CrsDriverArrangeParam Setter 请求对象
type AlitripTravelCrsdriverArrangeResponse ¶
type AlitripTravelCrsdriverArrangeResponse struct { XMLName xml.Name `xml:"alitrip_travel_crsdriver_arrange_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果message Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回结果code MessageCode int64 `json:"message_code,omitempty" xml:"message_code,omitempty"` }
CRS接送机商家派司机接口 成功返回结果
type AlitripTravelCrsorderCompleteAPIResponse ¶
type AlitripTravelCrsorderCompleteAPIResponse struct { model.CommonResponse AlitripTravelCrsorderCompleteResponse }
CRS接送机商家服务完成接口 API返回值 alitrip.travel.crsorder.complete
提供给CRS接送机商家的服务完成回调接口
type AlitripTravelCrsorderCompleteRequest ¶
type AlitripTravelCrsorderCompleteRequest struct { model.Params // contains filtered or unexported fields }
CRS接送机商家服务完成接口 API请求 alitrip.travel.crsorder.complete
提供给CRS接送机商家的服务完成回调接口
func NewAlitripTravelCrsorderCompleteRequest ¶
func NewAlitripTravelCrsorderCompleteRequest() *AlitripTravelCrsorderCompleteRequest
初始化AlitripTravelCrsorderCompleteRequest对象
func (AlitripTravelCrsorderCompleteRequest) GetApiMethodName ¶
func (r AlitripTravelCrsorderCompleteRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AlitripTravelCrsorderCompleteRequest) GetApiParams ¶
func (r AlitripTravelCrsorderCompleteRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripTravelCrsorderCompleteRequest) GetCrsOrderCompleteParam ¶
func (r AlitripTravelCrsorderCompleteRequest) GetCrsOrderCompleteParam() *CrsOrderCompleteParam
CrsOrderCompleteParam Getter
func (*AlitripTravelCrsorderCompleteRequest) SetCrsOrderCompleteParam ¶
func (r *AlitripTravelCrsorderCompleteRequest) SetCrsOrderCompleteParam(crsOrderCompleteParam *CrsOrderCompleteParam) error
CrsOrderCompleteParam Setter 请求对象
type AlitripTravelCrsorderCompleteResponse ¶
type AlitripTravelCrsorderCompleteResponse struct { XMLName xml.Name `xml:"alitrip_travel_crsorder_complete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果message Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回结果code MessageCode int64 `json:"message_code,omitempty" xml:"message_code,omitempty"` }
CRS接送机商家服务完成接口 成功返回结果
type AlitripTravelCrsorderSearchAPIResponse ¶
type AlitripTravelCrsorderSearchAPIResponse struct { model.CommonResponse AlitripTravelCrsorderSearchResponse }
CRS接送机订单列表搜索 API返回值 alitrip.travel.crsorder.search
提供给CRS商家搜索订单列表,仅返回订单号列表
type AlitripTravelCrsorderSearchRequest ¶
type AlitripTravelCrsorderSearchRequest struct { model.Params // contains filtered or unexported fields }
CRS接送机订单列表搜索 API请求 alitrip.travel.crsorder.search
提供给CRS商家搜索订单列表,仅返回订单号列表
func NewAlitripTravelCrsorderSearchRequest ¶
func NewAlitripTravelCrsorderSearchRequest() *AlitripTravelCrsorderSearchRequest
初始化AlitripTravelCrsorderSearchRequest对象
func (AlitripTravelCrsorderSearchRequest) GetApiMethodName ¶
func (r AlitripTravelCrsorderSearchRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AlitripTravelCrsorderSearchRequest) GetApiParams ¶
func (r AlitripTravelCrsorderSearchRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripTravelCrsorderSearchRequest) GetBeginCancelTime ¶
func (r AlitripTravelCrsorderSearchRequest) GetBeginCancelTime() string
BeginCancelTime Getter
func (AlitripTravelCrsorderSearchRequest) GetBeginCarUseTime ¶
func (r AlitripTravelCrsorderSearchRequest) GetBeginCarUseTime() string
BeginCarUseTime Getter
func (AlitripTravelCrsorderSearchRequest) GetBeginPayTime ¶
func (r AlitripTravelCrsorderSearchRequest) GetBeginPayTime() string
BeginPayTime Getter
func (AlitripTravelCrsorderSearchRequest) GetCrsOrderStatus ¶
func (r AlitripTravelCrsorderSearchRequest) GetCrsOrderStatus() int64
CrsOrderStatus Getter
func (AlitripTravelCrsorderSearchRequest) GetCurrentPage ¶
func (r AlitripTravelCrsorderSearchRequest) GetCurrentPage() int64
CurrentPage Getter
func (AlitripTravelCrsorderSearchRequest) GetEndCancelTime ¶
func (r AlitripTravelCrsorderSearchRequest) GetEndCancelTime() string
EndCancelTime Getter
func (AlitripTravelCrsorderSearchRequest) GetEndCarUseTime ¶
func (r AlitripTravelCrsorderSearchRequest) GetEndCarUseTime() string
EndCarUseTime Getter
func (AlitripTravelCrsorderSearchRequest) GetEndPayTime ¶
func (r AlitripTravelCrsorderSearchRequest) GetEndPayTime() string
EndPayTime Getter
func (AlitripTravelCrsorderSearchRequest) GetPageSize ¶
func (r AlitripTravelCrsorderSearchRequest) GetPageSize() int64
PageSize Getter
func (*AlitripTravelCrsorderSearchRequest) SetBeginCancelTime ¶
func (r *AlitripTravelCrsorderSearchRequest) SetBeginCancelTime(beginCancelTime string) error
BeginCancelTime Setter 取消时间-起始
func (*AlitripTravelCrsorderSearchRequest) SetBeginCarUseTime ¶
func (r *AlitripTravelCrsorderSearchRequest) SetBeginCarUseTime(beginCarUseTime string) error
BeginCarUseTime Setter 用车时间-起始
func (*AlitripTravelCrsorderSearchRequest) SetBeginPayTime ¶
func (r *AlitripTravelCrsorderSearchRequest) SetBeginPayTime(beginPayTime string) error
BeginPayTime Setter 支付时间-起始
func (*AlitripTravelCrsorderSearchRequest) SetCrsOrderStatus ¶
func (r *AlitripTravelCrsorderSearchRequest) SetCrsOrderStatus(crsOrderStatus int64) error
CrsOrderStatus Setter 订单状态,10-待派单,20-待用车,30-已取消,40-待处理退款申请,60-已关闭,70-已完成
func (*AlitripTravelCrsorderSearchRequest) SetCurrentPage ¶
func (r *AlitripTravelCrsorderSearchRequest) SetCurrentPage(currentPage int64) error
CurrentPage Setter 当前页,默认值1
func (*AlitripTravelCrsorderSearchRequest) SetEndCancelTime ¶
func (r *AlitripTravelCrsorderSearchRequest) SetEndCancelTime(endCancelTime string) error
EndCancelTime Setter 取消时间-终止
func (*AlitripTravelCrsorderSearchRequest) SetEndCarUseTime ¶
func (r *AlitripTravelCrsorderSearchRequest) SetEndCarUseTime(endCarUseTime string) error
EndCarUseTime Setter 用车时间-终止
func (*AlitripTravelCrsorderSearchRequest) SetEndPayTime ¶
func (r *AlitripTravelCrsorderSearchRequest) SetEndPayTime(endPayTime string) error
EndPayTime Setter 支付时间-终止
func (*AlitripTravelCrsorderSearchRequest) SetPageSize ¶
func (r *AlitripTravelCrsorderSearchRequest) SetPageSize(pageSize int64) error
PageSize Setter 页大小,默认20
type AlitripTravelCrsorderSearchResponse ¶
type AlitripTravelCrsorderSearchResponse struct { XMLName xml.Name `xml:"alitrip_travel_crsorder_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 订单id列表(string类型) OrderStringList []string `json:"order_string_list,omitempty" xml:"order_string_list>string,omitempty"` }
CRS接送机订单列表搜索 成功返回结果
type CrsDriverArrangeParam ¶
type CrsDriverArrangeParam struct { // 城市 CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"` // 是否改派司机 IsChangeDriver bool `json:"is_change_driver,omitempty" xml:"is_change_driver,omitempty"` // 车型名称 CarTypeName string `json:"car_type_name,omitempty" xml:"car_type_name,omitempty"` // 司机名称 DriverName string `json:"driver_name,omitempty" xml:"driver_name,omitempty"` // 飞猪订单id OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` // 司机手机号 DriverPhoneNum string `json:"driver_phone_num,omitempty" xml:"driver_phone_num,omitempty"` // 司机身份证号 DriverIdCard string `json:"driver_id_card,omitempty" xml:"driver_id_card,omitempty"` // 电话区号 PhoneAreaCode string `json:"phone_area_code,omitempty" xml:"phone_area_code,omitempty"` // 车型号 CarType string `json:"car_type,omitempty" xml:"car_type,omitempty"` // 车牌号 CarNumber string `json:"car_number,omitempty" xml:"car_number,omitempty"` // 车辆品牌 CarBrand string `json:"car_brand,omitempty" xml:"car_brand,omitempty"` }
CrsDriverArrangeParam
type CrsOrderCompleteParam ¶
type CrsOrderCompleteParam struct { // 飞猪订单id OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` }
CrsOrderCompleteParam
type DetailPriceInfo ¶
type DetailPriceInfo struct { // 费用金额 Amount string `json:"amount,omitempty" xml:"amount,omitempty"` // 费用类型名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 费用类型 Type string `json:"type,omitempty" xml:"type,omitempty"` }
DetailPriceInfo
type OrderAccept ¶
type OrderAccept struct { // 0确认接单 1无法接单 ConfirmType int64 `json:"confirm_type,omitempty" xml:"confirm_type,omitempty"` // 拒单原因 Message string `json:"message,omitempty" xml:"message,omitempty"` // 阿里旅行用车订单ID OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"` // 服务商ID,阿里提供 ProviderId string `json:"provider_id,omitempty" xml:"provider_id,omitempty"` // 服务商订单ID,没有可不传 ThirdOrderId string `json:"third_order_id,omitempty" xml:"third_order_id,omitempty"` // 可选,卖家id SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 0:接送机 1:实时打车 2:租车(不传值默认为0) UseType int64 `json:"use_type,omitempty" xml:"use_type,omitempty"` // 接单司机纬度 Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"` // 接单司机经度 Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"` // 接单时间毫秒数 AcceptTime int64 `json:"accept_time,omitempty" xml:"accept_time,omitempty"` }
OrderAccept
type OrderComplete ¶
type OrderComplete struct { // 服务商生成的订单ID ThirdOrderId string `json:"third_order_id,omitempty" xml:"third_order_id,omitempty"` // 服务商标识 ProviderId string `json:"provider_id,omitempty" xml:"provider_id,omitempty"` // 服务完成时间 CompleteTime string `json:"complete_time,omitempty" xml:"complete_time,omitempty"` // 阿里旅行生成的订单ID OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"` // 可选,卖家id SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 0:接送机 1:实时打车 2:租车(不传值默认为0) UseType int64 `json:"use_type,omitempty" xml:"use_type,omitempty"` // 价格详情 PriceInfo *PriceInfo `json:"price_info,omitempty" xml:"price_info,omitempty"` // 实际行驶公里数 Distance string `json:"distance,omitempty" xml:"distance,omitempty"` }
OrderComplete
type OrderConfirm ¶
type OrderConfirm struct { // 确认时间 ConfirmTime string `json:"confirm_time,omitempty" xml:"confirm_time,omitempty"` // 0应答1改派 ConfirmType int64 `json:"confirm_type,omitempty" xml:"confirm_type,omitempty"` // 车辆描述,车辆颜色,候车地点等 DriverCarDesc string `json:"driver_car_desc,omitempty" xml:"driver_car_desc,omitempty"` // 司机车型名称 DriverCarName string `json:"driver_car_name,omitempty" xml:"driver_car_name,omitempty"` // 司机车牌号 DriverCarNo string `json:"driver_car_no,omitempty" xml:"driver_car_no,omitempty"` // 司机名称 DriverName string `json:"driver_name,omitempty" xml:"driver_name,omitempty"` // 司机联系方式。格式:加号+国家区号+空格+当地电话号码 DriverTel string `json:"driver_tel,omitempty" xml:"driver_tel,omitempty"` // 阿里旅行订单ID OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"` // 服务商标识 ProviderId string `json:"provider_id,omitempty" xml:"provider_id,omitempty"` // 服务商订单号 ThirdOrderId string `json:"third_order_id,omitempty" xml:"third_order_id,omitempty"` // 可选,卖家id SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 司机图片,公网可访问链接 DriverPic string `json:"driver_pic,omitempty" xml:"driver_pic,omitempty"` // 车型图片,公网可访问链接 CarPic string `json:"car_pic,omitempty" xml:"car_pic,omitempty"` // 本次用车是否支持 司机实时位置回传。若为true,则飞猪平台在用车实际开始时将从服务商处实时查询司机位置 SupportRealTimePoi bool `json:"support_real_time_poi,omitempty" xml:"support_real_time_poi,omitempty"` // 司机虚拟号 DriverTrumpetPhone string `json:"driver_trumpet_phone,omitempty" xml:"driver_trumpet_phone,omitempty"` // 司机身份证号 DriverIdNumber string `json:"driver_id_number,omitempty" xml:"driver_id_number,omitempty"` // 0:接送机 1:实时打车 2:租车(不传值默认为0) UseType int64 `json:"use_type,omitempty" xml:"use_type,omitempty"` // 下游供应商logo图片(高德专用) SubPic string `json:"sub_pic,omitempty" xml:"sub_pic,omitempty"` // 下游供应商名称(高德专用) SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"` // 飞猪车型id(30:出租车 31:经济型 32:舒适型 33:商务型 34:豪华型) CarTypeId int64 `json:"car_type_id,omitempty" xml:"car_type_id,omitempty"` // 下游供应商唯一标识(高德专用) SubKey string `json:"sub_key,omitempty" xml:"sub_key,omitempty"` }
OrderConfirm
type OrderQueryRsp ¶
type OrderQueryRsp struct { // 订单id OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"` // 订单状态。21-等待商家确认接单,22-商家已确认接单(未派司机),23-商家已确认接单(已派司机),24-司机服务已完成,25-司机已出发,26-司机已到达目的地,27-司机开始服务,60-订单已关闭,70-订单已完成。其他状态可不必关心。 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
OrderQueryRsp
type PriceInfo ¶
type PriceInfo struct { // 总费用,折后金额总费用,折后金额 eg:203.00 TotalPrice string `json:"total_price,omitempty" xml:"total_price,omitempty"` // 原价,如果订单有折扣这里为折扣前的价格,如果没有折扣和totalPrice字段保持一致 OriginalPrice string `json:"original_price,omitempty" xml:"original_price,omitempty"` // 费用明细 Detail []DetailPriceInfo `json:"detail,omitempty" xml:"detail>detail_price_info,omitempty"` }
PriceInfo
type RentProviderCancelRequest ¶
type RentProviderCancelRequest struct { // 是否确认可以取消 CancelConfirm bool `json:"cancel_confirm,omitempty" xml:"cancel_confirm,omitempty"` // 服务商ID ProviderId int64 `json:"provider_id,omitempty" xml:"provider_id,omitempty"` // 取消拒绝原因 CancelRejectReason string `json:"cancel_reject_reason,omitempty" xml:"cancel_reject_reason,omitempty"` // 取消拒绝类型 CancelRejectCode int64 `json:"cancel_reject_code,omitempty" xml:"cancel_reject_code,omitempty"` // 订单id OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` }
RentProviderCancelRequest
type TaobaoAlitripCarDriverStatusUpdateAPIResponse ¶
type TaobaoAlitripCarDriverStatusUpdateAPIResponse struct { model.CommonResponse TaobaoAlitripCarDriverStatusUpdateResponse }
司机服务状态更新接口 API返回值 taobao.alitrip.car.driver.status.update
飞猪用车业务回调接口,用于服务商实时回传更新司机当前服务状态
type TaobaoAlitripCarDriverStatusUpdateRequest ¶
type TaobaoAlitripCarDriverStatusUpdateRequest struct { model.Params // contains filtered or unexported fields }
司机服务状态更新接口 API请求 taobao.alitrip.car.driver.status.update
飞猪用车业务回调接口,用于服务商实时回传更新司机当前服务状态
func NewTaobaoAlitripCarDriverStatusUpdateRequest ¶
func NewTaobaoAlitripCarDriverStatusUpdateRequest() *TaobaoAlitripCarDriverStatusUpdateRequest
初始化TaobaoAlitripCarDriverStatusUpdateRequest对象
func (TaobaoAlitripCarDriverStatusUpdateRequest) GetApiMethodName ¶
func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripCarDriverStatusUpdateRequest) GetApiParams ¶
func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripCarDriverStatusUpdateRequest) GetOrderId ¶
func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetOrderId() string
OrderId Getter
func (TaobaoAlitripCarDriverStatusUpdateRequest) GetProviderId ¶
func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetProviderId() string
ProviderId Getter
func (TaobaoAlitripCarDriverStatusUpdateRequest) GetSellerId ¶
func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetSellerId() string
SellerId Getter
func (TaobaoAlitripCarDriverStatusUpdateRequest) GetStatus ¶
func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetStatus() int64
Status Getter
func (TaobaoAlitripCarDriverStatusUpdateRequest) GetThirdOrderId ¶
func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetThirdOrderId() string
ThirdOrderId Getter
func (TaobaoAlitripCarDriverStatusUpdateRequest) GetTime ¶
func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetTime() string
Time Getter
func (TaobaoAlitripCarDriverStatusUpdateRequest) GetUseType ¶
func (r TaobaoAlitripCarDriverStatusUpdateRequest) GetUseType() int64
UseType Getter
func (*TaobaoAlitripCarDriverStatusUpdateRequest) SetOrderId ¶
func (r *TaobaoAlitripCarDriverStatusUpdateRequest) SetOrderId(orderId string) error
OrderId Setter 飞猪订单id
func (*TaobaoAlitripCarDriverStatusUpdateRequest) SetProviderId ¶
func (r *TaobaoAlitripCarDriverStatusUpdateRequest) SetProviderId(providerId string) error
ProviderId Setter 服务商标识,由飞猪提供给到各服务商
func (*TaobaoAlitripCarDriverStatusUpdateRequest) SetSellerId ¶
func (r *TaobaoAlitripCarDriverStatusUpdateRequest) SetSellerId(sellerId string) error
SellerId Setter 可选,卖家id
func (*TaobaoAlitripCarDriverStatusUpdateRequest) SetStatus ¶
func (r *TaobaoAlitripCarDriverStatusUpdateRequest) SetStatus(status int64) error
Status Setter 司机服务状态。1-司机已出发,2-司机已到达,3-司机已开始服务
func (*TaobaoAlitripCarDriverStatusUpdateRequest) SetThirdOrderId ¶
func (r *TaobaoAlitripCarDriverStatusUpdateRequest) SetThirdOrderId(thirdOrderId string) error
ThirdOrderId Setter 服务商订单id
func (*TaobaoAlitripCarDriverStatusUpdateRequest) SetTime ¶
func (r *TaobaoAlitripCarDriverStatusUpdateRequest) SetTime(time string) error
Time Setter 状态变更相应时间(如司机出发时间、司机到达时间、服务开始时间),格式:yyyy-mm-dd hh:mm:ss
func (*TaobaoAlitripCarDriverStatusUpdateRequest) SetUseType ¶
func (r *TaobaoAlitripCarDriverStatusUpdateRequest) SetUseType(useType int64) error
UseType Setter 0:接送机 1:实时打车 2:租车(不传值默认为0)
type TaobaoAlitripCarDriverStatusUpdateResponse ¶
type TaobaoAlitripCarDriverStatusUpdateResponse struct { XMLName xml.Name `xml:"alitrip_car_driver_status_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 MessageCode int64 `json:"message_code,omitempty" xml:"message_code,omitempty"` // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 其它数据,预留,暂不使用 Data string `json:"data,omitempty" xml:"data,omitempty"` }
司机服务状态更新接口 成功返回结果
type TaobaoAlitripCarOrderAcceptAPIResponse ¶
type TaobaoAlitripCarOrderAcceptAPIResponse struct { model.CommonResponse TaobaoAlitripCarOrderAcceptResponse }
确认接单 API返回值 taobao.alitrip.car.order.accept
用来接收服务商确认接单信息
type TaobaoAlitripCarOrderAcceptApiResult ¶
type TaobaoAlitripCarOrderAcceptApiResult struct { // 错误码 0成功 其它见文档 Code int64 `json:"code,omitempty" xml:"code,omitempty"` // 其它数据 Data string `json:"data,omitempty" xml:"data,omitempty"` // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 错误码 0成功 其它见文档 MessageCode int64 `json:"message_code,omitempty" xml:"message_code,omitempty"` }
TaobaoAlitripCarOrderAcceptApiResult
type TaobaoAlitripCarOrderAcceptRequest ¶
type TaobaoAlitripCarOrderAcceptRequest struct { model.Params // contains filtered or unexported fields }
确认接单 API请求 taobao.alitrip.car.order.accept
用来接收服务商确认接单信息
func NewTaobaoAlitripCarOrderAcceptRequest ¶
func NewTaobaoAlitripCarOrderAcceptRequest() *TaobaoAlitripCarOrderAcceptRequest
初始化TaobaoAlitripCarOrderAcceptRequest对象
func (TaobaoAlitripCarOrderAcceptRequest) GetApiMethodName ¶
func (r TaobaoAlitripCarOrderAcceptRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripCarOrderAcceptRequest) GetApiParams ¶
func (r TaobaoAlitripCarOrderAcceptRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripCarOrderAcceptRequest) GetParamOrderAccept ¶
func (r TaobaoAlitripCarOrderAcceptRequest) GetParamOrderAccept() *OrderAccept
ParamOrderAccept Getter
func (*TaobaoAlitripCarOrderAcceptRequest) SetParamOrderAccept ¶
func (r *TaobaoAlitripCarOrderAcceptRequest) SetParamOrderAccept(paramOrderAccept *OrderAccept) error
ParamOrderAccept Setter 确认订单请求
type TaobaoAlitripCarOrderAcceptResponse ¶
type TaobaoAlitripCarOrderAcceptResponse struct { XMLName xml.Name `xml:"alitrip_car_order_accept_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 根据站点名称查询产品 Result *TaobaoAlitripCarOrderAcceptApiResult `json:"result,omitempty" xml:"result,omitempty"` }
确认接单 成功返回结果
type TaobaoAlitripCarOrderCompleteAPIResponse ¶
type TaobaoAlitripCarOrderCompleteAPIResponse struct { model.CommonResponse TaobaoAlitripCarOrderCompleteResponse }
服务完成API API返回值 taobao.alitrip.car.order.complete
用来接收服务商订单流程完成信息
type TaobaoAlitripCarOrderCompleteRequest ¶
type TaobaoAlitripCarOrderCompleteRequest struct { model.Params // contains filtered or unexported fields }
服务完成API API请求 taobao.alitrip.car.order.complete
用来接收服务商订单流程完成信息
func NewTaobaoAlitripCarOrderCompleteRequest ¶
func NewTaobaoAlitripCarOrderCompleteRequest() *TaobaoAlitripCarOrderCompleteRequest
初始化TaobaoAlitripCarOrderCompleteRequest对象
func (TaobaoAlitripCarOrderCompleteRequest) GetApiMethodName ¶
func (r TaobaoAlitripCarOrderCompleteRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripCarOrderCompleteRequest) GetApiParams ¶
func (r TaobaoAlitripCarOrderCompleteRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripCarOrderCompleteRequest) GetParamOrderComplete ¶
func (r TaobaoAlitripCarOrderCompleteRequest) GetParamOrderComplete() *OrderComplete
ParamOrderComplete Getter
func (*TaobaoAlitripCarOrderCompleteRequest) SetParamOrderComplete ¶
func (r *TaobaoAlitripCarOrderCompleteRequest) SetParamOrderComplete(paramOrderComplete *OrderComplete) error
ParamOrderComplete Setter 服务完成API
type TaobaoAlitripCarOrderCompleteResponse ¶
type TaobaoAlitripCarOrderCompleteResponse struct { XMLName xml.Name `xml:"alitrip_car_order_complete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 MessageCode int64 `json:"message_code,omitempty" xml:"message_code,omitempty"` // 其它数据 Data string `json:"data,omitempty" xml:"data,omitempty"` // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` }
服务完成API 成功返回结果
type TaobaoAlitripCarOrderConfirmAPIResponse ¶
type TaobaoAlitripCarOrderConfirmAPIResponse struct { model.CommonResponse TaobaoAlitripCarOrderConfirmResponse }
司机应答API API返回值 taobao.alitrip.car.order.confirm
航旅事业群-度假事业部-旅行用车项目组对外部服务商提供的司机应答回调接口
type TaobaoAlitripCarOrderConfirmRequest ¶
type TaobaoAlitripCarOrderConfirmRequest struct { model.Params // contains filtered or unexported fields }
司机应答API API请求 taobao.alitrip.car.order.confirm
航旅事业群-度假事业部-旅行用车项目组对外部服务商提供的司机应答回调接口
func NewTaobaoAlitripCarOrderConfirmRequest ¶
func NewTaobaoAlitripCarOrderConfirmRequest() *TaobaoAlitripCarOrderConfirmRequest
初始化TaobaoAlitripCarOrderConfirmRequest对象
func (TaobaoAlitripCarOrderConfirmRequest) GetApiMethodName ¶
func (r TaobaoAlitripCarOrderConfirmRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripCarOrderConfirmRequest) GetApiParams ¶
func (r TaobaoAlitripCarOrderConfirmRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripCarOrderConfirmRequest) GetParamOrderConfirm ¶
func (r TaobaoAlitripCarOrderConfirmRequest) GetParamOrderConfirm() *OrderConfirm
ParamOrderConfirm Getter
func (*TaobaoAlitripCarOrderConfirmRequest) SetParamOrderConfirm ¶
func (r *TaobaoAlitripCarOrderConfirmRequest) SetParamOrderConfirm(paramOrderConfirm *OrderConfirm) error
ParamOrderConfirm Setter 请求对象
type TaobaoAlitripCarOrderConfirmResponse ¶
type TaobaoAlitripCarOrderConfirmResponse struct { XMLName xml.Name `xml:"alitrip_car_order_confirm_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 MessageCode int64 `json:"message_code,omitempty" xml:"message_code,omitempty"` // 其它数据 Data string `json:"data,omitempty" xml:"data,omitempty"` // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` }
司机应答API 成功返回结果
type TaobaoAlitripCarOrderQueryAPIResponse ¶
type TaobaoAlitripCarOrderQueryAPIResponse struct { model.CommonResponse TaobaoAlitripCarOrderQueryResponse }
飞猪订单状态查询接口 API返回值 taobao.alitrip.car.order.query
提供给直连商家查询在飞猪平台上产生的订单
type TaobaoAlitripCarOrderQueryRequest ¶
type TaobaoAlitripCarOrderQueryRequest struct { model.Params // contains filtered or unexported fields }
飞猪订单状态查询接口 API请求 taobao.alitrip.car.order.query
提供给直连商家查询在飞猪平台上产生的订单
func NewTaobaoAlitripCarOrderQueryRequest ¶
func NewTaobaoAlitripCarOrderQueryRequest() *TaobaoAlitripCarOrderQueryRequest
初始化TaobaoAlitripCarOrderQueryRequest对象
func (TaobaoAlitripCarOrderQueryRequest) GetApiMethodName ¶
func (r TaobaoAlitripCarOrderQueryRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripCarOrderQueryRequest) GetApiParams ¶
func (r TaobaoAlitripCarOrderQueryRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripCarOrderQueryRequest) GetOrderId ¶
func (r TaobaoAlitripCarOrderQueryRequest) GetOrderId() string
OrderId Getter
func (*TaobaoAlitripCarOrderQueryRequest) SetOrderId ¶
func (r *TaobaoAlitripCarOrderQueryRequest) SetOrderId(orderId string) error
OrderId Setter 飞猪平台订单id
type TaobaoAlitripCarOrderQueryResponse ¶
type TaobaoAlitripCarOrderQueryResponse struct { XMLName xml.Name `xml:"alitrip_car_order_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 订单结果 FirstResult *OrderQueryRsp `json:"first_result,omitempty" xml:"first_result,omitempty"` }
飞猪订单状态查询接口 成功返回结果
type TaobaoAlitripCarOrderStatusAPIResponse ¶
type TaobaoAlitripCarOrderStatusAPIResponse struct { model.CommonResponse TaobaoAlitripCarOrderStatusResponse }
商家订单状态改变通知接口(神州专车接口) API返回值 taobao.alitrip.car.order.status
商家订单状态改变通知接口,神州专车专用接口!
type TaobaoAlitripCarOrderStatusApiResult ¶
type TaobaoAlitripCarOrderStatusApiResult struct { // 状态码 Code int64 `json:"code,omitempty" xml:"code,omitempty"` // 其它数据 Data string `json:"data,omitempty" xml:"data,omitempty"` // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` }
TaobaoAlitripCarOrderStatusApiResult
type TaobaoAlitripCarOrderStatusRequest ¶
type TaobaoAlitripCarOrderStatusRequest struct { model.Params // contains filtered or unexported fields }
商家订单状态改变通知接口(神州专车接口) API请求 taobao.alitrip.car.order.status
商家订单状态改变通知接口,神州专车专用接口!
func NewTaobaoAlitripCarOrderStatusRequest ¶
func NewTaobaoAlitripCarOrderStatusRequest() *TaobaoAlitripCarOrderStatusRequest
初始化TaobaoAlitripCarOrderStatusRequest对象
func (TaobaoAlitripCarOrderStatusRequest) GetApiMethodName ¶
func (r TaobaoAlitripCarOrderStatusRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripCarOrderStatusRequest) GetApiParams ¶
func (r TaobaoAlitripCarOrderStatusRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripCarOrderStatusRequest) GetOperation ¶
func (r TaobaoAlitripCarOrderStatusRequest) GetOperation() string
Operation Getter
func (TaobaoAlitripCarOrderStatusRequest) GetOrderId ¶
func (r TaobaoAlitripCarOrderStatusRequest) GetOrderId() string
OrderId Getter
func (TaobaoAlitripCarOrderStatusRequest) GetProviderId ¶
func (r TaobaoAlitripCarOrderStatusRequest) GetProviderId() string
ProviderId Getter
func (TaobaoAlitripCarOrderStatusRequest) GetStatus ¶
func (r TaobaoAlitripCarOrderStatusRequest) GetStatus() string
Status Getter
func (*TaobaoAlitripCarOrderStatusRequest) SetOperation ¶
func (r *TaobaoAlitripCarOrderStatusRequest) SetOperation(operation string) error
Operation Setter 固定值:statusChanged
func (*TaobaoAlitripCarOrderStatusRequest) SetOrderId ¶
func (r *TaobaoAlitripCarOrderStatusRequest) SetOrderId(orderId string) error
OrderId Setter 飞猪订单ID
func (*TaobaoAlitripCarOrderStatusRequest) SetProviderId ¶
func (r *TaobaoAlitripCarOrderStatusRequest) SetProviderId(providerId string) error
ProviderId Setter 服务商ID
func (*TaobaoAlitripCarOrderStatusRequest) SetStatus ¶
func (r *TaobaoAlitripCarOrderStatusRequest) SetStatus(status string) error
Status Setter 司机服务状态。arriving-司机已出发,arrived-司机已到达,serviceStarted-已开始服务,serviceFinished-已结束服务
type TaobaoAlitripCarOrderStatusResponse ¶
type TaobaoAlitripCarOrderStatusResponse struct { XMLName xml.Name `xml:"alitrip_car_order_status_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 根据站点名称查询产品 Result *TaobaoAlitripCarOrderStatusApiResult `json:"result,omitempty" xml:"result,omitempty"` }
商家订单状态改变通知接口(神州专车接口) 成功返回结果
type TaobaoAlitripCarRentOrderCancelAPIResponse ¶
type TaobaoAlitripCarRentOrderCancelAPIResponse struct { model.CommonResponse TaobaoAlitripCarRentOrderCancelResponse }
租车-取消订单 API返回值 taobao.alitrip.car.rent.order.cancel
服务商主动取消用户订单或者拒绝取消订单.
type TaobaoAlitripCarRentOrderCancelRequest ¶
type TaobaoAlitripCarRentOrderCancelRequest struct { model.Params // contains filtered or unexported fields }
租车-取消订单 API请求 taobao.alitrip.car.rent.order.cancel
服务商主动取消用户订单或者拒绝取消订单.
func NewTaobaoAlitripCarRentOrderCancelRequest ¶
func NewTaobaoAlitripCarRentOrderCancelRequest() *TaobaoAlitripCarRentOrderCancelRequest
初始化TaobaoAlitripCarRentOrderCancelRequest对象
func (TaobaoAlitripCarRentOrderCancelRequest) GetApiMethodName ¶
func (r TaobaoAlitripCarRentOrderCancelRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripCarRentOrderCancelRequest) GetApiParams ¶
func (r TaobaoAlitripCarRentOrderCancelRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripCarRentOrderCancelRequest) GetParam0 ¶
func (r TaobaoAlitripCarRentOrderCancelRequest) GetParam0() *RentProviderCancelRequest
Param0 Getter
func (*TaobaoAlitripCarRentOrderCancelRequest) SetParam0 ¶
func (r *TaobaoAlitripCarRentOrderCancelRequest) SetParam0(param0 *RentProviderCancelRequest) error
Param0 Setter 取消请求对象
type TaobaoAlitripCarRentOrderCancelResponse ¶
type TaobaoAlitripCarRentOrderCancelResponse struct { XMLName xml.Name `xml:"alitrip_car_rent_order_cancel_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误消息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 扩展对象 Models string `json:"models,omitempty" xml:"models,omitempty"` // 结果对象 Model string `json:"model,omitempty" xml:"model,omitempty"` // 结果码 C int64 `json:"c,omitempty" xml:"c,omitempty"` }
租车-取消订单 成功返回结果
type TaobaoAlitripDomesticRentCarStatusUpdateAPIResponse ¶
type TaobaoAlitripDomesticRentCarStatusUpdateAPIResponse struct { model.CommonResponse TaobaoAlitripDomesticRentCarStatusUpdateResponse }
航旅国内租车订单状态更新 API返回值 taobao.alitrip.domestic.rent.car.status.update
航旅国内租车订单状态更新
type TaobaoAlitripDomesticRentCarStatusUpdateRequest ¶
type TaobaoAlitripDomesticRentCarStatusUpdateRequest struct { model.Params // contains filtered or unexported fields }
航旅国内租车订单状态更新 API请求 taobao.alitrip.domestic.rent.car.status.update
航旅国内租车订单状态更新
func NewTaobaoAlitripDomesticRentCarStatusUpdateRequest ¶
func NewTaobaoAlitripDomesticRentCarStatusUpdateRequest() *TaobaoAlitripDomesticRentCarStatusUpdateRequest
初始化TaobaoAlitripDomesticRentCarStatusUpdateRequest对象
func (TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetApiMethodName ¶
func (r TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetApiParams ¶
func (r TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetOrderId ¶
func (r TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetOrderId() string
OrderId Getter
func (TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetProviderId ¶
func (r TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetProviderId() string
ProviderId Getter
func (TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetStatus ¶
func (r TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetStatus() int64
Status Getter
func (TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetThirdOrderId ¶
func (r TaobaoAlitripDomesticRentCarStatusUpdateRequest) GetThirdOrderId() string
ThirdOrderId Getter
func (*TaobaoAlitripDomesticRentCarStatusUpdateRequest) SetOrderId ¶
func (r *TaobaoAlitripDomesticRentCarStatusUpdateRequest) SetOrderId(orderId string) error
OrderId Setter 飞猪平台订单号
func (*TaobaoAlitripDomesticRentCarStatusUpdateRequest) SetProviderId ¶
func (r *TaobaoAlitripDomesticRentCarStatusUpdateRequest) SetProviderId(providerId string) error
ProviderId Setter 服务商标识,由飞猪提供给到各服务商
func (*TaobaoAlitripDomesticRentCarStatusUpdateRequest) SetStatus ¶
func (r *TaobaoAlitripDomesticRentCarStatusUpdateRequest) SetStatus(status int64) error
Status Setter 121-用车中(用户取车成功) 122-待结算(用户还车成功)
func (*TaobaoAlitripDomesticRentCarStatusUpdateRequest) SetThirdOrderId ¶
func (r *TaobaoAlitripDomesticRentCarStatusUpdateRequest) SetThirdOrderId(thirdOrderId string) error
ThirdOrderId Setter 服务商平台订单号
type TaobaoAlitripDomesticRentCarStatusUpdateResponse ¶
type TaobaoAlitripDomesticRentCarStatusUpdateResponse struct { XMLName xml.Name `xml:"alitrip_domestic_rent_car_status_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 其它数据,预留,暂不使用 Data string `json:"data,omitempty" xml:"data,omitempty"` // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 错误码.code为0时表示成功 MessageCode int64 `json:"message_code,omitempty" xml:"message_code,omitempty"` }
航旅国内租车订单状态更新 成功返回结果
Source Files ¶
- AlitripTravelCrsdriverArrangeRequest.go
- AlitripTravelCrsdriverArrangeResponse.go
- AlitripTravelCrsorderCompleteRequest.go
- AlitripTravelCrsorderCompleteResponse.go
- AlitripTravelCrsorderSearchRequest.go
- AlitripTravelCrsorderSearchResponse.go
- CrsDriverArrangeParam.go
- CrsOrderCompleteParam.go
- DetailPriceInfo.go
- OrderAccept.go
- OrderComplete.go
- OrderConfirm.go
- OrderQueryRsp.go
- PriceInfo.go
- RentProviderCancelRequest.go
- TaobaoAlitripCarDriverStatusUpdateRequest.go
- TaobaoAlitripCarDriverStatusUpdateResponse.go
- TaobaoAlitripCarOrderAcceptApiResult.go
- TaobaoAlitripCarOrderAcceptRequest.go
- TaobaoAlitripCarOrderAcceptResponse.go
- TaobaoAlitripCarOrderCompleteRequest.go
- TaobaoAlitripCarOrderCompleteResponse.go
- TaobaoAlitripCarOrderConfirmRequest.go
- TaobaoAlitripCarOrderConfirmResponse.go
- TaobaoAlitripCarOrderQueryRequest.go
- TaobaoAlitripCarOrderQueryResponse.go
- TaobaoAlitripCarOrderStatusApiResult.go
- TaobaoAlitripCarOrderStatusRequest.go
- TaobaoAlitripCarOrderStatusResponse.go
- TaobaoAlitripCarRentOrderCancelRequest.go
- TaobaoAlitripCarRentOrderCancelResponse.go
- TaobaoAlitripDomesticRentCarStatusUpdateRequest.go
- TaobaoAlitripDomesticRentCarStatusUpdateResponse.go
- doc.go