Documentation ¶
Overview ¶
旅行用车API model
Index ¶
- type AlitripTravelCrsdriverArrangeAPIRequest
- func (r AlitripTravelCrsdriverArrangeAPIRequest) GetApiMethodName() string
- func (r AlitripTravelCrsdriverArrangeAPIRequest) GetApiParams() url.Values
- func (r AlitripTravelCrsdriverArrangeAPIRequest) GetCrsDriverArrangeParam() *CrsDriverArrangeParam
- func (r *AlitripTravelCrsdriverArrangeAPIRequest) SetCrsDriverArrangeParam(_crsDriverArrangeParam *CrsDriverArrangeParam) error
- type AlitripTravelCrsdriverArrangeAPIResponse
- type AlitripTravelCrsdriverArrangeAPIResponseModel
- type AlitripTravelCrsorderCompleteAPIRequest
- func (r AlitripTravelCrsorderCompleteAPIRequest) GetApiMethodName() string
- func (r AlitripTravelCrsorderCompleteAPIRequest) GetApiParams() url.Values
- func (r AlitripTravelCrsorderCompleteAPIRequest) GetCrsOrderCompleteParam() *CrsOrderCompleteParam
- func (r *AlitripTravelCrsorderCompleteAPIRequest) SetCrsOrderCompleteParam(_crsOrderCompleteParam *CrsOrderCompleteParam) error
- type AlitripTravelCrsorderCompleteAPIResponse
- type AlitripTravelCrsorderCompleteAPIResponseModel
- type AlitripTravelCrsorderSearchAPIRequest
- func (r AlitripTravelCrsorderSearchAPIRequest) GetApiMethodName() string
- func (r AlitripTravelCrsorderSearchAPIRequest) GetApiParams() url.Values
- func (r AlitripTravelCrsorderSearchAPIRequest) GetBeginCancelTime() string
- func (r AlitripTravelCrsorderSearchAPIRequest) GetBeginCarUseTime() string
- func (r AlitripTravelCrsorderSearchAPIRequest) GetBeginPayTime() string
- func (r AlitripTravelCrsorderSearchAPIRequest) GetCrsOrderStatus() int64
- func (r AlitripTravelCrsorderSearchAPIRequest) GetCurrentPage() int64
- func (r AlitripTravelCrsorderSearchAPIRequest) GetEndCancelTime() string
- func (r AlitripTravelCrsorderSearchAPIRequest) GetEndCarUseTime() string
- func (r AlitripTravelCrsorderSearchAPIRequest) GetEndPayTime() string
- func (r AlitripTravelCrsorderSearchAPIRequest) GetPageSize() int64
- func (r *AlitripTravelCrsorderSearchAPIRequest) SetBeginCancelTime(_beginCancelTime string) error
- func (r *AlitripTravelCrsorderSearchAPIRequest) SetBeginCarUseTime(_beginCarUseTime string) error
- func (r *AlitripTravelCrsorderSearchAPIRequest) SetBeginPayTime(_beginPayTime string) error
- func (r *AlitripTravelCrsorderSearchAPIRequest) SetCrsOrderStatus(_crsOrderStatus int64) error
- func (r *AlitripTravelCrsorderSearchAPIRequest) SetCurrentPage(_currentPage int64) error
- func (r *AlitripTravelCrsorderSearchAPIRequest) SetEndCancelTime(_endCancelTime string) error
- func (r *AlitripTravelCrsorderSearchAPIRequest) SetEndCarUseTime(_endCarUseTime string) error
- func (r *AlitripTravelCrsorderSearchAPIRequest) SetEndPayTime(_endPayTime string) error
- func (r *AlitripTravelCrsorderSearchAPIRequest) SetPageSize(_pageSize int64) error
- type AlitripTravelCrsorderSearchAPIResponse
- type AlitripTravelCrsorderSearchAPIResponseModel
- type CrsDriverArrangeParam
- type CrsOrderCompleteParam
- type DetailPriceInfo
- type OrderAccept
- type OrderComplete
- type OrderConfirm
- type OrderQueryRsp
- type PriceInfo
- type RentProviderCancelRequest
- type TaobaoAlitripCarDriverStatusUpdateAPIRequest
- func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetOrderId() string
- func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetProviderId() string
- func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetSellerId() string
- func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetStatus() int64
- func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetThirdOrderId() string
- func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetTime() string
- func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetUseType() int64
- func (r *TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetOrderId(_orderId string) error
- func (r *TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetProviderId(_providerId string) error
- func (r *TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetSellerId(_sellerId string) error
- func (r *TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetStatus(_status int64) error
- func (r *TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetThirdOrderId(_thirdOrderId string) error
- func (r *TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetTime(_time string) error
- func (r *TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetUseType(_useType int64) error
- type TaobaoAlitripCarDriverStatusUpdateAPIResponse
- type TaobaoAlitripCarDriverStatusUpdateAPIResponseModel
- type TaobaoAlitripCarOrderAcceptAPIRequest
- func (r TaobaoAlitripCarOrderAcceptAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripCarOrderAcceptAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripCarOrderAcceptAPIRequest) GetParamOrderAccept() *OrderAccept
- func (r *TaobaoAlitripCarOrderAcceptAPIRequest) SetParamOrderAccept(_paramOrderAccept *OrderAccept) error
- type TaobaoAlitripCarOrderAcceptAPIResponse
- type TaobaoAlitripCarOrderAcceptAPIResponseModel
- type TaobaoAlitripCarOrderAcceptApiResult
- type TaobaoAlitripCarOrderCompleteAPIRequest
- func (r TaobaoAlitripCarOrderCompleteAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripCarOrderCompleteAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripCarOrderCompleteAPIRequest) GetParamOrderComplete() *OrderComplete
- func (r *TaobaoAlitripCarOrderCompleteAPIRequest) SetParamOrderComplete(_paramOrderComplete *OrderComplete) error
- type TaobaoAlitripCarOrderCompleteAPIResponse
- type TaobaoAlitripCarOrderCompleteAPIResponseModel
- type TaobaoAlitripCarOrderConfirmAPIRequest
- func (r TaobaoAlitripCarOrderConfirmAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripCarOrderConfirmAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripCarOrderConfirmAPIRequest) GetParamOrderConfirm() *OrderConfirm
- func (r *TaobaoAlitripCarOrderConfirmAPIRequest) SetParamOrderConfirm(_paramOrderConfirm *OrderConfirm) error
- type TaobaoAlitripCarOrderConfirmAPIResponse
- type TaobaoAlitripCarOrderConfirmAPIResponseModel
- type TaobaoAlitripCarOrderQueryAPIRequest
- type TaobaoAlitripCarOrderQueryAPIResponse
- type TaobaoAlitripCarOrderQueryAPIResponseModel
- type TaobaoAlitripCarOrderStatusAPIRequest
- func (r TaobaoAlitripCarOrderStatusAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripCarOrderStatusAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripCarOrderStatusAPIRequest) GetOperation() string
- func (r TaobaoAlitripCarOrderStatusAPIRequest) GetOrderId() string
- func (r TaobaoAlitripCarOrderStatusAPIRequest) GetProviderId() string
- func (r TaobaoAlitripCarOrderStatusAPIRequest) GetStatus() string
- func (r *TaobaoAlitripCarOrderStatusAPIRequest) SetOperation(_operation string) error
- func (r *TaobaoAlitripCarOrderStatusAPIRequest) SetOrderId(_orderId string) error
- func (r *TaobaoAlitripCarOrderStatusAPIRequest) SetProviderId(_providerId string) error
- func (r *TaobaoAlitripCarOrderStatusAPIRequest) SetStatus(_status string) error
- type TaobaoAlitripCarOrderStatusAPIResponse
- type TaobaoAlitripCarOrderStatusAPIResponseModel
- type TaobaoAlitripCarOrderStatusApiResult
- type TaobaoAlitripCarRentOrderCancelAPIRequest
- func (r TaobaoAlitripCarRentOrderCancelAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripCarRentOrderCancelAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripCarRentOrderCancelAPIRequest) GetParam0() *RentProviderCancelRequest
- func (r *TaobaoAlitripCarRentOrderCancelAPIRequest) SetParam0(_param0 *RentProviderCancelRequest) error
- type TaobaoAlitripCarRentOrderCancelAPIResponse
- type TaobaoAlitripCarRentOrderCancelAPIResponseModel
- type TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest
- func (r TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetOrderId() string
- func (r TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetProviderId() string
- func (r TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetStatus() int64
- func (r TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetThirdOrderId() string
- func (r *TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) SetOrderId(_orderId string) error
- func (r *TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) SetProviderId(_providerId string) error
- func (r *TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) SetStatus(_status int64) error
- func (r *TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) SetThirdOrderId(_thirdOrderId string) error
- type TaobaoAlitripDomesticRentCarStatusUpdateAPIResponse
- type TaobaoAlitripDomesticRentCarStatusUpdateAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlitripTravelCrsdriverArrangeAPIRequest ¶ added in v1.2.0
type AlitripTravelCrsdriverArrangeAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelCrsdriverArrangeAPIRequest
CRS接送机商家派司机接口 API请求 alitrip.travel.crsdriver.arrange
提供给CRS接送机商家派司机的API
func NewAlitripTravelCrsdriverArrangeRequest ¶
func NewAlitripTravelCrsdriverArrangeRequest() *AlitripTravelCrsdriverArrangeAPIRequest
NewAlitripTravelCrsdriverArrangeRequest 初始化AlitripTravelCrsdriverArrangeAPIRequest对象
func (AlitripTravelCrsdriverArrangeAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripTravelCrsdriverArrangeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelCrsdriverArrangeAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripTravelCrsdriverArrangeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelCrsdriverArrangeAPIRequest) GetCrsDriverArrangeParam ¶ added in v1.2.0
func (r AlitripTravelCrsdriverArrangeAPIRequest) GetCrsDriverArrangeParam() *CrsDriverArrangeParam
Get CrsDriverArrangeParam Getter
func (*AlitripTravelCrsdriverArrangeAPIRequest) SetCrsDriverArrangeParam ¶ added in v1.2.0
func (r *AlitripTravelCrsdriverArrangeAPIRequest) SetCrsDriverArrangeParam(_crsDriverArrangeParam *CrsDriverArrangeParam) error
Set is CrsDriverArrangeParam Setter 请求对象
type AlitripTravelCrsdriverArrangeAPIResponse ¶
type AlitripTravelCrsdriverArrangeAPIResponse struct { model.CommonResponse AlitripTravelCrsdriverArrangeAPIResponseModel }
AlitripTravelCrsdriverArrangeAPIResponse
CRS接送机商家派司机接口 API返回值 alitrip.travel.crsdriver.arrange
提供给CRS接送机商家派司机的API
type AlitripTravelCrsdriverArrangeAPIResponseModel ¶ added in v1.2.0
type AlitripTravelCrsdriverArrangeAPIResponseModel 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"` }
AlitripTravelCrsdriverArrangeAPIResponseModel is CRS接送机商家派司机接口 成功返回结果
type AlitripTravelCrsorderCompleteAPIRequest ¶ added in v1.2.0
type AlitripTravelCrsorderCompleteAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelCrsorderCompleteAPIRequest
CRS接送机商家服务完成接口 API请求 alitrip.travel.crsorder.complete
提供给CRS接送机商家的服务完成回调接口
func NewAlitripTravelCrsorderCompleteRequest ¶
func NewAlitripTravelCrsorderCompleteRequest() *AlitripTravelCrsorderCompleteAPIRequest
NewAlitripTravelCrsorderCompleteRequest 初始化AlitripTravelCrsorderCompleteAPIRequest对象
func (AlitripTravelCrsorderCompleteAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripTravelCrsorderCompleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelCrsorderCompleteAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripTravelCrsorderCompleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelCrsorderCompleteAPIRequest) GetCrsOrderCompleteParam ¶ added in v1.2.0
func (r AlitripTravelCrsorderCompleteAPIRequest) GetCrsOrderCompleteParam() *CrsOrderCompleteParam
Get CrsOrderCompleteParam Getter
func (*AlitripTravelCrsorderCompleteAPIRequest) SetCrsOrderCompleteParam ¶ added in v1.2.0
func (r *AlitripTravelCrsorderCompleteAPIRequest) SetCrsOrderCompleteParam(_crsOrderCompleteParam *CrsOrderCompleteParam) error
Set is CrsOrderCompleteParam Setter 请求对象
type AlitripTravelCrsorderCompleteAPIResponse ¶
type AlitripTravelCrsorderCompleteAPIResponse struct { model.CommonResponse AlitripTravelCrsorderCompleteAPIResponseModel }
AlitripTravelCrsorderCompleteAPIResponse
CRS接送机商家服务完成接口 API返回值 alitrip.travel.crsorder.complete
提供给CRS接送机商家的服务完成回调接口
type AlitripTravelCrsorderCompleteAPIResponseModel ¶ added in v1.2.0
type AlitripTravelCrsorderCompleteAPIResponseModel 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"` }
AlitripTravelCrsorderCompleteAPIResponseModel is CRS接送机商家服务完成接口 成功返回结果
type AlitripTravelCrsorderSearchAPIRequest ¶ added in v1.2.0
type AlitripTravelCrsorderSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelCrsorderSearchAPIRequest
CRS接送机订单列表搜索 API请求 alitrip.travel.crsorder.search
提供给CRS商家搜索订单列表,仅返回订单号列表
func NewAlitripTravelCrsorderSearchRequest ¶
func NewAlitripTravelCrsorderSearchRequest() *AlitripTravelCrsorderSearchAPIRequest
NewAlitripTravelCrsorderSearchRequest 初始化AlitripTravelCrsorderSearchAPIRequest对象
func (AlitripTravelCrsorderSearchAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripTravelCrsorderSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelCrsorderSearchAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripTravelCrsorderSearchAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelCrsorderSearchAPIRequest) GetBeginCancelTime ¶ added in v1.2.0
func (r AlitripTravelCrsorderSearchAPIRequest) GetBeginCancelTime() string
Get BeginCancelTime Getter
func (AlitripTravelCrsorderSearchAPIRequest) GetBeginCarUseTime ¶ added in v1.2.0
func (r AlitripTravelCrsorderSearchAPIRequest) GetBeginCarUseTime() string
Get BeginCarUseTime Getter
func (AlitripTravelCrsorderSearchAPIRequest) GetBeginPayTime ¶ added in v1.2.0
func (r AlitripTravelCrsorderSearchAPIRequest) GetBeginPayTime() string
Get BeginPayTime Getter
func (AlitripTravelCrsorderSearchAPIRequest) GetCrsOrderStatus ¶ added in v1.2.0
func (r AlitripTravelCrsorderSearchAPIRequest) GetCrsOrderStatus() int64
Get CrsOrderStatus Getter
func (AlitripTravelCrsorderSearchAPIRequest) GetCurrentPage ¶ added in v1.2.0
func (r AlitripTravelCrsorderSearchAPIRequest) GetCurrentPage() int64
Get CurrentPage Getter
func (AlitripTravelCrsorderSearchAPIRequest) GetEndCancelTime ¶ added in v1.2.0
func (r AlitripTravelCrsorderSearchAPIRequest) GetEndCancelTime() string
Get EndCancelTime Getter
func (AlitripTravelCrsorderSearchAPIRequest) GetEndCarUseTime ¶ added in v1.2.0
func (r AlitripTravelCrsorderSearchAPIRequest) GetEndCarUseTime() string
Get EndCarUseTime Getter
func (AlitripTravelCrsorderSearchAPIRequest) GetEndPayTime ¶ added in v1.2.0
func (r AlitripTravelCrsorderSearchAPIRequest) GetEndPayTime() string
Get EndPayTime Getter
func (AlitripTravelCrsorderSearchAPIRequest) GetPageSize ¶ added in v1.2.0
func (r AlitripTravelCrsorderSearchAPIRequest) GetPageSize() int64
Get PageSize Getter
func (*AlitripTravelCrsorderSearchAPIRequest) SetBeginCancelTime ¶ added in v1.2.0
func (r *AlitripTravelCrsorderSearchAPIRequest) SetBeginCancelTime(_beginCancelTime string) error
Set is BeginCancelTime Setter 取消时间-起始
func (*AlitripTravelCrsorderSearchAPIRequest) SetBeginCarUseTime ¶ added in v1.2.0
func (r *AlitripTravelCrsorderSearchAPIRequest) SetBeginCarUseTime(_beginCarUseTime string) error
Set is BeginCarUseTime Setter 用车时间-起始
func (*AlitripTravelCrsorderSearchAPIRequest) SetBeginPayTime ¶ added in v1.2.0
func (r *AlitripTravelCrsorderSearchAPIRequest) SetBeginPayTime(_beginPayTime string) error
Set is BeginPayTime Setter 支付时间-起始
func (*AlitripTravelCrsorderSearchAPIRequest) SetCrsOrderStatus ¶ added in v1.2.0
func (r *AlitripTravelCrsorderSearchAPIRequest) SetCrsOrderStatus(_crsOrderStatus int64) error
Set is CrsOrderStatus Setter 订单状态,10-待派单,20-待用车,30-已取消,40-待处理退款申请,60-已关闭,70-已完成
func (*AlitripTravelCrsorderSearchAPIRequest) SetCurrentPage ¶ added in v1.2.0
func (r *AlitripTravelCrsorderSearchAPIRequest) SetCurrentPage(_currentPage int64) error
Set is CurrentPage Setter 当前页,默认值1
func (*AlitripTravelCrsorderSearchAPIRequest) SetEndCancelTime ¶ added in v1.2.0
func (r *AlitripTravelCrsorderSearchAPIRequest) SetEndCancelTime(_endCancelTime string) error
Set is EndCancelTime Setter 取消时间-终止
func (*AlitripTravelCrsorderSearchAPIRequest) SetEndCarUseTime ¶ added in v1.2.0
func (r *AlitripTravelCrsorderSearchAPIRequest) SetEndCarUseTime(_endCarUseTime string) error
Set is EndCarUseTime Setter 用车时间-终止
func (*AlitripTravelCrsorderSearchAPIRequest) SetEndPayTime ¶ added in v1.2.0
func (r *AlitripTravelCrsorderSearchAPIRequest) SetEndPayTime(_endPayTime string) error
Set is EndPayTime Setter 支付时间-终止
func (*AlitripTravelCrsorderSearchAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *AlitripTravelCrsorderSearchAPIRequest) SetPageSize(_pageSize int64) error
Set is PageSize Setter 页大小,默认20
type AlitripTravelCrsorderSearchAPIResponse ¶
type AlitripTravelCrsorderSearchAPIResponse struct { model.CommonResponse AlitripTravelCrsorderSearchAPIResponseModel }
AlitripTravelCrsorderSearchAPIResponse
CRS接送机订单列表搜索 API返回值 alitrip.travel.crsorder.search
提供给CRS商家搜索订单列表,仅返回订单号列表
type AlitripTravelCrsorderSearchAPIResponseModel ¶ added in v1.2.0
type AlitripTravelCrsorderSearchAPIResponseModel 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"` }
AlitripTravelCrsorderSearchAPIResponseModel is 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 TaobaoAlitripCarDriverStatusUpdateAPIRequest ¶ added in v1.2.0
type TaobaoAlitripCarDriverStatusUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripCarDriverStatusUpdateAPIRequest
司机服务状态更新接口 API请求 taobao.alitrip.car.driver.status.update
飞猪用车业务回调接口,用于服务商实时回传更新司机当前服务状态
func NewTaobaoAlitripCarDriverStatusUpdateRequest ¶
func NewTaobaoAlitripCarDriverStatusUpdateRequest() *TaobaoAlitripCarDriverStatusUpdateAPIRequest
NewTaobaoAlitripCarDriverStatusUpdateRequest 初始化TaobaoAlitripCarDriverStatusUpdateAPIRequest对象
func (TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetOrderId ¶ added in v1.2.0
func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetOrderId() string
Get OrderId Getter
func (TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetProviderId ¶ added in v1.2.0
func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetProviderId() string
Get ProviderId Getter
func (TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetSellerId ¶ added in v1.2.0
func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetSellerId() string
Get SellerId Getter
func (TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetStatus ¶ added in v1.2.0
func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetStatus() int64
Get Status Getter
func (TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetThirdOrderId ¶ added in v1.2.0
func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetThirdOrderId() string
Get ThirdOrderId Getter
func (TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetTime ¶ added in v1.2.0
func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetTime() string
Get Time Getter
func (TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetUseType ¶ added in v1.2.0
func (r TaobaoAlitripCarDriverStatusUpdateAPIRequest) GetUseType() int64
Get UseType Getter
func (*TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetOrderId ¶ added in v1.2.0
func (r *TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetOrderId(_orderId string) error
Set is OrderId Setter 飞猪订单id
func (*TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetProviderId ¶ added in v1.2.0
func (r *TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetProviderId(_providerId string) error
Set is ProviderId Setter 服务商标识,由飞猪提供给到各服务商
func (*TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetSellerId ¶ added in v1.2.0
func (r *TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetSellerId(_sellerId string) error
Set is SellerId Setter 可选,卖家id
func (*TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetStatus ¶ added in v1.2.0
func (r *TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetStatus(_status int64) error
Set is Status Setter 司机服务状态。1-司机已出发,2-司机已到达,3-司机已开始服务
func (*TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetThirdOrderId ¶ added in v1.2.0
func (r *TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetThirdOrderId(_thirdOrderId string) error
Set is ThirdOrderId Setter 服务商订单id
func (*TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetTime ¶ added in v1.2.0
func (r *TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetTime(_time string) error
Set is Time Setter 状态变更相应时间(如司机出发时间、司机到达时间、服务开始时间),格式:yyyy-mm-dd hh:mm:ss
func (*TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetUseType ¶ added in v1.2.0
func (r *TaobaoAlitripCarDriverStatusUpdateAPIRequest) SetUseType(_useType int64) error
Set is UseType Setter 0:接送机 1:实时打车 2:租车(不传值默认为0)
type TaobaoAlitripCarDriverStatusUpdateAPIResponse ¶
type TaobaoAlitripCarDriverStatusUpdateAPIResponse struct { model.CommonResponse TaobaoAlitripCarDriverStatusUpdateAPIResponseModel }
TaobaoAlitripCarDriverStatusUpdateAPIResponse
司机服务状态更新接口 API返回值 taobao.alitrip.car.driver.status.update
飞猪用车业务回调接口,用于服务商实时回传更新司机当前服务状态
type TaobaoAlitripCarDriverStatusUpdateAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripCarDriverStatusUpdateAPIResponseModel 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"` }
TaobaoAlitripCarDriverStatusUpdateAPIResponseModel is 司机服务状态更新接口 成功返回结果
type TaobaoAlitripCarOrderAcceptAPIRequest ¶ added in v1.2.0
type TaobaoAlitripCarOrderAcceptAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripCarOrderAcceptAPIRequest
确认接单 API请求 taobao.alitrip.car.order.accept
用来接收服务商确认接单信息
func NewTaobaoAlitripCarOrderAcceptRequest ¶
func NewTaobaoAlitripCarOrderAcceptRequest() *TaobaoAlitripCarOrderAcceptAPIRequest
NewTaobaoAlitripCarOrderAcceptRequest 初始化TaobaoAlitripCarOrderAcceptAPIRequest对象
func (TaobaoAlitripCarOrderAcceptAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderAcceptAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripCarOrderAcceptAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderAcceptAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripCarOrderAcceptAPIRequest) GetParamOrderAccept ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderAcceptAPIRequest) GetParamOrderAccept() *OrderAccept
Get ParamOrderAccept Getter
func (*TaobaoAlitripCarOrderAcceptAPIRequest) SetParamOrderAccept ¶ added in v1.2.0
func (r *TaobaoAlitripCarOrderAcceptAPIRequest) SetParamOrderAccept(_paramOrderAccept *OrderAccept) error
Set is ParamOrderAccept Setter 确认订单请求
type TaobaoAlitripCarOrderAcceptAPIResponse ¶
type TaobaoAlitripCarOrderAcceptAPIResponse struct { model.CommonResponse TaobaoAlitripCarOrderAcceptAPIResponseModel }
TaobaoAlitripCarOrderAcceptAPIResponse
确认接单 API返回值 taobao.alitrip.car.order.accept
用来接收服务商确认接单信息
type TaobaoAlitripCarOrderAcceptAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripCarOrderAcceptAPIResponseModel 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"` }
TaobaoAlitripCarOrderAcceptAPIResponseModel is 确认接单 成功返回结果
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 TaobaoAlitripCarOrderCompleteAPIRequest ¶ added in v1.2.0
type TaobaoAlitripCarOrderCompleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripCarOrderCompleteAPIRequest
服务完成API API请求 taobao.alitrip.car.order.complete
用来接收服务商订单流程完成信息
func NewTaobaoAlitripCarOrderCompleteRequest ¶
func NewTaobaoAlitripCarOrderCompleteRequest() *TaobaoAlitripCarOrderCompleteAPIRequest
NewTaobaoAlitripCarOrderCompleteRequest 初始化TaobaoAlitripCarOrderCompleteAPIRequest对象
func (TaobaoAlitripCarOrderCompleteAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderCompleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripCarOrderCompleteAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderCompleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripCarOrderCompleteAPIRequest) GetParamOrderComplete ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderCompleteAPIRequest) GetParamOrderComplete() *OrderComplete
Get ParamOrderComplete Getter
func (*TaobaoAlitripCarOrderCompleteAPIRequest) SetParamOrderComplete ¶ added in v1.2.0
func (r *TaobaoAlitripCarOrderCompleteAPIRequest) SetParamOrderComplete(_paramOrderComplete *OrderComplete) error
Set is ParamOrderComplete Setter 服务完成API
type TaobaoAlitripCarOrderCompleteAPIResponse ¶
type TaobaoAlitripCarOrderCompleteAPIResponse struct { model.CommonResponse TaobaoAlitripCarOrderCompleteAPIResponseModel }
TaobaoAlitripCarOrderCompleteAPIResponse
服务完成API API返回值 taobao.alitrip.car.order.complete
用来接收服务商订单流程完成信息
type TaobaoAlitripCarOrderCompleteAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripCarOrderCompleteAPIResponseModel 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"` }
TaobaoAlitripCarOrderCompleteAPIResponseModel is 服务完成API 成功返回结果
type TaobaoAlitripCarOrderConfirmAPIRequest ¶ added in v1.2.0
type TaobaoAlitripCarOrderConfirmAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripCarOrderConfirmAPIRequest
司机应答API API请求 taobao.alitrip.car.order.confirm
航旅事业群-度假事业部-旅行用车项目组对外部服务商提供的司机应答回调接口
func NewTaobaoAlitripCarOrderConfirmRequest ¶
func NewTaobaoAlitripCarOrderConfirmRequest() *TaobaoAlitripCarOrderConfirmAPIRequest
NewTaobaoAlitripCarOrderConfirmRequest 初始化TaobaoAlitripCarOrderConfirmAPIRequest对象
func (TaobaoAlitripCarOrderConfirmAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderConfirmAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripCarOrderConfirmAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderConfirmAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripCarOrderConfirmAPIRequest) GetParamOrderConfirm ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderConfirmAPIRequest) GetParamOrderConfirm() *OrderConfirm
Get ParamOrderConfirm Getter
func (*TaobaoAlitripCarOrderConfirmAPIRequest) SetParamOrderConfirm ¶ added in v1.2.0
func (r *TaobaoAlitripCarOrderConfirmAPIRequest) SetParamOrderConfirm(_paramOrderConfirm *OrderConfirm) error
Set is ParamOrderConfirm Setter 请求对象
type TaobaoAlitripCarOrderConfirmAPIResponse ¶
type TaobaoAlitripCarOrderConfirmAPIResponse struct { model.CommonResponse TaobaoAlitripCarOrderConfirmAPIResponseModel }
TaobaoAlitripCarOrderConfirmAPIResponse
司机应答API API返回值 taobao.alitrip.car.order.confirm
航旅事业群-度假事业部-旅行用车项目组对外部服务商提供的司机应答回调接口
type TaobaoAlitripCarOrderConfirmAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripCarOrderConfirmAPIResponseModel 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"` }
TaobaoAlitripCarOrderConfirmAPIResponseModel is 司机应答API 成功返回结果
type TaobaoAlitripCarOrderQueryAPIRequest ¶ added in v1.2.0
type TaobaoAlitripCarOrderQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripCarOrderQueryAPIRequest
飞猪订单状态查询接口 API请求 taobao.alitrip.car.order.query
提供给直连商家查询在飞猪平台上产生的订单
func NewTaobaoAlitripCarOrderQueryRequest ¶
func NewTaobaoAlitripCarOrderQueryRequest() *TaobaoAlitripCarOrderQueryAPIRequest
NewTaobaoAlitripCarOrderQueryRequest 初始化TaobaoAlitripCarOrderQueryAPIRequest对象
func (TaobaoAlitripCarOrderQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripCarOrderQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripCarOrderQueryAPIRequest) GetOrderId ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderQueryAPIRequest) GetOrderId() string
Get OrderId Getter
func (*TaobaoAlitripCarOrderQueryAPIRequest) SetOrderId ¶ added in v1.2.0
func (r *TaobaoAlitripCarOrderQueryAPIRequest) SetOrderId(_orderId string) error
Set is OrderId Setter 飞猪平台订单id
type TaobaoAlitripCarOrderQueryAPIResponse ¶
type TaobaoAlitripCarOrderQueryAPIResponse struct { model.CommonResponse TaobaoAlitripCarOrderQueryAPIResponseModel }
TaobaoAlitripCarOrderQueryAPIResponse
飞猪订单状态查询接口 API返回值 taobao.alitrip.car.order.query
提供给直连商家查询在飞猪平台上产生的订单
type TaobaoAlitripCarOrderQueryAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripCarOrderQueryAPIResponseModel 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"` }
TaobaoAlitripCarOrderQueryAPIResponseModel is 飞猪订单状态查询接口 成功返回结果
type TaobaoAlitripCarOrderStatusAPIRequest ¶ added in v1.2.0
type TaobaoAlitripCarOrderStatusAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripCarOrderStatusAPIRequest
商家订单状态改变通知接口(神州专车接口) API请求 taobao.alitrip.car.order.status
商家订单状态改变通知接口,神州专车专用接口!
func NewTaobaoAlitripCarOrderStatusRequest ¶
func NewTaobaoAlitripCarOrderStatusRequest() *TaobaoAlitripCarOrderStatusAPIRequest
NewTaobaoAlitripCarOrderStatusRequest 初始化TaobaoAlitripCarOrderStatusAPIRequest对象
func (TaobaoAlitripCarOrderStatusAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderStatusAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripCarOrderStatusAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderStatusAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripCarOrderStatusAPIRequest) GetOperation ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderStatusAPIRequest) GetOperation() string
Get Operation Getter
func (TaobaoAlitripCarOrderStatusAPIRequest) GetOrderId ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderStatusAPIRequest) GetOrderId() string
Get OrderId Getter
func (TaobaoAlitripCarOrderStatusAPIRequest) GetProviderId ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderStatusAPIRequest) GetProviderId() string
Get ProviderId Getter
func (TaobaoAlitripCarOrderStatusAPIRequest) GetStatus ¶ added in v1.2.0
func (r TaobaoAlitripCarOrderStatusAPIRequest) GetStatus() string
Get Status Getter
func (*TaobaoAlitripCarOrderStatusAPIRequest) SetOperation ¶ added in v1.2.0
func (r *TaobaoAlitripCarOrderStatusAPIRequest) SetOperation(_operation string) error
Set is Operation Setter 固定值:statusChanged
func (*TaobaoAlitripCarOrderStatusAPIRequest) SetOrderId ¶ added in v1.2.0
func (r *TaobaoAlitripCarOrderStatusAPIRequest) SetOrderId(_orderId string) error
Set is OrderId Setter 飞猪订单ID
func (*TaobaoAlitripCarOrderStatusAPIRequest) SetProviderId ¶ added in v1.2.0
func (r *TaobaoAlitripCarOrderStatusAPIRequest) SetProviderId(_providerId string) error
Set is ProviderId Setter 服务商ID
func (*TaobaoAlitripCarOrderStatusAPIRequest) SetStatus ¶ added in v1.2.0
func (r *TaobaoAlitripCarOrderStatusAPIRequest) SetStatus(_status string) error
Set is Status Setter 司机服务状态。arriving-司机已出发,arrived-司机已到达,serviceStarted-已开始服务,serviceFinished-已结束服务
type TaobaoAlitripCarOrderStatusAPIResponse ¶
type TaobaoAlitripCarOrderStatusAPIResponse struct { model.CommonResponse TaobaoAlitripCarOrderStatusAPIResponseModel }
TaobaoAlitripCarOrderStatusAPIResponse
商家订单状态改变通知接口(神州专车接口) API返回值 taobao.alitrip.car.order.status
商家订单状态改变通知接口,神州专车专用接口!
type TaobaoAlitripCarOrderStatusAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripCarOrderStatusAPIResponseModel 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"` }
TaobaoAlitripCarOrderStatusAPIResponseModel is 商家订单状态改变通知接口(神州专车接口) 成功返回结果
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 TaobaoAlitripCarRentOrderCancelAPIRequest ¶ added in v1.2.0
type TaobaoAlitripCarRentOrderCancelAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripCarRentOrderCancelAPIRequest
租车-取消订单 API请求 taobao.alitrip.car.rent.order.cancel
服务商主动取消用户订单或者拒绝取消订单.
func NewTaobaoAlitripCarRentOrderCancelRequest ¶
func NewTaobaoAlitripCarRentOrderCancelRequest() *TaobaoAlitripCarRentOrderCancelAPIRequest
NewTaobaoAlitripCarRentOrderCancelRequest 初始化TaobaoAlitripCarRentOrderCancelAPIRequest对象
func (TaobaoAlitripCarRentOrderCancelAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripCarRentOrderCancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripCarRentOrderCancelAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripCarRentOrderCancelAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripCarRentOrderCancelAPIRequest) GetParam0 ¶ added in v1.2.0
func (r TaobaoAlitripCarRentOrderCancelAPIRequest) GetParam0() *RentProviderCancelRequest
Get Param0 Getter
func (*TaobaoAlitripCarRentOrderCancelAPIRequest) SetParam0 ¶ added in v1.2.0
func (r *TaobaoAlitripCarRentOrderCancelAPIRequest) SetParam0(_param0 *RentProviderCancelRequest) error
Set is Param0 Setter 取消请求对象
type TaobaoAlitripCarRentOrderCancelAPIResponse ¶
type TaobaoAlitripCarRentOrderCancelAPIResponse struct { model.CommonResponse TaobaoAlitripCarRentOrderCancelAPIResponseModel }
TaobaoAlitripCarRentOrderCancelAPIResponse
租车-取消订单 API返回值 taobao.alitrip.car.rent.order.cancel
服务商主动取消用户订单或者拒绝取消订单.
type TaobaoAlitripCarRentOrderCancelAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripCarRentOrderCancelAPIResponseModel 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"` }
TaobaoAlitripCarRentOrderCancelAPIResponseModel is 租车-取消订单 成功返回结果
type TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest ¶ added in v1.2.0
type TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest
航旅国内租车订单状态更新 API请求 taobao.alitrip.domestic.rent.car.status.update
航旅国内租车订单状态更新
func NewTaobaoAlitripDomesticRentCarStatusUpdateRequest ¶
func NewTaobaoAlitripDomesticRentCarStatusUpdateRequest() *TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest
NewTaobaoAlitripDomesticRentCarStatusUpdateRequest 初始化TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest对象
func (TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetOrderId ¶ added in v1.2.0
func (r TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetOrderId() string
Get OrderId Getter
func (TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetProviderId ¶ added in v1.2.0
func (r TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetProviderId() string
Get ProviderId Getter
func (TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetStatus ¶ added in v1.2.0
func (r TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetStatus() int64
Get Status Getter
func (TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetThirdOrderId ¶ added in v1.2.0
func (r TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) GetThirdOrderId() string
Get ThirdOrderId Getter
func (*TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) SetOrderId ¶ added in v1.2.0
func (r *TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) SetOrderId(_orderId string) error
Set is OrderId Setter 飞猪平台订单号
func (*TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) SetProviderId ¶ added in v1.2.0
func (r *TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) SetProviderId(_providerId string) error
Set is ProviderId Setter 服务商标识,由飞猪提供给到各服务商
func (*TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) SetStatus ¶ added in v1.2.0
func (r *TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) SetStatus(_status int64) error
Set is Status Setter 121-用车中(用户取车成功) 122-待结算(用户还车成功)
func (*TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) SetThirdOrderId ¶ added in v1.2.0
func (r *TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest) SetThirdOrderId(_thirdOrderId string) error
Set is ThirdOrderId Setter 服务商平台订单号
type TaobaoAlitripDomesticRentCarStatusUpdateAPIResponse ¶
type TaobaoAlitripDomesticRentCarStatusUpdateAPIResponse struct { model.CommonResponse TaobaoAlitripDomesticRentCarStatusUpdateAPIResponseModel }
TaobaoAlitripDomesticRentCarStatusUpdateAPIResponse
航旅国内租车订单状态更新 API返回值 taobao.alitrip.domestic.rent.car.status.update
航旅国内租车订单状态更新
type TaobaoAlitripDomesticRentCarStatusUpdateAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripDomesticRentCarStatusUpdateAPIResponseModel 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"` }
TaobaoAlitripDomesticRentCarStatusUpdateAPIResponseModel is 航旅国内租车订单状态更新 成功返回结果
Source Files ¶
- AlitripTravelCrsdriverArrangeAPIRequest.go
- AlitripTravelCrsdriverArrangeAPIResponse.go
- AlitripTravelCrsorderCompleteAPIRequest.go
- AlitripTravelCrsorderCompleteAPIResponse.go
- AlitripTravelCrsorderSearchAPIRequest.go
- AlitripTravelCrsorderSearchAPIResponse.go
- CrsDriverArrangeParam.go
- CrsOrderCompleteParam.go
- DetailPriceInfo.go
- OrderAccept.go
- OrderComplete.go
- OrderConfirm.go
- OrderQueryRsp.go
- PriceInfo.go
- RentProviderCancelRequest.go
- TaobaoAlitripCarDriverStatusUpdateAPIRequest.go
- TaobaoAlitripCarDriverStatusUpdateAPIResponse.go
- TaobaoAlitripCarOrderAcceptAPIRequest.go
- TaobaoAlitripCarOrderAcceptAPIResponse.go
- TaobaoAlitripCarOrderAcceptApiResult.go
- TaobaoAlitripCarOrderCompleteAPIRequest.go
- TaobaoAlitripCarOrderCompleteAPIResponse.go
- TaobaoAlitripCarOrderConfirmAPIRequest.go
- TaobaoAlitripCarOrderConfirmAPIResponse.go
- TaobaoAlitripCarOrderQueryAPIRequest.go
- TaobaoAlitripCarOrderQueryAPIResponse.go
- TaobaoAlitripCarOrderStatusAPIRequest.go
- TaobaoAlitripCarOrderStatusAPIResponse.go
- TaobaoAlitripCarOrderStatusApiResult.go
- TaobaoAlitripCarRentOrderCancelAPIRequest.go
- TaobaoAlitripCarRentOrderCancelAPIResponse.go
- TaobaoAlitripDomesticRentCarStatusUpdateAPIRequest.go
- TaobaoAlitripDomesticRentCarStatusUpdateAPIResponse.go
- doc.go