Documentation ¶
Overview ¶
Package xhotelonlineorder 包含酒店在线预订API相关结构体
Index ¶
- type AlitripxhotelchannelnotifyAPIRequest
- func (r AlitripxhotelchannelnotifyAPIRequest) GetApiMethodName() string
- func (r AlitripxhotelchannelnotifyAPIRequest) GetApiParams(params url.Values)
- func (r AlitripxhotelchannelnotifyAPIRequest) GetOrderNotifyQuery() *OrderNotifyQuery
- func (r AlitripxhotelchannelnotifyAPIRequest) GetRawParams() model.Params
- func (r *AlitripxhotelchannelnotifyAPIRequest) SetOrderNotifyQuery(_orderNotifyQuery *OrderNotifyQuery) error
- type AlitripxhotelchannelnotifyAPIResponse
- type AlitripxhotelchannelnotifyAPIResponseModel
- type AlitripxhotelchannelordercreateAPIRequest
- func (r AlitripxhotelchannelordercreateAPIRequest) GetApiMethodName() string
- func (r AlitripxhotelchannelordercreateAPIRequest) GetApiParams(params url.Values)
- func (r AlitripxhotelchannelordercreateAPIRequest) GetOutSourceOrderCreateReq() *OutSourceOrderCreateReq
- func (r AlitripxhotelchannelordercreateAPIRequest) GetRawParams() model.Params
- func (r *AlitripxhotelchannelordercreateAPIRequest) SetOutSourceOrderCreateReq(_outSourceOrderCreateReq *OutSourceOrderCreateReq) error
- type AlitripxhotelchannelordercreateAPIResponse
- type AlitripxhotelchannelordercreateAPIResponseModel
- type AlitripxhotelchannelordermembertypesyncAPIRequest
- func (r AlitripxhotelchannelordermembertypesyncAPIRequest) GetApiMethodName() string
- func (r AlitripxhotelchannelordermembertypesyncAPIRequest) GetApiParams(params url.Values)
- func (r AlitripxhotelchannelordermembertypesyncAPIRequest) GetChannelSyncOrderMemberType() *ChannelSyncOrderMemberType
- func (r AlitripxhotelchannelordermembertypesyncAPIRequest) GetRawParams() model.Params
- func (r *AlitripxhotelchannelordermembertypesyncAPIRequest) SetChannelSyncOrderMemberType(_channelSyncOrderMemberType *ChannelSyncOrderMemberType) error
- type AlitripxhotelchannelordermembertypesyncAPIResponse
- type AlitripxhotelchannelordermembertypesyncAPIResponseModel
- type CancelPolicy
- type ChannelSyncOrderMemberType
- type CheckDateDo
- type CommonInvoiceInfo
- type CreditCard
- type DailyPrice
- type DailyPriceInfo
- type DailyPriceTo
- type DailyRoomFee
- type FaceScanParam
- type GuestInfo
- type HbsDailyPriceDo
- type HbsResult
- type HotelOrderDirectInfo
- type HotelOrderSellerDo
- type InvoiceInfoParam
- type OrderBillInfo
- type OrderNotifyQuery
- type OrderPromotionDetail
- type OrderPromotionDo
- type OrderSellerPaymentDo
- type OrderSettleDo
- type OtherFeeDetail
- type OtherFeeInfo
- type OutSourceOrderCreateReq
- type OutSourceOrderCreateRes
- type RoomSettleInfo
- type StatementOrder
- type TaobaoxhotelcommoninvoicelistvtwoAPIRequest
- type TaobaoxhotelcommoninvoicelistvtwoAPIResponse
- type TaobaoxhotelcommoninvoicelistvtwoAPIResponseModel
- type TaobaoxhotelcommoninvoicelistvtwoResultSet
- type TaobaoxhotelcommoninvoiceremoveAPIRequest
- func (r TaobaoxhotelcommoninvoiceremoveAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelcommoninvoiceremoveAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelcommoninvoiceremoveAPIRequest) GetInvoiceId() int64
- func (r TaobaoxhotelcommoninvoiceremoveAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelcommoninvoiceremoveAPIRequest) GetUserNick() string
- func (r *TaobaoxhotelcommoninvoiceremoveAPIRequest) SetInvoiceId(_invoiceId int64) error
- func (r *TaobaoxhotelcommoninvoiceremoveAPIRequest) SetUserNick(_userNick string) error
- type TaobaoxhotelcommoninvoiceremoveAPIResponse
- type TaobaoxhotelcommoninvoiceremoveAPIResponseModel
- type TaobaoxhotelcommoninvoiceupdateAPIRequest
- func (r TaobaoxhotelcommoninvoiceupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelcommoninvoiceupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelcommoninvoiceupdateAPIRequest) GetCommonInvoiceInfoParam() *CommonInvoiceInfo
- func (r TaobaoxhotelcommoninvoiceupdateAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelcommoninvoiceupdateAPIRequest) SetCommonInvoiceInfoParam(_commonInvoiceInfoParam *CommonInvoiceInfo) error
- type TaobaoxhotelcommoninvoiceupdateAPIResponse
- type TaobaoxhotelcommoninvoiceupdateAPIResponseModel
- type TaobaoxhotelfastinvoicecompleteAPIRequest
- func (r TaobaoxhotelfastinvoicecompleteAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelfastinvoicecompleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelfastinvoicecompleteAPIRequest) GetInvoiceInfoParam() *InvoiceInfoParam
- func (r TaobaoxhotelfastinvoicecompleteAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelfastinvoicecompleteAPIRequest) SetInvoiceInfoParam(_invoiceInfoParam *InvoiceInfoParam) error
- type TaobaoxhotelfastinvoicecompleteAPIResponse
- type TaobaoxhotelfastinvoicecompleteAPIResponseModel
- type TaobaoxhotelfastinvoicerequestAPIRequest
- func (r TaobaoxhotelfastinvoicerequestAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelfastinvoicerequestAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelfastinvoicerequestAPIRequest) GetInvoiceInfoParam() *InvoiceInfoParam
- func (r TaobaoxhotelfastinvoicerequestAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelfastinvoicerequestAPIRequest) SetInvoiceInfoParam(_invoiceInfoParam *InvoiceInfoParam) error
- type TaobaoxhotelfastinvoicerequestAPIResponse
- type TaobaoxhotelfastinvoicerequestAPIResponseModel
- type TaobaoxhotelfuturesoftmodifyAPIRequest
- func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetContext() string
- func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetExpireTime() int64
- func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetHid() int64
- func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetHotelCode() string
- func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetOperateType() string
- func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetOutOrderId() string
- func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetRequestId() string
- func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetTid() int64
- func (r *TaobaoxhotelfuturesoftmodifyAPIRequest) SetContext(_context string) error
- func (r *TaobaoxhotelfuturesoftmodifyAPIRequest) SetExpireTime(_expireTime int64) error
- func (r *TaobaoxhotelfuturesoftmodifyAPIRequest) SetHid(_hid int64) error
- func (r *TaobaoxhotelfuturesoftmodifyAPIRequest) SetHotelCode(_hotelCode string) error
- func (r *TaobaoxhotelfuturesoftmodifyAPIRequest) SetOperateType(_operateType string) error
- func (r *TaobaoxhotelfuturesoftmodifyAPIRequest) SetOutOrderId(_outOrderId string) error
- func (r *TaobaoxhotelfuturesoftmodifyAPIRequest) SetRequestId(_requestId string) error
- func (r *TaobaoxhotelfuturesoftmodifyAPIRequest) SetTid(_tid int64) error
- type TaobaoxhotelfuturesoftmodifyAPIResponse
- type TaobaoxhotelfuturesoftmodifyAPIResponseModel
- type TaobaoxhotelintlrateupdateAPIRequest
- func (r TaobaoxhotelintlrateupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelintlrateupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelintlrateupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelintlrateupdateAPIRequest) GetUpdateRateParam() *UpdateRateParam
- func (r *TaobaoxhotelintlrateupdateAPIRequest) SetUpdateRateParam(_updateRateParam *UpdateRateParam) error
- type TaobaoxhotelintlrateupdateAPIResponse
- type TaobaoxhotelintlrateupdateAPIResponseModel
- type TaobaoxhotelintlrateupdateResultSet
- type TaobaoxhotelmemberrightupdateAPIRequest
- func (r TaobaoxhotelmemberrightupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelmemberrightupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelmemberrightupdateAPIRequest) GetHasRight() bool
- func (r TaobaoxhotelmemberrightupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelmemberrightupdateAPIRequest) GetRightType() int64
- func (r TaobaoxhotelmemberrightupdateAPIRequest) GetTaobaoUserId() int64
- func (r *TaobaoxhotelmemberrightupdateAPIRequest) SetHasRight(_hasRight bool) error
- func (r *TaobaoxhotelmemberrightupdateAPIRequest) SetRightType(_rightType int64) error
- func (r *TaobaoxhotelmemberrightupdateAPIRequest) SetTaobaoUserId(_taobaoUserId int64) error
- type TaobaoxhotelmemberrightupdateAPIResponse
- type TaobaoxhotelmemberrightupdateAPIResponseModel
- type TaobaoxhotelorderalipayfacecancelsettleAPIRequest
- func (r TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetOutId() string
- func (r TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetReason() string
- func (r TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetTid() int64
- func (r *TaobaoxhotelorderalipayfacecancelsettleAPIRequest) SetOutId(_outId string) error
- func (r *TaobaoxhotelorderalipayfacecancelsettleAPIRequest) SetReason(_reason string) error
- func (r *TaobaoxhotelorderalipayfacecancelsettleAPIRequest) SetTid(_tid int64) error
- type TaobaoxhotelorderalipayfacecancelsettleAPIResponse
- type TaobaoxhotelorderalipayfacecancelsettleAPIResponseModel
- type TaobaoxhotelorderalipayfacesettleAPIRequest
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetAmount() int64
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetCheckOut() string
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetContainGuarantee() int64
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetCurrencyCode() string
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetCurrencyRate() string
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetDailyPriceInfo() string
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetHotelCode() string
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetMemo() string
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetOtherFee() int64
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetOtherFeeDetail() string
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetOutId() string
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetPriceChange() int64
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetRoomNo() string
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetRoomSettleInfoList() []RoomSettleInfo
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetTaxAndFee() int64
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetTid() int64
- func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetTotalRoomFee() int64
- func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetAmount(_amount int64) error
- func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetCheckOut(_checkOut string) error
- func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetContainGuarantee(_containGuarantee int64) error
- func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetCurrencyCode(_currencyCode string) error
- func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetCurrencyRate(_currencyRate string) error
- func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetDailyPriceInfo(_dailyPriceInfo string) error
- func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetHotelCode(_hotelCode string) error
- func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetMemo(_memo string) error
- func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetOtherFee(_otherFee int64) error
- func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetOtherFeeDetail(_otherFeeDetail string) error
- func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetOutId(_outId string) error
- func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetPriceChange(_priceChange int64) error
- func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetRoomNo(_roomNo string) error
- func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetRoomSettleInfoList(_roomSettleInfoList []RoomSettleInfo) error
- func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetTaxAndFee(_taxAndFee int64) error
- func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetTid(_tid int64) error
- func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetTotalRoomFee(_totalRoomFee int64) error
- type TaobaoxhotelorderalipayfacesettleAPIResponse
- type TaobaoxhotelorderalipayfacesettleAPIResponseModel
- type TaobaoxhotelorderalipayfaceupdateAPIRequest
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetCancelType() int64
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetCheckinDate() string
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetCheckoutDate() string
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetConfirmCode() string
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetOperator() string
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetOptType() int64
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetOutId() string
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetOutRoomNumber() string
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetReasonText() string
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetReasonType() int64
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetRooms() int64
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetSelfCheckin() bool
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetSyncToHotel() string
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetTid() int64
- func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetTids() string
- func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetCancelType(_cancelType int64) error
- func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetCheckinDate(_checkinDate string) error
- func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetCheckoutDate(_checkoutDate string) error
- func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetConfirmCode(_confirmCode string) error
- func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetOperator(_operator string) error
- func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetOptType(_optType int64) error
- func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetOutId(_outId string) error
- func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetOutRoomNumber(_outRoomNumber string) error
- func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetReasonText(_reasonText string) error
- func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetReasonType(_reasonType int64) error
- func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetRooms(_rooms int64) error
- func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetSelfCheckin(_selfCheckin bool) error
- func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetSyncToHotel(_syncToHotel string) error
- func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetTid(_tid int64) error
- func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetTids(_tids string) error
- type TaobaoxhotelorderalipayfaceupdateAPIResponse
- type TaobaoxhotelorderalipayfaceupdateAPIResponseModel
- type TaobaoxhotelorderdetailsearchAPIRequest
- func (r TaobaoxhotelorderdetailsearchAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelorderdetailsearchAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelorderdetailsearchAPIRequest) GetOutOid() string
- func (r TaobaoxhotelorderdetailsearchAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelorderdetailsearchAPIRequest) GetTid() int64
- func (r *TaobaoxhotelorderdetailsearchAPIRequest) SetOutOid(_outOid string) error
- func (r *TaobaoxhotelorderdetailsearchAPIRequest) SetTid(_tid int64) error
- type TaobaoxhotelorderdetailsearchAPIResponse
- type TaobaoxhotelorderdetailsearchAPIResponseModel
- type TaobaoxhotelorderfuturefacescanputAPIRequest
- func (r TaobaoxhotelorderfuturefacescanputAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelorderfuturefacescanputAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelorderfuturefacescanputAPIRequest) GetFaceScanParam() *FaceScanParam
- func (r TaobaoxhotelorderfuturefacescanputAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelorderfuturefacescanputAPIRequest) SetFaceScanParam(_faceScanParam *FaceScanParam) error
- type TaobaoxhotelorderfuturefacescanputAPIResponse
- type TaobaoxhotelorderfuturefacescanputAPIResponseModel
- type TaobaoxhotelorderfuturefacescanputResultSet
- type TaobaoxhotelorderfutureinfogetAPIRequest
- func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetCreatedEnd() string
- func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetCreatedStart() string
- func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetHotelCode() string
- func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetOperateType() int64
- func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetOutUuid() string
- func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetTids() string
- func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetVendor() string
- func (r *TaobaoxhotelorderfutureinfogetAPIRequest) SetCreatedEnd(_createdEnd string) error
- func (r *TaobaoxhotelorderfutureinfogetAPIRequest) SetCreatedStart(_createdStart string) error
- func (r *TaobaoxhotelorderfutureinfogetAPIRequest) SetHotelCode(_hotelCode string) error
- func (r *TaobaoxhotelorderfutureinfogetAPIRequest) SetOperateType(_operateType int64) error
- func (r *TaobaoxhotelorderfutureinfogetAPIRequest) SetOutUuid(_outUuid string) error
- func (r *TaobaoxhotelorderfutureinfogetAPIRequest) SetTids(_tids string) error
- func (r *TaobaoxhotelorderfutureinfogetAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelorderfutureinfogetAPIResponse
- type TaobaoxhotelorderfutureinfogetAPIResponseModel
- type TaobaoxhotelorderfutureinfoputAPIRequest
- func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetContext() string
- func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetHotelCode() string
- func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetOperateType() int64
- func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetOutUuid() string
- func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetRequestId() string
- func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetVendor() string
- func (r *TaobaoxhotelorderfutureinfoputAPIRequest) SetContext(_context string) error
- func (r *TaobaoxhotelorderfutureinfoputAPIRequest) SetHotelCode(_hotelCode string) error
- func (r *TaobaoxhotelorderfutureinfoputAPIRequest) SetOperateType(_operateType int64) error
- func (r *TaobaoxhotelorderfutureinfoputAPIRequest) SetOutUuid(_outUuid string) error
- func (r *TaobaoxhotelorderfutureinfoputAPIRequest) SetRequestId(_requestId string) error
- func (r *TaobaoxhotelorderfutureinfoputAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelorderfutureinfoputAPIResponse
- type TaobaoxhotelorderfutureinfoputAPIResponseModel
- type TaobaoxhotelordersearchAPIRequest
- func (r TaobaoxhotelordersearchAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelordersearchAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelordersearchAPIRequest) GetCheckinDateEnd() string
- func (r TaobaoxhotelordersearchAPIRequest) GetCheckinDateStart() string
- func (r TaobaoxhotelordersearchAPIRequest) GetCheckoutDateEnd() string
- func (r TaobaoxhotelordersearchAPIRequest) GetCheckoutDateStart() string
- func (r TaobaoxhotelordersearchAPIRequest) GetCreatedEnd() string
- func (r TaobaoxhotelordersearchAPIRequest) GetCreatedStart() string
- func (r TaobaoxhotelordersearchAPIRequest) GetDirect() bool
- func (r TaobaoxhotelordersearchAPIRequest) GetOrderIds() string
- func (r TaobaoxhotelordersearchAPIRequest) GetOrderTids() string
- func (r TaobaoxhotelordersearchAPIRequest) GetOutOids() string
- func (r TaobaoxhotelordersearchAPIRequest) GetPageNo() int64
- func (r TaobaoxhotelordersearchAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelordersearchAPIRequest) GetTradeStatus() string
- func (r TaobaoxhotelordersearchAPIRequest) GetVendor() string
- func (r *TaobaoxhotelordersearchAPIRequest) SetCheckinDateEnd(_checkinDateEnd string) error
- func (r *TaobaoxhotelordersearchAPIRequest) SetCheckinDateStart(_checkinDateStart string) error
- func (r *TaobaoxhotelordersearchAPIRequest) SetCheckoutDateEnd(_checkoutDateEnd string) error
- func (r *TaobaoxhotelordersearchAPIRequest) SetCheckoutDateStart(_checkoutDateStart string) error
- func (r *TaobaoxhotelordersearchAPIRequest) SetCreatedEnd(_createdEnd string) error
- func (r *TaobaoxhotelordersearchAPIRequest) SetCreatedStart(_createdStart string) error
- func (r *TaobaoxhotelordersearchAPIRequest) SetDirect(_direct bool) error
- func (r *TaobaoxhotelordersearchAPIRequest) SetOrderIds(_orderIds string) error
- func (r *TaobaoxhotelordersearchAPIRequest) SetOrderTids(_orderTids string) error
- func (r *TaobaoxhotelordersearchAPIRequest) SetOutOids(_outOids string) error
- func (r *TaobaoxhotelordersearchAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoxhotelordersearchAPIRequest) SetTradeStatus(_tradeStatus string) error
- func (r *TaobaoxhotelordersearchAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelordersearchAPIResponse
- type TaobaoxhotelordersearchAPIResponseModel
- type TaobaoxhotelorderstatementgetAPIRequest
- func (r TaobaoxhotelorderstatementgetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelorderstatementgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelorderstatementgetAPIRequest) GetDateType() int64
- func (r TaobaoxhotelorderstatementgetAPIRequest) GetFrom() string
- func (r TaobaoxhotelorderstatementgetAPIRequest) GetHotelCode() string
- func (r TaobaoxhotelorderstatementgetAPIRequest) GetOrderTids() string
- func (r TaobaoxhotelorderstatementgetAPIRequest) GetPageSize() int64
- func (r TaobaoxhotelorderstatementgetAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelorderstatementgetAPIRequest) GetStart() int64
- func (r TaobaoxhotelorderstatementgetAPIRequest) GetTid() int64
- func (r TaobaoxhotelorderstatementgetAPIRequest) GetTo() string
- func (r TaobaoxhotelorderstatementgetAPIRequest) GetVendor() string
- func (r *TaobaoxhotelorderstatementgetAPIRequest) SetDateType(_dateType int64) error
- func (r *TaobaoxhotelorderstatementgetAPIRequest) SetFrom(_from string) error
- func (r *TaobaoxhotelorderstatementgetAPIRequest) SetHotelCode(_hotelCode string) error
- func (r *TaobaoxhotelorderstatementgetAPIRequest) SetOrderTids(_orderTids string) error
- func (r *TaobaoxhotelorderstatementgetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoxhotelorderstatementgetAPIRequest) SetStart(_start int64) error
- func (r *TaobaoxhotelorderstatementgetAPIRequest) SetTid(_tid int64) error
- func (r *TaobaoxhotelorderstatementgetAPIRequest) SetTo(_to string) error
- func (r *TaobaoxhotelorderstatementgetAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelorderstatementgetAPIResponse
- type TaobaoxhotelorderstatementgetAPIResponseModel
- type TaobaoxhotelorderupdateAPIRequest
- func (r TaobaoxhotelorderupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelorderupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelorderupdateAPIRequest) GetConfirmCode() string
- func (r TaobaoxhotelorderupdateAPIRequest) GetInvoiceAmount() int64
- func (r TaobaoxhotelorderupdateAPIRequest) GetOptType() int64
- func (r TaobaoxhotelorderupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelorderupdateAPIRequest) GetReasonType() int64
- func (r TaobaoxhotelorderupdateAPIRequest) GetRefundFee() int64
- func (r TaobaoxhotelorderupdateAPIRequest) GetSyncToHotel() string
- func (r TaobaoxhotelorderupdateAPIRequest) GetTid() int64
- func (r *TaobaoxhotelorderupdateAPIRequest) SetConfirmCode(_confirmCode string) error
- func (r *TaobaoxhotelorderupdateAPIRequest) SetInvoiceAmount(_invoiceAmount int64) error
- func (r *TaobaoxhotelorderupdateAPIRequest) SetOptType(_optType int64) error
- func (r *TaobaoxhotelorderupdateAPIRequest) SetReasonType(_reasonType int64) error
- func (r *TaobaoxhotelorderupdateAPIRequest) SetRefundFee(_refundFee int64) error
- func (r *TaobaoxhotelorderupdateAPIRequest) SetSyncToHotel(_syncToHotel string) error
- func (r *TaobaoxhotelorderupdateAPIRequest) SetTid(_tid int64) error
- type TaobaoxhotelorderupdateAPIResponse
- type TaobaoxhotelorderupdateAPIResponseModel
- type TaobaoxhotelorderupdateconfirmcodeAPIRequest
- func (r TaobaoxhotelorderupdateconfirmcodeAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelorderupdateconfirmcodeAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelorderupdateconfirmcodeAPIRequest) GetParam() *UpdateOrderConfirmCodeParam
- func (r TaobaoxhotelorderupdateconfirmcodeAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelorderupdateconfirmcodeAPIRequest) SetParam(_param *UpdateOrderConfirmCodeParam) error
- type TaobaoxhotelorderupdateconfirmcodeAPIResponse
- type TaobaoxhotelorderupdateconfirmcodeAPIResponseModel
- type TaobaoxhotelpmsguestbillgetvtwoAPIRequest
- func (r TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetRequestId() string
- func (r TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetRoomNum() string
- func (r TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetShortIdNum() string
- func (r TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetTaxNum() string
- func (r TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetUserChannel() int64
- func (r *TaobaoxhotelpmsguestbillgetvtwoAPIRequest) SetRequestId(_requestId string) error
- func (r *TaobaoxhotelpmsguestbillgetvtwoAPIRequest) SetRoomNum(_roomNum string) error
- func (r *TaobaoxhotelpmsguestbillgetvtwoAPIRequest) SetShortIdNum(_shortIdNum string) error
- func (r *TaobaoxhotelpmsguestbillgetvtwoAPIRequest) SetTaxNum(_taxNum string) error
- func (r *TaobaoxhotelpmsguestbillgetvtwoAPIRequest) SetUserChannel(_userChannel int64) error
- type TaobaoxhotelpmsguestbillgetvtwoAPIResponse
- type TaobaoxhotelpmsguestbillgetvtwoAPIResponseModel
- type TaobaoxhotelpmsguestbillgetvtwoResultSet
- type TopDailyInfo
- type TopDailySellerPromotion
- type TopDomesticPriceInfoDo
- type TopHotelPromotion
- type TopInvoiceDo
- type TopOrderCouponDo
- type TopOrderDetail
- type TopOrderGuest
- type TopOrderPackageDetail
- type TopOrderPackageDo
- type TopOrderPromotionDetail
- type TopOrderPromotionExtend
- type TopOverseasPriceInfoDo
- type TopPostTradeRefundDo
- type TopPromotion
- type Topinfomap
- type UpdateOrderConfirmCodeParam
- type UpdateRateDo
- type UpdateRateParam
- type ValueAddedInfo
- type XhotelOrder
- type XorderGuest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlitripxhotelchannelnotifyAPIRequest ¶ added in v1.3.1
type AlitripxhotelchannelnotifyAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripxhotelchannelnotifyAPIRequest 分销渠道各类通知接口 API请求 alitrip.xhotel.channel.notify
分销渠道支付通知
func NewAlitripxhotelchannelnotifyRequest ¶ added in v1.3.1
func NewAlitripxhotelchannelnotifyRequest() *AlitripxhotelchannelnotifyAPIRequest
NewAlitripxhotelchannelnotifyRequest 初始化AlitripxhotelchannelnotifyAPIRequest对象
func (AlitripxhotelchannelnotifyAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitripxhotelchannelnotifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripxhotelchannelnotifyAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitripxhotelchannelnotifyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripxhotelchannelnotifyAPIRequest) GetOrderNotifyQuery ¶ added in v1.3.1
func (r AlitripxhotelchannelnotifyAPIRequest) GetOrderNotifyQuery() *OrderNotifyQuery
GetOrderNotifyQuery OrderNotifyQuery Getter
func (AlitripxhotelchannelnotifyAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitripxhotelchannelnotifyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripxhotelchannelnotifyAPIRequest) SetOrderNotifyQuery ¶ added in v1.3.1
func (r *AlitripxhotelchannelnotifyAPIRequest) SetOrderNotifyQuery(_orderNotifyQuery *OrderNotifyQuery) error
SetOrderNotifyQuery is OrderNotifyQuery Setter 通知类型查询条件
type AlitripxhotelchannelnotifyAPIResponse ¶ added in v1.3.1
type AlitripxhotelchannelnotifyAPIResponse struct { model.CommonResponse AlitripxhotelchannelnotifyAPIResponseModel }
AlitripxhotelchannelnotifyAPIResponse 分销渠道各类通知接口 API返回值 alitrip.xhotel.channel.notify
分销渠道支付通知
type AlitripxhotelchannelnotifyAPIResponseModel ¶ added in v1.3.1
type AlitripxhotelchannelnotifyAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_xhotel_channel_notify_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果信息 Result *HbsResult `json:"result,omitempty" xml:"result,omitempty"` }
AlitripxhotelchannelnotifyAPIResponseModel is 分销渠道各类通知接口 成功返回结果
type AlitripxhotelchannelordercreateAPIRequest ¶ added in v1.3.1
type AlitripxhotelchannelordercreateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripxhotelchannelordercreateAPIRequest 渠道分销创建订单接口 API请求 alitrip.xhotel.channel.order.create
创建订单接口服务(如菲住等其他渠道分销提供)
func NewAlitripxhotelchannelordercreateRequest ¶ added in v1.3.1
func NewAlitripxhotelchannelordercreateRequest() *AlitripxhotelchannelordercreateAPIRequest
NewAlitripxhotelchannelordercreateRequest 初始化AlitripxhotelchannelordercreateAPIRequest对象
func (AlitripxhotelchannelordercreateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitripxhotelchannelordercreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripxhotelchannelordercreateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitripxhotelchannelordercreateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripxhotelchannelordercreateAPIRequest) GetOutSourceOrderCreateReq ¶ added in v1.3.1
func (r AlitripxhotelchannelordercreateAPIRequest) GetOutSourceOrderCreateReq() *OutSourceOrderCreateReq
GetOutSourceOrderCreateReq OutSourceOrderCreateReq Getter
func (AlitripxhotelchannelordercreateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitripxhotelchannelordercreateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripxhotelchannelordercreateAPIRequest) SetOutSourceOrderCreateReq ¶ added in v1.3.1
func (r *AlitripxhotelchannelordercreateAPIRequest) SetOutSourceOrderCreateReq(_outSourceOrderCreateReq *OutSourceOrderCreateReq) error
SetOutSourceOrderCreateReq is OutSourceOrderCreateReq Setter 创建订单参数
type AlitripxhotelchannelordercreateAPIResponse ¶ added in v1.3.1
type AlitripxhotelchannelordercreateAPIResponse struct { model.CommonResponse AlitripxhotelchannelordercreateAPIResponseModel }
AlitripxhotelchannelordercreateAPIResponse 渠道分销创建订单接口 API返回值 alitrip.xhotel.channel.order.create
创建订单接口服务(如菲住等其他渠道分销提供)
type AlitripxhotelchannelordercreateAPIResponseModel ¶ added in v1.3.1
type AlitripxhotelchannelordercreateAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_xhotel_channel_order_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Result *HbsResult `json:"result,omitempty" xml:"result,omitempty"` }
AlitripxhotelchannelordercreateAPIResponseModel is 渠道分销创建订单接口 成功返回结果
type AlitripxhotelchannelordermembertypesyncAPIRequest ¶ added in v1.3.1
type AlitripxhotelchannelordermembertypesyncAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripxhotelchannelordermembertypesyncAPIRequest 酒店分销渠道会员类型同步 API请求 alitrip.xhotel.channel.order.membertype.sync
酒店分销渠道会员类型同步
func NewAlitripxhotelchannelordermembertypesyncRequest ¶ added in v1.3.1
func NewAlitripxhotelchannelordermembertypesyncRequest() *AlitripxhotelchannelordermembertypesyncAPIRequest
NewAlitripxhotelchannelordermembertypesyncRequest 初始化AlitripxhotelchannelordermembertypesyncAPIRequest对象
func (AlitripxhotelchannelordermembertypesyncAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitripxhotelchannelordermembertypesyncAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripxhotelchannelordermembertypesyncAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitripxhotelchannelordermembertypesyncAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripxhotelchannelordermembertypesyncAPIRequest) GetChannelSyncOrderMemberType ¶ added in v1.3.1
func (r AlitripxhotelchannelordermembertypesyncAPIRequest) GetChannelSyncOrderMemberType() *ChannelSyncOrderMemberType
GetChannelSyncOrderMemberType ChannelSyncOrderMemberType Getter
func (AlitripxhotelchannelordermembertypesyncAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitripxhotelchannelordermembertypesyncAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripxhotelchannelordermembertypesyncAPIRequest) SetChannelSyncOrderMemberType ¶ added in v1.3.1
func (r *AlitripxhotelchannelordermembertypesyncAPIRequest) SetChannelSyncOrderMemberType(_channelSyncOrderMemberType *ChannelSyncOrderMemberType) error
SetChannelSyncOrderMemberType is ChannelSyncOrderMemberType Setter 入参
type AlitripxhotelchannelordermembertypesyncAPIResponse ¶ added in v1.3.1
type AlitripxhotelchannelordermembertypesyncAPIResponse struct { model.CommonResponse AlitripxhotelchannelordermembertypesyncAPIResponseModel }
AlitripxhotelchannelordermembertypesyncAPIResponse 酒店分销渠道会员类型同步 API返回值 alitrip.xhotel.channel.order.membertype.sync
酒店分销渠道会员类型同步
type AlitripxhotelchannelordermembertypesyncAPIResponseModel ¶ added in v1.3.1
type AlitripxhotelchannelordermembertypesyncAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_xhotel_channel_order_membertype_sync_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Result *HbsResult `json:"result,omitempty" xml:"result,omitempty"` }
AlitripxhotelchannelordermembertypesyncAPIResponseModel is 酒店分销渠道会员类型同步 成功返回结果
type CancelPolicy ¶
type CancelPolicy struct { // 取消类型,1:免费取消,2:不可取消,4:从入住时间前推小时前百分比扣款,5:从入住时间前推小时前百分比扣款,6:提前多少小时退款,扣取几晚房费,9:从入住时间前推小时前退订扣款金额 CancelPolicyType int64 `json:"cancel_policy_type,omitempty" xml:"cancel_policy_type,omitempty"` }
CancelPolicy 结构体
type ChannelSyncOrderMemberType ¶
type ChannelSyncOrderMemberType struct { // 会员类型枚举 MemberType string `json:"member_type,omitempty" xml:"member_type,omitempty"` // 订单TID Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` }
ChannelSyncOrderMemberType 结构体
type CheckDateDo ¶
type CheckDateDo struct { // 入住时间 CheckOut string `json:"check_out,omitempty" xml:"check_out,omitempty"` // 离店时间 CheckIn string `json:"check_in,omitempty" xml:"check_in,omitempty"` }
CheckDateDo 结构体
type CommonInvoiceInfo ¶
type CommonInvoiceInfo struct { // 发票抬头 CompanyTitle string `json:"company_title,omitempty" xml:"company_title,omitempty"` // 个人email Email string `json:"email,omitempty" xml:"email,omitempty"` // 个人手机号 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 用户名 UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"` // 专票信息 ValueAddedInfo *ValueAddedInfo `json:"value_added_info,omitempty" xml:"value_added_info,omitempty"` // 发票类型(1:普通发票;2:增值税专用发票) InvoiceType int64 `json:"invoice_type,omitempty" xml:"invoice_type,omitempty"` // 发票属性 (0:公司;1:个人) InvoiceAttr int64 `json:"invoice_attr,omitempty" xml:"invoice_attr,omitempty"` // 淘宝用户id UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` // 发票id InvoiceId int64 `json:"invoice_id,omitempty" xml:"invoice_id,omitempty"` }
CommonInvoiceInfo 结构体
type CreditCard ¶
type CreditCard struct { // 信用卡cvv CvvCode string `json:"cvv_code,omitempty" xml:"cvv_code,omitempty"` // 信用卡卡号 CardNumber string `json:"card_number,omitempty" xml:"card_number,omitempty"` // 客人选择的有效期格式: 月/年 ExpirationDate string `json:"expiration_date,omitempty" xml:"expiration_date,omitempty"` // 卡类型,AX,MC,DC,VA CardCode string `json:"card_code,omitempty" xml:"card_code,omitempty"` // 持卡人姓名 CardHolderName string `json:"card_holder_name,omitempty" xml:"card_holder_name,omitempty"` }
CreditCard 结构体
type DailyPrice ¶
type DailyPrice struct { // 日期 Date string `json:"date,omitempty" xml:"date,omitempty"` // 结账状态(1:结账,0:未结账) Checkout int64 `json:"checkout,omitempty" xml:"checkout,omitempty"` // 每日实际房费 Price int64 `json:"price,omitempty" xml:"price,omitempty"` }
DailyPrice 结构体
type DailyPriceInfo ¶
type DailyPriceInfo struct { // 日历日期 Day string `json:"day,omitempty" xml:"day,omitempty"` // 日历早餐 BreakFastCount int64 `json:"break_fast_count,omitempty" xml:"break_fast_count,omitempty"` // 日历价格 Price int64 `json:"price,omitempty" xml:"price,omitempty"` // 如果是低价加价商品,此价格是底价。如果是非底价商品且为会员商品,则为会员结算价 BasePrice int64 `json:"base_price,omitempty" xml:"base_price,omitempty"` }
DailyPriceInfo 结构体
type DailyPriceTo ¶
type DailyPriceTo struct { // 币种名称 CurrencyCodeName string `json:"currency_code_name,omitempty" xml:"currency_code_name,omitempty"` // 日期 Day string `json:"day,omitempty" xml:"day,omitempty"` // 外币价格 ForeignCurrencyPrice int64 `json:"foreign_currency_price,omitempty" xml:"foreign_currency_price,omitempty"` // 积分数 Point int64 `json:"point,omitempty" xml:"point,omitempty"` // 淘里程数 Mileage int64 `json:"mileage,omitempty" xml:"mileage,omitempty"` // 价格 Price int64 `json:"price,omitempty" xml:"price,omitempty"` // 税费 TaxPrice int64 `json:"tax_price,omitempty" xml:"tax_price,omitempty"` // 早餐数 BreakFastCount int64 `json:"break_fast_count,omitempty" xml:"break_fast_count,omitempty"` // 优惠后金额 AfterPromotionPrice int64 `json:"after_promotion_price,omitempty" xml:"after_promotion_price,omitempty"` // 基础金额 BasePrice int64 `json:"base_price,omitempty" xml:"base_price,omitempty"` // 税费外币金额 TaxForeignPrice int64 `json:"tax_foreign_price,omitempty" xml:"tax_foreign_price,omitempty"` // servicePrice ServicePrice int64 `json:"service_price,omitempty" xml:"service_price,omitempty"` // serviceForeignPrice ServiceForeignPrice int64 `json:"service_foreign_price,omitempty" xml:"service_foreign_price,omitempty"` // 外币底价 BaseForeignPrice int64 `json:"base_foreign_price,omitempty" xml:"base_foreign_price,omitempty"` }
DailyPriceTo 结构体
type DailyRoomFee ¶
type DailyRoomFee struct { // 无 DailyPrices []DailyPrice `json:"daily_prices,omitempty" xml:"daily_prices>daily_price,omitempty"` }
DailyRoomFee 结构体
type FaceScanParam ¶
type FaceScanParam struct { // 姓名 GuestName string `json:"guest_name,omitempty" xml:"guest_name,omitempty"` // 证件号 CertificateNum string `json:"certificate_num,omitempty" xml:"certificate_num,omitempty"` // 设备id DeviceId string `json:"device_id,omitempty" xml:"device_id,omitempty"` // 设备厂商名,下划线隔开,字母小写 DeviceFirm string `json:"device_firm,omitempty" xml:"device_firm,omitempty"` // 证件类型:20:身份证 CertificateType int64 `json:"certificate_type,omitempty" xml:"certificate_type,omitempty"` }
FaceScanParam 结构体
type GuestInfo ¶
type GuestInfo struct { // 入住人在这个房间的序号(从1开始) PersonPos string `json:"person_pos,omitempty" xml:"person_pos,omitempty"` // 房间序号(从1开始) RoomPos string `json:"room_pos,omitempty" xml:"room_pos,omitempty"` // 入住人姓名 Name string `json:"name,omitempty" xml:"name,omitempty"` }
GuestInfo 结构体
type HbsDailyPriceDo ¶
type HbsDailyPriceDo struct { // 每日价格 DailyPrices []DailyPriceTo `json:"daily_prices,omitempty" xml:"daily_prices>daily_price_to,omitempty"` // 币种 CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"` // 汇率 ExchangeRate string `json:"exchange_rate,omitempty" xml:"exchange_rate,omitempty"` }
HbsDailyPriceDo 结构体
type HbsResult ¶
type HbsResult struct { // 错误信息 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 结果码 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 给开发用的错误信息 ResultMsg4Dev string `json:"result_msg4_dev,omitempty" xml:"result_msg4_dev,omitempty"` // 响应扩展信息 ExtendInfo string `json:"extend_info,omitempty" xml:"extend_info,omitempty"` // 泛型结果 Module *OutSourceOrderCreateRes `json:"module,omitempty" xml:"module,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
HbsResult 结构体
type HotelOrderDirectInfo ¶
type HotelOrderDirectInfo struct { // 单次请求的唯一标识 RequestID string `json:"request_i_d,omitempty" xml:"request_i_d,omitempty"` // 外部订单号 OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 酒店编码 HotelCode string `json:"hotel_code,omitempty" xml:"hotel_code,omitempty"` // 创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 修改时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // xml内容格式字符串,详细参考 http://open.taobao.com/docs/doc.htm?spm=a219a.7629140.0.0.2gmWOz&treeId=191&articleId=106152&docType=1 Context string `json:"context,omitempty" xml:"context,omitempty"` // json格式的扩展字段 Extensions string `json:"extensions,omitempty" xml:"extensions,omitempty"` // 给酒店前台展示的文案提示 DisplayText string `json:"display_text,omitempty" xml:"display_text,omitempty"` // 淘宝订单号 Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 操作类型 1.在线开发票请求 3.在线选房请求 4.自助checkIn请求 13.扫脸入住身份信息请求 10.房态信息查询请求 103.通用任务取消指令 BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"` // * PMS处理消息的动作(pms端应该考虑增加代办任务列表) * 0:普通,不需要特殊动作 * 1:弹窗提示(Pms中央模态窗) * 2:托盘信息提示(给酒店广播通知或者平台公告) * 3:发送请求给酒店前台人员,前台人员需要看到后确认处理(比如督促前台结账、督促前台上报入住状态) * 4:请求pms自动处理(自动发起结账,自动上报订单状态等) Action int64 `json:"action,omitempty" xml:"action,omitempty"` // * 消息状态(tips:Pms定时get走请求,状态可以考虑不变化) * 0:新建消息(接收到交易系统请求) * 1:请求已获取(pms已经取走请求数据) * 2:请求已认领(pms已经有人认领消息,正在处理) * 3:请求已反馈(Pms反馈请求处理结果) * 4:处理完成(已通知相关系统(交易)) * 5:请求失效 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
HotelOrderDirectInfo 结构体
type HotelOrderSellerDo ¶
type HotelOrderSellerDo struct { // 支付类型 Payment *OrderSellerPaymentDo `json:"payment,omitempty" xml:"payment,omitempty"` // 卖家结账单信息 SettlePayment *OrderSettleDo `json:"settle_payment,omitempty" xml:"settle_payment,omitempty"` }
HotelOrderSellerDo 结构体
type InvoiceInfoParam ¶
type InvoiceInfoParam struct { // 请求id 唯一值(同极速开票开票请求回传request_id值) RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 酒店开票点税号 TaxNum string `json:"tax_num,omitempty" xml:"tax_num,omitempty"` // 身份证后4位 ShortIdNumber string `json:"short_id_number,omitempty" xml:"short_id_number,omitempty"` // 公司抬头 CompanyTitle string `json:"company_title,omitempty" xml:"company_title,omitempty"` // 房间号 RoomNum string `json:"room_num,omitempty" xml:"room_num,omitempty"` // 需要发票时间(格式yyyy-MM-dd HH:mm:ss) WantTime string `json:"want_time,omitempty" xml:"want_time,omitempty"` // 用户名 UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"` // 酒店外部订单号(从查询pms账单接口中获取) OutOrderNum string `json:"out_order_num,omitempty" xml:"out_order_num,omitempty"` // 实际房费(分) InvoiceRoomPrice int64 `json:"invoice_room_price,omitempty" xml:"invoice_room_price,omitempty"` // 实际杂费(分) InvoiceOtherPrice int64 `json:"invoice_other_price,omitempty" xml:"invoice_other_price,omitempty"` // 发票类型(1:普通发票;2:增值税专用发票) InvoiceType int64 `json:"invoice_type,omitempty" xml:"invoice_type,omitempty"` // 专票信息 ValueAddedInfo *ValueAddedInfo `json:"value_added_info,omitempty" xml:"value_added_info,omitempty"` // 领取方式( 0:前台自取 3: 送至房间) PostType int64 `json:"post_type,omitempty" xml:"post_type,omitempty"` // 预计开票房费金额(分) PlanInvoiceRoomPrice int64 `json:"plan_invoice_room_price,omitempty" xml:"plan_invoice_room_price,omitempty"` // 预计开票杂费金额(分) PlanInvoiceOtherPrice int64 `json:"plan_invoice_other_price,omitempty" xml:"plan_invoice_other_price,omitempty"` // 用户渠道(0:未知,1:淘宝) UserChannel int64 `json:"user_channel,omitempty" xml:"user_channel,omitempty"` }
InvoiceInfoParam 结构体
type OrderBillInfo ¶
type OrderBillInfo struct { // 离店日期 CheckOutDate string `json:"check_out_date,omitempty" xml:"check_out_date,omitempty"` // 入住日期 CheckInDate string `json:"check_in_date,omitempty" xml:"check_in_date,omitempty"` // 房间号 RoomNo string `json:"room_no,omitempty" xml:"room_no,omitempty"` // 完整的身份证号 IdNumber string `json:"id_number,omitempty" xml:"id_number,omitempty"` // 客人姓名 GuestName string `json:"guest_name,omitempty" xml:"guest_name,omitempty"` // 外部酒店代码 HotelCode string `json:"hotel_code,omitempty" xml:"hotel_code,omitempty"` // 外部订单号 OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 请求id (同入参) RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 备注 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 未结账房费 NoCheckoutPrice int64 `json:"no_checkout_price,omitempty" xml:"no_checkout_price,omitempty"` // 已结账房费 CheckoutPrice int64 `json:"checkout_price,omitempty" xml:"checkout_price,omitempty"` // 已结账总费用 CheckoutTotalFee int64 `json:"checkout_total_fee,omitempty" xml:"checkout_total_fee,omitempty"` // 未结账总费用 NoCheckoutTotalFee int64 `json:"no_checkout_total_fee,omitempty" xml:"no_checkout_total_fee,omitempty"` // 淘宝订单号 Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 未结账杂费 NoCheckoutOtherFee int64 `json:"no_checkout_other_fee,omitempty" xml:"no_checkout_other_fee,omitempty"` // 已结账杂费 CheckoutOtherFee int64 `json:"checkout_other_fee,omitempty" xml:"checkout_other_fee,omitempty"` // 杂费明细列表 OtherFeeDetail *OtherFeeDetail `json:"other_fee_detail,omitempty" xml:"other_fee_detail,omitempty"` // 每日房费类表 DailyRoomFee *DailyRoomFee `json:"daily_room_fee,omitempty" xml:"daily_room_fee,omitempty"` }
OrderBillInfo 结构体
type OrderNotifyQuery ¶
type OrderNotifyQuery struct { // 支付时间 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 会员卡号 MemberCardNo string `json:"member_card_no,omitempty" xml:"member_card_no,omitempty"` // 订单号 BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"` // 通知类型,0代表支付通知 NotifyType int64 `json:"notify_type,omitempty" xml:"notify_type,omitempty"` // 平台促销 PlatformPromotion int64 `json:"platform_promotion,omitempty" xml:"platform_promotion,omitempty"` }
OrderNotifyQuery 结构体
type OrderPromotionDetail ¶ added in v1.2.5
type OrderPromotionDetail struct { // 优惠日历数据,如{时间:{\"amount\":每日优惠金额,},时间:{\"amount\":每日优惠金额}} DailyHotelPromotion string `json:"daily_hotel_promotion,omitempty" xml:"daily_hotel_promotion,omitempty"` // 总卖家优惠 SellerDecrease int64 `json:"seller_decrease,omitempty" xml:"seller_decrease,omitempty"` }
OrderPromotionDetail 结构体
type OrderPromotionDo ¶ added in v1.2.5
type OrderPromotionDo struct { // OrderPromotionDetail CurrentOrderPromotion *OrderPromotionDetail `json:"current_order_promotion,omitempty" xml:"current_order_promotion,omitempty"` }
OrderPromotionDo 结构体
type OrderSellerPaymentDo ¶
type OrderSellerPaymentDo struct { // 下单时刻营销后金额 PromotionCreatePrice int64 `json:"promotion_create_price,omitempty" xml:"promotion_create_price,omitempty"` // 下单时刻营销后金额 AfterPromotionCreatePrice int64 `json:"after_promotion_create_price,omitempty" xml:"after_promotion_create_price,omitempty"` // 总房费 TotalRoomPrice int64 `json:"total_room_price,omitempty" xml:"total_room_price,omitempty"` // 每日价格 DailyInfos *HbsDailyPriceDo `json:"daily_infos,omitempty" xml:"daily_infos,omitempty"` // 优惠后外币金额 AfterPromotionCurrentPrice int64 `json:"after_promotion_current_price,omitempty" xml:"after_promotion_current_price,omitempty"` // 优惠外币金额 PromotionCurrentPrice int64 `json:"promotion_current_price,omitempty" xml:"promotion_current_price,omitempty"` }
OrderSellerPaymentDo 结构体
type OrderSettleDo ¶
type OrderSettleDo struct { // 平台优惠金额 PlatPromotionPrice int64 `json:"plat_promotion_price,omitempty" xml:"plat_promotion_price,omitempty"` // 其他费用 OtherFee int64 `json:"other_fee,omitempty" xml:"other_fee,omitempty"` // 房费 RoomPrice int64 `json:"room_price,omitempty" xml:"room_price,omitempty"` // 结账金额 OrderSettlePrice int64 `json:"order_settle_price,omitempty" xml:"order_settle_price,omitempty"` // 实际结账日历 SettleDailyPrice *HbsDailyPriceDo `json:"settle_daily_price,omitempty" xml:"settle_daily_price,omitempty"` // 卖家优惠金额 PromotionPrice int64 `json:"promotion_price,omitempty" xml:"promotion_price,omitempty"` }
OrderSettleDo 结构体
type OtherFeeDetail ¶
type OtherFeeDetail struct { // 无 OtherFeeInfos []OtherFeeInfo `json:"other_fee_infos,omitempty" xml:"other_fee_infos>other_fee_info,omitempty"` }
OtherFeeDetail 结构体
type OtherFeeInfo ¶
type OtherFeeInfo struct { // 杂费名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 杂费金额 Price int64 `json:"price,omitempty" xml:"price,omitempty"` // 结账状态(1:结账,0:未结账) Checkout int64 `json:"checkout,omitempty" xml:"checkout,omitempty"` }
OtherFeeInfo 结构体
type OutSourceOrderCreateReq ¶
type OutSourceOrderCreateReq struct { // 入住人信息 GuestInfoList []GuestInfo `json:"guest_info_list,omitempty" xml:"guest_info_list>guest_info,omitempty"` // 日历价格 DailyPriceInfoList []DailyPriceInfo `json:"daily_price_info_list,omitempty" xml:"daily_price_info_list>daily_price_info,omitempty"` // 下单来源信息 CreateAppKey string `json:"create_app_key,omitempty" xml:"create_app_key,omitempty"` // 备注 Memo string `json:"memo,omitempty" xml:"memo,omitempty"` // 预订的标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 外部渠道用户id,钉钉必传 OutUserId string `json:"out_user_id,omitempty" xml:"out_user_id,omitempty"` // 外部渠道 钉钉 欢行 ... OutSource string `json:"out_source,omitempty" xml:"out_source,omitempty"` // 最晚到店时间 LateArriveTime string `json:"late_arrive_time,omitempty" xml:"late_arrive_time,omitempty"` // 离店日期 Checkout string `json:"checkout,omitempty" xml:"checkout,omitempty"` // 联系人姓名 ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"` // 房型名称 RoomTypeName string `json:"room_type_name,omitempty" xml:"room_type_name,omitempty"` // 订单创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // ttid信息 Ttid string `json:"ttid,omitempty" xml:"ttid,omitempty"` // 酒店名称 HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"` // 入住日期 CheckIn string `json:"check_in,omitempty" xml:"check_in,omitempty"` // 外部订单号,幂等性保障 OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 一些扩展属性 Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"` // 联系人电话 ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"` // 取消政策描述 CancelPolicyDesc string `json:"cancel_policy_desc,omitempty" xml:"cancel_policy_desc,omitempty"` // 酒店hid Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"` // 房间数 RoomNumber int64 `json:"room_number,omitempty" xml:"room_number,omitempty"` // 是否即时确认订单,1表示是 TagJsqr int64 `json:"tag_jsqr,omitempty" xml:"tag_jsqr,omitempty"` // gid Gid int64 `json:"gid,omitempty" xml:"gid,omitempty"` // rid Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"` // rpid RpId int64 `json:"rp_id,omitempty" xml:"rp_id,omitempty"` // rate id RateId int64 `json:"rate_id,omitempty" xml:"rate_id,omitempty"` // srid Srid int64 `json:"srid,omitempty" xml:"srid,omitempty"` // 卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 宝贝id ItemIid int64 `json:"item_iid,omitempty" xml:"item_iid,omitempty"` // 总价 单位 分 TotalRoomPrice int64 `json:"total_room_price,omitempty" xml:"total_room_price,omitempty"` // 取消政策 CancelPolicy *CancelPolicy `json:"cancel_policy,omitempty" xml:"cancel_policy,omitempty"` // 库存类型,0 rate普通库存 1 room普通库存 2 rate协议保留房 3 rate普通保留房 InventoryTypeFlag int64 `json:"inventory_type_flag,omitempty" xml:"inventory_type_flag,omitempty"` // 平台促销 PlatformPromotion int64 `json:"platform_promotion,omitempty" xml:"platform_promotion,omitempty"` // 卖家促销 SellerPromotion int64 `json:"seller_promotion,omitempty" xml:"seller_promotion,omitempty"` // 是否直连订单 IsDirectOrder bool `json:"is_direct_order,omitempty" xml:"is_direct_order,omitempty"` }
OutSourceOrderCreateReq 结构体
type OutSourceOrderCreateRes ¶
type OutSourceOrderCreateRes struct { // 飞猪酒店订单号 BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"` }
OutSourceOrderCreateRes 结构体
type RoomSettleInfo ¶
type RoomSettleInfo struct { // 房间号 RoomNo string `json:"room_no,omitempty" xml:"room_no,omitempty"` // 房间杂费明细 (当房间杂费存在时候,此值不能空。格式与原有杂费格式otherFeeDetail的格式相同)eg;{"洗衣费":5000,"水吧":10000,"优惠":1000} RoomOtherFeeDetail string `json:"room_other_fee_detail,omitempty" xml:"room_other_fee_detail,omitempty"` // 房间check in 时间 RoomCheckIn string `json:"room_check_in,omitempty" xml:"room_check_in,omitempty"` // 房间check out时间 RoomCheckOut string `json:"room_check_out,omitempty" xml:"room_check_out,omitempty"` // 日历价格,json格式(包含日期,价格,税费,低价加价前费用等),(每个房间的日历价格,多间房结账必填) DailyPriceInfo string `json:"daily_price_info,omitempty" xml:"daily_price_info,omitempty"` // 房间状态;1:未入住(担保且需扣款);2:取消成功(卖家取消;担保noshow且双方协商一致不扣款);3:已入住 RoomStatus string `json:"room_status,omitempty" xml:"room_status,omitempty"` // 房间费(大于零) RoomFee int64 `json:"room_fee,omitempty" xml:"room_fee,omitempty"` // 房间杂费(不能为负数) RoomOtherFee int64 `json:"room_other_fee,omitempty" xml:"room_other_fee,omitempty"` }
RoomSettleInfo 结构体
type StatementOrder ¶
type StatementOrder struct { // 酒店名称 HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"` // 门店收款账户(1:支付宝;2:银行卡) AccountType string `json:"account_type,omitempty" xml:"account_type,omitempty"` // 扣除佣金后, 1. 集团入账=买家实际支付(房费+杂费-卖家优惠); 2. 门店实际入账=买 CommissionTotal string `json:"commission_total,omitempty" xml:"commission_total,omitempty"` // 交易手续费 TransactionFee string `json:"transaction_fee,omitempty" xml:"transaction_fee,omitempty"` // 集团与门店佣金 HotelCommission string `json:"hotel_commission,omitempty" xml:"hotel_commission,omitempty"` // 淘宝佣金 TaobaoCommission string `json:"taobao_commission,omitempty" xml:"taobao_commission,omitempty"` // 支付宝交易号 AlipayTradeNo string `json:"alipay_trade_no,omitempty" xml:"alipay_trade_no,omitempty"` // 结算日期 SettleDate string `json:"settle_date,omitempty" xml:"settle_date,omitempty"` // 卖家优惠明细(暂无值) PromotionDetail string `json:"promotion_detail,omitempty" xml:"promotion_detail,omitempty"` // 卖家优惠(分) SellerPromotion string `json:"seller_promotion,omitempty" xml:"seller_promotion,omitempty"` // 杂费总额 OtherFee string `json:"other_fee,omitempty" xml:"other_fee,omitempty"` // 总房费(分) Payment string `json:"payment,omitempty" xml:"payment,omitempty"` // 实际的房型名称 RoomTypeName string `json:"room_type_name,omitempty" xml:"room_type_name,omitempty"` // 离店时间 CheckOut string `json:"check_out,omitempty" xml:"check_out,omitempty"` // 入住时间 CheckIn string `json:"check_in,omitempty" xml:"check_in,omitempty"` // 交易状态(暂无值) TradeStatus string `json:"trade_status,omitempty" xml:"trade_status,omitempty"` // 支付类型(1:预付;5:面付;7:在线预约;601:线上信用住;602:扫码信用住;603:身份证线下信用住;604:官网信用住) PayType string `json:"pay_type,omitempty" xml:"pay_type,omitempty"` // 外部订单ID OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"` // 分账状态 (0, "未分账"),(1, "分账成功"),(3, "分账失败"), (2, "无需分账"),(4,"预处理成功"); SettleStatus string `json:"settle_status,omitempty" xml:"settle_status,omitempty"` // 税和费,单位分 TaxAndFee string `json:"tax_and_fee,omitempty" xml:"tax_and_fee,omitempty"` // 入住天数 RoomSumNights int64 `json:"room_sum_nights,omitempty" xml:"room_sum_nights,omitempty"` // 淘宝订单ID Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` }
StatementOrder 结构体
type TaobaoxhotelcommoninvoicelistvtwoAPIRequest ¶ added in v1.3.1
TaobaoxhotelcommoninvoicelistvtwoAPIRequest 用户常用发票信息查询接口 API请求 taobao.xhotel.commoninvoice.list.vtwo
获取用户常用发票信息接口
func NewTaobaoxhotelcommoninvoicelistvtwoRequest ¶ added in v1.3.1
func NewTaobaoxhotelcommoninvoicelistvtwoRequest() *TaobaoxhotelcommoninvoicelistvtwoAPIRequest
NewTaobaoxhotelcommoninvoicelistvtwoRequest 初始化TaobaoxhotelcommoninvoicelistvtwoAPIRequest对象
func (TaobaoxhotelcommoninvoicelistvtwoAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelcommoninvoicelistvtwoAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelcommoninvoicelistvtwoAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelcommoninvoicelistvtwoAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelcommoninvoicelistvtwoAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelcommoninvoicelistvtwoAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
type TaobaoxhotelcommoninvoicelistvtwoAPIResponse ¶ added in v1.3.1
type TaobaoxhotelcommoninvoicelistvtwoAPIResponse struct { model.CommonResponse TaobaoxhotelcommoninvoicelistvtwoAPIResponseModel }
TaobaoxhotelcommoninvoicelistvtwoAPIResponse 用户常用发票信息查询接口 API返回值 taobao.xhotel.commoninvoice.list.vtwo
获取用户常用发票信息接口
type TaobaoxhotelcommoninvoicelistvtwoAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelcommoninvoicelistvtwoAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_commoninvoice_list_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询结果集 Result *TaobaoxhotelcommoninvoicelistvtwoResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoxhotelcommoninvoicelistvtwoAPIResponseModel is 用户常用发票信息查询接口 成功返回结果
type TaobaoxhotelcommoninvoicelistvtwoResultSet ¶ added in v1.3.1
type TaobaoxhotelcommoninvoicelistvtwoResultSet struct { // 常用发票信息 Results []CommonInvoiceInfo `json:"results,omitempty" xml:"results>common_invoice_info,omitempty"` // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 是否成功标记 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoxhotelcommoninvoicelistvtwoResultSet 结构体
type TaobaoxhotelcommoninvoiceremoveAPIRequest ¶ added in v1.3.1
type TaobaoxhotelcommoninvoiceremoveAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelcommoninvoiceremoveAPIRequest 常用发票信息删除接口 API请求 taobao.xhotel.commoninvoice.remove
常用发票信息删除接口
func NewTaobaoxhotelcommoninvoiceremoveRequest ¶ added in v1.3.1
func NewTaobaoxhotelcommoninvoiceremoveRequest() *TaobaoxhotelcommoninvoiceremoveAPIRequest
NewTaobaoxhotelcommoninvoiceremoveRequest 初始化TaobaoxhotelcommoninvoiceremoveAPIRequest对象
func (TaobaoxhotelcommoninvoiceremoveAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelcommoninvoiceremoveAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelcommoninvoiceremoveAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelcommoninvoiceremoveAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelcommoninvoiceremoveAPIRequest) GetInvoiceId ¶ added in v1.3.1
func (r TaobaoxhotelcommoninvoiceremoveAPIRequest) GetInvoiceId() int64
GetInvoiceId InvoiceId Getter
func (TaobaoxhotelcommoninvoiceremoveAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelcommoninvoiceremoveAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelcommoninvoiceremoveAPIRequest) GetUserNick ¶ added in v1.3.1
func (r TaobaoxhotelcommoninvoiceremoveAPIRequest) GetUserNick() string
GetUserNick UserNick Getter
func (*TaobaoxhotelcommoninvoiceremoveAPIRequest) SetInvoiceId ¶ added in v1.3.1
func (r *TaobaoxhotelcommoninvoiceremoveAPIRequest) SetInvoiceId(_invoiceId int64) error
SetInvoiceId is InvoiceId Setter 发票id
func (*TaobaoxhotelcommoninvoiceremoveAPIRequest) SetUserNick ¶ added in v1.3.1
func (r *TaobaoxhotelcommoninvoiceremoveAPIRequest) SetUserNick(_userNick string) error
SetUserNick is UserNick Setter 用户名
type TaobaoxhotelcommoninvoiceremoveAPIResponse ¶ added in v1.3.1
type TaobaoxhotelcommoninvoiceremoveAPIResponse struct { model.CommonResponse TaobaoxhotelcommoninvoiceremoveAPIResponseModel }
TaobaoxhotelcommoninvoiceremoveAPIResponse 常用发票信息删除接口 API返回值 taobao.xhotel.commoninvoice.remove
常用发票信息删除接口
type TaobaoxhotelcommoninvoiceremoveAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelcommoninvoiceremoveAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_commoninvoice_remove_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // errorCode Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"` // errorMsg Errmsg string `json:"errmsg,omitempty" xml:"errmsg,omitempty"` // success Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"` }
TaobaoxhotelcommoninvoiceremoveAPIResponseModel is 常用发票信息删除接口 成功返回结果
type TaobaoxhotelcommoninvoiceupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelcommoninvoiceupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelcommoninvoiceupdateAPIRequest 常用发票信息更新接口 API请求 taobao.xhotel.commoninvoice.update
常用发票信息更新接口(根据用户id,发票抬头和发票属性或发票id进行更新,没有则添加)
func NewTaobaoxhotelcommoninvoiceupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelcommoninvoiceupdateRequest() *TaobaoxhotelcommoninvoiceupdateAPIRequest
NewTaobaoxhotelcommoninvoiceupdateRequest 初始化TaobaoxhotelcommoninvoiceupdateAPIRequest对象
func (TaobaoxhotelcommoninvoiceupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelcommoninvoiceupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelcommoninvoiceupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelcommoninvoiceupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelcommoninvoiceupdateAPIRequest) GetCommonInvoiceInfoParam ¶ added in v1.3.1
func (r TaobaoxhotelcommoninvoiceupdateAPIRequest) GetCommonInvoiceInfoParam() *CommonInvoiceInfo
GetCommonInvoiceInfoParam CommonInvoiceInfoParam Getter
func (TaobaoxhotelcommoninvoiceupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelcommoninvoiceupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelcommoninvoiceupdateAPIRequest) SetCommonInvoiceInfoParam ¶ added in v1.3.1
func (r *TaobaoxhotelcommoninvoiceupdateAPIRequest) SetCommonInvoiceInfoParam(_commonInvoiceInfoParam *CommonInvoiceInfo) error
SetCommonInvoiceInfoParam is CommonInvoiceInfoParam Setter 无
type TaobaoxhotelcommoninvoiceupdateAPIResponse ¶ added in v1.3.1
type TaobaoxhotelcommoninvoiceupdateAPIResponse struct { model.CommonResponse TaobaoxhotelcommoninvoiceupdateAPIResponseModel }
TaobaoxhotelcommoninvoiceupdateAPIResponse 常用发票信息更新接口 API返回值 taobao.xhotel.commoninvoice.update
常用发票信息更新接口(根据用户id,发票抬头和发票属性或发票id进行更新,没有则添加)
type TaobaoxhotelcommoninvoiceupdateAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelcommoninvoiceupdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_commoninvoice_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // errorCode Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"` // errorMsg Errmsg string `json:"errmsg,omitempty" xml:"errmsg,omitempty"` // success Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"` }
TaobaoxhotelcommoninvoiceupdateAPIResponseModel is 常用发票信息更新接口 成功返回结果
type TaobaoxhotelfastinvoicecompleteAPIRequest ¶ added in v1.3.1
type TaobaoxhotelfastinvoicecompleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelfastinvoicecompleteAPIRequest 极速开票开票请求完成 API请求 taobao.xhotel.fastinvoice.complete
极速开票开票请求回传,用于更新航信开票请求数据
func NewTaobaoxhotelfastinvoicecompleteRequest ¶ added in v1.3.1
func NewTaobaoxhotelfastinvoicecompleteRequest() *TaobaoxhotelfastinvoicecompleteAPIRequest
NewTaobaoxhotelfastinvoicecompleteRequest 初始化TaobaoxhotelfastinvoicecompleteAPIRequest对象
func (TaobaoxhotelfastinvoicecompleteAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelfastinvoicecompleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelfastinvoicecompleteAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelfastinvoicecompleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelfastinvoicecompleteAPIRequest) GetInvoiceInfoParam ¶ added in v1.3.1
func (r TaobaoxhotelfastinvoicecompleteAPIRequest) GetInvoiceInfoParam() *InvoiceInfoParam
GetInvoiceInfoParam InvoiceInfoParam Getter
func (TaobaoxhotelfastinvoicecompleteAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelfastinvoicecompleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelfastinvoicecompleteAPIRequest) SetInvoiceInfoParam ¶ added in v1.3.1
func (r *TaobaoxhotelfastinvoicecompleteAPIRequest) SetInvoiceInfoParam(_invoiceInfoParam *InvoiceInfoParam) error
SetInvoiceInfoParam is InvoiceInfoParam Setter 无
type TaobaoxhotelfastinvoicecompleteAPIResponse ¶ added in v1.3.1
type TaobaoxhotelfastinvoicecompleteAPIResponse struct { model.CommonResponse TaobaoxhotelfastinvoicecompleteAPIResponseModel }
TaobaoxhotelfastinvoicecompleteAPIResponse 极速开票开票请求完成 API返回值 taobao.xhotel.fastinvoice.complete
极速开票开票请求回传,用于更新航信开票请求数据
type TaobaoxhotelfastinvoicecompleteAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelfastinvoicecompleteAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_fastinvoice_complete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // errorCode Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"` // errorMsg Errmsg string `json:"errmsg,omitempty" xml:"errmsg,omitempty"` // success Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"` }
TaobaoxhotelfastinvoicecompleteAPIResponseModel is 极速开票开票请求完成 成功返回结果
type TaobaoxhotelfastinvoicerequestAPIRequest ¶ added in v1.3.1
type TaobaoxhotelfastinvoicerequestAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelfastinvoicerequestAPIRequest 极速开票开票请求回传 API请求 taobao.xhotel.fastinvoice.request
极速开票开票请求回传,用于记录航信开票请求数据
func NewTaobaoxhotelfastinvoicerequestRequest ¶ added in v1.3.1
func NewTaobaoxhotelfastinvoicerequestRequest() *TaobaoxhotelfastinvoicerequestAPIRequest
NewTaobaoxhotelfastinvoicerequestRequest 初始化TaobaoxhotelfastinvoicerequestAPIRequest对象
func (TaobaoxhotelfastinvoicerequestAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelfastinvoicerequestAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelfastinvoicerequestAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelfastinvoicerequestAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelfastinvoicerequestAPIRequest) GetInvoiceInfoParam ¶ added in v1.3.1
func (r TaobaoxhotelfastinvoicerequestAPIRequest) GetInvoiceInfoParam() *InvoiceInfoParam
GetInvoiceInfoParam InvoiceInfoParam Getter
func (TaobaoxhotelfastinvoicerequestAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelfastinvoicerequestAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelfastinvoicerequestAPIRequest) SetInvoiceInfoParam ¶ added in v1.3.1
func (r *TaobaoxhotelfastinvoicerequestAPIRequest) SetInvoiceInfoParam(_invoiceInfoParam *InvoiceInfoParam) error
SetInvoiceInfoParam is InvoiceInfoParam Setter 无
type TaobaoxhotelfastinvoicerequestAPIResponse ¶ added in v1.3.1
type TaobaoxhotelfastinvoicerequestAPIResponse struct { model.CommonResponse TaobaoxhotelfastinvoicerequestAPIResponseModel }
TaobaoxhotelfastinvoicerequestAPIResponse 极速开票开票请求回传 API返回值 taobao.xhotel.fastinvoice.request
极速开票开票请求回传,用于记录航信开票请求数据
type TaobaoxhotelfastinvoicerequestAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelfastinvoicerequestAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_fastinvoice_request_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // errorCode Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"` // errorMsg Errmsg string `json:"errmsg,omitempty" xml:"errmsg,omitempty"` // success Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"` }
TaobaoxhotelfastinvoicerequestAPIResponseModel is 极速开票开票请求回传 成功返回结果
type TaobaoxhotelfuturesoftmodifyAPIRequest ¶ added in v1.3.1
type TaobaoxhotelfuturesoftmodifyAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelfuturesoftmodifyAPIRequest 未来酒店信息下发 API请求 taobao.xhotel.future.softmodify
未来酒店信息下发,包含PMS订单查询和自助入住
func NewTaobaoxhotelfuturesoftmodifyRequest ¶ added in v1.3.1
func NewTaobaoxhotelfuturesoftmodifyRequest() *TaobaoxhotelfuturesoftmodifyAPIRequest
NewTaobaoxhotelfuturesoftmodifyRequest 初始化TaobaoxhotelfuturesoftmodifyAPIRequest对象
func (TaobaoxhotelfuturesoftmodifyAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelfuturesoftmodifyAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelfuturesoftmodifyAPIRequest) GetContext ¶ added in v1.3.1
func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetContext() string
GetContext Context Getter
func (TaobaoxhotelfuturesoftmodifyAPIRequest) GetExpireTime ¶ added in v1.3.1
func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetExpireTime() int64
GetExpireTime ExpireTime Getter
func (TaobaoxhotelfuturesoftmodifyAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoxhotelfuturesoftmodifyAPIRequest) GetHotelCode ¶ added in v1.3.1
func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetHotelCode() string
GetHotelCode HotelCode Getter
func (TaobaoxhotelfuturesoftmodifyAPIRequest) GetOperateType ¶ added in v1.3.1
func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetOperateType() string
GetOperateType OperateType Getter
func (TaobaoxhotelfuturesoftmodifyAPIRequest) GetOutOrderId ¶ added in v1.3.1
func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetOutOrderId() string
GetOutOrderId OutOrderId Getter
func (TaobaoxhotelfuturesoftmodifyAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelfuturesoftmodifyAPIRequest) GetRequestId ¶ added in v1.3.1
func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetRequestId() string
GetRequestId RequestId Getter
func (TaobaoxhotelfuturesoftmodifyAPIRequest) GetTid ¶ added in v1.3.1
func (r TaobaoxhotelfuturesoftmodifyAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoxhotelfuturesoftmodifyAPIRequest) SetContext ¶ added in v1.3.1
func (r *TaobaoxhotelfuturesoftmodifyAPIRequest) SetContext(_context string) error
SetContext is Context Setter 请求报文
func (*TaobaoxhotelfuturesoftmodifyAPIRequest) SetExpireTime ¶ added in v1.3.1
func (r *TaobaoxhotelfuturesoftmodifyAPIRequest) SetExpireTime(_expireTime int64) error
SetExpireTime is ExpireTime Setter 超时时长,默认3s
func (*TaobaoxhotelfuturesoftmodifyAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhotelfuturesoftmodifyAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 酒店Id
func (*TaobaoxhotelfuturesoftmodifyAPIRequest) SetHotelCode ¶ added in v1.3.1
func (r *TaobaoxhotelfuturesoftmodifyAPIRequest) SetHotelCode(_hotelCode string) error
SetHotelCode is HotelCode Setter 酒店code
func (*TaobaoxhotelfuturesoftmodifyAPIRequest) SetOperateType ¶ added in v1.3.1
func (r *TaobaoxhotelfuturesoftmodifyAPIRequest) SetOperateType(_operateType string) error
SetOperateType is OperateType Setter 操作类型
func (*TaobaoxhotelfuturesoftmodifyAPIRequest) SetOutOrderId ¶ added in v1.3.1
func (r *TaobaoxhotelfuturesoftmodifyAPIRequest) SetOutOrderId(_outOrderId string) error
SetOutOrderId is OutOrderId Setter 外部订单号
func (*TaobaoxhotelfuturesoftmodifyAPIRequest) SetRequestId ¶ added in v1.3.1
func (r *TaobaoxhotelfuturesoftmodifyAPIRequest) SetRequestId(_requestId string) error
SetRequestId is RequestId Setter 请求唯一标识值
func (*TaobaoxhotelfuturesoftmodifyAPIRequest) SetTid ¶ added in v1.3.1
func (r *TaobaoxhotelfuturesoftmodifyAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝订单号
type TaobaoxhotelfuturesoftmodifyAPIResponse ¶ added in v1.3.1
type TaobaoxhotelfuturesoftmodifyAPIResponse struct { model.CommonResponse TaobaoxhotelfuturesoftmodifyAPIResponseModel }
TaobaoxhotelfuturesoftmodifyAPIResponse 未来酒店信息下发 API返回值 taobao.xhotel.future.softmodify
未来酒店信息下发,包含PMS订单查询和自助入住
type TaobaoxhotelfuturesoftmodifyAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelfuturesoftmodifyAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_future_softmodify_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求报文示例:https://open.alitrip.com/docs/doc.htm?spm=a21tt.7629140.0.0.Q8jazn&docType=1&articleId=104398中的自助入住请求示例(升级版)和酒店PMS信息查询 响应报文示例:https://open.alitrip.com/docs/doc.htm?docType=1&articleId=106153中的自助checkIn订单信息上传和通用PMS结果查询结果 Context string `json:"context,omitempty" xml:"context,omitempty"` }
TaobaoxhotelfuturesoftmodifyAPIResponseModel is 未来酒店信息下发 成功返回结果
type TaobaoxhotelintlrateupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelintlrateupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelintlrateupdateAPIRequest 不落库商家推送更新酒店rate API请求 taobao.xhotel.intl.rate.update
商家主动推送不落库商品的酒店信息
func NewTaobaoxhotelintlrateupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelintlrateupdateRequest() *TaobaoxhotelintlrateupdateAPIRequest
NewTaobaoxhotelintlrateupdateRequest 初始化TaobaoxhotelintlrateupdateAPIRequest对象
func (TaobaoxhotelintlrateupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelintlrateupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelintlrateupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelintlrateupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelintlrateupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelintlrateupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelintlrateupdateAPIRequest) GetUpdateRateParam ¶ added in v1.3.1
func (r TaobaoxhotelintlrateupdateAPIRequest) GetUpdateRateParam() *UpdateRateParam
GetUpdateRateParam UpdateRateParam Getter
func (*TaobaoxhotelintlrateupdateAPIRequest) SetUpdateRateParam ¶ added in v1.3.1
func (r *TaobaoxhotelintlrateupdateAPIRequest) SetUpdateRateParam(_updateRateParam *UpdateRateParam) error
SetUpdateRateParam is UpdateRateParam Setter rate更新参数
type TaobaoxhotelintlrateupdateAPIResponse ¶ added in v1.3.1
type TaobaoxhotelintlrateupdateAPIResponse struct { model.CommonResponse TaobaoxhotelintlrateupdateAPIResponseModel }
TaobaoxhotelintlrateupdateAPIResponse 不落库商家推送更新酒店rate API返回值 taobao.xhotel.intl.rate.update
商家主动推送不落库商品的酒店信息
type TaobaoxhotelintlrateupdateAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelintlrateupdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_intl_rate_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询结果集 Result *TaobaoxhotelintlrateupdateResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoxhotelintlrateupdateAPIResponseModel is 不落库商家推送更新酒店rate 成功返回结果
type TaobaoxhotelintlrateupdateResultSet ¶ added in v1.3.1
type TaobaoxhotelintlrateupdateResultSet struct { // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // sub_error_msg SubErrorMsg string `json:"sub_error_msg,omitempty" xml:"sub_error_msg,omitempty"` // sub_error_code SubErrorCode string `json:"sub_error_code,omitempty" xml:"sub_error_code,omitempty"` // detail_msg_info DetailMsgInfo string `json:"detail_msg_info,omitempty" xml:"detail_msg_info,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // total_results TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // 总记录条数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaoxhotelintlrateupdateResultSet 结构体
type TaobaoxhotelmemberrightupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelmemberrightupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelmemberrightupdateAPIRequest 酒店会员权益更新操作 API请求 taobao.xhotel.memberright.update
当用户在搜索酒店时,我们需要根据用户是否可享有某项权益来进行相应价格的展示或隐藏,因此我们在酒店搜索时就需要判断用户是否享有某项权益。而由于酒店搜索频率过高,为提高搜索性能并降低第三方接口压力,当用户在搜索酒店时,淘宝会通过读取淘宝本地缓存的用户相关权益信息来进行判断。为提高缓存的准确性,当第三方有用户相关权益有变化时,通过调用淘宝此接口来更新淘宝本地缓存。此接口需要采用Top方式调用。
func NewTaobaoxhotelmemberrightupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelmemberrightupdateRequest() *TaobaoxhotelmemberrightupdateAPIRequest
NewTaobaoxhotelmemberrightupdateRequest 初始化TaobaoxhotelmemberrightupdateAPIRequest对象
func (TaobaoxhotelmemberrightupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelmemberrightupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelmemberrightupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelmemberrightupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelmemberrightupdateAPIRequest) GetHasRight ¶ added in v1.3.1
func (r TaobaoxhotelmemberrightupdateAPIRequest) GetHasRight() bool
GetHasRight HasRight Getter
func (TaobaoxhotelmemberrightupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelmemberrightupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelmemberrightupdateAPIRequest) GetRightType ¶ added in v1.3.1
func (r TaobaoxhotelmemberrightupdateAPIRequest) GetRightType() int64
GetRightType RightType Getter
func (TaobaoxhotelmemberrightupdateAPIRequest) GetTaobaoUserId ¶ added in v1.3.1
func (r TaobaoxhotelmemberrightupdateAPIRequest) GetTaobaoUserId() int64
GetTaobaoUserId TaobaoUserId Getter
func (*TaobaoxhotelmemberrightupdateAPIRequest) SetHasRight ¶ added in v1.3.1
func (r *TaobaoxhotelmemberrightupdateAPIRequest) SetHasRight(_hasRight bool) error
SetHasRight is HasRight Setter 表示用户是否有对应的权益,取值范围true、false
func (*TaobaoxhotelmemberrightupdateAPIRequest) SetRightType ¶ added in v1.3.1
func (r *TaobaoxhotelmemberrightupdateAPIRequest) SetRightType(_rightType int64) error
SetRightType is RightType Setter 会员权益类型,1表示首住权益
func (*TaobaoxhotelmemberrightupdateAPIRequest) SetTaobaoUserId ¶ added in v1.3.1
func (r *TaobaoxhotelmemberrightupdateAPIRequest) SetTaobaoUserId(_taobaoUserId int64) error
SetTaobaoUserId is TaobaoUserId Setter 淘宝用户id
type TaobaoxhotelmemberrightupdateAPIResponse ¶ added in v1.3.1
type TaobaoxhotelmemberrightupdateAPIResponse struct { model.CommonResponse TaobaoxhotelmemberrightupdateAPIResponseModel }
TaobaoxhotelmemberrightupdateAPIResponse 酒店会员权益更新操作 API返回值 taobao.xhotel.memberright.update
当用户在搜索酒店时,我们需要根据用户是否可享有某项权益来进行相应价格的展示或隐藏,因此我们在酒店搜索时就需要判断用户是否享有某项权益。而由于酒店搜索频率过高,为提高搜索性能并降低第三方接口压力,当用户在搜索酒店时,淘宝会通过读取淘宝本地缓存的用户相关权益信息来进行判断。为提高缓存的准确性,当第三方有用户相关权益有变化时,通过调用淘宝此接口来更新淘宝本地缓存。此接口需要采用Top方式调用。
type TaobaoxhotelmemberrightupdateAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelmemberrightupdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_memberright_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result bool `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoxhotelmemberrightupdateAPIResponseModel is 酒店会员权益更新操作 成功返回结果
type TaobaoxhotelorderalipayfacecancelsettleAPIRequest ¶ added in v1.3.1
type TaobaoxhotelorderalipayfacecancelsettleAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelorderalipayfacecancelsettleAPIRequest 信用住订单取消结算接口 API请求 taobao.xhotel.order.alipayface.cancelsettle
信用住订单由于客人为出现等原因,最终取消结算,一定要在结算后2个小时之内调用,否则不会成功。
func NewTaobaoxhotelorderalipayfacecancelsettleRequest ¶ added in v1.3.1
func NewTaobaoxhotelorderalipayfacecancelsettleRequest() *TaobaoxhotelorderalipayfacecancelsettleAPIRequest
NewTaobaoxhotelorderalipayfacecancelsettleRequest 初始化TaobaoxhotelorderalipayfacecancelsettleAPIRequest对象
func (TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetOutId ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetOutId() string
GetOutId OutId Getter
func (TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetReason ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetReason() string
GetReason Reason Getter
func (TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetTid ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacecancelsettleAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoxhotelorderalipayfacecancelsettleAPIRequest) SetOutId ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacecancelsettleAPIRequest) SetOutId(_outId string) error
SetOutId is OutId Setter 外部订单号,和tid二选一必填
func (*TaobaoxhotelorderalipayfacecancelsettleAPIRequest) SetReason ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacecancelsettleAPIRequest) SetReason(_reason string) error
SetReason is Reason Setter 取消结账的原因
func (*TaobaoxhotelorderalipayfacecancelsettleAPIRequest) SetTid ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacecancelsettleAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 阿里旅行订单号,淘宝订单号或外部订单号二选一必填
type TaobaoxhotelorderalipayfacecancelsettleAPIResponse ¶ added in v1.3.1
type TaobaoxhotelorderalipayfacecancelsettleAPIResponse struct { model.CommonResponse TaobaoxhotelorderalipayfacecancelsettleAPIResponseModel }
TaobaoxhotelorderalipayfacecancelsettleAPIResponse 信用住订单取消结算接口 API返回值 taobao.xhotel.order.alipayface.cancelsettle
信用住订单由于客人为出现等原因,最终取消结算,一定要在结算后2个小时之内调用,否则不会成功。
type TaobaoxhotelorderalipayfacecancelsettleAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelorderalipayfacecancelsettleAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_alipayface_cancelsettle_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回信息 Result string `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoxhotelorderalipayfacecancelsettleAPIResponseModel is 信用住订单取消结算接口 成功返回结果
type TaobaoxhotelorderalipayfacesettleAPIRequest ¶ added in v1.3.1
type TaobaoxhotelorderalipayfacesettleAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelorderalipayfacesettleAPIRequest 信用住订单结账接口 API请求 taobao.xhotel.order.alipayface.settle
用于离店付订单在客人离店后,发起结账以及扣款等后续动作
func NewTaobaoxhotelorderalipayfacesettleRequest ¶ added in v1.3.1
func NewTaobaoxhotelorderalipayfacesettleRequest() *TaobaoxhotelorderalipayfacesettleAPIRequest
NewTaobaoxhotelorderalipayfacesettleRequest 初始化TaobaoxhotelorderalipayfacesettleAPIRequest对象
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetAmount ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetAmount() int64
GetAmount Amount Getter
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetCheckOut ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetCheckOut() string
GetCheckOut CheckOut Getter
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetContainGuarantee ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetContainGuarantee() int64
GetContainGuarantee ContainGuarantee Getter
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetCurrencyCode ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetCurrencyCode() string
GetCurrencyCode CurrencyCode Getter
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetCurrencyRate ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetCurrencyRate() string
GetCurrencyRate CurrencyRate Getter
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetDailyPriceInfo ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetDailyPriceInfo() string
GetDailyPriceInfo DailyPriceInfo Getter
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetHotelCode ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetHotelCode() string
GetHotelCode HotelCode Getter
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetMemo ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetMemo() string
GetMemo Memo Getter
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetOtherFee ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetOtherFee() int64
GetOtherFee OtherFee Getter
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetOtherFeeDetail ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetOtherFeeDetail() string
GetOtherFeeDetail OtherFeeDetail Getter
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetOutId ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetOutId() string
GetOutId OutId Getter
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetPriceChange ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetPriceChange() int64
GetPriceChange PriceChange Getter
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetRoomNo ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetRoomNo() string
GetRoomNo RoomNo Getter
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetRoomSettleInfoList ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetRoomSettleInfoList() []RoomSettleInfo
GetRoomSettleInfoList RoomSettleInfoList Getter
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetTaxAndFee ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetTaxAndFee() int64
GetTaxAndFee TaxAndFee Getter
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetTid ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetTid() int64
GetTid Tid Getter
func (TaobaoxhotelorderalipayfacesettleAPIRequest) GetTotalRoomFee ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfacesettleAPIRequest) GetTotalRoomFee() int64
GetTotalRoomFee TotalRoomFee Getter
func (*TaobaoxhotelorderalipayfacesettleAPIRequest) SetAmount ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetAmount(_amount int64) error
SetAmount is Amount Setter 应收金额,大于0时,直接按照此金额扣款,忽略房费和杂费金额。该字段仅适用于自助入住订单场景
func (*TaobaoxhotelorderalipayfacesettleAPIRequest) SetCheckOut ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetCheckOut(_checkOut string) error
SetCheckOut is CheckOut Setter 实际离店日期,用于校验总房费收取
func (*TaobaoxhotelorderalipayfacesettleAPIRequest) SetContainGuarantee ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetContainGuarantee(_containGuarantee int64) error
SetContainGuarantee is ContainGuarantee Setter 此金额是否包含担保金 0:默认值无意义;1:包含;2:不包含
func (*TaobaoxhotelorderalipayfacesettleAPIRequest) SetCurrencyCode ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetCurrencyCode(_currencyCode string) error
SetCurrencyCode is CurrencyCode Setter 币种标识,默认人民币
func (*TaobaoxhotelorderalipayfacesettleAPIRequest) SetCurrencyRate ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetCurrencyRate(_currencyRate string) error
SetCurrencyRate is CurrencyRate Setter 汇率
func (*TaobaoxhotelorderalipayfacesettleAPIRequest) SetDailyPriceInfo ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetDailyPriceInfo(_dailyPriceInfo string) error
SetDailyPriceInfo is DailyPriceInfo Setter 每日房价,json格式(包含日期,价格,税费,低价加价前费用等),如果房价和在阿里旅行下单时发生了变化,必须设置该字段.用于更新阿里旅行端的房价信息,涉及到对用户的优惠信息处理等环节(多间房的时候dailyPriceInfo留空)
func (*TaobaoxhotelorderalipayfacesettleAPIRequest) SetHotelCode ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetHotelCode(_hotelCode string) error
SetHotelCode is HotelCode Setter 酒店外部编码
func (*TaobaoxhotelorderalipayfacesettleAPIRequest) SetMemo ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetMemo(_memo string) error
SetMemo is Memo Setter 备注
func (*TaobaoxhotelorderalipayfacesettleAPIRequest) SetOtherFee ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetOtherFee(_otherFee int64) error
SetOtherFee is OtherFee Setter 杂费总额(不能为负数)
func (*TaobaoxhotelorderalipayfacesettleAPIRequest) SetOtherFeeDetail ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetOtherFeeDetail(_otherFeeDetail string) error
SetOtherFeeDetail is OtherFeeDetail Setter 杂费明细,如果otherFee>0则该字段必须设置,并和杂费金额相吻合
func (*TaobaoxhotelorderalipayfacesettleAPIRequest) SetOutId ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetOutId(_outId string) error
SetOutId is OutId Setter 商家订单号
func (*TaobaoxhotelorderalipayfacesettleAPIRequest) SetPriceChange ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetPriceChange(_priceChange int64) error
SetPriceChange is PriceChange Setter 结账变价标识,0未变价,1变价
func (*TaobaoxhotelorderalipayfacesettleAPIRequest) SetRoomNo ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetRoomNo(_roomNo string) error
SetRoomNo is RoomNo Setter 入住房间号
func (*TaobaoxhotelorderalipayfacesettleAPIRequest) SetRoomSettleInfoList ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetRoomSettleInfoList(_roomSettleInfoList []RoomSettleInfo) error
SetRoomSettleInfoList is RoomSettleInfoList Setter 单间房明细
func (*TaobaoxhotelorderalipayfacesettleAPIRequest) SetTaxAndFee ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetTaxAndFee(_taxAndFee int64) error
SetTaxAndFee is TaxAndFee Setter 税和服务费
func (*TaobaoxhotelorderalipayfacesettleAPIRequest) SetTid ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝订单id,必须填写
func (*TaobaoxhotelorderalipayfacesettleAPIRequest) SetTotalRoomFee ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfacesettleAPIRequest) SetTotalRoomFee(_totalRoomFee int64) error
SetTotalRoomFee is TotalRoomFee Setter 房费总额(必须大于0)。结账时请按订单原价发起结账卖家优惠由飞猪平台发起扣减
type TaobaoxhotelorderalipayfacesettleAPIResponse ¶ added in v1.3.1
type TaobaoxhotelorderalipayfacesettleAPIResponse struct { model.CommonResponse TaobaoxhotelorderalipayfacesettleAPIResponseModel }
TaobaoxhotelorderalipayfacesettleAPIResponse 信用住订单结账接口 API返回值 taobao.xhotel.order.alipayface.settle
用于离店付订单在客人离店后,发起结账以及扣款等后续动作
type TaobaoxhotelorderalipayfacesettleAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelorderalipayfacesettleAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_alipayface_settle_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回 Result string `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoxhotelorderalipayfacesettleAPIResponseModel is 信用住订单结账接口 成功返回结果
type TaobaoxhotelorderalipayfaceupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelorderalipayfaceupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelorderalipayfaceupdateAPIRequest 酒店信用住订单状态更新 API请求 taobao.xhotel.order.alipayface.update
完成对信用住或者面付订单的状态的更新。包含订单状态的确认,入离店状态的更新等等。(不适用于预付订单)
func NewTaobaoxhotelorderalipayfaceupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelorderalipayfaceupdateRequest() *TaobaoxhotelorderalipayfaceupdateAPIRequest
NewTaobaoxhotelorderalipayfaceupdateRequest 初始化TaobaoxhotelorderalipayfaceupdateAPIRequest对象
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetCancelType ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetCancelType() int64
GetCancelType CancelType Getter
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetCheckinDate ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetCheckinDate() string
GetCheckinDate CheckinDate Getter
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetCheckoutDate ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetCheckoutDate() string
GetCheckoutDate CheckoutDate Getter
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetConfirmCode ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetConfirmCode() string
GetConfirmCode ConfirmCode Getter
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetOperator ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetOperator() string
GetOperator Operator Getter
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetOptType ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetOptType() int64
GetOptType OptType Getter
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetOutId ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetOutId() string
GetOutId OutId Getter
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetOutRoomNumber ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetOutRoomNumber() string
GetOutRoomNumber OutRoomNumber Getter
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetReasonText ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetReasonText() string
GetReasonText ReasonText Getter
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetReasonType ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetReasonType() int64
GetReasonType ReasonType Getter
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetRooms ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetRooms() int64
GetRooms Rooms Getter
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetSelfCheckin ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetSelfCheckin() bool
GetSelfCheckin SelfCheckin Getter
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetSyncToHotel ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetSyncToHotel() string
GetSyncToHotel SyncToHotel Getter
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetTid ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetTid() int64
GetTid Tid Getter
func (TaobaoxhotelorderalipayfaceupdateAPIRequest) GetTids ¶ added in v1.3.1
func (r TaobaoxhotelorderalipayfaceupdateAPIRequest) GetTids() string
GetTids Tids Getter
func (*TaobaoxhotelorderalipayfaceupdateAPIRequest) SetCancelType ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetCancelType(_cancelType int64) error
SetCancelType is CancelType Setter opt_type为11启用,多间房订单取消原因类型,逗号间隔
func (*TaobaoxhotelorderalipayfaceupdateAPIRequest) SetCheckinDate ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetCheckinDate(_checkinDate string) error
SetCheckinDate is CheckinDate Setter 客人实际入住日期,opt_type=3/4时必填
func (*TaobaoxhotelorderalipayfaceupdateAPIRequest) SetCheckoutDate ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetCheckoutDate(_checkoutDate string) error
SetCheckoutDate is CheckoutDate Setter 客人实际离店日期,opt_type=4时必填
func (*TaobaoxhotelorderalipayfaceupdateAPIRequest) SetConfirmCode ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetConfirmCode(_confirmCode string) error
SetConfirmCode is ConfirmCode Setter opt_type为12, 订单确认号
func (*TaobaoxhotelorderalipayfaceupdateAPIRequest) SetOperator ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetOperator(_operator string) error
SetOperator is Operator Setter opt_type为10,11,12启用,真实操作人
func (*TaobaoxhotelorderalipayfaceupdateAPIRequest) SetOptType ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetOptType(_optType int64) error
SetOptType is OptType Setter 操作的类型:12.补录确认号,11.多间房确认无房,10.多间房确认有房,8.取消订单(cancel)酒店端发起取消,必须在和买家协商通过的情况下操作,否则有法务风险; 5.买家未入住(noshow),如果该单有担保,会收取买家的担保金额; 3.核实入住(checkIn); 4.核实离店(checkOut); 1.确认无房(直连卖家禁止该操作),2.确认有房(直连卖家禁止该操作)
func (*TaobaoxhotelorderalipayfaceupdateAPIRequest) SetOutId ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetOutId(_outId string) error
SetOutId is OutId Setter 外部订单号
func (*TaobaoxhotelorderalipayfaceupdateAPIRequest) SetOutRoomNumber ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetOutRoomNumber(_outRoomNumber string) error
SetOutRoomNumber is OutRoomNumber Setter 入住房间号
func (*TaobaoxhotelorderalipayfaceupdateAPIRequest) SetReasonText ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetReasonText(_reasonText string) error
SetReasonText is ReasonText Setter 无房原因描述:opt_type=1时必填
func (*TaobaoxhotelorderalipayfaceupdateAPIRequest) SetReasonType ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetReasonType(_reasonType int64) error
SetReasonType is ReasonType Setter 无房原因分类:1.无房, 2.价格变动, 3.买家原因, 4.其它原因,opt_type=1时必填
func (*TaobaoxhotelorderalipayfaceupdateAPIRequest) SetRooms ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetRooms(_rooms int64) error
SetRooms is Rooms Setter 客人实际预定房间数
func (*TaobaoxhotelorderalipayfaceupdateAPIRequest) SetSelfCheckin ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetSelfCheckin(_selfCheckin bool) error
SetSelfCheckin is SelfCheckin Setter 是否自助入住
func (*TaobaoxhotelorderalipayfaceupdateAPIRequest) SetSyncToHotel ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetSyncToHotel(_syncToHotel string) error
SetSyncToHotel is SyncToHotel Setter 是否把代理直签的订单同步到酒店,Y为同步,N不同步
func (*TaobaoxhotelorderalipayfaceupdateAPIRequest) SetTid ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝订单号,必填
func (*TaobaoxhotelorderalipayfaceupdateAPIRequest) SetTids ¶ added in v1.3.1
func (r *TaobaoxhotelorderalipayfaceupdateAPIRequest) SetTids(_tids string) error
SetTids is Tids Setter opt_type为10,11启用,多间房订单号列表,逗号间隔
type TaobaoxhotelorderalipayfaceupdateAPIResponse ¶ added in v1.3.1
type TaobaoxhotelorderalipayfaceupdateAPIResponse struct { model.CommonResponse TaobaoxhotelorderalipayfaceupdateAPIResponseModel }
TaobaoxhotelorderalipayfaceupdateAPIResponse 酒店信用住订单状态更新 API返回值 taobao.xhotel.order.alipayface.update
完成对信用住或者面付订单的状态的更新。包含订单状态的确认,入离店状态的更新等等。(不适用于预付订单)
type TaobaoxhotelorderalipayfaceupdateAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelorderalipayfaceupdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_alipayface_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回提示信息 Result string `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoxhotelorderalipayfaceupdateAPIResponseModel is 酒店信用住订单状态更新 成功返回结果
type TaobaoxhotelorderdetailsearchAPIRequest ¶ added in v1.3.1
type TaobaoxhotelorderdetailsearchAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelorderdetailsearchAPIRequest 订单详情查询 API请求 taobao.xhotel.order.detail.search
提供订单详情查询
func NewTaobaoxhotelorderdetailsearchRequest ¶ added in v1.3.1
func NewTaobaoxhotelorderdetailsearchRequest() *TaobaoxhotelorderdetailsearchAPIRequest
NewTaobaoxhotelorderdetailsearchRequest 初始化TaobaoxhotelorderdetailsearchAPIRequest对象
func (TaobaoxhotelorderdetailsearchAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelorderdetailsearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelorderdetailsearchAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelorderdetailsearchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelorderdetailsearchAPIRequest) GetOutOid ¶ added in v1.3.1
func (r TaobaoxhotelorderdetailsearchAPIRequest) GetOutOid() string
GetOutOid OutOid Getter
func (TaobaoxhotelorderdetailsearchAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelorderdetailsearchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelorderdetailsearchAPIRequest) GetTid ¶ added in v1.3.1
func (r TaobaoxhotelorderdetailsearchAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoxhotelorderdetailsearchAPIRequest) SetOutOid ¶ added in v1.3.1
func (r *TaobaoxhotelorderdetailsearchAPIRequest) SetOutOid(_outOid string) error
SetOutOid is OutOid Setter 外部订单号
func (*TaobaoxhotelorderdetailsearchAPIRequest) SetTid ¶ added in v1.3.1
func (r *TaobaoxhotelorderdetailsearchAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 外部订单号
type TaobaoxhotelorderdetailsearchAPIResponse ¶ added in v1.3.1
type TaobaoxhotelorderdetailsearchAPIResponse struct { model.CommonResponse TaobaoxhotelorderdetailsearchAPIResponseModel }
TaobaoxhotelorderdetailsearchAPIResponse 订单详情查询 API返回值 taobao.xhotel.order.detail.search
提供订单详情查询
type TaobaoxhotelorderdetailsearchAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelorderdetailsearchAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_detail_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误编号 Error string `json:"error,omitempty" xml:"error,omitempty"` // 订单详情对象 TopOrderDetail *TopOrderDetail `json:"top_order_detail,omitempty" xml:"top_order_detail,omitempty"` }
TaobaoxhotelorderdetailsearchAPIResponseModel is 订单详情查询 成功返回结果
type TaobaoxhotelorderfuturefacescanputAPIRequest ¶ added in v1.3.1
type TaobaoxhotelorderfuturefacescanputAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelorderfuturefacescanputAPIRequest 未来酒店扫脸信息上传 API请求 taobao.xhotel.order.future.facescan.put
未来酒店扫脸信息上传服务,用于悉尔等厂商的扫脸设备对接
func NewTaobaoxhotelorderfuturefacescanputRequest ¶ added in v1.3.1
func NewTaobaoxhotelorderfuturefacescanputRequest() *TaobaoxhotelorderfuturefacescanputAPIRequest
NewTaobaoxhotelorderfuturefacescanputRequest 初始化TaobaoxhotelorderfuturefacescanputAPIRequest对象
func (TaobaoxhotelorderfuturefacescanputAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelorderfuturefacescanputAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelorderfuturefacescanputAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelorderfuturefacescanputAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelorderfuturefacescanputAPIRequest) GetFaceScanParam ¶ added in v1.3.1
func (r TaobaoxhotelorderfuturefacescanputAPIRequest) GetFaceScanParam() *FaceScanParam
GetFaceScanParam FaceScanParam Getter
func (TaobaoxhotelorderfuturefacescanputAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelorderfuturefacescanputAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelorderfuturefacescanputAPIRequest) SetFaceScanParam ¶ added in v1.3.1
func (r *TaobaoxhotelorderfuturefacescanputAPIRequest) SetFaceScanParam(_faceScanParam *FaceScanParam) error
SetFaceScanParam is FaceScanParam Setter 扫脸参数
type TaobaoxhotelorderfuturefacescanputAPIResponse ¶ added in v1.3.1
type TaobaoxhotelorderfuturefacescanputAPIResponse struct { model.CommonResponse TaobaoxhotelorderfuturefacescanputAPIResponseModel }
TaobaoxhotelorderfuturefacescanputAPIResponse 未来酒店扫脸信息上传 API返回值 taobao.xhotel.order.future.facescan.put
未来酒店扫脸信息上传服务,用于悉尔等厂商的扫脸设备对接
type TaobaoxhotelorderfuturefacescanputAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelorderfuturefacescanputAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_future_facescan_put_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoxhotelorderfuturefacescanputResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoxhotelorderfuturefacescanputAPIResponseModel is 未来酒店扫脸信息上传 成功返回结果
type TaobaoxhotelorderfuturefacescanputResultSet ¶ added in v1.3.1
type TaobaoxhotelorderfuturefacescanputResultSet struct { // 错误描述 Errormsg string `json:"errormsg,omitempty" xml:"errormsg,omitempty"` // 错误码 Errorcode string `json:"errorcode,omitempty" xml:"errorcode,omitempty"` // 是否更新失败。返回true表示更新成功。否则请读取错误码与错误描述 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoxhotelorderfuturefacescanputResultSet 结构体
type TaobaoxhotelorderfutureinfogetAPIRequest ¶ added in v1.3.1
type TaobaoxhotelorderfutureinfogetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelorderfutureinfogetAPIRequest 获取(查询)订单变更信息 API请求 taobao.xhotel.order.future.info.get
支持操作类型 1.在线开发票请求 3.在线选房请求 4.自助checkIn请求 13.扫脸入住身份信息请求 10.房态信息查询请求 103.通用任务取消指令
func NewTaobaoxhotelorderfutureinfogetRequest ¶ added in v1.3.1
func NewTaobaoxhotelorderfutureinfogetRequest() *TaobaoxhotelorderfutureinfogetAPIRequest
NewTaobaoxhotelorderfutureinfogetRequest 初始化TaobaoxhotelorderfutureinfogetAPIRequest对象
func (TaobaoxhotelorderfutureinfogetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelorderfutureinfogetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelorderfutureinfogetAPIRequest) GetCreatedEnd ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetCreatedEnd() string
GetCreatedEnd CreatedEnd Getter
func (TaobaoxhotelorderfutureinfogetAPIRequest) GetCreatedStart ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetCreatedStart() string
GetCreatedStart CreatedStart Getter
func (TaobaoxhotelorderfutureinfogetAPIRequest) GetHotelCode ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetHotelCode() string
GetHotelCode HotelCode Getter
func (TaobaoxhotelorderfutureinfogetAPIRequest) GetOperateType ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetOperateType() int64
GetOperateType OperateType Getter
func (TaobaoxhotelorderfutureinfogetAPIRequest) GetOutUuid ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetOutUuid() string
GetOutUuid OutUuid Getter
func (TaobaoxhotelorderfutureinfogetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelorderfutureinfogetAPIRequest) GetTids ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetTids() string
GetTids Tids Getter
func (TaobaoxhotelorderfutureinfogetAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfogetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelorderfutureinfogetAPIRequest) SetCreatedEnd ¶ added in v1.3.1
func (r *TaobaoxhotelorderfutureinfogetAPIRequest) SetCreatedEnd(_createdEnd string) error
SetCreatedEnd is CreatedEnd Setter 结束时间
func (*TaobaoxhotelorderfutureinfogetAPIRequest) SetCreatedStart ¶ added in v1.3.1
func (r *TaobaoxhotelorderfutureinfogetAPIRequest) SetCreatedStart(_createdStart string) error
SetCreatedStart is CreatedStart Setter 开始时间
func (*TaobaoxhotelorderfutureinfogetAPIRequest) SetHotelCode ¶ added in v1.3.1
func (r *TaobaoxhotelorderfutureinfogetAPIRequest) SetHotelCode(_hotelCode string) error
SetHotelCode is HotelCode Setter 酒店编码
func (*TaobaoxhotelorderfutureinfogetAPIRequest) SetOperateType ¶ added in v1.3.1
func (r *TaobaoxhotelorderfutureinfogetAPIRequest) SetOperateType(_operateType int64) error
SetOperateType is OperateType Setter 操作类型 1.在线开发票请求 3.在线选房请求 4.自助checkIn请求 13.扫脸入住身份信息请求 10.房态信息查询请求 103.通用任务取消指令
func (*TaobaoxhotelorderfutureinfogetAPIRequest) SetOutUuid ¶ added in v1.3.1
func (r *TaobaoxhotelorderfutureinfogetAPIRequest) SetOutUuid(_outUuid string) error
SetOutUuid is OutUuid Setter 请求流水号
func (*TaobaoxhotelorderfutureinfogetAPIRequest) SetTids ¶ added in v1.3.1
func (r *TaobaoxhotelorderfutureinfogetAPIRequest) SetTids(_tids string) error
SetTids is Tids Setter 指定淘宝订单ID。以英文分号隔开的字符串“123455666;123455666;123455666”
func (*TaobaoxhotelorderfutureinfogetAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelorderfutureinfogetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商分配的身份识别
type TaobaoxhotelorderfutureinfogetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelorderfutureinfogetAPIResponse struct { model.CommonResponse TaobaoxhotelorderfutureinfogetAPIResponseModel }
TaobaoxhotelorderfutureinfogetAPIResponse 获取(查询)订单变更信息 API返回值 taobao.xhotel.order.future.info.get
支持操作类型 1.在线开发票请求 3.在线选房请求 4.自助checkIn请求 13.扫脸入住身份信息请求 10.房态信息查询请求 103.通用任务取消指令
type TaobaoxhotelorderfutureinfogetAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelorderfutureinfogetAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_future_info_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果返回列表 Results []HotelOrderDirectInfo `json:"results,omitempty" xml:"results>hotel_order_direct_info,omitempty"` // 返回外部请求流水号 OutUuid string `json:"out_uuid,omitempty" xml:"out_uuid,omitempty"` // 是否成功标记 Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"` }
TaobaoxhotelorderfutureinfogetAPIResponseModel is 获取(查询)订单变更信息 成功返回结果
type TaobaoxhotelorderfutureinfoputAPIRequest ¶ added in v1.3.1
type TaobaoxhotelorderfutureinfoputAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelorderfutureinfoputAPIRequest 订单信息上传更新 API请求 taobao.xhotel.order.future.info.put
商家调用推送信息给飞猪平台。 支持如下操作类型:21: 订单状态更新(商家推送订单状态变更)23:酒店房态信息上传(上传一段时间内的酒店房态)25:在线开发票请求确认 26:自助选房请求进行请求确认 27:自助checkIn请求进行请求确认 32: 扫脸入住入住信息回传 (飞猪将登记至公安系统)
func NewTaobaoxhotelorderfutureinfoputRequest ¶ added in v1.3.1
func NewTaobaoxhotelorderfutureinfoputRequest() *TaobaoxhotelorderfutureinfoputAPIRequest
NewTaobaoxhotelorderfutureinfoputRequest 初始化TaobaoxhotelorderfutureinfoputAPIRequest对象
func (TaobaoxhotelorderfutureinfoputAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelorderfutureinfoputAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelorderfutureinfoputAPIRequest) GetContext ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetContext() string
GetContext Context Getter
func (TaobaoxhotelorderfutureinfoputAPIRequest) GetHotelCode ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetHotelCode() string
GetHotelCode HotelCode Getter
func (TaobaoxhotelorderfutureinfoputAPIRequest) GetOperateType ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetOperateType() int64
GetOperateType OperateType Getter
func (TaobaoxhotelorderfutureinfoputAPIRequest) GetOutUuid ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetOutUuid() string
GetOutUuid OutUuid Getter
func (TaobaoxhotelorderfutureinfoputAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelorderfutureinfoputAPIRequest) GetRequestId ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetRequestId() string
GetRequestId RequestId Getter
func (TaobaoxhotelorderfutureinfoputAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelorderfutureinfoputAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelorderfutureinfoputAPIRequest) SetContext ¶ added in v1.3.1
func (r *TaobaoxhotelorderfutureinfoputAPIRequest) SetContext(_context string) error
SetContext is Context Setter 字段详细介绍参见 https://open.alitrip.com/docs/doc.htm?docType=1&articleId=106153
func (*TaobaoxhotelorderfutureinfoputAPIRequest) SetHotelCode ¶ added in v1.3.1
func (r *TaobaoxhotelorderfutureinfoputAPIRequest) SetHotelCode(_hotelCode string) error
SetHotelCode is HotelCode Setter 酒店编码
func (*TaobaoxhotelorderfutureinfoputAPIRequest) SetOperateType ¶ added in v1.3.1
func (r *TaobaoxhotelorderfutureinfoputAPIRequest) SetOperateType(_operateType int64) error
SetOperateType is OperateType Setter 操作类型 21: 订单状态更新(商家推送订单状态变更)23:酒店房态信息上传(上传一段时间内的酒店房态)25:在线开发票请求确认 26:自助选房请求进行请求确认 27:自助checkIn请求进行请求确认 32: 扫脸入住入住信息回传 (飞猪将登记至公安系统)
func (*TaobaoxhotelorderfutureinfoputAPIRequest) SetOutUuid ¶ added in v1.3.1
func (r *TaobaoxhotelorderfutureinfoputAPIRequest) SetOutUuid(_outUuid string) error
SetOutUuid is OutUuid Setter 商家请求流水号
func (*TaobaoxhotelorderfutureinfoputAPIRequest) SetRequestId ¶ added in v1.3.1
func (r *TaobaoxhotelorderfutureinfoputAPIRequest) SetRequestId(_requestId string) error
SetRequestId is RequestId Setter 请求流水号
func (*TaobaoxhotelorderfutureinfoputAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelorderfutureinfoputAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 商家vendor信息。具体值咨询淘宝技术
type TaobaoxhotelorderfutureinfoputAPIResponse ¶ added in v1.3.1
type TaobaoxhotelorderfutureinfoputAPIResponse struct { model.CommonResponse TaobaoxhotelorderfutureinfoputAPIResponseModel }
TaobaoxhotelorderfutureinfoputAPIResponse 订单信息上传更新 API返回值 taobao.xhotel.order.future.info.put
商家调用推送信息给飞猪平台。 支持如下操作类型:21: 订单状态更新(商家推送订单状态变更)23:酒店房态信息上传(上传一段时间内的酒店房态)25:在线开发票请求确认 26:自助选房请求进行请求确认 27:自助checkIn请求进行请求确认 32: 扫脸入住入住信息回传 (飞猪将登记至公安系统)
type TaobaoxhotelorderfutureinfoputAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelorderfutureinfoputAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_future_info_put_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"` // 错误描述 Eerrmsg string `json:"eerrmsg,omitempty" xml:"eerrmsg,omitempty"` // 是否成功标记 Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"` // 是否更新失败。返回false表示更新成功。否则请读取错误码与错误描述 Error bool `json:"error,omitempty" xml:"error,omitempty"` }
TaobaoxhotelorderfutureinfoputAPIResponseModel is 订单信息上传更新 成功返回结果
type TaobaoxhotelordersearchAPIRequest ¶ added in v1.3.1
type TaobaoxhotelordersearchAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelordersearchAPIRequest 酒店产品库订单查询 API请求 taobao.xhotel.order.search
酒店产品库订单查询功能,查询90天内的订单
func NewTaobaoxhotelordersearchRequest ¶ added in v1.3.1
func NewTaobaoxhotelordersearchRequest() *TaobaoxhotelordersearchAPIRequest
NewTaobaoxhotelordersearchRequest 初始化TaobaoxhotelordersearchAPIRequest对象
func (TaobaoxhotelordersearchAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelordersearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelordersearchAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelordersearchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelordersearchAPIRequest) GetCheckinDateEnd ¶ added in v1.3.1
func (r TaobaoxhotelordersearchAPIRequest) GetCheckinDateEnd() string
GetCheckinDateEnd CheckinDateEnd Getter
func (TaobaoxhotelordersearchAPIRequest) GetCheckinDateStart ¶ added in v1.3.1
func (r TaobaoxhotelordersearchAPIRequest) GetCheckinDateStart() string
GetCheckinDateStart CheckinDateStart Getter
func (TaobaoxhotelordersearchAPIRequest) GetCheckoutDateEnd ¶ added in v1.3.1
func (r TaobaoxhotelordersearchAPIRequest) GetCheckoutDateEnd() string
GetCheckoutDateEnd CheckoutDateEnd Getter
func (TaobaoxhotelordersearchAPIRequest) GetCheckoutDateStart ¶ added in v1.3.1
func (r TaobaoxhotelordersearchAPIRequest) GetCheckoutDateStart() string
GetCheckoutDateStart CheckoutDateStart Getter
func (TaobaoxhotelordersearchAPIRequest) GetCreatedEnd ¶ added in v1.3.1
func (r TaobaoxhotelordersearchAPIRequest) GetCreatedEnd() string
GetCreatedEnd CreatedEnd Getter
func (TaobaoxhotelordersearchAPIRequest) GetCreatedStart ¶ added in v1.3.1
func (r TaobaoxhotelordersearchAPIRequest) GetCreatedStart() string
GetCreatedStart CreatedStart Getter
func (TaobaoxhotelordersearchAPIRequest) GetDirect ¶ added in v1.3.1
func (r TaobaoxhotelordersearchAPIRequest) GetDirect() bool
GetDirect Direct Getter
func (TaobaoxhotelordersearchAPIRequest) GetOrderIds ¶ added in v1.3.1
func (r TaobaoxhotelordersearchAPIRequest) GetOrderIds() string
GetOrderIds OrderIds Getter
func (TaobaoxhotelordersearchAPIRequest) GetOrderTids ¶ added in v1.3.1
func (r TaobaoxhotelordersearchAPIRequest) GetOrderTids() string
GetOrderTids OrderTids Getter
func (TaobaoxhotelordersearchAPIRequest) GetOutOids ¶ added in v1.3.1
func (r TaobaoxhotelordersearchAPIRequest) GetOutOids() string
GetOutOids OutOids Getter
func (TaobaoxhotelordersearchAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaoxhotelordersearchAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoxhotelordersearchAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelordersearchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelordersearchAPIRequest) GetTradeStatus ¶ added in v1.3.1
func (r TaobaoxhotelordersearchAPIRequest) GetTradeStatus() string
GetTradeStatus TradeStatus Getter
func (TaobaoxhotelordersearchAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelordersearchAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelordersearchAPIRequest) SetCheckinDateEnd ¶ added in v1.3.1
func (r *TaobaoxhotelordersearchAPIRequest) SetCheckinDateEnd(_checkinDateEnd string) error
SetCheckinDateEnd is CheckinDateEnd Setter 入住时间查询结束时间,格式为:yyyy-MM-dd HH:mm:ss。不能早于checkin_date_start或者间隔不能大于30
func (*TaobaoxhotelordersearchAPIRequest) SetCheckinDateStart ¶ added in v1.3.1
func (r *TaobaoxhotelordersearchAPIRequest) SetCheckinDateStart(_checkinDateStart string) error
SetCheckinDateStart is CheckinDateStart Setter 入住时间查询起始时间,格式为:yyyy-MM-dd HH:mm:ss
func (*TaobaoxhotelordersearchAPIRequest) SetCheckoutDateEnd ¶ added in v1.3.1
func (r *TaobaoxhotelordersearchAPIRequest) SetCheckoutDateEnd(_checkoutDateEnd string) error
SetCheckoutDateEnd is CheckoutDateEnd Setter 离店时间查询结束时间,格式为:yyyy-MM-dd HH:mm:ss。不能早于checkout_date_start或者间隔不能大于30
func (*TaobaoxhotelordersearchAPIRequest) SetCheckoutDateStart ¶ added in v1.3.1
func (r *TaobaoxhotelordersearchAPIRequest) SetCheckoutDateStart(_checkoutDateStart string) error
SetCheckoutDateStart is CheckoutDateStart Setter 离店时间查询起始时间,格式为:yyyy-MM-dd HH:mm:ss
func (*TaobaoxhotelordersearchAPIRequest) SetCreatedEnd ¶ added in v1.3.1
func (r *TaobaoxhotelordersearchAPIRequest) SetCreatedEnd(_createdEnd string) error
SetCreatedEnd is CreatedEnd Setter 订单创建时间查询结束时间,格式为:yyyy-MM-dd HH:mm:ss。不能早于created_start或者间隔不能大于30
func (*TaobaoxhotelordersearchAPIRequest) SetCreatedStart ¶ added in v1.3.1
func (r *TaobaoxhotelordersearchAPIRequest) SetCreatedStart(_createdStart string) error
SetCreatedStart is CreatedStart Setter 订单创建时间查询起始时间,格式为:yyyy-MM-dd HH:mm:ss
func (*TaobaoxhotelordersearchAPIRequest) SetDirect ¶ added in v1.3.1
func (r *TaobaoxhotelordersearchAPIRequest) SetDirect(_direct bool) error
SetDirect is Direct Setter 订单类型(true为直连,false为非直连)
func (*TaobaoxhotelordersearchAPIRequest) SetOrderIds ¶ added in v1.3.1
func (r *TaobaoxhotelordersearchAPIRequest) SetOrderIds(_orderIds string) error
SetOrderIds is OrderIds Setter 酒店订单oids列表,多个oid用英文逗号隔开,一次不超过20个。
func (*TaobaoxhotelordersearchAPIRequest) SetOrderTids ¶ added in v1.3.1
func (r *TaobaoxhotelordersearchAPIRequest) SetOrderTids(_orderTids string) error
SetOrderTids is OrderTids Setter 酒店订单tids列表,多个tid用英文逗号隔开,一次不超过20个。oids和tids都传的情况下默认使用tids
func (*TaobaoxhotelordersearchAPIRequest) SetOutOids ¶ added in v1.3.1
func (r *TaobaoxhotelordersearchAPIRequest) SetOutOids(_outOids string) error
SetOutOids is OutOids Setter 外部订单号out_oids列表,多个oid用英文逗号隔开,一次不超过20个。
func (*TaobaoxhotelordersearchAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaoxhotelordersearchAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 分页页码。取值范围,大于零的整数,默认值1,即返回第一页的数据。页面大小为20
func (*TaobaoxhotelordersearchAPIRequest) SetTradeStatus ¶ added in v1.3.1
func (r *TaobaoxhotelordersearchAPIRequest) SetTradeStatus(_tradeStatus string) error
SetTradeStatus is TradeStatus Setter 订单状态(可发多个,逗号隔开)
func (*TaobaoxhotelordersearchAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelordersearchAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商标识
type TaobaoxhotelordersearchAPIResponse ¶ added in v1.3.1
type TaobaoxhotelordersearchAPIResponse struct { model.CommonResponse TaobaoxhotelordersearchAPIResponseModel }
TaobaoxhotelordersearchAPIResponse 酒店产品库订单查询 API返回值 taobao.xhotel.order.search
酒店产品库订单查询功能,查询90天内的订单
type TaobaoxhotelordersearchAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelordersearchAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 订单信息 HotelOrders []XhotelOrder `json:"hotel_orders,omitempty" xml:"hotel_orders>xhotel_order,omitempty"` // 符合条件的结果总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoxhotelordersearchAPIResponseModel is 酒店产品库订单查询 成功返回结果
type TaobaoxhotelorderstatementgetAPIRequest ¶ added in v1.3.1
type TaobaoxhotelorderstatementgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelorderstatementgetAPIRequest 查询账单信息 API请求 taobao.xhotel.order.statement.get
阿里根据此接口定义输出订单账务明细,结账状态发生变化时阿里需推送账单信息。系统商可实时调用该接口来查询订单的详情
func NewTaobaoxhotelorderstatementgetRequest ¶ added in v1.3.1
func NewTaobaoxhotelorderstatementgetRequest() *TaobaoxhotelorderstatementgetAPIRequest
NewTaobaoxhotelorderstatementgetRequest 初始化TaobaoxhotelorderstatementgetAPIRequest对象
func (TaobaoxhotelorderstatementgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelorderstatementgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelorderstatementgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelorderstatementgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelorderstatementgetAPIRequest) GetDateType ¶ added in v1.3.1
func (r TaobaoxhotelorderstatementgetAPIRequest) GetDateType() int64
GetDateType DateType Getter
func (TaobaoxhotelorderstatementgetAPIRequest) GetFrom ¶ added in v1.3.1
func (r TaobaoxhotelorderstatementgetAPIRequest) GetFrom() string
GetFrom From Getter
func (TaobaoxhotelorderstatementgetAPIRequest) GetHotelCode ¶ added in v1.3.1
func (r TaobaoxhotelorderstatementgetAPIRequest) GetHotelCode() string
GetHotelCode HotelCode Getter
func (TaobaoxhotelorderstatementgetAPIRequest) GetOrderTids ¶ added in v1.3.1
func (r TaobaoxhotelorderstatementgetAPIRequest) GetOrderTids() string
GetOrderTids OrderTids Getter
func (TaobaoxhotelorderstatementgetAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaoxhotelorderstatementgetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoxhotelorderstatementgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelorderstatementgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelorderstatementgetAPIRequest) GetStart ¶ added in v1.3.1
func (r TaobaoxhotelorderstatementgetAPIRequest) GetStart() int64
GetStart Start Getter
func (TaobaoxhotelorderstatementgetAPIRequest) GetTid ¶ added in v1.3.1
func (r TaobaoxhotelorderstatementgetAPIRequest) GetTid() int64
GetTid Tid Getter
func (TaobaoxhotelorderstatementgetAPIRequest) GetTo ¶ added in v1.3.1
func (r TaobaoxhotelorderstatementgetAPIRequest) GetTo() string
GetTo To Getter
func (TaobaoxhotelorderstatementgetAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelorderstatementgetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelorderstatementgetAPIRequest) SetDateType ¶ added in v1.3.1
func (r *TaobaoxhotelorderstatementgetAPIRequest) SetDateType(_dateType int64) error
SetDateType is DateType Setter 0:check_in, 1:check_out,2:分账时间
func (*TaobaoxhotelorderstatementgetAPIRequest) SetFrom ¶ added in v1.3.1
func (r *TaobaoxhotelorderstatementgetAPIRequest) SetFrom(_from string) error
SetFrom is From Setter 查询开始时间
func (*TaobaoxhotelorderstatementgetAPIRequest) SetHotelCode ¶ added in v1.3.1
func (r *TaobaoxhotelorderstatementgetAPIRequest) SetHotelCode(_hotelCode string) error
SetHotelCode is HotelCode Setter 外部酒店编码
func (*TaobaoxhotelorderstatementgetAPIRequest) SetOrderTids ¶ added in v1.3.1
func (r *TaobaoxhotelorderstatementgetAPIRequest) SetOrderTids(_orderTids string) error
SetOrderTids is OrderTids Setter 要查询的tid列表,逗号分隔,列表查询;当此值不为空时候,其余参数忽略。最多单次20条。
func (*TaobaoxhotelorderstatementgetAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaoxhotelorderstatementgetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 查询条数,最大支持500条
func (*TaobaoxhotelorderstatementgetAPIRequest) SetStart ¶ added in v1.3.1
func (r *TaobaoxhotelorderstatementgetAPIRequest) SetStart(_start int64) error
SetStart is Start Setter 数据查询开始下标
func (*TaobaoxhotelorderstatementgetAPIRequest) SetTid ¶ added in v1.3.1
func (r *TaobaoxhotelorderstatementgetAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝订单号
func (*TaobaoxhotelorderstatementgetAPIRequest) SetTo ¶ added in v1.3.1
func (r *TaobaoxhotelorderstatementgetAPIRequest) SetTo(_to string) error
SetTo is To Setter 查询结束时间
func (*TaobaoxhotelorderstatementgetAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelorderstatementgetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商vendor
type TaobaoxhotelorderstatementgetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelorderstatementgetAPIResponse struct { model.CommonResponse TaobaoxhotelorderstatementgetAPIResponseModel }
TaobaoxhotelorderstatementgetAPIResponse 查询账单信息 API返回值 taobao.xhotel.order.statement.get
阿里根据此接口定义输出订单账务明细,结账状态发生变化时阿里需推送账单信息。系统商可实时调用该接口来查询订单的详情
type TaobaoxhotelorderstatementgetAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelorderstatementgetAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_statement_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 系统自动生成 Results []StatementOrder `json:"results,omitempty" xml:"results>statement_order,omitempty"` }
TaobaoxhotelorderstatementgetAPIResponseModel is 查询账单信息 成功返回结果
type TaobaoxhotelorderupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelorderupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelorderupdateAPIRequest 酒店订单发货接口 API请求 taobao.xhotel.order.update
卖家确认订单或者取消订单,适用于预付、面付、信用住订单
func NewTaobaoxhotelorderupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelorderupdateRequest() *TaobaoxhotelorderupdateAPIRequest
NewTaobaoxhotelorderupdateRequest 初始化TaobaoxhotelorderupdateAPIRequest对象
func (TaobaoxhotelorderupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelorderupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelorderupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelorderupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelorderupdateAPIRequest) GetConfirmCode ¶ added in v1.3.1
func (r TaobaoxhotelorderupdateAPIRequest) GetConfirmCode() string
GetConfirmCode ConfirmCode Getter
func (TaobaoxhotelorderupdateAPIRequest) GetInvoiceAmount ¶ added in v1.3.1
func (r TaobaoxhotelorderupdateAPIRequest) GetInvoiceAmount() int64
GetInvoiceAmount InvoiceAmount Getter
func (TaobaoxhotelorderupdateAPIRequest) GetOptType ¶ added in v1.3.1
func (r TaobaoxhotelorderupdateAPIRequest) GetOptType() int64
GetOptType OptType Getter
func (TaobaoxhotelorderupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelorderupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelorderupdateAPIRequest) GetReasonType ¶ added in v1.3.1
func (r TaobaoxhotelorderupdateAPIRequest) GetReasonType() int64
GetReasonType ReasonType Getter
func (TaobaoxhotelorderupdateAPIRequest) GetRefundFee ¶ added in v1.3.1
func (r TaobaoxhotelorderupdateAPIRequest) GetRefundFee() int64
GetRefundFee RefundFee Getter
func (TaobaoxhotelorderupdateAPIRequest) GetSyncToHotel ¶ added in v1.3.1
func (r TaobaoxhotelorderupdateAPIRequest) GetSyncToHotel() string
GetSyncToHotel SyncToHotel Getter
func (TaobaoxhotelorderupdateAPIRequest) GetTid ¶ added in v1.3.1
func (r TaobaoxhotelorderupdateAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoxhotelorderupdateAPIRequest) SetConfirmCode ¶ added in v1.3.1
func (r *TaobaoxhotelorderupdateAPIRequest) SetConfirmCode(_confirmCode string) error
SetConfirmCode is ConfirmCode Setter 外部订单号(酒店确认号)
func (*TaobaoxhotelorderupdateAPIRequest) SetInvoiceAmount ¶ added in v1.3.1
func (r *TaobaoxhotelorderupdateAPIRequest) SetInvoiceAmount(_invoiceAmount int64) error
SetInvoiceAmount is InvoiceAmount Setter 开票金额
func (*TaobaoxhotelorderupdateAPIRequest) SetOptType ¶ added in v1.3.1
func (r *TaobaoxhotelorderupdateAPIRequest) SetOptType(_optType int64) error
SetOptType is OptType Setter 操作的类型:1.确认无房(取消预订,710发送短信提醒买家申请退款)2.确认预订 3.入住 4.离店 5.noshow 6.关单
func (*TaobaoxhotelorderupdateAPIRequest) SetReasonType ¶ added in v1.3.1
func (r *TaobaoxhotelorderupdateAPIRequest) SetReasonType(_reasonType int64) error
SetReasonType is ReasonType Setter 取消类型,6 代表的是用户取消,reasonType=7代表的是小二协商
func (*TaobaoxhotelorderupdateAPIRequest) SetRefundFee ¶ added in v1.3.1
func (r *TaobaoxhotelorderupdateAPIRequest) SetRefundFee(_refundFee int64) error
SetRefundFee is RefundFee Setter 退款费用
func (*TaobaoxhotelorderupdateAPIRequest) SetSyncToHotel ¶ added in v1.3.1
func (r *TaobaoxhotelorderupdateAPIRequest) SetSyncToHotel(_syncToHotel string) error
SetSyncToHotel is SyncToHotel Setter 是否把代理直签的订单同步到酒店,Y为同步,N不同步
func (*TaobaoxhotelorderupdateAPIRequest) SetTid ¶ added in v1.3.1
func (r *TaobaoxhotelorderupdateAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 订单号
type TaobaoxhotelorderupdateAPIResponse ¶ added in v1.3.1
type TaobaoxhotelorderupdateAPIResponse struct { model.CommonResponse TaobaoxhotelorderupdateAPIResponseModel }
TaobaoxhotelorderupdateAPIResponse 酒店订单发货接口 API返回值 taobao.xhotel.order.update
卖家确认订单或者取消订单,适用于预付、面付、信用住订单
type TaobaoxhotelorderupdateAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelorderupdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回提示信息 Result string `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoxhotelorderupdateAPIResponseModel is 酒店订单发货接口 成功返回结果
type TaobaoxhotelorderupdateconfirmcodeAPIRequest ¶ added in v1.3.1
type TaobaoxhotelorderupdateconfirmcodeAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelorderupdateconfirmcodeAPIRequest 推送及更新订单确认号 API请求 taobao.xhotel.order.update.confirmcode
商家拿到订单确认号后,异步推送给飞猪或更新给飞猪。订单确认号用于到店查无时的紧急查单依据。
func NewTaobaoxhotelorderupdateconfirmcodeRequest ¶ added in v1.3.1
func NewTaobaoxhotelorderupdateconfirmcodeRequest() *TaobaoxhotelorderupdateconfirmcodeAPIRequest
NewTaobaoxhotelorderupdateconfirmcodeRequest 初始化TaobaoxhotelorderupdateconfirmcodeAPIRequest对象
func (TaobaoxhotelorderupdateconfirmcodeAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelorderupdateconfirmcodeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelorderupdateconfirmcodeAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelorderupdateconfirmcodeAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelorderupdateconfirmcodeAPIRequest) GetParam ¶ added in v1.3.1
func (r TaobaoxhotelorderupdateconfirmcodeAPIRequest) GetParam() *UpdateOrderConfirmCodeParam
GetParam Param Getter
func (TaobaoxhotelorderupdateconfirmcodeAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelorderupdateconfirmcodeAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelorderupdateconfirmcodeAPIRequest) SetParam ¶ added in v1.3.1
func (r *TaobaoxhotelorderupdateconfirmcodeAPIRequest) SetParam(_param *UpdateOrderConfirmCodeParam) error
SetParam is Param Setter 系统入参
type TaobaoxhotelorderupdateconfirmcodeAPIResponse ¶ added in v1.3.1
type TaobaoxhotelorderupdateconfirmcodeAPIResponse struct { model.CommonResponse TaobaoxhotelorderupdateconfirmcodeAPIResponseModel }
TaobaoxhotelorderupdateconfirmcodeAPIResponse 推送及更新订单确认号 API返回值 taobao.xhotel.order.update.confirmcode
商家拿到订单确认号后,异步推送给飞猪或更新给飞猪。订单确认号用于到店查无时的紧急查单依据。
type TaobaoxhotelorderupdateconfirmcodeAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelorderupdateconfirmcodeAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_update_confirmcode_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误描述 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 操作结果,成功返回success Result string `json:"result,omitempty" xml:"result,omitempty"` // 是否操作成功 Error bool `json:"error,omitempty" xml:"error,omitempty"` }
TaobaoxhotelorderupdateconfirmcodeAPIResponseModel is 推送及更新订单确认号 成功返回结果
type TaobaoxhotelpmsguestbillgetvtwoAPIRequest ¶ added in v1.3.1
type TaobaoxhotelpmsguestbillgetvtwoAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelpmsguestbillgetvtwoAPIRequest 客人PMS账单信息查询 API请求 taobao.xhotel.pms.guestbill.get.vtwo
从pms获取客人账单信息
func NewTaobaoxhotelpmsguestbillgetvtwoRequest ¶ added in v1.3.1
func NewTaobaoxhotelpmsguestbillgetvtwoRequest() *TaobaoxhotelpmsguestbillgetvtwoAPIRequest
NewTaobaoxhotelpmsguestbillgetvtwoRequest 初始化TaobaoxhotelpmsguestbillgetvtwoAPIRequest对象
func (TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetRequestId ¶ added in v1.3.1
func (r TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetRequestId() string
GetRequestId RequestId Getter
func (TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetRoomNum ¶ added in v1.3.1
func (r TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetRoomNum() string
GetRoomNum RoomNum Getter
func (TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetShortIdNum ¶ added in v1.3.1
func (r TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetShortIdNum() string
GetShortIdNum ShortIdNum Getter
func (TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetTaxNum ¶ added in v1.3.1
func (r TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetTaxNum() string
GetTaxNum TaxNum Getter
func (TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetUserChannel ¶ added in v1.3.1
func (r TaobaoxhotelpmsguestbillgetvtwoAPIRequest) GetUserChannel() int64
GetUserChannel UserChannel Getter
func (*TaobaoxhotelpmsguestbillgetvtwoAPIRequest) SetRequestId ¶ added in v1.3.1
func (r *TaobaoxhotelpmsguestbillgetvtwoAPIRequest) SetRequestId(_requestId string) error
SetRequestId is RequestId Setter 请求id (32位唯一值)
func (*TaobaoxhotelpmsguestbillgetvtwoAPIRequest) SetRoomNum ¶ added in v1.3.1
func (r *TaobaoxhotelpmsguestbillgetvtwoAPIRequest) SetRoomNum(_roomNum string) error
SetRoomNum is RoomNum Setter 房间号
func (*TaobaoxhotelpmsguestbillgetvtwoAPIRequest) SetShortIdNum ¶ added in v1.3.1
func (r *TaobaoxhotelpmsguestbillgetvtwoAPIRequest) SetShortIdNum(_shortIdNum string) error
SetShortIdNum is ShortIdNum Setter 身份证后4位
func (*TaobaoxhotelpmsguestbillgetvtwoAPIRequest) SetTaxNum ¶ added in v1.3.1
func (r *TaobaoxhotelpmsguestbillgetvtwoAPIRequest) SetTaxNum(_taxNum string) error
SetTaxNum is TaxNum Setter 开票点税号
func (*TaobaoxhotelpmsguestbillgetvtwoAPIRequest) SetUserChannel ¶ added in v1.3.1
func (r *TaobaoxhotelpmsguestbillgetvtwoAPIRequest) SetUserChannel(_userChannel int64) error
SetUserChannel is UserChannel Setter 用户渠道(0:未知,1:淘宝)
type TaobaoxhotelpmsguestbillgetvtwoAPIResponse ¶ added in v1.3.1
type TaobaoxhotelpmsguestbillgetvtwoAPIResponse struct { model.CommonResponse TaobaoxhotelpmsguestbillgetvtwoAPIResponseModel }
TaobaoxhotelpmsguestbillgetvtwoAPIResponse 客人PMS账单信息查询 API返回值 taobao.xhotel.pms.guestbill.get.vtwo
从pms获取客人账单信息
type TaobaoxhotelpmsguestbillgetvtwoAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelpmsguestbillgetvtwoAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_pms_guestbill_get_vtwo_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询结果集 Result *TaobaoxhotelpmsguestbillgetvtwoResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoxhotelpmsguestbillgetvtwoAPIResponseModel is 客人PMS账单信息查询 成功返回结果
type TaobaoxhotelpmsguestbillgetvtwoResultSet ¶ added in v1.3.1
type TaobaoxhotelpmsguestbillgetvtwoResultSet struct { // 账单列表中涉及到的金额费用单位均为分 Results []OrderBillInfo `json:"results,omitempty" xml:"results>order_bill_info,omitempty"` // 错误描述 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 是否成功标记 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoxhotelpmsguestbillgetvtwoResultSet 结构体
type TopDailyInfo ¶
type TopDailyInfo struct { // 日期 Day string `json:"day,omitempty" xml:"day,omitempty"` // 价格 Price int64 `json:"price,omitempty" xml:"price,omitempty"` // 早餐数 BreakFastCount int64 `json:"break_fast_count,omitempty" xml:"break_fast_count,omitempty"` // 加价金额 ExtraAddPrice int64 `json:"extra_add_price,omitempty" xml:"extra_add_price,omitempty"` }
TopDailyInfo 结构体
type TopDailySellerPromotion ¶
type TopDailySellerPromotion struct { // 日期 Date string `json:"date,omitempty" xml:"date,omitempty"` // 卖家优惠金额 SellerPromotion int64 `json:"seller_promotion,omitempty" xml:"seller_promotion,omitempty"` }
TopDailySellerPromotion 结构体
type TopDomesticPriceInfoDo ¶
type TopDomesticPriceInfoDo struct { // createOrderDailyPrice CreateOrderDailyPrice *HbsDailyPriceDo `json:"create_order_daily_price,omitempty" xml:"create_order_daily_price,omitempty"` // taxPrice TaxPrice int64 `json:"tax_price,omitempty" xml:"tax_price,omitempty"` // roomsPrice RoomsPrice int64 `json:"rooms_price,omitempty" xml:"rooms_price,omitempty"` // servicePrice ServicePrice int64 `json:"service_price,omitempty" xml:"service_price,omitempty"` // otherFee OtherFee int64 `json:"other_fee,omitempty" xml:"other_fee,omitempty"` // bookingRoomsPrice BookingRoomsPrice int64 `json:"booking_rooms_price,omitempty" xml:"booking_rooms_price,omitempty"` // bookingTaxPrice BookingTaxPrice int64 `json:"booking_tax_price,omitempty" xml:"booking_tax_price,omitempty"` // bookingServicePrice BookingServicePrice int64 `json:"booking_service_price,omitempty" xml:"booking_service_price,omitempty"` // settleOrderDailyPrice SettleOrderDailyPrice *HbsDailyPriceDo `json:"settle_order_daily_price,omitempty" xml:"settle_order_daily_price,omitempty"` // basePrice BasePrice int64 `json:"base_price,omitempty" xml:"base_price,omitempty"` // bookingBasePrice BookingBasePrice int64 `json:"booking_base_price,omitempty" xml:"booking_base_price,omitempty"` }
TopDomesticPriceInfoDo 结构体
type TopHotelPromotion ¶
type TopHotelPromotion struct { // 订单命中的优惠计算规则描述(由优惠计算规则解析后的文本形式) RuleDesc string `json:"rule_desc,omitempty" xml:"rule_desc,omitempty"` // 活动优惠描述 PromotionDesc string `json:"promotion_desc,omitempty" xml:"promotion_desc,omitempty"` // 活动Icon文案描述 ActivityIconDesc string `json:"activity_icon_desc,omitempty" xml:"activity_icon_desc,omitempty"` // 活动分组名称 ActivityGroupName string `json:"activity_group_name,omitempty" xml:"activity_group_name,omitempty"` // 对应的航旅平台活动规则 ActivityCode string `json:"activity_code,omitempty" xml:"activity_code,omitempty"` // 使用的活动规则code RuleCode string `json:"rule_code,omitempty" xml:"rule_code,omitempty"` // 卖家系统中的活动名称 ActivityName string `json:"activity_name,omitempty" xml:"activity_name,omitempty"` // 消費里程数 ConsumeMileage int64 `json:"consume_mileage,omitempty" xml:"consume_mileage,omitempty"` // 活动使用的优惠金额,以分为单位 Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"` // 活动使用的卖家优惠金额,以分为单位 SellerAmount int64 `json:"seller_amount,omitempty" xml:"seller_amount,omitempty"` // 活动使用优惠次数 Times int64 `json:"times,omitempty" xml:"times,omitempty"` // 活动展示优先级(越大优先级越高) Priority int64 `json:"priority,omitempty" xml:"priority,omitempty"` // tid Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 优惠的呈现方式,目前有如下定义:,1. 金额类优惠,2. 使用次数类优惠,3. 权益类优惠,4. 后返类优惠 AmountType int64 `json:"amount_type,omitempty" xml:"amount_type,omitempty"` // 活动使用的折扣 Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"` // 优惠计算规则类型 RuleType int64 `json:"rule_type,omitempty" xml:"rule_type,omitempty"` // 优惠维度 RuleTarget int64 `json:"rule_target,omitempty" xml:"rule_target,omitempty"` // 出资方是否卖家还是平台 InvestorType int64 `json:"investor_type,omitempty" xml:"investor_type,omitempty"` // 是否"积分加钱购"类型活动 IntegralActivity bool `json:"integral_activity,omitempty" xml:"integral_activity,omitempty"` }
TopHotelPromotion 结构体
type TopInvoiceDo ¶
type TopInvoiceDo struct { // 发票提供方:0未知 1酒店前台,2卖家开具 ProviderType int64 `json:"provider_type,omitempty" xml:"provider_type,omitempty"` }
TopInvoiceDo 结构体
type TopOrderCouponDo ¶ added in v1.2.5
type TopOrderCouponDo struct { // 卡劵名称 CouponTitle string `json:"coupon_title,omitempty" xml:"coupon_title,omitempty"` // 卡劵订单号 CouponOutBizId string `json:"coupon_out_biz_id,omitempty" xml:"coupon_out_biz_id,omitempty"` // 面额 FaceValue string `json:"face_value,omitempty" xml:"face_value,omitempty"` // 单间夜面额 RoomNightFaceValue string `json:"room_night_face_value,omitempty" xml:"room_night_face_value,omitempty"` // 卡劵说明 Instruction string `json:"instruction,omitempty" xml:"instruction,omitempty"` // 卡劵模块id CouponBizType int64 `json:"coupon_biz_type,omitempty" xml:"coupon_biz_type,omitempty"` // 是否可拆分 CanSplit bool `json:"can_split,omitempty" xml:"can_split,omitempty"` }
TopOrderCouponDo 结构体
type TopOrderDetail ¶
type TopOrderDetail struct { // 关联子订单对象 TopRelationOrders []string `json:"top_relation_orders,omitempty" xml:"top_relation_orders>string,omitempty"` // List<TopDailyInfo> TopDailyInfos []TopDailyInfo `json:"top_daily_infos,omitempty" xml:"top_daily_infos>top_daily_info,omitempty"` // List<TopOrderGuest> TopOrderGuests []TopOrderGuest `json:"top_order_guests,omitempty" xml:"top_order_guests>top_order_guest,omitempty"` // rp名称 RpName string `json:"rp_name,omitempty" xml:"rp_name,omitempty"` // 完结时间 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 支付时间 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 商家订单ID OutOid string `json:"out_oid,omitempty" xml:"out_oid,omitempty"` // 下单时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 酒店名称 HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"` // 外部订单的下单确认码 OutConfirmCode string `json:"out_confirm_code,omitempty" xml:"out_confirm_code,omitempty"` // 交易状态 TradeStatus string `json:"trade_status,omitempty" xml:"trade_status,omitempty"` // 支付宝交易流水号 AlipayTradeNo string `json:"alipay_trade_no,omitempty" xml:"alipay_trade_no,omitempty"` // 商家酒店Code HotelCode string `json:"hotel_code,omitempty" xml:"hotel_code,omitempty"` // 商家rpcode RpCode string `json:"rp_code,omitempty" xml:"rp_code,omitempty"` // 联系人名称 ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"` // 渠道企业名称 OutSourceCorpName string `json:"out_source_corp_name,omitempty" xml:"out_source_corp_name,omitempty"` // 外部订单号 OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 商家房型Code RoomTypeCode string `json:"room_type_code,omitempty" xml:"room_type_code,omitempty"` // 消费码 全场景消费 RelatedCode string `json:"related_code,omitempty" xml:"related_code,omitempty"` // 统一订单状态,与union_status_value相对应。101:已下单;102:已付款;103:确认有房;104:交易成功;105:申请退款;106:卖家拒绝退款;108:订单关闭;109:退款成功;522:买家待支付;501:已下单;502:确认有房;503:确认前用户取消;504:确认无房;505:买家入住;506:系统自动核实入住成功;507:确认后用户取消;508:卖家核实未入住NoShow;601:已下单;602:确认有房;603:确认前用户取消;604:确认无房;605:买家入住;606:系统自动核实入住成功;607:确认后用户取消;608:卖家核实未入住NoShow;609:买家离店;610:结账中;611:结账成功;612:结账失败追账中;613:追账成功;614:NOSHOW结账中;615:NOSHOW结账成功;616:NOSHOW结账失败;617:NOSHOW追账成功;618:结账取消;619:系统自动核实未入住成功;620:结账失败追账失败;621:结账失败追账成功;701:已下单;702:确认有房;703:用户取消;704:确认无房;705:买家入住;709:买家离店;710:取消中 UnionStatusText string `json:"union_status_text,omitempty" xml:"union_status_text,omitempty"` // 入住时间 CheckinDate string `json:"checkin_date,omitempty" xml:"checkin_date,omitempty"` // 物流状态描述 LogisticsStatusText string `json:"logistics_status_text,omitempty" xml:"logistics_status_text,omitempty"` // 离店时间 CheckoutDate string `json:"checkout_date,omitempty" xml:"checkout_date,omitempty"` // 最晚到店时间 ArriveLate string `json:"arrive_late,omitempty" xml:"arrive_late,omitempty"` // 联系人电话 ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"` // 订单取消原因 RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"` // 最早到店时间 ArriveEarly string `json:"arrive_early,omitempty" xml:"arrive_early,omitempty"` // outSource OutSource string `json:"out_source,omitempty" xml:"out_source,omitempty"` // 房型名称 RoomTypeName string `json:"room_type_name,omitempty" xml:"room_type_name,omitempty"` // 发票抬头 InvoiceTitle string `json:"invoice_title,omitempty" xml:"invoice_title,omitempty"` // memo Memo string `json:"memo,omitempty" xml:"memo,omitempty"` // 取消规则描述 CancelPolicyDesc string `json:"cancel_policy_desc,omitempty" xml:"cancel_policy_desc,omitempty"` // 房价id RateId string `json:"rate_id,omitempty" xml:"rate_id,omitempty"` // gmtModified GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // vendor Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"` // 退款状态,1:买家已经申请退款,等待卖家同意;4:退款关闭;5:退款成功;6:卖家拒绝退款;9:没有申请退款 RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // 销售渠道 Channel string `json:"channel,omitempty" xml:"channel,omitempty"` // 支付类型 PaymentType string `json:"payment_type,omitempty" xml:"payment_type,omitempty"` // 发票状态 InvoiceStatus string `json:"invoice_status,omitempty" xml:"invoice_status,omitempty"` // 订单来源类型 OrderSourceType string `json:"order_source_type,omitempty" xml:"order_source_type,omitempty"` // 原始rp信息 RpOriName string `json:"rp_ori_name,omitempty" xml:"rp_ori_name,omitempty"` // 卖家没有确认直接关单剩余时间 CloseOrderRestSecond int64 `json:"close_order_rest_second,omitempty" xml:"close_order_rest_second,omitempty"` // 飞猪酒店ID Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"` // 飞猪rpid Rpid int64 `json:"rpid,omitempty" xml:"rpid,omitempty"` // 订单类型 Type int64 `json:"type,omitempty" xml:"type,omitempty"` // 订单关联包信息: topOrderPackageDO TopOrderPackage *TopOrderPackageDo `json:"top_order_package,omitempty" xml:"top_order_package,omitempty"` // 住几晚 Nights int64 `json:"nights,omitempty" xml:"nights,omitempty"` // 飞猪订单ID Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 订单垂直属性信息 TopInfoMap *Topinfomap `json:"top_info_map,omitempty" xml:"top_info_map,omitempty"` // 酒店订单卖家信息 HotelOrderSeller *HotelOrderSellerDo `json:"hotel_order_seller,omitempty" xml:"hotel_order_seller,omitempty"` // 预定状态 面付信用住有效 BookingStatus int64 `json:"booking_status,omitempty" xml:"booking_status,omitempty"` // 房间数 RoomNumber int64 `json:"room_number,omitempty" xml:"room_number,omitempty"` // 订单确认时长 ConfirmDuration int64 `json:"confirm_duration,omitempty" xml:"confirm_duration,omitempty"` // 海外酒店信息 TopOverseasPriceInfo *TopOverseasPriceInfoDo `json:"top_overseas_price_info,omitempty" xml:"top_overseas_price_info,omitempty"` // 用户支付费用 Payment int64 `json:"payment,omitempty" xml:"payment,omitempty"` // topPromotion TopPromotion *TopPromotion `json:"top_promotion,omitempty" xml:"top_promotion,omitempty"` // 飞猪房型ID Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"` // 子订单类型 SubType int64 `json:"sub_type,omitempty" xml:"sub_type,omitempty"` // 总房费 TotalRoomPrice int64 `json:"total_room_price,omitempty" xml:"total_room_price,omitempty"` // 统一订单状态 UnionStatusValue int64 `json:"union_status_value,omitempty" xml:"union_status_value,omitempty"` // 其他费用 OtherFee int64 `json:"other_fee,omitempty" xml:"other_fee,omitempty"` // 物流状态值 LogisticsStatusValue int64 `json:"logistics_status_value,omitempty" xml:"logistics_status_value,omitempty"` // 支付状态 PayStatus int64 `json:"pay_status,omitempty" xml:"pay_status,omitempty"` // 担保类型 GuaranteeType int64 `json:"guarantee_type,omitempty" xml:"guarantee_type,omitempty"` // 担保id FundId int64 `json:"fund_id,omitempty" xml:"fund_id,omitempty"` // 税和费,单位分 TaxAndFee int64 `json:"tax_and_fee,omitempty" xml:"tax_and_fee,omitempty"` // topDomesticPriceInfoDO TopDomesticPriceInfo *TopDomesticPriceInfoDo `json:"top_domestic_price_info,omitempty" xml:"top_domestic_price_info,omitempty"` // 用户实际支付金额 UserRealPayment int64 `json:"user_real_payment,omitempty" xml:"user_real_payment,omitempty"` // 信用卡vcc信息 CreditCard *CreditCard `json:"credit_card,omitempty" xml:"credit_card,omitempty"` // 退款金额 单位为分 RefundAmout int64 `json:"refund_amout,omitempty" xml:"refund_amout,omitempty"` // 退款信息 PostTradeRefund *TopPostTradeRefundDo `json:"post_trade_refund,omitempty" xml:"post_trade_refund,omitempty"` // 城市code City int64 `json:"city,omitempty" xml:"city,omitempty"` // topInvoiceDO TopInvoice *TopInvoiceDo `json:"top_invoice,omitempty" xml:"top_invoice,omitempty"` // 退款原因类型如101,503之类 RefundReasonType int64 `json:"refund_reason_type,omitempty" xml:"refund_reason_type,omitempty"` // 入住人数(rate维度) MaxOccupancy int64 `json:"max_occupancy,omitempty" xml:"max_occupancy,omitempty"` // com.taobao.trip.htq.top.result.TopOrderCouponDO TopOrderCouponDO *TopOrderCouponDo `json:"top_order_coupon_d_o,omitempty" xml:"top_order_coupon_d_o,omitempty"` // OrderPromotionDO Promotion *OrderPromotionDo `json:"promotion,omitempty" xml:"promotion,omitempty"` // 是否包房 ReservedRoomOrder bool `json:"reserved_room_order,omitempty" xml:"reserved_room_order,omitempty"` // 是否拆单 SplitOrder bool `json:"split_order,omitempty" xml:"split_order,omitempty"` // 是否需要确认号 NeedConfirmNo bool `json:"need_confirm_no,omitempty" xml:"need_confirm_no,omitempty"` // 是否展示“卖家延迟按钮” ShowSellerDelayConfirmButton bool `json:"show_seller_delay_confirm_button,omitempty" xml:"show_seller_delay_confirm_button,omitempty"` // 是否保留房 BlockRoomOrder bool `json:"block_room_order,omitempty" xml:"block_room_order,omitempty"` // 是否即时确认 TagJsqr bool `json:"tag_jsqr,omitempty" xml:"tag_jsqr,omitempty"` }
TopOrderDetail 结构体
type TopOrderGuest ¶
type TopOrderGuest struct { // 名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 住客类型 CustomerType int64 `json:"customer_type,omitempty" xml:"customer_type,omitempty"` // 住客编号 PersonNo int64 `json:"person_no,omitempty" xml:"person_no,omitempty"` // 年龄 Age int64 `json:"age,omitempty" xml:"age,omitempty"` // 房间编号 RoomNo int64 `json:"room_no,omitempty" xml:"room_no,omitempty"` }
TopOrderGuest 结构体
type TopOrderPackageDetail ¶
type TopOrderPackageDetail struct { // 景区地址 ScenicAddress string `json:"scenic_address,omitempty" xml:"scenic_address,omitempty"` // 景区名称 ScenicName string `json:"scenic_name,omitempty" xml:"scenic_name,omitempty"` // 图文详情 HowToPlay string `json:"how_to_play,omitempty" xml:"how_to_play,omitempty"` // 套餐数量单位 AmountUnit string `json:"amount_unit,omitempty" xml:"amount_unit,omitempty"` // 附加产品使用维度 1:每间维度 2:每晚维度 3:入住人数维度 DimensionText string `json:"dimension_text,omitempty" xml:"dimension_text,omitempty"` // 套餐类型名称 TypeName string `json:"type_name,omitempty" xml:"type_name,omitempty"` // 套餐名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 景点封面图 ScenicCoverImg string `json:"scenic_cover_img,omitempty" xml:"scenic_cover_img,omitempty"` // 景区id ScenicId int64 `json:"scenic_id,omitempty" xml:"scenic_id,omitempty"` // 套餐数量 Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"` // 套餐优惠金额 DiscountPrice int64 `json:"discount_price,omitempty" xml:"discount_price,omitempty"` // 套餐类型 Type int64 `json:"type,omitempty" xml:"type,omitempty"` // 套餐ID PackageId int64 `json:"package_id,omitempty" xml:"package_id,omitempty"` }
TopOrderPackageDetail 结构体
type TopOrderPackageDo ¶
type TopOrderPackageDo struct { // 套餐详情 OrderPackageDetails []TopOrderPackageDetail `json:"order_package_details,omitempty" xml:"order_package_details>top_order_package_detail,omitempty"` // 描述 OrderPackageDesc string `json:"order_package_desc,omitempty" xml:"order_package_desc,omitempty"` }
TopOrderPackageDo 结构体
type TopOrderPromotionDetail ¶
type TopOrderPromotionDetail struct { // topHotelPromotions TopHotelPromotions []TopHotelPromotion `json:"top_hotel_promotions,omitempty" xml:"top_hotel_promotions>top_hotel_promotion,omitempty"` // 返现金额 CashBackAmount int64 `json:"cash_back_amount,omitempty" xml:"cash_back_amount,omitempty"` // 卖家立减 SellerDecrease int64 `json:"seller_decrease,omitempty" xml:"seller_decrease,omitempty"` // 立减金额 Decrease int64 `json:"decrease,omitempty" xml:"decrease,omitempty"` // 平台立减金额 PlatformDecrease int64 `json:"platform_decrease,omitempty" xml:"platform_decrease,omitempty"` }
TopOrderPromotionDetail 结构体
type TopOrderPromotionExtend ¶
type TopOrderPromotionExtend struct { // topDailySellerPromotions TopDailySellerPromotions []TopDailySellerPromotion `json:"top_daily_seller_promotions,omitempty" xml:"top_daily_seller_promotions>top_daily_seller_promotion,omitempty"` }
TopOrderPromotionExtend 结构体
type TopOverseasPriceInfoDo ¶
type TopOverseasPriceInfoDo struct { // 币种 CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"` // 下单时汇率 BookingRate string `json:"booking_rate,omitempty" xml:"booking_rate,omitempty"` // 当前汇率 Rate string `json:"rate,omitempty" xml:"rate,omitempty"` // 离店日汇率 CheckoutRate string `json:"checkout_rate,omitempty" xml:"checkout_rate,omitempty"` // 产品售价,单位(元*100),包含税服务费等 BookingProductSalePrice int64 `json:"booking_product_sale_price,omitempty" xml:"booking_product_sale_price,omitempty"` // 买家应付包含杂费,单位(元*100) BuyerPayment int64 `json:"buyer_payment,omitempty" xml:"buyer_payment,omitempty"` // 税费,单位(元*100) TaxPrice int64 `json:"tax_price,omitempty" xml:"tax_price,omitempty"` // 卖家应收包含杂费,单位(元*100) SellerPayment int64 `json:"seller_payment,omitempty" xml:"seller_payment,omitempty"` // 结账杂费,单位(元*100) OtherFee int64 `json:"other_fee,omitempty" xml:"other_fee,omitempty"` // 服务费,单位(元*100) BookingServicePrice int64 `json:"booking_service_price,omitempty" xml:"booking_service_price,omitempty"` // 下单时刻卖家应收 BookSellerPayment int64 `json:"book_seller_payment,omitempty" xml:"book_seller_payment,omitempty"` // 税费,单位(元*100) BookingTaxPrice int64 `json:"booking_tax_price,omitempty" xml:"booking_tax_price,omitempty"` // 总价包含杂费,单位(元*100) TotalPayment int64 `json:"total_payment,omitempty" xml:"total_payment,omitempty"` // 担保金(元*100) FundPrice int64 `json:"fund_price,omitempty" xml:"fund_price,omitempty"` // 结账产品售价,单位(元*100),包含税服务费等 SettleProductSalePrice int64 `json:"settle_product_sale_price,omitempty" xml:"settle_product_sale_price,omitempty"` // 服务费,单位(元*100) ServicePrice int64 `json:"service_price,omitempty" xml:"service_price,omitempty"` // 日历价格 CreateOrderDailyPrice *HbsDailyPriceDo `json:"create_order_daily_price,omitempty" xml:"create_order_daily_price,omitempty"` // bookingRoomsPrice BookingRoomsPrice int64 `json:"booking_rooms_price,omitempty" xml:"booking_rooms_price,omitempty"` // settleOrderDailyPrice SettleOrderDailyPrice *HbsDailyPriceDo `json:"settle_order_daily_price,omitempty" xml:"settle_order_daily_price,omitempty"` // 房费 RoomsPrice int64 `json:"rooms_price,omitempty" xml:"rooms_price,omitempty"` // 底价房费 BasePrice int64 `json:"base_price,omitempty" xml:"base_price,omitempty"` // 下单时底价房费 BookingBasePrice int64 `json:"booking_base_price,omitempty" xml:"booking_base_price,omitempty"` }
TopOverseasPriceInfoDo 结构体
type TopPostTradeRefundDo ¶
type TopPostTradeRefundDo struct { // 退款成功时间 RefundSucTime string `json:"refund_suc_time,omitempty" xml:"refund_suc_time,omitempty"` // 创建退款申请时的额外描述 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 引起退款申请的类型描述 RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"` // 退款发起时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // 申请的退款金额(单位:分) RefundAmount int64 `json:"refund_amount,omitempty" xml:"refund_amount,omitempty"` // 售后退款类型,1:买家取消订单,创建退款申请;2:卖家发起协商取消;3:卖家用户协商一致后,小二执行退款操作;4:卖家发起协商取消退款,系统收到买家确认短信后进行退款 PostTradeRefundType int64 `json:"post_trade_refund_type,omitempty" xml:"post_trade_refund_type,omitempty"` // 退款状态,1:退款申请已创建;2:退款申请已拒绝;3:退款处理中;4:退款已成功;5:退款失败;6: 退款申请已取消 PostTradeRefundStatus int64 `json:"post_trade_refund_status,omitempty" xml:"post_trade_refund_status,omitempty"` // tid Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` }
TopPostTradeRefundDo 结构体
type TopPromotion ¶
type TopPromotion struct { // topCreateOrderPromotion TopCreateOrderPromotion *TopOrderPromotionDetail `json:"top_create_order_promotion,omitempty" xml:"top_create_order_promotion,omitempty"` // topCurrentOrderPromotion TopCurrentOrderPromotion *TopOrderPromotionDetail `json:"top_current_order_promotion,omitempty" xml:"top_current_order_promotion,omitempty"` // topOrderPromotionExtend TopOrderPromotionExtend *TopOrderPromotionExtend `json:"top_order_promotion_extend,omitempty" xml:"top_order_promotion_extend,omitempty"` }
TopPromotion 结构体
type Topinfomap ¶
type Topinfomap struct { // hbsEgOrder HbsEgOrder string `json:"hbs_eg_order,omitempty" xml:"hbs_eg_order,omitempty"` // hbsBuyerAlipayNo HbsBuyerAlipayNo string `json:"hbs_buyer_alipay_no,omitempty" xml:"hbs_buyer_alipay_no,omitempty"` // preChangePromotionFlag PreChangePromotionFlag string `json:"pre_change_promotion_flag,omitempty" xml:"pre_change_promotion_flag,omitempty"` // 凌晨入住订单 MorningBuy string `json:"morning_buy,omitempty" xml:"morning_buy,omitempty"` // cancelType CancelType string `json:"cancel_type,omitempty" xml:"cancel_type,omitempty"` // 卖家延迟确认时间,单位分钟 SellerDelayConfirmTime string `json:"seller_delay_confirm_time,omitempty" xml:"seller_delay_confirm_time,omitempty"` // currencyType CurrencyType string `json:"currency_type,omitempty" xml:"currency_type,omitempty"` // hbsBedType HbsBedType string `json:"hbs_bed_type,omitempty" xml:"hbs_bed_type,omitempty"` // umid Umid string `json:"umid,omitempty" xml:"umid,omitempty"` // hbsOldPromotionamt HbsOldPromotionamt string `json:"hbs_old_promotionamt,omitempty" xml:"hbs_old_promotionamt,omitempty"` // hbsMaxOtherFee HbsMaxOtherFee string `json:"hbs_max_other_fee,omitempty" xml:"hbs_max_other_fee,omitempty"` // cancelPolicyJson CancelPolicyJson string `json:"cancel_policy_json,omitempty" xml:"cancel_policy_json,omitempty"` // hbsAlipayMobile HbsAlipayMobile string `json:"hbs_alipay_mobile,omitempty" xml:"hbs_alipay_mobile,omitempty"` // pms订单号 HbsPmsOrderId string `json:"hbs_pms_order_id,omitempty" xml:"hbs_pms_order_id,omitempty"` // hbsHotelOutId HbsHotelOutId string `json:"hbs_hotel_out_id,omitempty" xml:"hbs_hotel_out_id,omitempty"` // hbsCreditSettle HbsCreditSettle string `json:"hbs_credit_settle,omitempty" xml:"hbs_credit_settle,omitempty"` // ebookingDirectTag EbookingDirectTag string `json:"ebooking_direct_tag,omitempty" xml:"ebooking_direct_tag,omitempty"` // hbsOldPayment HbsOldPayment string `json:"hbs_old_payment,omitempty" xml:"hbs_old_payment,omitempty"` // 身份证线下信用住 HbsCardAlipayOrder string `json:"hbs_card_alipay_order,omitempty" xml:"hbs_card_alipay_order,omitempty"` // promotionSnapKey PromotionSnapKey string `json:"promotion_snap_key,omitempty" xml:"promotion_snap_key,omitempty"` // hbsAllTags HbsAllTags string `json:"hbs_all_tags,omitempty" xml:"hbs_all_tags,omitempty"` // 是否直连订单 HbsDirect string `json:"hbs_direct,omitempty" xml:"hbs_direct,omitempty"` // 底价加价 UpsetPrice string `json:"upset_price,omitempty" xml:"upset_price,omitempty"` // 是否包房 ReservedRoom string `json:"reserved_room,omitempty" xml:"reserved_room,omitempty"` // 是否保留房 BlockRoom string `json:"block_room,omitempty" xml:"block_room,omitempty"` // 渠道企业名称 HbsOutSourceCorpName string `json:"hbs_out_source_corp_name,omitempty" xml:"hbs_out_source_corp_name,omitempty"` // 扫码信用住 HbsScanCodeOrder string `json:"hbs_scan_code_order,omitempty" xml:"hbs_scan_code_order,omitempty"` // 商旅企业支付订单标识,1为是 BtripCorporatePay string `json:"btrip_corporate_pay,omitempty" xml:"btrip_corporate_pay,omitempty"` // 是否是在线预约订单 OnlineBookingRoom string `json:"online_booking_room,omitempty" xml:"online_booking_room,omitempty"` // b2g标识 B2gFlag string `json:"b2g_flag,omitempty" xml:"b2g_flag,omitempty"` // hbsSelfHelpCheckIn HbsSelfHelpCheckIn string `json:"hbs_self_help_check_in,omitempty" xml:"hbs_self_help_check_in,omitempty"` // 小时房标识 1:小时房 HbsXiaoShiFang string `json:"hbs_xiao_shi_fang,omitempty" xml:"hbs_xiao_shi_fang,omitempty"` // 小时房时长 HbsHourage string `json:"hbs_hourage,omitempty" xml:"hbs_hourage,omitempty"` // 预约发票标识 AdvanceInvocieTag string `json:"advance_invocie_tag,omitempty" xml:"advance_invocie_tag,omitempty"` // 小时房可入住时间 HourRoomReservedTime string `json:"hour_room_reserved_time,omitempty" xml:"hour_room_reserved_time,omitempty"` // 小时房最晚离店时间 HourRoomLeaveTime string `json:"hour_room_leave_time,omitempty" xml:"hour_room_leave_time,omitempty"` // 小时房到店时间 HourRoomArriveTime string `json:"hour_room_arrive_time,omitempty" xml:"hour_room_arrive_time,omitempty"` // 信用住升级订单 CreditPayOrder string `json:"credit_pay_order,omitempty" xml:"credit_pay_order,omitempty"` // 是否是菲住联盟会员 true or false IsFzMemberOrder string `json:"is_fz_member_order,omitempty" xml:"is_fz_member_order,omitempty"` // 会员卡卡号 BookerMemberCardNo string `json:"booker_member_card_no,omitempty" xml:"booker_member_card_no,omitempty"` // 渠道企业id HbsOutSourceCorpId string `json:"hbs_out_source_corp_id,omitempty" xml:"hbs_out_source_corp_id,omitempty"` // 飞猪会员等级 FliggyMemberLevel string `json:"fliggy_member_level,omitempty" xml:"fliggy_member_level,omitempty"` // 是否是菲住会员 IsFzMember string `json:"is_fz_member,omitempty" xml:"is_fz_member,omitempty"` // 合并支付会员卡订单号 MemberCardOrderId string `json:"member_card_order_id,omitempty" xml:"member_card_order_id,omitempty"` // 订单间夜优惠明细,其中其中day:日期,sellerFullReduce:当日满减卖家优惠,sellerOtherReduce:当日非满减卖家优惠,sellerFullReduceAll:总满减卖家优惠,sellerOtherReduceAll:总非满减卖家优惠 NightPromotionDetail string `json:"night_promotion_detail,omitempty" xml:"night_promotion_detail,omitempty"` // 信用支付因取消的扣款费用的人民币,单位:分 CreditPayCancelFee int64 `json:"credit_pay_cancel_fee,omitempty" xml:"credit_pay_cancel_fee,omitempty"` // 售卖会员价 SellingMemberPrice int64 `json:"selling_member_price,omitempty" xml:"selling_member_price,omitempty"` // 售卖价 SellingPrice int64 `json:"selling_price,omitempty" xml:"selling_price,omitempty"` }
Topinfomap 结构体
type UpdateOrderConfirmCodeParam ¶
type UpdateOrderConfirmCodeParam struct { // PMS确认号 PmsResId string `json:"pms_res_id,omitempty" xml:"pms_res_id,omitempty"` // 商家系统订单号 OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 飞猪订单号 Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` }
UpdateOrderConfirmCodeParam 结构体
type UpdateRateDo ¶
type UpdateRateDo struct { // 入离日期 CheckDateDOList []CheckDateDo `json:"check_date_d_o_list,omitempty" xml:"check_date_d_o_list>check_date_do,omitempty"` // 酒店id OutHid string `json:"out_hid,omitempty" xml:"out_hid,omitempty"` // 儿童年龄,多个儿童年龄用竖线分割:4|5,默认儿童年龄为5岁 Ages string `json:"ages,omitempty" xml:"ages,omitempty"` // 成人数 Adults int64 `json:"adults,omitempty" xml:"adults,omitempty"` // 儿童数 Children int64 `json:"children,omitempty" xml:"children,omitempty"` }
UpdateRateDo 结构体
type UpdateRateParam ¶
type UpdateRateParam struct { // rate更新列表 UpdateRateDOList []UpdateRateDo `json:"update_rate_d_o_list,omitempty" xml:"update_rate_d_o_list>update_rate_do,omitempty"` // 过期时间 ExpireTime string `json:"expire_time,omitempty" xml:"expire_time,omitempty"` // 供应商 Supplier string `json:"supplier,omitempty" xml:"supplier,omitempty"` }
UpdateRateParam 结构体
type ValueAddedInfo ¶
type ValueAddedInfo struct { // 电话 Tel string `json:"tel,omitempty" xml:"tel,omitempty"` // 注册地址 RegisterAddr string `json:"register_addr,omitempty" xml:"register_addr,omitempty"` // 银行账号 AccountNo string `json:"account_no,omitempty" xml:"account_no,omitempty"` // 开户行 OpeningBank string `json:"opening_bank,omitempty" xml:"opening_bank,omitempty"` // 税号 TaxNo string `json:"tax_no,omitempty" xml:"tax_no,omitempty"` }
ValueAddedInfo 结构体
type XhotelOrder ¶ added in v1.3.1
type XhotelOrder struct { // 入住人信息 Guests []XorderGuest `json:"guests,omitempty" xml:"guests>xorder_guest,omitempty"` // 下单时每间夜的价格(分) Prices []int64 `json:"prices,omitempty" xml:"prices>int64,omitempty"` // 合作方订单号,最长250个字符 OutOid string `json:"out_oid,omitempty" xml:"out_oid,omitempty"` // 离店时间 CheckoutDate string `json:"checkout_date,omitempty" xml:"checkout_date,omitempty"` // 订单创建时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 买家最晚到达时间 ArriveLate string `json:"arrive_late,omitempty" xml:"arrive_late,omitempty"` // 联系人姓名 ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"` // 入住时间 CheckinDate string `json:"checkin_date,omitempty" xml:"checkin_date,omitempty"` // 卖家淘宝账号 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 联系人电话 ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"` // 买家最早到达时间 ArriveEarly string `json:"arrive_early,omitempty" xml:"arrive_early,omitempty"` // 付款时间 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 交易状态。 WAIT_BUYER_PAY:预订中/等待买家付款, WAIT_SELLER_SEND_GOODS:预订中/等待卖家发货(确认), TRADE_CLOSED:结束/预订失败/交易关闭, TRADE_FINISHED:结束/交易成功, TRADE_NO_CREATE_PAY:结束/预订失败/没有创建支付宝交易, TRADE_CLOSED_BY_TAOBAO:结束/预订失败/预订被卖家关闭, TRADE_SUCCESS:交易中/预订成功/卖家已确认, TRADE_CHECKIN:交易中/预定成功/买家入住, TRADE_CHECKOUT:交易中/预定成功/买家离店, TRADE_SETTLEING:交易中/预定成功/结账中, TRADE_SETTLE_SUCCESS:结束/预定成功/结账成功 TradeStatus string `json:"trade_status,omitempty" xml:"trade_status,omitempty"` // 订单修改时间 Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 买家淘宝账号 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 买家留言 Message string `json:"message,omitempty" xml:"message,omitempty"` // 结束时间 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 支付宝交易号,28位字符 AlipayTradeNo string `json:"alipay_trade_no,omitempty" xml:"alipay_trade_no,omitempty"` // 预付订单使用,1未发货,2已发货,3已收货,4已经退货,8还未创建物流订单 LogisticsStatus string `json:"logistics_status,omitempty" xml:"logistics_status,omitempty"` // 预付订单使用,1买家已经申请退款,等待卖家同意,2卖家已经同意退款,等待买家退货,3买家已经退货,等待卖家确认收货,4退款关闭,5退款成功,6卖家拒绝退款,9没有申请退款 RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // 酒店id Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"` // RatePlan 中的 rpid Rpid int64 `json:"rpid,omitempty" xml:"rpid,omitempty"` // 支付类型 可选值 1:预付 5:前台面付 Type int64 `json:"type,omitempty" xml:"type,omitempty"` // 酒店订单id Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"` // tid Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 天数 Nights int64 `json:"nights,omitempty" xml:"nights,omitempty"` // 房间数 RoomNumber int64 `json:"room_number,omitempty" xml:"room_number,omitempty"` // 实付款(分) Payment int64 `json:"payment,omitempty" xml:"payment,omitempty"` // 房型id Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"` // 总房价(分) TotalRoomPrice int64 `json:"total_room_price,omitempty" xml:"total_room_price,omitempty"` // 商品id Gid int64 `json:"gid,omitempty" xml:"gid,omitempty"` }
XhotelOrder 结构体
type XorderGuest ¶ added in v1.3.1
type XorderGuest struct { // 入住人姓名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 房间序号 RoomPos int64 `json:"room_pos,omitempty" xml:"room_pos,omitempty"` // 入住人序号 PersonPos int64 `json:"person_pos,omitempty" xml:"person_pos,omitempty"` }
XorderGuest 结构体
Source Files ¶
- AlitripXhotelChannelNotifyAPIRequest.go
- AlitripXhotelChannelNotifyAPIResponse.go
- AlitripXhotelChannelOrderCreateAPIRequest.go
- AlitripXhotelChannelOrderCreateAPIResponse.go
- AlitripXhotelChannelOrderMembertypeSyncAPIRequest.go
- AlitripXhotelChannelOrderMembertypeSyncAPIResponse.go
- CancelPolicy.go
- ChannelSyncOrderMemberType.go
- CheckDateDo.go
- CommonInvoiceInfo.go
- CreditCard.go
- DailyPrice.go
- DailyPriceInfo.go
- DailyPriceTo.go
- DailyRoomFee.go
- FaceScanParam.go
- GuestInfo.go
- HbsDailyPriceDo.go
- HbsResult.go
- HotelOrderDirectInfo.go
- HotelOrderSellerDo.go
- InvoiceInfoParam.go
- OrderBillInfo.go
- OrderNotifyQuery.go
- OrderPromotionDetail.go
- OrderPromotionDo.go
- OrderSellerPaymentDo.go
- OrderSettleDo.go
- OtherFeeDetail.go
- OtherFeeInfo.go
- OutSourceOrderCreateReq.go
- OutSourceOrderCreateRes.go
- RoomSettleInfo.go
- StatementOrder.go
- TaobaoXhotelCommoninvoiceListVtwoAPIRequest.go
- TaobaoXhotelCommoninvoiceListVtwoAPIResponse.go
- TaobaoXhotelCommoninvoiceListVtwoResultSet.go
- TaobaoXhotelCommoninvoiceRemoveAPIRequest.go
- TaobaoXhotelCommoninvoiceRemoveAPIResponse.go
- TaobaoXhotelCommoninvoiceUpdateAPIRequest.go
- TaobaoXhotelCommoninvoiceUpdateAPIResponse.go
- TaobaoXhotelFastinvoiceCompleteAPIRequest.go
- TaobaoXhotelFastinvoiceCompleteAPIResponse.go
- TaobaoXhotelFastinvoiceRequestAPIRequest.go
- TaobaoXhotelFastinvoiceRequestAPIResponse.go
- TaobaoXhotelFutureSoftmodifyAPIRequest.go
- TaobaoXhotelFutureSoftmodifyAPIResponse.go
- TaobaoXhotelIntlRateUpdateAPIRequest.go
- TaobaoXhotelIntlRateUpdateAPIResponse.go
- TaobaoXhotelIntlRateUpdateResultSet.go
- TaobaoXhotelMemberrightUpdateAPIRequest.go
- TaobaoXhotelMemberrightUpdateAPIResponse.go
- TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest.go
- TaobaoXhotelOrderAlipayfaceCancelsettleAPIResponse.go
- TaobaoXhotelOrderAlipayfaceSettleAPIRequest.go
- TaobaoXhotelOrderAlipayfaceSettleAPIResponse.go
- TaobaoXhotelOrderAlipayfaceUpdateAPIRequest.go
- TaobaoXhotelOrderAlipayfaceUpdateAPIResponse.go
- TaobaoXhotelOrderDetailSearchAPIRequest.go
- TaobaoXhotelOrderDetailSearchAPIResponse.go
- TaobaoXhotelOrderFutureFacescanPutAPIRequest.go
- TaobaoXhotelOrderFutureFacescanPutAPIResponse.go
- TaobaoXhotelOrderFutureFacescanPutResultSet.go
- TaobaoXhotelOrderFutureInfoGetAPIRequest.go
- TaobaoXhotelOrderFutureInfoGetAPIResponse.go
- TaobaoXhotelOrderFutureInfoPutAPIRequest.go
- TaobaoXhotelOrderFutureInfoPutAPIResponse.go
- TaobaoXhotelOrderSearchAPIRequest.go
- TaobaoXhotelOrderSearchAPIResponse.go
- TaobaoXhotelOrderStatementGetAPIRequest.go
- TaobaoXhotelOrderStatementGetAPIResponse.go
- TaobaoXhotelOrderUpdateAPIRequest.go
- TaobaoXhotelOrderUpdateAPIResponse.go
- TaobaoXhotelOrderUpdateConfirmcodeAPIRequest.go
- TaobaoXhotelOrderUpdateConfirmcodeAPIResponse.go
- TaobaoXhotelPmsGuestbillGetVtwoAPIRequest.go
- TaobaoXhotelPmsGuestbillGetVtwoAPIResponse.go
- TaobaoXhotelPmsGuestbillGetVtwoResultSet.go
- TopDailyInfo.go
- TopDailySellerPromotion.go
- TopDomesticPriceInfoDo.go
- TopHotelPromotion.go
- TopInvoiceDo.go
- TopOrderCouponDo.go
- TopOrderDetail.go
- TopOrderGuest.go
- TopOrderPackageDetail.go
- TopOrderPackageDo.go
- TopOrderPromotionDetail.go
- TopOrderPromotionExtend.go
- TopOverseasPriceInfoDo.go
- TopPostTradeRefundDo.go
- TopPromotion.go
- Topinfomap.go
- UpdateOrderConfirmCodeParam.go
- UpdateRateDo.go
- UpdateRateParam.go
- ValueAddedInfo.go
- XHotelOrder.go
- XOrderGuest.go
- doc.go