xhotelitem

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package xhotelitem 包含酒店商品API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAddOwnerParam added in v1.3.4

func ReleaseAddOwnerParam(v *AddOwnerParam)

ReleaseAddOwnerParam 释放AddOwnerParam

func ReleaseBnbBookingTimeDto added in v1.3.4

func ReleaseBnbBookingTimeDto(v *BnbBookingTimeDto)

ReleaseBnbBookingTimeDto 释放BnbBookingTimeDto

func ReleaseBnbChargeDto added in v1.3.4

func ReleaseBnbChargeDto(v *BnbChargeDto)

ReleaseBnbChargeDto 释放BnbChargeDto

func ReleaseBnbLocationDto added in v1.3.4

func ReleaseBnbLocationDto(v *BnbLocationDto)

ReleaseBnbLocationDto 释放BnbLocationDto

func ReleaseBnbPictureDto added in v1.3.4

func ReleaseBnbPictureDto(v *BnbPictureDto)

ReleaseBnbPictureDto 释放BnbPictureDto

func ReleaseBnbPromoDto added in v1.3.4

func ReleaseBnbPromoDto(v *BnbPromoDto)

ReleaseBnbPromoDto 释放BnbPromoDto

func ReleaseBnbResult added in v1.3.4

func ReleaseBnbResult(v *BnbResult)

ReleaseBnbResult 释放BnbResult

func ReleaseCoordinate added in v1.3.4

func ReleaseCoordinate(v *Coordinate)

ReleaseCoordinate 释放Coordinate

func ReleaseDailyBookingInfo added in v1.3.4

func ReleaseDailyBookingInfo(v *DailyBookingInfo)

ReleaseDailyBookingInfo 释放DailyBookingInfo

func ReleaseEarlyBookingInfo added in v1.3.4

func ReleaseEarlyBookingInfo(v *EarlyBookingInfo)

ReleaseEarlyBookingInfo 释放EarlyBookingInfo

func ReleaseFirstResult added in v1.3.4

func ReleaseFirstResult(v *FirstResult)

ReleaseFirstResult 释放FirstResult

func ReleaseGeneralBookingInfo added in v1.3.4

func ReleaseGeneralBookingInfo(v *GeneralBookingInfo)

ReleaseGeneralBookingInfo 释放GeneralBookingInfo

func ReleaseHotel added in v1.3.4

func ReleaseHotel(v *Hotel)

ReleaseHotel 释放Hotel

func ReleaseHotelXItemPicture added in v1.3.4

func ReleaseHotelXItemPicture(v *HotelXItemPicture)

ReleaseHotelXItemPicture 释放HotelXItemPicture

func ReleaseHotelXitemDo added in v1.3.4

func ReleaseHotelXitemDo(v *HotelXitemDo)

ReleaseHotelXitemDo 释放HotelXitemDo

func ReleaseHoteldynamicinfo added in v1.3.4

func ReleaseHoteldynamicinfo(v *Hoteldynamicinfo)

ReleaseHoteldynamicinfo 释放Hoteldynamicinfo

func ReleaseHsfResult added in v1.3.4

func ReleaseHsfResult(v *HsfResult)

ReleaseHsfResult 释放HsfResult

func ReleaseInvalidDate added in v1.3.4

func ReleaseInvalidDate(v *InvalidDate)

ReleaseInvalidDate 释放InvalidDate

func ReleaseLongOrderInfo added in v1.3.4

func ReleaseLongOrderInfo(v *LongOrderInfo)

ReleaseLongOrderInfo 释放LongOrderInfo

func ReleaseMultipleRate added in v1.3.4

func ReleaseMultipleRate(v *MultipleRate)

ReleaseMultipleRate 释放MultipleRate

func ReleasePromoBindResult added in v1.3.4

func ReleasePromoBindResult(v *PromoBindResult)

ReleasePromoBindResult 释放PromoBindResult

func ReleasePromoCode added in v1.3.4

func ReleasePromoCode(v *PromoCode)

ReleasePromoCode 释放PromoCode

func ReleasePromoInfo added in v1.3.4

func ReleasePromoInfo(v *PromoInfo)

ReleasePromoInfo 释放PromoInfo

func ReleasePromoRateInfo added in v1.3.4

func ReleasePromoRateInfo(v *PromoRateInfo)

ReleasePromoRateInfo 释放PromoRateInfo

func ReleaseRate added in v1.3.4

func ReleaseRate(v *Rate)

ReleaseRate 释放Rate

func ReleaseRatePlan added in v1.3.4

func ReleaseRatePlan(v *RatePlan)

ReleaseRatePlan 释放RatePlan

func ReleaseRateinfos added in v1.3.4

func ReleaseRateinfos(v *Rateinfos)

ReleaseRateinfos 释放Rateinfos

func ReleaseRatepPlan added in v1.3.4

func ReleaseRatepPlan(v *RatepPlan)

ReleaseRatepPlan 释放RatepPlan

func ReleaseReviewDetailInfo added in v1.3.4

func ReleaseReviewDetailInfo(v *ReviewDetailInfo)

ReleaseReviewDetailInfo 释放ReviewDetailInfo

func ReleaseReviewPicInfo added in v1.3.4

func ReleaseReviewPicInfo(v *ReviewPicInfo)

ReleaseReviewPicInfo 释放ReviewPicInfo

func ReleaseRoomType added in v1.3.4

func ReleaseRoomType(v *RoomType)

ReleaseRoomType 释放RoomType

func ReleaseRoomTypeCheckResultDo added in v1.3.4

func ReleaseRoomTypeCheckResultDo(v *RoomTypeCheckResultDo)

ReleaseRoomTypeCheckResultDo 释放RoomTypeCheckResultDo

func ReleaseSHotel added in v1.3.4

func ReleaseSHotel(v *SHotel)

ReleaseSHotel 释放SHotel

func ReleaseSRoomType added in v1.3.4

func ReleaseSRoomType(v *SRoomType)

ReleaseSRoomType 释放SRoomType

func ReleaseSellerStatExposureElementList added in v1.3.4

func ReleaseSellerStatExposureElementList(v *SellerStatExposureElementList)

ReleaseSellerStatExposureElementList 释放SellerStatExposureElementList

func ReleaseSellerStatSummaryResult added in v1.3.4

func ReleaseSellerStatSummaryResult(v *SellerStatSummaryResult)

ReleaseSellerStatSummaryResult 释放SellerStatSummaryResult

func ReleaseServiceTimeDataDo added in v1.3.4

func ReleaseServiceTimeDataDo(v *ServiceTimeDataDo)

ReleaseServiceTimeDataDo 释放ServiceTimeDataDo

func ReleaseSroomtypelist added in v1.3.4

func ReleaseSroomtypelist(v *Sroomtypelist)

ReleaseSroomtypelist 释放Sroomtypelist

func ReleaseTagEntityDoList added in v1.3.4

func ReleaseTagEntityDoList(v *TagEntityDoList)

ReleaseTagEntityDoList 释放TagEntityDoList

func ReleaseTagQueryResult added in v1.3.4

func ReleaseTagQueryResult(v *TagQueryResult)

ReleaseTagQueryResult 释放TagQueryResult

func ReleaseTaobaoRoomtypeStatusUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoRoomtypeStatusUpdateAPIRequest(v *TaobaoRoomtypeStatusUpdateAPIRequest)

ReleaseTaobaoRoomtypeStatusUpdateAPIRequest 将 TaobaoRoomtypeStatusUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoRoomtypeStatusUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoRoomtypeStatusUpdateAPIResponse(v *TaobaoRoomtypeStatusUpdateAPIResponse)

ReleaseTaobaoRoomtypeStatusUpdateAPIResponse 将 TaobaoRoomtypeStatusUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelAddAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelAddAPIRequest(v *TaobaoXhotelAddAPIRequest)

ReleaseTaobaoXhotelAddAPIRequest 将 TaobaoXhotelAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelAddAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelAddAPIResponse(v *TaobaoXhotelAddAPIResponse)

ReleaseTaobaoXhotelAddAPIResponse 将 TaobaoXhotelAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelBaseinfoGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelBaseinfoGetAPIRequest(v *TaobaoXhotelBaseinfoGetAPIRequest)

ReleaseTaobaoXhotelBaseinfoGetAPIRequest 将 TaobaoXhotelBaseinfoGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelBaseinfoGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelBaseinfoGetAPIResponse(v *TaobaoXhotelBaseinfoGetAPIResponse)

ReleaseTaobaoXhotelBaseinfoGetAPIResponse 将 TaobaoXhotelBaseinfoGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelBaseinfoGetResultSet added in v1.3.4

func ReleaseTaobaoXhotelBaseinfoGetResultSet(v *TaobaoXhotelBaseinfoGetResultSet)

ReleaseTaobaoXhotelBaseinfoGetResultSet 释放TaobaoXhotelBaseinfoGetResultSet

func ReleaseTaobaoXhotelBaseinfoRoomGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelBaseinfoRoomGetAPIRequest(v *TaobaoXhotelBaseinfoRoomGetAPIRequest)

ReleaseTaobaoXhotelBaseinfoRoomGetAPIRequest 将 TaobaoXhotelBaseinfoRoomGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelBaseinfoRoomGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelBaseinfoRoomGetAPIResponse(v *TaobaoXhotelBaseinfoRoomGetAPIResponse)

ReleaseTaobaoXhotelBaseinfoRoomGetAPIResponse 将 TaobaoXhotelBaseinfoRoomGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelBaseinfoRoomGetResultSet added in v1.3.4

func ReleaseTaobaoXhotelBaseinfoRoomGetResultSet(v *TaobaoXhotelBaseinfoRoomGetResultSet)

ReleaseTaobaoXhotelBaseinfoRoomGetResultSet 释放TaobaoXhotelBaseinfoRoomGetResultSet

func ReleaseTaobaoXhotelBnbcommonAddAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelBnbcommonAddAPIRequest(v *TaobaoXhotelBnbcommonAddAPIRequest)

ReleaseTaobaoXhotelBnbcommonAddAPIRequest 将 TaobaoXhotelBnbcommonAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelBnbcommonAddAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelBnbcommonAddAPIResponse(v *TaobaoXhotelBnbcommonAddAPIResponse)

ReleaseTaobaoXhotelBnbcommonAddAPIResponse 将 TaobaoXhotelBnbcommonAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelBnbhouseAddAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelBnbhouseAddAPIRequest(v *TaobaoXhotelBnbhouseAddAPIRequest)

ReleaseTaobaoXhotelBnbhouseAddAPIRequest 将 TaobaoXhotelBnbhouseAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelBnbhouseAddAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelBnbhouseAddAPIResponse(v *TaobaoXhotelBnbhouseAddAPIResponse)

ReleaseTaobaoXhotelBnbhouseAddAPIResponse 将 TaobaoXhotelBnbhouseAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelBnbhouseDeleteAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelBnbhouseDeleteAPIRequest(v *TaobaoXhotelBnbhouseDeleteAPIRequest)

ReleaseTaobaoXhotelBnbhouseDeleteAPIRequest 将 TaobaoXhotelBnbhouseDeleteAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelBnbhouseDeleteAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelBnbhouseDeleteAPIResponse(v *TaobaoXhotelBnbhouseDeleteAPIResponse)

ReleaseTaobaoXhotelBnbhouseDeleteAPIResponse 将 TaobaoXhotelBnbhouseDeleteAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelBnbownerAddAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelBnbownerAddAPIRequest(v *TaobaoXhotelBnbownerAddAPIRequest)

ReleaseTaobaoXhotelBnbownerAddAPIRequest 将 TaobaoXhotelBnbownerAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelBnbownerAddAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelBnbownerAddAPIResponse(v *TaobaoXhotelBnbownerAddAPIResponse)

ReleaseTaobaoXhotelBnbownerAddAPIResponse 将 TaobaoXhotelBnbownerAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelBnbownerAddResultSet added in v1.3.4

func ReleaseTaobaoXhotelBnbownerAddResultSet(v *TaobaoXhotelBnbownerAddResultSet)

ReleaseTaobaoXhotelBnbownerAddResultSet 释放TaobaoXhotelBnbownerAddResultSet

func ReleaseTaobaoXhotelBnbownerDeleteAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelBnbownerDeleteAPIRequest(v *TaobaoXhotelBnbownerDeleteAPIRequest)

ReleaseTaobaoXhotelBnbownerDeleteAPIRequest 将 TaobaoXhotelBnbownerDeleteAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelBnbownerDeleteAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelBnbownerDeleteAPIResponse(v *TaobaoXhotelBnbownerDeleteAPIResponse)

ReleaseTaobaoXhotelBnbownerDeleteAPIResponse 将 TaobaoXhotelBnbownerDeleteAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelBnbownerDeleteResultSet added in v1.3.4

func ReleaseTaobaoXhotelBnbownerDeleteResultSet(v *TaobaoXhotelBnbownerDeleteResultSet)

ReleaseTaobaoXhotelBnbownerDeleteResultSet 释放TaobaoXhotelBnbownerDeleteResultSet

func ReleaseTaobaoXhotelBnbpromoAddAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelBnbpromoAddAPIRequest(v *TaobaoXhotelBnbpromoAddAPIRequest)

ReleaseTaobaoXhotelBnbpromoAddAPIRequest 将 TaobaoXhotelBnbpromoAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelBnbpromoAddAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelBnbpromoAddAPIResponse(v *TaobaoXhotelBnbpromoAddAPIResponse)

ReleaseTaobaoXhotelBnbpromoAddAPIResponse 将 TaobaoXhotelBnbpromoAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelBnbpromoBindAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelBnbpromoBindAPIRequest(v *TaobaoXhotelBnbpromoBindAPIRequest)

ReleaseTaobaoXhotelBnbpromoBindAPIRequest 将 TaobaoXhotelBnbpromoBindAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelBnbpromoBindAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelBnbpromoBindAPIResponse(v *TaobaoXhotelBnbpromoBindAPIResponse)

ReleaseTaobaoXhotelBnbpromoBindAPIResponse 将 TaobaoXhotelBnbpromoBindAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelBnbpromoDeleteAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelBnbpromoDeleteAPIRequest(v *TaobaoXhotelBnbpromoDeleteAPIRequest)

ReleaseTaobaoXhotelBnbpromoDeleteAPIRequest 将 TaobaoXhotelBnbpromoDeleteAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelBnbpromoDeleteAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelBnbpromoDeleteAPIResponse(v *TaobaoXhotelBnbpromoDeleteAPIResponse)

ReleaseTaobaoXhotelBnbpromoDeleteAPIResponse 将 TaobaoXhotelBnbpromoDeleteAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelBnbpromoDeleteResultSet added in v1.3.4

func ReleaseTaobaoXhotelBnbpromoDeleteResultSet(v *TaobaoXhotelBnbpromoDeleteResultSet)

ReleaseTaobaoXhotelBnbpromoDeleteResultSet 释放TaobaoXhotelBnbpromoDeleteResultSet

func ReleaseTaobaoXhotelBnbpromoGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelBnbpromoGetAPIRequest(v *TaobaoXhotelBnbpromoGetAPIRequest)

ReleaseTaobaoXhotelBnbpromoGetAPIRequest 将 TaobaoXhotelBnbpromoGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelBnbpromoGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelBnbpromoGetAPIResponse(v *TaobaoXhotelBnbpromoGetAPIResponse)

ReleaseTaobaoXhotelBnbpromoGetAPIResponse 将 TaobaoXhotelBnbpromoGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelBnbpromoGetResultSet added in v1.3.4

func ReleaseTaobaoXhotelBnbpromoGetResultSet(v *TaobaoXhotelBnbpromoGetResultSet)

ReleaseTaobaoXhotelBnbpromoGetResultSet 释放TaobaoXhotelBnbpromoGetResultSet

func ReleaseTaobaoXhotelBnbpromoUnbindAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelBnbpromoUnbindAPIRequest(v *TaobaoXhotelBnbpromoUnbindAPIRequest)

ReleaseTaobaoXhotelBnbpromoUnbindAPIRequest 将 TaobaoXhotelBnbpromoUnbindAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelBnbpromoUnbindAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelBnbpromoUnbindAPIResponse(v *TaobaoXhotelBnbpromoUnbindAPIResponse)

ReleaseTaobaoXhotelBnbpromoUnbindAPIResponse 将 TaobaoXhotelBnbpromoUnbindAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelBnbreviewAddAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelBnbreviewAddAPIRequest(v *TaobaoXhotelBnbreviewAddAPIRequest)

ReleaseTaobaoXhotelBnbreviewAddAPIRequest 将 TaobaoXhotelBnbreviewAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelBnbreviewAddAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelBnbreviewAddAPIResponse(v *TaobaoXhotelBnbreviewAddAPIResponse)

ReleaseTaobaoXhotelBnbreviewAddAPIResponse 将 TaobaoXhotelBnbreviewAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelBnbroomtypeAddAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelBnbroomtypeAddAPIRequest(v *TaobaoXhotelBnbroomtypeAddAPIRequest)

ReleaseTaobaoXhotelBnbroomtypeAddAPIRequest 将 TaobaoXhotelBnbroomtypeAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelBnbroomtypeAddAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelBnbroomtypeAddAPIResponse(v *TaobaoXhotelBnbroomtypeAddAPIResponse)

ReleaseTaobaoXhotelBnbroomtypeAddAPIResponse 将 TaobaoXhotelBnbroomtypeAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelBnbroomtypeDeleteAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelBnbroomtypeDeleteAPIRequest(v *TaobaoXhotelBnbroomtypeDeleteAPIRequest)

ReleaseTaobaoXhotelBnbroomtypeDeleteAPIRequest 将 TaobaoXhotelBnbroomtypeDeleteAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelBnbroomtypeDeleteAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelBnbroomtypeDeleteAPIResponse(v *TaobaoXhotelBnbroomtypeDeleteAPIResponse)

ReleaseTaobaoXhotelBnbroomtypeDeleteAPIResponse 将 TaobaoXhotelBnbroomtypeDeleteAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelCityCoordinatesBatchDownloadAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelCityCoordinatesBatchDownloadAPIRequest(v *TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest)

ReleaseTaobaoXhotelCityCoordinatesBatchDownloadAPIRequest 将 TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelCityCoordinatesBatchDownloadAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelCityCoordinatesBatchDownloadAPIResponse(v *TaobaoXhotelCityCoordinatesBatchDownloadAPIResponse)

ReleaseTaobaoXhotelCityCoordinatesBatchDownloadAPIResponse 将 TaobaoXhotelCityCoordinatesBatchDownloadAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelCityCoordinatesBatchUploadAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelCityCoordinatesBatchUploadAPIRequest(v *TaobaoXhotelCityCoordinatesBatchUploadAPIRequest)

ReleaseTaobaoXhotelCityCoordinatesBatchUploadAPIRequest 将 TaobaoXhotelCityCoordinatesBatchUploadAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelCityCoordinatesBatchUploadAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelCityCoordinatesBatchUploadAPIResponse(v *TaobaoXhotelCityCoordinatesBatchUploadAPIResponse)

ReleaseTaobaoXhotelCityCoordinatesBatchUploadAPIResponse 将 TaobaoXhotelCityCoordinatesBatchUploadAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelDeleteAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelDeleteAPIRequest(v *TaobaoXhotelDeleteAPIRequest)

ReleaseTaobaoXhotelDeleteAPIRequest 将 TaobaoXhotelDeleteAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelDeleteAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelDeleteAPIResponse(v *TaobaoXhotelDeleteAPIResponse)

ReleaseTaobaoXhotelDeleteAPIResponse 将 TaobaoXhotelDeleteAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelDeleteResultSet added in v1.3.4

func ReleaseTaobaoXhotelDeleteResultSet(v *TaobaoXhotelDeleteResultSet)

ReleaseTaobaoXhotelDeleteResultSet 释放TaobaoXhotelDeleteResultSet

func ReleaseTaobaoXhotelEntityConfigAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelEntityConfigAPIRequest(v *TaobaoXhotelEntityConfigAPIRequest)

ReleaseTaobaoXhotelEntityConfigAPIRequest 将 TaobaoXhotelEntityConfigAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelEntityConfigAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelEntityConfigAPIResponse(v *TaobaoXhotelEntityConfigAPIResponse)

ReleaseTaobaoXhotelEntityConfigAPIResponse 将 TaobaoXhotelEntityConfigAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelGetAPIRequest(v *TaobaoXhotelGetAPIRequest)

ReleaseTaobaoXhotelGetAPIRequest 将 TaobaoXhotelGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelGetAPIResponse(v *TaobaoXhotelGetAPIResponse)

ReleaseTaobaoXhotelGetAPIResponse 将 TaobaoXhotelGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelGetEntityByTagAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelGetEntityByTagAPIRequest(v *TaobaoXhotelGetEntityByTagAPIRequest)

ReleaseTaobaoXhotelGetEntityByTagAPIRequest 将 TaobaoXhotelGetEntityByTagAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelGetEntityByTagAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelGetEntityByTagAPIResponse(v *TaobaoXhotelGetEntityByTagAPIResponse)

ReleaseTaobaoXhotelGetEntityByTagAPIResponse 将 TaobaoXhotelGetEntityByTagAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelHouseAddAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelHouseAddAPIRequest(v *TaobaoXhotelHouseAddAPIRequest)

ReleaseTaobaoXhotelHouseAddAPIRequest 将 TaobaoXhotelHouseAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelHouseAddAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelHouseAddAPIResponse(v *TaobaoXhotelHouseAddAPIResponse)

ReleaseTaobaoXhotelHouseAddAPIResponse 将 TaobaoXhotelHouseAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelHouseRoomtypeAddAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelHouseRoomtypeAddAPIRequest(v *TaobaoXhotelHouseRoomtypeAddAPIRequest)

ReleaseTaobaoXhotelHouseRoomtypeAddAPIRequest 将 TaobaoXhotelHouseRoomtypeAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelHouseRoomtypeAddAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelHouseRoomtypeAddAPIResponse(v *TaobaoXhotelHouseRoomtypeAddAPIResponse)

ReleaseTaobaoXhotelHouseRoomtypeAddAPIResponse 将 TaobaoXhotelHouseRoomtypeAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelIncrementInfoGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelIncrementInfoGetAPIRequest(v *TaobaoXhotelIncrementInfoGetAPIRequest)

ReleaseTaobaoXhotelIncrementInfoGetAPIRequest 将 TaobaoXhotelIncrementInfoGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelIncrementInfoGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelIncrementInfoGetAPIResponse(v *TaobaoXhotelIncrementInfoGetAPIResponse)

ReleaseTaobaoXhotelIncrementInfoGetAPIResponse 将 TaobaoXhotelIncrementInfoGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelItemSelectionSellerStatExposureAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelItemSelectionSellerStatExposureAPIRequest(v *TaobaoXhotelItemSelectionSellerStatExposureAPIRequest)

ReleaseTaobaoXhotelItemSelectionSellerStatExposureAPIRequest 将 TaobaoXhotelItemSelectionSellerStatExposureAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelItemSelectionSellerStatExposureAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelItemSelectionSellerStatExposureAPIResponse(v *TaobaoXhotelItemSelectionSellerStatExposureAPIResponse)

ReleaseTaobaoXhotelItemSelectionSellerStatExposureAPIResponse 将 TaobaoXhotelItemSelectionSellerStatExposureAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelItemSelectionSellerStatExposureModule added in v1.3.4

func ReleaseTaobaoXhotelItemSelectionSellerStatExposureModule(v *TaobaoXhotelItemSelectionSellerStatExposureModule)

ReleaseTaobaoXhotelItemSelectionSellerStatExposureModule 释放TaobaoXhotelItemSelectionSellerStatExposureModule

func ReleaseTaobaoXhotelItemSelectionSellerStatExposureResult added in v1.3.4

func ReleaseTaobaoXhotelItemSelectionSellerStatExposureResult(v *TaobaoXhotelItemSelectionSellerStatExposureResult)

ReleaseTaobaoXhotelItemSelectionSellerStatExposureResult 释放TaobaoXhotelItemSelectionSellerStatExposureResult

func ReleaseTaobaoXhotelItemSelectionSellerStatHotshidAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelItemSelectionSellerStatHotshidAPIRequest(v *TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest)

ReleaseTaobaoXhotelItemSelectionSellerStatHotshidAPIRequest 将 TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelItemSelectionSellerStatHotshidAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelItemSelectionSellerStatHotshidAPIResponse(v *TaobaoXhotelItemSelectionSellerStatHotshidAPIResponse)

ReleaseTaobaoXhotelItemSelectionSellerStatHotshidAPIResponse 将 TaobaoXhotelItemSelectionSellerStatHotshidAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelItemSelectionSellerStatHotshidModule added in v1.3.4

func ReleaseTaobaoXhotelItemSelectionSellerStatHotshidModule(v *TaobaoXhotelItemSelectionSellerStatHotshidModule)

ReleaseTaobaoXhotelItemSelectionSellerStatHotshidModule 释放TaobaoXhotelItemSelectionSellerStatHotshidModule

func ReleaseTaobaoXhotelItemSelectionSellerStatHotshidResult added in v1.3.4

func ReleaseTaobaoXhotelItemSelectionSellerStatHotshidResult(v *TaobaoXhotelItemSelectionSellerStatHotshidResult)

ReleaseTaobaoXhotelItemSelectionSellerStatHotshidResult 释放TaobaoXhotelItemSelectionSellerStatHotshidResult

func ReleaseTaobaoXhotelItemSelectionSellerStatSummaryAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelItemSelectionSellerStatSummaryAPIRequest(v *TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest)

ReleaseTaobaoXhotelItemSelectionSellerStatSummaryAPIRequest 将 TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelItemSelectionSellerStatSummaryAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelItemSelectionSellerStatSummaryAPIResponse(v *TaobaoXhotelItemSelectionSellerStatSummaryAPIResponse)

ReleaseTaobaoXhotelItemSelectionSellerStatSummaryAPIResponse 将 TaobaoXhotelItemSelectionSellerStatSummaryAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelMultiplerateDeleteAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelMultiplerateDeleteAPIRequest(v *TaobaoXhotelMultiplerateDeleteAPIRequest)

ReleaseTaobaoXhotelMultiplerateDeleteAPIRequest 将 TaobaoXhotelMultiplerateDeleteAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelMultiplerateDeleteAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelMultiplerateDeleteAPIResponse(v *TaobaoXhotelMultiplerateDeleteAPIResponse)

ReleaseTaobaoXhotelMultiplerateDeleteAPIResponse 将 TaobaoXhotelMultiplerateDeleteAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelMultiplerateDeleteResultSet added in v1.3.4

func ReleaseTaobaoXhotelMultiplerateDeleteResultSet(v *TaobaoXhotelMultiplerateDeleteResultSet)

ReleaseTaobaoXhotelMultiplerateDeleteResultSet 释放TaobaoXhotelMultiplerateDeleteResultSet

func ReleaseTaobaoXhotelMultiplerateGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelMultiplerateGetAPIRequest(v *TaobaoXhotelMultiplerateGetAPIRequest)

ReleaseTaobaoXhotelMultiplerateGetAPIRequest 将 TaobaoXhotelMultiplerateGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelMultiplerateGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelMultiplerateGetAPIResponse(v *TaobaoXhotelMultiplerateGetAPIResponse)

ReleaseTaobaoXhotelMultiplerateGetAPIResponse 将 TaobaoXhotelMultiplerateGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelMultiplerateUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelMultiplerateUpdateAPIRequest(v *TaobaoXhotelMultiplerateUpdateAPIRequest)

ReleaseTaobaoXhotelMultiplerateUpdateAPIRequest 将 TaobaoXhotelMultiplerateUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelMultiplerateUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelMultiplerateUpdateAPIResponse(v *TaobaoXhotelMultiplerateUpdateAPIResponse)

ReleaseTaobaoXhotelMultiplerateUpdateAPIResponse 将 TaobaoXhotelMultiplerateUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelMultipleratesIncrementAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelMultipleratesIncrementAPIRequest(v *TaobaoXhotelMultipleratesIncrementAPIRequest)

ReleaseTaobaoXhotelMultipleratesIncrementAPIRequest 将 TaobaoXhotelMultipleratesIncrementAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelMultipleratesIncrementAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelMultipleratesIncrementAPIResponse(v *TaobaoXhotelMultipleratesIncrementAPIResponse)

ReleaseTaobaoXhotelMultipleratesIncrementAPIResponse 将 TaobaoXhotelMultipleratesIncrementAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelMultipleratesUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelMultipleratesUpdateAPIRequest(v *TaobaoXhotelMultipleratesUpdateAPIRequest)

ReleaseTaobaoXhotelMultipleratesUpdateAPIRequest 将 TaobaoXhotelMultipleratesUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelMultipleratesUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelMultipleratesUpdateAPIResponse(v *TaobaoXhotelMultipleratesUpdateAPIResponse)

ReleaseTaobaoXhotelMultipleratesUpdateAPIResponse 将 TaobaoXhotelMultipleratesUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelQuotaUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelQuotaUpdateAPIRequest(v *TaobaoXhotelQuotaUpdateAPIRequest)

ReleaseTaobaoXhotelQuotaUpdateAPIRequest 将 TaobaoXhotelQuotaUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelQuotaUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelQuotaUpdateAPIResponse(v *TaobaoXhotelQuotaUpdateAPIResponse)

ReleaseTaobaoXhotelQuotaUpdateAPIResponse 将 TaobaoXhotelQuotaUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRateAddAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRateAddAPIRequest(v *TaobaoXhotelRateAddAPIRequest)

ReleaseTaobaoXhotelRateAddAPIRequest 将 TaobaoXhotelRateAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRateAddAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRateAddAPIResponse(v *TaobaoXhotelRateAddAPIResponse)

ReleaseTaobaoXhotelRateAddAPIResponse 将 TaobaoXhotelRateAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRateDeleteAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRateDeleteAPIRequest(v *TaobaoXhotelRateDeleteAPIRequest)

ReleaseTaobaoXhotelRateDeleteAPIRequest 将 TaobaoXhotelRateDeleteAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRateDeleteAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRateDeleteAPIResponse(v *TaobaoXhotelRateDeleteAPIResponse)

ReleaseTaobaoXhotelRateDeleteAPIResponse 将 TaobaoXhotelRateDeleteAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRateDeleteResultSet added in v1.3.4

func ReleaseTaobaoXhotelRateDeleteResultSet(v *TaobaoXhotelRateDeleteResultSet)

ReleaseTaobaoXhotelRateDeleteResultSet 释放TaobaoXhotelRateDeleteResultSet

func ReleaseTaobaoXhotelRateGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRateGetAPIRequest(v *TaobaoXhotelRateGetAPIRequest)

ReleaseTaobaoXhotelRateGetAPIRequest 将 TaobaoXhotelRateGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRateGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRateGetAPIResponse(v *TaobaoXhotelRateGetAPIResponse)

ReleaseTaobaoXhotelRateGetAPIResponse 将 TaobaoXhotelRateGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRateRelationshipwithroomGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRateRelationshipwithroomGetAPIRequest(v *TaobaoXhotelRateRelationshipwithroomGetAPIRequest)

ReleaseTaobaoXhotelRateRelationshipwithroomGetAPIRequest 将 TaobaoXhotelRateRelationshipwithroomGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRateRelationshipwithroomGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRateRelationshipwithroomGetAPIResponse(v *TaobaoXhotelRateRelationshipwithroomGetAPIResponse)

ReleaseTaobaoXhotelRateRelationshipwithroomGetAPIResponse 将 TaobaoXhotelRateRelationshipwithroomGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRateRelationshipwithrpGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRateRelationshipwithrpGetAPIRequest(v *TaobaoXhotelRateRelationshipwithrpGetAPIRequest)

ReleaseTaobaoXhotelRateRelationshipwithrpGetAPIRequest 将 TaobaoXhotelRateRelationshipwithrpGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRateRelationshipwithrpGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRateRelationshipwithrpGetAPIResponse(v *TaobaoXhotelRateRelationshipwithrpGetAPIResponse)

ReleaseTaobaoXhotelRateRelationshipwithrpGetAPIResponse 将 TaobaoXhotelRateRelationshipwithrpGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRateUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRateUpdateAPIRequest(v *TaobaoXhotelRateUpdateAPIRequest)

ReleaseTaobaoXhotelRateUpdateAPIRequest 将 TaobaoXhotelRateUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRateUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRateUpdateAPIResponse(v *TaobaoXhotelRateUpdateAPIResponse)

ReleaseTaobaoXhotelRateUpdateAPIResponse 将 TaobaoXhotelRateUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRateplanAddAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRateplanAddAPIRequest(v *TaobaoXhotelRateplanAddAPIRequest)

ReleaseTaobaoXhotelRateplanAddAPIRequest 将 TaobaoXhotelRateplanAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRateplanAddAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRateplanAddAPIResponse(v *TaobaoXhotelRateplanAddAPIResponse)

ReleaseTaobaoXhotelRateplanAddAPIResponse 将 TaobaoXhotelRateplanAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRateplanDeleteAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRateplanDeleteAPIRequest(v *TaobaoXhotelRateplanDeleteAPIRequest)

ReleaseTaobaoXhotelRateplanDeleteAPIRequest 将 TaobaoXhotelRateplanDeleteAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRateplanDeleteAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRateplanDeleteAPIResponse(v *TaobaoXhotelRateplanDeleteAPIResponse)

ReleaseTaobaoXhotelRateplanDeleteAPIResponse 将 TaobaoXhotelRateplanDeleteAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRateplanDeleteResultSet added in v1.3.4

func ReleaseTaobaoXhotelRateplanDeleteResultSet(v *TaobaoXhotelRateplanDeleteResultSet)

ReleaseTaobaoXhotelRateplanDeleteResultSet 释放TaobaoXhotelRateplanDeleteResultSet

func ReleaseTaobaoXhotelRateplanGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRateplanGetAPIRequest(v *TaobaoXhotelRateplanGetAPIRequest)

ReleaseTaobaoXhotelRateplanGetAPIRequest 将 TaobaoXhotelRateplanGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRateplanGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRateplanGetAPIResponse(v *TaobaoXhotelRateplanGetAPIResponse)

ReleaseTaobaoXhotelRateplanGetAPIResponse 将 TaobaoXhotelRateplanGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRateplanUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRateplanUpdateAPIRequest(v *TaobaoXhotelRateplanUpdateAPIRequest)

ReleaseTaobaoXhotelRateplanUpdateAPIRequest 将 TaobaoXhotelRateplanUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRateplanUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRateplanUpdateAPIResponse(v *TaobaoXhotelRateplanUpdateAPIResponse)

ReleaseTaobaoXhotelRateplanUpdateAPIResponse 将 TaobaoXhotelRateplanUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRatesIncrementAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRatesIncrementAPIRequest(v *TaobaoXhotelRatesIncrementAPIRequest)

ReleaseTaobaoXhotelRatesIncrementAPIRequest 将 TaobaoXhotelRatesIncrementAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRatesIncrementAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRatesIncrementAPIResponse(v *TaobaoXhotelRatesIncrementAPIResponse)

ReleaseTaobaoXhotelRatesIncrementAPIResponse 将 TaobaoXhotelRatesIncrementAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRatesLiteIncrUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRatesLiteIncrUpdateAPIRequest(v *TaobaoXhotelRatesLiteIncrUpdateAPIRequest)

ReleaseTaobaoXhotelRatesLiteIncrUpdateAPIRequest 将 TaobaoXhotelRatesLiteIncrUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRatesLiteIncrUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRatesLiteIncrUpdateAPIResponse(v *TaobaoXhotelRatesLiteIncrUpdateAPIResponse)

ReleaseTaobaoXhotelRatesLiteIncrUpdateAPIResponse 将 TaobaoXhotelRatesLiteIncrUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRatesLiteIncrUpdateResultSet added in v1.3.4

func ReleaseTaobaoXhotelRatesLiteIncrUpdateResultSet(v *TaobaoXhotelRatesLiteIncrUpdateResultSet)

ReleaseTaobaoXhotelRatesLiteIncrUpdateResultSet 释放TaobaoXhotelRatesLiteIncrUpdateResultSet

func ReleaseTaobaoXhotelRatesUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRatesUpdateAPIRequest(v *TaobaoXhotelRatesUpdateAPIRequest)

ReleaseTaobaoXhotelRatesUpdateAPIRequest 将 TaobaoXhotelRatesUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRatesUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRatesUpdateAPIResponse(v *TaobaoXhotelRatesUpdateAPIResponse)

ReleaseTaobaoXhotelRatesUpdateAPIResponse 将 TaobaoXhotelRatesUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRoomGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRoomGetAPIRequest(v *TaobaoXhotelRoomGetAPIRequest)

ReleaseTaobaoXhotelRoomGetAPIRequest 将 TaobaoXhotelRoomGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRoomGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRoomGetAPIResponse(v *TaobaoXhotelRoomGetAPIResponse)

ReleaseTaobaoXhotelRoomGetAPIResponse 将 TaobaoXhotelRoomGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRoomUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRoomUpdateAPIRequest(v *TaobaoXhotelRoomUpdateAPIRequest)

ReleaseTaobaoXhotelRoomUpdateAPIRequest 将 TaobaoXhotelRoomUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRoomUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRoomUpdateAPIResponse(v *TaobaoXhotelRoomUpdateAPIResponse)

ReleaseTaobaoXhotelRoomUpdateAPIResponse 将 TaobaoXhotelRoomUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRoomsIncrementAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRoomsIncrementAPIRequest(v *TaobaoXhotelRoomsIncrementAPIRequest)

ReleaseTaobaoXhotelRoomsIncrementAPIRequest 将 TaobaoXhotelRoomsIncrementAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRoomsIncrementAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRoomsIncrementAPIResponse(v *TaobaoXhotelRoomsIncrementAPIResponse)

ReleaseTaobaoXhotelRoomsIncrementAPIResponse 将 TaobaoXhotelRoomsIncrementAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRoomsUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRoomsUpdateAPIRequest(v *TaobaoXhotelRoomsUpdateAPIRequest)

ReleaseTaobaoXhotelRoomsUpdateAPIRequest 将 TaobaoXhotelRoomsUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRoomsUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRoomsUpdateAPIResponse(v *TaobaoXhotelRoomsUpdateAPIResponse)

ReleaseTaobaoXhotelRoomsUpdateAPIResponse 将 TaobaoXhotelRoomsUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRoomtypeAddAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRoomtypeAddAPIRequest(v *TaobaoXhotelRoomtypeAddAPIRequest)

ReleaseTaobaoXhotelRoomtypeAddAPIRequest 将 TaobaoXhotelRoomtypeAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRoomtypeAddAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRoomtypeAddAPIResponse(v *TaobaoXhotelRoomtypeAddAPIResponse)

ReleaseTaobaoXhotelRoomtypeAddAPIResponse 将 TaobaoXhotelRoomtypeAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRoomtypeConflictDataAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRoomtypeConflictDataAPIRequest(v *TaobaoXhotelRoomtypeConflictDataAPIRequest)

ReleaseTaobaoXhotelRoomtypeConflictDataAPIRequest 将 TaobaoXhotelRoomtypeConflictDataAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRoomtypeConflictDataAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRoomtypeConflictDataAPIResponse(v *TaobaoXhotelRoomtypeConflictDataAPIResponse)

ReleaseTaobaoXhotelRoomtypeConflictDataAPIResponse 将 TaobaoXhotelRoomtypeConflictDataAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRoomtypeConflictDataResultSet added in v1.3.4

func ReleaseTaobaoXhotelRoomtypeConflictDataResultSet(v *TaobaoXhotelRoomtypeConflictDataResultSet)

ReleaseTaobaoXhotelRoomtypeConflictDataResultSet 释放TaobaoXhotelRoomtypeConflictDataResultSet

func ReleaseTaobaoXhotelRoomtypeDeletePublicAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRoomtypeDeletePublicAPIRequest(v *TaobaoXhotelRoomtypeDeletePublicAPIRequest)

ReleaseTaobaoXhotelRoomtypeDeletePublicAPIRequest 将 TaobaoXhotelRoomtypeDeletePublicAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRoomtypeDeletePublicAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRoomtypeDeletePublicAPIResponse(v *TaobaoXhotelRoomtypeDeletePublicAPIResponse)

ReleaseTaobaoXhotelRoomtypeDeletePublicAPIResponse 将 TaobaoXhotelRoomtypeDeletePublicAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRoomtypeDeletePublicResultSet added in v1.3.4

func ReleaseTaobaoXhotelRoomtypeDeletePublicResultSet(v *TaobaoXhotelRoomtypeDeletePublicResultSet)

ReleaseTaobaoXhotelRoomtypeDeletePublicResultSet 释放TaobaoXhotelRoomtypeDeletePublicResultSet

func ReleaseTaobaoXhotelRoomtypeGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRoomtypeGetAPIRequest(v *TaobaoXhotelRoomtypeGetAPIRequest)

ReleaseTaobaoXhotelRoomtypeGetAPIRequest 将 TaobaoXhotelRoomtypeGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRoomtypeGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRoomtypeGetAPIResponse(v *TaobaoXhotelRoomtypeGetAPIResponse)

ReleaseTaobaoXhotelRoomtypeGetAPIResponse 将 TaobaoXhotelRoomtypeGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelRoomtypeUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelRoomtypeUpdateAPIRequest(v *TaobaoXhotelRoomtypeUpdateAPIRequest)

ReleaseTaobaoXhotelRoomtypeUpdateAPIRequest 将 TaobaoXhotelRoomtypeUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelRoomtypeUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelRoomtypeUpdateAPIResponse(v *TaobaoXhotelRoomtypeUpdateAPIResponse)

ReleaseTaobaoXhotelRoomtypeUpdateAPIResponse 将 TaobaoXhotelRoomtypeUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelServicetimeGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelServicetimeGetAPIRequest(v *TaobaoXhotelServicetimeGetAPIRequest)

ReleaseTaobaoXhotelServicetimeGetAPIRequest 将 TaobaoXhotelServicetimeGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelServicetimeGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelServicetimeGetAPIResponse(v *TaobaoXhotelServicetimeGetAPIResponse)

ReleaseTaobaoXhotelServicetimeGetAPIResponse 将 TaobaoXhotelServicetimeGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelServicetimeGetResultSet added in v1.3.4

func ReleaseTaobaoXhotelServicetimeGetResultSet(v *TaobaoXhotelServicetimeGetResultSet)

ReleaseTaobaoXhotelServicetimeGetResultSet 释放TaobaoXhotelServicetimeGetResultSet

func ReleaseTaobaoXhotelServicetimeUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelServicetimeUpdateAPIRequest(v *TaobaoXhotelServicetimeUpdateAPIRequest)

ReleaseTaobaoXhotelServicetimeUpdateAPIRequest 将 TaobaoXhotelServicetimeUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelServicetimeUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelServicetimeUpdateAPIResponse(v *TaobaoXhotelServicetimeUpdateAPIResponse)

ReleaseTaobaoXhotelServicetimeUpdateAPIResponse 将 TaobaoXhotelServicetimeUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelServicetimeUpdateResultSet added in v1.3.4

func ReleaseTaobaoXhotelServicetimeUpdateResultSet(v *TaobaoXhotelServicetimeUpdateResultSet)

ReleaseTaobaoXhotelServicetimeUpdateResultSet 释放TaobaoXhotelServicetimeUpdateResultSet

func ReleaseTaobaoXhotelStatusUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelStatusUpdateAPIRequest(v *TaobaoXhotelStatusUpdateAPIRequest)

ReleaseTaobaoXhotelStatusUpdateAPIRequest 将 TaobaoXhotelStatusUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelStatusUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelStatusUpdateAPIResponse(v *TaobaoXhotelStatusUpdateAPIResponse)

ReleaseTaobaoXhotelStatusUpdateAPIResponse 将 TaobaoXhotelStatusUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelUpdateAPIRequest(v *TaobaoXhotelUpdateAPIRequest)

ReleaseTaobaoXhotelUpdateAPIRequest 将 TaobaoXhotelUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelUpdateAPIResponse(v *TaobaoXhotelUpdateAPIResponse)

ReleaseTaobaoXhotelUpdateAPIResponse 将 TaobaoXhotelUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelXitemDeleteAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelXitemDeleteAPIRequest(v *TaobaoXhotelXitemDeleteAPIRequest)

ReleaseTaobaoXhotelXitemDeleteAPIRequest 将 TaobaoXhotelXitemDeleteAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelXitemDeleteAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelXitemDeleteAPIResponse(v *TaobaoXhotelXitemDeleteAPIResponse)

ReleaseTaobaoXhotelXitemDeleteAPIResponse 将 TaobaoXhotelXitemDeleteAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelXitemDeleteResultSet added in v1.3.4

func ReleaseTaobaoXhotelXitemDeleteResultSet(v *TaobaoXhotelXitemDeleteResultSet)

ReleaseTaobaoXhotelXitemDeleteResultSet 释放TaobaoXhotelXitemDeleteResultSet

func ReleaseTaobaoXhotelXitemQueryAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelXitemQueryAPIRequest(v *TaobaoXhotelXitemQueryAPIRequest)

ReleaseTaobaoXhotelXitemQueryAPIRequest 将 TaobaoXhotelXitemQueryAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelXitemQueryAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelXitemQueryAPIResponse(v *TaobaoXhotelXitemQueryAPIResponse)

ReleaseTaobaoXhotelXitemQueryAPIResponse 将 TaobaoXhotelXitemQueryAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelXitemQueryResultSet added in v1.3.4

func ReleaseTaobaoXhotelXitemQueryResultSet(v *TaobaoXhotelXitemQueryResultSet)

ReleaseTaobaoXhotelXitemQueryResultSet 释放TaobaoXhotelXitemQueryResultSet

func ReleaseTonightDiscount added in v1.3.4

func ReleaseTonightDiscount(v *TonightDiscount)

ReleaseTonightDiscount 释放TonightDiscount

func ReleaseXHotel added in v1.3.4

func ReleaseXHotel(v *XHotel)

ReleaseXHotel 释放XHotel

func ReleaseXHotelBaseInfo added in v1.3.4

func ReleaseXHotelBaseInfo(v *XHotelBaseInfo)

ReleaseXHotelBaseInfo 释放XHotelBaseInfo

func ReleaseXHotelInfoWithRoom added in v1.3.4

func ReleaseXHotelInfoWithRoom(v *XHotelInfoWithRoom)

ReleaseXHotelInfoWithRoom 释放XHotelInfoWithRoom

func ReleaseXRoomType added in v1.3.4

func ReleaseXRoomType(v *XRoomType)

ReleaseXRoomType 释放XRoomType

func ReleaseXsHotel added in v1.3.4

func ReleaseXsHotel(v *XsHotel)

ReleaseXsHotel 释放XsHotel

Types

type AddOwnerParam

type AddOwnerParam struct {
	// 房东头像地址,大小不超过3M,格式格式限制"png", "jpg", "jpeg"
	AvatarUrl string `json:"avatar_url,omitempty" xml:"avatar_url,omitempty"`
	// 房东的生日(年-月-日 00:00:00)
	Birthday string `json:"birthday,omitempty" xml:"birthday,omitempty"`
	// 国内固定传"China";国外必须传定义的海外国家编码值。参见:http://hotel.alitrip.com/area.htm
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 房东介绍,长度限制2048个字符
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 邮箱
	Email string `json:"email,omitempty" xml:"email,omitempty"`
	// 性别,M-男性,F-女性,U-未知
	Gender string `json:"gender,omitempty" xml:"gender,omitempty"`
	// 爱好,用英文逗号分割 如"游泳,爬山"
	Hobbies string `json:"hobbies,omitempty" xml:"hobbies,omitempty"`
	// 身份证号
	IdNumber string `json:"id_number,omitempty" xml:"id_number,omitempty"`
	// 房东标签,英文逗号分割,如"超赞,有爱"
	Labels string `json:"labels,omitempty" xml:"labels,omitempty"`
	// 经营资质执照类型对应的名称,执照类型1(身份证):身份证姓名;执照类型2(护照):护照姓名;执照类型3(营业执照):企业名称
	LicenseName string `json:"license_name,omitempty" xml:"license_name,omitempty"`
	// 经营资质执照类型对应的编码,执照类型1(身份证):身份证号;执照类型2(护照):护照号;执照类型3(营业执照):营业执照编号
	LicenseNo string `json:"license_no,omitempty" xml:"license_no,omitempty"`
	// 移动电话号码。移动电话号码与固定电话号码二者必须填一个
	MobilePhone string `json:"mobile_phone,omitempty" xml:"mobile_phone,omitempty"`
	// 房东昵称
	NickName string `json:"nick_name,omitempty" xml:"nick_name,omitempty"`
	// 房东Id,供货商自己库中的房东Id
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 职业
	Profession string `json:"profession,omitempty" xml:"profession,omitempty"`
	// 房东的真实联系方式,不能填第三方转接号码
	RealContact string `json:"real_contact,omitempty" xml:"real_contact,omitempty"`
	// 实名认证姓名
	RealName string `json:"real_name,omitempty" xml:"real_name,omitempty"`
	// 房东故事,json串,可以传图片和文本: {"pics":[""],"content":""}
	Story string `json:"story,omitempty" xml:"story,omitempty"`
	// 固定电话。移动电话号码与固定电话号码二者必须填一个
	Telephone string `json:"telephone,omitempty" xml:"telephone,omitempty"`
	// 对接系统商名称:可为空不要乱填,需要申请后使用
	Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"`
	// 订单平均确认时长(单位分钟,要求大于0)
	AvgConfirmTime int64 `json:"avg_confirm_time,omitempty" xml:"avg_confirm_time,omitempty"`
	// 房东所在城市编码。参见:http://hotel.alitrip.com/area.htm,domestic为false时,输入对应国家的海外城市编码,可调用海外城市查询接口获取;
	City int64 `json:"city,omitempty" xml:"city,omitempty"`
	// 订单接单率 0-100,百分比分子
	ConfirmRate int64 `json:"confirm_rate,omitempty" xml:"confirm_rate,omitempty"`
	// 星座 -1:错误,未知, 0:白羊,1:金牛,2:双子,3:巨蟹,4:狮子,5:处女,6:天秤,7:天蝎,8:射手,9:摩羯,10:水瓶,11:双鱼
	Constellation int64 `json:"constellation,omitempty" xml:"constellation,omitempty"`
	// 房东等级评分,0-100,房东等级越高越优秀
	Level int64 `json:"level,omitempty" xml:"level,omitempty"`
	// 经营资质执照类型 ,1 身份证(默认)、2 护照、3 营业执照
	LicenseType int64 `json:"license_type,omitempty" xml:"license_type,omitempty"`
	// 房东类型,枚举 1.个人房东;2.商户经营;3.其他
	OwnerType int64 `json:"owner_type,omitempty" xml:"owner_type,omitempty"`
	// 好评率,0-100,百分比分子,数字越大好评率越高
	PositiveFeedback int64 `json:"positive_feedback,omitempty" xml:"positive_feedback,omitempty"`
	// 省份编码。选填,不填入的时候已city字段为准.参见:http://hotel.alitrip.com/area.htm
	Province int64 `json:"province,omitempty" xml:"province,omitempty"`
	// 学历 1:小学,2:初中,3:高中,4:本科,5:硕士,6:博士,7:博士后,0:其他
	Qualification int64 `json:"qualification,omitempty" xml:"qualification,omitempty"`
	// 回复率,0-100,百分比分子,数字越大回复率越高
	ResponseRate int64 `json:"response_rate,omitempty" xml:"response_rate,omitempty"`
	// 实名验证方式,认证情况:1:身份验证,2:头像验证,4:手机验证,8:邮箱验证,可以二进制叠加,二进制各位代表含义
	Validate int64 `json:"validate,omitempty" xml:"validate,omitempty"`
	// 房东血型,0:未知,1:A型,2:B型,3:AB型,4:O型
	BloodType int64 `json:"blood_type,omitempty" xml:"blood_type,omitempty"`
}

AddOwnerParam 结构体

func GetAddOwnerParam added in v1.3.4

func GetAddOwnerParam() *AddOwnerParam

GetAddOwnerParam() 从对象池中获取AddOwnerParam

type BnbBookingTimeDto

type BnbBookingTimeDto struct {
	// 开始接待时间 hh:mm,24小时时间格式
	StartReceptionTime string `json:"start_reception_time,omitempty" xml:"start_reception_time,omitempty"`
	// 结束接待时间 hh:mm,24小时时间格式
	EndReceptionTime string `json:"end_reception_time,omitempty" xml:"end_reception_time,omitempty"`
	// 最早入住时间 hh:mm,24小时时间格式住时间,默认值: 14:00
	EarliestCheckInTime string `json:"earliest_check_in_time,omitempty" xml:"earliest_check_in_time,omitempty"`
	// 最晚预定时间 hh:mm,24小时时间格式
	LatestBookingTime string `json:"latest_booking_time,omitempty" xml:"latest_booking_time,omitempty"`
	// 最晚入住时间 hh:mm,24小时时间格式
	LatestCheckInTime string `json:"latest_check_in_time,omitempty" xml:"latest_check_in_time,omitempty"`
	// 最晚离店时间 hh:mm,24小时时间格式,默认值: 12:00
	LatestCheckOutTime string `json:"latest_check_out_time,omitempty" xml:"latest_check_out_time,omitempty"`
}

BnbBookingTimeDto 结构体

func GetBnbBookingTimeDto added in v1.3.4

func GetBnbBookingTimeDto() *BnbBookingTimeDto

GetBnbBookingTimeDto() 从对象池中获取BnbBookingTimeDto

type BnbChargeDto

type BnbChargeDto struct {
	// 允许加人数
	Num int64 `json:"num,omitempty" xml:"num,omitempty"`
	// 加人费用金额
	Fee int64 `json:"fee,omitempty" xml:"fee,omitempty"`
	// 是否允许加人 0不允许 1允许
	AddPeople int64 `json:"add_people,omitempty" xml:"add_people,omitempty"`
	// 最小收费年龄
	MinChargingAge int64 `json:"min_charging_age,omitempty" xml:"min_charging_age,omitempty"`
}

BnbChargeDto 结构体

func GetBnbChargeDto added in v1.3.4

func GetBnbChargeDto() *BnbChargeDto

GetBnbChargeDto() 从对象池中获取BnbChargeDto

type BnbLocationDto

type BnbLocationDto struct {
	// domestic为0时,固定China; domestic为1时,必须传定义的海外国家编码值。参见:http://hotel.alitrip.com/area.htm
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 门店地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 商圈
	Business string `json:"business,omitempty" xml:"business,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 坐标类型,现在支持:G – Google; B – 百度; A – 高德; M – Mapbar; L – 灵图
	PositionType string `json:"position_type,omitempty" xml:"position_type,omitempty"`
	// 门店英文地址
	EnAddress string `json:"en_address,omitempty" xml:"en_address,omitempty"`
	// 接待地址
	ReceptionAddress string `json:"reception_address,omitempty" xml:"reception_address,omitempty"`
	// 时区0到+11或者0到-11
	Timezone string `json:"timezone,omitempty" xml:"timezone,omitempty"`
	// 门牌号
	Doorplate string `json:"doorplate,omitempty" xml:"doorplate,omitempty"`
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 城市名称,优先取city字段,city字段如果为空会校验cityName
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 城市编码。参见:http://hotel.alitrip.com/area.htm,domestic为false时,输入对应国家的海外城市编码,可调用海外城市查询接口获取;(更新时为可选)
	City int64 `json:"city,omitempty" xml:"city,omitempty"`
	// 国别 0:国内;1:国外。默认是国内
	Domestic int64 `json:"domestic,omitempty" xml:"domestic,omitempty"`
	// 省份编码http://hotel.alitrip.com/area.htm
	Province int64 `json:"province,omitempty" xml:"province,omitempty"`
	// 区域(县级市)编码。参见:http://hotel.alitrip.com/area.htm
	District int64 `json:"district,omitempty" xml:"district,omitempty"`
}

BnbLocationDto 结构体

func GetBnbLocationDto added in v1.3.4

func GetBnbLocationDto() *BnbLocationDto

GetBnbLocationDto() 从对象池中获取BnbLocationDto

type BnbPictureDto

type BnbPictureDto struct {
	// 图片属性 取值范围只能是:[普通图, 平面图, 全景图]
	Attribute string `json:"attribute,omitempty" xml:"attribute,omitempty"`
	// type表示图片类型,取值范围只能是:[周边, 外观, 商务中心, 健身房, 其他, 会议室, 餐厅, 浴室, 客房, 公共区域, 娱乐设施, 大堂, 泳池]
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 图片地址
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 图片描述
	Des string `json:"des,omitempty" xml:"des,omitempty"`
	// 是否主图  主图只能有一个,如果有多个或者没有,则会报错
	Ismain bool `json:"ismain,omitempty" xml:"ismain,omitempty"`
}

BnbPictureDto 结构体

func GetBnbPictureDto added in v1.3.4

func GetBnbPictureDto() *BnbPictureDto

GetBnbPictureDto() 从对象池中获取BnbPictureDto

type BnbPromoDto added in v1.2.5

type BnbPromoDto struct {
	// 参与活动的rates
	RateInfos []Rateinfos `json:"rate_infos,omitempty" xml:"rate_infos>rateinfos,omitempty"`
	// 外部活动code
	OuterActivityCode string `json:"outer_activity_code,omitempty" xml:"outer_activity_code,omitempty"`
	// 优惠信息
	PromoInfo *PromoInfo `json:"promo_info,omitempty" xml:"promo_info,omitempty"`
}

BnbPromoDto 结构体

func GetBnbPromoDto added in v1.3.4

func GetBnbPromoDto() *BnbPromoDto

GetBnbPromoDto() 从对象池中获取BnbPromoDto

type BnbResult added in v1.2.8

type BnbResult struct {
	// 响应码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 响应信息
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 状态,成功true,失败false
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

BnbResult 结构体

func GetBnbResult added in v1.3.4

func GetBnbResult() *BnbResult

GetBnbResult() 从对象池中获取BnbResult

type Coordinate

type Coordinate struct {
	// 飞猪城市中文名称
	CityCnName string `json:"city_cn_name,omitempty" xml:"city_cn_name,omitempty"`
	// 飞猪城市英文名称
	CityEnName string `json:"city_en_name,omitempty" xml:"city_en_name,omitempty"`
	// 外部经纬度标识id,可以是酒店或城市的id
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 批次号
	BatchId int64 `json:"batch_id,omitempty" xml:"batch_id,omitempty"`
	// 飞猪城市编码
	City int64 `json:"city,omitempty" xml:"city,omitempty"`
	// 飞猪国家编码
	Country int64 `json:"country,omitempty" xml:"country,omitempty"`
}

Coordinate 结构体

func GetCoordinate added in v1.3.4

func GetCoordinate() *Coordinate

GetCoordinate() 从对象池中获取Coordinate

type DailyBookingInfo added in v1.2.5

type DailyBookingInfo struct {
	// 生效星期,星期一星期二生效就填1,2
	ValidWeeks []string `json:"valid_weeks,omitempty" xml:"valid_weeks>string,omitempty"`
	// 失效时间
	InvalidDates []InvalidDate `json:"invalid_dates,omitempty" xml:"invalid_dates>invalid_date,omitempty"`
	// 入住开始
	CheckInFrom string `json:"check_in_from,omitempty" xml:"check_in_from,omitempty"`
	// 入住结束
	CheckInTo string `json:"check_in_to,omitempty" xml:"check_in_to,omitempty"`
	// 活动折扣
	InvestmentNumber int64 `json:"investment_number,omitempty" xml:"investment_number,omitempty"`
}

DailyBookingInfo 结构体

func GetDailyBookingInfo added in v1.3.4

func GetDailyBookingInfo() *DailyBookingInfo

GetDailyBookingInfo() 从对象池中获取DailyBookingInfo

type EarlyBookingInfo added in v1.2.5

type EarlyBookingInfo struct {
	// 活动折扣
	InvestmentNumber int64 `json:"investment_number,omitempty" xml:"investment_number,omitempty"`
	// 早定天数
	MinPreBookingDays int64 `json:"min_pre_booking_days,omitempty" xml:"min_pre_booking_days,omitempty"`
	// 连住天数
	MinContinuityStay int64 `json:"min_continuity_stay,omitempty" xml:"min_continuity_stay,omitempty"`
}

EarlyBookingInfo 结构体

func GetEarlyBookingInfo added in v1.3.4

func GetEarlyBookingInfo() *EarlyBookingInfo

GetEarlyBookingInfo() 从对象池中获取EarlyBookingInfo

type FirstResult

type FirstResult struct {
	// 未通过时的拒绝原因等。
	ErrorInfo string `json:"error_info,omitempty" xml:"error_info,omitempty"`
	// 创建时间
	CreatedTime string `json:"created_time,omitempty" xml:"created_time,omitempty"`
	// 修改时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 卖家自己系统的id
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 酒店名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 曾用名
	UsedName string `json:"used_name,omitempty" xml:"used_name,omitempty"`
	// 国家编码
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 商圈信息
	Business string `json:"business,omitempty" xml:"business,omitempty"`
	// 酒店地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 坐标类型
	PositionType string `json:"position_type,omitempty" xml:"position_type,omitempty"`
	// 酒店电话
	Tel string `json:"tel,omitempty" xml:"tel,omitempty"`
	// 扩展信息
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 匹配结果
	DataConfirmStr string `json:"data_confirm_str,omitempty" xml:"data_confirm_str,omitempty"`
	// 逗号分隔的字符串 1visa;2万事达卡;3美国运通卡;4发现卡;5大来卡;6JCB卡;7银联卡
	CreditCardTypes string `json:"credit_card_types,omitempty" xml:"credit_card_types,omitempty"`
	// 卖家酒店英文名称
	NameE string `json:"name_e,omitempty" xml:"name_e,omitempty"`
	// vendor
	Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"`
	// 货币类型(编码,字母编码),hid 维度支持的币种信息,目前只能 add 时添加,不支持 update时更新,,如果DB中是null ,则默认是人民币 CNY
	CurrencyCodeName string `json:"currency_code_name,omitempty" xml:"currency_code_name,omitempty"`
	// 酒店维度特殊标签含义, json: {"pure-direct-hotel":0,"direct-manual-order-hotel":1,"ebk-direct-hotel":0,"non-direct-hotel":1,"allow-dingding-business-travel-hotel":1,"willing-dingding-bussiness-travel-hotel":0,"calendar-room-package-hotel":1,"dijiajiajia-hotel":0,"ebk-number-of-confirm-room-hotel":1} , key含义: pure-direct-hotel 表示纯直连酒店, direct-manual-order-hotel 和 ebk-direct-hotel 和 non-direct-hotel 这三个key对应value都是0 . direct-manual-order-hotel 表示 人工承接失败订单的酒店标签。如果某个直连酒店打了该标签,那么直连下单失败以后,允许人工承接订单,由人工跟进 . ebk-direct-hotel 表示 ebk直连酒店标。如果某个酒店打了该标签,那么这个酒店下允许通过ebk发布直连rp . non-direct-hotel 表示 卖家非直连酒店标签。如果某个酒店打了该标签,那么该酒店下单不会走直连交易。 allow-dingding-business-travel-hotel 表示 允许进入阿里商旅渠道(钉钉)售卖信用住的单体酒店 willing-dingding-bussiness-travel-hotel 表示 已签协议愿意加入阿里商旅渠道售卖信用住的单体酒店 . calendar-room-package-hotel 表示 酒店可以参加日历房套餐活动包括创建,修改,删除活动信息(高星集团GMV项目) dijiajiajia-hotel 表示 底价加价酒店权限标。只有打了该标的酒店才允许维护底价加价规则和包房rp . ebk-number-of-confirm-room-hotel 表示ebk确认订单,是否要输入外部确认号 . nonstandard-project-hotel 表示该酒店是否参加非标项目
	TagJson string `json:"tag_json,omitempty" xml:"tag_json,omitempty"`
	// 酒店对应的旺旺号
	AliNick string `json:"ali_nick,omitempty" xml:"ali_nick,omitempty"`
	// 资源方房型设施
	StandardRoomFacilities string `json:"standard_room_facilities,omitempty" xml:"standard_room_facilities,omitempty"`
	// 资源方酒店服务
	StandardHotelService string `json:"standard_hotel_service,omitempty" xml:"standard_hotel_service,omitempty"`
	// 资源方酒店设施
	StandardHotelFacilities string `json:"standard_hotel_facilities,omitempty" xml:"standard_hotel_facilities,omitempty"`
	// 资源方预订须知
	StandardBookingNotice string `json:"standard_booking_notice,omitempty" xml:"standard_booking_notice,omitempty"`
	// 资源方娱乐设施
	StandardAmuseFacilities string `json:"standard_amuse_facilities,omitempty" xml:"standard_amuse_facilities,omitempty"`
	// 发票类型为其他时的发票描述,不能超过30个汉字,60个字符
	ReceiptOtherTypeDesc string `json:"receipt_other_type_desc,omitempty" xml:"receipt_other_type_desc,omitempty"`
	// 发票类型。A,B。分别代表: A:酒店住宿发票,B:其他
	ReceiptType string `json:"receipt_type,omitempty" xml:"receipt_type,omitempty"`
	// 酒店商品图片Url。多个url用逗号隔开
	PicUrls string `json:"pic_urls,omitempty" xml:"pic_urls,omitempty"`
	// 宝贝描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 购买须知
	Guide string `json:"guide,omitempty" xml:"guide,omitempty"`
	// 宝贝名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 发票说明,不能超过100个汉字,200个字符。
	ReceiptInfo string `json:"receipt_info,omitempty" xml:"receipt_info,omitempty"`
	// 库存日历
	Inventory string `json:"inventory,omitempty" xml:"inventory,omitempty"`
	// extend_info1
	ExtendInfo1 string `json:"extend_info1,omitempty" xml:"extend_info1,omitempty"`
	// extend_info2
	ExtendInfo2 string `json:"extend_info2,omitempty" xml:"extend_info2,omitempty"`
	// extend_info3
	ExtendInfo3 string `json:"extend_info3,omitempty" xml:"extend_info3,omitempty"`
	// out_rid
	OutRid string `json:"out_rid,omitempty" xml:"out_rid,omitempty"`
	// 商品下架原因
	DownReason string `json:"down_reason,omitempty" xml:"down_reason,omitempty"`
	// switchCalendar
	SwitchCalendar string `json:"switch_calendar,omitempty" xml:"switch_calendar,omitempty"`
	// 酒店ID
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// 酒店状态:0: 正常;-2:停售;-1:删除
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 淘宝标准酒店信息
	SHotel *SHotel `json:"s_hotel,omitempty" xml:"s_hotel,omitempty"`
	// hotel匹配状态: 0:待系统匹配 1:已系统匹配,匹配成功,待卖家确认 2:已系统匹配,匹配失败,待人工匹配 3:已人工匹配,匹配成功,待卖家确认 4:已人工匹配,匹配失败 5:卖家已确认,确认“YES” 6:卖家已确认,确认“NO” 7:已系统匹配,但是匹配重复,待人工确认
	MatchStatus int64 `json:"match_status,omitempty" xml:"match_status,omitempty"`
	// 0:国内;1:国外
	Domestic int64 `json:"domestic,omitempty" xml:"domestic,omitempty"`
	// 省份编码
	Province int64 `json:"province,omitempty" xml:"province,omitempty"`
	// 城市编码
	City int64 `json:"city,omitempty" xml:"city,omitempty"`
	// 地区编码
	District int64 `json:"district,omitempty" xml:"district,omitempty"`
	// 标识该酒店所走的 结算流程,如果是null 默认是 国内结算流程,否则是其他的,比如:海外信用住结算流程
	BillingProcessType int64 `json:"billing_process_type,omitempty" xml:"billing_process_type,omitempty"`
	// 离线数据,该酒店在售1,不在售0,未知-1
	OnSale int64 `json:"on_sale,omitempty" xml:"on_sale,omitempty"`
	// 离线数据,该酒店热搜1,非热搜0,未知-1
	HotSearch int64 `json:"hot_search,omitempty" xml:"hot_search,omitempty"`
	// 离线数据,该酒店热卖1,非热卖0,未知-1
	HotSale int64 `json:"hot_sale,omitempty" xml:"hot_sale,omitempty"`
	// rid房型id
	Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"`
	// iid淘宝商品id
	Iid int64 `json:"iid,omitempty" xml:"iid,omitempty"`
	// gid酒店商品id
	Gid int64 `json:"gid,omitempty" xml:"gid,omitempty"`
	// 酒店商品是否提供发票
	HasReceipt bool `json:"has_receipt,omitempty" xml:"has_receipt,omitempty"`
	// 橱窗推荐
	Recommend bool `json:"recommend,omitempty" xml:"recommend,omitempty"`
}

FirstResult 结构体

func GetFirstResult added in v1.3.4

func GetFirstResult() *FirstResult

GetFirstResult() 从对象池中获取FirstResult

type GeneralBookingInfo added in v1.2.9

type GeneralBookingInfo struct {
	// 活动入住开始时间
	CheckInFrom string `json:"check_in_from,omitempty" xml:"check_in_from,omitempty"`
	// 活动离店结束时间
	CheckOutTo string `json:"check_out_to,omitempty" xml:"check_out_to,omitempty"`
	// 活动折扣
	InvestmentNumber int64 `json:"investment_number,omitempty" xml:"investment_number,omitempty"`
}

GeneralBookingInfo 结构体

func GetGeneralBookingInfo added in v1.3.4

func GetGeneralBookingInfo() *GeneralBookingInfo

GetGeneralBookingInfo() 从对象池中获取GeneralBookingInfo

type Hotel

type Hotel struct {
	// 酒店修改备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 酒店电话。格式:国家代码(最长6位)#区号(最长4位)#电话(最长20位)。国家代码提示:中国大陆0086、香港00852、澳门00853、台湾00886
	Tel string `json:"tel,omitempty" xml:"tel,omitempty"`
	// 酒店设施。json格式
	HotelFacilities string `json:"hotel_facilities,omitempty" xml:"hotel_facilities,omitempty"`
	// 酒店类型
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 扩展信息
	Ext string `json:"ext,omitempty" xml:"ext,omitempty"`
	// 邮编
	PostalCode string `json:"postal_code,omitempty" xml:"postal_code,omitempty"`
	// 楼层信息
	Floors string `json:"floors,omitempty" xml:"floors,omitempty"`
	// 卖家名称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 酒店中文描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 货币类型(编码,字母编码)
	CurrencyCodeName string `json:"currency_code_name,omitempty" xml:"currency_code_name,omitempty"`
	// 酒店英文描述
	EnDesc string `json:"en_desc,omitempty" xml:"en_desc,omitempty"`
	// domestic=0时,固定China; domestic=1时,是海外国家编码值
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 酒店入住政策
	HotelPolicies string `json:"hotel_policies,omitempty" xml:"hotel_policies,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 操作人信息
	OperXiaoerName string `json:"oper_xiaoer_name,omitempty" xml:"oper_xiaoer_name,omitempty"`
	// 酒店外部ID
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 酒店修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 酒店英文地址
	EnAddr string `json:"en_addr,omitempty" xml:"en_addr,omitempty"`
	// 商圈
	Business string `json:"business,omitempty" xml:"business,omitempty"`
	// 酒店曾用名
	UsedName string `json:"used_name,omitempty" xml:"used_name,omitempty"`
	// 酒店图片信息
	Pics string `json:"pics,omitempty" xml:"pics,omitempty"`
	// 房间设施
	RoomFacilities string `json:"room_facilities,omitempty" xml:"room_facilities,omitempty"`
	// 酒店名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 坐标类型,现在支持:G : Google:B : 百度;A : 高德;M : Mapbar;L : 灵图
	PositionType string `json:"position_type,omitempty" xml:"position_type,omitempty"`
	// 酒店名称(英文)
	NameE string `json:"name_e,omitempty" xml:"name_e,omitempty"`
	// 酒店创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 酒店的销售渠道
	Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"`
	// 扩展信息
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 酒店星级
	Star string `json:"star,omitempty" xml:"star,omitempty"`
	// 预订须知
	BookingNotice string `json:"booking_notice,omitempty" xml:"booking_notice,omitempty"`
	// 装修时间
	DecorateTime string `json:"decorate_time,omitempty" xml:"decorate_time,omitempty"`
	// 酒店地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 酒店服务
	Service string `json:"service,omitempty" xml:"service,omitempty"`
	// 品牌
	Brand string `json:"brand,omitempty" xml:"brand,omitempty"`
	// 开业时间
	OpeningTime string `json:"opening_time,omitempty" xml:"opening_time,omitempty"`
	// 酒店ID
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// 城市编码
	City int64 `json:"city,omitempty" xml:"city,omitempty"`
	// 省份编码
	Province int64 `json:"province,omitempty" xml:"province,omitempty"`
	// 匹配是否人工确认
	DataConfirm int64 `json:"data_confirm,omitempty" xml:"data_confirm,omitempty"`
	// 房间数
	Rooms int64 `json:"rooms,omitempty" xml:"rooms,omitempty"`
	// 酒店状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 酒店下架类型
	DownShelfType int64 `json:"down_shelf_type,omitempty" xml:"down_shelf_type,omitempty"`
	// 标准酒店ID
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 酒店支付结算类型
	BillingProcessType int64 `json:"billing_process_type,omitempty" xml:"billing_process_type,omitempty"`
	// 地区编码
	District int64 `json:"district,omitempty" xml:"district,omitempty"`
	// 是否国外。
	Domestic int64 `json:"domestic,omitempty" xml:"domestic,omitempty"`
	// 来源
	Source int64 `json:"source,omitempty" xml:"source,omitempty"`
	// 卖家ID
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 匹配状态
	MatchStatus int64 `json:"match_status,omitempty" xml:"match_status,omitempty"`
	// 判断该酒店是不是对应的卖家直营
	KzzyTag int64 `json:"kzzy_tag,omitempty" xml:"kzzy_tag,omitempty"`
}

Hotel 结构体

func GetHotel added in v1.3.4

func GetHotel() *Hotel

GetHotel() 从对象池中获取Hotel

type HotelXItemPicture added in v1.2.9

type HotelXItemPicture struct {
	// 图片地址
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 是否主图
	IsMain bool `json:"is_main,omitempty" xml:"is_main,omitempty"`
}

HotelXItemPicture 结构体

func GetHotelXItemPicture added in v1.3.4

func GetHotelXItemPicture() *HotelXItemPicture

GetHotelXItemPicture() 从对象池中获取HotelXItemPicture

type HotelXitemDo added in v1.2.9

type HotelXitemDo struct {
	// 酒+X 图片格式化信息
	Pictures []HotelXItemPicture `json:"pictures,omitempty" xml:"pictures>hotel_x_item_picture,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 外部code
	OutXCode string `json:"out_x_code,omitempty" xml:"out_x_code,omitempty"`
	// 子类型code
	SubTypeCode string `json:"sub_type_code,omitempty" xml:"sub_type_code,omitempty"`
	// 外部酒店code
	OutHid string `json:"out_hid,omitempty" xml:"out_hid,omitempty"`
	// 元素类型简写
	ShortName string `json:"short_name,omitempty" xml:"short_name,omitempty"`
	// 服务时间段
	Time string `json:"time,omitempty" xml:"time,omitempty"`
	// 商品使用说明
	ItemDesc string `json:"item_desc,omitempty" xml:"item_desc,omitempty"`
	// 审核拒绝原因
	AuditRejectReason string `json:"audit_reject_reason,omitempty" xml:"audit_reject_reason,omitempty"`
	// 详细信息json字符串
	FeatureDetail string `json:"feature_detail,omitempty" xml:"feature_detail,omitempty"`
	// 商品价值
	Value int64 `json:"value,omitempty" xml:"value,omitempty"`
	// 状态是否生效0 失效, 1生效
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 附加产品使用维度   1:每间房维度 2:每间夜维度
	DimensionType int64 `json:"dimension_type,omitempty" xml:"dimension_type,omitempty"`
	//  审核状态-1:拒绝,0:审核中,1:审核通过
	AuditStatus int64 `json:"audit_status,omitempty" xml:"audit_status,omitempty"`
}

HotelXitemDo 结构体

func GetHotelXitemDo added in v1.3.4

func GetHotelXitemDo() *HotelXitemDo

GetHotelXitemDo() 从对象池中获取HotelXitemDo

type Hoteldynamicinfo

type Hoteldynamicinfo struct {
	// 不可售原因
	UnsaleReason string `json:"unsale_reason,omitempty" xml:"unsale_reason,omitempty"`
	// 酒店的销售渠道
	Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"`
	// 电话
	Tel string `json:"tel,omitempty" xml:"tel,omitempty"`
	// 城市名称
	CityStr string `json:"city_str,omitempty" xml:"city_str,omitempty"`
	// 卖家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 酒店名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 分析日期
	CalculateDate string `json:"calculate_date,omitempty" xml:"calculate_date,omitempty"`
	// 酒店外部ID
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 酒店hid
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// 酒店状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 可售健康房型数
	KsHeathyRoomNum int64 `json:"ks_heathy_room_num,omitempty" xml:"ks_heathy_room_num,omitempty"`
	// 标准酒店ID
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 城市编码
	City int64 `json:"city,omitempty" xml:"city,omitempty"`
	// id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 房型数
	RoomNun int64 `json:"room_nun,omitempty" xml:"room_nun,omitempty"`
	// 可售房型数
	KsRoomNum int64 `json:"ks_room_num,omitempty" xml:"ks_room_num,omitempty"`
	// 卖家ID
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 不可售原因
	UnsaleType int64 `json:"unsale_type,omitempty" xml:"unsale_type,omitempty"`
	// 酒店匹配
	DataConfirm int64 `json:"data_confirm,omitempty" xml:"data_confirm,omitempty"`
}

Hoteldynamicinfo 结构体

func GetHoteldynamicinfo added in v1.3.4

func GetHoteldynamicinfo() *Hoteldynamicinfo

GetHoteldynamicinfo() 从对象池中获取Hoteldynamicinfo

type HsfResult

type HsfResult struct {
	// 错误码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 接口信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 返回结果
	Module *SellerStatSummaryResult `json:"module,omitempty" xml:"module,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

HsfResult 结构体

func GetHsfResult added in v1.3.4

func GetHsfResult() *HsfResult

GetHsfResult() 从对象池中获取HsfResult

type InvalidDate added in v1.2.5

type InvalidDate struct {
	// 活动失效开始时间
	InvalidFrom string `json:"invalid_from,omitempty" xml:"invalid_from,omitempty"`
	// 活动失效结束时间
	InvalidTo string `json:"invalid_to,omitempty" xml:"invalid_to,omitempty"`
}

InvalidDate 结构体

func GetInvalidDate added in v1.3.4

func GetInvalidDate() *InvalidDate

GetInvalidDate() 从对象池中获取InvalidDate

type LongOrderInfo added in v1.2.5

type LongOrderInfo struct {
	// 互动折扣
	InvestmentNumber int64 `json:"investment_number,omitempty" xml:"investment_number,omitempty"`
	// 最小连住天数
	MinContinuityStay int64 `json:"min_continuity_stay,omitempty" xml:"min_continuity_stay,omitempty"`
}

LongOrderInfo 结构体

func GetLongOrderInfo added in v1.3.4

func GetLongOrderInfo() *LongOrderInfo

GetLongOrderInfo() 从对象池中获取LongOrderInfo

type MultipleRate

type MultipleRate struct {
	// 名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 创建时间
	CreatedTime string `json:"created_time,omitempty" xml:"created_time,omitempty"`
	// 修改时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 价格和库存信息,包括加床价,加人价等信息。date  日期必须为 T---T+90 日内的日期(T为当天),且不能重复price 价格 int类型 取值范围1-99999999 单位为分quota 库存 int 类型 取值范围  0-999(数量库存)  60000(状态库存关) 61000(状态库存开)addPerson 加人价addBed 加床价
	InventoryPrice string `json:"inventory_price,omitempty" xml:"inventory_price,omitempty"`
	// 入住人数
	Occupancy int64 `json:"occupancy,omitempty" xml:"occupancy,omitempty"`
	// 连住天数
	Lengthofstay int64 `json:"lengthofstay,omitempty" xml:"lengthofstay,omitempty"`
	// 酒店商品id
	Gid int64 `json:"gid,omitempty" xml:"gid,omitempty"`
	// 房价id
	Rpid int64 `json:"rpid,omitempty" xml:"rpid,omitempty"`
	// 币种
	CurrencyCode int64 `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
}

MultipleRate 结构体

func GetMultipleRate added in v1.3.4

func GetMultipleRate() *MultipleRate

GetMultipleRate() 从对象池中获取MultipleRate

type PromoBindResult added in v1.2.5

type PromoBindResult struct {
	// 活动失败原因
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 外部rid
	OutRid string `json:"out_rid,omitempty" xml:"out_rid,omitempty"`
	// 外部rp
	RatePlanCode string `json:"rate_plan_code,omitempty" xml:"rate_plan_code,omitempty"`
	// 活动是否报名成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

PromoBindResult 结构体

func GetPromoBindResult added in v1.3.4

func GetPromoBindResult() *PromoBindResult

GetPromoBindResult() 从对象池中获取PromoBindResult

type PromoCode added in v1.2.5

type PromoCode struct {
	// 营销活动code
	ActivityCode string `json:"activity_code,omitempty" xml:"activity_code,omitempty"`
}

PromoCode 结构体

func GetPromoCode added in v1.3.4

func GetPromoCode() *PromoCode

GetPromoCode() 从对象池中获取PromoCode

type PromoInfo added in v1.2.5

type PromoInfo struct {
	// 今夜特惠
	TonightDiscount *TonightDiscount `json:"tonight_discount,omitempty" xml:"tonight_discount,omitempty"`
	// 连住优惠
	LongOrderInfo *LongOrderInfo `json:"long_order_info,omitempty" xml:"long_order_info,omitempty"`
	// 早定优惠
	EarlyBookingInfo *EarlyBookingInfo `json:"early_booking_info,omitempty" xml:"early_booking_info,omitempty"`
	// 天天特惠
	DailyBookingInfo *DailyBookingInfo `json:"daily_booking_info,omitempty" xml:"daily_booking_info,omitempty"`
	// 民宿优惠
	GeneralBookingInfo *GeneralBookingInfo `json:"general_booking_info,omitempty" xml:"general_booking_info,omitempty"`
}

PromoInfo 结构体

func GetPromoInfo added in v1.3.4

func GetPromoInfo() *PromoInfo

GetPromoInfo() 从对象池中获取PromoInfo

type PromoRateInfo added in v1.2.5

type PromoRateInfo struct {
	// 外部rp
	RatePlanCode string `json:"rate_plan_code,omitempty" xml:"rate_plan_code,omitempty"`
	// 外部rid
	OutRid string `json:"out_rid,omitempty" xml:"out_rid,omitempty"`
}

PromoRateInfo 结构体

func GetPromoRateInfo added in v1.3.4

func GetPromoRateInfo() *PromoRateInfo

GetPromoRateInfo() 从对象池中获取PromoRateInfo

type Rate

type Rate struct {
	// 名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 价格和库存信息。<br/>A:use_room_inventory:是否使用room级别共享库存,可选值 true false 1、true时:使用room级别共享库存(即使用gid对应的XRoom中的inventory),rate_quota_map 的json 数据中不需要录入库存信息,录入的库存信息会忽略 2、false时:使用rate级别私有库存,此时要求价格和库存必填。<br/>B:date  日期必须为 T---T+90 日内的日期(T为当天),且不能重复<br/>C:price 价格 int类型 取值范围1-99999999 单位为分<br/>D:quota 库存 int 类型 取值范围  0-999(数量库存)  60000(状态库存关) 61000(状态库存开)
	InventoryPrice string `json:"inventory_price,omitempty" xml:"inventory_price,omitempty"`
	// 创建时间
	CreatedTime string `json:"created_time,omitempty" xml:"created_time,omitempty"`
	// 修改时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 结构化的库存和开关,   	 date 日期 	 price 价格 int 类型, 取值范围1-99999999 单位为分  	 quota 普通库存 int 类型 取值范围 0-999(数量库存) 60000(状态库存关) 61000(状态库存开)  	 alQuota 协议保留房库存  int 类型 取值范围 0-999(数量库存) 60000(状态库存关) 61000(状态库存开) 	 genAlQuota 普通保留房库存, int 类型 取值范围 0-999(数量库存) 60000(状态库存关) 61000(状态库存开) 	 rateSwitch  date日期的价格开关, 值为true时,表示当天价格开, false表示价格关
	InvPriceWithSwitch string `json:"inv_price_with_switch,omitempty" xml:"inv_price_with_switch,omitempty"`
	// rate 维度下特殊标签含义 json: {"ebk-tail-room-Rate":1}, key:ebk-tail-room-Rate 表示rate维度ebk尾房标
	TagJson string `json:"tag_json,omitempty" xml:"tag_json,omitempty"`
	// 酒店商品id
	Gid int64 `json:"gid,omitempty" xml:"gid,omitempty"`
	// 酒店RPID
	Rpid int64 `json:"rpid,omitempty" xml:"rpid,omitempty"`
	// 额外服务-是否可以加床,1:不可以,2:可以
	AddBed int64 `json:"add_bed,omitempty" xml:"add_bed,omitempty"`
	// 额外服务-加床价格
	AddBedPrice int64 `json:"add_bed_price,omitempty" xml:"add_bed_price,omitempty"`
	// 币种(仅支持CNY)
	CurrencyCode int64 `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// 实价有房标签(RP支付类型为全额支付)
	ShijiaTag int64 `json:"shijia_tag,omitempty" xml:"shijia_tag,omitempty"`
	// 即时确认状态,表示此rate预订后是否可以直接发货。可取范围:0,1。可以为空
	JishiquerenTag int64 `json:"jishiqueren_tag,omitempty" xml:"jishiqueren_tag,omitempty"`
	// 是否使用RoomInventory库存   仅当Rate上使用时有意义
	UseRoomInventory bool `json:"use_room_inventory,omitempty" xml:"use_room_inventory,omitempty"`
}

Rate 结构体

func GetRate added in v1.3.4

func GetRate() *Rate

GetRate() 从对象池中获取Rate

type RatePlan

type RatePlan struct {
	// 系统商,一般不填写,使用须申请
	Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"`
	// 房价名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 卖家自己系统的Code,简称RateCode
	RatePlanCode string `json:"rate_plan_code,omitempty" xml:"rate_plan_code,omitempty"`
	// 卖家自己系统的Code,简称RateCode
	RateplanCode string `json:"rateplan_code,omitempty" xml:"rateplan_code,omitempty"`
	// 英文名称
	EnglishName string `json:"english_name,omitempty" xml:"english_name,omitempty"`
	// 额外服务的扩展,是一段JSON
	ExtendFee string `json:"extend_fee,omitempty" xml:"extend_fee,omitempty"`
	// 每日生效时间默认00:00:00。生效时间<结束时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 每日结束时间默认24:00:00。生效时间<结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 退订政策
	CancelPolicy string `json:"cancel_policy,omitempty" xml:"cancel_policy,omitempty"`
	// extend
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 创建时间
	CreatedTime string `json:"created_time,omitempty" xml:"created_time,omitempty"`
	// 修改时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 扩展字段1
	ExtendInfo1 string `json:"extend_info1,omitempty" xml:"extend_info1,omitempty"`
	// 扩展字段2
	ExtendInfo2 string `json:"extend_info2,omitempty" xml:"extend_info2,omitempty"`
	// 扩展字段3
	ExtendInfo3 string `json:"extend_info3,omitempty" xml:"extend_info3,omitempty"`
	// 每日开始担保时间
	GuaranteeStartTime string `json:"guarantee_start_time,omitempty" xml:"guarantee_start_time,omitempty"`
	// 会员等级。支持多个等级","分隔
	MemberLevel string `json:"member_level,omitempty" xml:"member_level,omitempty"`
	// 销售渠道。如需开通,需要申请权限。目前支持的渠道有 H:飞猪全渠道(选择H,可实现飞猪、高德、支付宝、手淘均可售卖) O:钉钉商旅 。如果有多个用","分开,比如H,O。如果需要投放其他渠道,请联系飞猪运营或者技术支持。
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// rateplan生效开始时间
	EffectiveTime string `json:"effective_time,omitempty" xml:"effective_time,omitempty"`
	// rateplan生效截止时间
	DeadlineTime string `json:"deadline_time,omitempty" xml:"deadline_time,omitempty"`
	// 协议保留房提前确认时间
	AllotmentReleaseTime string `json:"allotment_release_time,omitempty" xml:"allotment_release_time,omitempty"`
	// rp维度的发票信息,type:1.酒店提供发票;2.卖家提供发票,desc:发票描叙,比如:卖家包邮提供发票,格式为:{"type":1;"desc":""}
	InvoiceContent string `json:"invoice_content,omitempty" xml:"invoice_content,omitempty"`
	// key的含义:    non-direct-RP 表示非直连RP,      super-could-price-change-RP 表示rp的super标,打上这个tag,表明这个rateplan下单的时候支持变价,商家系统直接放开价格校验。      base-could-derived-RP 表示base rateplan标签,打上了这个tag,表明这是一个base的rateplan,基于该rateplan可以衍生出子rateplan  .        ebk-tail-room-RP 表示 ebk尾房rate plan级别标
	TagJson string `json:"tag_json,omitempty" xml:"tag_json,omitempty"`
	// 可入住的最晚时间(小时房相关字段)
	CanCheckinEnd string `json:"can_checkin_end,omitempty" xml:"can_checkin_end,omitempty"`
	// 可入住的最早时间(小时房相关字段)
	CanCheckinStart string `json:"can_checkin_start,omitempty" xml:"can_checkin_start,omitempty"`
	// 每日生效结束时间(仅时分秒有效)
	EndTimeDaily string `json:"end_time_daily,omitempty" xml:"end_time_daily,omitempty"`
	// rateplan类型 1为小时房
	RpType string `json:"rp_type,omitempty" xml:"rp_type,omitempty"`
	// 入住的开始跨度(小时房相关字段)
	Hourage string `json:"hourage,omitempty" xml:"hourage,omitempty"`
	// 每日生效开始时间(仅时分秒有效)
	StartTimeDaily string `json:"start_time_daily,omitempty" xml:"start_time_daily,omitempty"`
	// 普通保留房提前确认时间
	CommonAllotReleaseTime string `json:"common_allot_release_time,omitempty" xml:"common_allot_release_time,omitempty"`
	// hotelCompanyMappingDOS
	HotelCompanyMappingDOS string `json:"hotel_company_mapping_d_o_s,omitempty" xml:"hotel_company_mapping_d_o_s,omitempty"`
	// calBreakfastStr
	CalBreakfastStr string `json:"cal_breakfast_str,omitempty" xml:"cal_breakfast_str,omitempty"`
	// calGuaranteeStr
	CalGuaranteeStr string `json:"cal_guarantee_str,omitempty" xml:"cal_guarantee_str,omitempty"`
	// calChangeRuleStr
	CalChangeRuleStr string `json:"cal_change_rule_str,omitempty" xml:"cal_change_rule_str,omitempty"`
	// 可离店的最晚时间(小时房相关字段)
	CanCheckoutEnd string `json:"can_checkout_end,omitempty" xml:"can_checkout_end,omitempty"`
	// 会员价加价规则。c:表示折扣百分比,例子8,意为会员价优惠8%,s:标识起始日期,e:表示截止日期,t:表示加价类型,0:代表折扣。会员价=售价*(1-c%)
	MemberDiscountCal string `json:"member_discount_cal,omitempty" xml:"member_discount_cal,omitempty"`
	// 酒+X特色
	Benefits string `json:"benefits,omitempty" xml:"benefits,omitempty"`
	// 活动类型: 1通兑,2秒杀,3尾房,4超级房券
	ActivityType string `json:"activity_type,omitempty" xml:"activity_type,omitempty"`
	// 阿里房价id
	RatePlanId int64 `json:"rate_plan_id,omitempty" xml:"rate_plan_id,omitempty"`
	// 1:开启2:关闭。
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// rateplan_id
	Rpid int64 `json:"rpid,omitempty" xml:"rpid,omitempty"`
	// 支付类型 可选值 1:预付 5:前台面付
	PaymentType int64 `json:"payment_type,omitempty" xml:"payment_type,omitempty"`
	// 早餐数量
	BreakfastCount int64 `json:"breakfast_count,omitempty" xml:"breakfast_count,omitempty"`
	// 另加早餐数量
	FeeBreakfastCount int64 `json:"fee_breakfast_count,omitempty" xml:"fee_breakfast_count,omitempty"`
	// 另加早餐金额
	FeeBreakfastAmount int64 `json:"fee_breakfast_amount,omitempty" xml:"fee_breakfast_amount,omitempty"`
	// 额外服务-政府税-金额(1-9999)
	FeeGovTaxAmount int64 `json:"fee_gov_tax_amount,omitempty" xml:"fee_gov_tax_amount,omitempty"`
	// 额外服务-政府税-百分比(0%-99%)
	FeeGovTaxPercent int64 `json:"fee_gov_tax_percent,omitempty" xml:"fee_gov_tax_percent,omitempty"`
	// 额外服务-服务费-金额(0-9999)
	FeeServiceAmount int64 `json:"fee_service_amount,omitempty" xml:"fee_service_amount,omitempty"`
	// 额外服务-服务费-百分比(0%-99%)
	FeeServicePercent int64 `json:"fee_service_percent,omitempty" xml:"fee_service_percent,omitempty"`
	// 最小入住天数(1-365)
	MinDays int64 `json:"min_days,omitempty" xml:"min_days,omitempty"`
	// 最大入住天数(1-365)
	MaxDays int64 `json:"max_days,omitempty" xml:"max_days,omitempty"`
	// 首日入住房间数(1-99)【废弃】
	MinAmount int64 `json:"min_amount,omitempty" xml:"min_amount,omitempty"`
	// 最小提前预订小时按入住时间的23:59:59(一般认为24点)来计算
	MinAdvHours int64 `json:"min_adv_hours,omitempty" xml:"min_adv_hours,omitempty"`
	// 最大提前预订小时按入住时间的23:59:59(一般认为24点)来计算
	MaxAdvHours int64 `json:"max_adv_hours,omitempty" xml:"max_adv_hours,omitempty"`
	// 担保类型,只支持: 0 无担保 1 峰时首晚担保 2峰时全额担保 3全天首晚担保 4全天全额担保
	GuaranteeType int64 `json:"guarantee_type,omitempty" xml:"guarantee_type,omitempty"`
	// 入住人数
	Occupancy int64 `json:"occupancy,omitempty" xml:"occupancy,omitempty"`
	// 是否是首住优惠rp。1代表是
	FirstStay int64 `json:"first_stay,omitempty" xml:"first_stay,omitempty"`
	// 是否是协议价。1代表是
	Agreement int64 `json:"agreement,omitempty" xml:"agreement,omitempty"`
	// 0支付宝担保 1PCI担保
	GuaranteeMode int64 `json:"guarantee_mode,omitempty" xml:"guarantee_mode,omitempty"`
	// 是否包房RP 1包房RP,0 非包房rp
	PackRoomFlag int64 `json:"pack_room_flag,omitempty" xml:"pack_room_flag,omitempty"`
	// 是否底价加价,1是底价加价,0 非底价加价rp
	BottomPriceFlag int64 `json:"bottom_price_flag,omitempty" xml:"bottom_price_flag,omitempty"`
	// 是否为学生价
	IsStudent int64 `json:"is_student,omitempty" xml:"is_student,omitempty"`
	// 来源
	Source int64 `json:"source,omitempty" xml:"source,omitempty"`
	// sell 端特殊RP 对应的 gid
	SellGid int64 `json:"sell_gid,omitempty" xml:"sell_gid,omitempty"`
	// 父rpid
	ParentRpid int64 `json:"parent_rpid,omitempty" xml:"parent_rpid,omitempty"`
	// companyAssist
	CompanyAssist int64 `json:"company_assist,omitempty" xml:"company_assist,omitempty"`
	// 会员价支持标识,1表示支持会员价规则
	MemDiscFlag int64 `json:"mem_disc_flag,omitempty" xml:"mem_disc_flag,omitempty"`
}

RatePlan 结构体

func GetRatePlan added in v1.3.4

func GetRatePlan() *RatePlan

GetRatePlan() 从对象池中获取RatePlan

type Rateinfos added in v1.2.5

type Rateinfos struct {
	// 外部房源id
	OutRid string `json:"out_rid,omitempty" xml:"out_rid,omitempty"`
	// 外部rpcode
	RatePlanCode string `json:"rate_plan_code,omitempty" xml:"rate_plan_code,omitempty"`
}

Rateinfos 结构体

func GetRateinfos added in v1.3.4

func GetRateinfos() *Rateinfos

GetRateinfos() 从对象池中获取Rateinfos

type RatepPlan

type RatepPlan struct {
	// 系统商
	Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"`
	// 房价名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// ratePlanCode
	RatePlanCode string `json:"rate_plan_code,omitempty" xml:"rate_plan_code,omitempty"`
	// 1:开启2:关闭。
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

RatepPlan 结构体

func GetRatepPlan added in v1.3.4

func GetRatepPlan() *RatepPlan

GetRatepPlan() 从对象池中获取RatepPlan

type ReviewDetailInfo added in v1.2.8

type ReviewDetailInfo struct {
	// 评分,10分制,Double类型得,2-非常差 4-差 6-一般 8-好 10-非常好
	Score string `json:"score,omitempty" xml:"score,omitempty"`
	// 纬度id,1-地理位置 2-清洁程度 3-服务比较 4-性价比
	DimensionId int64 `json:"dimension_id,omitempty" xml:"dimension_id,omitempty"`
}

ReviewDetailInfo 结构体

func GetReviewDetailInfo added in v1.3.4

func GetReviewDetailInfo() *ReviewDetailInfo

GetReviewDetailInfo() 从对象池中获取ReviewDetailInfo

type ReviewPicInfo added in v1.2.8

type ReviewPicInfo struct {
	// 图片地址
	Url string `json:"url,omitempty" xml:"url,omitempty"`
}

ReviewPicInfo 结构体

func GetReviewPicInfo added in v1.3.4

func GetReviewPicInfo() *ReviewPicInfo

GetReviewPicInfo() 从对象池中获取ReviewPicInfo

type RoomType

type RoomType struct {
	// 房价列表
	RatePlanList []RatepPlan `json:"rate_plan_list,omitempty" xml:"rate_plan_list>ratep_plan,omitempty"`
	// 房型名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 系统商,一般不填写,使用须申请
	Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"`
	// 商家房型ID
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 阿里房型id
	Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"`
	// 房型状态。0:正常,-1:删除,-2:停售
	Status *model.File `json:"status,omitempty" xml:"status,omitempty"`
}

RoomType 结构体

func GetRoomType added in v1.3.4

func GetRoomType() *RoomType

GetRoomType() 从对象池中获取RoomType

type RoomTypeCheckResultDo

type RoomTypeCheckResultDo struct {
	// 床型数据检查结果,false代表有冲突
	Bedtypecheckresult string `json:"bedtypecheckresult,omitempty" xml:"bedtypecheckresult,omitempty"`
	// 结构化床型
	BedType string `json:"bed_type,omitempty" xml:"bed_type,omitempty"`
	// 原始床型
	OriginBedType string `json:"origin_bed_type,omitempty" xml:"origin_bed_type,omitempty"`
	// 房型英文名称
	Roomtypeenname string `json:"roomtypeenname,omitempty" xml:"roomtypeenname,omitempty"`
	// 房型名称
	Roomtypename string `json:"roomtypename,omitempty" xml:"roomtypename,omitempty"`
	// 房型编码
	OuterRoomTypeId string `json:"outer_room_type_id,omitempty" xml:"outer_room_type_id,omitempty"`
	// 酒店名称
	Hotelname string `json:"hotelname,omitempty" xml:"hotelname,omitempty"`
	// 酒店编码
	OuterHotelId string `json:"outer_hotel_id,omitempty" xml:"outer_hotel_id,omitempty"`
	// 冲突数据创建时间(供商家参考,如果时间是过去三天以外的,那么可以不用关注)
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 床型英文描叙
	Ennamebedtypedesc string `json:"ennamebedtypedesc,omitempty" xml:"ennamebedtypedesc,omitempty"`
	// 床型描叙
	Namebedtypedesc string `json:"namebedtypedesc,omitempty" xml:"namebedtypedesc,omitempty"`
	// 床型描叙
	Bedtypedesc string `json:"bedtypedesc,omitempty" xml:"bedtypedesc,omitempty"`
	// 床型检查信息
	Bedtypecheckmsg string `json:"bedtypecheckmsg,omitempty" xml:"bedtypecheckmsg,omitempty"`
}

RoomTypeCheckResultDo 结构体

func GetRoomTypeCheckResultDo added in v1.3.4

func GetRoomTypeCheckResultDo() *RoomTypeCheckResultDo

GetRoomTypeCheckResultDo() 从对象池中获取RoomTypeCheckResultDo

type SHotel

type SHotel struct {
	// name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// used_name
	UsedName string `json:"used_name,omitempty" xml:"used_name,omitempty"`
	// 酒店类型
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 国家编码
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 地区标签
	CityTag string `json:"city_tag,omitempty" xml:"city_tag,omitempty"`
	// business
	Business string `json:"business,omitempty" xml:"business,omitempty"`
	// 酒店地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 酒店级别
	Level string `json:"level,omitempty" xml:"level,omitempty"`
	// longitude
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// latitude
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 酒店电话
	Tel string `json:"tel,omitempty" xml:"tel,omitempty"`
	// 传真
	Fax string `json:"fax,omitempty" xml:"fax,omitempty"`
	// 开业年份
	OpeningTime string `json:"opening_time,omitempty" xml:"opening_time,omitempty"`
	// 装修年份
	DecorateTime string `json:"decorate_time,omitempty" xml:"decorate_time,omitempty"`
	// 楼层数
	Storeys string `json:"storeys,omitempty" xml:"storeys,omitempty"`
	// 扩展信息的JSON
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 酒店介绍
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 交通距离与设施服务。JSON格式。
	Service string `json:"service,omitempty" xml:"service,omitempty"`
	// 酒店设施
	HotelFacilities string `json:"hotel_facilities,omitempty" xml:"hotel_facilities,omitempty"`
	// 房间设施
	RoomFacilities string `json:"room_facilities,omitempty" xml:"room_facilities,omitempty"`
	// 酒店图片url
	PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"`
	// 创建时间
	CreatedTime string `json:"created_time,omitempty" xml:"created_time,omitempty"`
	// 修改时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 邮编
	PostalCode string `json:"postal_code,omitempty" xml:"postal_code,omitempty"`
	// brand
	Brand string `json:"brand,omitempty" xml:"brand,omitempty"`
	// 杂费
	Fee string `json:"fee,omitempty" xml:"fee,omitempty"`
	// 标准酒店英文名
	NameE string `json:"name_e,omitempty" xml:"name_e,omitempty"`
	// 酒店ID
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 0:国内;1:国外
	Domestic int64 `json:"domestic,omitempty" xml:"domestic,omitempty"`
	// 省份编码
	Province int64 `json:"province,omitempty" xml:"province,omitempty"`
	// 城市编码
	City int64 `json:"city,omitempty" xml:"city,omitempty"`
	// 区域编码
	District int64 `json:"district,omitempty" xml:"district,omitempty"`
	// position_type
	PositionType int64 `json:"position_type,omitempty" xml:"position_type,omitempty"`
	// 房间数
	Rooms int64 `json:"rooms,omitempty" xml:"rooms,omitempty"`
	// 0,营业中;-1,筹建中;-2,暂停营业;-3,已停业;默认为0
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 0:酒店 1:客栈
	IsKezhan int64 `json:"is_kezhan,omitempty" xml:"is_kezhan,omitempty"`
}

SHotel 结构体

func GetSHotel added in v1.3.4

func GetSHotel() *SHotel

GetSHotel() 从对象池中获取SHotel

type SRoomType

type SRoomType struct {
	// 房型名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 楼层
	Floor string `json:"floor,omitempty" xml:"floor,omitempty"`
	// 宽带服务<br/>"0","有线上网(免费),<br/>"1","有线上网(无)",<br/>"2","有线上网(收费)",<br/>"3","有线上网(部分有且免费)",<br/>"4","有线上网(部分有且收费)"
	Internet string `json:"internet,omitempty" xml:"internet,omitempty"`
	// pic_url
	PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"`
	// facility
	Facility string `json:"facility,omitempty" xml:"facility,omitempty"`
	// 面积
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 扩展字段
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 创建时间
	CreatedTime string `json:"created_time,omitempty" xml:"created_time,omitempty"`
	// 修改时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 窗型,枚举类型<br/>0, 无窗,<br/>1, 有窗;
	WindowType string `json:"window_type,omitempty" xml:"window_type,omitempty"`
	// 床型。json格式:[{"bedType":"大床","bedSize":"1.5m"},{"bedType":"双床","bedSize":"1.2m"}]
	Bed string `json:"bed,omitempty" xml:"bed,omitempty"`
	// 匹配的标准房型
	Srid int64 `json:"srid,omitempty" xml:"srid,omitempty"`
	// shid
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 最大入住人数
	MaxOccupancy int64 `json:"max_occupancy,omitempty" xml:"max_occupancy,omitempty"`
	// 状态。0:正常;-1:删除
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

SRoomType 结构体

func GetSRoomType added in v1.3.4

func GetSRoomType() *SRoomType

GetSRoomType() 从对象池中获取SRoomType

type SellerStatExposureElementList

type SellerStatExposureElementList struct {
	// 日期
	StatDate string `json:"stat_date,omitempty" xml:"stat_date,omitempty"`
	// 曝光率
	ExposedPercent string `json:"exposed_percent,omitempty" xml:"exposed_percent,omitempty"`
	// shid维度访问量
	ShidTotalAmount string `json:"shid_total_amount,omitempty" xml:"shid_total_amount,omitempty"`
	// 对应商品曝光数量
	ExposedAmount string `json:"exposed_amount,omitempty" xml:"exposed_amount,omitempty"`
}

SellerStatExposureElementList 结构体

func GetSellerStatExposureElementList added in v1.3.4

func GetSellerStatExposureElementList() *SellerStatExposureElementList

GetSellerStatExposureElementList() 从对象池中获取SellerStatExposureElementList

type SellerStatSummaryResult

type SellerStatSummaryResult struct {
	// 曝光率
	ExposedPercent string `json:"exposed_percent,omitempty" xml:"exposed_percent,omitempty"`
	// supplier参数
	SupplierParam string `json:"supplier_param,omitempty" xml:"supplier_param,omitempty"`
	// 标准酒店维度曝光总数
	ShidTotalAmount string `json:"shid_total_amount,omitempty" xml:"shid_total_amount,omitempty"`
	// hid参数
	HidParam string `json:"hid_param,omitempty" xml:"hid_param,omitempty"`
	// rate最低分
	MinRateScore string `json:"min_rate_score,omitempty" xml:"min_rate_score,omitempty"`
	// 不可售情况
	UnsaleReseasonInfo string `json:"unsale_reseason_info,omitempty" xml:"unsale_reseason_info,omitempty"`
	// rate最高分
	MaxRateScore string `json:"max_rate_score,omitempty" xml:"max_rate_score,omitempty"`
	// 选品情况
	SelectionMessageInfo string `json:"selection_message_info,omitempty" xml:"selection_message_info,omitempty"`
	// rate平均分
	AvgRateScore string `json:"avg_rate_score,omitempty" xml:"avg_rate_score,omitempty"`
	// 日期
	DateParam string `json:"date_param,omitempty" xml:"date_param,omitempty"`
	// 商品总数
	TotalAmount string `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// vendor参数
	VendorParam string `json:"vendor_param,omitempty" xml:"vendor_param,omitempty"`
	// 曝光总数
	ExposedAmount string `json:"exposed_amount,omitempty" xml:"exposed_amount,omitempty"`
	// 选品情况
	SelectionMessageInfoJson string `json:"selection_message_info_json,omitempty" xml:"selection_message_info_json,omitempty"`
	// 不可售情况
	UnsaleReasonInfoJson string `json:"unsale_reason_info_json,omitempty" xml:"unsale_reason_info_json,omitempty"`
	// sellerId参数
	SellerIdParam string `json:"seller_id_param,omitempty" xml:"seller_id_param,omitempty"`
	// 可售商品数量
	CanSaleAmount string `json:"can_sale_amount,omitempty" xml:"can_sale_amount,omitempty"`
	// 选品保留商品数量
	SelectedAmount string `json:"selected_amount,omitempty" xml:"selected_amount,omitempty"`
}

SellerStatSummaryResult 结构体

func GetSellerStatSummaryResult added in v1.3.4

func GetSellerStatSummaryResult() *SellerStatSummaryResult

GetSellerStatSummaryResult() 从对象池中获取SellerStatSummaryResult

type ServiceTimeDataDo

type ServiceTimeDataDo struct {
	// supplier
	Supplier string `json:"supplier,omitempty" xml:"supplier,omitempty"`
	// 卖家nick
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 业务类型:1卖家;2supplier;3酒店
	BusinessType string `json:"business_type,omitempty" xml:"business_type,omitempty"`
	// timeZoneName
	TimeZoneName string `json:"time_zone_name,omitempty" xml:"time_zone_name,omitempty"`
	// 周五服务时间(当地时间)
	FridayConfirmLocalTime string `json:"friday_confirm_local_time,omitempty" xml:"friday_confirm_local_time,omitempty"`
	// 周一服务时间(当地时间)
	MondayConfirmLocalTime string `json:"monday_confirm_local_time,omitempty" xml:"monday_confirm_local_time,omitempty"`
	// 周二服务时间(当地时间)
	TuesdayConfirmLocalTime string `json:"tuesday_confirm_local_time,omitempty" xml:"tuesday_confirm_local_time,omitempty"`
	// 周三服务时间(当地时间)
	WednesdayConfirmLocalTime string `json:"wednesday_confirm_local_time,omitempty" xml:"wednesday_confirm_local_time,omitempty"`
	// 周六服务时间(当地时间)
	SaturdayConfirmLocalTime string `json:"saturday_confirm_local_time,omitempty" xml:"saturday_confirm_local_time,omitempty"`
	// operator
	Operator string `json:"operator,omitempty" xml:"operator,omitempty"`
	// 周日服务时间(当地时间)
	SundayConfirmLocalTime string `json:"sunday_confirm_local_time,omitempty" xml:"sunday_confirm_local_time,omitempty"`
	// 周四服务时间(当地时间)
	ThursdayConfirmLocalTime string `json:"thursday_confirm_local_time,omitempty" xml:"thursday_confirm_local_time,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 最后修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 卖家id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 业务id
	BusinessId int64 `json:"business_id,omitempty" xml:"business_id,omitempty"`
	// 1: 当日订单, 2:次日及以后订单
	OrderConfirmType int64 `json:"order_confirm_type,omitempty" xml:"order_confirm_type,omitempty"`
	// 是否在非工作时间显示商品 1:显示, 2:不显示
	DisplayItemInNonworkingTime int64 `json:"display_item_in_nonworking_time,omitempty" xml:"display_item_in_nonworking_time,omitempty"`
	// id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

ServiceTimeDataDo 结构体

func GetServiceTimeDataDo added in v1.3.4

func GetServiceTimeDataDo() *ServiceTimeDataDo

GetServiceTimeDataDo() 从对象池中获取ServiceTimeDataDo

type Sroomtypelist

type Sroomtypelist struct {
	// 窗型
	WindowType string `json:"window_type,omitempty" xml:"window_type,omitempty"`
	// 酒店图片结构化信息
	PicsInfo string `json:"pics_info,omitempty" xml:"pics_info,omitempty"`
	// 宽带服务
	NetworkService string `json:"network_service,omitempty" xml:"network_service,omitempty"`
	// 最后变更人
	LastModify string `json:"last_modify,omitempty" xml:"last_modify,omitempty"`
	// includeTypes
	IncludeTypes string `json:"include_types,omitempty" xml:"include_types,omitempty"`
	// 创建人
	Auditor string `json:"auditor,omitempty" xml:"auditor,omitempty"`
	// 房型原始图片
	OriginalPics string `json:"original_pics,omitempty" xml:"original_pics,omitempty"`
	// 房型图片
	Pics string `json:"pics,omitempty" xml:"pics,omitempty"`
	// 图片扩展字段
	PicsExt string `json:"pics_ext,omitempty" xml:"pics_ext,omitempty"`
	// 面积
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 设施
	Facility string `json:"facility,omitempty" xml:"facility,omitempty"`
	// 标准房型名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// propertiesDOs
	PropertiesDOs string `json:"properties_d_os,omitempty" xml:"properties_d_os,omitempty"`
	// 标准房型的英文名
	NameE string `json:"name_e,omitempty" xml:"name_e,omitempty"`
	// 扩展信息
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 床型
	Bed string `json:"bed,omitempty" xml:"bed,omitempty"`
	// transferPics
	TransferPics string `json:"transfer_pics,omitempty" xml:"transfer_pics,omitempty"`
	// 楼层
	Floor string `json:"floor,omitempty" xml:"floor,omitempty"`
	// bedList
	BedList string `json:"bed_list,omitempty" xml:"bed_list,omitempty"`
	// 外部id
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 标准酒店ID
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 版本号
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
	// 标准房型ID
	Srid int64 `json:"srid,omitempty" xml:"srid,omitempty"`
	// 是否可加床
	AddBed int64 `json:"add_bed,omitempty" xml:"add_bed,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 来源
	Source int64 `json:"source,omitempty" xml:"source,omitempty"`
	// 最大入住人数
	MaxOccupancy int64 `json:"max_occupancy,omitempty" xml:"max_occupancy,omitempty"`
}

Sroomtypelist 结构体

func GetSroomtypelist added in v1.3.4

func GetSroomtypelist() *Sroomtypelist

GetSroomtypelist() 从对象池中获取Sroomtypelist

type TagEntityDoList

type TagEntityDoList struct {
	// 实体id
	EntityId int64 `json:"entity_id,omitempty" xml:"entity_id,omitempty"`
}

TagEntityDoList 结构体

func GetTagEntityDoList added in v1.3.4

func GetTagEntityDoList() *TagEntityDoList

GetTagEntityDoList() 从对象池中获取TagEntityDoList

type TagQueryResult

type TagQueryResult struct {
	// 列表
	TagEntityDoList []TagEntityDoList `json:"tag_entity_do_list,omitempty" xml:"tag_entity_do_list>tag_entity_do_list,omitempty"`
	// token
	TokenStr string `json:"token_str,omitempty" xml:"token_str,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 总数
	TotalAmount int64 `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// 耗时
	SpentTime int64 `json:"spent_time,omitempty" xml:"spent_time,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TagQueryResult 结构体

func GetTagQueryResult added in v1.3.4

func GetTagQueryResult() *TagQueryResult

GetTagQueryResult() 从对象池中获取TagQueryResult

type TaobaoRoomtypeStatusUpdateAPIRequest added in v1.2.9

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

TaobaoRoomtypeStatusUpdateAPIRequest top房型状态修改 API请求 taobao.roomtype.status.update

top房型状态修改

func GetTaobaoRoomtypeStatusUpdateAPIRequest added in v1.3.4

func GetTaobaoRoomtypeStatusUpdateAPIRequest() *TaobaoRoomtypeStatusUpdateAPIRequest

GetTaobaoRoomtypeStatusUpdateRequest 从 sync.Pool 获取 TaobaoRoomtypeStatusUpdateAPIRequest

func NewTaobaoRoomtypeStatusUpdateRequest added in v1.2.9

func NewTaobaoRoomtypeStatusUpdateRequest() *TaobaoRoomtypeStatusUpdateAPIRequest

NewTaobaoRoomtypeStatusUpdateRequest 初始化TaobaoRoomtypeStatusUpdateAPIRequest对象

func (TaobaoRoomtypeStatusUpdateAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoRoomtypeStatusUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRoomtypeStatusUpdateAPIRequest) GetApiParams added in v1.2.9

func (r TaobaoRoomtypeStatusUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRoomtypeStatusUpdateAPIRequest) GetOuterId added in v1.2.9

GetOuterId OuterId Getter

func (TaobaoRoomtypeStatusUpdateAPIRequest) GetRawParams added in v1.2.9

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoRoomtypeStatusUpdateAPIRequest) GetRid added in v1.2.9

GetRid Rid Getter

func (TaobaoRoomtypeStatusUpdateAPIRequest) GetStatus added in v1.2.9

GetStatus Status Getter

func (TaobaoRoomtypeStatusUpdateAPIRequest) GetVendor added in v1.2.9

GetVendor Vendor Getter

func (*TaobaoRoomtypeStatusUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRoomtypeStatusUpdateAPIRequest) SetOuterId added in v1.2.9

func (r *TaobaoRoomtypeStatusUpdateAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 卖家房型id

func (*TaobaoRoomtypeStatusUpdateAPIRequest) SetRid added in v1.2.9

SetRid is Rid Setter 飞猪房型id

func (*TaobaoRoomtypeStatusUpdateAPIRequest) SetStatus added in v1.2.9

func (r *TaobaoRoomtypeStatusUpdateAPIRequest) SetStatus(_status int64) error

SetStatus is Status Setter 0在线,-1删除, -2停售)

func (*TaobaoRoomtypeStatusUpdateAPIRequest) SetVendor added in v1.2.9

func (r *TaobaoRoomtypeStatusUpdateAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 对接系统商,不填默认taobao

type TaobaoRoomtypeStatusUpdateAPIResponse added in v1.2.9

type TaobaoRoomtypeStatusUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoRoomtypeStatusUpdateAPIResponseModel
}

TaobaoRoomtypeStatusUpdateAPIResponse top房型状态修改 API返回值 taobao.roomtype.status.update

top房型状态修改

func GetTaobaoRoomtypeStatusUpdateAPIResponse added in v1.3.4

func GetTaobaoRoomtypeStatusUpdateAPIResponse() *TaobaoRoomtypeStatusUpdateAPIResponse

GetTaobaoRoomtypeStatusUpdateAPIResponse 从 sync.Pool 获取 TaobaoRoomtypeStatusUpdateAPIResponse

func (*TaobaoRoomtypeStatusUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRoomtypeStatusUpdateAPIResponseModel added in v1.2.9

type TaobaoRoomtypeStatusUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"roomtype_status_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

TaobaoRoomtypeStatusUpdateAPIResponseModel is top房型状态修改 成功返回结果

func (*TaobaoRoomtypeStatusUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelAddAPIRequest

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

TaobaoXhotelAddAPIRequest 酒店新增接口(ID重复自动更新) API请求 taobao.xhotel.add

添加酒店或更新酒店

func GetTaobaoXhotelAddAPIRequest added in v1.3.4

func GetTaobaoXhotelAddAPIRequest() *TaobaoXhotelAddAPIRequest

GetTaobaoXhotelAddRequest 从 sync.Pool 获取 TaobaoXhotelAddAPIRequest

func NewTaobaoXhotelAddRequest

func NewTaobaoXhotelAddRequest() *TaobaoXhotelAddAPIRequest

NewTaobaoXhotelAddRequest 初始化TaobaoXhotelAddAPIRequest对象

func (TaobaoXhotelAddAPIRequest) GetAddress

func (r TaobaoXhotelAddAPIRequest) GetAddress() string

GetAddress Address Getter

func (TaobaoXhotelAddAPIRequest) GetApiMethodName

func (r TaobaoXhotelAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelAddAPIRequest) GetApiParams

func (r TaobaoXhotelAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelAddAPIRequest) GetBookingNotice

func (r TaobaoXhotelAddAPIRequest) GetBookingNotice() string

GetBookingNotice BookingNotice Getter

func (TaobaoXhotelAddAPIRequest) GetBrand

func (r TaobaoXhotelAddAPIRequest) GetBrand() string

GetBrand Brand Getter

func (TaobaoXhotelAddAPIRequest) GetBusiness

func (r TaobaoXhotelAddAPIRequest) GetBusiness() string

GetBusiness Business Getter

func (TaobaoXhotelAddAPIRequest) GetCity

func (r TaobaoXhotelAddAPIRequest) GetCity() int64

GetCity City Getter

func (TaobaoXhotelAddAPIRequest) GetCoordinateSystem

func (r TaobaoXhotelAddAPIRequest) GetCoordinateSystem() string

GetCoordinateSystem CoordinateSystem Getter

func (TaobaoXhotelAddAPIRequest) GetCountry

func (r TaobaoXhotelAddAPIRequest) GetCountry() string

GetCountry Country Getter

func (TaobaoXhotelAddAPIRequest) GetCreditCardTypes

func (r TaobaoXhotelAddAPIRequest) GetCreditCardTypes() string

GetCreditCardTypes CreditCardTypes Getter

func (TaobaoXhotelAddAPIRequest) GetDecorateTime

func (r TaobaoXhotelAddAPIRequest) GetDecorateTime() string

GetDecorateTime DecorateTime Getter

func (TaobaoXhotelAddAPIRequest) GetDescription

func (r TaobaoXhotelAddAPIRequest) GetDescription() string

GetDescription Description Getter

func (TaobaoXhotelAddAPIRequest) GetDistrict

func (r TaobaoXhotelAddAPIRequest) GetDistrict() int64

GetDistrict District Getter

func (TaobaoXhotelAddAPIRequest) GetDomestic

func (r TaobaoXhotelAddAPIRequest) GetDomestic() int64

GetDomestic Domestic Getter

func (TaobaoXhotelAddAPIRequest) GetExtend

func (r TaobaoXhotelAddAPIRequest) GetExtend() string

GetExtend Extend Getter

func (TaobaoXhotelAddAPIRequest) GetFloors

func (r TaobaoXhotelAddAPIRequest) GetFloors() string

GetFloors Floors Getter

func (TaobaoXhotelAddAPIRequest) GetHotelFacilities

func (r TaobaoXhotelAddAPIRequest) GetHotelFacilities() string

GetHotelFacilities HotelFacilities Getter

func (TaobaoXhotelAddAPIRequest) GetHotelPolicies

func (r TaobaoXhotelAddAPIRequest) GetHotelPolicies() string

GetHotelPolicies HotelPolicies Getter

func (TaobaoXhotelAddAPIRequest) GetHotelType

func (r TaobaoXhotelAddAPIRequest) GetHotelType() int64

GetHotelType HotelType Getter

func (TaobaoXhotelAddAPIRequest) GetLatitude

func (r TaobaoXhotelAddAPIRequest) GetLatitude() string

GetLatitude Latitude Getter

func (TaobaoXhotelAddAPIRequest) GetLongitude

func (r TaobaoXhotelAddAPIRequest) GetLongitude() string

GetLongitude Longitude Getter

func (TaobaoXhotelAddAPIRequest) GetName

func (r TaobaoXhotelAddAPIRequest) GetName() string

GetName Name Getter

func (TaobaoXhotelAddAPIRequest) GetNameE

func (r TaobaoXhotelAddAPIRequest) GetNameE() string

GetNameE NameE Getter

func (TaobaoXhotelAddAPIRequest) GetOpeningTime

func (r TaobaoXhotelAddAPIRequest) GetOpeningTime() string

GetOpeningTime OpeningTime Getter

func (TaobaoXhotelAddAPIRequest) GetOrbitTrack

func (r TaobaoXhotelAddAPIRequest) GetOrbitTrack() string

GetOrbitTrack OrbitTrack Getter

func (TaobaoXhotelAddAPIRequest) GetOuterId

func (r TaobaoXhotelAddAPIRequest) GetOuterId() string

GetOuterId OuterId Getter

func (TaobaoXhotelAddAPIRequest) GetPics

func (r TaobaoXhotelAddAPIRequest) GetPics() string

GetPics Pics Getter

func (TaobaoXhotelAddAPIRequest) GetPositionType

func (r TaobaoXhotelAddAPIRequest) GetPositionType() string

GetPositionType PositionType Getter

func (TaobaoXhotelAddAPIRequest) GetPostalCode

func (r TaobaoXhotelAddAPIRequest) GetPostalCode() string

GetPostalCode PostalCode Getter

func (TaobaoXhotelAddAPIRequest) GetProvince

func (r TaobaoXhotelAddAPIRequest) GetProvince() int64

GetProvince Province Getter

func (TaobaoXhotelAddAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoXhotelAddAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelAddAPIRequest) GetRoomFacilities

func (r TaobaoXhotelAddAPIRequest) GetRoomFacilities() string

GetRoomFacilities RoomFacilities Getter

func (TaobaoXhotelAddAPIRequest) GetRooms

func (r TaobaoXhotelAddAPIRequest) GetRooms() int64

GetRooms Rooms Getter

func (TaobaoXhotelAddAPIRequest) GetService

func (r TaobaoXhotelAddAPIRequest) GetService() string

GetService Service Getter

func (TaobaoXhotelAddAPIRequest) GetServiceType

func (r TaobaoXhotelAddAPIRequest) GetServiceType() int64

GetServiceType ServiceType Getter

func (TaobaoXhotelAddAPIRequest) GetSettlementCurrency

func (r TaobaoXhotelAddAPIRequest) GetSettlementCurrency() string

GetSettlementCurrency SettlementCurrency Getter

func (TaobaoXhotelAddAPIRequest) GetShid

func (r TaobaoXhotelAddAPIRequest) GetShid() int64

GetShid Shid Getter

func (TaobaoXhotelAddAPIRequest) GetStandardAmuseFacilities

func (r TaobaoXhotelAddAPIRequest) GetStandardAmuseFacilities() string

GetStandardAmuseFacilities StandardAmuseFacilities Getter

func (TaobaoXhotelAddAPIRequest) GetStandardBookingNotice

func (r TaobaoXhotelAddAPIRequest) GetStandardBookingNotice() string

GetStandardBookingNotice StandardBookingNotice Getter

func (TaobaoXhotelAddAPIRequest) GetStandardHotelFacilities

func (r TaobaoXhotelAddAPIRequest) GetStandardHotelFacilities() string

GetStandardHotelFacilities StandardHotelFacilities Getter

func (TaobaoXhotelAddAPIRequest) GetStandardHotelService

func (r TaobaoXhotelAddAPIRequest) GetStandardHotelService() string

GetStandardHotelService StandardHotelService Getter

func (TaobaoXhotelAddAPIRequest) GetStandardRoomFacilities

func (r TaobaoXhotelAddAPIRequest) GetStandardRoomFacilities() string

GetStandardRoomFacilities StandardRoomFacilities Getter

func (TaobaoXhotelAddAPIRequest) GetStar

func (r TaobaoXhotelAddAPIRequest) GetStar() string

GetStar Star Getter

func (TaobaoXhotelAddAPIRequest) GetSupplier

func (r TaobaoXhotelAddAPIRequest) GetSupplier() string

GetSupplier Supplier Getter

func (TaobaoXhotelAddAPIRequest) GetTel

func (r TaobaoXhotelAddAPIRequest) GetTel() string

GetTel Tel Getter

func (TaobaoXhotelAddAPIRequest) GetUsedName

func (r TaobaoXhotelAddAPIRequest) GetUsedName() string

GetUsedName UsedName Getter

func (TaobaoXhotelAddAPIRequest) GetVendor

func (r TaobaoXhotelAddAPIRequest) GetVendor() string

GetVendor Vendor Getter

func (*TaobaoXhotelAddAPIRequest) Reset added in v1.3.4

func (r *TaobaoXhotelAddAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelAddAPIRequest) SetAddress

func (r *TaobaoXhotelAddAPIRequest) SetAddress(_address string) error

SetAddress is Address Setter 酒店地址。长度不能超过255。不填入会导致不能自动匹配。

func (*TaobaoXhotelAddAPIRequest) SetBookingNotice

func (r *TaobaoXhotelAddAPIRequest) SetBookingNotice(_bookingNotice string) error

SetBookingNotice is BookingNotice Setter 预订须知。json字段描述:hotelInMountaintop 酒店位于山顶 1在山顶、0不在;needBoat 酒店需要坐船前往 1需要、0不需要;酒店位于景区内 1在景区、0不在;extraBed 加床收费;extraCharge 额外收费;arrivalTime 到店时间;extend 其他补充项

func (*TaobaoXhotelAddAPIRequest) SetBrand

func (r *TaobaoXhotelAddAPIRequest) SetBrand(_brand string) error

SetBrand is Brand Setter 酒店品牌。取值为数字。枚举见链接:https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.S16vXH&docType=1&articleId=120180

func (*TaobaoXhotelAddAPIRequest) SetBusiness

func (r *TaobaoXhotelAddAPIRequest) SetBusiness(_business string) error

SetBusiness is Business Setter 商业区(圈)长度不超过20字

func (*TaobaoXhotelAddAPIRequest) SetCity

func (r *TaobaoXhotelAddAPIRequest) SetCity(_city int64) error

SetCity is City Setter 城市编码。参见:http://hotel.alitrip.com/area.htm,domestic为false时,输入对应国家的海外城市编码,可调用海外城市查询接口获取;(更新酒店时为可选)

func (*TaobaoXhotelAddAPIRequest) SetCoordinateSystem

func (r *TaobaoXhotelAddAPIRequest) SetCoordinateSystem(_coordinateSystem string) error

SetCoordinateSystem is CoordinateSystem Setter 标识坐标系类型。WGS84,表示地球坐标系 ;GCJ02,表示火星坐标系

func (*TaobaoXhotelAddAPIRequest) SetCountry

func (r *TaobaoXhotelAddAPIRequest) SetCountry(_country string) error

SetCountry is Country Setter domestic为0时,固定China; domestic为1时,必须传定义的海外国家编码值。参见:http://hotel.alitrip.com/area.htm

func (*TaobaoXhotelAddAPIRequest) SetCreditCardTypes

func (r *TaobaoXhotelAddAPIRequest) SetCreditCardTypes(_creditCardTypes string) error

SetCreditCardTypes is CreditCardTypes Setter 逗号分隔的字符串 1visa;2万事达卡;3美国运通卡;4发现卡;5大来卡;6JCB卡;7银联卡

func (*TaobaoXhotelAddAPIRequest) SetDecorateTime

func (r *TaobaoXhotelAddAPIRequest) SetDecorateTime(_decorateTime string) error

SetDecorateTime is DecorateTime Setter 装修时间,格式为2015-01-01装修时间

func (*TaobaoXhotelAddAPIRequest) SetDescription

func (r *TaobaoXhotelAddAPIRequest) SetDescription(_description string) error

SetDescription is Description Setter 酒店描述

func (*TaobaoXhotelAddAPIRequest) SetDistrict

func (r *TaobaoXhotelAddAPIRequest) SetDistrict(_district int64) error

SetDistrict is District Setter 区域(县级市)编码。参见:http://hotel.alitrip.com/area.htm

func (*TaobaoXhotelAddAPIRequest) SetDomestic

func (r *TaobaoXhotelAddAPIRequest) SetDomestic(_domestic int64) error

SetDomestic is Domestic Setter 是否国内酒店。0:国内;1:国外。默认是国内

func (*TaobaoXhotelAddAPIRequest) SetExtend

func (r *TaobaoXhotelAddAPIRequest) SetExtend(_extend string) error

SetExtend is Extend Setter 扩展信息的JSON。注:此字段的值需要ISV在接入前与淘宝沟通,且确认能解析

func (*TaobaoXhotelAddAPIRequest) SetFloors

func (r *TaobaoXhotelAddAPIRequest) SetFloors(_floors string) error

SetFloors is Floors Setter 楼层信息。

func (*TaobaoXhotelAddAPIRequest) SetHotelFacilities

func (r *TaobaoXhotelAddAPIRequest) SetHotelFacilities(_hotelFacilities string) error

SetHotelFacilities is HotelFacilities Setter 废弃

func (*TaobaoXhotelAddAPIRequest) SetHotelPolicies

func (r *TaobaoXhotelAddAPIRequest) SetHotelPolicies(_hotelPolicies string) error

SetHotelPolicies is HotelPolicies Setter 废弃

func (*TaobaoXhotelAddAPIRequest) SetHotelType

func (r *TaobaoXhotelAddAPIRequest) SetHotelType(_hotelType int64) error

SetHotelType is HotelType Setter 0:酒店;1:客栈

func (*TaobaoXhotelAddAPIRequest) SetLatitude

func (r *TaobaoXhotelAddAPIRequest) SetLatitude(_latitude string) error

SetLatitude is Latitude Setter 纬度

func (*TaobaoXhotelAddAPIRequest) SetLongitude

func (r *TaobaoXhotelAddAPIRequest) SetLongitude(_longitude string) error

SetLongitude is Longitude Setter 经度

func (*TaobaoXhotelAddAPIRequest) SetName

func (r *TaobaoXhotelAddAPIRequest) SetName(_name string) error

SetName is Name Setter 酒店名称,国内酒店请传中文名称

func (*TaobaoXhotelAddAPIRequest) SetNameE

func (r *TaobaoXhotelAddAPIRequest) SetNameE(_nameE string) error

SetNameE is NameE Setter 卖家酒店英文名称

func (*TaobaoXhotelAddAPIRequest) SetOpeningTime

func (r *TaobaoXhotelAddAPIRequest) SetOpeningTime(_openingTime string) error

SetOpeningTime is OpeningTime Setter 开业时间,格式为2015-01-01

func (*TaobaoXhotelAddAPIRequest) SetOrbitTrack

func (r *TaobaoXhotelAddAPIRequest) SetOrbitTrack(_orbitTrack string) error

SetOrbitTrack is OrbitTrack Setter 扩展信息的JSON。 orbitTrack 业务字段是指从飞猪到酒店说经过平台名以及方式的一个数组,按顺序,从飞猪,再经过若干平台,最后到酒店, platform是指定当前平台名,ways 是指通过哪种方式到该平台 其中,飞猪到下一个平台里, ways 字段只能是【直连】、【人工】两个方式之一; 从最后一个平台到酒店的ways字段只能是【电话】、【传真】、【人工】、【系统】之一; 第一个 飞猪平台 和 最后具体酒店是至少得填的

func (*TaobaoXhotelAddAPIRequest) SetOuterId

func (r *TaobaoXhotelAddAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 外部酒店ID, 这是卖家自己系统中的ID

func (*TaobaoXhotelAddAPIRequest) SetPics

func (r *TaobaoXhotelAddAPIRequest) SetPics(_pics string) error

SetPics is Pics Setter 酒店图片只支持远程图片,格式如下:[{"url":"http://123.jpg","ismain":"false","type":"大堂","attribute":"普通图"},{"url":"http://456.jpg","ismain":"true","type":"公共区域","attribute":"全景图"},{"url":"http://789.jpg","ismain":"false","type":"大堂","attribute":"普通图"}] 其中url是远程图片的访问地址(URL地址必须是合法的,否则会报错),main是是否为主图(主图只能有一个,如果有多个或者没有,则会报错),attribute表示图片属性,取值范围只能是:[普通图, 平面图, 全景图] ,type表示图片类型,取值范围只能是:[周边, 外观, 商务中心, 其他,餐厅, 浴室, 客房, 公共区域, 娱乐设施, 大堂],图片数量最多是能是10张。

func (*TaobaoXhotelAddAPIRequest) SetPositionType

func (r *TaobaoXhotelAddAPIRequest) SetPositionType(_positionType string) error

SetPositionType is PositionType Setter 坐标类型,现在支持:G – GoogleB – 百度A – 高德M – MapbarL – 灵图

func (*TaobaoXhotelAddAPIRequest) SetPostalCode

func (r *TaobaoXhotelAddAPIRequest) SetPostalCode(_postalCode string) error

SetPostalCode is PostalCode Setter 邮政编码。

func (*TaobaoXhotelAddAPIRequest) SetProvince

func (r *TaobaoXhotelAddAPIRequest) SetProvince(_province int64) error

SetProvince is Province Setter 省份编码。选填,不填入的时候已city字段为准.参见:http://hotel.alitrip.com/area.htm,domestic为false时默认为0

func (*TaobaoXhotelAddAPIRequest) SetRoomFacilities

func (r *TaobaoXhotelAddAPIRequest) SetRoomFacilities(_roomFacilities string) error

SetRoomFacilities is RoomFacilities Setter 废弃

func (*TaobaoXhotelAddAPIRequest) SetRooms

func (r *TaobaoXhotelAddAPIRequest) SetRooms(_rooms int64) error

SetRooms is Rooms Setter 房间数 0~9999之内的数字

func (*TaobaoXhotelAddAPIRequest) SetService

func (r *TaobaoXhotelAddAPIRequest) SetService(_service string) error

SetService is Service Setter 废弃

func (*TaobaoXhotelAddAPIRequest) SetServiceType

func (r *TaobaoXhotelAddAPIRequest) SetServiceType(_serviceType int64) error

SetServiceType is ServiceType Setter 0:可以接待外宾;1:仅内宾

func (*TaobaoXhotelAddAPIRequest) SetSettlementCurrency

func (r *TaobaoXhotelAddAPIRequest) SetSettlementCurrency(_settlementCurrency string) error

SetSettlementCurrency is SettlementCurrency Setter 结算过程中的结算币种符合,如需对接请联系飞猪技术支持,请谨慎使用

func (*TaobaoXhotelAddAPIRequest) SetShid

func (r *TaobaoXhotelAddAPIRequest) SetShid(_shid int64) error

SetShid is Shid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝酒店的匹配关系。目前尚未启动该字段。

func (*TaobaoXhotelAddAPIRequest) SetStandardAmuseFacilities

func (r *TaobaoXhotelAddAPIRequest) SetStandardAmuseFacilities(_standardAmuseFacilities string) error

SetStandardAmuseFacilities is StandardAmuseFacilities Setter 标准娱乐设施,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891

func (*TaobaoXhotelAddAPIRequest) SetStandardBookingNotice

func (r *TaobaoXhotelAddAPIRequest) SetStandardBookingNotice(_standardBookingNotice string) error

SetStandardBookingNotice is StandardBookingNotice Setter 标准预订须知,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891

func (*TaobaoXhotelAddAPIRequest) SetStandardHotelFacilities

func (r *TaobaoXhotelAddAPIRequest) SetStandardHotelFacilities(_standardHotelFacilities string) error

SetStandardHotelFacilities is StandardHotelFacilities Setter 标准酒店设施,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891

func (*TaobaoXhotelAddAPIRequest) SetStandardHotelService

func (r *TaobaoXhotelAddAPIRequest) SetStandardHotelService(_standardHotelService string) error

SetStandardHotelService is StandardHotelService Setter 标准酒店服务,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891

func (*TaobaoXhotelAddAPIRequest) SetStandardRoomFacilities

func (r *TaobaoXhotelAddAPIRequest) SetStandardRoomFacilities(_standardRoomFacilities string) error

SetStandardRoomFacilities is StandardRoomFacilities Setter 标准房型设施,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891

func (*TaobaoXhotelAddAPIRequest) SetStar

func (r *TaobaoXhotelAddAPIRequest) SetStar(_star string) error

SetStar is Star Setter 酒店档次,星级。取值范围为1,1.5,2,2.5,3,3.5,4,4.5,5

func (*TaobaoXhotelAddAPIRequest) SetSupplier

func (r *TaobaoXhotelAddAPIRequest) SetSupplier(_supplier string) error

SetSupplier is Supplier Setter 供应商标识,需要提前开通权限,如果需要对接请联系技术支持,请谨慎使用。注:如商家申请的应用类型为“飞猪-新业务”,此项则必填。

func (*TaobaoXhotelAddAPIRequest) SetTel

func (r *TaobaoXhotelAddAPIRequest) SetTel(_tel string) error

SetTel is Tel Setter 酒店电话。格式:国家代码(最长6位)#区号(最长4位)#电话(最长20位)。国家代码提示:中国大陆0086、香港00852、澳门00853、台湾00886

func (*TaobaoXhotelAddAPIRequest) SetUsedName

func (r *TaobaoXhotelAddAPIRequest) SetUsedName(_usedName string) error

SetUsedName is UsedName Setter 酒店曾用名

func (*TaobaoXhotelAddAPIRequest) SetVendor

func (r *TaobaoXhotelAddAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用

type TaobaoXhotelAddAPIResponse

type TaobaoXhotelAddAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelAddAPIResponseModel
}

TaobaoXhotelAddAPIResponse 酒店新增接口(ID重复自动更新) API返回值 taobao.xhotel.add

添加酒店或更新酒店

func GetTaobaoXhotelAddAPIResponse added in v1.3.4

func GetTaobaoXhotelAddAPIResponse() *TaobaoXhotelAddAPIResponse

GetTaobaoXhotelAddAPIResponse 从 sync.Pool 获取 TaobaoXhotelAddAPIResponse

func (*TaobaoXhotelAddAPIResponse) Reset added in v1.3.4

func (m *TaobaoXhotelAddAPIResponse) Reset()

Reset 清空结构体

type TaobaoXhotelAddAPIResponseModel

type TaobaoXhotelAddAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 酒店信息
	Xhotel *XHotel `json:"xhotel,omitempty" xml:"xhotel,omitempty"`
}

TaobaoXhotelAddAPIResponseModel is 酒店新增接口(ID重复自动更新) 成功返回结果

func (*TaobaoXhotelAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBaseinfoGetAPIRequest

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

TaobaoXhotelBaseinfoGetAPIRequest 酒店基础信息查询接口 API请求 taobao.xhotel.baseinfo.get

酒店基础信息(酒店/房型/房价定义)查询接口, 包括 酒店房型可售, 以及 hid 下 的标准房型列表

func GetTaobaoXhotelBaseinfoGetAPIRequest added in v1.3.4

func GetTaobaoXhotelBaseinfoGetAPIRequest() *TaobaoXhotelBaseinfoGetAPIRequest

GetTaobaoXhotelBaseinfoGetRequest 从 sync.Pool 获取 TaobaoXhotelBaseinfoGetAPIRequest

func NewTaobaoXhotelBaseinfoGetRequest

func NewTaobaoXhotelBaseinfoGetRequest() *TaobaoXhotelBaseinfoGetAPIRequest

NewTaobaoXhotelBaseinfoGetRequest 初始化TaobaoXhotelBaseinfoGetAPIRequest对象

func (TaobaoXhotelBaseinfoGetAPIRequest) GetApiMethodName

func (r TaobaoXhotelBaseinfoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelBaseinfoGetAPIRequest) GetApiParams

func (r TaobaoXhotelBaseinfoGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelBaseinfoGetAPIRequest) GetHid

GetHid Hid Getter

func (TaobaoXhotelBaseinfoGetAPIRequest) GetIsNeedRatePlan

func (r TaobaoXhotelBaseinfoGetAPIRequest) GetIsNeedRatePlan() bool

GetIsNeedRatePlan IsNeedRatePlan Getter

func (TaobaoXhotelBaseinfoGetAPIRequest) GetIsNeedRoomType

func (r TaobaoXhotelBaseinfoGetAPIRequest) GetIsNeedRoomType() bool

GetIsNeedRoomType IsNeedRoomType Getter

func (TaobaoXhotelBaseinfoGetAPIRequest) GetJsonHotelSellerInvQuery

func (r TaobaoXhotelBaseinfoGetAPIRequest) GetJsonHotelSellerInvQuery() string

GetJsonHotelSellerInvQuery JsonHotelSellerInvQuery Getter

func (TaobaoXhotelBaseinfoGetAPIRequest) GetNeedHotelDynamicInfo

func (r TaobaoXhotelBaseinfoGetAPIRequest) GetNeedHotelDynamicInfo() bool

GetNeedHotelDynamicInfo NeedHotelDynamicInfo Getter

func (TaobaoXhotelBaseinfoGetAPIRequest) GetNeedSRoomTypeList

func (r TaobaoXhotelBaseinfoGetAPIRequest) GetNeedSRoomTypeList() bool

GetNeedSRoomTypeList NeedSRoomTypeList Getter

func (TaobaoXhotelBaseinfoGetAPIRequest) GetOutHid

GetOutHid OutHid Getter

func (TaobaoXhotelBaseinfoGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelBaseinfoGetAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelBaseinfoGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelBaseinfoGetAPIRequest) SetHid

SetHid is Hid Setter 淘宝酒店ID

func (*TaobaoXhotelBaseinfoGetAPIRequest) SetIsNeedRatePlan

func (r *TaobaoXhotelBaseinfoGetAPIRequest) SetIsNeedRatePlan(_isNeedRatePlan bool) error

SetIsNeedRatePlan is IsNeedRatePlan Setter 是否需要房价基本信息(false为不需要),默认为需要

func (*TaobaoXhotelBaseinfoGetAPIRequest) SetIsNeedRoomType

func (r *TaobaoXhotelBaseinfoGetAPIRequest) SetIsNeedRoomType(_isNeedRoomType bool) error

SetIsNeedRoomType is IsNeedRoomType Setter 是否需要房型基本信息(false为不需要),默认为需要

func (*TaobaoXhotelBaseinfoGetAPIRequest) SetJsonHotelSellerInvQuery

func (r *TaobaoXhotelBaseinfoGetAPIRequest) SetJsonHotelSellerInvQuery(_jsonHotelSellerInvQuery string) error

SetJsonHotelSellerInvQuery is JsonHotelSellerInvQuery Setter 在查询酒店房型可售详情 时的入参JSON , {@link com.taobao.trip.hpc.client.query.HotelSellerInvQuery}

func (*TaobaoXhotelBaseinfoGetAPIRequest) SetNeedHotelDynamicInfo

func (r *TaobaoXhotelBaseinfoGetAPIRequest) SetNeedHotelDynamicInfo(_needHotelDynamicInfo bool) error

SetNeedHotelDynamicInfo is NeedHotelDynamicInfo Setter 是否需要酒店房型可售详情

func (*TaobaoXhotelBaseinfoGetAPIRequest) SetNeedSRoomTypeList

func (r *TaobaoXhotelBaseinfoGetAPIRequest) SetNeedSRoomTypeList(_needSRoomTypeList bool) error

SetNeedSRoomTypeList is NeedSRoomTypeList Setter 是否需要 根据 hid 查询 标准房型列表

func (*TaobaoXhotelBaseinfoGetAPIRequest) SetOutHid

func (r *TaobaoXhotelBaseinfoGetAPIRequest) SetOutHid(_outHid string) error

SetOutHid is OutHid Setter 推荐使用卖家系统中的酒店ID。

func (*TaobaoXhotelBaseinfoGetAPIRequest) SetVendor

func (r *TaobaoXhotelBaseinfoGetAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 用于标示该酒店发布的渠道信息

type TaobaoXhotelBaseinfoGetAPIResponse

type TaobaoXhotelBaseinfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelBaseinfoGetAPIResponseModel
}

TaobaoXhotelBaseinfoGetAPIResponse 酒店基础信息查询接口 API返回值 taobao.xhotel.baseinfo.get

酒店基础信息(酒店/房型/房价定义)查询接口, 包括 酒店房型可售, 以及 hid 下 的标准房型列表

func GetTaobaoXhotelBaseinfoGetAPIResponse added in v1.3.4

func GetTaobaoXhotelBaseinfoGetAPIResponse() *TaobaoXhotelBaseinfoGetAPIResponse

GetTaobaoXhotelBaseinfoGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelBaseinfoGetAPIResponse

func (*TaobaoXhotelBaseinfoGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBaseinfoGetAPIResponseModel

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

TaobaoXhotelBaseinfoGetAPIResponseModel is 酒店基础信息查询接口 成功返回结果

func (*TaobaoXhotelBaseinfoGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBaseinfoGetResultSet

type TaobaoXhotelBaseinfoGetResultSet struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 酒店基础信息
	XhotelBaseInfo *XHotelBaseInfo `json:"xhotel_base_info,omitempty" xml:"xhotel_base_info,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoXhotelBaseinfoGetResultSet 结构体

func GetTaobaoXhotelBaseinfoGetResultSet added in v1.3.4

func GetTaobaoXhotelBaseinfoGetResultSet() *TaobaoXhotelBaseinfoGetResultSet

GetTaobaoXhotelBaseinfoGetResultSet() 从对象池中获取TaobaoXhotelBaseinfoGetResultSet

type TaobaoXhotelBaseinfoRoomGetAPIRequest

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

TaobaoXhotelBaseinfoRoomGetAPIRequest 酒店房型与房价查询 API请求 taobao.xhotel.baseinfo.room.get

根据outHid/hid获取酒店的房型和价格信息

func GetTaobaoXhotelBaseinfoRoomGetAPIRequest added in v1.3.4

func GetTaobaoXhotelBaseinfoRoomGetAPIRequest() *TaobaoXhotelBaseinfoRoomGetAPIRequest

GetTaobaoXhotelBaseinfoRoomGetRequest 从 sync.Pool 获取 TaobaoXhotelBaseinfoRoomGetAPIRequest

func NewTaobaoXhotelBaseinfoRoomGetRequest

func NewTaobaoXhotelBaseinfoRoomGetRequest() *TaobaoXhotelBaseinfoRoomGetAPIRequest

NewTaobaoXhotelBaseinfoRoomGetRequest 初始化TaobaoXhotelBaseinfoRoomGetAPIRequest对象

func (TaobaoXhotelBaseinfoRoomGetAPIRequest) GetApiMethodName

func (r TaobaoXhotelBaseinfoRoomGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelBaseinfoRoomGetAPIRequest) GetApiParams

func (r TaobaoXhotelBaseinfoRoomGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelBaseinfoRoomGetAPIRequest) GetIsNeedRatePlan

func (r TaobaoXhotelBaseinfoRoomGetAPIRequest) GetIsNeedRatePlan() bool

GetIsNeedRatePlan IsNeedRatePlan Getter

func (TaobaoXhotelBaseinfoRoomGetAPIRequest) GetOutHid

GetOutHid OutHid Getter

func (TaobaoXhotelBaseinfoRoomGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelBaseinfoRoomGetAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelBaseinfoRoomGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelBaseinfoRoomGetAPIRequest) SetIsNeedRatePlan

func (r *TaobaoXhotelBaseinfoRoomGetAPIRequest) SetIsNeedRatePlan(_isNeedRatePlan bool) error

SetIsNeedRatePlan is IsNeedRatePlan Setter 是否需要房价基本信息(false为不需要),默认为需要

func (*TaobaoXhotelBaseinfoRoomGetAPIRequest) SetOutHid

func (r *TaobaoXhotelBaseinfoRoomGetAPIRequest) SetOutHid(_outHid string) error

SetOutHid is OutHid Setter 卖家系统中的酒店ID。

func (*TaobaoXhotelBaseinfoRoomGetAPIRequest) SetVendor

func (r *TaobaoXhotelBaseinfoRoomGetAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 用于标示该酒店发布的渠道信息

type TaobaoXhotelBaseinfoRoomGetAPIResponse

type TaobaoXhotelBaseinfoRoomGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelBaseinfoRoomGetAPIResponseModel
}

TaobaoXhotelBaseinfoRoomGetAPIResponse 酒店房型与房价查询 API返回值 taobao.xhotel.baseinfo.room.get

根据outHid/hid获取酒店的房型和价格信息

func GetTaobaoXhotelBaseinfoRoomGetAPIResponse added in v1.3.4

func GetTaobaoXhotelBaseinfoRoomGetAPIResponse() *TaobaoXhotelBaseinfoRoomGetAPIResponse

GetTaobaoXhotelBaseinfoRoomGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelBaseinfoRoomGetAPIResponse

func (*TaobaoXhotelBaseinfoRoomGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBaseinfoRoomGetAPIResponseModel

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

TaobaoXhotelBaseinfoRoomGetAPIResponseModel is 酒店房型与房价查询 成功返回结果

func (*TaobaoXhotelBaseinfoRoomGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBaseinfoRoomGetResultSet

type TaobaoXhotelBaseinfoRoomGetResultSet struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 酒店基础信息
	XhotelBaseInfo *XHotelInfoWithRoom `json:"xhotel_base_info,omitempty" xml:"xhotel_base_info,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoXhotelBaseinfoRoomGetResultSet 结构体

func GetTaobaoXhotelBaseinfoRoomGetResultSet added in v1.3.4

func GetTaobaoXhotelBaseinfoRoomGetResultSet() *TaobaoXhotelBaseinfoRoomGetResultSet

GetTaobaoXhotelBaseinfoRoomGetResultSet() 从对象池中获取TaobaoXhotelBaseinfoRoomGetResultSet

type TaobaoXhotelBnbcommonAddAPIRequest added in v1.2.8

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

TaobaoXhotelBnbcommonAddAPIRequest 通用调用top接口 API请求 taobao.xhotel.bnbcommon.add

通用调用top接口

func GetTaobaoXhotelBnbcommonAddAPIRequest added in v1.3.4

func GetTaobaoXhotelBnbcommonAddAPIRequest() *TaobaoXhotelBnbcommonAddAPIRequest

GetTaobaoXhotelBnbcommonAddRequest 从 sync.Pool 获取 TaobaoXhotelBnbcommonAddAPIRequest

func NewTaobaoXhotelBnbcommonAddRequest added in v1.2.8

func NewTaobaoXhotelBnbcommonAddRequest() *TaobaoXhotelBnbcommonAddAPIRequest

NewTaobaoXhotelBnbcommonAddRequest 初始化TaobaoXhotelBnbcommonAddAPIRequest对象

func (TaobaoXhotelBnbcommonAddAPIRequest) GetApiMethodName added in v1.2.8

func (r TaobaoXhotelBnbcommonAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelBnbcommonAddAPIRequest) GetApiParams added in v1.2.8

func (r TaobaoXhotelBnbcommonAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelBnbcommonAddAPIRequest) GetParam added in v1.2.8

GetParam Param Getter

func (TaobaoXhotelBnbcommonAddAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelBnbcommonAddAPIRequest) GetScene added in v1.2.8

GetScene Scene Getter

func (*TaobaoXhotelBnbcommonAddAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelBnbcommonAddAPIRequest) SetParam added in v1.2.8

func (r *TaobaoXhotelBnbcommonAddAPIRequest) SetParam(_param string) error

SetParam is Param Setter 参数

func (*TaobaoXhotelBnbcommonAddAPIRequest) SetScene added in v1.2.8

func (r *TaobaoXhotelBnbcommonAddAPIRequest) SetScene(_scene string) error

SetScene is Scene Setter 业务场景

type TaobaoXhotelBnbcommonAddAPIResponse added in v1.2.8

type TaobaoXhotelBnbcommonAddAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelBnbcommonAddAPIResponseModel
}

TaobaoXhotelBnbcommonAddAPIResponse 通用调用top接口 API返回值 taobao.xhotel.bnbcommon.add

通用调用top接口

func GetTaobaoXhotelBnbcommonAddAPIResponse added in v1.3.4

func GetTaobaoXhotelBnbcommonAddAPIResponse() *TaobaoXhotelBnbcommonAddAPIResponse

GetTaobaoXhotelBnbcommonAddAPIResponse 从 sync.Pool 获取 TaobaoXhotelBnbcommonAddAPIResponse

func (*TaobaoXhotelBnbcommonAddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbcommonAddAPIResponseModel added in v1.2.8

type TaobaoXhotelBnbcommonAddAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_bnbcommon_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// success
	Module string `json:"module,omitempty" xml:"module,omitempty"`
}

TaobaoXhotelBnbcommonAddAPIResponseModel is 通用调用top接口 成功返回结果

func (*TaobaoXhotelBnbcommonAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbhouseAddAPIRequest

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

TaobaoXhotelBnbhouseAddAPIRequest 民宿门店信息添加 API请求 taobao.xhotel.bnbhouse.add

添加和更新民宿门店的信息

func GetTaobaoXhotelBnbhouseAddAPIRequest added in v1.3.4

func GetTaobaoXhotelBnbhouseAddAPIRequest() *TaobaoXhotelBnbhouseAddAPIRequest

GetTaobaoXhotelBnbhouseAddRequest 从 sync.Pool 获取 TaobaoXhotelBnbhouseAddAPIRequest

func NewTaobaoXhotelBnbhouseAddRequest

func NewTaobaoXhotelBnbhouseAddRequest() *TaobaoXhotelBnbhouseAddAPIRequest

NewTaobaoXhotelBnbhouseAddRequest 初始化TaobaoXhotelBnbhouseAddAPIRequest对象

func (TaobaoXhotelBnbhouseAddAPIRequest) GetActivitiesAllowed

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetActivitiesAllowed() string

GetActivitiesAllowed ActivitiesAllowed Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetApiMethodName

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelBnbhouseAddAPIRequest) GetApiParams

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelBnbhouseAddAPIRequest) GetAttributes

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetAttributes() int64

GetAttributes Attributes Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetBnbBookingTime

GetBnbBookingTime BnbBookingTime Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetBrand

GetBrand Brand Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetCharge

GetCharge Charge Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetCheckInNotes

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetCheckInNotes() string

GetCheckInNotes CheckInNotes Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetCommissionRate added in v1.2.5

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetCommissionRate() int64

GetCommissionRate CommissionRate Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetDecorateLevel

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetDecorateLevel() int64

GetDecorateLevel DecorateLevel Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetDecorateStyle

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetDecorateStyle() int64

GetDecorateStyle DecorateStyle Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetDecorateTime

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetDecorateTime() string

GetDecorateTime DecorateTime Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetDescription

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetDescription() string

GetDescription Description Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetExtraBedsNum

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetExtraBedsNum() int64

GetExtraBedsNum ExtraBedsNum Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetFacilities

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetFacilities() string

GetFacilities Facilities Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetFloors

GetFloors Floors Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetGuestAge

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetGuestAge() int64

GetGuestAge GuestAge Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetGuestGender

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetGuestGender() int64

GetGuestGender GuestGender Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetHasFrontDesk

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetHasFrontDesk() int64

GetHasFrontDesk HasFrontDesk Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetHasLicense

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetHasLicense() int64

GetHasLicense HasLicense Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetHouseSize

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetHouseSize() int64

GetHouseSize HouseSize Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetIsFeizhuHotel added in v1.2.5

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetIsFeizhuHotel() bool

GetIsFeizhuHotel IsFeizhuHotel Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetIsUseShootImage

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetIsUseShootImage() int64

GetIsUseShootImage IsUseShootImage Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetLocation

GetLocation Location Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetName

GetName Name Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetNameE

GetNameE NameE Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetOpeningTime

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetOpeningTime() string

GetOpeningTime OpeningTime Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetOutOwnerId

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetOutOwnerId() string

GetOutOwnerId OutOwnerId Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetOuterId

GetOuterId OuterId Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetPictures

GetPictures Pictures Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetProductType

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetProductType() int64

GetProductType ProductType Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelBnbhouseAddAPIRequest) GetRealTel

GetRealTel RealTel Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetReceiveForeigners

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetReceiveForeigners() int64

GetReceiveForeigners ReceiveForeigners Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetScenicFeature

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetScenicFeature() int64

GetScenicFeature ScenicFeature Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetSettlementCurrency

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetSettlementCurrency() string

GetSettlementCurrency SettlementCurrency Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetShid added in v1.2.5

GetShid Shid Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetStandardHotelFacilities added in v1.2.5

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetStandardHotelFacilities() string

GetStandardHotelFacilities StandardHotelFacilities Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetStatus

GetStatus Status Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetTags

GetTags Tags Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetTel

GetTel Tel Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetVendor

GetVendor Vendor Getter

func (TaobaoXhotelBnbhouseAddAPIRequest) GetVideoUrl

func (r TaobaoXhotelBnbhouseAddAPIRequest) GetVideoUrl() string

GetVideoUrl VideoUrl Getter

func (*TaobaoXhotelBnbhouseAddAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetActivitiesAllowed

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetActivitiesAllowed(_activitiesAllowed string) error

SetActivitiesAllowed is ActivitiesAllowed Setter 详见“允许活动”list 12,32,33,

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetAttributes

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetAttributes(_attributes int64) error

SetAttributes is Attributes Setter 门店属性 1 个人房源 2 城市公寓 3 乡村民宿等

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetBnbBookingTime

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetBnbBookingTime(_bnbBookingTime *BnbBookingTimeDto) error

SetBnbBookingTime is BnbBookingTime Setter 入住要求&附加信息

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetBrand

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetBrand(_brand string) error

SetBrand is Brand Setter 品牌名称

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetCharge

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetCharge(_charge *BnbChargeDto) error

SetCharge is Charge Setter 加人收费信息

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetCheckInNotes

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetCheckInNotes(_checkInNotes string) error

SetCheckInNotes is CheckInNotes Setter 入住须知

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetCommissionRate added in v1.2.5

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetCommissionRate(_commissionRate int64) error

SetCommissionRate is CommissionRate Setter 作为菲住门店签约的佣金比率,范围为10-50

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetDecorateLevel

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetDecorateLevel(_decorateLevel int64) error

SetDecorateLevel is DecorateLevel Setter 装修等级 1 精装 2普通 3简装

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetDecorateStyle

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetDecorateStyle(_decorateStyle int64) error

SetDecorateStyle is DecorateStyle Setter 装修风格,详见装修风格枚举表

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetDecorateTime

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetDecorateTime(_decorateTime string) error

SetDecorateTime is DecorateTime Setter 装修时间,格式为2015-01-01

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetDescription

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetDescription(_description string) error

SetDescription is Description Setter 门店简介

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetExtraBedsNum

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetExtraBedsNum(_extraBedsNum int64) error

SetExtraBedsNum is ExtraBedsNum Setter 可加床数

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetFacilities

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetFacilities(_facilities string) error

SetFacilities is Facilities Setter 酒店设施。json格式示例值:{"24152":true,"24149":true,"24150":true},key取值参见 https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.vSVPks&docType=1&articleId=108416&previewCode=987A11324A278EF679E24102BA30D426 中type=20的分类

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetFloors

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetFloors(_floors string) error

SetFloors is Floors Setter 楼层

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetGuestAge

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetGuestAge(_guestAge int64) error

SetGuestAge is GuestAge Setter 可接待客人年龄情况:是否接待儿童、老人;成年人必接待,详见“可接待客人”list

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetGuestGender

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetGuestGender(_guestGender int64) error

SetGuestGender is GuestGender Setter 可接待客人性别 0:不限制,1:只限男性,2:只限女性'

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetHasFrontDesk

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetHasFrontDesk(_hasFrontDesk int64) error

SetHasFrontDesk is HasFrontDesk Setter 是否有前台 0没有 1有

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetHasLicense

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetHasLicense(_hasLicense int64) error

SetHasLicense is HasLicense Setter 有无资质执照 0 无资质 1有资质

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetHouseSize

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetHouseSize(_houseSize int64) error

SetHouseSize is HouseSize Setter 面积大小

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetIsFeizhuHotel added in v1.2.5

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetIsFeizhuHotel(_isFeizhuHotel bool) error

SetIsFeizhuHotel is IsFeizhuHotel Setter 传入是或者否,是表明为菲住合作模式,hid打标;“否”表示为正常合作模式,hid去标;不传保持原有的合作模式不变

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetIsUseShootImage

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetIsUseShootImage(_isUseShootImage int64) error

SetIsUseShootImage is IsUseShootImage Setter 是否使用实拍图片 0不使用 1使用

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetLocation

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetLocation(_location *BnbLocationDto) error

SetLocation is Location Setter 位置信息

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetName

SetName is Name Setter 门店名称

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetNameE

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetNameE(_nameE string) error

SetNameE is NameE Setter 门店英文名称

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetOpeningTime

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetOpeningTime(_openingTime string) error

SetOpeningTime is OpeningTime Setter 开业时间,格式为2015-01-01

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetOutOwnerId

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetOutOwnerId(_outOwnerId string) error

SetOutOwnerId is OutOwnerId Setter 外部房东id

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetOuterId

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 供应商渠道门店ID

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetPictures

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetPictures(_pictures []BnbPictureDto) error

SetPictures is Pictures Setter 民宿门店添加

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetProductType

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetProductType(_productType int64) error

SetProductType is ProductType Setter 门店类型,详见“房源类型list

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetRealTel

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetRealTel(_realTel string) error

SetRealTel is RealTel Setter 真实联系方式

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetReceiveForeigners

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetReceiveForeigners(_receiveForeigners int64) error

SetReceiveForeigners is ReceiveForeigners Setter 是否可接待外宾 0不接待 1接待,默认值: 0

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetScenicFeature

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetScenicFeature(_scenicFeature int64) error

SetScenicFeature is ScenicFeature Setter 风景类型,详见风景类型枚举表

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetSettlementCurrency

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetSettlementCurrency(_settlementCurrency string) error

SetSettlementCurrency is SettlementCurrency Setter 结算过程中的结算币种符合,如需对接请联系飞猪技术支持,请谨慎使用

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetShid added in v1.2.5

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetShid(_shid int64) error

SetShid is Shid Setter 匹配的标准门店

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetStandardHotelFacilities added in v1.2.5

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetStandardHotelFacilities(_standardHotelFacilities string) error

SetStandardHotelFacilities is StandardHotelFacilities Setter 标准酒店服务,参考文档https://fliggy.open.taobao.com/doc.htm?docId=120362&docType=1

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetStatus

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetStatus(_status *model.File) error

SetStatus is Status Setter 房型状态。0:正常,-1:删除,-2:停售

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetTags

SetTags is Tags Setter 门店标签 标签信息,逗号(,)分隔

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetTel

SetTel is Tel Setter 联系方式。格式:国家代码(最长6位)#区号(最长4位)#电话(最长20位)。国家代码提示:中国大陆0086、香港00852、澳门00853、台湾00886

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetVendor

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用

func (*TaobaoXhotelBnbhouseAddAPIRequest) SetVideoUrl

func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetVideoUrl(_videoUrl string) error

SetVideoUrl is VideoUrl Setter 视频地址

type TaobaoXhotelBnbhouseAddAPIResponse

type TaobaoXhotelBnbhouseAddAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelBnbhouseAddAPIResponseModel
}

TaobaoXhotelBnbhouseAddAPIResponse 民宿门店信息添加 API返回值 taobao.xhotel.bnbhouse.add

添加和更新民宿门店的信息

func GetTaobaoXhotelBnbhouseAddAPIResponse added in v1.3.4

func GetTaobaoXhotelBnbhouseAddAPIResponse() *TaobaoXhotelBnbhouseAddAPIResponse

GetTaobaoXhotelBnbhouseAddAPIResponse 从 sync.Pool 获取 TaobaoXhotelBnbhouseAddAPIResponse

func (*TaobaoXhotelBnbhouseAddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbhouseAddAPIResponseModel

type TaobaoXhotelBnbhouseAddAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_bnbhouse_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Results []XHotel `json:"results,omitempty" xml:"results>x_hotel,omitempty"`
}

TaobaoXhotelBnbhouseAddAPIResponseModel is 民宿门店信息添加 成功返回结果

func (*TaobaoXhotelBnbhouseAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbhouseDeleteAPIRequest added in v1.2.5

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

TaobaoXhotelBnbhouseDeleteAPIRequest 民宿门店删除接口 API请求 taobao.xhotel.bnbhouse.delete

支持门店相关的门店删除,删除门店会级联删除门店下面的房源

func GetTaobaoXhotelBnbhouseDeleteAPIRequest added in v1.3.4

func GetTaobaoXhotelBnbhouseDeleteAPIRequest() *TaobaoXhotelBnbhouseDeleteAPIRequest

GetTaobaoXhotelBnbhouseDeleteRequest 从 sync.Pool 获取 TaobaoXhotelBnbhouseDeleteAPIRequest

func NewTaobaoXhotelBnbhouseDeleteRequest added in v1.2.5

func NewTaobaoXhotelBnbhouseDeleteRequest() *TaobaoXhotelBnbhouseDeleteAPIRequest

NewTaobaoXhotelBnbhouseDeleteRequest 初始化TaobaoXhotelBnbhouseDeleteAPIRequest对象

func (TaobaoXhotelBnbhouseDeleteAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoXhotelBnbhouseDeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelBnbhouseDeleteAPIRequest) GetApiParams added in v1.2.5

func (r TaobaoXhotelBnbhouseDeleteAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelBnbhouseDeleteAPIRequest) GetHid added in v1.2.5

GetHid Hid Getter

func (TaobaoXhotelBnbhouseDeleteAPIRequest) GetOuterId added in v1.2.5

GetOuterId OuterId Getter

func (TaobaoXhotelBnbhouseDeleteAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelBnbhouseDeleteAPIRequest) GetVendor added in v1.2.5

GetVendor Vendor Getter

func (*TaobaoXhotelBnbhouseDeleteAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelBnbhouseDeleteAPIRequest) SetHid added in v1.2.5

SetHid is Hid Setter 门店Id,传参方式为hid或outer_id+vendor

func (*TaobaoXhotelBnbhouseDeleteAPIRequest) SetOuterId added in v1.2.5

func (r *TaobaoXhotelBnbhouseDeleteAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 门店Id,系统商outer_id

func (*TaobaoXhotelBnbhouseDeleteAPIRequest) SetVendor added in v1.2.5

func (r *TaobaoXhotelBnbhouseDeleteAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用

type TaobaoXhotelBnbhouseDeleteAPIResponse added in v1.2.5

type TaobaoXhotelBnbhouseDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelBnbhouseDeleteAPIResponseModel
}

TaobaoXhotelBnbhouseDeleteAPIResponse 民宿门店删除接口 API返回值 taobao.xhotel.bnbhouse.delete

支持门店相关的门店删除,删除门店会级联删除门店下面的房源

func GetTaobaoXhotelBnbhouseDeleteAPIResponse added in v1.3.4

func GetTaobaoXhotelBnbhouseDeleteAPIResponse() *TaobaoXhotelBnbhouseDeleteAPIResponse

GetTaobaoXhotelBnbhouseDeleteAPIResponse 从 sync.Pool 获取 TaobaoXhotelBnbhouseDeleteAPIResponse

func (*TaobaoXhotelBnbhouseDeleteAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbhouseDeleteAPIResponseModel added in v1.2.5

type TaobaoXhotelBnbhouseDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_bnbhouse_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否出错
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否出错
	Error bool `json:"error,omitempty" xml:"error,omitempty"`
}

TaobaoXhotelBnbhouseDeleteAPIResponseModel is 民宿门店删除接口 成功返回结果

func (*TaobaoXhotelBnbhouseDeleteAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbownerAddAPIRequest

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

TaobaoXhotelBnbownerAddAPIRequest 民宿房东信息添加 API请求 taobao.xhotel.bnbowner.add

添加和更新民宿房东的信息

func GetTaobaoXhotelBnbownerAddAPIRequest added in v1.3.4

func GetTaobaoXhotelBnbownerAddAPIRequest() *TaobaoXhotelBnbownerAddAPIRequest

GetTaobaoXhotelBnbownerAddRequest 从 sync.Pool 获取 TaobaoXhotelBnbownerAddAPIRequest

func NewTaobaoXhotelBnbownerAddRequest

func NewTaobaoXhotelBnbownerAddRequest() *TaobaoXhotelBnbownerAddAPIRequest

NewTaobaoXhotelBnbownerAddRequest 初始化TaobaoXhotelBnbownerAddAPIRequest对象

func (TaobaoXhotelBnbownerAddAPIRequest) GetAddOwnerParam

func (r TaobaoXhotelBnbownerAddAPIRequest) GetAddOwnerParam() *AddOwnerParam

GetAddOwnerParam AddOwnerParam Getter

func (TaobaoXhotelBnbownerAddAPIRequest) GetApiMethodName

func (r TaobaoXhotelBnbownerAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelBnbownerAddAPIRequest) GetApiParams

func (r TaobaoXhotelBnbownerAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelBnbownerAddAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelBnbownerAddAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelBnbownerAddAPIRequest) SetAddOwnerParam

func (r *TaobaoXhotelBnbownerAddAPIRequest) SetAddOwnerParam(_addOwnerParam *AddOwnerParam) error

SetAddOwnerParam is AddOwnerParam Setter 添加房东信息的对象

type TaobaoXhotelBnbownerAddAPIResponse

type TaobaoXhotelBnbownerAddAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelBnbownerAddAPIResponseModel
}

TaobaoXhotelBnbownerAddAPIResponse 民宿房东信息添加 API返回值 taobao.xhotel.bnbowner.add

添加和更新民宿房东的信息

func GetTaobaoXhotelBnbownerAddAPIResponse added in v1.3.4

func GetTaobaoXhotelBnbownerAddAPIResponse() *TaobaoXhotelBnbownerAddAPIResponse

GetTaobaoXhotelBnbownerAddAPIResponse 从 sync.Pool 获取 TaobaoXhotelBnbownerAddAPIResponse

func (*TaobaoXhotelBnbownerAddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbownerAddAPIResponseModel

type TaobaoXhotelBnbownerAddAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_bnbowner_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 查询结果集
	Result *TaobaoXhotelBnbownerAddResultSet `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoXhotelBnbownerAddAPIResponseModel is 民宿房东信息添加 成功返回结果

func (*TaobaoXhotelBnbownerAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbownerAddResultSet

type TaobaoXhotelBnbownerAddResultSet struct {
	// firstResult
	FirstResult *AddOwnerParam `json:"first_result,omitempty" xml:"first_result,omitempty"`
}

TaobaoXhotelBnbownerAddResultSet 结构体

func GetTaobaoXhotelBnbownerAddResultSet added in v1.3.4

func GetTaobaoXhotelBnbownerAddResultSet() *TaobaoXhotelBnbownerAddResultSet

GetTaobaoXhotelBnbownerAddResultSet() 从对象池中获取TaobaoXhotelBnbownerAddResultSet

type TaobaoXhotelBnbownerDeleteAPIRequest added in v1.2.5

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

TaobaoXhotelBnbownerDeleteAPIRequest 民宿房东删除接口 API请求 taobao.xhotel.bnbowner.delete

民宿房东删除接口,删除房东后,对应的门店及房源会同步删除,请谨慎使用

func GetTaobaoXhotelBnbownerDeleteAPIRequest added in v1.3.4

func GetTaobaoXhotelBnbownerDeleteAPIRequest() *TaobaoXhotelBnbownerDeleteAPIRequest

GetTaobaoXhotelBnbownerDeleteRequest 从 sync.Pool 获取 TaobaoXhotelBnbownerDeleteAPIRequest

func NewTaobaoXhotelBnbownerDeleteRequest added in v1.2.5

func NewTaobaoXhotelBnbownerDeleteRequest() *TaobaoXhotelBnbownerDeleteAPIRequest

NewTaobaoXhotelBnbownerDeleteRequest 初始化TaobaoXhotelBnbownerDeleteAPIRequest对象

func (TaobaoXhotelBnbownerDeleteAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoXhotelBnbownerDeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelBnbownerDeleteAPIRequest) GetApiParams added in v1.2.5

func (r TaobaoXhotelBnbownerDeleteAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelBnbownerDeleteAPIRequest) GetOuterId added in v1.2.5

GetOuterId OuterId Getter

func (TaobaoXhotelBnbownerDeleteAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelBnbownerDeleteAPIRequest) GetVendor added in v1.2.5

GetVendor Vendor Getter

func (*TaobaoXhotelBnbownerDeleteAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelBnbownerDeleteAPIRequest) SetOuterId added in v1.2.5

func (r *TaobaoXhotelBnbownerDeleteAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 房东Id,系统商outer_id

func (*TaobaoXhotelBnbownerDeleteAPIRequest) SetVendor added in v1.2.5

func (r *TaobaoXhotelBnbownerDeleteAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用,默认taobao

type TaobaoXhotelBnbownerDeleteAPIResponse added in v1.2.5

type TaobaoXhotelBnbownerDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelBnbownerDeleteAPIResponseModel
}

TaobaoXhotelBnbownerDeleteAPIResponse 民宿房东删除接口 API返回值 taobao.xhotel.bnbowner.delete

民宿房东删除接口,删除房东后,对应的门店及房源会同步删除,请谨慎使用

func GetTaobaoXhotelBnbownerDeleteAPIResponse added in v1.3.4

func GetTaobaoXhotelBnbownerDeleteAPIResponse() *TaobaoXhotelBnbownerDeleteAPIResponse

GetTaobaoXhotelBnbownerDeleteAPIResponse 从 sync.Pool 获取 TaobaoXhotelBnbownerDeleteAPIResponse

func (*TaobaoXhotelBnbownerDeleteAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbownerDeleteAPIResponseModel added in v1.2.5

type TaobaoXhotelBnbownerDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_bnbowner_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 查询结果集
	Result *TaobaoXhotelBnbownerDeleteResultSet `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoXhotelBnbownerDeleteAPIResponseModel is 民宿房东删除接口 成功返回结果

func (*TaobaoXhotelBnbownerDeleteAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbownerDeleteResultSet added in v1.2.5

type TaobaoXhotelBnbownerDeleteResultSet struct {
	// 系统自动生成
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 系统自动生成
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否出错
	Error bool `json:"error,omitempty" xml:"error,omitempty"`
}

TaobaoXhotelBnbownerDeleteResultSet 结构体

func GetTaobaoXhotelBnbownerDeleteResultSet added in v1.3.4

func GetTaobaoXhotelBnbownerDeleteResultSet() *TaobaoXhotelBnbownerDeleteResultSet

GetTaobaoXhotelBnbownerDeleteResultSet() 从对象池中获取TaobaoXhotelBnbownerDeleteResultSet

type TaobaoXhotelBnbpromoAddAPIRequest added in v1.2.5

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

TaobaoXhotelBnbpromoAddAPIRequest 自促活动申请接口 API请求 taobao.xhotel.bnbpromo.add

自促活动申请接口

func GetTaobaoXhotelBnbpromoAddAPIRequest added in v1.3.4

func GetTaobaoXhotelBnbpromoAddAPIRequest() *TaobaoXhotelBnbpromoAddAPIRequest

GetTaobaoXhotelBnbpromoAddRequest 从 sync.Pool 获取 TaobaoXhotelBnbpromoAddAPIRequest

func NewTaobaoXhotelBnbpromoAddRequest added in v1.2.5

func NewTaobaoXhotelBnbpromoAddRequest() *TaobaoXhotelBnbpromoAddAPIRequest

NewTaobaoXhotelBnbpromoAddRequest 初始化TaobaoXhotelBnbpromoAddAPIRequest对象

func (TaobaoXhotelBnbpromoAddAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoXhotelBnbpromoAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelBnbpromoAddAPIRequest) GetApiParams added in v1.2.5

func (r TaobaoXhotelBnbpromoAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelBnbpromoAddAPIRequest) GetPromoInfo added in v1.2.5

func (r TaobaoXhotelBnbpromoAddAPIRequest) GetPromoInfo() *PromoInfo

GetPromoInfo PromoInfo Getter

func (TaobaoXhotelBnbpromoAddAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelBnbpromoAddAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelBnbpromoAddAPIRequest) SetPromoInfo added in v1.2.5

func (r *TaobaoXhotelBnbpromoAddAPIRequest) SetPromoInfo(_promoInfo *PromoInfo) error

SetPromoInfo is PromoInfo Setter 营销类型

type TaobaoXhotelBnbpromoAddAPIResponse added in v1.2.5

type TaobaoXhotelBnbpromoAddAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelBnbpromoAddAPIResponseModel
}

TaobaoXhotelBnbpromoAddAPIResponse 自促活动申请接口 API返回值 taobao.xhotel.bnbpromo.add

自促活动申请接口

func GetTaobaoXhotelBnbpromoAddAPIResponse added in v1.3.4

func GetTaobaoXhotelBnbpromoAddAPIResponse() *TaobaoXhotelBnbpromoAddAPIResponse

GetTaobaoXhotelBnbpromoAddAPIResponse 从 sync.Pool 获取 TaobaoXhotelBnbpromoAddAPIResponse

func (*TaobaoXhotelBnbpromoAddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbpromoAddAPIResponseModel added in v1.2.5

type TaobaoXhotelBnbpromoAddAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_bnbpromo_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 营销添加返回对象
	Module *PromoCode `json:"module,omitempty" xml:"module,omitempty"`
}

TaobaoXhotelBnbpromoAddAPIResponseModel is 自促活动申请接口 成功返回结果

func (*TaobaoXhotelBnbpromoAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbpromoBindAPIRequest added in v1.2.5

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

TaobaoXhotelBnbpromoBindAPIRequest 自促活动绑定接口 API请求 taobao.xhotel.bnbpromo.bind

自促活动绑定接口

func GetTaobaoXhotelBnbpromoBindAPIRequest added in v1.3.4

func GetTaobaoXhotelBnbpromoBindAPIRequest() *TaobaoXhotelBnbpromoBindAPIRequest

GetTaobaoXhotelBnbpromoBindRequest 从 sync.Pool 获取 TaobaoXhotelBnbpromoBindAPIRequest

func NewTaobaoXhotelBnbpromoBindRequest added in v1.2.5

func NewTaobaoXhotelBnbpromoBindRequest() *TaobaoXhotelBnbpromoBindAPIRequest

NewTaobaoXhotelBnbpromoBindRequest 初始化TaobaoXhotelBnbpromoBindAPIRequest对象

func (TaobaoXhotelBnbpromoBindAPIRequest) GetActivityCode added in v1.2.5

func (r TaobaoXhotelBnbpromoBindAPIRequest) GetActivityCode() string

GetActivityCode ActivityCode Getter

func (TaobaoXhotelBnbpromoBindAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoXhotelBnbpromoBindAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelBnbpromoBindAPIRequest) GetApiParams added in v1.2.5

func (r TaobaoXhotelBnbpromoBindAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelBnbpromoBindAPIRequest) GetCheckInFrom added in v1.2.9

func (r TaobaoXhotelBnbpromoBindAPIRequest) GetCheckInFrom() string

GetCheckInFrom CheckInFrom Getter

func (TaobaoXhotelBnbpromoBindAPIRequest) GetCheckOutTo added in v1.2.9

func (r TaobaoXhotelBnbpromoBindAPIRequest) GetCheckOutTo() string

GetCheckOutTo CheckOutTo Getter

func (TaobaoXhotelBnbpromoBindAPIRequest) GetRateInfos added in v1.2.5

GetRateInfos RateInfos Getter

func (TaobaoXhotelBnbpromoBindAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelBnbpromoBindAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelBnbpromoBindAPIRequest) SetActivityCode added in v1.2.5

func (r *TaobaoXhotelBnbpromoBindAPIRequest) SetActivityCode(_activityCode string) error

SetActivityCode is ActivityCode Setter 营销活动code

func (*TaobaoXhotelBnbpromoBindAPIRequest) SetCheckInFrom added in v1.2.9

func (r *TaobaoXhotelBnbpromoBindAPIRequest) SetCheckInFrom(_checkInFrom string) error

SetCheckInFrom is CheckInFrom Setter 活动入住时间,民宿通用营销必填

func (*TaobaoXhotelBnbpromoBindAPIRequest) SetCheckOutTo added in v1.2.9

func (r *TaobaoXhotelBnbpromoBindAPIRequest) SetCheckOutTo(_checkOutTo string) error

SetCheckOutTo is CheckOutTo Setter 活动离店时间,民宿通用营销必填

func (*TaobaoXhotelBnbpromoBindAPIRequest) SetRateInfos added in v1.2.5

func (r *TaobaoXhotelBnbpromoBindAPIRequest) SetRateInfos(_rateInfos *PromoRateInfo) error

SetRateInfos is RateInfos Setter 外部价格信息

type TaobaoXhotelBnbpromoBindAPIResponse added in v1.2.5

type TaobaoXhotelBnbpromoBindAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelBnbpromoBindAPIResponseModel
}

TaobaoXhotelBnbpromoBindAPIResponse 自促活动绑定接口 API返回值 taobao.xhotel.bnbpromo.bind

自促活动绑定接口

func GetTaobaoXhotelBnbpromoBindAPIResponse added in v1.3.4

func GetTaobaoXhotelBnbpromoBindAPIResponse() *TaobaoXhotelBnbpromoBindAPIResponse

GetTaobaoXhotelBnbpromoBindAPIResponse 从 sync.Pool 获取 TaobaoXhotelBnbpromoBindAPIResponse

func (*TaobaoXhotelBnbpromoBindAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbpromoBindAPIResponseModel added in v1.2.5

type TaobaoXhotelBnbpromoBindAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_bnbpromo_bind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 营销绑定返回对象
	Module *PromoBindResult `json:"module,omitempty" xml:"module,omitempty"`
}

TaobaoXhotelBnbpromoBindAPIResponseModel is 自促活动绑定接口 成功返回结果

func (*TaobaoXhotelBnbpromoBindAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbpromoDeleteAPIRequest added in v1.2.5

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

TaobaoXhotelBnbpromoDeleteAPIRequest 民宿卖家活动删除 API请求 taobao.xhotel.bnbpromo.delete

民宿删除营销活动

func GetTaobaoXhotelBnbpromoDeleteAPIRequest added in v1.3.4

func GetTaobaoXhotelBnbpromoDeleteAPIRequest() *TaobaoXhotelBnbpromoDeleteAPIRequest

GetTaobaoXhotelBnbpromoDeleteRequest 从 sync.Pool 获取 TaobaoXhotelBnbpromoDeleteAPIRequest

func NewTaobaoXhotelBnbpromoDeleteRequest added in v1.2.5

func NewTaobaoXhotelBnbpromoDeleteRequest() *TaobaoXhotelBnbpromoDeleteAPIRequest

NewTaobaoXhotelBnbpromoDeleteRequest 初始化TaobaoXhotelBnbpromoDeleteAPIRequest对象

func (TaobaoXhotelBnbpromoDeleteAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoXhotelBnbpromoDeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelBnbpromoDeleteAPIRequest) GetApiParams added in v1.2.5

func (r TaobaoXhotelBnbpromoDeleteAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelBnbpromoDeleteAPIRequest) GetOuterActivityCode added in v1.2.5

func (r TaobaoXhotelBnbpromoDeleteAPIRequest) GetOuterActivityCode() string

GetOuterActivityCode OuterActivityCode Getter

func (TaobaoXhotelBnbpromoDeleteAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelBnbpromoDeleteAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelBnbpromoDeleteAPIRequest) SetOuterActivityCode added in v1.2.5

func (r *TaobaoXhotelBnbpromoDeleteAPIRequest) SetOuterActivityCode(_outerActivityCode string) error

SetOuterActivityCode is OuterActivityCode Setter 外部活动code

type TaobaoXhotelBnbpromoDeleteAPIResponse added in v1.2.5

type TaobaoXhotelBnbpromoDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelBnbpromoDeleteAPIResponseModel
}

TaobaoXhotelBnbpromoDeleteAPIResponse 民宿卖家活动删除 API返回值 taobao.xhotel.bnbpromo.delete

民宿删除营销活动

func GetTaobaoXhotelBnbpromoDeleteAPIResponse added in v1.3.4

func GetTaobaoXhotelBnbpromoDeleteAPIResponse() *TaobaoXhotelBnbpromoDeleteAPIResponse

GetTaobaoXhotelBnbpromoDeleteAPIResponse 从 sync.Pool 获取 TaobaoXhotelBnbpromoDeleteAPIResponse

func (*TaobaoXhotelBnbpromoDeleteAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbpromoDeleteAPIResponseModel added in v1.2.5

type TaobaoXhotelBnbpromoDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_bnbpromo_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 查询结果集
	Result *TaobaoXhotelBnbpromoDeleteResultSet `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoXhotelBnbpromoDeleteAPIResponseModel is 民宿卖家活动删除 成功返回结果

func (*TaobaoXhotelBnbpromoDeleteAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbpromoDeleteResultSet added in v1.2.5

type TaobaoXhotelBnbpromoDeleteResultSet struct {
	// 错误code
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误码
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoXhotelBnbpromoDeleteResultSet 结构体

func GetTaobaoXhotelBnbpromoDeleteResultSet added in v1.3.4

func GetTaobaoXhotelBnbpromoDeleteResultSet() *TaobaoXhotelBnbpromoDeleteResultSet

GetTaobaoXhotelBnbpromoDeleteResultSet() 从对象池中获取TaobaoXhotelBnbpromoDeleteResultSet

type TaobaoXhotelBnbpromoGetAPIRequest added in v1.2.5

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

TaobaoXhotelBnbpromoGetAPIRequest 民宿查询营销活动 API请求 taobao.xhotel.bnbpromo.get

民宿查询营销活动

func GetTaobaoXhotelBnbpromoGetAPIRequest added in v1.3.4

func GetTaobaoXhotelBnbpromoGetAPIRequest() *TaobaoXhotelBnbpromoGetAPIRequest

GetTaobaoXhotelBnbpromoGetRequest 从 sync.Pool 获取 TaobaoXhotelBnbpromoGetAPIRequest

func NewTaobaoXhotelBnbpromoGetRequest added in v1.2.5

func NewTaobaoXhotelBnbpromoGetRequest() *TaobaoXhotelBnbpromoGetAPIRequest

NewTaobaoXhotelBnbpromoGetRequest 初始化TaobaoXhotelBnbpromoGetAPIRequest对象

func (TaobaoXhotelBnbpromoGetAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoXhotelBnbpromoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelBnbpromoGetAPIRequest) GetApiParams added in v1.2.5

func (r TaobaoXhotelBnbpromoGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelBnbpromoGetAPIRequest) GetOuterActivityCode added in v1.2.5

func (r TaobaoXhotelBnbpromoGetAPIRequest) GetOuterActivityCode() string

GetOuterActivityCode OuterActivityCode Getter

func (TaobaoXhotelBnbpromoGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelBnbpromoGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelBnbpromoGetAPIRequest) SetOuterActivityCode added in v1.2.5

func (r *TaobaoXhotelBnbpromoGetAPIRequest) SetOuterActivityCode(_outerActivityCode string) error

SetOuterActivityCode is OuterActivityCode Setter 外部活动code

type TaobaoXhotelBnbpromoGetAPIResponse added in v1.2.5

type TaobaoXhotelBnbpromoGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelBnbpromoGetAPIResponseModel
}

TaobaoXhotelBnbpromoGetAPIResponse 民宿查询营销活动 API返回值 taobao.xhotel.bnbpromo.get

民宿查询营销活动

func GetTaobaoXhotelBnbpromoGetAPIResponse added in v1.3.4

func GetTaobaoXhotelBnbpromoGetAPIResponse() *TaobaoXhotelBnbpromoGetAPIResponse

GetTaobaoXhotelBnbpromoGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelBnbpromoGetAPIResponse

func (*TaobaoXhotelBnbpromoGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbpromoGetAPIResponseModel added in v1.2.5

type TaobaoXhotelBnbpromoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_bnbpromo_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 查询结果集
	Result *TaobaoXhotelBnbpromoGetResultSet `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoXhotelBnbpromoGetAPIResponseModel is 民宿查询营销活动 成功返回结果

func (*TaobaoXhotelBnbpromoGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbpromoGetResultSet added in v1.2.5

type TaobaoXhotelBnbpromoGetResultSet struct {
	// 错误code
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误码
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 民宿活动信息
	BnbPromo *BnbPromoDto `json:"bnb_promo,omitempty" xml:"bnb_promo,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoXhotelBnbpromoGetResultSet 结构体

func GetTaobaoXhotelBnbpromoGetResultSet added in v1.3.4

func GetTaobaoXhotelBnbpromoGetResultSet() *TaobaoXhotelBnbpromoGetResultSet

GetTaobaoXhotelBnbpromoGetResultSet() 从对象池中获取TaobaoXhotelBnbpromoGetResultSet

type TaobaoXhotelBnbpromoUnbindAPIRequest added in v1.2.5

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

TaobaoXhotelBnbpromoUnbindAPIRequest 自促活动解绑接口 API请求 taobao.xhotel.bnbpromo.unbind

自促活动解绑接口

func GetTaobaoXhotelBnbpromoUnbindAPIRequest added in v1.3.4

func GetTaobaoXhotelBnbpromoUnbindAPIRequest() *TaobaoXhotelBnbpromoUnbindAPIRequest

GetTaobaoXhotelBnbpromoUnbindRequest 从 sync.Pool 获取 TaobaoXhotelBnbpromoUnbindAPIRequest

func NewTaobaoXhotelBnbpromoUnbindRequest added in v1.2.5

func NewTaobaoXhotelBnbpromoUnbindRequest() *TaobaoXhotelBnbpromoUnbindAPIRequest

NewTaobaoXhotelBnbpromoUnbindRequest 初始化TaobaoXhotelBnbpromoUnbindAPIRequest对象

func (TaobaoXhotelBnbpromoUnbindAPIRequest) GetActivityCode added in v1.2.5

func (r TaobaoXhotelBnbpromoUnbindAPIRequest) GetActivityCode() string

GetActivityCode ActivityCode Getter

func (TaobaoXhotelBnbpromoUnbindAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoXhotelBnbpromoUnbindAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelBnbpromoUnbindAPIRequest) GetApiParams added in v1.2.5

func (r TaobaoXhotelBnbpromoUnbindAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelBnbpromoUnbindAPIRequest) GetRateInfos added in v1.2.5

GetRateInfos RateInfos Getter

func (TaobaoXhotelBnbpromoUnbindAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelBnbpromoUnbindAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelBnbpromoUnbindAPIRequest) SetActivityCode added in v1.2.5

func (r *TaobaoXhotelBnbpromoUnbindAPIRequest) SetActivityCode(_activityCode string) error

SetActivityCode is ActivityCode Setter 营销活动code

func (*TaobaoXhotelBnbpromoUnbindAPIRequest) SetRateInfos added in v1.2.5

func (r *TaobaoXhotelBnbpromoUnbindAPIRequest) SetRateInfos(_rateInfos *PromoRateInfo) error

SetRateInfos is RateInfos Setter 营销

type TaobaoXhotelBnbpromoUnbindAPIResponse added in v1.2.5

type TaobaoXhotelBnbpromoUnbindAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelBnbpromoUnbindAPIResponseModel
}

TaobaoXhotelBnbpromoUnbindAPIResponse 自促活动解绑接口 API返回值 taobao.xhotel.bnbpromo.unbind

自促活动解绑接口

func GetTaobaoXhotelBnbpromoUnbindAPIResponse added in v1.3.4

func GetTaobaoXhotelBnbpromoUnbindAPIResponse() *TaobaoXhotelBnbpromoUnbindAPIResponse

GetTaobaoXhotelBnbpromoUnbindAPIResponse 从 sync.Pool 获取 TaobaoXhotelBnbpromoUnbindAPIResponse

func (*TaobaoXhotelBnbpromoUnbindAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbpromoUnbindAPIResponseModel added in v1.2.5

type TaobaoXhotelBnbpromoUnbindAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_bnbpromo_unbind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 营销解绑返回对象
	Module *PromoBindResult `json:"module,omitempty" xml:"module,omitempty"`
}

TaobaoXhotelBnbpromoUnbindAPIResponseModel is 自促活动解绑接口 成功返回结果

func (*TaobaoXhotelBnbpromoUnbindAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbreviewAddAPIRequest added in v1.2.8

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

TaobaoXhotelBnbreviewAddAPIRequest 对外开放评论接口 API请求 taobao.xhotel.bnbreview.add

对外开放评论接口

func GetTaobaoXhotelBnbreviewAddAPIRequest added in v1.3.4

func GetTaobaoXhotelBnbreviewAddAPIRequest() *TaobaoXhotelBnbreviewAddAPIRequest

GetTaobaoXhotelBnbreviewAddRequest 从 sync.Pool 获取 TaobaoXhotelBnbreviewAddAPIRequest

func NewTaobaoXhotelBnbreviewAddRequest added in v1.2.8

func NewTaobaoXhotelBnbreviewAddRequest() *TaobaoXhotelBnbreviewAddAPIRequest

NewTaobaoXhotelBnbreviewAddRequest 初始化TaobaoXhotelBnbreviewAddAPIRequest对象

func (TaobaoXhotelBnbreviewAddAPIRequest) GetApiMethodName added in v1.2.8

func (r TaobaoXhotelBnbreviewAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelBnbreviewAddAPIRequest) GetApiParams added in v1.2.8

func (r TaobaoXhotelBnbreviewAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelBnbreviewAddAPIRequest) GetCheckInTime added in v1.2.8

func (r TaobaoXhotelBnbreviewAddAPIRequest) GetCheckInTime() string

GetCheckInTime CheckInTime Getter

func (TaobaoXhotelBnbreviewAddAPIRequest) GetContent added in v1.2.8

GetContent Content Getter

func (TaobaoXhotelBnbreviewAddAPIRequest) GetGmtCreate added in v1.2.8

func (r TaobaoXhotelBnbreviewAddAPIRequest) GetGmtCreate() string

GetGmtCreate GmtCreate Getter

func (TaobaoXhotelBnbreviewAddAPIRequest) GetOuterId added in v1.2.8

GetOuterId OuterId Getter

func (TaobaoXhotelBnbreviewAddAPIRequest) GetPicInfoList added in v1.2.8

GetPicInfoList PicInfoList Getter

func (TaobaoXhotelBnbreviewAddAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelBnbreviewAddAPIRequest) GetRid added in v1.2.8

GetRid Rid Getter

func (TaobaoXhotelBnbreviewAddAPIRequest) GetScoreDetail added in v1.2.8

GetScoreDetail ScoreDetail Getter

func (TaobaoXhotelBnbreviewAddAPIRequest) GetSource added in v1.2.8

GetSource Source Getter

func (TaobaoXhotelBnbreviewAddAPIRequest) GetTotalScore added in v1.2.8

func (r TaobaoXhotelBnbreviewAddAPIRequest) GetTotalScore() string

GetTotalScore TotalScore Getter

func (TaobaoXhotelBnbreviewAddAPIRequest) GetUserNick added in v1.2.8

GetUserNick UserNick Getter

func (*TaobaoXhotelBnbreviewAddAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelBnbreviewAddAPIRequest) SetCheckInTime added in v1.2.8

func (r *TaobaoXhotelBnbreviewAddAPIRequest) SetCheckInTime(_checkInTime string) error

SetCheckInTime is CheckInTime Setter 入住时间

func (*TaobaoXhotelBnbreviewAddAPIRequest) SetContent added in v1.2.8

func (r *TaobaoXhotelBnbreviewAddAPIRequest) SetContent(_content string) error

SetContent is Content Setter 评论内容

func (*TaobaoXhotelBnbreviewAddAPIRequest) SetGmtCreate added in v1.2.8

func (r *TaobaoXhotelBnbreviewAddAPIRequest) SetGmtCreate(_gmtCreate string) error

SetGmtCreate is GmtCreate Setter 创建时间

func (*TaobaoXhotelBnbreviewAddAPIRequest) SetOuterId added in v1.2.8

func (r *TaobaoXhotelBnbreviewAddAPIRequest) SetOuterId(_outerId int64) error

SetOuterId is OuterId Setter 外部评论id

func (*TaobaoXhotelBnbreviewAddAPIRequest) SetPicInfoList added in v1.2.8

func (r *TaobaoXhotelBnbreviewAddAPIRequest) SetPicInfoList(_picInfoList *ReviewPicInfo) error

SetPicInfoList is PicInfoList Setter 图片地址

func (*TaobaoXhotelBnbreviewAddAPIRequest) SetRid added in v1.2.8

SetRid is Rid Setter 飞猪侧房源ID

func (*TaobaoXhotelBnbreviewAddAPIRequest) SetScoreDetail added in v1.2.8

func (r *TaobaoXhotelBnbreviewAddAPIRequest) SetScoreDetail(_scoreDetail *ReviewDetailInfo) error

SetScoreDetail is ScoreDetail Setter 评分细分

func (*TaobaoXhotelBnbreviewAddAPIRequest) SetSource added in v1.2.8

func (r *TaobaoXhotelBnbreviewAddAPIRequest) SetSource(_source int64) error

SetSource is Source Setter 评论来源ID,38-小猪 39-爱彼迎

func (*TaobaoXhotelBnbreviewAddAPIRequest) SetTotalScore added in v1.2.8

func (r *TaobaoXhotelBnbreviewAddAPIRequest) SetTotalScore(_totalScore string) error

SetTotalScore is TotalScore Setter 总评分,Double类型得

func (*TaobaoXhotelBnbreviewAddAPIRequest) SetUserNick added in v1.2.8

func (r *TaobaoXhotelBnbreviewAddAPIRequest) SetUserNick(_userNick string) error

SetUserNick is UserNick Setter 用户名称

type TaobaoXhotelBnbreviewAddAPIResponse added in v1.2.8

type TaobaoXhotelBnbreviewAddAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelBnbreviewAddAPIResponseModel
}

TaobaoXhotelBnbreviewAddAPIResponse 对外开放评论接口 API返回值 taobao.xhotel.bnbreview.add

对外开放评论接口

func GetTaobaoXhotelBnbreviewAddAPIResponse added in v1.3.4

func GetTaobaoXhotelBnbreviewAddAPIResponse() *TaobaoXhotelBnbreviewAddAPIResponse

GetTaobaoXhotelBnbreviewAddAPIResponse 从 sync.Pool 获取 TaobaoXhotelBnbreviewAddAPIResponse

func (*TaobaoXhotelBnbreviewAddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbreviewAddAPIResponseModel added in v1.2.8

type TaobaoXhotelBnbreviewAddAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_bnbreview_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 调用返回结果
	Result *BnbResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoXhotelBnbreviewAddAPIResponseModel is 对外开放评论接口 成功返回结果

func (*TaobaoXhotelBnbreviewAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbroomtypeAddAPIRequest

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

TaobaoXhotelBnbroomtypeAddAPIRequest 民宿新增房源 API请求 taobao.xhotel.bnbroomtype.add

添加民宿房源

func GetTaobaoXhotelBnbroomtypeAddAPIRequest added in v1.3.4

func GetTaobaoXhotelBnbroomtypeAddAPIRequest() *TaobaoXhotelBnbroomtypeAddAPIRequest

GetTaobaoXhotelBnbroomtypeAddRequest 从 sync.Pool 获取 TaobaoXhotelBnbroomtypeAddAPIRequest

func NewTaobaoXhotelBnbroomtypeAddRequest

func NewTaobaoXhotelBnbroomtypeAddRequest() *TaobaoXhotelBnbroomtypeAddAPIRequest

NewTaobaoXhotelBnbroomtypeAddRequest 初始化TaobaoXhotelBnbroomtypeAddAPIRequest对象

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetActivitiesAllowed

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetActivitiesAllowed() string

GetActivitiesAllowed ActivitiesAllowed Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetApiMethodName

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetApiParams

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetBedInfo

GetBedInfo BedInfo Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetBnbBookingTime

GetBnbBookingTime BnbBookingTime Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetBnbExtend added in v1.2.8

GetBnbExtend BnbExtend Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetBnbName added in v1.2.5

GetBnbName BnbName Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetBrand

GetBrand Brand Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetBrightspot

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetBrightspot() string

GetBrightspot Brightspot Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetCharge

GetCharge Charge Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetCheckInNotes

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetCheckInNotes() string

GetCheckInNotes CheckInNotes Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetCleaningCharge

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetCleaningCharge() int64

GetCleaningCharge CleaningCharge Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetCleaningFrequency

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetCleaningFrequency() int64

GetCleaningFrequency CleaningFrequency Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetCleaningType

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetCleaningType() int64

GetCleaningType CleaningType Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetDecorateLevel

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetDecorateLevel() int64

GetDecorateLevel DecorateLevel Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetDecorateStyle

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetDecorateStyle() int64

GetDecorateStyle DecorateStyle Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetDecorateTime

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetDecorateTime() string

GetDecorateTime DecorateTime Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetDepositAmount

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetDepositAmount() int64

GetDepositAmount DepositAmount Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetDepositType

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetDepositType() int64

GetDepositType DepositType Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetExtraBedsFee added in v1.2.5

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetExtraBedsFee() int64

GetExtraBedsFee ExtraBedsFee Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetExtraBedsNum

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetExtraBedsNum() int64

GetExtraBedsNum ExtraBedsNum Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetExtraCleaningCharge

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetExtraCleaningCharge() int64

GetExtraCleaningCharge ExtraCleaningCharge Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetExtraFee added in v1.2.5

GetExtraFee ExtraFee Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetFloor

GetFloor Floor Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetGuestAge

GetGuestAge GuestAge Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetGuestGender

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetGuestGender() int64

GetGuestGender GuestGender Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetHasFrontDesk

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetHasFrontDesk() int64

GetHasFrontDesk HasFrontDesk Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetHasLandlord

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetHasLandlord() int64

GetHasLandlord HasLandlord Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetHasLicense

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetHasLicense() int64

GetHasLicense HasLicense Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetHouseModel

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetHouseModel() string

GetHouseModel HouseModel Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetHouseSize

GetHouseSize HouseSize Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetIntroduction

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetIntroduction() string

GetIntroduction Introduction Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetInvoice

GetInvoice Invoice Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetInvoiceType

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetInvoiceType() int64

GetInvoiceType InvoiceType Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetIsUseShootImage

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetIsUseShootImage() int64

GetIsUseShootImage IsUseShootImage Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetLocalInfo

GetLocalInfo LocalInfo Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetLocation

GetLocation Location Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetMaxOccupancy

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetMaxOccupancy() int64

GetMaxOccupancy MaxOccupancy Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetName

GetName Name Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetNameE

GetNameE NameE Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetNewOuterId

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetNewOuterId() string

GetNewOuterId NewOuterId Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetOpeningTime

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetOpeningTime() string

GetOpeningTime OpeningTime Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetOutHid

GetOutHid OutHid Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetOuterId

GetOuterId OuterId Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetOuterTags

GetOuterTags OuterTags Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetPics

GetPics Pics Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetProductType

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetProductType() int64

GetProductType ProductType Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetQuickOrder

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetQuickOrder() int64

GetQuickOrder QuickOrder Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetRealTel

GetRealTel RealTel Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetReceiveForeigners

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetReceiveForeigners() int64

GetReceiveForeigners ReceiveForeigners Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetRentSize

GetRentSize RentSize Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetRentType

GetRentType RentType Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetScenicFeature

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetScenicFeature() int64

GetScenicFeature ScenicFeature Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetService

GetService Service Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetSettlementCurrency

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetSettlementCurrency() string

GetSettlementCurrency SettlementCurrency Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetSrid added in v1.2.5

GetSrid Srid Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetStandardRoomFacilities added in v1.2.5

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetStandardRoomFacilities() string

GetStandardRoomFacilities StandardRoomFacilities Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetStatus

GetStatus Status Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetSupportIm

GetSupportIm SupportIm Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetSupportcredit

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetSupportcredit() int64

GetSupportcredit Supportcredit Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetSurroundInfo

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetSurroundInfo() string

GetSurroundInfo SurroundInfo Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetTel

GetTel Tel Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetVendor

GetVendor Vendor Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetVideoUrl

GetVideoUrl VideoUrl Getter

func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetWindowType

func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetWindowType() int64

GetWindowType WindowType Getter

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetActivitiesAllowed

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetActivitiesAllowed(_activitiesAllowed string) error

SetActivitiesAllowed is ActivitiesAllowed Setter 详见“允许活动”:https://fliggy.open.taobao.com/doc.htm?docId=120148&docType=1 ,最多500字符

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetBedInfo

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetBedInfo(_bedInfo string) error

SetBedInfo is BedInfo Setter 床信息: bedType:床型, desc: 床型名, width:床宽, length:床长, bedNum: 床数。床型取值见链接https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.4zBOVn&docType=1&articleId=108347

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetBnbBookingTime

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetBnbBookingTime(_bnbBookingTime *BnbBookingTimeDto) error

SetBnbBookingTime is BnbBookingTime Setter 民宿入住要求&附加信息

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetBnbExtend added in v1.2.8

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetBnbExtend(_bnbExtend string) error

SetBnbExtend is BnbExtend Setter 民宿扩展信息

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetBnbName added in v1.2.5

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetBnbName(_bnbName []string) error

SetBnbName is BnbName Setter 民宿名称,默认取bnbName

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetBrand

SetBrand is Brand Setter 品牌名称,最多100字符

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetBrightspot

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetBrightspot(_brightspot string) error

SetBrightspot is Brightspot Setter 亮点描述,最多1000字符

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetCharge

SetCharge is Charge Setter 加人收费信息

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetCheckInNotes

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetCheckInNotes(_checkInNotes string) error

SetCheckInNotes is CheckInNotes Setter 入住须知,最多2000字符

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetCleaningCharge

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetCleaningCharge(_cleaningCharge int64) error

SetCleaningCharge is CleaningCharge Setter 清洁费是否收取 0:否 1:是

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetCleaningFrequency

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetCleaningFrequency(_cleaningFrequency int64) error

SetCleaningFrequency is CleaningFrequency Setter “打扫类型1(1客1扫/换),2(1天1扫/换),https://fliggy.open.taobao.com/doc.htm?docId=120148&docType=1

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetCleaningType

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetCleaningType(_cleaningType int64) error

SetCleaningType is CleaningType Setter 清洁费类型 0.线下;1.线上

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetDecorateLevel

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetDecorateLevel(_decorateLevel int64) error

SetDecorateLevel is DecorateLevel Setter 装修等级 1 精装;2普通;3简装

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetDecorateStyle

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetDecorateStyle(_decorateStyle int64) error

SetDecorateStyle is DecorateStyle Setter 装修风格https://fliggy.open.taobao.com/doc.htm?docId=120148&docType=1

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetDecorateTime

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetDecorateTime(_decorateTime string) error

SetDecorateTime is DecorateTime Setter 装修时间,格式为2015-01-01装修时间

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetDepositAmount

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetDepositAmount(_depositAmount int64) error

SetDepositAmount is DepositAmount Setter 押金金额

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetDepositType

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetDepositType(_depositType int64) error

SetDepositType is DepositType Setter 押金类型0.线下;1.线上

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetExtraBedsFee added in v1.2.5

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetExtraBedsFee(_extraBedsFee int64) error

SetExtraBedsFee is ExtraBedsFee Setter 加床费,分为单位

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetExtraBedsNum

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetExtraBedsNum(_extraBedsNum int64) error

SetExtraBedsNum is ExtraBedsNum Setter 0-n;若不可加床,值为0

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetExtraCleaningCharge

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetExtraCleaningCharge(_extraCleaningCharge int64) error

SetExtraCleaningCharge is ExtraCleaningCharge Setter 清洁费金额;整数[1,9999999]

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetExtraFee added in v1.2.5

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetExtraFee(_extraFee string) error

SetExtraFee is ExtraFee Setter 额外收费

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetFloor

SetFloor is Floor Setter 客房在建筑的第几层,隔层为1-2层,4-5层,7-8层

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetGuestAge

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetGuestAge(_guestAge int64) error

SetGuestAge is GuestAge Setter 是否接待儿童、老人;成年人必接待,详见“可接待客人”https://fliggy.open.taobao.com/doc.htm?docId=120148&docType=1

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetGuestGender

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetGuestGender(_guestGender int64) error

SetGuestGender is GuestGender Setter 0:不限制,1:只限男性,2:只限女性'

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetHasFrontDesk

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetHasFrontDesk(_hasFrontDesk int64) error

SetHasFrontDesk is HasFrontDesk Setter 是否有前台 0没有 1有

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetHasLandlord

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetHasLandlord(_hasLandlord int64) error

SetHasLandlord is HasLandlord Setter 是否与房东同住 0 不同住 1同住

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetHasLicense

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetHasLicense(_hasLicense int64) error

SetHasLicense is HasLicense Setter 有无资质执照 0 没有 1有

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetHouseModel

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetHouseModel(_houseModel string) error

SetHouseModel is HouseModel Setter 房屋户型, bedroom: 室, bathroom: 卫, livingroom: 厅, study: 书房, balcony: 阳台,kitchen: 厨房,bedroom和livingroom不能为空

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetHouseSize

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetHouseSize(_houseSize int64) error

SetHouseSize is HouseSize Setter 单间面积,单位平方米

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetIntroduction

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetIntroduction(_introduction string) error

SetIntroduction is Introduction Setter 房源介绍,最多2000字符

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetInvoice

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetInvoice(_invoice int64) error

SetInvoice is Invoice Setter 发票,0:卖家提供发票,1:房东提供发票

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetInvoiceType

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetInvoiceType(_invoiceType int64) error

SetInvoiceType is InvoiceType Setter 可提供发票类型,1.专票 2.纸质普票 3.电子普票

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetIsUseShootImage

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetIsUseShootImage(_isUseShootImage int64) error

SetIsUseShootImage is IsUseShootImage Setter 是否使用实拍图片 0不使用 1使用

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetLocalInfo

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetLocalInfo(_localInfo string) error

SetLocalInfo is LocalInfo Setter 位置描述

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetLocation

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetLocation(_location *BnbLocationDto) error

SetLocation is Location Setter 民宿房源位置信息

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetMaxOccupancy

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetMaxOccupancy(_maxOccupancy int64) error

SetMaxOccupancy is MaxOccupancy Setter 最大入住人数 1-99

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetName

SetName is Name Setter 房源名

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetNameE

SetNameE is NameE Setter 房源英文名

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetNewOuterId

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetNewOuterId(_newOuterId string) error

SetNewOuterId is NewOuterId Setter 如果要变更商品房源编码请使用该字段。

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetOpeningTime

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetOpeningTime(_openingTime string) error

SetOpeningTime is OpeningTime Setter 开业时间,格式为2015-01-01

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetOutHid

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetOutHid(_outHid string) error

SetOutHid is OutHid Setter 外部门店id

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetOuterId

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 房源id, 这是卖家自己系统中的ID

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetOuterTags

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetOuterTags(_outerTags string) error

SetOuterTags is OuterTags Setter 房源外部标签 标签信息,逗号(,)分隔,最多1000字符

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetPics

SetPics is Pics Setter 房源图片只支持远程图片,格式如下:[{"url":"http://taobao.com/123.jpg","ismain":"true"},{"url":"http://taobao.com/456.jpg","ismain":"false"},{"url":"http://taobao.com/789.jpg","ismain":"false"}]其中url是远程图片的访问地址(URL地址必须是合法的,否则会报错),main是是否为主图。只能设置一张图片为主图。

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetProductType

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetProductType(_productType int64) error

SetProductType is ProductType Setter 房源类型,见https://fliggy.open.taobao.com/doc.htm?docId=120148&docType=1

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetQuickOrder

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetQuickOrder(_quickOrder int64) error

SetQuickOrder is QuickOrder Setter 是否开启闪订 0不开启 1开启

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetRealTel

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetRealTel(_realTel string) error

SetRealTel is RealTel Setter 真实联系方式

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetReceiveForeigners

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetReceiveForeigners(_receiveForeigners int64) error

SetReceiveForeigners is ReceiveForeigners Setter 是否可接待外宾 0:否 1:是;默认值: 0

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetRentSize

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetRentSize(_rentSize int64) error

SetRentSize is RentSize Setter 单间面积,单位平方米

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetRentType

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetRentType(_rentType int64) error

SetRentType is RentType Setter 出租类型,1整租;2分租。3床位 默认整租,该字段不能更新

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetScenicFeature

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetScenicFeature(_scenicFeature int64) error

SetScenicFeature is ScenicFeature Setter 风景类型(枚举)https://fliggy.open.taobao.com/doc.htm?docId=120148&docType=1

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetService

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetService(_service string) error

SetService is Service Setter 设施服务。json格式示例值:{"24152":true,"24149":true,"24150":true},key取值参见 https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.vSVPks&docType=1&articleId=108416&previewCode=987A11324A278EF679E24102BA30D426 中type=40的分类

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetSettlementCurrency

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetSettlementCurrency(_settlementCurrency string) error

SetSettlementCurrency is SettlementCurrency Setter 结算过程中的结算币种符合,如需对接请联系飞猪技术支持,请谨慎使用

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetSrid added in v1.2.5

SetSrid is Srid Setter 添加标准房源匹配

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetStandardRoomFacilities added in v1.2.5

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetStandardRoomFacilities(_standardRoomFacilities string) error

SetStandardRoomFacilities is StandardRoomFacilities Setter 标准酒店服务,参考文档https://fliggy.open.taobao.com/doc.htm?docId=120362&docType=1

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetStatus

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetStatus(_status *model.File) error

SetStatus is Status Setter 状态 0:在线 -1:不在线 -2:停售

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetSupportIm

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetSupportIm(_supportIm int64) error

SetSupportIm is SupportIm Setter 是否支持IM聊天 0不支持 1支持

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetSupportcredit

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetSupportcredit(_supportcredit int64) error

SetSupportcredit is Supportcredit Setter 是否信用免押金0:否 1:是

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetSurroundInfo

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetSurroundInfo(_surroundInfo string) error

SetSurroundInfo is SurroundInfo Setter 周边描述

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetTel

SetTel is Tel Setter 酒店电话。格式:国家代码(最长6位)#区号(最长4位)#电话(最长20位)。国家代码提示:中国大陆0086、香港00852、澳门00853、台湾00886

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetVendor

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 销售渠道,默认taobao

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetVideoUrl

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetVideoUrl(_videoUrl string) error

SetVideoUrl is VideoUrl Setter 视频地址,最多1000字符

func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetWindowType

func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetWindowType(_windowType int64) error

SetWindowType is WindowType Setter 0-无窗 1-有窗 2-部分有窗 3-暗窗 4-部分暗窗 5-落地窗

type TaobaoXhotelBnbroomtypeAddAPIResponse

type TaobaoXhotelBnbroomtypeAddAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelBnbroomtypeAddAPIResponseModel
}

TaobaoXhotelBnbroomtypeAddAPIResponse 民宿新增房源 API返回值 taobao.xhotel.bnbroomtype.add

添加民宿房源

func GetTaobaoXhotelBnbroomtypeAddAPIResponse added in v1.3.4

func GetTaobaoXhotelBnbroomtypeAddAPIResponse() *TaobaoXhotelBnbroomtypeAddAPIResponse

GetTaobaoXhotelBnbroomtypeAddAPIResponse 从 sync.Pool 获取 TaobaoXhotelBnbroomtypeAddAPIResponse

func (*TaobaoXhotelBnbroomtypeAddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbroomtypeAddAPIResponseModel

type TaobaoXhotelBnbroomtypeAddAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_bnbroomtype_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 房源信息
	Xroomtype *XRoomType `json:"xroomtype,omitempty" xml:"xroomtype,omitempty"`
}

TaobaoXhotelBnbroomtypeAddAPIResponseModel is 民宿新增房源 成功返回结果

func (*TaobaoXhotelBnbroomtypeAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbroomtypeDeleteAPIRequest added in v1.2.5

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

TaobaoXhotelBnbroomtypeDeleteAPIRequest 民宿房源删除接口 API请求 taobao.xhotel.bnbroomtype.delete

增加民宿房源删除接口

func GetTaobaoXhotelBnbroomtypeDeleteAPIRequest added in v1.3.4

func GetTaobaoXhotelBnbroomtypeDeleteAPIRequest() *TaobaoXhotelBnbroomtypeDeleteAPIRequest

GetTaobaoXhotelBnbroomtypeDeleteRequest 从 sync.Pool 获取 TaobaoXhotelBnbroomtypeDeleteAPIRequest

func NewTaobaoXhotelBnbroomtypeDeleteRequest added in v1.2.5

func NewTaobaoXhotelBnbroomtypeDeleteRequest() *TaobaoXhotelBnbroomtypeDeleteAPIRequest

NewTaobaoXhotelBnbroomtypeDeleteRequest 初始化TaobaoXhotelBnbroomtypeDeleteAPIRequest对象

func (TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetApiParams added in v1.2.5

func (r TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetOuterId added in v1.2.5

GetOuterId OuterId Getter

func (TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetRid added in v1.2.5

GetRid Rid Getter

func (TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetVendor added in v1.2.5

GetVendor Vendor Getter

func (*TaobaoXhotelBnbroomtypeDeleteAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelBnbroomtypeDeleteAPIRequest) SetOuterId added in v1.2.5

func (r *TaobaoXhotelBnbroomtypeDeleteAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 房型Id,系统商outer_id

func (*TaobaoXhotelBnbroomtypeDeleteAPIRequest) SetRid added in v1.2.5

SetRid is Rid Setter 房型Id,传参方式为rid或outer_id+vendor

func (*TaobaoXhotelBnbroomtypeDeleteAPIRequest) SetVendor added in v1.2.5

SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用

type TaobaoXhotelBnbroomtypeDeleteAPIResponse added in v1.2.5

type TaobaoXhotelBnbroomtypeDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelBnbroomtypeDeleteAPIResponseModel
}

TaobaoXhotelBnbroomtypeDeleteAPIResponse 民宿房源删除接口 API返回值 taobao.xhotel.bnbroomtype.delete

增加民宿房源删除接口

func GetTaobaoXhotelBnbroomtypeDeleteAPIResponse added in v1.3.4

func GetTaobaoXhotelBnbroomtypeDeleteAPIResponse() *TaobaoXhotelBnbroomtypeDeleteAPIResponse

GetTaobaoXhotelBnbroomtypeDeleteAPIResponse 从 sync.Pool 获取 TaobaoXhotelBnbroomtypeDeleteAPIResponse

func (*TaobaoXhotelBnbroomtypeDeleteAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbroomtypeDeleteAPIResponseModel added in v1.2.5

type TaobaoXhotelBnbroomtypeDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_bnbroomtype_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否出错
	Error bool `json:"error,omitempty" xml:"error,omitempty"`
}

TaobaoXhotelBnbroomtypeDeleteAPIResponseModel is 民宿房源删除接口 成功返回结果

func (*TaobaoXhotelBnbroomtypeDeleteAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest

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

TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest 下载飞猪国际城市结果 API请求 taobao.xhotel.city.coordinates.batch.download

给国际酒店供应商提供计算对应飞猪城市的服务,免去城市名称匹配流程,加快对接流程

func GetTaobaoXhotelCityCoordinatesBatchDownloadAPIRequest added in v1.3.4

func GetTaobaoXhotelCityCoordinatesBatchDownloadAPIRequest() *TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest

GetTaobaoXhotelCityCoordinatesBatchDownloadRequest 从 sync.Pool 获取 TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest

func NewTaobaoXhotelCityCoordinatesBatchDownloadRequest

func NewTaobaoXhotelCityCoordinatesBatchDownloadRequest() *TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest

NewTaobaoXhotelCityCoordinatesBatchDownloadRequest 初始化TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest对象

func (TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest) GetBatchId

GetBatchId BatchId Getter

func (TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest) SetBatchId

SetBatchId is BatchId Setter 上传的经纬度批次号

type TaobaoXhotelCityCoordinatesBatchDownloadAPIResponse

type TaobaoXhotelCityCoordinatesBatchDownloadAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelCityCoordinatesBatchDownloadAPIResponseModel
}

TaobaoXhotelCityCoordinatesBatchDownloadAPIResponse 下载飞猪国际城市结果 API返回值 taobao.xhotel.city.coordinates.batch.download

给国际酒店供应商提供计算对应飞猪城市的服务,免去城市名称匹配流程,加快对接流程

func GetTaobaoXhotelCityCoordinatesBatchDownloadAPIResponse added in v1.3.4

func GetTaobaoXhotelCityCoordinatesBatchDownloadAPIResponse() *TaobaoXhotelCityCoordinatesBatchDownloadAPIResponse

GetTaobaoXhotelCityCoordinatesBatchDownloadAPIResponse 从 sync.Pool 获取 TaobaoXhotelCityCoordinatesBatchDownloadAPIResponse

func (*TaobaoXhotelCityCoordinatesBatchDownloadAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelCityCoordinatesBatchDownloadAPIResponseModel

type TaobaoXhotelCityCoordinatesBatchDownloadAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_city_coordinates_batch_download_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 经纬度计算结果列表
	CoordinateList []Coordinate `json:"coordinate_list,omitempty" xml:"coordinate_list>coordinate,omitempty"`
}

TaobaoXhotelCityCoordinatesBatchDownloadAPIResponseModel is 下载飞猪国际城市结果 成功返回结果

func (*TaobaoXhotelCityCoordinatesBatchDownloadAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelCityCoordinatesBatchUploadAPIRequest

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

TaobaoXhotelCityCoordinatesBatchUploadAPIRequest 上传信息计算飞猪国际城市 API请求 taobao.xhotel.city.coordinates.batch.upload

给供应商提供计算对应飞猪城市的服务,免去城市名称匹配流程,加快对接流程。目前只适用于国际城市,国内+港澳台暂不支持。 非实时计算接口,每次批量上传不少于1条的数据,后端离线计算,请于30分钟后再下载结果。

func GetTaobaoXhotelCityCoordinatesBatchUploadAPIRequest added in v1.3.4

func GetTaobaoXhotelCityCoordinatesBatchUploadAPIRequest() *TaobaoXhotelCityCoordinatesBatchUploadAPIRequest

GetTaobaoXhotelCityCoordinatesBatchUploadRequest 从 sync.Pool 获取 TaobaoXhotelCityCoordinatesBatchUploadAPIRequest

func NewTaobaoXhotelCityCoordinatesBatchUploadRequest

func NewTaobaoXhotelCityCoordinatesBatchUploadRequest() *TaobaoXhotelCityCoordinatesBatchUploadAPIRequest

NewTaobaoXhotelCityCoordinatesBatchUploadRequest 初始化TaobaoXhotelCityCoordinatesBatchUploadAPIRequest对象

func (TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) GetCoordinateList

GetCoordinateList CoordinateList Getter

func (TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) SetCoordinateList

func (r *TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) SetCoordinateList(_coordinateList []Coordinate) error

SetCoordinateList is CoordinateList Setter 经纬度列表

type TaobaoXhotelCityCoordinatesBatchUploadAPIResponse

type TaobaoXhotelCityCoordinatesBatchUploadAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelCityCoordinatesBatchUploadAPIResponseModel
}

TaobaoXhotelCityCoordinatesBatchUploadAPIResponse 上传信息计算飞猪国际城市 API返回值 taobao.xhotel.city.coordinates.batch.upload

给供应商提供计算对应飞猪城市的服务,免去城市名称匹配流程,加快对接流程。目前只适用于国际城市,国内+港澳台暂不支持。 非实时计算接口,每次批量上传不少于1条的数据,后端离线计算,请于30分钟后再下载结果。

func GetTaobaoXhotelCityCoordinatesBatchUploadAPIResponse added in v1.3.4

func GetTaobaoXhotelCityCoordinatesBatchUploadAPIResponse() *TaobaoXhotelCityCoordinatesBatchUploadAPIResponse

GetTaobaoXhotelCityCoordinatesBatchUploadAPIResponse 从 sync.Pool 获取 TaobaoXhotelCityCoordinatesBatchUploadAPIResponse

func (*TaobaoXhotelCityCoordinatesBatchUploadAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelCityCoordinatesBatchUploadAPIResponseModel

type TaobaoXhotelCityCoordinatesBatchUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_city_coordinates_batch_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 上传成功后的批次号
	BatchId int64 `json:"batch_id,omitempty" xml:"batch_id,omitempty"`
}

TaobaoXhotelCityCoordinatesBatchUploadAPIResponseModel is 上传信息计算飞猪国际城市 成功返回结果

func (*TaobaoXhotelCityCoordinatesBatchUploadAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelDeleteAPIRequest

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

TaobaoXhotelDeleteAPIRequest 删除酒店接口 API请求 taobao.xhotel.delete

删除飞猪酒店数据接口

func GetTaobaoXhotelDeleteAPIRequest added in v1.3.4

func GetTaobaoXhotelDeleteAPIRequest() *TaobaoXhotelDeleteAPIRequest

GetTaobaoXhotelDeleteRequest 从 sync.Pool 获取 TaobaoXhotelDeleteAPIRequest

func NewTaobaoXhotelDeleteRequest

func NewTaobaoXhotelDeleteRequest() *TaobaoXhotelDeleteAPIRequest

NewTaobaoXhotelDeleteRequest 初始化TaobaoXhotelDeleteAPIRequest对象

func (TaobaoXhotelDeleteAPIRequest) GetApiMethodName

func (r TaobaoXhotelDeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelDeleteAPIRequest) GetApiParams

func (r TaobaoXhotelDeleteAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelDeleteAPIRequest) GetHid

GetHid Hid Getter

func (TaobaoXhotelDeleteAPIRequest) GetOuterId

func (r TaobaoXhotelDeleteAPIRequest) GetOuterId() string

GetOuterId OuterId Getter

func (TaobaoXhotelDeleteAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoXhotelDeleteAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelDeleteAPIRequest) GetVendor

func (r TaobaoXhotelDeleteAPIRequest) GetVendor() string

GetVendor Vendor Getter

func (*TaobaoXhotelDeleteAPIRequest) Reset added in v1.3.4

func (r *TaobaoXhotelDeleteAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelDeleteAPIRequest) SetHid

func (r *TaobaoXhotelDeleteAPIRequest) SetHid(_hid int64) error

SetHid is Hid Setter 酒店id,传参方式 hid 或者 outer_id+vendor

func (*TaobaoXhotelDeleteAPIRequest) SetOuterId

func (r *TaobaoXhotelDeleteAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 酒店编码

func (*TaobaoXhotelDeleteAPIRequest) SetVendor

func (r *TaobaoXhotelDeleteAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 酒店vendor

type TaobaoXhotelDeleteAPIResponse

type TaobaoXhotelDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelDeleteAPIResponseModel
}

TaobaoXhotelDeleteAPIResponse 删除酒店接口 API返回值 taobao.xhotel.delete

删除飞猪酒店数据接口

func GetTaobaoXhotelDeleteAPIResponse added in v1.3.4

func GetTaobaoXhotelDeleteAPIResponse() *TaobaoXhotelDeleteAPIResponse

GetTaobaoXhotelDeleteAPIResponse 从 sync.Pool 获取 TaobaoXhotelDeleteAPIResponse

func (*TaobaoXhotelDeleteAPIResponse) Reset added in v1.3.4

func (m *TaobaoXhotelDeleteAPIResponse) Reset()

Reset 清空结构体

type TaobaoXhotelDeleteAPIResponseModel

type TaobaoXhotelDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 删除结果
	Result *TaobaoXhotelDeleteResultSet `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoXhotelDeleteAPIResponseModel is 删除酒店接口 成功返回结果

func (*TaobaoXhotelDeleteAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelDeleteResultSet

type TaobaoXhotelDeleteResultSet struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否出错
	Error bool `json:"error,omitempty" xml:"error,omitempty"`
}

TaobaoXhotelDeleteResultSet 结构体

func GetTaobaoXhotelDeleteResultSet added in v1.3.4

func GetTaobaoXhotelDeleteResultSet() *TaobaoXhotelDeleteResultSet

GetTaobaoXhotelDeleteResultSet() 从对象池中获取TaobaoXhotelDeleteResultSet

type TaobaoXhotelEntityConfigAPIRequest

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

TaobaoXhotelEntityConfigAPIRequest 飞猪商品各实体通用配置 API请求 taobao.xhotel.entity.config

飞猪商品各实体通用配置服务

func GetTaobaoXhotelEntityConfigAPIRequest added in v1.3.4

func GetTaobaoXhotelEntityConfigAPIRequest() *TaobaoXhotelEntityConfigAPIRequest

GetTaobaoXhotelEntityConfigRequest 从 sync.Pool 获取 TaobaoXhotelEntityConfigAPIRequest

func NewTaobaoXhotelEntityConfigRequest

func NewTaobaoXhotelEntityConfigRequest() *TaobaoXhotelEntityConfigAPIRequest

NewTaobaoXhotelEntityConfigRequest 初始化TaobaoXhotelEntityConfigAPIRequest对象

func (TaobaoXhotelEntityConfigAPIRequest) GetApiMethodName

func (r TaobaoXhotelEntityConfigAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelEntityConfigAPIRequest) GetApiParams

func (r TaobaoXhotelEntityConfigAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelEntityConfigAPIRequest) GetConfigData

func (r TaobaoXhotelEntityConfigAPIRequest) GetConfigData() string

GetConfigData ConfigData Getter

func (TaobaoXhotelEntityConfigAPIRequest) GetEntityCode

func (r TaobaoXhotelEntityConfigAPIRequest) GetEntityCode() string

GetEntityCode EntityCode Getter

func (TaobaoXhotelEntityConfigAPIRequest) GetEntityId

func (r TaobaoXhotelEntityConfigAPIRequest) GetEntityId() int64

GetEntityId EntityId Getter

func (TaobaoXhotelEntityConfigAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelEntityConfigAPIRequest) GetType

GetType Type Getter

func (TaobaoXhotelEntityConfigAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelEntityConfigAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelEntityConfigAPIRequest) SetConfigData

func (r *TaobaoXhotelEntityConfigAPIRequest) SetConfigData(_configData string) error

SetConfigData is ConfigData Setter 格式为:[{"invoice_status":"1"},{"invoice_has":"1"},{"invoice_canvat":"1"},{"invoice_provider":"2"},{"invoice_channel":"1"},{"invoice_payer":"1"},{"invoice_type":"1,2,3"},{"invoice_desc":"测试发票描叙123"}] key-value形式的配置信息其中invoice_status为发票状态,取值为0(无效),1(有效);invoice_has是否能开发票,1(能),0(不能);invoice_canvat是否能提供增值税专用发票1(能),0(不能);invoice_provider发票提供方1(酒店提供),2(卖家邮寄);invoice_channel开票渠道,目前仅支持1(线下开具);invoice_payer邮费承担方,1(卖家承担),2(买家承担-邮费到付);invoice_type开票类型 1(代订房费),2(旅游费) 3(差旅费) 4(卖家提供Email版收据) 如果多个请以英文逗号隔开,例如1,2,3。invoice_desc发票补充说明,如果没有可以填写无,长度不要超过20字符。该接口是全量更新的形式,每次更新必须要携带这些节点信息,如果想失效掉该rp上的发票信息,那么可以将invoice_status设置为0。

func (*TaobaoXhotelEntityConfigAPIRequest) SetEntityCode

func (r *TaobaoXhotelEntityConfigAPIRequest) SetEntityCode(_entityCode string) error

SetEntityCode is EntityCode Setter 实体编码,例如酒店编码,房价编码

func (*TaobaoXhotelEntityConfigAPIRequest) SetEntityId

func (r *TaobaoXhotelEntityConfigAPIRequest) SetEntityId(_entityId int64) error

SetEntityId is EntityId Setter 实体id,例如酒店id,房型id(飞猪平台的id),rpid等,目前仅支持rpid

func (*TaobaoXhotelEntityConfigAPIRequest) SetType

SetType is Type Setter 实体类型:1:卖家维度,2:酒店维度,3:房型维度,4:宝贝维度,5:rp维度。请注意目前仅支持类型5

func (*TaobaoXhotelEntityConfigAPIRequest) SetVendor

func (r *TaobaoXhotelEntityConfigAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 默认是taobao。和酒店,房型等实体上的vendor保持一致。

type TaobaoXhotelEntityConfigAPIResponse

type TaobaoXhotelEntityConfigAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelEntityConfigAPIResponseModel
}

TaobaoXhotelEntityConfigAPIResponse 飞猪商品各实体通用配置 API返回值 taobao.xhotel.entity.config

飞猪商品各实体通用配置服务

func GetTaobaoXhotelEntityConfigAPIResponse added in v1.3.4

func GetTaobaoXhotelEntityConfigAPIResponse() *TaobaoXhotelEntityConfigAPIResponse

GetTaobaoXhotelEntityConfigAPIResponse 从 sync.Pool 获取 TaobaoXhotelEntityConfigAPIResponse

func (*TaobaoXhotelEntityConfigAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelEntityConfigAPIResponseModel

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

TaobaoXhotelEntityConfigAPIResponseModel is 飞猪商品各实体通用配置 成功返回结果

func (*TaobaoXhotelEntityConfigAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelGetAPIRequest

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

TaobaoXhotelGetAPIRequest 酒店查询接口 API请求 taobao.xhotel.get

酒店查询接口

func GetTaobaoXhotelGetAPIRequest added in v1.3.4

func GetTaobaoXhotelGetAPIRequest() *TaobaoXhotelGetAPIRequest

GetTaobaoXhotelGetRequest 从 sync.Pool 获取 TaobaoXhotelGetAPIRequest

func NewTaobaoXhotelGetRequest

func NewTaobaoXhotelGetRequest() *TaobaoXhotelGetAPIRequest

NewTaobaoXhotelGetRequest 初始化TaobaoXhotelGetAPIRequest对象

func (TaobaoXhotelGetAPIRequest) GetApiMethodName

func (r TaobaoXhotelGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelGetAPIRequest) GetApiParams

func (r TaobaoXhotelGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelGetAPIRequest) GetHid

func (r TaobaoXhotelGetAPIRequest) GetHid() int64

GetHid Hid Getter

func (TaobaoXhotelGetAPIRequest) GetNeedSaleInfo

func (r TaobaoXhotelGetAPIRequest) GetNeedSaleInfo() bool

GetNeedSaleInfo NeedSaleInfo Getter

func (TaobaoXhotelGetAPIRequest) GetOuterId

func (r TaobaoXhotelGetAPIRequest) GetOuterId() string

GetOuterId OuterId Getter

func (TaobaoXhotelGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoXhotelGetAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelGetAPIRequest) GetVendor

func (r TaobaoXhotelGetAPIRequest) GetVendor() string

GetVendor Vendor Getter

func (*TaobaoXhotelGetAPIRequest) Reset added in v1.3.4

func (r *TaobaoXhotelGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelGetAPIRequest) SetHid

func (r *TaobaoXhotelGetAPIRequest) SetHid(_hid int64) error

SetHid is Hid Setter 废弃,请使用outer_id

func (*TaobaoXhotelGetAPIRequest) SetNeedSaleInfo

func (r *TaobaoXhotelGetAPIRequest) SetNeedSaleInfo(_needSaleInfo bool) error

SetNeedSaleInfo is NeedSaleInfo Setter 是否需要在售状态(默认false不需要)

func (*TaobaoXhotelGetAPIRequest) SetOuterId

func (r *TaobaoXhotelGetAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 卖家系统中的酒店ID。

func (*TaobaoXhotelGetAPIRequest) SetVendor

func (r *TaobaoXhotelGetAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 系统商,一般不用填写,使用须申请

type TaobaoXhotelGetAPIResponse

type TaobaoXhotelGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelGetAPIResponseModel
}

TaobaoXhotelGetAPIResponse 酒店查询接口 API返回值 taobao.xhotel.get

酒店查询接口

func GetTaobaoXhotelGetAPIResponse added in v1.3.4

func GetTaobaoXhotelGetAPIResponse() *TaobaoXhotelGetAPIResponse

GetTaobaoXhotelGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelGetAPIResponse

func (*TaobaoXhotelGetAPIResponse) Reset added in v1.3.4

func (m *TaobaoXhotelGetAPIResponse) Reset()

Reset 清空结构体

type TaobaoXhotelGetAPIResponseModel

type TaobaoXhotelGetAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 查询得到的hotel
	Xhotel *FirstResult `json:"xhotel,omitempty" xml:"xhotel,omitempty"`
}

TaobaoXhotelGetAPIResponseModel is 酒店查询接口 成功返回结果

func (*TaobaoXhotelGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelGetEntityByTagAPIRequest

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

TaobaoXhotelGetEntityByTagAPIRequest 根据标签查询实体 API请求 taobao.xhotel.get.entity.by.tag

根据标签查询实体

func GetTaobaoXhotelGetEntityByTagAPIRequest added in v1.3.4

func GetTaobaoXhotelGetEntityByTagAPIRequest() *TaobaoXhotelGetEntityByTagAPIRequest

GetTaobaoXhotelGetEntityByTagRequest 从 sync.Pool 获取 TaobaoXhotelGetEntityByTagAPIRequest

func NewTaobaoXhotelGetEntityByTagRequest

func NewTaobaoXhotelGetEntityByTagRequest() *TaobaoXhotelGetEntityByTagAPIRequest

NewTaobaoXhotelGetEntityByTagRequest 初始化TaobaoXhotelGetEntityByTagAPIRequest对象

func (TaobaoXhotelGetEntityByTagAPIRequest) GetApiMethodName

func (r TaobaoXhotelGetEntityByTagAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelGetEntityByTagAPIRequest) GetApiParams

func (r TaobaoXhotelGetEntityByTagAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelGetEntityByTagAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelGetEntityByTagAPIRequest) GetTag

GetTag Tag Getter

func (TaobaoXhotelGetEntityByTagAPIRequest) GetTokenStr

GetTokenStr TokenStr Getter

func (*TaobaoXhotelGetEntityByTagAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelGetEntityByTagAPIRequest) SetTag

SetTag is Tag Setter 标签

func (*TaobaoXhotelGetEntityByTagAPIRequest) SetTokenStr

func (r *TaobaoXhotelGetEntityByTagAPIRequest) SetTokenStr(_tokenStr string) error

SetTokenStr is TokenStr Setter 查询token,�填入上一页查询的返回结果,只能按顺序单线程查询

type TaobaoXhotelGetEntityByTagAPIResponse

type TaobaoXhotelGetEntityByTagAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelGetEntityByTagAPIResponseModel
}

TaobaoXhotelGetEntityByTagAPIResponse 根据标签查询实体 API返回值 taobao.xhotel.get.entity.by.tag

根据标签查询实体

func GetTaobaoXhotelGetEntityByTagAPIResponse added in v1.3.4

func GetTaobaoXhotelGetEntityByTagAPIResponse() *TaobaoXhotelGetEntityByTagAPIResponse

GetTaobaoXhotelGetEntityByTagAPIResponse 从 sync.Pool 获取 TaobaoXhotelGetEntityByTagAPIResponse

func (*TaobaoXhotelGetEntityByTagAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelGetEntityByTagAPIResponseModel

type TaobaoXhotelGetEntityByTagAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_get_entity_by_tag_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 出参
	TagQueryResult *TagQueryResult `json:"tag_query_result,omitempty" xml:"tag_query_result,omitempty"`
}

TaobaoXhotelGetEntityByTagAPIResponseModel is 根据标签查询实体 成功返回结果

func (*TaobaoXhotelGetEntityByTagAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelHouseAddAPIRequest

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

TaobaoXhotelHouseAddAPIRequest 非标准民宿房源添加 API请求 taobao.xhotel.house.add

添加酒店或更新酒店

func GetTaobaoXhotelHouseAddAPIRequest added in v1.3.4

func GetTaobaoXhotelHouseAddAPIRequest() *TaobaoXhotelHouseAddAPIRequest

GetTaobaoXhotelHouseAddRequest 从 sync.Pool 获取 TaobaoXhotelHouseAddAPIRequest

func NewTaobaoXhotelHouseAddRequest

func NewTaobaoXhotelHouseAddRequest() *TaobaoXhotelHouseAddAPIRequest

NewTaobaoXhotelHouseAddRequest 初始化TaobaoXhotelHouseAddAPIRequest对象

func (TaobaoXhotelHouseAddAPIRequest) GetAddress

func (r TaobaoXhotelHouseAddAPIRequest) GetAddress() string

GetAddress Address Getter

func (TaobaoXhotelHouseAddAPIRequest) GetApiMethodName

func (r TaobaoXhotelHouseAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelHouseAddAPIRequest) GetApiParams

func (r TaobaoXhotelHouseAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelHouseAddAPIRequest) GetArroundDesc

func (r TaobaoXhotelHouseAddAPIRequest) GetArroundDesc() string

GetArroundDesc ArroundDesc Getter

func (TaobaoXhotelHouseAddAPIRequest) GetBookingNotice

func (r TaobaoXhotelHouseAddAPIRequest) GetBookingNotice() string

GetBookingNotice BookingNotice Getter

func (TaobaoXhotelHouseAddAPIRequest) GetBrand

GetBrand Brand Getter

func (TaobaoXhotelHouseAddAPIRequest) GetBusiness

func (r TaobaoXhotelHouseAddAPIRequest) GetBusiness() string

GetBusiness Business Getter

func (TaobaoXhotelHouseAddAPIRequest) GetCity

GetCity City Getter

func (TaobaoXhotelHouseAddAPIRequest) GetCountry

func (r TaobaoXhotelHouseAddAPIRequest) GetCountry() string

GetCountry Country Getter

func (TaobaoXhotelHouseAddAPIRequest) GetCreditCardTypes

func (r TaobaoXhotelHouseAddAPIRequest) GetCreditCardTypes() string

GetCreditCardTypes CreditCardTypes Getter

func (TaobaoXhotelHouseAddAPIRequest) GetDecorateTime

func (r TaobaoXhotelHouseAddAPIRequest) GetDecorateTime() string

GetDecorateTime DecorateTime Getter

func (TaobaoXhotelHouseAddAPIRequest) GetDescription

func (r TaobaoXhotelHouseAddAPIRequest) GetDescription() string

GetDescription Description Getter

func (TaobaoXhotelHouseAddAPIRequest) GetDistrict

func (r TaobaoXhotelHouseAddAPIRequest) GetDistrict() int64

GetDistrict District Getter

func (TaobaoXhotelHouseAddAPIRequest) GetDomestic

func (r TaobaoXhotelHouseAddAPIRequest) GetDomestic() int64

GetDomestic Domestic Getter

func (TaobaoXhotelHouseAddAPIRequest) GetExtend

func (r TaobaoXhotelHouseAddAPIRequest) GetExtend() string

GetExtend Extend Getter

func (TaobaoXhotelHouseAddAPIRequest) GetFloors

func (r TaobaoXhotelHouseAddAPIRequest) GetFloors() string

GetFloors Floors Getter

func (TaobaoXhotelHouseAddAPIRequest) GetHotelFacilities

func (r TaobaoXhotelHouseAddAPIRequest) GetHotelFacilities() string

GetHotelFacilities HotelFacilities Getter

func (TaobaoXhotelHouseAddAPIRequest) GetHotelPolicies

func (r TaobaoXhotelHouseAddAPIRequest) GetHotelPolicies() string

GetHotelPolicies HotelPolicies Getter

func (TaobaoXhotelHouseAddAPIRequest) GetLatitude

func (r TaobaoXhotelHouseAddAPIRequest) GetLatitude() string

GetLatitude Latitude Getter

func (TaobaoXhotelHouseAddAPIRequest) GetLongitude

func (r TaobaoXhotelHouseAddAPIRequest) GetLongitude() string

GetLongitude Longitude Getter

func (TaobaoXhotelHouseAddAPIRequest) GetName

GetName Name Getter

func (TaobaoXhotelHouseAddAPIRequest) GetNameE

GetNameE NameE Getter

func (TaobaoXhotelHouseAddAPIRequest) GetOpeningTime

func (r TaobaoXhotelHouseAddAPIRequest) GetOpeningTime() string

GetOpeningTime OpeningTime Getter

func (TaobaoXhotelHouseAddAPIRequest) GetOrbitTrack

func (r TaobaoXhotelHouseAddAPIRequest) GetOrbitTrack() string

GetOrbitTrack OrbitTrack Getter

func (TaobaoXhotelHouseAddAPIRequest) GetOuterId

func (r TaobaoXhotelHouseAddAPIRequest) GetOuterId() string

GetOuterId OuterId Getter

func (TaobaoXhotelHouseAddAPIRequest) GetOwnerInfo

func (r TaobaoXhotelHouseAddAPIRequest) GetOwnerInfo() string

GetOwnerInfo OwnerInfo Getter

func (TaobaoXhotelHouseAddAPIRequest) GetPics

GetPics Pics Getter

func (TaobaoXhotelHouseAddAPIRequest) GetPositionType

func (r TaobaoXhotelHouseAddAPIRequest) GetPositionType() string

GetPositionType PositionType Getter

func (TaobaoXhotelHouseAddAPIRequest) GetPostalCode

func (r TaobaoXhotelHouseAddAPIRequest) GetPostalCode() string

GetPostalCode PostalCode Getter

func (TaobaoXhotelHouseAddAPIRequest) GetProvince

func (r TaobaoXhotelHouseAddAPIRequest) GetProvince() int64

GetProvince Province Getter

func (TaobaoXhotelHouseAddAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoXhotelHouseAddAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelHouseAddAPIRequest) GetRealAddress

func (r TaobaoXhotelHouseAddAPIRequest) GetRealAddress() string

GetRealAddress RealAddress Getter

func (TaobaoXhotelHouseAddAPIRequest) GetRoomFacilities

func (r TaobaoXhotelHouseAddAPIRequest) GetRoomFacilities() string

GetRoomFacilities RoomFacilities Getter

func (TaobaoXhotelHouseAddAPIRequest) GetRooms

GetRooms Rooms Getter

func (TaobaoXhotelHouseAddAPIRequest) GetService

func (r TaobaoXhotelHouseAddAPIRequest) GetService() string

GetService Service Getter

func (TaobaoXhotelHouseAddAPIRequest) GetSettlementCurrency

func (r TaobaoXhotelHouseAddAPIRequest) GetSettlementCurrency() string

GetSettlementCurrency SettlementCurrency Getter

func (TaobaoXhotelHouseAddAPIRequest) GetShid

GetShid Shid Getter

func (TaobaoXhotelHouseAddAPIRequest) GetStar

GetStar Star Getter

func (TaobaoXhotelHouseAddAPIRequest) GetStatus

func (r TaobaoXhotelHouseAddAPIRequest) GetStatus() int64

GetStatus Status Getter

func (TaobaoXhotelHouseAddAPIRequest) GetSupplier

func (r TaobaoXhotelHouseAddAPIRequest) GetSupplier() string

GetSupplier Supplier Getter

func (TaobaoXhotelHouseAddAPIRequest) GetTel

GetTel Tel Getter

func (TaobaoXhotelHouseAddAPIRequest) GetUsedName

func (r TaobaoXhotelHouseAddAPIRequest) GetUsedName() string

GetUsedName UsedName Getter

func (TaobaoXhotelHouseAddAPIRequest) GetVendor

func (r TaobaoXhotelHouseAddAPIRequest) GetVendor() string

GetVendor Vendor Getter

func (*TaobaoXhotelHouseAddAPIRequest) Reset added in v1.3.4

func (r *TaobaoXhotelHouseAddAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelHouseAddAPIRequest) SetAddress

func (r *TaobaoXhotelHouseAddAPIRequest) SetAddress(_address string) error

SetAddress is Address Setter 酒店地址。长度不能超过120。不填入会导致不能自动匹配,此地址为下单前展示给用户地址

func (*TaobaoXhotelHouseAddAPIRequest) SetArroundDesc

func (r *TaobaoXhotelHouseAddAPIRequest) SetArroundDesc(_arroundDesc string) error

SetArroundDesc is ArroundDesc Setter 描述信息,inside: 内部描述,traffic:交通情况,arround:周边情况

func (*TaobaoXhotelHouseAddAPIRequest) SetBookingNotice

func (r *TaobaoXhotelHouseAddAPIRequest) SetBookingNotice(_bookingNotice string) error

SetBookingNotice is BookingNotice Setter 预订须知。json格式,示例:{"10001":"14:00","10002":"12:00","10005":"清洁福50元","10006":"请准备好您的身份证件,我需要登记 不允许吸烟"},预订须知,key取值参见 https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.vSVPks&docType=1&articleId=108416&previewCode=987A11324A278EF679E24102BA30D426 中type=10的分类

func (*TaobaoXhotelHouseAddAPIRequest) SetBrand

func (r *TaobaoXhotelHouseAddAPIRequest) SetBrand(_brand string) error

SetBrand is Brand Setter 酒店品牌。取值为数字。枚举如下(只给出top30,如果不满足,请联系去啊接口人): ruJia("1", "rujiakuaijie", "如家快捷", 1), qiTian("2", "7 days", "7天连锁", 1), hanTing("3", "Hanting Inns & Hotels", "汉庭酒店", 1), geLinHaoTai("4", "Green Tree Inn", "格林豪泰", 1), jinJiang("5", "Jinjiang Inn", "锦江之星", 1), su8("6", "Super 8", "速8", 1), moTai("7", "Motel", "莫泰", 1), zhouji("8", "InterContinental", "洲际", 4), budint("9", "Pod Inn", "布丁", 1), jiuJiu("10", "jiujiuliansuo", "99连锁", 1), piaoHome("11", "Piao Home Inn", "飘HOME", 1), juzi("12", "Orange Hotels", "桔子酒店", 1), yibai("13", "yibai", "易佰", 1), weiyena("14","weiyena","维也纳",2), huangguanjiari("15", "huangguanjiari", "皇冠假日", 4), xidawu("16", "xidawu", "喜达屋", 3), chengshiBJ("17", "chengshibianjie", "城市便捷", 1), shagnKeYou("18", "shagnkeyou", "尚客优", 1), jinjiang("19", "jinjiang", "锦江酒店", 3), wendemu("20", "Hawthorn Suites", "温德姆", 4), yibisi("21", "Ibis Hotels", "宜必思", 1), wanhao("22", "JM Hoteles", "万豪", 4), yijia365("23", "yijia365", "驿家365", 1), shoulv("24", "shoulvjituan", "首旅建国", 3), kaiyuan("25", "New Century Hotel", "开元大酒店", 4), yagao("26", "yagao", "雅高", 3), daisi("27", "daisi", "戴斯", 3), jinling("28", "jinlingliansuo", "金陵", 4), xianggelila("29", "Shangri-La City Hotels", "香格里拉", 4), xierdun("30", "Hilton", "希尔顿", 4),

func (*TaobaoXhotelHouseAddAPIRequest) SetBusiness

func (r *TaobaoXhotelHouseAddAPIRequest) SetBusiness(_business string) error

SetBusiness is Business Setter 商业区(圈)长度不超过20字

func (*TaobaoXhotelHouseAddAPIRequest) SetCity

func (r *TaobaoXhotelHouseAddAPIRequest) SetCity(_city int64) error

SetCity is City Setter 城市编码。参见:http://hotel.alitrip.com/area.htm,domestic为false时,输入对应国家的海外城市编码,可调用海外城市查询接口获取;(更新酒店时为可选)

func (*TaobaoXhotelHouseAddAPIRequest) SetCountry

func (r *TaobaoXhotelHouseAddAPIRequest) SetCountry(_country string) error

SetCountry is Country Setter domestic为0时,固定China; domestic为1时,必须传定义的海外国家编码值。参见:http://hotel.alitrip.com/area.htm

func (*TaobaoXhotelHouseAddAPIRequest) SetCreditCardTypes

func (r *TaobaoXhotelHouseAddAPIRequest) SetCreditCardTypes(_creditCardTypes string) error

SetCreditCardTypes is CreditCardTypes Setter 逗号分隔的字符串 1visa;2万事达卡;3美国运通卡;4发现卡;5大来卡;6JCB卡;7银联卡

func (*TaobaoXhotelHouseAddAPIRequest) SetDecorateTime

func (r *TaobaoXhotelHouseAddAPIRequest) SetDecorateTime(_decorateTime string) error

SetDecorateTime is DecorateTime Setter 装修时间,格式为2015-01-01装修时间

func (*TaobaoXhotelHouseAddAPIRequest) SetDescription

func (r *TaobaoXhotelHouseAddAPIRequest) SetDescription(_description string) error

SetDescription is Description Setter 酒店描述

func (*TaobaoXhotelHouseAddAPIRequest) SetDistrict

func (r *TaobaoXhotelHouseAddAPIRequest) SetDistrict(_district int64) error

SetDistrict is District Setter 区域(县级市)编码。参见:http://hotel.alitrip.com/area.htm

func (*TaobaoXhotelHouseAddAPIRequest) SetDomestic

func (r *TaobaoXhotelHouseAddAPIRequest) SetDomestic(_domestic int64) error

SetDomestic is Domestic Setter 是否国内酒店。0:国内;1:国外。默认是国内

func (*TaobaoXhotelHouseAddAPIRequest) SetExtend

func (r *TaobaoXhotelHouseAddAPIRequest) SetExtend(_extend string) error

SetExtend is Extend Setter 扩展信息的JSON。注:此字段的值需要ISV在接入前与淘宝沟通,且确认能解析

func (*TaobaoXhotelHouseAddAPIRequest) SetFloors

func (r *TaobaoXhotelHouseAddAPIRequest) SetFloors(_floors string) error

SetFloors is Floors Setter 楼层信息。

func (*TaobaoXhotelHouseAddAPIRequest) SetHotelFacilities

func (r *TaobaoXhotelHouseAddAPIRequest) SetHotelFacilities(_hotelFacilities string) error

SetHotelFacilities is HotelFacilities Setter 酒店设施。json格式示例值:{"24152":true,"24149":true,"24150":true},key取值参见 https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.vSVPks&docType=1&articleId=108416&previewCode=987A11324A278EF679E24102BA30D426 中type=20的分类

func (*TaobaoXhotelHouseAddAPIRequest) SetHotelPolicies

func (r *TaobaoXhotelHouseAddAPIRequest) SetHotelPolicies(_hotelPolicies string) error

SetHotelPolicies is HotelPolicies Setter 酒店入住政策,{"10003":"仅2岁以上儿童可随同入住"},key取值参见 https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.vSVPks&docType=1&articleId=108416&previewCode=987A11324A278EF679E24102BA30D426 中type=10、code=10003,value为文字描述

func (*TaobaoXhotelHouseAddAPIRequest) SetLatitude

func (r *TaobaoXhotelHouseAddAPIRequest) SetLatitude(_latitude string) error

SetLatitude is Latitude Setter 纬度

func (*TaobaoXhotelHouseAddAPIRequest) SetLongitude

func (r *TaobaoXhotelHouseAddAPIRequest) SetLongitude(_longitude string) error

SetLongitude is Longitude Setter 经度

func (*TaobaoXhotelHouseAddAPIRequest) SetName

func (r *TaobaoXhotelHouseAddAPIRequest) SetName(_name string) error

SetName is Name Setter 酒店名称

func (*TaobaoXhotelHouseAddAPIRequest) SetNameE

func (r *TaobaoXhotelHouseAddAPIRequest) SetNameE(_nameE string) error

SetNameE is NameE Setter 卖家酒店英文名称

func (*TaobaoXhotelHouseAddAPIRequest) SetOpeningTime

func (r *TaobaoXhotelHouseAddAPIRequest) SetOpeningTime(_openingTime string) error

SetOpeningTime is OpeningTime Setter 开业时间,格式为2015-01-01

func (*TaobaoXhotelHouseAddAPIRequest) SetOrbitTrack

func (r *TaobaoXhotelHouseAddAPIRequest) SetOrbitTrack(_orbitTrack string) error

SetOrbitTrack is OrbitTrack Setter 扩展信息的JSON。 orbitTrack 业务字段是指从飞猪到酒店说经过平台名以及方式的一个数组,按顺序,从飞猪,再经过若干平台,最后到酒店, platform是指定当前平台名,ways 是指通过哪种方式到该平台 其中,飞猪到下一个平台里, ways 字段只能是【直连】、【人工】两个方式之一; 从最后一个平台到酒店的ways字段只能是【电话】、【传真】、【人工】、【系统】之一; 第一个 飞猪平台 和 最后具体酒店是至少得填的

func (*TaobaoXhotelHouseAddAPIRequest) SetOuterId

func (r *TaobaoXhotelHouseAddAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 外部酒店ID, 这是卖家自己系统中的ID

func (*TaobaoXhotelHouseAddAPIRequest) SetOwnerInfo

func (r *TaobaoXhotelHouseAddAPIRequest) SetOwnerInfo(_ownerInfo string) error

SetOwnerInfo is OwnerInfo Setter 房东信息,{"outerId: 外部房东ID,": "xxxx", "nickName": "张三", "avatarUrl": "http://test.com/1.jpg", "telephone": "0571-1234567", "mobilePhone": "12334567678", "email":"test@test.com", "gender": "F", "avgConfirmTime": 30, "responseRate": 100, "description": "房东太懒,什么也没有填", "birthday":"2018-01-01", "qualifacation": 1, "bloodType": 1, "profession":"交互设计师", "country":"CN", "province":"420000", "city":"421200", "real_name_status": true, "validate":"1,2,4,8","confirmRate": 98} JSON字段描述: outerId: 商家房东ID, nickName: 房东昵称, avatarUrl: 房东头像地址, telephone: 固定电话, mobilePhone: 移动电话, email: 邮箱地址, gender: 性别 M男性, F女性, avgConfirmTime: 平均确认时间, 单位分钟, responseRate: 房东回复率, description: 房东介绍, birthday:生日,格式yyyy-MM-dd, qualifacation:学历,1:小学,2:初中,3:高中,4:本科,5:硕士,6:博士,7:博士后,0:其他, profession: 职业 country: 国家code province: 省code city: 城市code realNameStatus: 实名认证状态, true已认证 validate: 认证情况:1:身份验证,2:头像验证,4:手机验证,8:邮箱验证,二进制各位代表含义, bloodType: 血型: 0未知,1:A型,2:B型,3:AB型,4:O型;confirmRate: 订单接单率,0-100

func (*TaobaoXhotelHouseAddAPIRequest) SetPics

func (r *TaobaoXhotelHouseAddAPIRequest) SetPics(_pics string) error

SetPics is Pics Setter 酒店图片只支持远程图片,格式如下:[{"url":"http://123.jpg","ismain":"false","type":"大堂","attribute":"普通图"},{"url":"http://456.jpg","ismain":"true","type":"公共区域","attribute":"全景图"},{"url":"http://789.jpg","ismain":"false","type":"大堂","attribute":"普通图"}] 其中url是远程图片的访问地址(URL地址必须是合法的,否则会报错),main是是否为主图(主图只能有一个,如果有多个或者没有,则会报错),attribute表示图片属性,取值范围只能是:[普通图, 平面图, 全景图] ,type表示图片类型,取值范围只能是:[周边, 外观, 商务中心, 健身房, 其他, 会议室, 餐厅, 浴室, 客房, 公共区域, 娱乐设施, 大堂, 泳池],图片数量最多是能是10张。

func (*TaobaoXhotelHouseAddAPIRequest) SetPositionType

func (r *TaobaoXhotelHouseAddAPIRequest) SetPositionType(_positionType string) error

SetPositionType is PositionType Setter 坐标类型,现在支持:G – GoogleB – 百度A – 高德M – MapbarL – 灵图

func (*TaobaoXhotelHouseAddAPIRequest) SetPostalCode

func (r *TaobaoXhotelHouseAddAPIRequest) SetPostalCode(_postalCode string) error

SetPostalCode is PostalCode Setter 邮政编码。

func (*TaobaoXhotelHouseAddAPIRequest) SetProvince

func (r *TaobaoXhotelHouseAddAPIRequest) SetProvince(_province int64) error

SetProvince is Province Setter 省份编码。选填,不填入的时候已city字段为准.参见:http://hotel.alitrip.com/area.htm,domestic为false时默认为0

func (*TaobaoXhotelHouseAddAPIRequest) SetRealAddress

func (r *TaobaoXhotelHouseAddAPIRequest) SetRealAddress(_realAddress string) error

SetRealAddress is RealAddress Setter 用户下单之后�展示的详细地址

func (*TaobaoXhotelHouseAddAPIRequest) SetRoomFacilities

func (r *TaobaoXhotelHouseAddAPIRequest) SetRoomFacilities(_roomFacilities string) error

SetRoomFacilities is RoomFacilities Setter 房间设施。json格式示例值:{"24101": true,"24091": true,"24095": true},key-24101为属性编码,value-为"true"时表示有该属性,为文字时表示具体描述,key取值参见 https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.vSVPks&docType=1&articleId=108416&previewCode=987A11324A278EF679E24102BA30D426 中type=40的分类

func (*TaobaoXhotelHouseAddAPIRequest) SetRooms

func (r *TaobaoXhotelHouseAddAPIRequest) SetRooms(_rooms int64) error

SetRooms is Rooms Setter 房间数 0~9999之内的数字

func (*TaobaoXhotelHouseAddAPIRequest) SetService

func (r *TaobaoXhotelHouseAddAPIRequest) SetService(_service string) error

SetService is Service Setter 酒店服务。json格式示例值:{"24058":"可以接待外宾","24198":"叫醒服务","24200":"洗衣服务"},key-24101为属性编码,value-为"true"时表示有该属性,为文字时表示具体描述,key取值参见 https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.vSVPks&docType=1&articleId=108416&previewCode=987A11324A278EF679E24102BA30D426 中type=40的分类

func (*TaobaoXhotelHouseAddAPIRequest) SetSettlementCurrency

func (r *TaobaoXhotelHouseAddAPIRequest) SetSettlementCurrency(_settlementCurrency string) error

SetSettlementCurrency is SettlementCurrency Setter 结算过程中的结算币种符合,如需对接请联系飞猪技术支持,请谨慎使用

func (*TaobaoXhotelHouseAddAPIRequest) SetShid

func (r *TaobaoXhotelHouseAddAPIRequest) SetShid(_shid int64) error

SetShid is Shid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝酒店的匹配关系。目前尚未启动该字段。

func (*TaobaoXhotelHouseAddAPIRequest) SetStar

func (r *TaobaoXhotelHouseAddAPIRequest) SetStar(_star string) error

SetStar is Star Setter 酒店档次,星级。取值范围为1,1.5,2,2.5,3,3.5,4,4.5,5

func (*TaobaoXhotelHouseAddAPIRequest) SetStatus

func (r *TaobaoXhotelHouseAddAPIRequest) SetStatus(_status int64) error

SetStatus is Status Setter 数据状态 0:正常,-1:删除,-2:停售

func (*TaobaoXhotelHouseAddAPIRequest) SetSupplier

func (r *TaobaoXhotelHouseAddAPIRequest) SetSupplier(_supplier string) error

SetSupplier is Supplier Setter 供应商标识,需要提前开通权限,如果需要对接请联系技术支持,请谨慎使用

func (*TaobaoXhotelHouseAddAPIRequest) SetTel

SetTel is Tel Setter 酒店电话。格式:国家代码(最长6位)#区号(最长4位)#电话(最长20位)。国家代码提示:中国大陆0086、香港00852、澳门00853、台湾00886

func (*TaobaoXhotelHouseAddAPIRequest) SetUsedName

func (r *TaobaoXhotelHouseAddAPIRequest) SetUsedName(_usedName string) error

SetUsedName is UsedName Setter 酒店曾用名

func (*TaobaoXhotelHouseAddAPIRequest) SetVendor

func (r *TaobaoXhotelHouseAddAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用

type TaobaoXhotelHouseAddAPIResponse

type TaobaoXhotelHouseAddAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelHouseAddAPIResponseModel
}

TaobaoXhotelHouseAddAPIResponse 非标准民宿房源添加 API返回值 taobao.xhotel.house.add

添加酒店或更新酒店

func GetTaobaoXhotelHouseAddAPIResponse added in v1.3.4

func GetTaobaoXhotelHouseAddAPIResponse() *TaobaoXhotelHouseAddAPIResponse

GetTaobaoXhotelHouseAddAPIResponse 从 sync.Pool 获取 TaobaoXhotelHouseAddAPIResponse

func (*TaobaoXhotelHouseAddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelHouseAddAPIResponseModel

type TaobaoXhotelHouseAddAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_house_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 酒店信息
	Xhotel *XHotel `json:"xhotel,omitempty" xml:"xhotel,omitempty"`
}

TaobaoXhotelHouseAddAPIResponseModel is 非标准民宿房源添加 成功返回结果

func (*TaobaoXhotelHouseAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelHouseRoomtypeAddAPIRequest

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

TaobaoXhotelHouseRoomtypeAddAPIRequest 民宿房型信息添加 API请求 taobao.xhotel.house.roomtype.add

房型添加或更新

func GetTaobaoXhotelHouseRoomtypeAddAPIRequest added in v1.3.4

func GetTaobaoXhotelHouseRoomtypeAddAPIRequest() *TaobaoXhotelHouseRoomtypeAddAPIRequest

GetTaobaoXhotelHouseRoomtypeAddRequest 从 sync.Pool 获取 TaobaoXhotelHouseRoomtypeAddAPIRequest

func NewTaobaoXhotelHouseRoomtypeAddRequest

func NewTaobaoXhotelHouseRoomtypeAddRequest() *TaobaoXhotelHouseRoomtypeAddAPIRequest

NewTaobaoXhotelHouseRoomtypeAddRequest 初始化TaobaoXhotelHouseRoomtypeAddAPIRequest对象

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetApiMethodName

func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetApiParams

func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetArea

GetArea Area Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetBedInfo

GetBedInfo BedInfo Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetConnectionType

func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetConnectionType() int64

GetConnectionType ConnectionType Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetExtend

GetExtend Extend Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetFloor

GetFloor Floor Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetHasLandlord

func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetHasLandlord() int64

GetHasLandlord HasLandlord Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetHid

GetHid Hid Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetHouseModel

GetHouseModel HouseModel Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetHouseSize

GetHouseSize HouseSize Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetInternet

GetInternet Internet Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetMaxOccupancy

func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetMaxOccupancy() int64

GetMaxOccupancy MaxOccupancy Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetName

GetName Name Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetNameE

GetNameE NameE Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetOperator

GetOperator Operator Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetOutHid

GetOutHid OutHid Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetOuterId

GetOuterId OuterId Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetPics

GetPics Pics Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetRentSize

GetRentSize RentSize Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetRentType

GetRentType RentType Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetService

GetService Service Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetSrid

GetSrid Srid Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetStatus

GetStatus Status Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetVendor

GetVendor Vendor Getter

func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetWindowType

GetWindowType WindowType Getter

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetArea

SetArea is Area Setter 具体面积大小,请按照正确格式填写。两种格式,例如:40或者 10-20

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetBedInfo

func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetBedInfo(_bedInfo string) error

SetBedInfo is BedInfo Setter 床信息: bedType:床型, desc: 床型名, width:床宽, length:床长, bedNum: 床数。床型取值见链接https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.4zBOVn&docType=1&articleId=108347

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetConnectionType

func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetConnectionType(_connectionType int64) error

SetConnectionType is ConnectionType Setter 属性值为1: 含义是非直连房型

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetExtend

func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetExtend(_extend string) error

SetExtend is Extend Setter 不要使用

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetFloor

SetFloor is Floor Setter 客房在建筑的第几层,隔层为1-2层,4-5层,7-8层

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetHasLandlord

func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetHasLandlord(_hasLandlord int64) error

SetHasLandlord is HasLandlord Setter 是否和房东合住:0.不和房东合住;1.和房东合住;

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetHid

SetHid is Hid Setter (已废弃)请使用outHid

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetHouseModel

func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetHouseModel(_houseModel string) error

SetHouseModel is HouseModel Setter 房屋户型, bedroom: 室, bathroom: 卫, livingroom: 厅, study: 书房, balcony: 阳台,kitchen: 厨房

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetHouseSize

func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetHouseSize(_houseSize int64) error

SetHouseSize is HouseSize Setter 房屋面积

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetInternet

func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetInternet(_internet string) error

SetInternet is Internet Setter 宽带服务。A,B,C,D。分别代表: A:无宽带,B:免费宽带,C:收费宽带,D:部分收费宽带

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetMaxOccupancy

func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetMaxOccupancy(_maxOccupancy int64) error

SetMaxOccupancy is MaxOccupancy Setter 最大入住人数,默认2(1-99)

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetName

SetName is Name Setter 房型名称。不能超过30字

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetNameE

SetNameE is NameE Setter 卖家房型英文名称

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetOperator

func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetOperator(_operator string) error

SetOperator is Operator Setter 操作人信息

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetOutHid

func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetOutHid(_outHid string) error

SetOutHid is OutHid Setter (必传)商家酒店ID,指明该房型属于哪家酒店

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetOuterId

func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 卖家房型ID,不能重复建议格式是:酒店code_房型code

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetPics

SetPics is Pics Setter 房型图片只支持远程图片,格式如下:[{"url":"http://taobao.com/123.jpg","ismain":"true"},{"url":"http://taobao.com/456.jpg","ismain":"false"},{"url":"http://taobao.com/789.jpg","ismain":"false"}]其中url是远程图片的访问地址(URL地址必须是合法的,否则会报错),main是是否为主图。只能设置一张图片为主图。

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetRentSize

func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetRentSize(_rentSize int64) error

SetRentSize is RentSize Setter 出租面积,单位平方米

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetRentType

func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetRentType(_rentType int64) error

SetRentType is RentType Setter 出租类型:1.整租;2.单间;3.床位

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetService

func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetService(_service string) error

SetService is Service Setter 设施服务。JSON格式。 value值true有此服务,false没有。 bar:吧台,catv:有线电视,ddd:国内长途电话,idd:国际长途电话,toilet:独立卫生间,pubtoliet:公共卫生间。 如: {"bar":false,"catv":false,"ddd":false,"idd":false,"pubtoilet":false,"toilet":false}

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetSrid

SetSrid is Srid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝房型的匹配关系。目前尚未启动该字段。

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetStatus

func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetStatus(_status int64) error

SetStatus is Status Setter 数据状态 0:正常,-1:删除,-2:停售

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetVendor

func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 系统商,无申请不可使用

func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetWindowType

func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetWindowType(_windowType int64) error

SetWindowType is WindowType Setter 0:无窗/1:有窗/2:部分有窗/3:暗窗/4:部分暗窗

type TaobaoXhotelHouseRoomtypeAddAPIResponse

type TaobaoXhotelHouseRoomtypeAddAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelHouseRoomtypeAddAPIResponseModel
}

TaobaoXhotelHouseRoomtypeAddAPIResponse 民宿房型信息添加 API返回值 taobao.xhotel.house.roomtype.add

房型添加或更新

func GetTaobaoXhotelHouseRoomtypeAddAPIResponse added in v1.3.4

func GetTaobaoXhotelHouseRoomtypeAddAPIResponse() *TaobaoXhotelHouseRoomtypeAddAPIResponse

GetTaobaoXhotelHouseRoomtypeAddAPIResponse 从 sync.Pool 获取 TaobaoXhotelHouseRoomtypeAddAPIResponse

func (*TaobaoXhotelHouseRoomtypeAddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelHouseRoomtypeAddAPIResponseModel

type TaobaoXhotelHouseRoomtypeAddAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_house_roomtype_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 房型信息
	Xroomtype *XRoomType `json:"xroomtype,omitempty" xml:"xroomtype,omitempty"`
}

TaobaoXhotelHouseRoomtypeAddAPIResponseModel is 民宿房型信息添加 成功返回结果

func (*TaobaoXhotelHouseRoomtypeAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelIncrementInfoGetAPIRequest added in v1.2.5

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

TaobaoXhotelIncrementInfoGetAPIRequest 酒店状态增量查询接口 API请求 taobao.xhotel.increment.info.get

酒店状态增量查询接口

func GetTaobaoXhotelIncrementInfoGetAPIRequest added in v1.3.4

func GetTaobaoXhotelIncrementInfoGetAPIRequest() *TaobaoXhotelIncrementInfoGetAPIRequest

GetTaobaoXhotelIncrementInfoGetRequest 从 sync.Pool 获取 TaobaoXhotelIncrementInfoGetAPIRequest

func NewTaobaoXhotelIncrementInfoGetRequest added in v1.2.5

func NewTaobaoXhotelIncrementInfoGetRequest() *TaobaoXhotelIncrementInfoGetAPIRequest

NewTaobaoXhotelIncrementInfoGetRequest 初始化TaobaoXhotelIncrementInfoGetAPIRequest对象

func (TaobaoXhotelIncrementInfoGetAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoXhotelIncrementInfoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelIncrementInfoGetAPIRequest) GetApiParams added in v1.2.5

func (r TaobaoXhotelIncrementInfoGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelIncrementInfoGetAPIRequest) GetChangeType added in v1.2.5

GetChangeType ChangeType Getter

func (TaobaoXhotelIncrementInfoGetAPIRequest) GetCurrentPage added in v1.2.5

func (r TaobaoXhotelIncrementInfoGetAPIRequest) GetCurrentPage() int64

GetCurrentPage CurrentPage Getter

func (TaobaoXhotelIncrementInfoGetAPIRequest) GetGmtModified added in v1.2.5

GetGmtModified GmtModified Getter

func (TaobaoXhotelIncrementInfoGetAPIRequest) GetPageSize added in v1.2.5

GetPageSize PageSize Getter

func (TaobaoXhotelIncrementInfoGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelIncrementInfoGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelIncrementInfoGetAPIRequest) SetChangeType added in v1.2.5

func (r *TaobaoXhotelIncrementInfoGetAPIRequest) SetChangeType(_changeType int64) error

SetChangeType is ChangeType Setter 变化类别,1为酒店价格,0为酒店

func (*TaobaoXhotelIncrementInfoGetAPIRequest) SetCurrentPage added in v1.2.5

func (r *TaobaoXhotelIncrementInfoGetAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 分页参数:当前页数,从1开始计数。<br/>默认值:1

func (*TaobaoXhotelIncrementInfoGetAPIRequest) SetGmtModified added in v1.2.5

func (r *TaobaoXhotelIncrementInfoGetAPIRequest) SetGmtModified(_gmtModified string) error

SetGmtModified is GmtModified Setter 更新时间

func (*TaobaoXhotelIncrementInfoGetAPIRequest) SetPageSize added in v1.2.5

func (r *TaobaoXhotelIncrementInfoGetAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 分页参数:每页酒店数量。最小值1,最大值为1000。默认值:1000

type TaobaoXhotelIncrementInfoGetAPIResponse added in v1.2.5

type TaobaoXhotelIncrementInfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelIncrementInfoGetAPIResponseModel
}

TaobaoXhotelIncrementInfoGetAPIResponse 酒店状态增量查询接口 API返回值 taobao.xhotel.increment.info.get

酒店状态增量查询接口

func GetTaobaoXhotelIncrementInfoGetAPIResponse added in v1.3.4

func GetTaobaoXhotelIncrementInfoGetAPIResponse() *TaobaoXhotelIncrementInfoGetAPIResponse

GetTaobaoXhotelIncrementInfoGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelIncrementInfoGetAPIResponse

func (*TaobaoXhotelIncrementInfoGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelIncrementInfoGetAPIResponseModel added in v1.2.5

type TaobaoXhotelIncrementInfoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_increment_info_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 酒店列表
	Hotels []SHotel `json:"hotels,omitempty" xml:"hotels>s_hotel,omitempty"`
	// 酒店总数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
}

TaobaoXhotelIncrementInfoGetAPIResponseModel is 酒店状态增量查询接口 成功返回结果

func (*TaobaoXhotelIncrementInfoGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelItemSelectionSellerStatExposureAPIRequest

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

TaobaoXhotelItemSelectionSellerStatExposureAPIRequest 选品曝光趋势 API请求 taobao.xhotel.item.selection.seller.stat.exposure

用于提供给商家获取选品曝光趋势

func GetTaobaoXhotelItemSelectionSellerStatExposureAPIRequest added in v1.3.4

func GetTaobaoXhotelItemSelectionSellerStatExposureAPIRequest() *TaobaoXhotelItemSelectionSellerStatExposureAPIRequest

GetTaobaoXhotelItemSelectionSellerStatExposureRequest 从 sync.Pool 获取 TaobaoXhotelItemSelectionSellerStatExposureAPIRequest

func NewTaobaoXhotelItemSelectionSellerStatExposureRequest

func NewTaobaoXhotelItemSelectionSellerStatExposureRequest() *TaobaoXhotelItemSelectionSellerStatExposureAPIRequest

NewTaobaoXhotelItemSelectionSellerStatExposureRequest 初始化TaobaoXhotelItemSelectionSellerStatExposureAPIRequest对象

func (TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetDate

GetDate Date Getter

func (TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetHid

GetHid Hid Getter

func (TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetOutHid

GetOutHid OutHid Getter

func (TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetSupplier

GetSupplier Supplier Getter

func (TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) SetDate

SetDate is Date Setter 日期 默认为昨天

func (*TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) SetHid

SetHid is Hid Setter hid 默认为all

func (*TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) SetOutHid

SetOutHid is OutHid Setter 酒店编码

func (*TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) SetSupplier

SetSupplier is Supplier Setter 默认为all

func (*TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) SetVendor

SetVendor is Vendor Setter 默认为all

type TaobaoXhotelItemSelectionSellerStatExposureAPIResponse

type TaobaoXhotelItemSelectionSellerStatExposureAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelItemSelectionSellerStatExposureAPIResponseModel
}

TaobaoXhotelItemSelectionSellerStatExposureAPIResponse 选品曝光趋势 API返回值 taobao.xhotel.item.selection.seller.stat.exposure

用于提供给商家获取选品曝光趋势

func GetTaobaoXhotelItemSelectionSellerStatExposureAPIResponse added in v1.3.4

func GetTaobaoXhotelItemSelectionSellerStatExposureAPIResponse() *TaobaoXhotelItemSelectionSellerStatExposureAPIResponse

GetTaobaoXhotelItemSelectionSellerStatExposureAPIResponse 从 sync.Pool 获取 TaobaoXhotelItemSelectionSellerStatExposureAPIResponse

func (*TaobaoXhotelItemSelectionSellerStatExposureAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelItemSelectionSellerStatExposureAPIResponseModel

type TaobaoXhotelItemSelectionSellerStatExposureAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_item_selection_seller_stat_exposure_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoXhotelItemSelectionSellerStatExposureResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoXhotelItemSelectionSellerStatExposureAPIResponseModel is 选品曝光趋势 成功返回结果

func (*TaobaoXhotelItemSelectionSellerStatExposureAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelItemSelectionSellerStatExposureModule

type TaobaoXhotelItemSelectionSellerStatExposureModule struct {
	// 返回结果
	SellerStatExposureElementList []SellerStatExposureElementList `` /* 134-byte string literal not displayed */
}

TaobaoXhotelItemSelectionSellerStatExposureModule 结构体

func GetTaobaoXhotelItemSelectionSellerStatExposureModule added in v1.3.4

func GetTaobaoXhotelItemSelectionSellerStatExposureModule() *TaobaoXhotelItemSelectionSellerStatExposureModule

GetTaobaoXhotelItemSelectionSellerStatExposureModule() 从对象池中获取TaobaoXhotelItemSelectionSellerStatExposureModule

type TaobaoXhotelItemSelectionSellerStatExposureResult

type TaobaoXhotelItemSelectionSellerStatExposureResult struct {
	// 错误码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 接口信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 返回结果
	Module *TaobaoXhotelItemSelectionSellerStatExposureModule `json:"module,omitempty" xml:"module,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoXhotelItemSelectionSellerStatExposureResult 结构体

func GetTaobaoXhotelItemSelectionSellerStatExposureResult added in v1.3.4

func GetTaobaoXhotelItemSelectionSellerStatExposureResult() *TaobaoXhotelItemSelectionSellerStatExposureResult

GetTaobaoXhotelItemSelectionSellerStatExposureResult() 从对象池中获取TaobaoXhotelItemSelectionSellerStatExposureResult

type TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest

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

TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest 供应链选品热销标准酒店覆盖情况 API请求 taobao.xhotel.item.selection.seller.stat.hotshid

供应链选品热销标准酒店覆盖情况

func GetTaobaoXhotelItemSelectionSellerStatHotshidAPIRequest added in v1.3.4

func GetTaobaoXhotelItemSelectionSellerStatHotshidAPIRequest() *TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest

GetTaobaoXhotelItemSelectionSellerStatHotshidRequest 从 sync.Pool 获取 TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest

func NewTaobaoXhotelItemSelectionSellerStatHotshidRequest

func NewTaobaoXhotelItemSelectionSellerStatHotshidRequest() *TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest

NewTaobaoXhotelItemSelectionSellerStatHotshidRequest 初始化TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest对象

func (TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetDate

GetDate Date Getter

func (TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetHid

GetHid Hid Getter

func (TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetOutHid

GetOutHid OutHid Getter

func (TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetSupplier

GetSupplier Supplier Getter

func (TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) SetDate

SetDate is Date Setter 日期 默认为昨天

func (*TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) SetHid

SetHid is Hid Setter 酒店id 默认all

func (*TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) SetOutHid

SetOutHid is OutHid Setter 酒店编码

func (*TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) SetSupplier

SetSupplier is Supplier Setter supplier 默认all

func (*TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) SetVendor

SetVendor is Vendor Setter vendor 默认all

type TaobaoXhotelItemSelectionSellerStatHotshidAPIResponse

type TaobaoXhotelItemSelectionSellerStatHotshidAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelItemSelectionSellerStatHotshidAPIResponseModel
}

TaobaoXhotelItemSelectionSellerStatHotshidAPIResponse 供应链选品热销标准酒店覆盖情况 API返回值 taobao.xhotel.item.selection.seller.stat.hotshid

供应链选品热销标准酒店覆盖情况

func GetTaobaoXhotelItemSelectionSellerStatHotshidAPIResponse added in v1.3.4

func GetTaobaoXhotelItemSelectionSellerStatHotshidAPIResponse() *TaobaoXhotelItemSelectionSellerStatHotshidAPIResponse

GetTaobaoXhotelItemSelectionSellerStatHotshidAPIResponse 从 sync.Pool 获取 TaobaoXhotelItemSelectionSellerStatHotshidAPIResponse

func (*TaobaoXhotelItemSelectionSellerStatHotshidAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelItemSelectionSellerStatHotshidAPIResponseModel

type TaobaoXhotelItemSelectionSellerStatHotshidAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_item_selection_seller_stat_hotshid_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoXhotelItemSelectionSellerStatHotshidResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoXhotelItemSelectionSellerStatHotshidAPIResponseModel is 供应链选品热销标准酒店覆盖情况 成功返回结果

func (*TaobaoXhotelItemSelectionSellerStatHotshidAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelItemSelectionSellerStatHotshidModule

type TaobaoXhotelItemSelectionSellerStatHotshidModule struct {
	// 热销标准酒店中卖家覆盖的数量
	CoveredHidAmount string `json:"covered_hid_amount,omitempty" xml:"covered_hid_amount,omitempty"`
	// 热销标准酒店中卖家可售的酒店数量
	CanSaleHidAmount string `json:"can_sale_hid_amount,omitempty" xml:"can_sale_hid_amount,omitempty"`
}

TaobaoXhotelItemSelectionSellerStatHotshidModule 结构体

func GetTaobaoXhotelItemSelectionSellerStatHotshidModule added in v1.3.4

func GetTaobaoXhotelItemSelectionSellerStatHotshidModule() *TaobaoXhotelItemSelectionSellerStatHotshidModule

GetTaobaoXhotelItemSelectionSellerStatHotshidModule() 从对象池中获取TaobaoXhotelItemSelectionSellerStatHotshidModule

type TaobaoXhotelItemSelectionSellerStatHotshidResult

type TaobaoXhotelItemSelectionSellerStatHotshidResult struct {
	// 错误码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 返回结构
	Module *TaobaoXhotelItemSelectionSellerStatHotshidModule `json:"module,omitempty" xml:"module,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoXhotelItemSelectionSellerStatHotshidResult 结构体

func GetTaobaoXhotelItemSelectionSellerStatHotshidResult added in v1.3.4

func GetTaobaoXhotelItemSelectionSellerStatHotshidResult() *TaobaoXhotelItemSelectionSellerStatHotshidResult

GetTaobaoXhotelItemSelectionSellerStatHotshidResult() 从对象池中获取TaobaoXhotelItemSelectionSellerStatHotshidResult

type TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest

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

TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest 商家数据-选品整体概况 API请求 taobao.xhotel.item.selection.seller.stat.summary

商家数据-选品整体概况

func GetTaobaoXhotelItemSelectionSellerStatSummaryAPIRequest added in v1.3.4

func GetTaobaoXhotelItemSelectionSellerStatSummaryAPIRequest() *TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest

GetTaobaoXhotelItemSelectionSellerStatSummaryRequest 从 sync.Pool 获取 TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest

func NewTaobaoXhotelItemSelectionSellerStatSummaryRequest

func NewTaobaoXhotelItemSelectionSellerStatSummaryRequest() *TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest

NewTaobaoXhotelItemSelectionSellerStatSummaryRequest 初始化TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest对象

func (TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetDate

GetDate Date Getter

func (TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetHid

GetHid Hid Getter

func (TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetOutHid

GetOutHid OutHid Getter

func (TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetSupplier

GetSupplier Supplier Getter

func (TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) SetDate

SetDate is Date Setter 日期 默认为昨天

func (*TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) SetHid

SetHid is Hid Setter hid 默认为all

func (*TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) SetOutHid

SetOutHid is OutHid Setter 外部酒店编码

func (*TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) SetSupplier

SetSupplier is Supplier Setter supplier 默认为all

func (*TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) SetVendor

SetVendor is Vendor Setter vendor 默认为all

type TaobaoXhotelItemSelectionSellerStatSummaryAPIResponse

type TaobaoXhotelItemSelectionSellerStatSummaryAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelItemSelectionSellerStatSummaryAPIResponseModel
}

TaobaoXhotelItemSelectionSellerStatSummaryAPIResponse 商家数据-选品整体概况 API返回值 taobao.xhotel.item.selection.seller.stat.summary

商家数据-选品整体概况

func GetTaobaoXhotelItemSelectionSellerStatSummaryAPIResponse added in v1.3.4

func GetTaobaoXhotelItemSelectionSellerStatSummaryAPIResponse() *TaobaoXhotelItemSelectionSellerStatSummaryAPIResponse

GetTaobaoXhotelItemSelectionSellerStatSummaryAPIResponse 从 sync.Pool 获取 TaobaoXhotelItemSelectionSellerStatSummaryAPIResponse

func (*TaobaoXhotelItemSelectionSellerStatSummaryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelItemSelectionSellerStatSummaryAPIResponseModel

type TaobaoXhotelItemSelectionSellerStatSummaryAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_item_selection_seller_stat_summary_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回参数
	Result *HsfResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoXhotelItemSelectionSellerStatSummaryAPIResponseModel is 商家数据-选品整体概况 成功返回结果

func (*TaobaoXhotelItemSelectionSellerStatSummaryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelMultiplerateDeleteAPIRequest

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

TaobaoXhotelMultiplerateDeleteAPIRequest 复杂价格删除 API请求 taobao.xhotel.multiplerate.delete

酒店产品库rate删除

func GetTaobaoXhotelMultiplerateDeleteAPIRequest added in v1.3.4

func GetTaobaoXhotelMultiplerateDeleteAPIRequest() *TaobaoXhotelMultiplerateDeleteAPIRequest

GetTaobaoXhotelMultiplerateDeleteRequest 从 sync.Pool 获取 TaobaoXhotelMultiplerateDeleteAPIRequest

func NewTaobaoXhotelMultiplerateDeleteRequest

func NewTaobaoXhotelMultiplerateDeleteRequest() *TaobaoXhotelMultiplerateDeleteAPIRequest

NewTaobaoXhotelMultiplerateDeleteRequest 初始化TaobaoXhotelMultiplerateDeleteAPIRequest对象

func (TaobaoXhotelMultiplerateDeleteAPIRequest) GetApiMethodName

func (r TaobaoXhotelMultiplerateDeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelMultiplerateDeleteAPIRequest) GetApiParams

func (r TaobaoXhotelMultiplerateDeleteAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelMultiplerateDeleteAPIRequest) GetLengthofstay

func (r TaobaoXhotelMultiplerateDeleteAPIRequest) GetLengthofstay() int64

GetLengthofstay Lengthofstay Getter

func (TaobaoXhotelMultiplerateDeleteAPIRequest) GetOccupancy

GetOccupancy Occupancy Getter

func (TaobaoXhotelMultiplerateDeleteAPIRequest) GetOutRid

GetOutRid OutRid Getter

func (TaobaoXhotelMultiplerateDeleteAPIRequest) GetRateplanCode

GetRateplanCode RateplanCode Getter

func (TaobaoXhotelMultiplerateDeleteAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelMultiplerateDeleteAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelMultiplerateDeleteAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelMultiplerateDeleteAPIRequest) SetLengthofstay

func (r *TaobaoXhotelMultiplerateDeleteAPIRequest) SetLengthofstay(_lengthofstay int64) error

SetLengthofstay is Lengthofstay Setter 入住人数

func (*TaobaoXhotelMultiplerateDeleteAPIRequest) SetOccupancy

func (r *TaobaoXhotelMultiplerateDeleteAPIRequest) SetOccupancy(_occupancy int64) error

SetOccupancy is Occupancy Setter 连住天数

func (*TaobaoXhotelMultiplerateDeleteAPIRequest) SetOutRid

SetOutRid is OutRid Setter 商家房型编码

func (*TaobaoXhotelMultiplerateDeleteAPIRequest) SetRateplanCode

func (r *TaobaoXhotelMultiplerateDeleteAPIRequest) SetRateplanCode(_rateplanCode string) error

SetRateplanCode is RateplanCode Setter 商家价格政策编码

func (*TaobaoXhotelMultiplerateDeleteAPIRequest) SetVendor

SetVendor is Vendor Setter 渠道,和推送房价所使用的渠道保持一致

type TaobaoXhotelMultiplerateDeleteAPIResponse

type TaobaoXhotelMultiplerateDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelMultiplerateDeleteAPIResponseModel
}

TaobaoXhotelMultiplerateDeleteAPIResponse 复杂价格删除 API返回值 taobao.xhotel.multiplerate.delete

酒店产品库rate删除

func GetTaobaoXhotelMultiplerateDeleteAPIResponse added in v1.3.4

func GetTaobaoXhotelMultiplerateDeleteAPIResponse() *TaobaoXhotelMultiplerateDeleteAPIResponse

GetTaobaoXhotelMultiplerateDeleteAPIResponse 从 sync.Pool 获取 TaobaoXhotelMultiplerateDeleteAPIResponse

func (*TaobaoXhotelMultiplerateDeleteAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelMultiplerateDeleteAPIResponseModel

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

TaobaoXhotelMultiplerateDeleteAPIResponseModel is 复杂价格删除 成功返回结果

func (*TaobaoXhotelMultiplerateDeleteAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelMultiplerateDeleteResultSet

type TaobaoXhotelMultiplerateDeleteResultSet struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 房型编码_房价编码_入住人数_连住天数
	OutRidRateplanCodeOccupancyLengthofstay string `json:"out_rid_rateplan_code_occupancy_lengthofstay,omitempty" xml:"out_rid_rateplan_code_occupancy_lengthofstay,omitempty"`
}

TaobaoXhotelMultiplerateDeleteResultSet 结构体

func GetTaobaoXhotelMultiplerateDeleteResultSet added in v1.3.4

func GetTaobaoXhotelMultiplerateDeleteResultSet() *TaobaoXhotelMultiplerateDeleteResultSet

GetTaobaoXhotelMultiplerateDeleteResultSet() 从对象池中获取TaobaoXhotelMultiplerateDeleteResultSet

type TaobaoXhotelMultiplerateGetAPIRequest

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

TaobaoXhotelMultiplerateGetAPIRequest 复杂房价查询接口 API请求 taobao.xhotel.multiplerate.get

查询复杂房价,支持通过入住人数,连住天数,商品信息,房价信息查询

func GetTaobaoXhotelMultiplerateGetAPIRequest added in v1.3.4

func GetTaobaoXhotelMultiplerateGetAPIRequest() *TaobaoXhotelMultiplerateGetAPIRequest

GetTaobaoXhotelMultiplerateGetRequest 从 sync.Pool 获取 TaobaoXhotelMultiplerateGetAPIRequest

func NewTaobaoXhotelMultiplerateGetRequest

func NewTaobaoXhotelMultiplerateGetRequest() *TaobaoXhotelMultiplerateGetAPIRequest

NewTaobaoXhotelMultiplerateGetRequest 初始化TaobaoXhotelMultiplerateGetAPIRequest对象

func (TaobaoXhotelMultiplerateGetAPIRequest) GetApiMethodName

func (r TaobaoXhotelMultiplerateGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelMultiplerateGetAPIRequest) GetApiParams

func (r TaobaoXhotelMultiplerateGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelMultiplerateGetAPIRequest) GetGid

GetGid Gid Getter

func (TaobaoXhotelMultiplerateGetAPIRequest) GetNod

GetNod Nod Getter

func (TaobaoXhotelMultiplerateGetAPIRequest) GetNop

GetNop Nop Getter

func (TaobaoXhotelMultiplerateGetAPIRequest) GetOutRid

GetOutRid OutRid Getter

func (TaobaoXhotelMultiplerateGetAPIRequest) GetRatePlanCode

func (r TaobaoXhotelMultiplerateGetAPIRequest) GetRatePlanCode() string

GetRatePlanCode RatePlanCode Getter

func (TaobaoXhotelMultiplerateGetAPIRequest) GetRatePlanId

func (r TaobaoXhotelMultiplerateGetAPIRequest) GetRatePlanId() int64

GetRatePlanId RatePlanId Getter

func (TaobaoXhotelMultiplerateGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelMultiplerateGetAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelMultiplerateGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelMultiplerateGetAPIRequest) SetGid

SetGid is Gid Setter 废弃,使用out_rid

func (*TaobaoXhotelMultiplerateGetAPIRequest) SetNod

SetNod is Nod Setter 连住天数(范围1~10)

func (*TaobaoXhotelMultiplerateGetAPIRequest) SetNop

SetNop is Nop Setter 入住人数(范围1~10)

func (*TaobaoXhotelMultiplerateGetAPIRequest) SetOutRid

func (r *TaobaoXhotelMultiplerateGetAPIRequest) SetOutRid(_outRid string) error

SetOutRid is OutRid Setter 卖家的房型code

func (*TaobaoXhotelMultiplerateGetAPIRequest) SetRatePlanCode

func (r *TaobaoXhotelMultiplerateGetAPIRequest) SetRatePlanCode(_ratePlanCode string) error

SetRatePlanCode is RatePlanCode Setter 卖家的房价code

func (*TaobaoXhotelMultiplerateGetAPIRequest) SetRatePlanId

func (r *TaobaoXhotelMultiplerateGetAPIRequest) SetRatePlanId(_ratePlanId int64) error

SetRatePlanId is RatePlanId Setter 废弃,使用rate_plan_code

func (*TaobaoXhotelMultiplerateGetAPIRequest) SetVendor

func (r *TaobaoXhotelMultiplerateGetAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 系统商,一般不填写,使用须申请

type TaobaoXhotelMultiplerateGetAPIResponse

type TaobaoXhotelMultiplerateGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelMultiplerateGetAPIResponseModel
}

TaobaoXhotelMultiplerateGetAPIResponse 复杂房价查询接口 API返回值 taobao.xhotel.multiplerate.get

查询复杂房价,支持通过入住人数,连住天数,商品信息,房价信息查询

func GetTaobaoXhotelMultiplerateGetAPIResponse added in v1.3.4

func GetTaobaoXhotelMultiplerateGetAPIResponse() *TaobaoXhotelMultiplerateGetAPIResponse

GetTaobaoXhotelMultiplerateGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelMultiplerateGetAPIResponse

func (*TaobaoXhotelMultiplerateGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelMultiplerateGetAPIResponseModel

type TaobaoXhotelMultiplerateGetAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_multiplerate_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 复杂价格返回结果类
	Rates []MultipleRate `json:"rates,omitempty" xml:"rates>multiple_rate,omitempty"`
}

TaobaoXhotelMultiplerateGetAPIResponseModel is 复杂房价查询接口 成功返回结果

func (*TaobaoXhotelMultiplerateGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelMultiplerateUpdateAPIRequest

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

TaobaoXhotelMultiplerateUpdateAPIRequest 复杂价格推送接口(全量更新) API请求 taobao.xhotel.multiplerate.update

酒店产品库复杂rate(多人价,连住价等)更新 同时完全涵盖taobao.xhotel.rate.update的功能

func GetTaobaoXhotelMultiplerateUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelMultiplerateUpdateAPIRequest() *TaobaoXhotelMultiplerateUpdateAPIRequest

GetTaobaoXhotelMultiplerateUpdateRequest 从 sync.Pool 获取 TaobaoXhotelMultiplerateUpdateAPIRequest

func NewTaobaoXhotelMultiplerateUpdateRequest

func NewTaobaoXhotelMultiplerateUpdateRequest() *TaobaoXhotelMultiplerateUpdateAPIRequest

NewTaobaoXhotelMultiplerateUpdateRequest 初始化TaobaoXhotelMultiplerateUpdateAPIRequest对象

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetApiMethodName

func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetApiParams

func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetBreakfast added in v1.2.9

GetBreakfast Breakfast Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetBreakfastCal added in v1.2.9

GetBreakfastCal BreakfastCal Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetCancelPolicy added in v1.2.9

GetCancelPolicy CancelPolicy Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetCancelPolicyCal added in v1.2.9

func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetCancelPolicyCal() string

GetCancelPolicyCal CancelPolicyCal Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetChildnum

GetChildnum Childnum Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetCurrencyCode

GetCurrencyCode CurrencyCode Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetGid

GetGid Gid Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetHotelXitemInfos added in v1.2.9

func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetHotelXitemInfos() string

GetHotelXitemInfos HotelXitemInfos Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetInfantnum

GetInfantnum Infantnum Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetInventoryPrice

func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetInventoryPrice() string

GetInventoryPrice InventoryPrice Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetLengthofstay

func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetLengthofstay() int64

GetLengthofstay Lengthofstay Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetLockEndTime

GetLockEndTime LockEndTime Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetLockStartTime

func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetLockStartTime() string

GetLockStartTime LockStartTime Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetName

GetName Name Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetOccupancy

GetOccupancy Occupancy Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetOnlineBookingBindingInfo

func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetOnlineBookingBindingInfo() string

GetOnlineBookingBindingInfo OnlineBookingBindingInfo Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetOutRid

GetOutRid OutRid Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetRatePlanCode

GetRatePlanCode RatePlanCode Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetRateSwitchCal

func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetRateSwitchCal() string

GetRateSwitchCal RateSwitchCal Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetRpid

GetRpid Rpid Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetStatus

GetStatus Status Getter

func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetBreakfast added in v1.2.9

func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetBreakfast(_breakfast int64) error

SetBreakfast is Breakfast Setter -1,状态早餐,和入住人数有关系,几人价就是几份早餐;0:不含早1:含单早2:含双早N:含N早(1-99可选);(添加RP时为必须)

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetBreakfastCal added in v1.2.9

func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetBreakfastCal(_breakfastCal string) error

SetBreakfastCal is BreakfastCal Setter 在更新rateplan时,同时新增或更新早餐日历。 date:早餐政策属于具体哪一天 breakfast_count:这一天早餐的数量。>=0,<=99 如果date为空,那么会去读取startDate和endDate(格式都为"yyyy-MM-dd"),即早餐正常属于一个时间段。-1为状态早餐,和最终绑定的几人价有关,如果是一人价那么就是我一份早餐,二人价就是两份早餐。请注意,该字段仅能维护从当前时间开始,10年以内的数据,如果超过10年,会报错。

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetCancelPolicy added in v1.2.9

func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetCancelPolicy(_cancelPolicy string) error

SetCancelPolicy is CancelPolicy Setter 退订政策字段,是个json串,参考示例值设置改字段的值。允许变更/取消:在XX年XX月XX日XX时前取消收取Y%的手续费,100>Y>=0允许变更/取消:在入住前X小时前取消收取Y%的手续费,100>Y>=0(不超过10条)。1.表示任意退{"cancelPolicyType":1};2.表示不能退{"cancelPolicyType":2};4.从入住当天24点往前推X小时前取消收取Y%手续费,否则不可取消{"cancelPolicyType":4,"policyInfo":{"48":10,"24":20}}表示,从入住日24点往前推提前至少48小时取消,收取10%的手续费,从入住日24点往前推提前至少24小时取消,收取20%的手续费;5.从24点往前推多少小时可退{"cancelPolicyType":5,"policyInfo":{"timeBefore":6}}表示从入住日24点往前推至少6个小时即入住日18点前可免费取消;6.从入住日24点往前推,至少提前小时数扣取首晚房费{"cancelPolicyType":6,"policyInfo":{"14":1}}表示入住日24点往前推14小时,即入住日10点前取消收取首晚房费。 注意:支付类型为预付,那么可以使用所有的退订类型,但是必须是非担保;支付类型为面付或者信任住并且是无担保,那么只能使用1类型的退订;支付类型为面付或者信任住并且为担保,那么只能使用2,5类型的退订;支付类型为在线预约,那么只能使用1,2,5类型的退改。如果支付类型是面付或者信任住并且为担保,那么如果传了4或者6的退订,那么会强制转成类型5。支持多段时间、多间夜扣款

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetCancelPolicyCal added in v1.2.9

func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetCancelPolicyCal(_cancelPolicyCal string) error

SetCancelPolicyCal is CancelPolicyCal Setter 在新增rateplan的同时新增取消政策日历。 json格式。 date:日历的某一天,格式为"yyyy-MM-dd" cancel_policy:日历某一天的价格政策。格式和限制同cancel_policy。 如果date为空,那么会读取startDate和endDate(格式都为"yyyy-MM-dd"),即取消政策属于某一个时间段。 注意:支付类型为预付,那么可以使用所有的退订类型,但是必须是非担保;支付类型为面付或者信任住并且是无担保,那么只能使用1类型的退订;支付类型为面付或者信任住并且为担保,那么只能使用2,5类型的退订;支付类型为在线预约,那么只能使用1,2,5类型的退改。如果支付类型是面付或者信任住并且为担保,那么如果传了4或者6的退订,那么会强制转成类型5。请注意,该字段仅能维护从当前时间开始,10年以内的数据,如果超过10年,会报错。

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetChildnum

func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetChildnum(_childnum int64) error

SetChildnum is Childnum Setter 儿童人数

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetCurrencyCode

func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetCurrencyCode(_currencyCode string) error

SetCurrencyCode is CurrencyCode Setter 币种.CNY为人民币

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetGid

SetGid is Gid Setter 废弃,使用out_rid

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetHotelXitemInfos added in v1.2.9

func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetHotelXitemInfos(_hotelXitemInfos string) error

SetHotelXitemInfos is HotelXitemInfos Setter

是一个JSONArray 字符串 actionType  操作类型 BOUND: 绑定,UNBOUND:解绑; outXcode  元素编码 ; subTypeCode x 元素子类型, 参考:https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.9MjTPx&docType=1&articleId=121402&previewCode=787DFB0895F05C90D167579A04BD32E3; status: 状态是否生效0 失效, 1生效; shortName x元素标题; time 服务时间段(18:00-21:00); value 商品价值(100 - 999900 单位分); itemDesc 商品使用说明; dimensionType 附加产品使用维度   1:每间房维度 2:每间夜维度; picList 图片格式化信息 [{"url":"https://xxxxx/","isMain":true}]; adultCount 成人数量 (1-99); childCount 儿童数量 (0-99); itemLimit 使用限制, 文字描述,200 字内; checkInStart 入住生效开始时间; checkInEnd 入住生效结束时间; bookStartTime 预定生效开始时间; bookStartEnd 预定生效截止时间; featureDetail 详细信息json字符串 [{"detailName":"免费寄存","detailValue":[""],"type":"single","priority":1}]

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetInfantnum

func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetInfantnum(_infantnum int64) error

SetInfantnum is Infantnum Setter 婴儿人数

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetInventoryPrice

func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetInventoryPrice(_inventoryPrice string) error

SetInventoryPrice is InventoryPrice Setter 价格和库存信息。 A:use_room_inventory:是否使用房型共享库存,可选值 true false ,false时:使用房价专有库存,此时要求价格和库存必填。 B:date 日期必须为 T---T+180 日内的日期(T为当天),且不能重复 C:price 价格 int类型 取值范围1-99999999 单位为分 D:quota 库存 int 类型 取值范围 0-999(数量库存) 60000(状态库存关) 61000(状态库存开) tax为税费,addBed为加床价,addPerson为加人价1,若连住大于1,price请推送总价

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetLengthofstay

func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetLengthofstay(_lengthofstay int64) error

SetLengthofstay is Lengthofstay Setter 连住天数(范围1~5)

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetLockEndTime

func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetLockEndTime(_lockEndTime string) error

SetLockEndTime is LockEndTime Setter 锁库存截止时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetLockStartTime

func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetLockStartTime(_lockStartTime string) error

SetLockStartTime is LockStartTime Setter 锁库存开始时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetName

SetName is Name Setter 废弃

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetOccupancy

func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetOccupancy(_occupancy int64) error

SetOccupancy is Occupancy Setter 入住人数(范围1~10)

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetOnlineBookingBindingInfo

func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error

SetOnlineBookingBindingInfo is OnlineBookingBindingInfo Setter 在线预约关联关系推送,priceRuleNumber:加价规则序号

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetOutRid

SetOutRid is OutRid Setter 卖家房型ID

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetRatePlanCode

func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetRatePlanCode(_ratePlanCode string) error

SetRatePlanCode is RatePlanCode Setter 卖家自己系统的房价code

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetRateSwitchCal

func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetRateSwitchCal(_rateSwitchCal string) error

SetRateSwitchCal is RateSwitchCal Setter 价格开关 date:开关状态控制的那一天;rate_status:开关状态(0,关闭;1,打开); checkin_status:入住开关(0,关闭;1,打开);checkout_status:离店开关 (0,关闭;1,打开)

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetRpid

SetRpid is Rpid Setter 废弃,使用rate_plan_code

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetStatus

SetStatus is Status Setter 价格状态。0为不可售;1为可售,默认可售

func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetVendor

SetVendor is Vendor Setter 系统商,一般不填写,使用须申请

type TaobaoXhotelMultiplerateUpdateAPIResponse

type TaobaoXhotelMultiplerateUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelMultiplerateUpdateAPIResponseModel
}

TaobaoXhotelMultiplerateUpdateAPIResponse 复杂价格推送接口(全量更新) API返回值 taobao.xhotel.multiplerate.update

酒店产品库复杂rate(多人价,连住价等)更新 同时完全涵盖taobao.xhotel.rate.update的功能

func GetTaobaoXhotelMultiplerateUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelMultiplerateUpdateAPIResponse() *TaobaoXhotelMultiplerateUpdateAPIResponse

GetTaobaoXhotelMultiplerateUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelMultiplerateUpdateAPIResponse

func (*TaobaoXhotelMultiplerateUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelMultiplerateUpdateAPIResponseModel

type TaobaoXhotelMultiplerateUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_multiplerate_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// gid-rpid-occupancy-lengthofstay<br/>商品ID-房价ID-入住人数-连住天数
	GidAndRpidOccupancyLengthofstay string `json:"gid_and_rpid_occupancy_lengthofstay,omitempty" xml:"gid_and_rpid_occupancy_lengthofstay,omitempty"`
}

TaobaoXhotelMultiplerateUpdateAPIResponseModel is 复杂价格推送接口(全量更新) 成功返回结果

func (*TaobaoXhotelMultiplerateUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelMultipleratesIncrementAPIRequest

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

TaobaoXhotelMultipleratesIncrementAPIRequest 复杂房价推送接口(批量增量) API请求 taobao.xhotel.multiplerates.increment

复杂房价批量增量更新,只会更新指定日期的信息 完全涵盖了taobao.xhotel.rates.increment接口的功能

func GetTaobaoXhotelMultipleratesIncrementAPIRequest added in v1.3.4

func GetTaobaoXhotelMultipleratesIncrementAPIRequest() *TaobaoXhotelMultipleratesIncrementAPIRequest

GetTaobaoXhotelMultipleratesIncrementRequest 从 sync.Pool 获取 TaobaoXhotelMultipleratesIncrementAPIRequest

func NewTaobaoXhotelMultipleratesIncrementRequest

func NewTaobaoXhotelMultipleratesIncrementRequest() *TaobaoXhotelMultipleratesIncrementAPIRequest

NewTaobaoXhotelMultipleratesIncrementRequest 初始化TaobaoXhotelMultipleratesIncrementAPIRequest对象

func (TaobaoXhotelMultipleratesIncrementAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelMultipleratesIncrementAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelMultipleratesIncrementAPIRequest) GetRateQuotaMap

GetRateQuotaMap RateQuotaMap Getter

func (TaobaoXhotelMultipleratesIncrementAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelMultipleratesIncrementAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelMultipleratesIncrementAPIRequest) SetRateQuotaMap

func (r *TaobaoXhotelMultipleratesIncrementAPIRequest) SetRateQuotaMap(_rateQuotaMap string) error

SetRateQuotaMap is RateQuotaMap Setter 批量全量修改价格和库存信息,会以请求参数中的数据覆盖掉原来报价库存数据。A:useRoomInventory:是否使用room级别共享库存,可选值 true false 2、false时:使用rate级别私有库存,此时如果填写了库存,那么会写入库存表。B:date 日期必须为 T---T+180 日内的日期(T为当天),且不能重复C:basePrice 基本价格 int类型 取值范围1-99999999 单位为分D:quota 库存 int 类型 取值范围 0-999(数量库存) 支持状态库存, 60000(状态库存关) 61000(状态库存开);E:occupancy为入住人数,范围为1~10;F:lengthofStay为连住天数,范围为1~10;G:taxAndFee为总税费;H:addBedPrice为加床价;I:addPersonPrice为加人价;J:rateSwitch为开关房状态,1为开房,0为关房。K:支持outRoomId和ratePlanCode来更新报价库存。L:childnum为儿童人数。M:infantnum为婴儿人数。N:ckinSwitch为入住开关(0,关闭;1,打开) O:ckoutSwitch为离店开关 (0,关闭;1,打开) P:lockStartTime锁库存开始时间 Q:lockEndTime锁库存截止时间。childRule:儿童价规则。其中calculateType为计算类型1为固定金额,2为房费的百分比;ageRange为适用儿童的年龄范围,格式为:2~10,即适用2到10岁的儿童;childRange适用几位儿童,格式为1即适用1位儿童;feeType费用类型,如果calculateType=1那么feeType存一固定金额,单位为分,如果calculateType=2那么feeType存房费的百分比,格式为0.2。childAges:儿童年龄范围,格式为2~10,意味着所有儿童价格规则中的适用儿童年龄必须在这个范围之内。

type TaobaoXhotelMultipleratesIncrementAPIResponse

type TaobaoXhotelMultipleratesIncrementAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelMultipleratesIncrementAPIResponseModel
}

TaobaoXhotelMultipleratesIncrementAPIResponse 复杂房价推送接口(批量增量) API返回值 taobao.xhotel.multiplerates.increment

复杂房价批量增量更新,只会更新指定日期的信息 完全涵盖了taobao.xhotel.rates.increment接口的功能

func GetTaobaoXhotelMultipleratesIncrementAPIResponse added in v1.3.4

func GetTaobaoXhotelMultipleratesIncrementAPIResponse() *TaobaoXhotelMultipleratesIncrementAPIResponse

GetTaobaoXhotelMultipleratesIncrementAPIResponse 从 sync.Pool 获取 TaobaoXhotelMultipleratesIncrementAPIResponse

func (*TaobaoXhotelMultipleratesIncrementAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelMultipleratesIncrementAPIResponseModel

type TaobaoXhotelMultipleratesIncrementAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_multiplerates_increment_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 商品id-房价id-入住人数-连住天数  的集合
	GidAndRpidOccupancyLengthofstay []string `json:"gid_and_rpid_occupancy_lengthofstay,omitempty" xml:"gid_and_rpid_occupancy_lengthofstay>string,omitempty"`
	// 批量更新的时候,如果部分更新失败,会展示部分失败的原因
	Warnmessage string `json:"warnmessage,omitempty" xml:"warnmessage,omitempty"`
}

TaobaoXhotelMultipleratesIncrementAPIResponseModel is 复杂房价推送接口(批量增量) 成功返回结果

func (*TaobaoXhotelMultipleratesIncrementAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelMultipleratesUpdateAPIRequest

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

TaobaoXhotelMultipleratesUpdateAPIRequest 复杂价格推送接口(批量全量) API请求 taobao.xhotel.multiplerates.update

批量更新复杂价格 涵盖了taobao.xhotel.rates.update的功能

func GetTaobaoXhotelMultipleratesUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelMultipleratesUpdateAPIRequest() *TaobaoXhotelMultipleratesUpdateAPIRequest

GetTaobaoXhotelMultipleratesUpdateRequest 从 sync.Pool 获取 TaobaoXhotelMultipleratesUpdateAPIRequest

func NewTaobaoXhotelMultipleratesUpdateRequest

func NewTaobaoXhotelMultipleratesUpdateRequest() *TaobaoXhotelMultipleratesUpdateAPIRequest

NewTaobaoXhotelMultipleratesUpdateRequest 初始化TaobaoXhotelMultipleratesUpdateAPIRequest对象

func (TaobaoXhotelMultipleratesUpdateAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelMultipleratesUpdateAPIRequest) GetApiParams

func (r TaobaoXhotelMultipleratesUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelMultipleratesUpdateAPIRequest) GetRateQuotaMap

GetRateQuotaMap RateQuotaMap Getter

func (TaobaoXhotelMultipleratesUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelMultipleratesUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelMultipleratesUpdateAPIRequest) SetRateQuotaMap

func (r *TaobaoXhotelMultipleratesUpdateAPIRequest) SetRateQuotaMap(_rateQuotaMap string) error

SetRateQuotaMap is RateQuotaMap Setter 批量全量修改价格和库存信息,会以请求参数中的数据覆盖掉原来报价库存数据。A:useRoomInventory:是否使用room级别共享库存,可选值 true false 2、false时:使用rate级别私有库存,此时如果填写了库存,那么会写入库存表。B:date 日期必须为 T---T+180 日内的日期(T为当天),且不能重复C:basePrice 基本价格 int类型 取值范围1-99999999 单位为分D:quota 库存 int 类型 取值范围 0-999(数量库存) 支持状态库存, 60000(状态库存关) 61000(状态库存开);E:occupancy为入住人数,范围为1~10;F:lengthofStay为连住天数,范围为1~10;G:taxAndFee为总税费;H:addBedPrice为加床价;I:addPersonPrice为加人价;J:rateSwitch为开关房状态,1为开房,0为关房。K:支持outRoomId和ratePlanCode来更新报价库存。L:childnum为儿童人数。M:infantnum为婴儿人数。N:ckinSwitch为入住开关(0,关闭;1,打开) O:ckoutSwitch为离店开关 (0,关闭;1,打开) P:lockStartTime锁库存开始时间 Q:lockEndTime锁库存截止时间。 childRule:儿童价规则。其中calculateType为计算类型1为固定金额,2为房费的百分比;ageRange为适用儿童的年龄范围,格式为:2~10,即适用2到10岁的儿童;childRange适用几位儿童,格式为1即适用1位儿童;feeType费用类型,如果calculateType=1那么feeType存一固定金额,单位为分,如果calculateType=2那么feeType存房费的百分比,格式为0.2。childAges:儿童年龄范围,格式为2~10,意味着所有儿童价格规则中的适用儿童年龄必须在这个范围之内。rateCalDataList:存储日历化早餐和退改。breakfastCal、cancelPolicyCal格式与原rp格式相同。

type TaobaoXhotelMultipleratesUpdateAPIResponse

type TaobaoXhotelMultipleratesUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelMultipleratesUpdateAPIResponseModel
}

TaobaoXhotelMultipleratesUpdateAPIResponse 复杂价格推送接口(批量全量) API返回值 taobao.xhotel.multiplerates.update

批量更新复杂价格 涵盖了taobao.xhotel.rates.update的功能

func GetTaobaoXhotelMultipleratesUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelMultipleratesUpdateAPIResponse() *TaobaoXhotelMultipleratesUpdateAPIResponse

GetTaobaoXhotelMultipleratesUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelMultipleratesUpdateAPIResponse

func (*TaobaoXhotelMultipleratesUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelMultipleratesUpdateAPIResponseModel

type TaobaoXhotelMultipleratesUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_multiplerates_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 商品id,房价id,入住人数,连住天数
	GidAndRpidOccupancyLengthofstay []string `json:"gid_and_rpid_occupancy_lengthofstay,omitempty" xml:"gid_and_rpid_occupancy_lengthofstay>string,omitempty"`
	// 批量更新的时候,如果部分更新失败,会展示部分失败的原因
	Warnmessage string `json:"warnmessage,omitempty" xml:"warnmessage,omitempty"`
}

TaobaoXhotelMultipleratesUpdateAPIResponseModel is 复杂价格推送接口(批量全量) 成功返回结果

func (*TaobaoXhotelMultipleratesUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelQuotaUpdateAPIRequest

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

TaobaoXhotelQuotaUpdateAPIRequest 库存更新接口 API请求 taobao.xhotel.quota.update

库存更新接口

func GetTaobaoXhotelQuotaUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelQuotaUpdateAPIRequest() *TaobaoXhotelQuotaUpdateAPIRequest

GetTaobaoXhotelQuotaUpdateRequest 从 sync.Pool 获取 TaobaoXhotelQuotaUpdateAPIRequest

func NewTaobaoXhotelQuotaUpdateRequest

func NewTaobaoXhotelQuotaUpdateRequest() *TaobaoXhotelQuotaUpdateAPIRequest

NewTaobaoXhotelQuotaUpdateRequest 初始化TaobaoXhotelQuotaUpdateAPIRequest对象

func (TaobaoXhotelQuotaUpdateAPIRequest) GetApiMethodName

func (r TaobaoXhotelQuotaUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelQuotaUpdateAPIRequest) GetApiParams

func (r TaobaoXhotelQuotaUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelQuotaUpdateAPIRequest) GetDates

GetDates Dates Getter

func (TaobaoXhotelQuotaUpdateAPIRequest) GetGid

GetGid Gid Getter

func (TaobaoXhotelQuotaUpdateAPIRequest) GetQuota

GetQuota Quota Getter

func (TaobaoXhotelQuotaUpdateAPIRequest) GetQuotaNumType

func (r TaobaoXhotelQuotaUpdateAPIRequest) GetQuotaNumType() int64

GetQuotaNumType QuotaNumType Getter

func (TaobaoXhotelQuotaUpdateAPIRequest) GetQuotaType

func (r TaobaoXhotelQuotaUpdateAPIRequest) GetQuotaType() int64

GetQuotaType QuotaType Getter

func (TaobaoXhotelQuotaUpdateAPIRequest) GetRateId

GetRateId RateId Getter

func (TaobaoXhotelQuotaUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelQuotaUpdateAPIRequest) GetUseRoomInventory

func (r TaobaoXhotelQuotaUpdateAPIRequest) GetUseRoomInventory() bool

GetUseRoomInventory UseRoomInventory Getter

func (*TaobaoXhotelQuotaUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelQuotaUpdateAPIRequest) SetDates

func (r *TaobaoXhotelQuotaUpdateAPIRequest) SetDates(_dates []string) error

SetDates is Dates Setter 修改日期列表

func (*TaobaoXhotelQuotaUpdateAPIRequest) SetGid

SetGid is Gid Setter room的gid

func (*TaobaoXhotelQuotaUpdateAPIRequest) SetQuota

func (r *TaobaoXhotelQuotaUpdateAPIRequest) SetQuota(_quota int64) error

SetQuota is Quota Setter 增减的值

func (*TaobaoXhotelQuotaUpdateAPIRequest) SetQuotaNumType

func (r *TaobaoXhotelQuotaUpdateAPIRequest) SetQuotaNumType(_quotaNumType int64) error

SetQuotaNumType is QuotaNumType Setter 数量类型, 2:增加房量,3:减少房量

func (*TaobaoXhotelQuotaUpdateAPIRequest) SetQuotaType

func (r *TaobaoXhotelQuotaUpdateAPIRequest) SetQuotaType(_quotaType int64) error

SetQuotaType is QuotaType Setter 库存类型,0: 普通库存, 1: 普通保留房库存, 2:协议保留房库存

func (*TaobaoXhotelQuotaUpdateAPIRequest) SetRateId

func (r *TaobaoXhotelQuotaUpdateAPIRequest) SetRateId(_rateId int64) error

SetRateId is RateId Setter rate的id, rate库存时必填

func (*TaobaoXhotelQuotaUpdateAPIRequest) SetUseRoomInventory

func (r *TaobaoXhotelQuotaUpdateAPIRequest) SetUseRoomInventory(_useRoomInventory bool) error

SetUseRoomInventory is UseRoomInventory Setter 是否使用room库存,true使用,false不使用

type TaobaoXhotelQuotaUpdateAPIResponse

type TaobaoXhotelQuotaUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelQuotaUpdateAPIResponseModel
}

TaobaoXhotelQuotaUpdateAPIResponse 库存更新接口 API返回值 taobao.xhotel.quota.update

库存更新接口

func GetTaobaoXhotelQuotaUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelQuotaUpdateAPIResponse() *TaobaoXhotelQuotaUpdateAPIResponse

GetTaobaoXhotelQuotaUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelQuotaUpdateAPIResponse

func (*TaobaoXhotelQuotaUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelQuotaUpdateAPIResponseModel

type TaobaoXhotelQuotaUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_quota_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 更新失败补充描述消息
	WarnMessage string `json:"warn_message,omitempty" xml:"warn_message,omitempty"`
	// errorCode
	BizErrorCode string `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 更新失败错误信息
	BizErrorMsg string `json:"biz_error_msg,omitempty" xml:"biz_error_msg,omitempty"`
}

TaobaoXhotelQuotaUpdateAPIResponseModel is 库存更新接口 成功返回结果

func (*TaobaoXhotelQuotaUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateAddAPIRequest

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

TaobaoXhotelRateAddAPIRequest 新增专享房价 API请求 taobao.xhotel.rate.add

酒店产品库rate添加

func GetTaobaoXhotelRateAddAPIRequest added in v1.3.4

func GetTaobaoXhotelRateAddAPIRequest() *TaobaoXhotelRateAddAPIRequest

GetTaobaoXhotelRateAddRequest 从 sync.Pool 获取 TaobaoXhotelRateAddAPIRequest

func NewTaobaoXhotelRateAddRequest

func NewTaobaoXhotelRateAddRequest() *TaobaoXhotelRateAddAPIRequest

NewTaobaoXhotelRateAddRequest 初始化TaobaoXhotelRateAddAPIRequest对象

func (TaobaoXhotelRateAddAPIRequest) GetAddBed

func (r TaobaoXhotelRateAddAPIRequest) GetAddBed() int64

GetAddBed AddBed Getter

func (TaobaoXhotelRateAddAPIRequest) GetAddBedPrice

func (r TaobaoXhotelRateAddAPIRequest) GetAddBedPrice() int64

GetAddBedPrice AddBedPrice Getter

func (TaobaoXhotelRateAddAPIRequest) GetApiMethodName

func (r TaobaoXhotelRateAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRateAddAPIRequest) GetApiParams

func (r TaobaoXhotelRateAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRateAddAPIRequest) GetCurrencyCode

func (r TaobaoXhotelRateAddAPIRequest) GetCurrencyCode() int64

GetCurrencyCode CurrencyCode Getter

func (TaobaoXhotelRateAddAPIRequest) GetCurrencyCodeName

func (r TaobaoXhotelRateAddAPIRequest) GetCurrencyCodeName() string

GetCurrencyCodeName CurrencyCodeName Getter

func (TaobaoXhotelRateAddAPIRequest) GetGid

GetGid Gid Getter

func (TaobaoXhotelRateAddAPIRequest) GetHotelXitemInfos added in v1.2.9

func (r TaobaoXhotelRateAddAPIRequest) GetHotelXitemInfos() string

GetHotelXitemInfos HotelXitemInfos Getter

func (TaobaoXhotelRateAddAPIRequest) GetInventoryPrice

func (r TaobaoXhotelRateAddAPIRequest) GetInventoryPrice() string

GetInventoryPrice InventoryPrice Getter

func (TaobaoXhotelRateAddAPIRequest) GetJishiquerenTag

func (r TaobaoXhotelRateAddAPIRequest) GetJishiquerenTag() int64

GetJishiquerenTag JishiquerenTag Getter

func (TaobaoXhotelRateAddAPIRequest) GetLockEndTime

func (r TaobaoXhotelRateAddAPIRequest) GetLockEndTime() string

GetLockEndTime LockEndTime Getter

func (TaobaoXhotelRateAddAPIRequest) GetLockStartTime

func (r TaobaoXhotelRateAddAPIRequest) GetLockStartTime() string

GetLockStartTime LockStartTime Getter

func (TaobaoXhotelRateAddAPIRequest) GetName

GetName Name Getter

func (TaobaoXhotelRateAddAPIRequest) GetOnlineBookingBindingInfo

func (r TaobaoXhotelRateAddAPIRequest) GetOnlineBookingBindingInfo() string

GetOnlineBookingBindingInfo OnlineBookingBindingInfo Getter

func (TaobaoXhotelRateAddAPIRequest) GetOperator

func (r TaobaoXhotelRateAddAPIRequest) GetOperator() string

GetOperator Operator Getter

func (TaobaoXhotelRateAddAPIRequest) GetOutRid

func (r TaobaoXhotelRateAddAPIRequest) GetOutRid() string

GetOutRid OutRid Getter

func (TaobaoXhotelRateAddAPIRequest) GetRateSwitchCal

func (r TaobaoXhotelRateAddAPIRequest) GetRateSwitchCal() string

GetRateSwitchCal RateSwitchCal Getter

func (TaobaoXhotelRateAddAPIRequest) GetRateplanCode

func (r TaobaoXhotelRateAddAPIRequest) GetRateplanCode() string

GetRateplanCode RateplanCode Getter

func (TaobaoXhotelRateAddAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoXhotelRateAddAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelRateAddAPIRequest) GetRpid

GetRpid Rpid Getter

func (TaobaoXhotelRateAddAPIRequest) GetShijiaTag

func (r TaobaoXhotelRateAddAPIRequest) GetShijiaTag() int64

GetShijiaTag ShijiaTag Getter

func (TaobaoXhotelRateAddAPIRequest) GetSource

func (r TaobaoXhotelRateAddAPIRequest) GetSource() int64

GetSource Source Getter

func (TaobaoXhotelRateAddAPIRequest) GetStatus

func (r TaobaoXhotelRateAddAPIRequest) GetStatus() int64

GetStatus Status Getter

func (TaobaoXhotelRateAddAPIRequest) GetVendor

func (r TaobaoXhotelRateAddAPIRequest) GetVendor() string

GetVendor Vendor Getter

func (*TaobaoXhotelRateAddAPIRequest) Reset added in v1.3.4

func (r *TaobaoXhotelRateAddAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRateAddAPIRequest) SetAddBed

func (r *TaobaoXhotelRateAddAPIRequest) SetAddBed(_addBed int64) error

SetAddBed is AddBed Setter 额外服务-是否可以加床,1:不可以,2:可以

func (*TaobaoXhotelRateAddAPIRequest) SetAddBedPrice

func (r *TaobaoXhotelRateAddAPIRequest) SetAddBedPrice(_addBedPrice int64) error

SetAddBedPrice is AddBedPrice Setter 额外服务-加床价格

func (*TaobaoXhotelRateAddAPIRequest) SetCurrencyCode

func (r *TaobaoXhotelRateAddAPIRequest) SetCurrencyCode(_currencyCode int64) error

SetCurrencyCode is CurrencyCode Setter 币种(仅支持CNY)

func (*TaobaoXhotelRateAddAPIRequest) SetCurrencyCodeName

func (r *TaobaoXhotelRateAddAPIRequest) SetCurrencyCodeName(_currencyCodeName string) error

SetCurrencyCodeName is CurrencyCodeName Setter 币种信息,默认是CNY, @see com.taobao.trip.hotel.model.enums.CurrencyEnum

func (*TaobaoXhotelRateAddAPIRequest) SetGid

func (r *TaobaoXhotelRateAddAPIRequest) SetGid(_gid int64) error

SetGid is Gid Setter gid酒店商品id

func (*TaobaoXhotelRateAddAPIRequest) SetHotelXitemInfos added in v1.2.9

func (r *TaobaoXhotelRateAddAPIRequest) SetHotelXitemInfos(_hotelXitemInfos string) error

SetHotelXitemInfos is HotelXitemInfos Setter

是一个JSONArray 字符串 actionType  操作类型 BOUND: 绑定,UNBOUND:解绑; outXcode  元素编码 ; subTypeCode x 元素子类型, 参考:https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.9MjTPx&docType=1&articleId=121402&previewCode=787DFB0895F05C90D167579A04BD32E3; status: 状态是否生效0 失效, 1生效; shortName x元素标题; time 服务时间段(18:00-21:00); value 商品价值(100 - 999900 单位分); itemDesc 商品使用说明; dimensionType 附加产品使用维度   1:每间房维度 2:每间夜维度; picList 图片格式化信息 [{"url":"https://xxxxx/","isMain":true}]; adultCount 成人数量 (1-99); childCount 儿童数量 (0-99); itemLimit 使用限制, 文字描述,200 字内; checkInStart 入住生效开始时间; checkInEnd 入住生效结束时间; bookStartTime 预定生效开始时间; bookStartEnd 预定生效截止时间; featureDetail 详细信息json字符串 [{"detailName":"免费寄存","detailValue":[""],"type":"single","priority":1}]

func (*TaobaoXhotelRateAddAPIRequest) SetInventoryPrice

func (r *TaobaoXhotelRateAddAPIRequest) SetInventoryPrice(_inventoryPrice string) error

SetInventoryPrice is InventoryPrice Setter 价格和库存信息。A:use_room_inventory:是否使用room级别共享库存,可选值 true false 1、true时:使用room级别共享库存(即使用gid对应的XRoom中的inventory),rate_quota_map 的json 数据中不需要录入库存信息,录入的库存信息会忽略 2、false时:使用rate级别私有库存,此时要求价格和库存必填。B:date 日期必须为 T---T+90 日内的日期(T为当天),且不能重复C:price 价格 int类型 取值范围1-99999999 单位为分D:quota 库存 int 类型 取值范围 0-999(数量库存) 60000(状态库存关) 61000(状态库存开)

func (*TaobaoXhotelRateAddAPIRequest) SetJishiquerenTag

func (r *TaobaoXhotelRateAddAPIRequest) SetJishiquerenTag(_jishiquerenTag int64) error

SetJishiquerenTag is JishiquerenTag Setter “即时确认”标识,此类商品预订后直接发货。

func (*TaobaoXhotelRateAddAPIRequest) SetLockEndTime

func (r *TaobaoXhotelRateAddAPIRequest) SetLockEndTime(_lockEndTime string) error

SetLockEndTime is LockEndTime Setter 锁库存截止时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)

func (*TaobaoXhotelRateAddAPIRequest) SetLockStartTime

func (r *TaobaoXhotelRateAddAPIRequest) SetLockStartTime(_lockStartTime string) error

SetLockStartTime is LockStartTime Setter 锁库存开始时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)

func (*TaobaoXhotelRateAddAPIRequest) SetName

func (r *TaobaoXhotelRateAddAPIRequest) SetName(_name string) error

SetName is Name Setter 名称

func (*TaobaoXhotelRateAddAPIRequest) SetOnlineBookingBindingInfo

func (r *TaobaoXhotelRateAddAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error

SetOnlineBookingBindingInfo is OnlineBookingBindingInfo Setter 在线预约关联关系推送,priceRuleNumber:加价规则序号

func (*TaobaoXhotelRateAddAPIRequest) SetOperator

func (r *TaobaoXhotelRateAddAPIRequest) SetOperator(_operator string) error

SetOperator is Operator Setter 操作人信息

func (*TaobaoXhotelRateAddAPIRequest) SetOutRid

func (r *TaobaoXhotelRateAddAPIRequest) SetOutRid(_outRid string) error

SetOutRid is OutRid Setter 卖家房型ID, 这是卖家自己系统中的房型ID,注意:需按照规则组合

func (*TaobaoXhotelRateAddAPIRequest) SetRateSwitchCal

func (r *TaobaoXhotelRateAddAPIRequest) SetRateSwitchCal(_rateSwitchCal string) error

SetRateSwitchCal is RateSwitchCal Setter 在添加新rate时,同时添加rate开关日历。可以只设定想设定的某些天,可以不连续。date:开关状态控制的是那一天rate_status:开关状态。0,关闭;1,打开

func (*TaobaoXhotelRateAddAPIRequest) SetRateplanCode

func (r *TaobaoXhotelRateAddAPIRequest) SetRateplanCode(_rateplanCode string) error

SetRateplanCode is RateplanCode Setter 卖家自己系统的Code,简称RateCode

func (*TaobaoXhotelRateAddAPIRequest) SetRpid

func (r *TaobaoXhotelRateAddAPIRequest) SetRpid(_rpid int64) error

SetRpid is Rpid Setter 酒店RPID

func (*TaobaoXhotelRateAddAPIRequest) SetShijiaTag

func (r *TaobaoXhotelRateAddAPIRequest) SetShijiaTag(_shijiaTag int64) error

SetShijiaTag is ShijiaTag Setter 实价有房标签(RP支付类型为全额支付)

func (*TaobaoXhotelRateAddAPIRequest) SetSource

func (r *TaobaoXhotelRateAddAPIRequest) SetSource(_source int64) error

SetSource is Source Setter 默认是2 ,

func (*TaobaoXhotelRateAddAPIRequest) SetStatus

func (r *TaobaoXhotelRateAddAPIRequest) SetStatus(_status int64) error

SetStatus is Status Setter 1是开,0是关, 不填默认是开, rate状态

func (*TaobaoXhotelRateAddAPIRequest) SetVendor

func (r *TaobaoXhotelRateAddAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 用于标示该宝贝的售卖渠道信息,允许同一个卖家酒店房型在淘宝系统发布多个售卖渠道的宝贝的价格。

type TaobaoXhotelRateAddAPIResponse

type TaobaoXhotelRateAddAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRateAddAPIResponseModel
}

TaobaoXhotelRateAddAPIResponse 新增专享房价 API返回值 taobao.xhotel.rate.add

酒店产品库rate添加

func GetTaobaoXhotelRateAddAPIResponse added in v1.3.4

func GetTaobaoXhotelRateAddAPIResponse() *TaobaoXhotelRateAddAPIResponse

GetTaobaoXhotelRateAddAPIResponse 从 sync.Pool 获取 TaobaoXhotelRateAddAPIResponse

func (*TaobaoXhotelRateAddAPIResponse) Reset added in v1.3.4

func (m *TaobaoXhotelRateAddAPIResponse) Reset()

Reset 清空结构体

type TaobaoXhotelRateAddAPIResponseModel

type TaobaoXhotelRateAddAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_rate_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// results
	Results []string `json:"results,omitempty" xml:"results>string,omitempty"`
	// 酒店商品id-酒店rpID
	GidAndRpid string `json:"gid_and_rpid,omitempty" xml:"gid_and_rpid,omitempty"`
	// warnMessage
	WarnMessage string `json:"warn_message,omitempty" xml:"warn_message,omitempty"`
}

TaobaoXhotelRateAddAPIResponseModel is 新增专享房价 成功返回结果

func (*TaobaoXhotelRateAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateDeleteAPIRequest

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

TaobaoXhotelRateDeleteAPIRequest rate删除接口 API请求 taobao.xhotel.rate.delete

酒店产品库rate删除

func GetTaobaoXhotelRateDeleteAPIRequest added in v1.3.4

func GetTaobaoXhotelRateDeleteAPIRequest() *TaobaoXhotelRateDeleteAPIRequest

GetTaobaoXhotelRateDeleteRequest 从 sync.Pool 获取 TaobaoXhotelRateDeleteAPIRequest

func NewTaobaoXhotelRateDeleteRequest

func NewTaobaoXhotelRateDeleteRequest() *TaobaoXhotelRateDeleteAPIRequest

NewTaobaoXhotelRateDeleteRequest 初始化TaobaoXhotelRateDeleteAPIRequest对象

func (TaobaoXhotelRateDeleteAPIRequest) GetApiMethodName

func (r TaobaoXhotelRateDeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRateDeleteAPIRequest) GetApiParams

func (r TaobaoXhotelRateDeleteAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRateDeleteAPIRequest) GetOutRid

GetOutRid OutRid Getter

func (TaobaoXhotelRateDeleteAPIRequest) GetRateplanCode

func (r TaobaoXhotelRateDeleteAPIRequest) GetRateplanCode() string

GetRateplanCode RateplanCode Getter

func (TaobaoXhotelRateDeleteAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelRateDeleteAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelRateDeleteAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRateDeleteAPIRequest) SetOutRid

func (r *TaobaoXhotelRateDeleteAPIRequest) SetOutRid(_outRid string) error

SetOutRid is OutRid Setter 商家房型ID

func (*TaobaoXhotelRateDeleteAPIRequest) SetRateplanCode

func (r *TaobaoXhotelRateDeleteAPIRequest) SetRateplanCode(_rateplanCode string) error

SetRateplanCode is RateplanCode Setter 商家价格政策编码

func (*TaobaoXhotelRateDeleteAPIRequest) SetVendor

func (r *TaobaoXhotelRateDeleteAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 系统商,一般不用填写,使用须申请

type TaobaoXhotelRateDeleteAPIResponse

type TaobaoXhotelRateDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRateDeleteAPIResponseModel
}

TaobaoXhotelRateDeleteAPIResponse rate删除接口 API返回值 taobao.xhotel.rate.delete

酒店产品库rate删除

func GetTaobaoXhotelRateDeleteAPIResponse added in v1.3.4

func GetTaobaoXhotelRateDeleteAPIResponse() *TaobaoXhotelRateDeleteAPIResponse

GetTaobaoXhotelRateDeleteAPIResponse 从 sync.Pool 获取 TaobaoXhotelRateDeleteAPIResponse

func (*TaobaoXhotelRateDeleteAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateDeleteAPIResponseModel

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

TaobaoXhotelRateDeleteAPIResponseModel is rate删除接口 成功返回结果

func (*TaobaoXhotelRateDeleteAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateDeleteResultSet

type TaobaoXhotelRateDeleteResultSet struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// rateid-房型id-房价id
	RateidGidRpid string `json:"rateid_gid_rpid,omitempty" xml:"rateid_gid_rpid,omitempty"`
}

TaobaoXhotelRateDeleteResultSet 结构体

func GetTaobaoXhotelRateDeleteResultSet added in v1.3.4

func GetTaobaoXhotelRateDeleteResultSet() *TaobaoXhotelRateDeleteResultSet

GetTaobaoXhotelRateDeleteResultSet() 从对象池中获取TaobaoXhotelRateDeleteResultSet

type TaobaoXhotelRateGetAPIRequest

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

TaobaoXhotelRateGetAPIRequest 酒店产品库rate查询 API请求 taobao.xhotel.rate.get

酒店产品库rate查询

func GetTaobaoXhotelRateGetAPIRequest added in v1.3.4

func GetTaobaoXhotelRateGetAPIRequest() *TaobaoXhotelRateGetAPIRequest

GetTaobaoXhotelRateGetRequest 从 sync.Pool 获取 TaobaoXhotelRateGetAPIRequest

func NewTaobaoXhotelRateGetRequest

func NewTaobaoXhotelRateGetRequest() *TaobaoXhotelRateGetAPIRequest

NewTaobaoXhotelRateGetRequest 初始化TaobaoXhotelRateGetAPIRequest对象

func (TaobaoXhotelRateGetAPIRequest) GetApiMethodName

func (r TaobaoXhotelRateGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRateGetAPIRequest) GetApiParams

func (r TaobaoXhotelRateGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRateGetAPIRequest) GetGid

GetGid Gid Getter

func (TaobaoXhotelRateGetAPIRequest) GetOutRid

func (r TaobaoXhotelRateGetAPIRequest) GetOutRid() string

GetOutRid OutRid Getter

func (TaobaoXhotelRateGetAPIRequest) GetRateId

func (r TaobaoXhotelRateGetAPIRequest) GetRateId() int64

GetRateId RateId Getter

func (TaobaoXhotelRateGetAPIRequest) GetRateplanCode

func (r TaobaoXhotelRateGetAPIRequest) GetRateplanCode() string

GetRateplanCode RateplanCode Getter

func (TaobaoXhotelRateGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoXhotelRateGetAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelRateGetAPIRequest) GetRpid

GetRpid Rpid Getter

func (TaobaoXhotelRateGetAPIRequest) GetVendor

func (r TaobaoXhotelRateGetAPIRequest) GetVendor() string

GetVendor Vendor Getter

func (*TaobaoXhotelRateGetAPIRequest) Reset added in v1.3.4

func (r *TaobaoXhotelRateGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRateGetAPIRequest) SetGid

func (r *TaobaoXhotelRateGetAPIRequest) SetGid(_gid int64) error

SetGid is Gid Setter gid酒店商品id

func (*TaobaoXhotelRateGetAPIRequest) SetOutRid

func (r *TaobaoXhotelRateGetAPIRequest) SetOutRid(_outRid string) error

SetOutRid is OutRid Setter 卖家房型ID, 这是卖家自己系统中的房型ID 注意:需要按照规则组合

func (*TaobaoXhotelRateGetAPIRequest) SetRateId

func (r *TaobaoXhotelRateGetAPIRequest) SetRateId(_rateId int64) error

SetRateId is RateId Setter RateID

func (*TaobaoXhotelRateGetAPIRequest) SetRateplanCode

func (r *TaobaoXhotelRateGetAPIRequest) SetRateplanCode(_rateplanCode string) error

SetRateplanCode is RateplanCode Setter 卖家自己系统的Code,简称RateCode

func (*TaobaoXhotelRateGetAPIRequest) SetRpid

func (r *TaobaoXhotelRateGetAPIRequest) SetRpid(_rpid int64) error

SetRpid is Rpid Setter 酒店RPID

func (*TaobaoXhotelRateGetAPIRequest) SetVendor

func (r *TaobaoXhotelRateGetAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 用于标示该宝贝的售卖渠道信息,允许同一个卖家酒店房型在淘宝系统发布多个售卖渠道的宝贝的价格。

type TaobaoXhotelRateGetAPIResponse

type TaobaoXhotelRateGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRateGetAPIResponseModel
}

TaobaoXhotelRateGetAPIResponse 酒店产品库rate查询 API返回值 taobao.xhotel.rate.get

酒店产品库rate查询

func GetTaobaoXhotelRateGetAPIResponse added in v1.3.4

func GetTaobaoXhotelRateGetAPIResponse() *TaobaoXhotelRateGetAPIResponse

GetTaobaoXhotelRateGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelRateGetAPIResponse

func (*TaobaoXhotelRateGetAPIResponse) Reset added in v1.3.4

func (m *TaobaoXhotelRateGetAPIResponse) Reset()

Reset 清空结构体

type TaobaoXhotelRateGetAPIResponseModel

type TaobaoXhotelRateGetAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_rate_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// rate
	Rate *Rate `json:"rate,omitempty" xml:"rate,omitempty"`
}

TaobaoXhotelRateGetAPIResponseModel is 酒店产品库rate查询 成功返回结果

func (*TaobaoXhotelRateGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateRelationshipwithroomGetAPIRequest

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

TaobaoXhotelRateRelationshipwithroomGetAPIRequest 查询rpId API请求 taobao.xhotel.rate.relationshipwithroom.get

某个卖家根据rpId查询所有的gid,可分页,不填分页信息则默认显示第一页。

func GetTaobaoXhotelRateRelationshipwithroomGetAPIRequest added in v1.3.4

func GetTaobaoXhotelRateRelationshipwithroomGetAPIRequest() *TaobaoXhotelRateRelationshipwithroomGetAPIRequest

GetTaobaoXhotelRateRelationshipwithroomGetRequest 从 sync.Pool 获取 TaobaoXhotelRateRelationshipwithroomGetAPIRequest

func NewTaobaoXhotelRateRelationshipwithroomGetRequest

func NewTaobaoXhotelRateRelationshipwithroomGetRequest() *TaobaoXhotelRateRelationshipwithroomGetAPIRequest

NewTaobaoXhotelRateRelationshipwithroomGetRequest 初始化TaobaoXhotelRateRelationshipwithroomGetAPIRequest对象

func (TaobaoXhotelRateRelationshipwithroomGetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRateRelationshipwithroomGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRateRelationshipwithroomGetAPIRequest) GetPageNo

GetPageNo PageNo Getter

func (TaobaoXhotelRateRelationshipwithroomGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelRateRelationshipwithroomGetAPIRequest) GetRpId

GetRpId RpId Getter

func (*TaobaoXhotelRateRelationshipwithroomGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRateRelationshipwithroomGetAPIRequest) SetPageNo

SetPageNo is PageNo Setter 页数

func (*TaobaoXhotelRateRelationshipwithroomGetAPIRequest) SetRpId

SetRpId is RpId Setter rpId

type TaobaoXhotelRateRelationshipwithroomGetAPIResponse

type TaobaoXhotelRateRelationshipwithroomGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRateRelationshipwithroomGetAPIResponseModel
}

TaobaoXhotelRateRelationshipwithroomGetAPIResponse 查询rpId API返回值 taobao.xhotel.rate.relationshipwithroom.get

某个卖家根据rpId查询所有的gid,可分页,不填分页信息则默认显示第一页。

func GetTaobaoXhotelRateRelationshipwithroomGetAPIResponse added in v1.3.4

func GetTaobaoXhotelRateRelationshipwithroomGetAPIResponse() *TaobaoXhotelRateRelationshipwithroomGetAPIResponse

GetTaobaoXhotelRateRelationshipwithroomGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelRateRelationshipwithroomGetAPIResponse

func (*TaobaoXhotelRateRelationshipwithroomGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateRelationshipwithroomGetAPIResponseModel

type TaobaoXhotelRateRelationshipwithroomGetAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_rate_relationshipwithroom_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值
	Gids []string `json:"gids,omitempty" xml:"gids>string,omitempty"`
	// 根据条件所查询的所有结果的总数量
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
}

TaobaoXhotelRateRelationshipwithroomGetAPIResponseModel is 查询rpId 成功返回结果

func (*TaobaoXhotelRateRelationshipwithroomGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateRelationshipwithrpGetAPIRequest

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

TaobaoXhotelRateRelationshipwithrpGetAPIRequest 根据gid查询卖家下所有的rpId API请求 taobao.xhotel.rate.relationshipwithrp.get

根据gid查询卖家下所有的rpId,可分页,默认展示第一页的数据

func GetTaobaoXhotelRateRelationshipwithrpGetAPIRequest added in v1.3.4

func GetTaobaoXhotelRateRelationshipwithrpGetAPIRequest() *TaobaoXhotelRateRelationshipwithrpGetAPIRequest

GetTaobaoXhotelRateRelationshipwithrpGetRequest 从 sync.Pool 获取 TaobaoXhotelRateRelationshipwithrpGetAPIRequest

func NewTaobaoXhotelRateRelationshipwithrpGetRequest

func NewTaobaoXhotelRateRelationshipwithrpGetRequest() *TaobaoXhotelRateRelationshipwithrpGetAPIRequest

NewTaobaoXhotelRateRelationshipwithrpGetRequest 初始化TaobaoXhotelRateRelationshipwithrpGetAPIRequest对象

func (TaobaoXhotelRateRelationshipwithrpGetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRateRelationshipwithrpGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRateRelationshipwithrpGetAPIRequest) GetGid

GetGid Gid Getter

func (TaobaoXhotelRateRelationshipwithrpGetAPIRequest) GetPageNo

GetPageNo PageNo Getter

func (TaobaoXhotelRateRelationshipwithrpGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelRateRelationshipwithrpGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRateRelationshipwithrpGetAPIRequest) SetGid

SetGid is Gid Setter 宝贝的gid

func (*TaobaoXhotelRateRelationshipwithrpGetAPIRequest) SetPageNo

SetPageNo is PageNo Setter 页数,可根据此值展示某页的数据。不填默认为1

type TaobaoXhotelRateRelationshipwithrpGetAPIResponse

type TaobaoXhotelRateRelationshipwithrpGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRateRelationshipwithrpGetAPIResponseModel
}

TaobaoXhotelRateRelationshipwithrpGetAPIResponse 根据gid查询卖家下所有的rpId API返回值 taobao.xhotel.rate.relationshipwithrp.get

根据gid查询卖家下所有的rpId,可分页,默认展示第一页的数据

func GetTaobaoXhotelRateRelationshipwithrpGetAPIResponse added in v1.3.4

func GetTaobaoXhotelRateRelationshipwithrpGetAPIResponse() *TaobaoXhotelRateRelationshipwithrpGetAPIResponse

GetTaobaoXhotelRateRelationshipwithrpGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelRateRelationshipwithrpGetAPIResponse

func (*TaobaoXhotelRateRelationshipwithrpGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateRelationshipwithrpGetAPIResponseModel

type TaobaoXhotelRateRelationshipwithrpGetAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_rate_relationshipwithrp_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 所查询出的结果,是一个字符串数组
	RpIds []string `json:"rp_ids,omitempty" xml:"rp_ids>string,omitempty"`
	// 根据条件所查询的所有结果的总数量
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
}

TaobaoXhotelRateRelationshipwithrpGetAPIResponseModel is 根据gid查询卖家下所有的rpId 成功返回结果

func (*TaobaoXhotelRateRelationshipwithrpGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateUpdateAPIRequest

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

TaobaoXhotelRateUpdateAPIRequest 价格推送接口(全量更新) API请求 taobao.xhotel.rate.update

酒店产品库rate更新

func GetTaobaoXhotelRateUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelRateUpdateAPIRequest() *TaobaoXhotelRateUpdateAPIRequest

GetTaobaoXhotelRateUpdateRequest 从 sync.Pool 获取 TaobaoXhotelRateUpdateAPIRequest

func NewTaobaoXhotelRateUpdateRequest

func NewTaobaoXhotelRateUpdateRequest() *TaobaoXhotelRateUpdateAPIRequest

NewTaobaoXhotelRateUpdateRequest 初始化TaobaoXhotelRateUpdateAPIRequest对象

func (TaobaoXhotelRateUpdateAPIRequest) GetAddBed added in v1.2.9

GetAddBed AddBed Getter

func (TaobaoXhotelRateUpdateAPIRequest) GetAddBedPrice added in v1.2.9

func (r TaobaoXhotelRateUpdateAPIRequest) GetAddBedPrice() int64

GetAddBedPrice AddBedPrice Getter

func (TaobaoXhotelRateUpdateAPIRequest) GetApiMethodName

func (r TaobaoXhotelRateUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRateUpdateAPIRequest) GetApiParams

func (r TaobaoXhotelRateUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRateUpdateAPIRequest) GetCurrencyCode added in v1.2.9

func (r TaobaoXhotelRateUpdateAPIRequest) GetCurrencyCode() int64

GetCurrencyCode CurrencyCode Getter

func (TaobaoXhotelRateUpdateAPIRequest) GetGid added in v1.2.9

GetGid Gid Getter

func (TaobaoXhotelRateUpdateAPIRequest) GetHotelXitemInfos added in v1.2.9

func (r TaobaoXhotelRateUpdateAPIRequest) GetHotelXitemInfos() string

GetHotelXitemInfos HotelXitemInfos Getter

func (TaobaoXhotelRateUpdateAPIRequest) GetInventoryPrice

func (r TaobaoXhotelRateUpdateAPIRequest) GetInventoryPrice() string

GetInventoryPrice InventoryPrice Getter

func (TaobaoXhotelRateUpdateAPIRequest) GetJishiquerenTag added in v1.2.9

func (r TaobaoXhotelRateUpdateAPIRequest) GetJishiquerenTag() int64

GetJishiquerenTag JishiquerenTag Getter

func (TaobaoXhotelRateUpdateAPIRequest) GetLockEndTime

func (r TaobaoXhotelRateUpdateAPIRequest) GetLockEndTime() string

GetLockEndTime LockEndTime Getter

func (TaobaoXhotelRateUpdateAPIRequest) GetLockStartTime

func (r TaobaoXhotelRateUpdateAPIRequest) GetLockStartTime() string

GetLockStartTime LockStartTime Getter

func (TaobaoXhotelRateUpdateAPIRequest) GetName added in v1.2.9

GetName Name Getter

func (TaobaoXhotelRateUpdateAPIRequest) GetOnlineBookingBindingInfo

func (r TaobaoXhotelRateUpdateAPIRequest) GetOnlineBookingBindingInfo() string

GetOnlineBookingBindingInfo OnlineBookingBindingInfo Getter

func (TaobaoXhotelRateUpdateAPIRequest) GetOutRid

GetOutRid OutRid Getter

func (TaobaoXhotelRateUpdateAPIRequest) GetRateSwitchCal

func (r TaobaoXhotelRateUpdateAPIRequest) GetRateSwitchCal() string

GetRateSwitchCal RateSwitchCal Getter

func (TaobaoXhotelRateUpdateAPIRequest) GetRateplanCode

func (r TaobaoXhotelRateUpdateAPIRequest) GetRateplanCode() string

GetRateplanCode RateplanCode Getter

func (TaobaoXhotelRateUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelRateUpdateAPIRequest) GetRpid added in v1.2.9

GetRpid Rpid Getter

func (TaobaoXhotelRateUpdateAPIRequest) GetShijiaTag added in v1.2.9

func (r TaobaoXhotelRateUpdateAPIRequest) GetShijiaTag() int64

GetShijiaTag ShijiaTag Getter

func (TaobaoXhotelRateUpdateAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelRateUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRateUpdateAPIRequest) SetAddBed added in v1.2.9

func (r *TaobaoXhotelRateUpdateAPIRequest) SetAddBed(_addBed int64) error

SetAddBed is AddBed Setter 不推荐使用

func (*TaobaoXhotelRateUpdateAPIRequest) SetAddBedPrice added in v1.2.9

func (r *TaobaoXhotelRateUpdateAPIRequest) SetAddBedPrice(_addBedPrice int64) error

SetAddBedPrice is AddBedPrice Setter 不推荐使用

func (*TaobaoXhotelRateUpdateAPIRequest) SetCurrencyCode added in v1.2.9

func (r *TaobaoXhotelRateUpdateAPIRequest) SetCurrencyCode(_currencyCode int64) error

SetCurrencyCode is CurrencyCode Setter 不推荐使用(仅支持CNY)

func (*TaobaoXhotelRateUpdateAPIRequest) SetGid added in v1.2.9

SetGid is Gid Setter 不推荐使用,请使用out_rid

func (*TaobaoXhotelRateUpdateAPIRequest) SetHotelXitemInfos added in v1.2.9

func (r *TaobaoXhotelRateUpdateAPIRequest) SetHotelXitemInfos(_hotelXitemInfos string) error

SetHotelXitemInfos is HotelXitemInfos Setter

是一个JSONArray 字符串 actionType  操作类型 BOUND: 绑定,UNBOUND:解绑; outXcode  元素编码 ; subTypeCode x 元素子类型, 参考:https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.9MjTPx&docType=1&articleId=121402&previewCode=787DFB0895F05C90D167579A04BD32E3; status: 状态是否生效0 失效, 1生效; shortName x元素标题; time 服务时间段(18:00-21:00); value 商品价值(100 - 999900 单位分); itemDesc 商品使用说明; dimensionType 附加产品使用维度   1:每间房维度 2:每间夜维度; picList 图片格式化信息 [{"url":"https://xxxxx/","isMain":true}]; adultCount 成人数量 (1-99); childCount 儿童数量 (0-99); itemLimit 使用限制, 文字描述,200 字内; checkInStart 入住生效开始时间; checkInEnd 入住生效结束时间; bookStartTime 预定生效开始时间; bookStartEnd 预定生效截止时间; featureDetail 详细信息json字符串 [{"detailName":"免费寄存","detailValue":[""],"type":"single","priority":1}]

func (*TaobaoXhotelRateUpdateAPIRequest) SetInventoryPrice

func (r *TaobaoXhotelRateUpdateAPIRequest) SetInventoryPrice(_inventoryPrice string) error

SetInventoryPrice is InventoryPrice Setter 每日价格和房价专有库存信息。A:use_room_inventory:是否使用room级别共享库存,可选值 true false 1、true时:使用room级别共享库存(即使用gid对应的XRoom中的inventory),rate_quota_map 的json 数据中不需要录入库存信息,录入的库存信息会忽略 2、false时:使用rate级别私有库存,此时要求价格和库存必填。B:date 日期必须为 T---T+180 日内的日期(T为当天),且不能重复C:price 价格 int类型 取值范围1-99999999 单位为分D:quota 库存 int 类型 取值范围 0-999(数量库存) 60000(状态库存关) 61000(状态库存开)

func (*TaobaoXhotelRateUpdateAPIRequest) SetJishiquerenTag added in v1.2.9

func (r *TaobaoXhotelRateUpdateAPIRequest) SetJishiquerenTag(_jishiquerenTag int64) error

SetJishiquerenTag is JishiquerenTag Setter 不推荐使用

func (*TaobaoXhotelRateUpdateAPIRequest) SetLockEndTime

func (r *TaobaoXhotelRateUpdateAPIRequest) SetLockEndTime(_lockEndTime string) error

SetLockEndTime is LockEndTime Setter 锁库存截止时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)

func (*TaobaoXhotelRateUpdateAPIRequest) SetLockStartTime

func (r *TaobaoXhotelRateUpdateAPIRequest) SetLockStartTime(_lockStartTime string) error

SetLockStartTime is LockStartTime Setter 锁库存开始时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)

func (*TaobaoXhotelRateUpdateAPIRequest) SetName added in v1.2.9

func (r *TaobaoXhotelRateUpdateAPIRequest) SetName(_name string) error

SetName is Name Setter 废弃

func (*TaobaoXhotelRateUpdateAPIRequest) SetOnlineBookingBindingInfo

func (r *TaobaoXhotelRateUpdateAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error

SetOnlineBookingBindingInfo is OnlineBookingBindingInfo Setter 在线预约关联关系推送,priceRuleNumber:加价规则序号

func (*TaobaoXhotelRateUpdateAPIRequest) SetOutRid

func (r *TaobaoXhotelRateUpdateAPIRequest) SetOutRid(_outRid string) error

SetOutRid is OutRid Setter 商家房型ID

func (*TaobaoXhotelRateUpdateAPIRequest) SetRateSwitchCal

func (r *TaobaoXhotelRateUpdateAPIRequest) SetRateSwitchCal(_rateSwitchCal string) error

SetRateSwitchCal is RateSwitchCal Setter 日历价格开关, date:开关状态控制的是那一天 rate_status:开关状态。0,关闭;1,打开

func (*TaobaoXhotelRateUpdateAPIRequest) SetRateplanCode

func (r *TaobaoXhotelRateUpdateAPIRequest) SetRateplanCode(_rateplanCode string) error

SetRateplanCode is RateplanCode Setter 商家价格计划编码

func (*TaobaoXhotelRateUpdateAPIRequest) SetRpid added in v1.2.9

func (r *TaobaoXhotelRateUpdateAPIRequest) SetRpid(_rpid int64) error

SetRpid is Rpid Setter 不推荐使用,请使用rateplan_code

func (*TaobaoXhotelRateUpdateAPIRequest) SetShijiaTag added in v1.2.9

func (r *TaobaoXhotelRateUpdateAPIRequest) SetShijiaTag(_shijiaTag int64) error

SetShijiaTag is ShijiaTag Setter 不推荐使用

func (*TaobaoXhotelRateUpdateAPIRequest) SetVendor

func (r *TaobaoXhotelRateUpdateAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 系统商,一般不用填写,使用需要申请

type TaobaoXhotelRateUpdateAPIResponse

type TaobaoXhotelRateUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRateUpdateAPIResponseModel
}

TaobaoXhotelRateUpdateAPIResponse 价格推送接口(全量更新) API返回值 taobao.xhotel.rate.update

酒店产品库rate更新

func GetTaobaoXhotelRateUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelRateUpdateAPIResponse() *TaobaoXhotelRateUpdateAPIResponse

GetTaobaoXhotelRateUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelRateUpdateAPIResponse

func (*TaobaoXhotelRateUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateUpdateAPIResponseModel

type TaobaoXhotelRateUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_rate_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 酒店商品ID-酒店RPid
	GidAndRpid string `json:"gid_and_rpid,omitempty" xml:"gid_and_rpid,omitempty"`
}

TaobaoXhotelRateUpdateAPIResponseModel is 价格推送接口(全量更新) 成功返回结果

func (*TaobaoXhotelRateUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateplanAddAPIRequest

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

TaobaoXhotelRateplanAddAPIRequest 酒店产品库rateplan添加 API请求 taobao.xhotel.rateplan.add

酒店产品库rateplan

func GetTaobaoXhotelRateplanAddAPIRequest added in v1.3.4

func GetTaobaoXhotelRateplanAddAPIRequest() *TaobaoXhotelRateplanAddAPIRequest

GetTaobaoXhotelRateplanAddRequest 从 sync.Pool 获取 TaobaoXhotelRateplanAddAPIRequest

func NewTaobaoXhotelRateplanAddRequest

func NewTaobaoXhotelRateplanAddRequest() *TaobaoXhotelRateplanAddAPIRequest

NewTaobaoXhotelRateplanAddRequest 初始化TaobaoXhotelRateplanAddAPIRequest对象

func (TaobaoXhotelRateplanAddAPIRequest) GetActivityType

func (r TaobaoXhotelRateplanAddAPIRequest) GetActivityType() string

GetActivityType ActivityType Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetAgreement

func (r TaobaoXhotelRateplanAddAPIRequest) GetAgreement() int64

GetAgreement Agreement Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetAllotmentReleaseTime

func (r TaobaoXhotelRateplanAddAPIRequest) GetAllotmentReleaseTime() string

GetAllotmentReleaseTime AllotmentReleaseTime Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetApiMethodName

func (r TaobaoXhotelRateplanAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRateplanAddAPIRequest) GetApiParams

func (r TaobaoXhotelRateplanAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRateplanAddAPIRequest) GetBaseRpFlag

func (r TaobaoXhotelRateplanAddAPIRequest) GetBaseRpFlag() int64

GetBaseRpFlag BaseRpFlag Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetBottomPriceFlag

func (r TaobaoXhotelRateplanAddAPIRequest) GetBottomPriceFlag() int64

GetBottomPriceFlag BottomPriceFlag Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetBreakfastCal

func (r TaobaoXhotelRateplanAddAPIRequest) GetBreakfastCal() string

GetBreakfastCal BreakfastCal Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetBreakfastCount

func (r TaobaoXhotelRateplanAddAPIRequest) GetBreakfastCount() int64

GetBreakfastCount BreakfastCount Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetCanCheckinEnd

func (r TaobaoXhotelRateplanAddAPIRequest) GetCanCheckinEnd() string

GetCanCheckinEnd CanCheckinEnd Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetCanCheckinStart

func (r TaobaoXhotelRateplanAddAPIRequest) GetCanCheckinStart() string

GetCanCheckinStart CanCheckinStart Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetCanCheckoutEnd

func (r TaobaoXhotelRateplanAddAPIRequest) GetCanCheckoutEnd() string

GetCanCheckoutEnd CanCheckoutEnd Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetCancelBeforeDay

func (r TaobaoXhotelRateplanAddAPIRequest) GetCancelBeforeDay() int64

GetCancelBeforeDay CancelBeforeDay Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetCancelBeforeHour

func (r TaobaoXhotelRateplanAddAPIRequest) GetCancelBeforeHour() string

GetCancelBeforeHour CancelBeforeHour Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetCancelPolicy

func (r TaobaoXhotelRateplanAddAPIRequest) GetCancelPolicy() string

GetCancelPolicy CancelPolicy Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetCancelPolicyCal

func (r TaobaoXhotelRateplanAddAPIRequest) GetCancelPolicyCal() string

GetCancelPolicyCal CancelPolicyCal Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetChannel

GetChannel Channel Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetCommonAllotReleaseTime

func (r TaobaoXhotelRateplanAddAPIRequest) GetCommonAllotReleaseTime() string

GetCommonAllotReleaseTime CommonAllotReleaseTime Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetDeadlineTime

func (r TaobaoXhotelRateplanAddAPIRequest) GetDeadlineTime() string

GetDeadlineTime DeadlineTime Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetDinningDesc added in v1.2.5

func (r TaobaoXhotelRateplanAddAPIRequest) GetDinningDesc() string

GetDinningDesc DinningDesc Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetEffectiveTime

func (r TaobaoXhotelRateplanAddAPIRequest) GetEffectiveTime() string

GetEffectiveTime EffectiveTime Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetEndTime

GetEndTime EndTime Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetEnglishName

func (r TaobaoXhotelRateplanAddAPIRequest) GetEnglishName() string

GetEnglishName EnglishName Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetExtend added in v1.2.5

GetExtend Extend Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetExtendFee added in v1.2.5

func (r TaobaoXhotelRateplanAddAPIRequest) GetExtendFee() string

GetExtendFee ExtendFee Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetFeeBreakfastAmount added in v1.2.5

func (r TaobaoXhotelRateplanAddAPIRequest) GetFeeBreakfastAmount() int64

GetFeeBreakfastAmount FeeBreakfastAmount Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetFeeBreakfastCount added in v1.2.5

func (r TaobaoXhotelRateplanAddAPIRequest) GetFeeBreakfastCount() int64

GetFeeBreakfastCount FeeBreakfastCount Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetFeeGovTaxAmount added in v1.2.5

func (r TaobaoXhotelRateplanAddAPIRequest) GetFeeGovTaxAmount() int64

GetFeeGovTaxAmount FeeGovTaxAmount Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetFeeGovTaxPercent added in v1.2.5

func (r TaobaoXhotelRateplanAddAPIRequest) GetFeeGovTaxPercent() int64

GetFeeGovTaxPercent FeeGovTaxPercent Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetFeeServiceAmount added in v1.2.5

func (r TaobaoXhotelRateplanAddAPIRequest) GetFeeServiceAmount() int64

GetFeeServiceAmount FeeServiceAmount Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetFeeServicePercent

func (r TaobaoXhotelRateplanAddAPIRequest) GetFeeServicePercent() int64

GetFeeServicePercent FeeServicePercent Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetFirstStay

func (r TaobaoXhotelRateplanAddAPIRequest) GetFirstStay() int64

GetFirstStay FirstStay Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetFreeRoomChargeDstRole added in v1.2.5

func (r TaobaoXhotelRateplanAddAPIRequest) GetFreeRoomChargeDstRole() string

GetFreeRoomChargeDstRole FreeRoomChargeDstRole Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetGuaranteeCal

func (r TaobaoXhotelRateplanAddAPIRequest) GetGuaranteeCal() string

GetGuaranteeCal GuaranteeCal Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetGuaranteeMode

func (r TaobaoXhotelRateplanAddAPIRequest) GetGuaranteeMode() int64

GetGuaranteeMode GuaranteeMode Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetGuaranteeStartTime

func (r TaobaoXhotelRateplanAddAPIRequest) GetGuaranteeStartTime() string

GetGuaranteeStartTime GuaranteeStartTime Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetGuaranteeType

func (r TaobaoXhotelRateplanAddAPIRequest) GetGuaranteeType() int64

GetGuaranteeType GuaranteeType Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetGuestLimit

func (r TaobaoXhotelRateplanAddAPIRequest) GetGuestLimit() string

GetGuestLimit GuestLimit Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetHid

GetHid Hid Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetHourage

GetHourage Hourage Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetIsStudent

func (r TaobaoXhotelRateplanAddAPIRequest) GetIsStudent() int64

GetIsStudent IsStudent Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetMaxAdvHours

func (r TaobaoXhotelRateplanAddAPIRequest) GetMaxAdvHours() int64

GetMaxAdvHours MaxAdvHours Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetMaxChildAge added in v1.2.5

func (r TaobaoXhotelRateplanAddAPIRequest) GetMaxChildAge() int64

GetMaxChildAge MaxChildAge Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetMaxDays

GetMaxDays MaxDays Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetMaxInfantAge added in v1.2.5

func (r TaobaoXhotelRateplanAddAPIRequest) GetMaxInfantAge() int64

GetMaxInfantAge MaxInfantAge Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetMemDiscFlag

func (r TaobaoXhotelRateplanAddAPIRequest) GetMemDiscFlag() int64

GetMemDiscFlag MemDiscFlag Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetMemberDiscountCal

func (r TaobaoXhotelRateplanAddAPIRequest) GetMemberDiscountCal() string

GetMemberDiscountCal MemberDiscountCal Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetMemberLevel

func (r TaobaoXhotelRateplanAddAPIRequest) GetMemberLevel() string

GetMemberLevel MemberLevel Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetMinAdvHours

func (r TaobaoXhotelRateplanAddAPIRequest) GetMinAdvHours() int64

GetMinAdvHours MinAdvHours Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetMinAmount

func (r TaobaoXhotelRateplanAddAPIRequest) GetMinAmount() int64

GetMinAmount MinAmount Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetMinChildAge added in v1.2.5

func (r TaobaoXhotelRateplanAddAPIRequest) GetMinChildAge() int64

GetMinChildAge MinChildAge Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetMinDays

GetMinDays MinDays Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetMinInfantAge added in v1.2.5

func (r TaobaoXhotelRateplanAddAPIRequest) GetMinInfantAge() int64

GetMinInfantAge MinInfantAge Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetName

GetName Name Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetOccupancy

func (r TaobaoXhotelRateplanAddAPIRequest) GetOccupancy() int64

GetOccupancy Occupancy Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetOnlineBookingBindingInfo

func (r TaobaoXhotelRateplanAddAPIRequest) GetOnlineBookingBindingInfo() string

GetOnlineBookingBindingInfo OnlineBookingBindingInfo Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetOperator

func (r TaobaoXhotelRateplanAddAPIRequest) GetOperator() string

GetOperator Operator Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetOutHid

GetOutHid OutHid Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetOutRid

GetOutRid OutRid Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetParentRpCode

func (r TaobaoXhotelRateplanAddAPIRequest) GetParentRpCode() string

GetParentRpCode ParentRpCode Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetParentRpid

func (r TaobaoXhotelRateplanAddAPIRequest) GetParentRpid() int64

GetParentRpid ParentRpid Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetPaymentType

func (r TaobaoXhotelRateplanAddAPIRequest) GetPaymentType() int64

GetPaymentType PaymentType Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetRateplanCode

func (r TaobaoXhotelRateplanAddAPIRequest) GetRateplanCode() string

GetRateplanCode RateplanCode Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelRateplanAddAPIRequest) GetResourceType

func (r TaobaoXhotelRateplanAddAPIRequest) GetResourceType() string

GetResourceType ResourceType Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetRid

GetRid Rid Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetRights added in v1.2.5

GetRights Rights Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetRpType

GetRpType RpType Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetSource

GetSource Source Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetStartTime

func (r TaobaoXhotelRateplanAddAPIRequest) GetStartTime() string

GetStartTime StartTime Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetStatus

GetStatus Status Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetSuperRpFlag

func (r TaobaoXhotelRateplanAddAPIRequest) GetSuperRpFlag() int64

GetSuperRpFlag SuperRpFlag Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetTagJson

GetTagJson TagJson Getter

func (TaobaoXhotelRateplanAddAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelRateplanAddAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRateplanAddAPIRequest) SetActivityType

func (r *TaobaoXhotelRateplanAddAPIRequest) SetActivityType(_activityType string) error

SetActivityType is ActivityType Setter RP参与的活动,3为尾房,4超级房券,8直连免房

func (*TaobaoXhotelRateplanAddAPIRequest) SetAgreement

func (r *TaobaoXhotelRateplanAddAPIRequest) SetAgreement(_agreement int64) error

SetAgreement is Agreement Setter 废弃。价格类型字段:0.非协议价;1.集采协议价;如果不是协议价,请不要填写该字段。该字段有权限控制,如需使用,请联系阿里旅行运营。 如果不填写或者填写为0,默认是阿里旅行价

func (*TaobaoXhotelRateplanAddAPIRequest) SetAllotmentReleaseTime

func (r *TaobaoXhotelRateplanAddAPIRequest) SetAllotmentReleaseTime(_allotmentReleaseTime string) error

SetAllotmentReleaseTime is AllotmentReleaseTime Setter 保留房提前x小时自动确认时间,比如设置为6 那么从入住当日24点往前推6小时即18:00以前可以自动确认有房,否则是待确认

func (*TaobaoXhotelRateplanAddAPIRequest) SetBaseRpFlag

func (r *TaobaoXhotelRateplanAddAPIRequest) SetBaseRpFlag(_baseRpFlag int64) error

SetBaseRpFlag is BaseRpFlag Setter base rp标记,1是;0否

func (*TaobaoXhotelRateplanAddAPIRequest) SetBottomPriceFlag

func (r *TaobaoXhotelRateplanAddAPIRequest) SetBottomPriceFlag(_bottomPriceFlag int64) error

SetBottomPriceFlag is BottomPriceFlag Setter 是否底价加价,1是底价加价,0 非底价加价rp

func (*TaobaoXhotelRateplanAddAPIRequest) SetBreakfastCal

func (r *TaobaoXhotelRateplanAddAPIRequest) SetBreakfastCal(_breakfastCal string) error

SetBreakfastCal is BreakfastCal Setter 在添加rateplan时,同时新增早餐日历。date:说明这条记录的早餐政策breakfast_count:这一天早餐的数量。>=-1,<=99。如果date为空,那么会去读取startDate和endDate(格式都为"yyyy-MM-dd"),即早餐正常属于一个时间段。-1为状态早餐,和最终绑定的几人价有关,如果是一人价那么就是我一份早餐,二人价就是两份早餐。请注意,该字段仅能维护从当前时间开始,10年以内的数据,如果超过10年,会报错。

func (*TaobaoXhotelRateplanAddAPIRequest) SetBreakfastCount

func (r *TaobaoXhotelRateplanAddAPIRequest) SetBreakfastCount(_breakfastCount int64) error

SetBreakfastCount is BreakfastCount Setter -1:状态早餐,有具体几人价有关系,几人价是几份早餐;0:不含早1:含单早2:含双早N:含N早(-1-99可选)

func (*TaobaoXhotelRateplanAddAPIRequest) SetCanCheckinEnd

func (r *TaobaoXhotelRateplanAddAPIRequest) SetCanCheckinEnd(_canCheckinEnd string) error

SetCanCheckinEnd is CanCheckinEnd Setter 最早可选入住时间,小时房特有字段。格式为HH:mm

func (*TaobaoXhotelRateplanAddAPIRequest) SetCanCheckinStart

func (r *TaobaoXhotelRateplanAddAPIRequest) SetCanCheckinStart(_canCheckinStart string) error

SetCanCheckinStart is CanCheckinStart Setter 最晚可选入住时间,小时房特有字段。格式为HH:mm

func (*TaobaoXhotelRateplanAddAPIRequest) SetCanCheckoutEnd

func (r *TaobaoXhotelRateplanAddAPIRequest) SetCanCheckoutEnd(_canCheckoutEnd string) error

SetCanCheckoutEnd is CanCheckoutEnd Setter 最晚可选离店时间,小时房特有字段。格式为HH:mm

func (*TaobaoXhotelRateplanAddAPIRequest) SetCancelBeforeDay

func (r *TaobaoXhotelRateplanAddAPIRequest) SetCancelBeforeDay(_cancelBeforeDay int64) error

SetCancelBeforeDay is CancelBeforeDay Setter 不推荐使用,使用改规则

func (*TaobaoXhotelRateplanAddAPIRequest) SetCancelBeforeHour

func (r *TaobaoXhotelRateplanAddAPIRequest) SetCancelBeforeHour(_cancelBeforeHour string) error

SetCancelBeforeHour is CancelBeforeHour Setter 不推荐使用,使用改规则

func (*TaobaoXhotelRateplanAddAPIRequest) SetCancelPolicy

func (r *TaobaoXhotelRateplanAddAPIRequest) SetCancelPolicy(_cancelPolicy string) error

SetCancelPolicy is CancelPolicy Setter 退订政策字段,是个json串,参考示例值设置改字段的值。允许变更/取消:在XX年XX月XX日XX时前取消收取Y%的手续费,100>Y>=0允许变更/取消:在入住前X小时前取消收取Y%的手续费,100>Y>=0(不超过10条)。1.表示任意退{"cancelPolicyType":1};2.表示不能退{"cancelPolicyType":2};4.从入住当天24点往前推X小时前取消收取Y%手续费,否则不可取消{"cancelPolicyType":4,"policyInfo":{"48":10,"24":20}}表示,从入住日24点往前推提前至少48小时取消,收取10%的手续费,从入住日24点往前推提前至少24小时取消,收取20%的手续费;5.从24点往前推多少小时可退{"cancelPolicyType":5,"policyInfo":{"timeBefore":6}}表示从入住日24点往前推至少6个小时即入住日18点前可免费取消;6.从入住日24点往前推,至少提前小时数扣取首晚房费{"cancelPolicyType":6,"policyInfo":{"14":1}}表示入住日24点往前推14小时,即入住日10点前取消收取首晚房费。 注意:支付类型为预付,那么可以使用所有的退订类型,但是必须是非担保;支付类型为面付或者信任住并且是无担保,那么只能使用1类型的退订;支付类型为面付或者信任住并且为担保,那么只能使用2,5类型的退订;支付类型为在线预约,那么只能使用1,2,5类型的退改。如果支付类型是面付或者信任住并且为担保,那么如果传了4或者6的退订,那么会强制转成类型5。支持多段时间,多间夜扣款。阶梯退手续费限制请查看https://hot.bbs.taobao.com/detail.html?postId=8892814

func (*TaobaoXhotelRateplanAddAPIRequest) SetCancelPolicyCal

func (r *TaobaoXhotelRateplanAddAPIRequest) SetCancelPolicyCal(_cancelPolicyCal string) error

SetCancelPolicyCal is CancelPolicyCal Setter 在新增rateplan的同时新增取消政策日历。 json格式。 date:日历的某一天,格式为"yyyy-MM-dd" cancel_policy:日历某一天的价格政策。格式和限制同cancel_policy。 如果date为空,那么会读取startDate和endDate(格式都为"yyyy-MM-dd"),即取消政策属于某一个时间段。 注意:支付类型为预付,那么可以使用所有的退订类型,但是必须是非担保;支付类型为面付或者信任住并且是无担保,那么只能使用1类型的退订;支付类型为面付或者信任住并且为担保,那么只能使用2,5类型的退订;支付类型为在线预约,那么只能使用1,2,5类型的退改。如果支付类型是面付或者信任住并且为担保,那么如果传了4或者6的退订,那么会强制转成类型5。请注意,该字段仅能维护从当前时间开始,10年以内的数据,如果超过10年,会报错。阶梯退手续费限制请查看https://hot.bbs.taobao.com/detail.html?postId=8892814

func (*TaobaoXhotelRateplanAddAPIRequest) SetChannel

func (r *TaobaoXhotelRateplanAddAPIRequest) SetChannel(_channel string) error

SetChannel is Channel Setter 销售渠道。如需开通,需要申请权限。目前支持的渠道有 H:飞猪全渠道(选择H,可实现飞猪、高德、支付宝、手淘均可售卖) O:钉钉商旅 。如果有多个用","分开,比如H,O。如果需要投放其他渠道,请联系飞猪运营或者技术支持。

func (*TaobaoXhotelRateplanAddAPIRequest) SetCommonAllotReleaseTime

func (r *TaobaoXhotelRateplanAddAPIRequest) SetCommonAllotReleaseTime(_commonAllotReleaseTime string) error

SetCommonAllotReleaseTime is CommonAllotReleaseTime Setter 普通保留房提前x小时自动确认时间,比如设置为6 那么从入住当日24点往前推6小时即18:00以前可以自动确认有房,否则是待确认

func (*TaobaoXhotelRateplanAddAPIRequest) SetDeadlineTime

func (r *TaobaoXhotelRateplanAddAPIRequest) SetDeadlineTime(_deadlineTime string) error

SetDeadlineTime is DeadlineTime Setter 生效截止时间,用来控制此rateplan生效的截止时间,配合字段effective_time一起限定rp的有效期

func (*TaobaoXhotelRateplanAddAPIRequest) SetDinningDesc added in v1.2.5

func (r *TaobaoXhotelRateplanAddAPIRequest) SetDinningDesc(_dinningDesc string) error

SetDinningDesc is DinningDesc Setter 餐食描述

func (*TaobaoXhotelRateplanAddAPIRequest) SetEffectiveTime

func (r *TaobaoXhotelRateplanAddAPIRequest) SetEffectiveTime(_effectiveTime string) error

SetEffectiveTime is EffectiveTime Setter 生效开始时间,用来控制此rateplan生效的开始时间,配合字段deadline_time一起限定rp的有效期

func (*TaobaoXhotelRateplanAddAPIRequest) SetEndTime

func (r *TaobaoXhotelRateplanAddAPIRequest) SetEndTime(_endTime string) error

SetEndTime is EndTime Setter 产品每日结束销售时间,当end_time<start_time时,表示end_time为第二天,此时附加限制end_time<=06:00:00并且start_time>=12:00:00,表明可售时间从当天12点到次日的凌晨6点(扩展此信息主要为了描述尾房的rp)注意start_time一定是当天的时间。尾房18:00起可售

func (*TaobaoXhotelRateplanAddAPIRequest) SetEnglishName

func (r *TaobaoXhotelRateplanAddAPIRequest) SetEnglishName(_englishName string) error

SetEnglishName is EnglishName Setter RP的英文名称

func (*TaobaoXhotelRateplanAddAPIRequest) SetExtend added in v1.2.5

func (r *TaobaoXhotelRateplanAddAPIRequest) SetExtend(_extend string) error

SetExtend is Extend Setter 个性化定制扩展信息的JSON。注:此字段的值需要ISV在接入前与淘宝沟通,且确认能解析

func (*TaobaoXhotelRateplanAddAPIRequest) SetExtendFee added in v1.2.5

func (r *TaobaoXhotelRateplanAddAPIRequest) SetExtendFee(_extendFee string) error

SetExtendFee is ExtendFee Setter 不推荐使用

func (*TaobaoXhotelRateplanAddAPIRequest) SetFeeBreakfastAmount added in v1.2.5

func (r *TaobaoXhotelRateplanAddAPIRequest) SetFeeBreakfastAmount(_feeBreakfastAmount int64) error

SetFeeBreakfastAmount is FeeBreakfastAmount Setter 不推荐使用

func (*TaobaoXhotelRateplanAddAPIRequest) SetFeeBreakfastCount added in v1.2.5

func (r *TaobaoXhotelRateplanAddAPIRequest) SetFeeBreakfastCount(_feeBreakfastCount int64) error

SetFeeBreakfastCount is FeeBreakfastCount Setter 废弃

func (*TaobaoXhotelRateplanAddAPIRequest) SetFeeGovTaxAmount added in v1.2.5

func (r *TaobaoXhotelRateplanAddAPIRequest) SetFeeGovTaxAmount(_feeGovTaxAmount int64) error

SetFeeGovTaxAmount is FeeGovTaxAmount Setter 不推荐使用

func (*TaobaoXhotelRateplanAddAPIRequest) SetFeeGovTaxPercent added in v1.2.5

func (r *TaobaoXhotelRateplanAddAPIRequest) SetFeeGovTaxPercent(_feeGovTaxPercent int64) error

SetFeeGovTaxPercent is FeeGovTaxPercent Setter 不推荐使用

func (*TaobaoXhotelRateplanAddAPIRequest) SetFeeServiceAmount added in v1.2.5

func (r *TaobaoXhotelRateplanAddAPIRequest) SetFeeServiceAmount(_feeServiceAmount int64) error

SetFeeServiceAmount is FeeServiceAmount Setter 不推荐使用

func (*TaobaoXhotelRateplanAddAPIRequest) SetFeeServicePercent

func (r *TaobaoXhotelRateplanAddAPIRequest) SetFeeServicePercent(_feeServicePercent int64) error

SetFeeServicePercent is FeeServicePercent Setter 不推荐使用

func (*TaobaoXhotelRateplanAddAPIRequest) SetFirstStay

func (r *TaobaoXhotelRateplanAddAPIRequest) SetFirstStay(_firstStay int64) error

SetFirstStay is FirstStay Setter 需申请会员权限。是否是新用户首住优惠rp。1-代表是。0或者不填写代表否

func (*TaobaoXhotelRateplanAddAPIRequest) SetFreeRoomChargeDstRole added in v1.2.5

func (r *TaobaoXhotelRateplanAddAPIRequest) SetFreeRoomChargeDstRole(_freeRoomChargeDstRole string) error

SetFreeRoomChargeDstRole is FreeRoomChargeDstRole Setter 商业化充值类型 seller充值到卖家 hotel充值到门店

func (*TaobaoXhotelRateplanAddAPIRequest) SetGuaranteeCal

func (r *TaobaoXhotelRateplanAddAPIRequest) SetGuaranteeCal(_guaranteeCal string) error

SetGuaranteeCal is GuaranteeCal Setter 在新增rateplan的同时,新增担保日历。date:担保日历的某一天。guarantee:担保政策。其中有两个属性:guaranteeType,guaranteeStartTime。 guaranteeType的可选值同guaranteeType字段,详见guaranteeType字段。guaranteeStartTime格式为"HH:mm"。如果date为空,那么会读取startDate和endDate(格式都为"yyyy-MM-dd"),即担保政策属于某一个时间段。(如果设置了峰时担保类型,那么峰时担保时间不能为空,并且必须大于等于8点)。请注意,该字段仅能维护从当前时间开始,10年以内的数据,如果超过10年,会报错。

func (*TaobaoXhotelRateplanAddAPIRequest) SetGuaranteeMode

func (r *TaobaoXhotelRateplanAddAPIRequest) SetGuaranteeMode(_guaranteeMode int64) error

SetGuaranteeMode is GuaranteeMode Setter 2 VCC担保 1 PCI担保 0 支付宝担保(信用住产品担保方式只能为支付宝担保)

func (*TaobaoXhotelRateplanAddAPIRequest) SetGuaranteeStartTime

func (r *TaobaoXhotelRateplanAddAPIRequest) SetGuaranteeStartTime(_guaranteeStartTime string) error

SetGuaranteeStartTime is GuaranteeStartTime Setter 分时担保每日开始担保时间。 (如果设置了峰时担保类型,那么峰时担保时间不能为空,并且必须大于等于8点)

func (*TaobaoXhotelRateplanAddAPIRequest) SetGuaranteeType

func (r *TaobaoXhotelRateplanAddAPIRequest) SetGuaranteeType(_guaranteeType int64) error

SetGuaranteeType is GuaranteeType Setter 担保类型,只支持: 0 无担保 1 峰时首晚担保 2峰时全额担保 3全天首晚担保 4全天全额担保

func (*TaobaoXhotelRateplanAddAPIRequest) SetGuestLimit

func (r *TaobaoXhotelRateplanAddAPIRequest) SetGuestLimit(_guestLimit string) error

SetGuestLimit is GuestLimit Setter RP入住人限制信息。JSON格式

func (*TaobaoXhotelRateplanAddAPIRequest) SetHid

SetHid is Hid Setter 酒店id

func (*TaobaoXhotelRateplanAddAPIRequest) SetHourage

func (r *TaobaoXhotelRateplanAddAPIRequest) SetHourage(_hourage string) error

SetHourage is Hourage Setter 小时房入住时间跨度。小时房特有字段。比如4小时的小时房,那么值为4

func (*TaobaoXhotelRateplanAddAPIRequest) SetIsStudent

func (r *TaobaoXhotelRateplanAddAPIRequest) SetIsStudent(_isStudent int64) error

SetIsStudent is IsStudent Setter 是否学生价,0:否;1:是。

func (*TaobaoXhotelRateplanAddAPIRequest) SetMaxAdvHours

func (r *TaobaoXhotelRateplanAddAPIRequest) SetMaxAdvHours(_maxAdvHours int64) error

SetMaxAdvHours is MaxAdvHours Setter 最大提前预定小时数,从入住当天的24点往前计算。例如如果这个字段设置了48,代表最多提前两天预定,那么如果想预定24号入住,,必须在23号零点以后下单。

func (*TaobaoXhotelRateplanAddAPIRequest) SetMaxChildAge added in v1.2.5

func (r *TaobaoXhotelRateplanAddAPIRequest) SetMaxChildAge(_maxChildAge int64) error

SetMaxChildAge is MaxChildAge Setter 儿童最大年龄(0-18)

func (*TaobaoXhotelRateplanAddAPIRequest) SetMaxDays

func (r *TaobaoXhotelRateplanAddAPIRequest) SetMaxDays(_maxDays int64) error

SetMaxDays is MaxDays Setter 最大入住天数(1-90)。默认90 信用住不超过9天,小时房RP请设置为1,特殊商家支持180天

func (*TaobaoXhotelRateplanAddAPIRequest) SetMaxInfantAge added in v1.2.5

func (r *TaobaoXhotelRateplanAddAPIRequest) SetMaxInfantAge(_maxInfantAge int64) error

SetMaxInfantAge is MaxInfantAge Setter 婴儿最大年龄(0-18)

func (*TaobaoXhotelRateplanAddAPIRequest) SetMemDiscFlag

func (r *TaobaoXhotelRateplanAddAPIRequest) SetMemDiscFlag(_memDiscFlag int64) error

SetMemDiscFlag is MemDiscFlag Setter 会员价支持标识,1表示支持会员价规则

func (*TaobaoXhotelRateplanAddAPIRequest) SetMemberDiscountCal

func (r *TaobaoXhotelRateplanAddAPIRequest) SetMemberDiscountCal(_memberDiscountCal string) error

SetMemberDiscountCal is MemberDiscountCal Setter 会员价加价规则。c:表示折扣百分比,例子8,意为会员价优惠8%,s:标识起始日期,e:表示截止日期,t:表示加价类型,0:代表折扣。会员价=售价*(1-c%)

func (*TaobaoXhotelRateplanAddAPIRequest) SetMemberLevel

func (r *TaobaoXhotelRateplanAddAPIRequest) SetMemberLevel(_memberLevel string) error

SetMemberLevel is MemberLevel Setter 双方映射后的会员等级。如需开通,需要申请权限,取值范围为:1,2,3,4,5,none。比如飞猪F3对应商家V4,则传4.(如果有疑问请联系对接技术支持)

func (*TaobaoXhotelRateplanAddAPIRequest) SetMinAdvHours

func (r *TaobaoXhotelRateplanAddAPIRequest) SetMinAdvHours(_minAdvHours int64) error

SetMinAdvHours is MinAdvHours Setter 最小提前预定小时数,从入住当天的24点往前计算。例如如果这个字段设置了48,代表必须至少提前两天预定,那么如果想预定24号入住,,必须在23号零点前下单。

func (*TaobaoXhotelRateplanAddAPIRequest) SetMinAmount

func (r *TaobaoXhotelRateplanAddAPIRequest) SetMinAmount(_minAmount int64) error

SetMinAmount is MinAmount Setter 首日入住房间数(1-99)。默认1。【废弃】

func (*TaobaoXhotelRateplanAddAPIRequest) SetMinChildAge added in v1.2.5

func (r *TaobaoXhotelRateplanAddAPIRequest) SetMinChildAge(_minChildAge int64) error

SetMinChildAge is MinChildAge Setter 儿童最小年龄(0-18)

func (*TaobaoXhotelRateplanAddAPIRequest) SetMinDays

func (r *TaobaoXhotelRateplanAddAPIRequest) SetMinDays(_minDays int64) error

SetMinDays is MinDays Setter 最小入住天数(1-90)。默认1,小时房RP请设置为1

func (*TaobaoXhotelRateplanAddAPIRequest) SetMinInfantAge added in v1.2.5

func (r *TaobaoXhotelRateplanAddAPIRequest) SetMinInfantAge(_minInfantAge int64) error

SetMinInfantAge is MinInfantAge Setter 婴儿最小年龄(0-18)

func (*TaobaoXhotelRateplanAddAPIRequest) SetName

SetName is Name Setter 在淘宝搜索页面展示的房价名称。请注意名称里不要维护早餐信息,如果想设置早餐信息,请设置breakfast_count字段即可

func (*TaobaoXhotelRateplanAddAPIRequest) SetOccupancy

func (r *TaobaoXhotelRateplanAddAPIRequest) SetOccupancy(_occupancy int64) error

SetOccupancy is Occupancy Setter 不推送则默认2人,如有低于2人的RP限制请推送该字段。

func (*TaobaoXhotelRateplanAddAPIRequest) SetOnlineBookingBindingInfo

func (r *TaobaoXhotelRateplanAddAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error

SetOnlineBookingBindingInfo is OnlineBookingBindingInfo Setter 在线预约关联关系推送,priceRuleNumber:加价规则序号

func (*TaobaoXhotelRateplanAddAPIRequest) SetOperator

func (r *TaobaoXhotelRateplanAddAPIRequest) SetOperator(_operator string) error

SetOperator is Operator Setter 操作rateplan的来源

func (*TaobaoXhotelRateplanAddAPIRequest) SetOutHid

func (r *TaobaoXhotelRateplanAddAPIRequest) SetOutHid(_outHid string) error

SetOutHid is OutHid Setter 外部酒店id

func (*TaobaoXhotelRateplanAddAPIRequest) SetOutRid

func (r *TaobaoXhotelRateplanAddAPIRequest) SetOutRid(_outRid string) error

SetOutRid is OutRid Setter 外部房型id

func (*TaobaoXhotelRateplanAddAPIRequest) SetParentRpCode

func (r *TaobaoXhotelRateplanAddAPIRequest) SetParentRpCode(_parentRpCode string) error

SetParentRpCode is ParentRpCode Setter 父rpid,使用场景:当一个rp发布变价rate的时候,记录父rp信息,用于下单时候传递约定的rpcode给外部

func (*TaobaoXhotelRateplanAddAPIRequest) SetParentRpid

func (r *TaobaoXhotelRateplanAddAPIRequest) SetParentRpid(_parentRpid int64) error

SetParentRpid is ParentRpid Setter 父rpcode,使用场景:当一个rp发布变价rate的时候,用于下单时候传递约定的rpcode给外部

func (*TaobaoXhotelRateplanAddAPIRequest) SetPaymentType

func (r *TaobaoXhotelRateplanAddAPIRequest) SetPaymentType(_paymentType int64) error

SetPaymentType is PaymentType Setter 支付类型,只支持:1:预付5:现付6: 信用住7:预付在线预约8:信用住在线预约。其中5,6,7,8四种类型需要申请权限

func (*TaobaoXhotelRateplanAddAPIRequest) SetRateplanCode

func (r *TaobaoXhotelRateplanAddAPIRequest) SetRateplanCode(_rateplanCode string) error

SetRateplanCode is RateplanCode Setter 卖家自己系统的Code,简称RateCode

func (*TaobaoXhotelRateplanAddAPIRequest) SetResourceType

func (r *TaobaoXhotelRateplanAddAPIRequest) SetResourceType(_resourceType string) error

SetResourceType is ResourceType Setter 商品来源渠道。1:直采(直连酒店PMS), 1-1:直采(非直连) 2:携程系, 3:美团, 4:国内旅行社分销, 5:海外供应商。非酒店资源方卖家必须提供商品来源渠道,携程系包括携程、去哪儿、艺龙。

func (*TaobaoXhotelRateplanAddAPIRequest) SetRid

SetRid is Rid Setter 房型id

func (*TaobaoXhotelRateplanAddAPIRequest) SetRights added in v1.2.5

func (r *TaobaoXhotelRateplanAddAPIRequest) SetRights(_rights string) error

SetRights is Rights Setter rp的权益信息, 调用该字段请优先联系对接业务同学。type枚举: eeo,meo, value取值:1. 额外积分 2. 优惠价格 3. 套餐权益 4.行政礼遇。

func (*TaobaoXhotelRateplanAddAPIRequest) SetRpType

func (r *TaobaoXhotelRateplanAddAPIRequest) SetRpType(_rpType string) error

SetRpType is RpType Setter rp类型,1为小时房。目前只支持小时房。如果不是小时房rateplan,则不要填写。如果想要清空该字段可以传入none

func (*TaobaoXhotelRateplanAddAPIRequest) SetSource

func (r *TaobaoXhotelRateplanAddAPIRequest) SetSource(_source int64) error

SetSource is Source Setter 来源

func (*TaobaoXhotelRateplanAddAPIRequest) SetStartTime

func (r *TaobaoXhotelRateplanAddAPIRequest) SetStartTime(_startTime string) error

SetStartTime is StartTime Setter 产品每日开始销售时间,start_time一定为当天时间

func (*TaobaoXhotelRateplanAddAPIRequest) SetStatus

func (r *TaobaoXhotelRateplanAddAPIRequest) SetStatus(_status int64) error

SetStatus is Status Setter 1:开启(默认)2:关闭。如果没传值那么默认默认值为1

func (*TaobaoXhotelRateplanAddAPIRequest) SetSuperRpFlag

func (r *TaobaoXhotelRateplanAddAPIRequest) SetSuperRpFlag(_superRpFlag int64) error

SetSuperRpFlag is SuperRpFlag Setter super rp标记,1是;0否

func (*TaobaoXhotelRateplanAddAPIRequest) SetTagJson

func (r *TaobaoXhotelRateplanAddAPIRequest) SetTagJson(_tagJson string) error

SetTagJson is TagJson Setter 新增RP时的 打标和去标 需求,

func (*TaobaoXhotelRateplanAddAPIRequest) SetVendor

func (r *TaobaoXhotelRateplanAddAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 系统商,一般不填写,使用须申请

type TaobaoXhotelRateplanAddAPIResponse

type TaobaoXhotelRateplanAddAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRateplanAddAPIResponseModel
}

TaobaoXhotelRateplanAddAPIResponse 酒店产品库rateplan添加 API返回值 taobao.xhotel.rateplan.add

酒店产品库rateplan

func GetTaobaoXhotelRateplanAddAPIResponse added in v1.3.4

func GetTaobaoXhotelRateplanAddAPIResponse() *TaobaoXhotelRateplanAddAPIResponse

GetTaobaoXhotelRateplanAddAPIResponse 从 sync.Pool 获取 TaobaoXhotelRateplanAddAPIResponse

func (*TaobaoXhotelRateplanAddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateplanAddAPIResponseModel

type TaobaoXhotelRateplanAddAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_rateplan_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 生成的rp id
	Rpid int64 `json:"rpid,omitempty" xml:"rpid,omitempty"`
}

TaobaoXhotelRateplanAddAPIResponseModel is 酒店产品库rateplan添加 成功返回结果

func (*TaobaoXhotelRateplanAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateplanDeleteAPIRequest

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

TaobaoXhotelRateplanDeleteAPIRequest 价格计划rateplan删除 API请求 taobao.xhotel.rateplan.delete

酒店产品库rateplan删除,同时删除级联的rate,请谨慎使用

func GetTaobaoXhotelRateplanDeleteAPIRequest added in v1.3.4

func GetTaobaoXhotelRateplanDeleteAPIRequest() *TaobaoXhotelRateplanDeleteAPIRequest

GetTaobaoXhotelRateplanDeleteRequest 从 sync.Pool 获取 TaobaoXhotelRateplanDeleteAPIRequest

func NewTaobaoXhotelRateplanDeleteRequest

func NewTaobaoXhotelRateplanDeleteRequest() *TaobaoXhotelRateplanDeleteAPIRequest

NewTaobaoXhotelRateplanDeleteRequest 初始化TaobaoXhotelRateplanDeleteAPIRequest对象

func (TaobaoXhotelRateplanDeleteAPIRequest) GetApiMethodName

func (r TaobaoXhotelRateplanDeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRateplanDeleteAPIRequest) GetApiParams

func (r TaobaoXhotelRateplanDeleteAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRateplanDeleteAPIRequest) GetRateplanCode

func (r TaobaoXhotelRateplanDeleteAPIRequest) GetRateplanCode() string

GetRateplanCode RateplanCode Getter

func (TaobaoXhotelRateplanDeleteAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelRateplanDeleteAPIRequest) GetRpId

GetRpId RpId Getter

func (TaobaoXhotelRateplanDeleteAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelRateplanDeleteAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRateplanDeleteAPIRequest) SetRateplanCode

func (r *TaobaoXhotelRateplanDeleteAPIRequest) SetRateplanCode(_rateplanCode string) error

SetRateplanCode is RateplanCode Setter 商家价格政策编码

func (*TaobaoXhotelRateplanDeleteAPIRequest) SetRpId

SetRpId is RpId Setter ratepland标识

func (*TaobaoXhotelRateplanDeleteAPIRequest) SetVendor

func (r *TaobaoXhotelRateplanDeleteAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 系统商,一般不用填写,使用须申请

type TaobaoXhotelRateplanDeleteAPIResponse

type TaobaoXhotelRateplanDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRateplanDeleteAPIResponseModel
}

TaobaoXhotelRateplanDeleteAPIResponse 价格计划rateplan删除 API返回值 taobao.xhotel.rateplan.delete

酒店产品库rateplan删除,同时删除级联的rate,请谨慎使用

func GetTaobaoXhotelRateplanDeleteAPIResponse added in v1.3.4

func GetTaobaoXhotelRateplanDeleteAPIResponse() *TaobaoXhotelRateplanDeleteAPIResponse

GetTaobaoXhotelRateplanDeleteAPIResponse 从 sync.Pool 获取 TaobaoXhotelRateplanDeleteAPIResponse

func (*TaobaoXhotelRateplanDeleteAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateplanDeleteAPIResponseModel

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

TaobaoXhotelRateplanDeleteAPIResponseModel is 价格计划rateplan删除 成功返回结果

func (*TaobaoXhotelRateplanDeleteAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateplanDeleteResultSet

type TaobaoXhotelRateplanDeleteResultSet struct {
	// results
	Results []string `json:"results,omitempty" xml:"results>string,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 房价id
	Rpid string `json:"rpid,omitempty" xml:"rpid,omitempty"`
}

TaobaoXhotelRateplanDeleteResultSet 结构体

func GetTaobaoXhotelRateplanDeleteResultSet added in v1.3.4

func GetTaobaoXhotelRateplanDeleteResultSet() *TaobaoXhotelRateplanDeleteResultSet

GetTaobaoXhotelRateplanDeleteResultSet() 从对象池中获取TaobaoXhotelRateplanDeleteResultSet

type TaobaoXhotelRateplanGetAPIRequest

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

TaobaoXhotelRateplanGetAPIRequest 价格计划rateplan查询 API请求 taobao.xhotel.rateplan.get

酒店产品库rateplan查询

func GetTaobaoXhotelRateplanGetAPIRequest added in v1.3.4

func GetTaobaoXhotelRateplanGetAPIRequest() *TaobaoXhotelRateplanGetAPIRequest

GetTaobaoXhotelRateplanGetRequest 从 sync.Pool 获取 TaobaoXhotelRateplanGetAPIRequest

func NewTaobaoXhotelRateplanGetRequest

func NewTaobaoXhotelRateplanGetRequest() *TaobaoXhotelRateplanGetAPIRequest

NewTaobaoXhotelRateplanGetRequest 初始化TaobaoXhotelRateplanGetAPIRequest对象

func (TaobaoXhotelRateplanGetAPIRequest) GetApiMethodName

func (r TaobaoXhotelRateplanGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRateplanGetAPIRequest) GetApiParams

func (r TaobaoXhotelRateplanGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRateplanGetAPIRequest) GetRateplanCode

func (r TaobaoXhotelRateplanGetAPIRequest) GetRateplanCode() string

GetRateplanCode RateplanCode Getter

func (TaobaoXhotelRateplanGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelRateplanGetAPIRequest) GetRpid

GetRpid Rpid Getter

func (TaobaoXhotelRateplanGetAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelRateplanGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRateplanGetAPIRequest) SetRateplanCode

func (r *TaobaoXhotelRateplanGetAPIRequest) SetRateplanCode(_rateplanCode string) error

SetRateplanCode is RateplanCode Setter 卖家自己系统的Code,简称RateCode

func (*TaobaoXhotelRateplanGetAPIRequest) SetRpid

func (r *TaobaoXhotelRateplanGetAPIRequest) SetRpid(_rpid int64) error

SetRpid is Rpid Setter 废弃,使用rateplan_code

func (*TaobaoXhotelRateplanGetAPIRequest) SetVendor

func (r *TaobaoXhotelRateplanGetAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 系统商,一般不填写,使用须申请

type TaobaoXhotelRateplanGetAPIResponse

type TaobaoXhotelRateplanGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRateplanGetAPIResponseModel
}

TaobaoXhotelRateplanGetAPIResponse 价格计划rateplan查询 API返回值 taobao.xhotel.rateplan.get

酒店产品库rateplan查询

func GetTaobaoXhotelRateplanGetAPIResponse added in v1.3.4

func GetTaobaoXhotelRateplanGetAPIResponse() *TaobaoXhotelRateplanGetAPIResponse

GetTaobaoXhotelRateplanGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelRateplanGetAPIResponse

func (*TaobaoXhotelRateplanGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateplanGetAPIResponseModel

type TaobaoXhotelRateplanGetAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_rateplan_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// rateplan
	Rateplan *RatePlan `json:"rateplan,omitempty" xml:"rateplan,omitempty"`
}

TaobaoXhotelRateplanGetAPIResponseModel is 价格计划rateplan查询 成功返回结果

func (*TaobaoXhotelRateplanGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateplanUpdateAPIRequest

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

TaobaoXhotelRateplanUpdateAPIRequest 价格计划rateplan更新或添加 API请求 taobao.xhotel.rateplan.update

酒店产品库rateplan更新或添加

func GetTaobaoXhotelRateplanUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelRateplanUpdateAPIRequest() *TaobaoXhotelRateplanUpdateAPIRequest

GetTaobaoXhotelRateplanUpdateRequest 从 sync.Pool 获取 TaobaoXhotelRateplanUpdateAPIRequest

func NewTaobaoXhotelRateplanUpdateRequest

func NewTaobaoXhotelRateplanUpdateRequest() *TaobaoXhotelRateplanUpdateAPIRequest

NewTaobaoXhotelRateplanUpdateRequest 初始化TaobaoXhotelRateplanUpdateAPIRequest对象

func (TaobaoXhotelRateplanUpdateAPIRequest) GetActivityType

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetActivityType() string

GetActivityType ActivityType Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetAgreement

GetAgreement Agreement Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetAllotmentReleaseTime

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetAllotmentReleaseTime() string

GetAllotmentReleaseTime AllotmentReleaseTime Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetApiMethodName

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRateplanUpdateAPIRequest) GetApiParams

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRateplanUpdateAPIRequest) GetBaseRpFlag

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetBaseRpFlag() int64

GetBaseRpFlag BaseRpFlag Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetBenefits

GetBenefits Benefits Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetBottomPriceFlag

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetBottomPriceFlag() string

GetBottomPriceFlag BottomPriceFlag Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetBreakfastCal

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetBreakfastCal() string

GetBreakfastCal BreakfastCal Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetBreakfastCount

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetBreakfastCount() int64

GetBreakfastCount BreakfastCount Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetCanCheckinEnd

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetCanCheckinEnd() string

GetCanCheckinEnd CanCheckinEnd Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetCanCheckinStart

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetCanCheckinStart() string

GetCanCheckinStart CanCheckinStart Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetCanCheckoutEnd

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetCanCheckoutEnd() string

GetCanCheckoutEnd CanCheckoutEnd Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetCancelPolicy

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetCancelPolicy() string

GetCancelPolicy CancelPolicy Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetCancelPolicyCal

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetCancelPolicyCal() string

GetCancelPolicyCal CancelPolicyCal Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetChannel

GetChannel Channel Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetCommonAllotReleaseTime

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetCommonAllotReleaseTime() string

GetCommonAllotReleaseTime CommonAllotReleaseTime Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetCompanyAssist

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetCompanyAssist() int64

GetCompanyAssist CompanyAssist Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetDeadlineTime

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetDeadlineTime() string

GetDeadlineTime DeadlineTime Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetDisplayName

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetDisplayName() string

GetDisplayName DisplayName Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetEffectiveTime

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetEffectiveTime() string

GetEffectiveTime EffectiveTime Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetEndTime

GetEndTime EndTime Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetEnglishName

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetEnglishName() string

GetEnglishName EnglishName Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetFirstStay

GetFirstStay FirstStay Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetFreeRoomChargeDstRole added in v1.2.5

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetFreeRoomChargeDstRole() string

GetFreeRoomChargeDstRole FreeRoomChargeDstRole Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetGuaranteeCal

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetGuaranteeCal() string

GetGuaranteeCal GuaranteeCal Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetGuaranteeMode

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetGuaranteeMode() int64

GetGuaranteeMode GuaranteeMode Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetGuaranteeStartTime

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetGuaranteeStartTime() string

GetGuaranteeStartTime GuaranteeStartTime Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetGuaranteeType

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetGuaranteeType() int64

GetGuaranteeType GuaranteeType Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetGuestLimit

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetGuestLimit() string

GetGuestLimit GuestLimit Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetHid

GetHid Hid Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetHotelCompanyMappingDOS

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetHotelCompanyMappingDOS() string

GetHotelCompanyMappingDOS HotelCompanyMappingDOS Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetHourage

GetHourage Hourage Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetIsStudent

GetIsStudent IsStudent Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetMaxAdvHours

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetMaxAdvHours() int64

GetMaxAdvHours MaxAdvHours Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetMaxDays

GetMaxDays MaxDays Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetMemDiscFlag

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetMemDiscFlag() int64

GetMemDiscFlag MemDiscFlag Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetMemberDiscountCal

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetMemberDiscountCal() string

GetMemberDiscountCal MemberDiscountCal Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetMemberLevel

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetMemberLevel() string

GetMemberLevel MemberLevel Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetMinAdvHours

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetMinAdvHours() int64

GetMinAdvHours MinAdvHours Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetMinAmount

GetMinAmount MinAmount Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetMinDays

GetMinDays MinDays Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetName

GetName Name Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetOnlineBookingBindingInfo

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetOnlineBookingBindingInfo() string

GetOnlineBookingBindingInfo OnlineBookingBindingInfo Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetOperator

GetOperator Operator Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetOutHid

GetOutHid OutHid Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetOutRid

GetOutRid OutRid Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetPackRoomFlag

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetPackRoomFlag() string

GetPackRoomFlag PackRoomFlag Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetParentRpCode

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetParentRpCode() string

GetParentRpCode ParentRpCode Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetParentRpid

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetParentRpid() int64

GetParentRpid ParentRpid Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetPaymentType

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetPaymentType() int64

GetPaymentType PaymentType Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetRateplanCode

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetRateplanCode() string

GetRateplanCode RateplanCode Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelRateplanUpdateAPIRequest) GetResourceType

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetResourceType() string

GetResourceType ResourceType Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetRid

GetRid Rid Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetRights added in v1.2.5

GetRights Rights Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetRpType

GetRpType RpType Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetRpid

GetRpid Rpid Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetSource

GetSource Source Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetStartTime

GetStartTime StartTime Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetStatus

GetStatus Status Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetSuperRpFlag

func (r TaobaoXhotelRateplanUpdateAPIRequest) GetSuperRpFlag() int64

GetSuperRpFlag SuperRpFlag Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetTagJson

GetTagJson TagJson Getter

func (TaobaoXhotelRateplanUpdateAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelRateplanUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetActivityType

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetActivityType(_activityType string) error

SetActivityType is ActivityType Setter 活动类型。1通兑 4超级房券 8直连免房

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetAgreement

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetAgreement(_agreement int64) error

SetAgreement is Agreement Setter 价格类型字段:0.非协议价;1.集采协议价;如果不是协议价,请不要填写该字段。该字段有权限控制,如需使用,请联系阿里旅行运营。 如果不填写或者填写为0,默认是阿里旅行价

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetAllotmentReleaseTime

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetAllotmentReleaseTime(_allotmentReleaseTime string) error

SetAllotmentReleaseTime is AllotmentReleaseTime Setter 协议保留房提前x小时自动确认时间 比如设置为6 那么从入住当日24点往前推6小时即18:00以前可以自动确认有房,否则是待确认

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetBaseRpFlag

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetBaseRpFlag(_baseRpFlag int64) error

SetBaseRpFlag is BaseRpFlag Setter base rp标记,1是;0否

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetBenefits

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetBenefits(_benefits string) error

SetBenefits is Benefits Setter 卖点

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetBottomPriceFlag

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetBottomPriceFlag(_bottomPriceFlag string) error

SetBottomPriceFlag is BottomPriceFlag Setter 是否底价加价,1是底价加价,0 非底价加价rp

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetBreakfastCal

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetBreakfastCal(_breakfastCal string) error

SetBreakfastCal is BreakfastCal Setter 在更新rateplan时,同时新增或更新早餐日历。 date:早餐政策属于具体哪一天 breakfast_count:这一天早餐的数量。>=0,<=99 如果date为空,那么会去读取startDate和endDate(格式都为"yyyy-MM-dd"),即早餐正常属于一个时间段。-1为状态早餐,和最终绑定的几人价有关,如果是一人价那么就是我一份早餐,二人价就是两份早餐。请注意,该字段仅能维护从当前时间开始,10年以内的数据,如果超过10年,会报错。

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetBreakfastCount

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetBreakfastCount(_breakfastCount int64) error

SetBreakfastCount is BreakfastCount Setter -1,状态早餐,和入住人数有关系,几人价就是几份早餐;0:不含早1:含单早2:含双早N:含N早(1-99可选);(添加RP时为必须)

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetCanCheckinEnd

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetCanCheckinEnd(_canCheckinEnd string) error

SetCanCheckinEnd is CanCheckinEnd Setter 最晚可选入住时间,小时房特有字段。格式为HH:mm

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetCanCheckinStart

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetCanCheckinStart(_canCheckinStart string) error

SetCanCheckinStart is CanCheckinStart Setter 最早可选入住时间,小时房特有字段。格式为HH:mm

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetCanCheckoutEnd

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetCanCheckoutEnd(_canCheckoutEnd string) error

SetCanCheckoutEnd is CanCheckoutEnd Setter 最晚可选离店时间,小时房特有字段。格式为HH:mm

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetCancelPolicy

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetCancelPolicy(_cancelPolicy string) error

SetCancelPolicy is CancelPolicy Setter 退订政策字段,是个json串,参考示例值设置改字段的值。允许变更/取消:在XX年XX月XX日XX时前取消收取Y%的手续费,100>Y>=0允许变更/取消:在入住前X小时前取消收取Y%的手续费,100>Y>=0(不超过10条)。1.表示任意退{"cancelPolicyType":1};2.表示不能退{"cancelPolicyType":2};4.从入住当天24点往前推X小时前取消收取Y%手续费,否则不可取消{"cancelPolicyType":4,"policyInfo":{"48":10,"24":20}}表示,从入住日24点往前推提前至少48小时取消,收取10%的手续费,从入住日24点往前推提前至少24小时取消,收取20%的手续费;5.从24点往前推多少小时可退{"cancelPolicyType":5,"policyInfo":{"timeBefore":6}}表示从入住日24点往前推至少6个小时即入住日18点前可免费取消;6.从入住日24点往前推,至少提前小时数扣取首晚房费{"cancelPolicyType":6,"policyInfo":{"14":1}}表示入住日24点往前推14小时,即入住日10点前取消收取首晚房费。 注意:支付类型为预付,那么可以使用所有的退订类型,但是必须是非担保;支付类型为面付或者信任住并且是无担保,那么只能使用1类型的退订;支付类型为面付或者信任住并且为担保,那么只能使用2,5类型的退订;支付类型为在线预约,那么只能使用1,2,5类型的退改。如果支付类型是面付或者信任住并且为担保,那么如果传了4或者6的退订,那么会强制转成类型5。支持多段时间、多间夜扣款

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetCancelPolicyCal

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetCancelPolicyCal(_cancelPolicyCal string) error

SetCancelPolicyCal is CancelPolicyCal Setter 在新增rateplan的同时新增取消政策日历。 json格式。 date:日历的某一天,格式为"yyyy-MM-dd" cancel_policy:日历某一天的价格政策。格式和限制同cancel_policy。 如果date为空,那么会读取startDate和endDate(格式都为"yyyy-MM-dd"),即取消政策属于某一个时间段。 注意:支付类型为预付,那么可以使用所有的退订类型,但是必须是非担保;支付类型为面付或者信任住并且是无担保,那么只能使用1类型的退订;支付类型为面付或者信任住并且为担保,那么只能使用2,5类型的退订;支付类型为在线预约,那么只能使用1,2,5类型的退改。如果支付类型是面付或者信任住并且为担保,那么如果传了4或者6的退订,那么会强制转成类型5。请注意,该字段仅能维护从当前时间开始,10年以内的数据,如果超过10年,会报错。

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetChannel

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetChannel(_channel string) error

SetChannel is Channel Setter 销售渠道。如需开通,需要申请权限。目前支持的渠道有 H:飞猪全渠道(选择H,可实现飞猪、高德、支付宝、手淘均可售卖) O:钉钉商旅 。如果有多个用","分开,比如H,O。如果需要投放其他渠道,请联系飞猪运营或者技术支持。

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetCommonAllotReleaseTime

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetCommonAllotReleaseTime(_commonAllotReleaseTime string) error

SetCommonAllotReleaseTime is CommonAllotReleaseTime Setter 普通保留房提前x小时自动确认时间 比如设置为6 那么从入住当日24点往前推6小时即18:00以前可以自动确认有房,否则是待确认

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetCompanyAssist

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetCompanyAssist(_companyAssist int64) error

SetCompanyAssist is CompanyAssist Setter 是否企业托管RP 0-普通rp,1-企业托管rp

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetDeadlineTime

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetDeadlineTime(_deadlineTime string) error

SetDeadlineTime is DeadlineTime Setter 生效截止时间,用来控制此rateplan生效的截止时间,配合字段effective_time一起限定rp的有效期

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetDisplayName

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetDisplayName(_displayName string) error

SetDisplayName is DisplayName Setter 价格计划名称name通过加工处理以后的值

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetEffectiveTime

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetEffectiveTime(_effectiveTime string) error

SetEffectiveTime is EffectiveTime Setter 生效开始时间,用来控制此rateplan生效的开始时间,配合字段deadline_time一起限定rp的有效期

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetEndTime

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetEndTime(_endTime string) error

SetEndTime is EndTime Setter 产品每日开始销售时间,start_time一定为当天时间

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetEnglishName

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetEnglishName(_englishName string) error

SetEnglishName is EnglishName Setter RP的英文名称

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetFirstStay

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetFirstStay(_firstStay int64) error

SetFirstStay is FirstStay Setter 需申请会员权限。是否是新用户首住优惠rp。1-代表是。0-代表否。不填写代表不更新该字段。

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetFreeRoomChargeDstRole added in v1.2.5

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetFreeRoomChargeDstRole(_freeRoomChargeDstRole string) error

SetFreeRoomChargeDstRole is FreeRoomChargeDstRole Setter 商业化充值类型 seller充值到卖家 hotel充值到门店

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetGuaranteeCal

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetGuaranteeCal(_guaranteeCal string) error

SetGuaranteeCal is GuaranteeCal Setter 在更新rateplan的同时,新增或更新担保日历。 date:担保日历的某一天。 guarantee:担保政策。 其中有两个属性:guaranteeType,guaranteeStartTime。 guaranteeType的可选值同guaranteeType字段,详见guaranteeType字段。guaranteeStartTime格式为"HH:mm" 。如果date为空,那么会读取startDate和endDate(格式都为"yyyy-MM-dd"),即担保政策属于某一个时间段。(如果设置了峰时担保类型,那么峰时担保时间不能为空,并且必须大于等于8点) 请注意,该字段仅能维护从当前时间开始,10年以内的数据,如果超过10年,会报错。

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetGuaranteeMode

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetGuaranteeMode(_guaranteeMode int64) error

SetGuaranteeMode is GuaranteeMode Setter -9999 清空担保, 2 VCC担保, 1 PCI担保,0 支付宝担保(信用住产品担保方式只能为支付宝担保)

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetGuaranteeStartTime

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetGuaranteeStartTime(_guaranteeStartTime string) error

SetGuaranteeStartTime is GuaranteeStartTime Setter 分时担保每日开始担保时间。 (如果设置了峰时担保类型,那么峰时担保时间不能为空,并且必须大于等于8点)

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetGuaranteeType

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetGuaranteeType(_guaranteeType int64) error

SetGuaranteeType is GuaranteeType Setter 担保类型,只支持: 0 无担保 1 峰时首晚担保 2峰时全额担保 3全天首晚担保 4全天全额担保

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetGuestLimit

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetGuestLimit(_guestLimit string) error

SetGuestLimit is GuestLimit Setter 入住人限制

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetHid

SetHid is Hid Setter 酒店id

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetHotelCompanyMappingDOS

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetHotelCompanyMappingDOS(_hotelCompanyMappingDOS string) error

SetHotelCompanyMappingDOS is HotelCompanyMappingDOS Setter 酒店-企业-rp映射实体集合

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetHourage

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetHourage(_hourage string) error

SetHourage is Hourage Setter 小时房入住时间跨度。小时房特有字段。比如4小时的小时房,那么值为4

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetIsStudent

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetIsStudent(_isStudent int64) error

SetIsStudent is IsStudent Setter 学生价,1:是;0:否

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetMaxAdvHours

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetMaxAdvHours(_maxAdvHours int64) error

SetMaxAdvHours is MaxAdvHours Setter 最大提前预定小时数,从入住当天的24点往前计算。例如如果这个字段设置了48,代表最多提前两天预定,那么如果想预定24号入住,,必须在23号零点以后下单。

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetMaxDays

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetMaxDays(_maxDays int64) error

SetMaxDays is MaxDays Setter 最大入住天数(1-90)。默认90,信用住最大入住天数不超过9天,小时房RP请设置为1,个别卖家支持180

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetMemDiscFlag

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetMemDiscFlag(_memDiscFlag int64) error

SetMemDiscFlag is MemDiscFlag Setter 会员价支持标识,1表示支持会员价规则

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetMemberDiscountCal

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetMemberDiscountCal(_memberDiscountCal string) error

SetMemberDiscountCal is MemberDiscountCal Setter 会员价加价规则。c:表示折扣百分比,例子8,意为会员价优惠8%,s:标识起始日期,e:表示截止日期,t:表示加价类型,0:代表折扣。会员价=售价*(1-c%)。该字段使用需要联系小二

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetMemberLevel

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetMemberLevel(_memberLevel string) error

SetMemberLevel is MemberLevel Setter 双方映射后的会员等级。如需开通,需要申请权限,取值范围为:1,2,3,4,5,none。比如飞猪F3对应商家V4,则传4.(如果有疑问请联系对接技术支持)

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetMinAdvHours

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetMinAdvHours(_minAdvHours int64) error

SetMinAdvHours is MinAdvHours Setter 最小提前预定小时数,从入住当天的24点往前计算。例如如果这个字段设置了48,代表必须至少提前两天预定,那么如果想预定24号入住,,必须在23号零点前下单。

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetMinAmount

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetMinAmount(_minAmount int64) error

SetMinAmount is MinAmount Setter 首日入住房间数(1-99)。默认1。【废弃】

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetMinDays

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetMinDays(_minDays int64) error

SetMinDays is MinDays Setter 最小入住天数(1-90)。默认1,小时房RP请设置为1

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetName

SetName is Name Setter 在淘宝搜索页面展示的房价名称;(添加RP时为必须)。注意该名称不要包含早餐相关信息,如果想维护早餐信息,请设置breakfast_count字段即可。

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetOnlineBookingBindingInfo

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error

SetOnlineBookingBindingInfo is OnlineBookingBindingInfo Setter 在线预约关联关系推送,priceRuleNumber:加价规则序号

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetOperator

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetOperator(_operator string) error

SetOperator is Operator Setter operator

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetOutHid

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetOutHid(_outHid string) error

SetOutHid is OutHid Setter 外部酒店id

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetOutRid

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetOutRid(_outRid string) error

SetOutRid is OutRid Setter 外部房型id

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetPackRoomFlag

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetPackRoomFlag(_packRoomFlag string) error

SetPackRoomFlag is PackRoomFlag Setter 是否包房RP 1包房RP,0 非包房rp

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetParentRpCode

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetParentRpCode(_parentRpCode string) error

SetParentRpCode is ParentRpCode Setter 父rpcode,使用场景:当一个rp发布变价rate的时候,用于下单时候传递约定的rpcode给外部

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetParentRpid

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetParentRpid(_parentRpid int64) error

SetParentRpid is ParentRpid Setter 父rpid,使用场景:当一个rp发布变价rate的时候,记录父rp信息,用于下单时候传递约定的rpcode给外部

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetPaymentType

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetPaymentType(_paymentType int64) error

SetPaymentType is PaymentType Setter 支付类型,只支持:1:预付5:现付6: 信用住7:在线预约8:在线预约信用住。其中5,6,7,8三种类型需要申请权限

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetRateplanCode

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetRateplanCode(_rateplanCode string) error

SetRateplanCode is RateplanCode Setter 商家价格政策编码

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetResourceType

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetResourceType(_resourceType string) error

SetResourceType is ResourceType Setter 商品来源渠道。1:直采(直连酒店PMS), 1-1:直采(非直连) 2:携程系, 3:美团, 4:国内旅行社分销, 5:海外供应商。非酒店资源方卖家必须提供商品来源渠道,携程系包括携程、去哪儿、艺龙。

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetRid

SetRid is Rid Setter 房型id

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetRights added in v1.2.5

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetRights(_rights string) error

SetRights is Rights Setter rp的权益信息。1. 额外积分 2. 优惠价格 3. 套餐权益 4.行政礼遇

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetRpType

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetRpType(_rpType string) error

SetRpType is RpType Setter rp类型,1为小时房。目前只支持小时房。如果不是小时房rateplan,则不要填写。如果想要清空该字段可以传入none

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetRpid

SetRpid is Rpid Setter 不推荐使用,使用ratePlanCode来标识要修改的RP

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetSource

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetSource(_source int64) error

SetSource is Source Setter 来源

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetStartTime

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetStartTime(_startTime string) error

SetStartTime is StartTime Setter 产品每日开始销售时间,start_time一定为当天时间

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetStatus

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetStatus(_status int64) error

SetStatus is Status Setter 1:开启(默认)2:关闭。如果没传值那么默认默认值为1;(添加RP时为必须)

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetSuperRpFlag

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetSuperRpFlag(_superRpFlag int64) error

SetSuperRpFlag is SuperRpFlag Setter super rp标记,1是;0否

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetTagJson

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetTagJson(_tagJson string) error

SetTagJson is TagJson Setter 更新RP时的 打标和去标 需求, 0 就是 去标, 1 就是打标, key的含义: non-direct-RP 表示非直连RP, super-could-price-change-RP 表示rp的super标,打上这个tag,表明这个rateplan下单的时候支持变价,商家系统直接放开价格校验。 base-could-derived-RP 表示base rateplan标签,打上了这个tag,表明这是一个base的rateplan,基于该rateplan可以衍生出子rateplan, ebk-tail-room-RP 表示 ebk尾房rate plan级别标, free-room 表示免房商品

func (*TaobaoXhotelRateplanUpdateAPIRequest) SetVendor

func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 系统商,一般不用填写,使用须申请

type TaobaoXhotelRateplanUpdateAPIResponse

type TaobaoXhotelRateplanUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRateplanUpdateAPIResponseModel
}

TaobaoXhotelRateplanUpdateAPIResponse 价格计划rateplan更新或添加 API返回值 taobao.xhotel.rateplan.update

酒店产品库rateplan更新或添加

func GetTaobaoXhotelRateplanUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelRateplanUpdateAPIResponse() *TaobaoXhotelRateplanUpdateAPIResponse

GetTaobaoXhotelRateplanUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelRateplanUpdateAPIResponse

func (*TaobaoXhotelRateplanUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRateplanUpdateAPIResponseModel

type TaobaoXhotelRateplanUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_rateplan_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 修改的rp id
	Rpid int64 `json:"rpid,omitempty" xml:"rpid,omitempty"`
}

TaobaoXhotelRateplanUpdateAPIResponseModel is 价格计划rateplan更新或添加 成功返回结果

func (*TaobaoXhotelRateplanUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRatesIncrementAPIRequest

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

TaobaoXhotelRatesIncrementAPIRequest 价格推送接口(批量增量) API请求 taobao.xhotel.rates.increment

Rate库存&价格增量更新接口,用户仅需要更新Rate中发生变化的库存日历&价格日历即可

func GetTaobaoXhotelRatesIncrementAPIRequest added in v1.3.4

func GetTaobaoXhotelRatesIncrementAPIRequest() *TaobaoXhotelRatesIncrementAPIRequest

GetTaobaoXhotelRatesIncrementRequest 从 sync.Pool 获取 TaobaoXhotelRatesIncrementAPIRequest

func NewTaobaoXhotelRatesIncrementRequest

func NewTaobaoXhotelRatesIncrementRequest() *TaobaoXhotelRatesIncrementAPIRequest

NewTaobaoXhotelRatesIncrementRequest 初始化TaobaoXhotelRatesIncrementAPIRequest对象

func (TaobaoXhotelRatesIncrementAPIRequest) GetApiMethodName

func (r TaobaoXhotelRatesIncrementAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRatesIncrementAPIRequest) GetApiParams

func (r TaobaoXhotelRatesIncrementAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRatesIncrementAPIRequest) GetRateInventoryPriceMap

func (r TaobaoXhotelRatesIncrementAPIRequest) GetRateInventoryPriceMap() string

GetRateInventoryPriceMap RateInventoryPriceMap Getter

func (TaobaoXhotelRatesIncrementAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelRatesIncrementAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRatesIncrementAPIRequest) SetRateInventoryPriceMap

func (r *TaobaoXhotelRatesIncrementAPIRequest) SetRateInventoryPriceMap(_rateInventoryPriceMap string) error

SetRateInventoryPriceMap is RateInventoryPriceMap Setter 批量修改价格和房价专有库存信息,json格式,可同时修改多套房型+价格计划的价格:A:use_room_inventory:是否使用房型共享库存,可选值 true false 1、true时:使用房型共享库存 2、false时:使用房价专有库存,此时要求房价专有库存必填。B:date 日期必须为 T---T+180 日内的日期(T为当天),不能重复。 C:price 价格 int类型 取值范围1-99999999 单位为分D:quota 房价专有库存 int 类型 取值范围 0-999(数量库存) 60000(状态库存关) 61000(状态库存开) E:status 价格开关,0为关,1为开。lock_start_time为锁库存开始时间,lock_end_time为锁库存结束时间,如果当前时间在这个时间范围内,那么不允许修改库存。示例值:(1)[{"out_rid":"ABCDE_123","rateplan_code":"ABCDE_WHL01","vendor":"","lock_start_time":"","lock_end_time":"","data":{"use_room_inventory":false,"inventory_price":[{"date":"2013-11-18","quota":1,"price":1000,"status":1},{"date":"2013-11-19","quota":1,"price":1000,"status":0}]}},{"out_rid":"ABCDE_234","rateplan_code":"ABCDE_WHL01","vendor":"","data":{"use_room_inventory":false,"inventory_price":[{"date":"2013-11-18","quota":1,"price":1000,"status":1},{"date":"2013-11-19","quota":1,"price":1000,"status":0}]}}]

type TaobaoXhotelRatesIncrementAPIResponse

type TaobaoXhotelRatesIncrementAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRatesIncrementAPIResponseModel
}

TaobaoXhotelRatesIncrementAPIResponse 价格推送接口(批量增量) API返回值 taobao.xhotel.rates.increment

Rate库存&价格增量更新接口,用户仅需要更新Rate中发生变化的库存日历&价格日历即可

func GetTaobaoXhotelRatesIncrementAPIResponse added in v1.3.4

func GetTaobaoXhotelRatesIncrementAPIResponse() *TaobaoXhotelRatesIncrementAPIResponse

GetTaobaoXhotelRatesIncrementAPIResponse 从 sync.Pool 获取 TaobaoXhotelRatesIncrementAPIResponse

func (*TaobaoXhotelRatesIncrementAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRatesIncrementAPIResponseModel

type TaobaoXhotelRatesIncrementAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_rates_increment_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// gid和rpid组合数组<br/>gid_rpid
	GidAndRpids []string `json:"gid_and_rpids,omitempty" xml:"gid_and_rpids>string,omitempty"`
}

TaobaoXhotelRatesIncrementAPIResponseModel is 价格推送接口(批量增量) 成功返回结果

func (*TaobaoXhotelRatesIncrementAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRatesLiteIncrUpdateAPIRequest

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

TaobaoXhotelRatesLiteIncrUpdateAPIRequest 酒店价格库存轻量级增量接口 API请求 taobao.xhotel.rates.lite.incr.update

多个rate的库存房价开关的增量更新接口

func GetTaobaoXhotelRatesLiteIncrUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelRatesLiteIncrUpdateAPIRequest() *TaobaoXhotelRatesLiteIncrUpdateAPIRequest

GetTaobaoXhotelRatesLiteIncrUpdateRequest 从 sync.Pool 获取 TaobaoXhotelRatesLiteIncrUpdateAPIRequest

func NewTaobaoXhotelRatesLiteIncrUpdateRequest

func NewTaobaoXhotelRatesLiteIncrUpdateRequest() *TaobaoXhotelRatesLiteIncrUpdateAPIRequest

NewTaobaoXhotelRatesLiteIncrUpdateRequest 初始化TaobaoXhotelRatesLiteIncrUpdateAPIRequest对象

func (TaobaoXhotelRatesLiteIncrUpdateAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRatesLiteIncrUpdateAPIRequest) GetApiParams

func (r TaobaoXhotelRatesLiteIncrUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRatesLiteIncrUpdateAPIRequest) GetRateListInvInfo

func (r TaobaoXhotelRatesLiteIncrUpdateAPIRequest) GetRateListInvInfo() string

GetRateListInvInfo RateListInvInfo Getter

func (TaobaoXhotelRatesLiteIncrUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelRatesLiteIncrUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRatesLiteIncrUpdateAPIRequest) SetRateListInvInfo

func (r *TaobaoXhotelRatesLiteIncrUpdateAPIRequest) SetRateListInvInfo(_rateListInvInfo string) error

SetRateListInvInfo is RateListInvInfo Setter json格式: [{"rp_code":"031612_181220000074_F1_1","out_rid":"031612_HD","vendor":"taobao","useRoomInv":0,"invAndSwitch":[{"date":"2020-01-09","price":1200,"quota":23,"rateStatus":1},{"date":"2020-01-10","price":1200,"quota":23,"rateStatus":0}]},{"rp_code":"1234","out_rid":"123456","vendor":"taobao","useRoomInv":0,"invAndSwitch":[{"date":"yyyy-MM-dd","price":1200,"quota":23,"rateStatus":1},{"date":"yyyy-MM-dd","price":1200,"quota":23,"rateStatus":1}]}] rp_code:房价code,out_rid:房型code,必传字段 useRoomInv: 表示是否使用房型库存(1表示是,0表示否),可选字段 invAndSwitch: 表示要更新的日历化价格库存以及开关,增量更新,更新哪天就传那天的日历化单元, 可选字段 invAndSwitch.date: 表示日历化单元里的日期,格式:yyyy-MM-dd, 在 invAndSwitch 里的每个日历化单元里是必填字段 invAndSwitch.price: 表示要更新的价格,单位 分, 可选字段 invAndSwitch.quota: 表示要更新的普通库存,可选字段 invAndSwitch.rateStatus: 表示要更新的价格开关,1表示开,0表示关,可选字段。请注意,该接口为轻量级批量增量更新接口,只能更新未来4天内价格库存开关信息,传入的参数日期超过4天了会报错。该接口核心是解决近几天价格库存实时性。

type TaobaoXhotelRatesLiteIncrUpdateAPIResponse

type TaobaoXhotelRatesLiteIncrUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRatesLiteIncrUpdateAPIResponseModel
}

TaobaoXhotelRatesLiteIncrUpdateAPIResponse 酒店价格库存轻量级增量接口 API返回值 taobao.xhotel.rates.lite.incr.update

多个rate的库存房价开关的增量更新接口

func GetTaobaoXhotelRatesLiteIncrUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelRatesLiteIncrUpdateAPIResponse() *TaobaoXhotelRatesLiteIncrUpdateAPIResponse

GetTaobaoXhotelRatesLiteIncrUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelRatesLiteIncrUpdateAPIResponse

func (*TaobaoXhotelRatesLiteIncrUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRatesLiteIncrUpdateAPIResponseModel

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

TaobaoXhotelRatesLiteIncrUpdateAPIResponseModel is 酒店价格库存轻量级增量接口 成功返回结果

func (*TaobaoXhotelRatesLiteIncrUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRatesLiteIncrUpdateResultSet

type TaobaoXhotelRatesLiteIncrUpdateResultSet struct {
	// 多个rate的更新结果
	FirstResult string `json:"first_result,omitempty" xml:"first_result,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoXhotelRatesLiteIncrUpdateResultSet 结构体

func GetTaobaoXhotelRatesLiteIncrUpdateResultSet added in v1.3.4

func GetTaobaoXhotelRatesLiteIncrUpdateResultSet() *TaobaoXhotelRatesLiteIncrUpdateResultSet

GetTaobaoXhotelRatesLiteIncrUpdateResultSet() 从对象池中获取TaobaoXhotelRatesLiteIncrUpdateResultSet

type TaobaoXhotelRatesUpdateAPIRequest

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

TaobaoXhotelRatesUpdateAPIRequest 价格推送接口(批量全量) API请求 taobao.xhotel.rates.update

酒店产品库rate批量更新房态信息

func GetTaobaoXhotelRatesUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelRatesUpdateAPIRequest() *TaobaoXhotelRatesUpdateAPIRequest

GetTaobaoXhotelRatesUpdateRequest 从 sync.Pool 获取 TaobaoXhotelRatesUpdateAPIRequest

func NewTaobaoXhotelRatesUpdateRequest

func NewTaobaoXhotelRatesUpdateRequest() *TaobaoXhotelRatesUpdateAPIRequest

NewTaobaoXhotelRatesUpdateRequest 初始化TaobaoXhotelRatesUpdateAPIRequest对象

func (TaobaoXhotelRatesUpdateAPIRequest) GetApiMethodName

func (r TaobaoXhotelRatesUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRatesUpdateAPIRequest) GetApiParams

func (r TaobaoXhotelRatesUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRatesUpdateAPIRequest) GetRateInventoryPriceMap

func (r TaobaoXhotelRatesUpdateAPIRequest) GetRateInventoryPriceMap() string

GetRateInventoryPriceMap RateInventoryPriceMap Getter

func (TaobaoXhotelRatesUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelRatesUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRatesUpdateAPIRequest) SetRateInventoryPriceMap

func (r *TaobaoXhotelRatesUpdateAPIRequest) SetRateInventoryPriceMap(_rateInventoryPriceMap string) error

SetRateInventoryPriceMap is RateInventoryPriceMap Setter 批量修改价格和房价专有库存信息,json格式,可同时修改多套房型+价格计划的价格:A:use_room_inventory:是否使用房型共享库存,可选值 true false 1、true时:使用房型共享库存 2、false时:使用房价专有库存,此时要求房价专有库存必填。B:date 日期必须为 T-1 --- T+180 日内的日期(T为当天),不能重复。 C:price 价格 int类型 取值范围1-99999999 单位为分D:quota 房价专有库存 int 类型 取值范围 0-999(数量库存) 60000(状态库存关) 61000(状态库存开) E:status 价格开关,0为关,1为开。lock_start_time为锁库存开始时间,lock_end_time为锁库存结束时间,如果当前时间在这个时间范围内,那么不允许修改库存。示例值:(1)[{"out_rid":"ABCDE_123","rateplan_code":"ABCDE_WHL01","vendor":"","lock_start_time":"","lock_end_time":"","data":{"use_room_inventory":false,"inventory_price":[{"date":"2013-11-18","quota":1,"price":1000,"status":1},{"date":"2013-11-19","quota":1,"price":1000,"status":0}]}},{"out_rid":"ABCDE_234","rateplan_code":"ABCDE_WHL01","vendor":"","data":{"use_room_inventory":false,"inventory_price":[{"date":"2013-11-18","quota":1,"price":1000,"status":1},{"date":"2013-11-19","quota":1,"price":1000,"status":0}]}}]

type TaobaoXhotelRatesUpdateAPIResponse

type TaobaoXhotelRatesUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRatesUpdateAPIResponseModel
}

TaobaoXhotelRatesUpdateAPIResponse 价格推送接口(批量全量) API返回值 taobao.xhotel.rates.update

酒店产品库rate批量更新房态信息

func GetTaobaoXhotelRatesUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelRatesUpdateAPIResponse() *TaobaoXhotelRatesUpdateAPIResponse

GetTaobaoXhotelRatesUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelRatesUpdateAPIResponse

func (*TaobaoXhotelRatesUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRatesUpdateAPIResponseModel

type TaobaoXhotelRatesUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_rates_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// gid_and_rateplan_ids
	GidAndRpids []string `json:"gid_and_rpids,omitempty" xml:"gid_and_rpids>string,omitempty"`
}

TaobaoXhotelRatesUpdateAPIResponseModel is 价格推送接口(批量全量) 成功返回结果

func (*TaobaoXhotelRatesUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRoomGetAPIRequest

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

TaobaoXhotelRoomGetAPIRequest room实体查询 API请求 taobao.xhotel.room.get

此接口用于查询一个商品,根据传入的gid查询商品信息。卖家只能查询自己的商品。

func GetTaobaoXhotelRoomGetAPIRequest added in v1.3.4

func GetTaobaoXhotelRoomGetAPIRequest() *TaobaoXhotelRoomGetAPIRequest

GetTaobaoXhotelRoomGetRequest 从 sync.Pool 获取 TaobaoXhotelRoomGetAPIRequest

func NewTaobaoXhotelRoomGetRequest

func NewTaobaoXhotelRoomGetRequest() *TaobaoXhotelRoomGetAPIRequest

NewTaobaoXhotelRoomGetRequest 初始化TaobaoXhotelRoomGetAPIRequest对象

func (TaobaoXhotelRoomGetAPIRequest) GetApiMethodName

func (r TaobaoXhotelRoomGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRoomGetAPIRequest) GetApiParams

func (r TaobaoXhotelRoomGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRoomGetAPIRequest) GetGid

GetGid Gid Getter

func (TaobaoXhotelRoomGetAPIRequest) GetOutRid

func (r TaobaoXhotelRoomGetAPIRequest) GetOutRid() string

GetOutRid OutRid Getter

func (TaobaoXhotelRoomGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoXhotelRoomGetAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelRoomGetAPIRequest) GetVendor

func (r TaobaoXhotelRoomGetAPIRequest) GetVendor() string

GetVendor Vendor Getter

func (*TaobaoXhotelRoomGetAPIRequest) Reset added in v1.3.4

func (r *TaobaoXhotelRoomGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRoomGetAPIRequest) SetGid

func (r *TaobaoXhotelRoomGetAPIRequest) SetGid(_gid int64) error

SetGid is Gid Setter 废弃

func (*TaobaoXhotelRoomGetAPIRequest) SetOutRid

func (r *TaobaoXhotelRoomGetAPIRequest) SetOutRid(_outRid string) error

SetOutRid is OutRid Setter 外部房型id 如果gid为空,那么out_rid和vendor都不能为空 支持通过gid或者通过out_rid和vendor来获取商品

func (*TaobaoXhotelRoomGetAPIRequest) SetVendor

func (r *TaobaoXhotelRoomGetAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 卖家渠道 如果gid为空,那么out_rid和vendor都不能为空。 支持通过gid或者通过out_rid和vendor来获取商品

type TaobaoXhotelRoomGetAPIResponse

type TaobaoXhotelRoomGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRoomGetAPIResponseModel
}

TaobaoXhotelRoomGetAPIResponse room实体查询 API返回值 taobao.xhotel.room.get

此接口用于查询一个商品,根据传入的gid查询商品信息。卖家只能查询自己的商品。

func GetTaobaoXhotelRoomGetAPIResponse added in v1.3.4

func GetTaobaoXhotelRoomGetAPIResponse() *TaobaoXhotelRoomGetAPIResponse

GetTaobaoXhotelRoomGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelRoomGetAPIResponse

func (*TaobaoXhotelRoomGetAPIResponse) Reset added in v1.3.4

func (m *TaobaoXhotelRoomGetAPIResponse) Reset()

Reset 清空结构体

type TaobaoXhotelRoomGetAPIResponseModel

type TaobaoXhotelRoomGetAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_room_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 房间信息
	Room *FirstResult `json:"room,omitempty" xml:"room,omitempty"`
}

TaobaoXhotelRoomGetAPIResponseModel is room实体查询 成功返回结果

func (*TaobaoXhotelRoomGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRoomUpdateAPIRequest

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

TaobaoXhotelRoomUpdateAPIRequest 房型库存推送接口(全量推送) API请求 taobao.xhotel.room.update

此接口用于更新一个酒店商品,根据传入的gid更新商品信息,该商品必须为对应的发布者才能执行更新操作。如果对应的商品在酒店系统中不存在,则会返回错误提示。

func GetTaobaoXhotelRoomUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelRoomUpdateAPIRequest() *TaobaoXhotelRoomUpdateAPIRequest

GetTaobaoXhotelRoomUpdateRequest 从 sync.Pool 获取 TaobaoXhotelRoomUpdateAPIRequest

func NewTaobaoXhotelRoomUpdateRequest

func NewTaobaoXhotelRoomUpdateRequest() *TaobaoXhotelRoomUpdateAPIRequest

NewTaobaoXhotelRoomUpdateRequest 初始化TaobaoXhotelRoomUpdateAPIRequest对象

func (TaobaoXhotelRoomUpdateAPIRequest) GetAllotmentEndTime

func (r TaobaoXhotelRoomUpdateAPIRequest) GetAllotmentEndTime() string

GetAllotmentEndTime AllotmentEndTime Getter

func (TaobaoXhotelRoomUpdateAPIRequest) GetAllotmentStartTime

func (r TaobaoXhotelRoomUpdateAPIRequest) GetAllotmentStartTime() string

GetAllotmentStartTime AllotmentStartTime Getter

func (TaobaoXhotelRoomUpdateAPIRequest) GetApiMethodName

func (r TaobaoXhotelRoomUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRoomUpdateAPIRequest) GetApiParams

func (r TaobaoXhotelRoomUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRoomUpdateAPIRequest) GetDesc

GetDesc Desc Getter

func (TaobaoXhotelRoomUpdateAPIRequest) GetGid

GetGid Gid Getter

func (TaobaoXhotelRoomUpdateAPIRequest) GetGuide

GetGuide Guide Getter

func (TaobaoXhotelRoomUpdateAPIRequest) GetHasReceipt

func (r TaobaoXhotelRoomUpdateAPIRequest) GetHasReceipt() bool

GetHasReceipt HasReceipt Getter

func (TaobaoXhotelRoomUpdateAPIRequest) GetInventory

func (r TaobaoXhotelRoomUpdateAPIRequest) GetInventory() string

GetInventory Inventory Getter

func (TaobaoXhotelRoomUpdateAPIRequest) GetOutRid

GetOutRid OutRid Getter

func (TaobaoXhotelRoomUpdateAPIRequest) GetPic

GetPic Pic Getter

func (TaobaoXhotelRoomUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelRoomUpdateAPIRequest) GetReceiptInfo

func (r TaobaoXhotelRoomUpdateAPIRequest) GetReceiptInfo() string

GetReceiptInfo ReceiptInfo Getter

func (TaobaoXhotelRoomUpdateAPIRequest) GetReceiptOtherTypeDesc

func (r TaobaoXhotelRoomUpdateAPIRequest) GetReceiptOtherTypeDesc() string

GetReceiptOtherTypeDesc ReceiptOtherTypeDesc Getter

func (TaobaoXhotelRoomUpdateAPIRequest) GetReceiptType

func (r TaobaoXhotelRoomUpdateAPIRequest) GetReceiptType() string

GetReceiptType ReceiptType Getter

func (TaobaoXhotelRoomUpdateAPIRequest) GetRoomSwitchCal

func (r TaobaoXhotelRoomUpdateAPIRequest) GetRoomSwitchCal() string

GetRoomSwitchCal RoomSwitchCal Getter

func (TaobaoXhotelRoomUpdateAPIRequest) GetStatus

GetStatus Status Getter

func (TaobaoXhotelRoomUpdateAPIRequest) GetSuperbookEndTime

func (r TaobaoXhotelRoomUpdateAPIRequest) GetSuperbookEndTime() string

GetSuperbookEndTime SuperbookEndTime Getter

func (TaobaoXhotelRoomUpdateAPIRequest) GetSuperbookStartTime

func (r TaobaoXhotelRoomUpdateAPIRequest) GetSuperbookStartTime() string

GetSuperbookStartTime SuperbookStartTime Getter

func (TaobaoXhotelRoomUpdateAPIRequest) GetTitle

GetTitle Title Getter

func (TaobaoXhotelRoomUpdateAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelRoomUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRoomUpdateAPIRequest) SetAllotmentEndTime

func (r *TaobaoXhotelRoomUpdateAPIRequest) SetAllotmentEndTime(_allotmentEndTime string) error

SetAllotmentEndTime is AllotmentEndTime Setter 保留房库存截止时间

func (*TaobaoXhotelRoomUpdateAPIRequest) SetAllotmentStartTime

func (r *TaobaoXhotelRoomUpdateAPIRequest) SetAllotmentStartTime(_allotmentStartTime string) error

SetAllotmentStartTime is AllotmentStartTime Setter 保留房库存截止时间

func (*TaobaoXhotelRoomUpdateAPIRequest) SetDesc

func (r *TaobaoXhotelRoomUpdateAPIRequest) SetDesc(_desc string) error

SetDesc is Desc Setter 废弃,宝贝描述展示在宝贝详情页面

func (*TaobaoXhotelRoomUpdateAPIRequest) SetGid

SetGid is Gid Setter 废弃,使用out_rid

func (*TaobaoXhotelRoomUpdateAPIRequest) SetGuide

func (r *TaobaoXhotelRoomUpdateAPIRequest) SetGuide(_guide string) error

SetGuide is Guide Setter 废弃,房型购买须知展示在PC购物路径

func (*TaobaoXhotelRoomUpdateAPIRequest) SetHasReceipt

func (r *TaobaoXhotelRoomUpdateAPIRequest) SetHasReceipt(_hasReceipt bool) error

SetHasReceipt is HasReceipt Setter 废弃,房型是否提供发票

func (*TaobaoXhotelRoomUpdateAPIRequest) SetInventory

func (r *TaobaoXhotelRoomUpdateAPIRequest) SetInventory(_inventory string) error

SetInventory is Inventory Setter 房型共享库存日历。quota物理库存;al_quota保留房库存;sp_quota超预定库存。其中保留房库存和超预定库存需要向运营申请权限示例:[{"date":2011-01-28,"quota":10,"al_quota":2,"sp_quota":3}]

func (*TaobaoXhotelRoomUpdateAPIRequest) SetOutRid

func (r *TaobaoXhotelRoomUpdateAPIRequest) SetOutRid(_outRid string) error

SetOutRid is OutRid Setter 卖家房型ID

func (*TaobaoXhotelRoomUpdateAPIRequest) SetPic

SetPic is Pic Setter 废弃,宝贝图片,没有默认使用标准酒店房型图片

func (*TaobaoXhotelRoomUpdateAPIRequest) SetReceiptInfo

func (r *TaobaoXhotelRoomUpdateAPIRequest) SetReceiptInfo(_receiptInfo string) error

SetReceiptInfo is ReceiptInfo Setter 废弃,房型发票说明,不能超过100个字

func (*TaobaoXhotelRoomUpdateAPIRequest) SetReceiptOtherTypeDesc

func (r *TaobaoXhotelRoomUpdateAPIRequest) SetReceiptOtherTypeDesc(_receiptOtherTypeDesc string) error

SetReceiptOtherTypeDesc is ReceiptOtherTypeDesc Setter 废弃,房型发票类型为其他时的发票描述,不能超过30个字

func (*TaobaoXhotelRoomUpdateAPIRequest) SetReceiptType

func (r *TaobaoXhotelRoomUpdateAPIRequest) SetReceiptType(_receiptType string) error

SetReceiptType is ReceiptType Setter 废弃,房型发票类型。A,B。分别代表: A:酒店住宿发票,B:其他

func (*TaobaoXhotelRoomUpdateAPIRequest) SetRoomSwitchCal

func (r *TaobaoXhotelRoomUpdateAPIRequest) SetRoomSwitchCal(_roomSwitchCal string) error

SetRoomSwitchCal is RoomSwitchCal Setter 房型库存开关。 1,开;2,关

func (*TaobaoXhotelRoomUpdateAPIRequest) SetStatus

func (r *TaobaoXhotelRoomUpdateAPIRequest) SetStatus(_status int64) error

SetStatus is Status Setter 宝贝状态,1上架。

func (*TaobaoXhotelRoomUpdateAPIRequest) SetSuperbookEndTime

func (r *TaobaoXhotelRoomUpdateAPIRequest) SetSuperbookEndTime(_superbookEndTime string) error

SetSuperbookEndTime is SuperbookEndTime Setter 超预定库存截止时间

func (*TaobaoXhotelRoomUpdateAPIRequest) SetSuperbookStartTime

func (r *TaobaoXhotelRoomUpdateAPIRequest) SetSuperbookStartTime(_superbookStartTime string) error

SetSuperbookStartTime is SuperbookStartTime Setter 超预定库存开始时间

func (*TaobaoXhotelRoomUpdateAPIRequest) SetTitle

func (r *TaobaoXhotelRoomUpdateAPIRequest) SetTitle(_title string) error

SetTitle is Title Setter 废弃,宝贝名称展示在店铺里

func (*TaobaoXhotelRoomUpdateAPIRequest) SetVendor

func (r *TaobaoXhotelRoomUpdateAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 系统商,一般不填写,使用须申请

type TaobaoXhotelRoomUpdateAPIResponse

type TaobaoXhotelRoomUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRoomUpdateAPIResponseModel
}

TaobaoXhotelRoomUpdateAPIResponse 房型库存推送接口(全量推送) API返回值 taobao.xhotel.room.update

此接口用于更新一个酒店商品,根据传入的gid更新商品信息,该商品必须为对应的发布者才能执行更新操作。如果对应的商品在酒店系统中不存在,则会返回错误提示。

func GetTaobaoXhotelRoomUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelRoomUpdateAPIResponse() *TaobaoXhotelRoomUpdateAPIResponse

GetTaobaoXhotelRoomUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelRoomUpdateAPIResponse

func (*TaobaoXhotelRoomUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRoomUpdateAPIResponseModel

type TaobaoXhotelRoomUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_room_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// gid酒店商品id
	Gid int64 `json:"gid,omitempty" xml:"gid,omitempty"`
}

TaobaoXhotelRoomUpdateAPIResponseModel is 房型库存推送接口(全量推送) 成功返回结果

func (*TaobaoXhotelRoomUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRoomsIncrementAPIRequest

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

TaobaoXhotelRoomsIncrementAPIRequest 房型库存推送接口(批量增量) API请求 taobao.xhotel.rooms.increment

Room库存增量更新接口,用户仅需要更新ROOM库存中发生变化的库存日历即可。

func GetTaobaoXhotelRoomsIncrementAPIRequest added in v1.3.4

func GetTaobaoXhotelRoomsIncrementAPIRequest() *TaobaoXhotelRoomsIncrementAPIRequest

GetTaobaoXhotelRoomsIncrementRequest 从 sync.Pool 获取 TaobaoXhotelRoomsIncrementAPIRequest

func NewTaobaoXhotelRoomsIncrementRequest

func NewTaobaoXhotelRoomsIncrementRequest() *TaobaoXhotelRoomsIncrementAPIRequest

NewTaobaoXhotelRoomsIncrementRequest 初始化TaobaoXhotelRoomsIncrementAPIRequest对象

func (TaobaoXhotelRoomsIncrementAPIRequest) GetApiMethodName

func (r TaobaoXhotelRoomsIncrementAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRoomsIncrementAPIRequest) GetApiParams

func (r TaobaoXhotelRoomsIncrementAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRoomsIncrementAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelRoomsIncrementAPIRequest) GetRoomQuotaMap

func (r TaobaoXhotelRoomsIncrementAPIRequest) GetRoomQuotaMap() string

GetRoomQuotaMap RoomQuotaMap Getter

func (*TaobaoXhotelRoomsIncrementAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRoomsIncrementAPIRequest) SetRoomQuotaMap

func (r *TaobaoXhotelRoomsIncrementAPIRequest) SetRoomQuotaMap(_roomQuotaMap string) error

SetRoomQuotaMap is RoomQuotaMap Setter 批量全量推送房型共享库存,一次最多修改30个房型。json encode。示例:[{"out_rid":"hotel1_roomtype22","vendor":"","allotment_start_Time":"","allotment_end_time":"","superbook_start_time":"","superbook_end_time":"","roomQuota":[{"date":2010-01-28,"quota":10,"al_quota":2,"sp_quota":3}]}] 其中al_quota为保留房库存,sp_quota为超预定库存,quota为物理库存。al_quota和sp_quota需要向运营申请权限才可维护。allotment_start_Time和allotment_end_time为保留房库存开始和截止时间;superbook_start_time和superbook_end_time为超预定库存开始和截止时间。

type TaobaoXhotelRoomsIncrementAPIResponse

type TaobaoXhotelRoomsIncrementAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRoomsIncrementAPIResponseModel
}

TaobaoXhotelRoomsIncrementAPIResponse 房型库存推送接口(批量增量) API返回值 taobao.xhotel.rooms.increment

Room库存增量更新接口,用户仅需要更新ROOM库存中发生变化的库存日历即可。

func GetTaobaoXhotelRoomsIncrementAPIResponse added in v1.3.4

func GetTaobaoXhotelRoomsIncrementAPIResponse() *TaobaoXhotelRoomsIncrementAPIResponse

GetTaobaoXhotelRoomsIncrementAPIResponse 从 sync.Pool 获取 TaobaoXhotelRoomsIncrementAPIResponse

func (*TaobaoXhotelRoomsIncrementAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRoomsIncrementAPIResponseModel

type TaobaoXhotelRoomsIncrementAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_rooms_increment_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 成功的gids LIST
	Gids []string `json:"gids,omitempty" xml:"gids>string,omitempty"`
}

TaobaoXhotelRoomsIncrementAPIResponseModel is 房型库存推送接口(批量增量) 成功返回结果

func (*TaobaoXhotelRoomsIncrementAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRoomsUpdateAPIRequest

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

TaobaoXhotelRoomsUpdateAPIRequest 房型共享库存推送接口(批量全量) API请求 taobao.xhotel.rooms.update

此接口用于更新多个集市酒店商品房态信息,根据传入的gids更新商品信息,该商品必须为对应的发布者才能执行更新操作。如果对应的商品在淘宝集市酒店系统中不存在,则会返回错误提示。是全量更新,非增量,会把之前的房态进行覆盖。

func GetTaobaoXhotelRoomsUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelRoomsUpdateAPIRequest() *TaobaoXhotelRoomsUpdateAPIRequest

GetTaobaoXhotelRoomsUpdateRequest 从 sync.Pool 获取 TaobaoXhotelRoomsUpdateAPIRequest

func NewTaobaoXhotelRoomsUpdateRequest

func NewTaobaoXhotelRoomsUpdateRequest() *TaobaoXhotelRoomsUpdateAPIRequest

NewTaobaoXhotelRoomsUpdateRequest 初始化TaobaoXhotelRoomsUpdateAPIRequest对象

func (TaobaoXhotelRoomsUpdateAPIRequest) GetApiMethodName

func (r TaobaoXhotelRoomsUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRoomsUpdateAPIRequest) GetApiParams

func (r TaobaoXhotelRoomsUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRoomsUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelRoomsUpdateAPIRequest) GetRoomQuotaMap

func (r TaobaoXhotelRoomsUpdateAPIRequest) GetRoomQuotaMap() string

GetRoomQuotaMap RoomQuotaMap Getter

func (*TaobaoXhotelRoomsUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRoomsUpdateAPIRequest) SetRoomQuotaMap

func (r *TaobaoXhotelRoomsUpdateAPIRequest) SetRoomQuotaMap(_roomQuotaMap string) error

SetRoomQuotaMap is RoomQuotaMap Setter 批量全量推送房型共享库存,一次最多修改30个房型。json encode。示例:[{"out_rid":"hotel1_roomtype22","vendor":"","allotment_start_Time":"","allotment_end_time":"","superbook_start_time":"","superbook_end_time":"","roomQuota":[{"date":2010-01-28,"quota":10,"al_quota":2,"sp_quota":3}]}] 其中al_quota为保留房库存,sp_quota为超预定库存,quota为物理库存。al_quota和sp_quota需要向运营申请权限才可维护。allotment_start_Time和allotment_end_time为保留房库存开始和截止时间;superbook_start_time和superbook_end_time为超预定库存开始和截止时间。

type TaobaoXhotelRoomsUpdateAPIResponse

type TaobaoXhotelRoomsUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRoomsUpdateAPIResponseModel
}

TaobaoXhotelRoomsUpdateAPIResponse 房型共享库存推送接口(批量全量) API返回值 taobao.xhotel.rooms.update

此接口用于更新多个集市酒店商品房态信息,根据传入的gids更新商品信息,该商品必须为对应的发布者才能执行更新操作。如果对应的商品在淘宝集市酒店系统中不存在,则会返回错误提示。是全量更新,非增量,会把之前的房态进行覆盖。

func GetTaobaoXhotelRoomsUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelRoomsUpdateAPIResponse() *TaobaoXhotelRoomsUpdateAPIResponse

GetTaobaoXhotelRoomsUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelRoomsUpdateAPIResponse

func (*TaobaoXhotelRoomsUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRoomsUpdateAPIResponseModel

type TaobaoXhotelRoomsUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_rooms_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 成功的gids LIST
	Gids []string `json:"gids,omitempty" xml:"gids>string,omitempty"`
}

TaobaoXhotelRoomsUpdateAPIResponseModel is 房型共享库存推送接口(批量全量) 成功返回结果

func (*TaobaoXhotelRoomsUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRoomtypeAddAPIRequest

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

TaobaoXhotelRoomtypeAddAPIRequest 房型新增接口(ID重复变更新) API请求 taobao.xhotel.roomtype.add

房型添加或更新

func GetTaobaoXhotelRoomtypeAddAPIRequest added in v1.3.4

func GetTaobaoXhotelRoomtypeAddAPIRequest() *TaobaoXhotelRoomtypeAddAPIRequest

GetTaobaoXhotelRoomtypeAddRequest 从 sync.Pool 获取 TaobaoXhotelRoomtypeAddAPIRequest

func NewTaobaoXhotelRoomtypeAddRequest

func NewTaobaoXhotelRoomtypeAddRequest() *TaobaoXhotelRoomtypeAddAPIRequest

NewTaobaoXhotelRoomtypeAddRequest 初始化TaobaoXhotelRoomtypeAddAPIRequest对象

func (TaobaoXhotelRoomtypeAddAPIRequest) GetAddBed added in v1.2.9

GetAddBed AddBed Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetApiMethodName

func (r TaobaoXhotelRoomtypeAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRoomtypeAddAPIRequest) GetApiParams

func (r TaobaoXhotelRoomtypeAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRoomtypeAddAPIRequest) GetArea

GetArea Area Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetBedInfo

GetBedInfo BedInfo Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetBedSize

GetBedSize BedSize Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetBedType

GetBedType BedType Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetChildrenPolicy added in v1.2.9

func (r TaobaoXhotelRoomtypeAddAPIRequest) GetChildrenPolicy() string

GetChildrenPolicy ChildrenPolicy Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetConnectionType

func (r TaobaoXhotelRoomtypeAddAPIRequest) GetConnectionType() int64

GetConnectionType ConnectionType Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetExtend

GetExtend Extend Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetFloor

GetFloor Floor Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetHid

GetHid Hid Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetInternet

func (r TaobaoXhotelRoomtypeAddAPIRequest) GetInternet() string

GetInternet Internet Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetMaxOccupancy

func (r TaobaoXhotelRoomtypeAddAPIRequest) GetMaxOccupancy() int64

GetMaxOccupancy MaxOccupancy Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetName

GetName Name Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetNameE

GetNameE NameE Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetOperator

func (r TaobaoXhotelRoomtypeAddAPIRequest) GetOperator() string

GetOperator Operator Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetOutHid

GetOutHid OutHid Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetOuterId

GetOuterId OuterId Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetPics

GetPics Pics Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelRoomtypeAddAPIRequest) GetService

GetService Service Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetSrid

GetSrid Srid Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetStandardRoomFacilities

func (r TaobaoXhotelRoomtypeAddAPIRequest) GetStandardRoomFacilities() string

GetStandardRoomFacilities StandardRoomFacilities Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetVendor

GetVendor Vendor Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetWindowDesc added in v1.2.9

func (r TaobaoXhotelRoomtypeAddAPIRequest) GetWindowDesc() string

GetWindowDesc WindowDesc Getter

func (TaobaoXhotelRoomtypeAddAPIRequest) GetWindowType

func (r TaobaoXhotelRoomtypeAddAPIRequest) GetWindowType() int64

GetWindowType WindowType Getter

func (*TaobaoXhotelRoomtypeAddAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetAddBed added in v1.2.9

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetAddBed(_addBed string) error

SetAddBed is AddBed Setter 房型加床政策。 费用(fee) 说明(desc)

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetArea

SetArea is Area Setter 具体面积大小,请按照正确格式填写。两种格式,例如:40或者 10-20

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetBedInfo

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetBedInfo(_bedInfo string) error

SetBedInfo is BedInfo Setter main_bed_type母床型,sub_bed_type子床型。详情参见文档: https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.yN2mES&docType=1&articleId=118712&previewCode=1DABB73EA935608455E203BA06CF3566

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetBedSize

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetBedSize(_bedSize string) error

SetBedSize is BedSize Setter 床宽。按自己定义存储,比如:2.1米

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetBedType

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetBedType(_bedType string) error

SetBedType is BedType Setter 床型。按链接中床型列表定义值存储 http://open.taobao.com/docs/doc.htm?&docType=1&articleId=105610

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetChildrenPolicy added in v1.2.9

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetChildrenPolicy(_childrenPolicy string) error

SetChildrenPolicy is ChildrenPolicy Setter 儿童政策

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetConnectionType

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetConnectionType(_connectionType int64) error

SetConnectionType is ConnectionType Setter 属性值为1: 含义是非直连房型

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetExtend

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetExtend(_extend string) error

SetExtend is Extend Setter 不要使用

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetFloor

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetFloor(_floor string) error

SetFloor is Floor Setter 客房在建筑的第几层,隔层为1-2层,4-5层,7-8层

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetHid

SetHid is Hid Setter (已废弃)请使用outHid

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetInternet

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetInternet(_internet string) error

SetInternet is Internet Setter 宽带服务。A,B,C,D。分别代表: A:无宽带,B:免费宽带,C:收费宽带,D:部分收费宽带

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetMaxOccupancy

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetMaxOccupancy(_maxOccupancy int64) error

SetMaxOccupancy is MaxOccupancy Setter 最大入住人数,默认2(1-99)

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetName

SetName is Name Setter 房型名称。不能超过200个字符

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetNameE

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetNameE(_nameE string) error

SetNameE is NameE Setter 卖家房型英文名称

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetOperator

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetOperator(_operator string) error

SetOperator is Operator Setter 操作人信息

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetOutHid

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetOutHid(_outHid string) error

SetOutHid is OutHid Setter (必传)商家酒店ID,指明该房型属于哪家酒店

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetOuterId

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 卖家房型ID,不能重复建议格式是:酒店code_房型code

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetPics

SetPics is Pics Setter 房型图片只支持远程图片,格式如下:[{"url":"http://taobao.com/123.jpg","ismain":"true"},{"url":"http://taobao.com/456.jpg","ismain":"false"},{"url":"http://taobao.com/789.jpg","ismain":"false"}]其中url是远程图片的访问地址(URL地址必须是合法的,否则会报错),main是是否为主图。只能设置一张图片为主图。

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetService

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetService(_service string) error

SetService is Service Setter 设施服务。JSON格式。 value值true有此服务,false没有。 bar:吧台,catv:有线电视,ddd:国内长途电话,idd:国际长途电话,toilet:独立卫生间,pubtoliet:公共卫生间。 如: {"bar":false,"catv":false,"ddd":false,"idd":false,"pubtoilet":false,"toilet":false}

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetSrid

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetSrid(_srid int64) error

SetSrid is Srid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝房型的匹配关系。目前尚未启动该字段。

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetStandardRoomFacilities

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetStandardRoomFacilities(_standardRoomFacilities string) error

SetStandardRoomFacilities is StandardRoomFacilities Setter 酒店房型设施

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetVendor

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 系统商,无申请不可使用

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetWindowDesc added in v1.2.9

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetWindowDesc(_windowDesc string) error

SetWindowDesc is WindowDesc Setter 窗型,窗型(windowType): 0=无窗 1=有窗 2=部分有窗 窗型缺陷(windowTypeDefect): 0=窗户不可打开通风 1=窗外有遮挡 2=窗外为酒店内景观 特殊窗(windowTypeSpecial): 0=落地窗 1=飘窗 2=天窗 3=小窗。 当为有窗或部分有窗时,窗型缺陷可多选,特殊窗型需单选

func (*TaobaoXhotelRoomtypeAddAPIRequest) SetWindowType

func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetWindowType(_windowType int64) error

SetWindowType is WindowType Setter 0:无窗/1:有窗/2:部分有窗/3:暗窗/4:部分暗窗

type TaobaoXhotelRoomtypeAddAPIResponse

type TaobaoXhotelRoomtypeAddAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRoomtypeAddAPIResponseModel
}

TaobaoXhotelRoomtypeAddAPIResponse 房型新增接口(ID重复变更新) API返回值 taobao.xhotel.roomtype.add

房型添加或更新

func GetTaobaoXhotelRoomtypeAddAPIResponse added in v1.3.4

func GetTaobaoXhotelRoomtypeAddAPIResponse() *TaobaoXhotelRoomtypeAddAPIResponse

GetTaobaoXhotelRoomtypeAddAPIResponse 从 sync.Pool 获取 TaobaoXhotelRoomtypeAddAPIResponse

func (*TaobaoXhotelRoomtypeAddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRoomtypeAddAPIResponseModel

type TaobaoXhotelRoomtypeAddAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_roomtype_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 房型信息
	Xroomtype *XRoomType `json:"xroomtype,omitempty" xml:"xroomtype,omitempty"`
}

TaobaoXhotelRoomtypeAddAPIResponseModel is 房型新增接口(ID重复变更新) 成功返回结果

func (*TaobaoXhotelRoomtypeAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRoomtypeConflictDataAPIRequest

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

TaobaoXhotelRoomtypeConflictDataAPIRequest 商家床型冲突数据接口 API请求 taobao.xhotel.roomtype.conflict.data

商家床型冲突数据接口

func GetTaobaoXhotelRoomtypeConflictDataAPIRequest added in v1.3.4

func GetTaobaoXhotelRoomtypeConflictDataAPIRequest() *TaobaoXhotelRoomtypeConflictDataAPIRequest

GetTaobaoXhotelRoomtypeConflictDataRequest 从 sync.Pool 获取 TaobaoXhotelRoomtypeConflictDataAPIRequest

func NewTaobaoXhotelRoomtypeConflictDataRequest

func NewTaobaoXhotelRoomtypeConflictDataRequest() *TaobaoXhotelRoomtypeConflictDataAPIRequest

NewTaobaoXhotelRoomtypeConflictDataRequest 初始化TaobaoXhotelRoomtypeConflictDataAPIRequest对象

func (TaobaoXhotelRoomtypeConflictDataAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRoomtypeConflictDataAPIRequest) GetApiParams

func (r TaobaoXhotelRoomtypeConflictDataAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRoomtypeConflictDataAPIRequest) GetCurrentPage

GetCurrentPage CurrentPage Getter

func (TaobaoXhotelRoomtypeConflictDataAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelRoomtypeConflictDataAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRoomtypeConflictDataAPIRequest) SetCurrentPage

func (r *TaobaoXhotelRoomtypeConflictDataAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 查询第几页数据

type TaobaoXhotelRoomtypeConflictDataAPIResponse

type TaobaoXhotelRoomtypeConflictDataAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRoomtypeConflictDataAPIResponseModel
}

TaobaoXhotelRoomtypeConflictDataAPIResponse 商家床型冲突数据接口 API返回值 taobao.xhotel.roomtype.conflict.data

商家床型冲突数据接口

func GetTaobaoXhotelRoomtypeConflictDataAPIResponse added in v1.3.4

func GetTaobaoXhotelRoomtypeConflictDataAPIResponse() *TaobaoXhotelRoomtypeConflictDataAPIResponse

GetTaobaoXhotelRoomtypeConflictDataAPIResponse 从 sync.Pool 获取 TaobaoXhotelRoomtypeConflictDataAPIResponse

func (*TaobaoXhotelRoomtypeConflictDataAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRoomtypeConflictDataAPIResponseModel

type TaobaoXhotelRoomtypeConflictDataAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_roomtype_conflict_data_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 查询结果集
	Result *TaobaoXhotelRoomtypeConflictDataResultSet `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoXhotelRoomtypeConflictDataAPIResponseModel is 商家床型冲突数据接口 成功返回结果

func (*TaobaoXhotelRoomtypeConflictDataAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRoomtypeConflictDataResultSet

type TaobaoXhotelRoomtypeConflictDataResultSet struct {
	// 结果集
	Results []RoomTypeCheckResultDo `json:"results,omitempty" xml:"results>room_type_check_result_do,omitempty"`
	// 警告信息
	WarnMessage string `json:"warn_message,omitempty" xml:"warn_message,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 总数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// 是否还有下一页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
}

TaobaoXhotelRoomtypeConflictDataResultSet 结构体

func GetTaobaoXhotelRoomtypeConflictDataResultSet added in v1.3.4

func GetTaobaoXhotelRoomtypeConflictDataResultSet() *TaobaoXhotelRoomtypeConflictDataResultSet

GetTaobaoXhotelRoomtypeConflictDataResultSet() 从对象池中获取TaobaoXhotelRoomtypeConflictDataResultSet

type TaobaoXhotelRoomtypeDeletePublicAPIRequest

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

TaobaoXhotelRoomtypeDeletePublicAPIRequest 商家删除房型数据接口 API请求 taobao.xhotel.roomtype.delete.public

房型删除TOP接口

func GetTaobaoXhotelRoomtypeDeletePublicAPIRequest added in v1.3.4

func GetTaobaoXhotelRoomtypeDeletePublicAPIRequest() *TaobaoXhotelRoomtypeDeletePublicAPIRequest

GetTaobaoXhotelRoomtypeDeletePublicRequest 从 sync.Pool 获取 TaobaoXhotelRoomtypeDeletePublicAPIRequest

func NewTaobaoXhotelRoomtypeDeletePublicRequest

func NewTaobaoXhotelRoomtypeDeletePublicRequest() *TaobaoXhotelRoomtypeDeletePublicAPIRequest

NewTaobaoXhotelRoomtypeDeletePublicRequest 初始化TaobaoXhotelRoomtypeDeletePublicAPIRequest对象

func (TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetApiParams

func (r TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetOperator

GetOperator Operator Getter

func (TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetOuterRid

GetOuterRid OuterRid Getter

func (TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetRid

GetRid Rid Getter

func (TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelRoomtypeDeletePublicAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRoomtypeDeletePublicAPIRequest) SetOperator

func (r *TaobaoXhotelRoomtypeDeletePublicAPIRequest) SetOperator(_operator string) error

SetOperator is Operator Setter 具体操作人,比如酒店帐号、小二名称等

func (*TaobaoXhotelRoomtypeDeletePublicAPIRequest) SetOuterRid

func (r *TaobaoXhotelRoomtypeDeletePublicAPIRequest) SetOuterRid(_outerRid string) error

SetOuterRid is OuterRid Setter 外部房型ID

func (*TaobaoXhotelRoomtypeDeletePublicAPIRequest) SetRid

SetRid is Rid Setter 房型rid ,�传参方式:rid 或者 outer_id+vendor

func (*TaobaoXhotelRoomtypeDeletePublicAPIRequest) SetVendor

SetVendor is Vendor Setter vendor

type TaobaoXhotelRoomtypeDeletePublicAPIResponse

type TaobaoXhotelRoomtypeDeletePublicAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRoomtypeDeletePublicAPIResponseModel
}

TaobaoXhotelRoomtypeDeletePublicAPIResponse 商家删除房型数据接口 API返回值 taobao.xhotel.roomtype.delete.public

房型删除TOP接口

func GetTaobaoXhotelRoomtypeDeletePublicAPIResponse added in v1.3.4

func GetTaobaoXhotelRoomtypeDeletePublicAPIResponse() *TaobaoXhotelRoomtypeDeletePublicAPIResponse

GetTaobaoXhotelRoomtypeDeletePublicAPIResponse 从 sync.Pool 获取 TaobaoXhotelRoomtypeDeletePublicAPIResponse

func (*TaobaoXhotelRoomtypeDeletePublicAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRoomtypeDeletePublicAPIResponseModel

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

TaobaoXhotelRoomtypeDeletePublicAPIResponseModel is 商家删除房型数据接口 成功返回结果

func (*TaobaoXhotelRoomtypeDeletePublicAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRoomtypeDeletePublicResultSet

type TaobaoXhotelRoomtypeDeletePublicResultSet struct {
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// deleteResult
	DeleteResult string `json:"delete_result,omitempty" xml:"delete_result,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoXhotelRoomtypeDeletePublicResultSet 结构体

func GetTaobaoXhotelRoomtypeDeletePublicResultSet added in v1.3.4

func GetTaobaoXhotelRoomtypeDeletePublicResultSet() *TaobaoXhotelRoomtypeDeletePublicResultSet

GetTaobaoXhotelRoomtypeDeletePublicResultSet() 从对象池中获取TaobaoXhotelRoomtypeDeletePublicResultSet

type TaobaoXhotelRoomtypeGetAPIRequest

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

TaobaoXhotelRoomtypeGetAPIRequest 房型查询接口 API请求 taobao.xhotel.roomtype.get

房型查询房型查询接口返回结果增加date_confirm字段

func GetTaobaoXhotelRoomtypeGetAPIRequest added in v1.3.4

func GetTaobaoXhotelRoomtypeGetAPIRequest() *TaobaoXhotelRoomtypeGetAPIRequest

GetTaobaoXhotelRoomtypeGetRequest 从 sync.Pool 获取 TaobaoXhotelRoomtypeGetAPIRequest

func NewTaobaoXhotelRoomtypeGetRequest

func NewTaobaoXhotelRoomtypeGetRequest() *TaobaoXhotelRoomtypeGetAPIRequest

NewTaobaoXhotelRoomtypeGetRequest 初始化TaobaoXhotelRoomtypeGetAPIRequest对象

func (TaobaoXhotelRoomtypeGetAPIRequest) GetApiMethodName

func (r TaobaoXhotelRoomtypeGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRoomtypeGetAPIRequest) GetApiParams

func (r TaobaoXhotelRoomtypeGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRoomtypeGetAPIRequest) GetOuterId

GetOuterId OuterId Getter

func (TaobaoXhotelRoomtypeGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelRoomtypeGetAPIRequest) GetRid

GetRid Rid Getter

func (TaobaoXhotelRoomtypeGetAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelRoomtypeGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRoomtypeGetAPIRequest) SetOuterId

func (r *TaobaoXhotelRoomtypeGetAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 商家房型ID

func (*TaobaoXhotelRoomtypeGetAPIRequest) SetRid

SetRid is Rid Setter 废弃,使用商家房型ID

func (*TaobaoXhotelRoomtypeGetAPIRequest) SetVendor

func (r *TaobaoXhotelRoomtypeGetAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 系统商,一般不填写,使用须申请

type TaobaoXhotelRoomtypeGetAPIResponse

type TaobaoXhotelRoomtypeGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRoomtypeGetAPIResponseModel
}

TaobaoXhotelRoomtypeGetAPIResponse 房型查询接口 API返回值 taobao.xhotel.roomtype.get

房型查询房型查询接口返回结果增加date_confirm字段

func GetTaobaoXhotelRoomtypeGetAPIResponse added in v1.3.4

func GetTaobaoXhotelRoomtypeGetAPIResponse() *TaobaoXhotelRoomtypeGetAPIResponse

GetTaobaoXhotelRoomtypeGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelRoomtypeGetAPIResponse

func (*TaobaoXhotelRoomtypeGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRoomtypeGetAPIResponseModel

type TaobaoXhotelRoomtypeGetAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_roomtype_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 查询得到的RoomType
	Xroomtype *XRoomType `json:"xroomtype,omitempty" xml:"xroomtype,omitempty"`
}

TaobaoXhotelRoomtypeGetAPIResponseModel is 房型查询接口 成功返回结果

func (*TaobaoXhotelRoomtypeGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRoomtypeUpdateAPIRequest

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

TaobaoXhotelRoomtypeUpdateAPIRequest 房型更新接口(ID不存在自动新增) API请求 taobao.xhotel.roomtype.update

酒店房型更新或添加

func GetTaobaoXhotelRoomtypeUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelRoomtypeUpdateAPIRequest() *TaobaoXhotelRoomtypeUpdateAPIRequest

GetTaobaoXhotelRoomtypeUpdateRequest 从 sync.Pool 获取 TaobaoXhotelRoomtypeUpdateAPIRequest

func NewTaobaoXhotelRoomtypeUpdateRequest

func NewTaobaoXhotelRoomtypeUpdateRequest() *TaobaoXhotelRoomtypeUpdateAPIRequest

NewTaobaoXhotelRoomtypeUpdateRequest 初始化TaobaoXhotelRoomtypeUpdateAPIRequest对象

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetAddBed added in v1.2.9

GetAddBed AddBed Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetApiMethodName

func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetApiParams

func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetArea

GetArea Area Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetBedInfo

GetBedInfo BedInfo Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetBedSize

GetBedSize BedSize Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetBedType

GetBedType BedType Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetChildrenPolicy added in v1.2.9

func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetChildrenPolicy() string

GetChildrenPolicy ChildrenPolicy Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetConnectionType

func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetConnectionType() int64

GetConnectionType ConnectionType Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetExtend

GetExtend Extend Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetFloor

GetFloor Floor Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetHid

GetHid Hid Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetHotelCode

GetHotelCode HotelCode Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetInternet

GetInternet Internet Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetMaxOccupancy

func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetMaxOccupancy() int64

GetMaxOccupancy MaxOccupancy Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetName

GetName Name Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetNameE

GetNameE NameE Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetNewOuterId

func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetNewOuterId() string

GetNewOuterId NewOuterId Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetOperator

GetOperator Operator Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetOuterId

GetOuterId OuterId Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetPics

GetPics Pics Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetRid

GetRid Rid Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetService

GetService Service Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetSrid

GetSrid Srid Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetStandardRoomFacilities

func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetStandardRoomFacilities() string

GetStandardRoomFacilities StandardRoomFacilities Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetStatus

GetStatus Status Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetVendor

GetVendor Vendor Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetWindowDesc added in v1.2.9

func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetWindowDesc() string

GetWindowDesc WindowDesc Getter

func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetWindowType

func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetWindowType() int64

GetWindowType WindowType Getter

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetAddBed added in v1.2.9

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetAddBed(_addBed string) error

SetAddBed is AddBed Setter 房型加床政策。 费用(fee) 说明(desc)

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetArea

SetArea is Area Setter 具体面积大小,请按照正确格式填写。两种格式,例如:40 或者 10-20

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetBedInfo

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetBedInfo(_bedInfo string) error

SetBedInfo is BedInfo Setter main_bed_type母床型,sub_bed_type子床型。详情参见文档: https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.yN2mES&docType=1&articleId=118712&previewCode=1DABB73EA935608455E203BA06CF3566

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetBedSize

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetBedSize(_bedSize string) error

SetBedSize is BedSize Setter 床宽。按自己定义存储,比如:2.1米

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetBedType

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetBedType(_bedType string) error

SetBedType is BedType Setter 床型。按链接中床型列表定义值存储 http://open.taobao.com/docs/doc.htm?&docType=1&articleId=105610

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetChildrenPolicy added in v1.2.9

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetChildrenPolicy(_childrenPolicy string) error

SetChildrenPolicy is ChildrenPolicy Setter 儿童政策

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetConnectionType

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetConnectionType(_connectionType int64) error

SetConnectionType is ConnectionType Setter 属性值为1: 含义是非直连房型

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetExtend

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetExtend(_extend string) error

SetExtend is Extend Setter 扩展信息的JSON。注:此字段的值需要ISV在接入前与淘宝沟通,且确认能解析

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetFloor

SetFloor is Floor Setter 客房在建筑的第几层,隔层为1-2层,4-5层,7-8层

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetHid

SetHid is Hid Setter (已废弃)

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetHotelCode

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetHotelCode(_hotelCode string) error

SetHotelCode is HotelCode Setter 商家酒店ID(如果更新房型的时候房型不存在,会拿该code去新增房型)

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetInternet

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetInternet(_internet string) error

SetInternet is Internet Setter 宽带服务。A,B,C,D。分别代表: A:无宽带,B:免费宽带,C:收费宽带,D:部分收费宽带

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetMaxOccupancy

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetMaxOccupancy(_maxOccupancy int64) error

SetMaxOccupancy is MaxOccupancy Setter 最大入住人数,默认2(1-99)

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetName

SetName is Name Setter 房型名称。不能超过200字;添加房型时为必须

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetNameE

SetNameE is NameE Setter 卖家房型英文名称

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetNewOuterId

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetNewOuterId(_newOuterId string) error

SetNewOuterId is NewOuterId Setter 新的房型编码,请确实需要修改某个房型的编码的时候才使用,如需使用,请联系飞猪技术支持开通权限,否则会更新失败

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetOperator

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetOperator(_operator string) error

SetOperator is Operator Setter 操作人信息

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetOuterId

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter (必传)商家房型ID

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetPics

SetPics is Pics Setter 房型图片只支持远程图片,格式如下:[{"url":"http://taobao.com/123.jpg","ismain":"true"},{"url":"http://taobao.com/456.jpg","ismain":"false"},{"url":"http://taobao.com/789.jpg","ismain":"false"}]其中url是远程图片的访问地址(URL地址必须是合法的,否则会报错),main是是否为主图。只能设置一张图片为主图。要求:无logo、水印、边框、人物,不模糊,不重复,不歪斜,房间图清晰,图片尺寸不小于300*225,不小于5M

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetRid

SetRid is Rid Setter (已废弃)

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetService

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetService(_service string) error

SetService is Service Setter 设施服务。JSON格式。 value值true有此服务,false没有。 bar:吧台,catv:有线电视,ddd:国内长途电话,idd:国际长途电话,toilet:独立卫生间,pubtoliet:公共卫生间。 如: {"bar":false,"catv":false,"ddd":false,"idd":false,"pubtoilet":false,"toilet":false}

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetSrid

SetSrid is Srid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝房型的匹配关系。目前尚未启动该字段。

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetStandardRoomFacilities

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetStandardRoomFacilities(_standardRoomFacilities string) error

SetStandardRoomFacilities is StandardRoomFacilities Setter 房间设施

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetStatus

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetStatus(_status *model.File) error

SetStatus is Status Setter 房型状态。0:正常,-1:删除,-2:停售

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetVendor

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 系统商,不要使用,只有申请才可用

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetWindowDesc added in v1.2.9

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetWindowDesc(_windowDesc string) error

SetWindowDesc is WindowDesc Setter 窗型,窗型(windowType): 0=无窗 1=有窗 2=部分有窗 窗型缺陷(windowTypeDefect): 0=窗户不可打开通风 1=窗外有遮挡 2=窗外为酒店内景观 特殊窗(windowTypeSpecial): 0=落地窗 1=飘窗 2=天窗 3=小窗。 当为有窗或部分有窗时,窗型缺陷可多选,特殊窗型需单选

func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetWindowType

func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetWindowType(_windowType int64) error

SetWindowType is WindowType Setter 0:无窗/1:有窗

type TaobaoXhotelRoomtypeUpdateAPIResponse

type TaobaoXhotelRoomtypeUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelRoomtypeUpdateAPIResponseModel
}

TaobaoXhotelRoomtypeUpdateAPIResponse 房型更新接口(ID不存在自动新增) API返回值 taobao.xhotel.roomtype.update

酒店房型更新或添加

func GetTaobaoXhotelRoomtypeUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelRoomtypeUpdateAPIResponse() *TaobaoXhotelRoomtypeUpdateAPIResponse

GetTaobaoXhotelRoomtypeUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelRoomtypeUpdateAPIResponse

func (*TaobaoXhotelRoomtypeUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelRoomtypeUpdateAPIResponseModel

type TaobaoXhotelRoomtypeUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_roomtype_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 房型信息
	Xroomtype *XRoomType `json:"xroomtype,omitempty" xml:"xroomtype,omitempty"`
}

TaobaoXhotelRoomtypeUpdateAPIResponseModel is 房型更新接口(ID不存在自动新增) 成功返回结果

func (*TaobaoXhotelRoomtypeUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelServicetimeGetAPIRequest

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

TaobaoXhotelServicetimeGetAPIRequest 查询实体对应的服务时间数据 API请求 taobao.xhotel.servicetime.get

通过实体来获取对应的服务时间数据

func GetTaobaoXhotelServicetimeGetAPIRequest added in v1.3.4

func GetTaobaoXhotelServicetimeGetAPIRequest() *TaobaoXhotelServicetimeGetAPIRequest

GetTaobaoXhotelServicetimeGetRequest 从 sync.Pool 获取 TaobaoXhotelServicetimeGetAPIRequest

func NewTaobaoXhotelServicetimeGetRequest

func NewTaobaoXhotelServicetimeGetRequest() *TaobaoXhotelServicetimeGetAPIRequest

NewTaobaoXhotelServicetimeGetRequest 初始化TaobaoXhotelServicetimeGetAPIRequest对象

func (TaobaoXhotelServicetimeGetAPIRequest) GetApiMethodName

func (r TaobaoXhotelServicetimeGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelServicetimeGetAPIRequest) GetApiParams

func (r TaobaoXhotelServicetimeGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelServicetimeGetAPIRequest) GetHid

GetHid Hid Getter

func (TaobaoXhotelServicetimeGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelServicetimeGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelServicetimeGetAPIRequest) SetHid

SetHid is Hid Setter 酒店id

type TaobaoXhotelServicetimeGetAPIResponse

type TaobaoXhotelServicetimeGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelServicetimeGetAPIResponseModel
}

TaobaoXhotelServicetimeGetAPIResponse 查询实体对应的服务时间数据 API返回值 taobao.xhotel.servicetime.get

通过实体来获取对应的服务时间数据

func GetTaobaoXhotelServicetimeGetAPIResponse added in v1.3.4

func GetTaobaoXhotelServicetimeGetAPIResponse() *TaobaoXhotelServicetimeGetAPIResponse

GetTaobaoXhotelServicetimeGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelServicetimeGetAPIResponse

func (*TaobaoXhotelServicetimeGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelServicetimeGetAPIResponseModel

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

TaobaoXhotelServicetimeGetAPIResponseModel is 查询实体对应的服务时间数据 成功返回结果

func (*TaobaoXhotelServicetimeGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelServicetimeGetResultSet

type TaobaoXhotelServicetimeGetResultSet struct {
	// firstResult
	FirstResults []ServiceTimeDataDo `json:"first_results,omitempty" xml:"first_results>service_time_data_do,omitempty"`
	// results
	Results []string `json:"results,omitempty" xml:"results>string,omitempty"`
	// exception
	Exception string `json:"exception,omitempty" xml:"exception,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// warnMessage
	WarnMessage string `json:"warn_message,omitempty" xml:"warn_message,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// totalResults
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// hasNext
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
}

TaobaoXhotelServicetimeGetResultSet 结构体

func GetTaobaoXhotelServicetimeGetResultSet added in v1.3.4

func GetTaobaoXhotelServicetimeGetResultSet() *TaobaoXhotelServicetimeGetResultSet

GetTaobaoXhotelServicetimeGetResultSet() 从对象池中获取TaobaoXhotelServicetimeGetResultSet

type TaobaoXhotelServicetimeUpdateAPIRequest

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

TaobaoXhotelServicetimeUpdateAPIRequest 飞猪酒店多维度服务时间维护接口 API请求 taobao.xhotel.servicetime.update

飞猪酒店多维度服务时间维护,支持卖家维度,supplier维度,酒店维度

func GetTaobaoXhotelServicetimeUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelServicetimeUpdateAPIRequest() *TaobaoXhotelServicetimeUpdateAPIRequest

GetTaobaoXhotelServicetimeUpdateRequest 从 sync.Pool 获取 TaobaoXhotelServicetimeUpdateAPIRequest

func NewTaobaoXhotelServicetimeUpdateRequest

func NewTaobaoXhotelServicetimeUpdateRequest() *TaobaoXhotelServicetimeUpdateAPIRequest

NewTaobaoXhotelServicetimeUpdateRequest 初始化TaobaoXhotelServicetimeUpdateAPIRequest对象

func (TaobaoXhotelServicetimeUpdateAPIRequest) GetApiMethodName

func (r TaobaoXhotelServicetimeUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelServicetimeUpdateAPIRequest) GetApiParams

func (r TaobaoXhotelServicetimeUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelServicetimeUpdateAPIRequest) GetParam

GetParam Param Getter

func (TaobaoXhotelServicetimeUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelServicetimeUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelServicetimeUpdateAPIRequest) SetParam

SetParam is Param Setter 请按照示例值的格式来填写,涉及到是否当日订单,是否展示,周一到周日的服务时间,业务id,业务类型1为卖家,2为supplier ,3为酒店。[{"businessId":11925099374,"businessType":3,"displayItemInNonWorkingTime":1,"mondayConfirmLocalTime":"09:00-18:00","operator":"操作人","orderConfirmType":1,"saturdayConfirmLocalTime":"09:00-18:00","sellerId":2054718374,"sellerNick":"sandbox_b_27","sundayConfirmLocalTime":"09:00-18:00","supplier":"","thursdayConfirmLocalTime":"09:00-18:00","timeZoneName":"Asia/Shanghai","tuesdayConfirmLocalTime":"09:00-18:00","wednesdayConfirmLocalTime":"09:00-18:00","fridayConfirmLocalTime":"09:00-18:00"},{"businessId":11925099374,"businessType":3,"displayItemInNonWorkingTime":1,"mondayConfirmLocalTime":"09:00-18:00","operator":"操作人","orderConfirmType":2,"saturdayConfirmLocalTime":"09:00-18:00","sellerId":2054718374,"sellerNick":"sandbox_b_27","sundayConfirmLocalTime":"09:00-18:00","supplier":"","thursdayConfirmLocalTime":"09:00-18:00","timeZoneName":"Asia/Shanghai","tuesdayConfirmLocalTime":"09:00-18:00","wednesdayConfirmLocalTime":"09:00-18:00","fridayConfirmLocalTime":"09:00-18:00"}]

type TaobaoXhotelServicetimeUpdateAPIResponse

type TaobaoXhotelServicetimeUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelServicetimeUpdateAPIResponseModel
}

TaobaoXhotelServicetimeUpdateAPIResponse 飞猪酒店多维度服务时间维护接口 API返回值 taobao.xhotel.servicetime.update

飞猪酒店多维度服务时间维护,支持卖家维度,supplier维度,酒店维度

func GetTaobaoXhotelServicetimeUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelServicetimeUpdateAPIResponse() *TaobaoXhotelServicetimeUpdateAPIResponse

GetTaobaoXhotelServicetimeUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelServicetimeUpdateAPIResponse

func (*TaobaoXhotelServicetimeUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelServicetimeUpdateAPIResponseModel

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

TaobaoXhotelServicetimeUpdateAPIResponseModel is 飞猪酒店多维度服务时间维护接口 成功返回结果

func (*TaobaoXhotelServicetimeUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelServicetimeUpdateResultSet

type TaobaoXhotelServicetimeUpdateResultSet struct {
	// results
	Results []string `json:"results,omitempty" xml:"results>string,omitempty"`
	// exception
	Exception string `json:"exception,omitempty" xml:"exception,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// warnMessage
	WarnMessage string `json:"warn_message,omitempty" xml:"warn_message,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// totalResults
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// hasNext
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
}

TaobaoXhotelServicetimeUpdateResultSet 结构体

func GetTaobaoXhotelServicetimeUpdateResultSet added in v1.3.4

func GetTaobaoXhotelServicetimeUpdateResultSet() *TaobaoXhotelServicetimeUpdateResultSet

GetTaobaoXhotelServicetimeUpdateResultSet() 从对象池中获取TaobaoXhotelServicetimeUpdateResultSet

type TaobaoXhotelStatusUpdateAPIRequest added in v1.2.9

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

TaobaoXhotelStatusUpdateAPIRequest 酒店状态更新 API请求 taobao.xhotel.status.update

酒店状态更新

func GetTaobaoXhotelStatusUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelStatusUpdateAPIRequest() *TaobaoXhotelStatusUpdateAPIRequest

GetTaobaoXhotelStatusUpdateRequest 从 sync.Pool 获取 TaobaoXhotelStatusUpdateAPIRequest

func NewTaobaoXhotelStatusUpdateRequest added in v1.2.9

func NewTaobaoXhotelStatusUpdateRequest() *TaobaoXhotelStatusUpdateAPIRequest

NewTaobaoXhotelStatusUpdateRequest 初始化TaobaoXhotelStatusUpdateAPIRequest对象

func (TaobaoXhotelStatusUpdateAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoXhotelStatusUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelStatusUpdateAPIRequest) GetApiParams added in v1.2.9

func (r TaobaoXhotelStatusUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelStatusUpdateAPIRequest) GetHid added in v1.2.9

GetHid Hid Getter

func (TaobaoXhotelStatusUpdateAPIRequest) GetOuterId added in v1.2.9

GetOuterId OuterId Getter

func (TaobaoXhotelStatusUpdateAPIRequest) GetRawParams added in v1.2.9

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelStatusUpdateAPIRequest) GetStatus added in v1.2.9

GetStatus Status Getter

func (TaobaoXhotelStatusUpdateAPIRequest) GetVendor added in v1.2.9

GetVendor Vendor Getter

func (*TaobaoXhotelStatusUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelStatusUpdateAPIRequest) SetHid added in v1.2.9

SetHid is Hid Setter 飞猪酒店id

func (*TaobaoXhotelStatusUpdateAPIRequest) SetOuterId added in v1.2.9

func (r *TaobaoXhotelStatusUpdateAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 外部酒店id

func (*TaobaoXhotelStatusUpdateAPIRequest) SetStatus added in v1.2.9

func (r *TaobaoXhotelStatusUpdateAPIRequest) SetStatus(_status int64) error

SetStatus is Status Setter (0在线,-1删除, -2停售)

func (*TaobaoXhotelStatusUpdateAPIRequest) SetVendor added in v1.2.9

func (r *TaobaoXhotelStatusUpdateAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 对接系统商,不填默认taobao

type TaobaoXhotelStatusUpdateAPIResponse added in v1.2.9

type TaobaoXhotelStatusUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelStatusUpdateAPIResponseModel
}

TaobaoXhotelStatusUpdateAPIResponse 酒店状态更新 API返回值 taobao.xhotel.status.update

酒店状态更新

func GetTaobaoXhotelStatusUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelStatusUpdateAPIResponse() *TaobaoXhotelStatusUpdateAPIResponse

GetTaobaoXhotelStatusUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelStatusUpdateAPIResponse

func (*TaobaoXhotelStatusUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelStatusUpdateAPIResponseModel added in v1.2.9

type TaobaoXhotelStatusUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_status_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否出错
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

TaobaoXhotelStatusUpdateAPIResponseModel is 酒店状态更新 成功返回结果

func (*TaobaoXhotelStatusUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelUpdateAPIRequest

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

TaobaoXhotelUpdateAPIRequest 酒店更新接口(ID不存在自动新增) API请求 taobao.xhotel.update

酒店更新接口

func GetTaobaoXhotelUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelUpdateAPIRequest() *TaobaoXhotelUpdateAPIRequest

GetTaobaoXhotelUpdateRequest 从 sync.Pool 获取 TaobaoXhotelUpdateAPIRequest

func NewTaobaoXhotelUpdateRequest

func NewTaobaoXhotelUpdateRequest() *TaobaoXhotelUpdateAPIRequest

NewTaobaoXhotelUpdateRequest 初始化TaobaoXhotelUpdateAPIRequest对象

func (TaobaoXhotelUpdateAPIRequest) GetAddress

func (r TaobaoXhotelUpdateAPIRequest) GetAddress() string

GetAddress Address Getter

func (TaobaoXhotelUpdateAPIRequest) GetAddressEn added in v1.2.9

func (r TaobaoXhotelUpdateAPIRequest) GetAddressEn() string

GetAddressEn AddressEn Getter

func (TaobaoXhotelUpdateAPIRequest) GetAliNick

func (r TaobaoXhotelUpdateAPIRequest) GetAliNick() string

GetAliNick AliNick Getter

func (TaobaoXhotelUpdateAPIRequest) GetApiMethodName

func (r TaobaoXhotelUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelUpdateAPIRequest) GetApiParams

func (r TaobaoXhotelUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelUpdateAPIRequest) GetBookingNotice

func (r TaobaoXhotelUpdateAPIRequest) GetBookingNotice() string

GetBookingNotice BookingNotice Getter

func (TaobaoXhotelUpdateAPIRequest) GetBrand

func (r TaobaoXhotelUpdateAPIRequest) GetBrand() string

GetBrand Brand Getter

func (TaobaoXhotelUpdateAPIRequest) GetBusiness

func (r TaobaoXhotelUpdateAPIRequest) GetBusiness() string

GetBusiness Business Getter

func (TaobaoXhotelUpdateAPIRequest) GetCity

func (r TaobaoXhotelUpdateAPIRequest) GetCity() int64

GetCity City Getter

func (TaobaoXhotelUpdateAPIRequest) GetCoordinateSystem

func (r TaobaoXhotelUpdateAPIRequest) GetCoordinateSystem() string

GetCoordinateSystem CoordinateSystem Getter

func (TaobaoXhotelUpdateAPIRequest) GetCountry

func (r TaobaoXhotelUpdateAPIRequest) GetCountry() string

GetCountry Country Getter

func (TaobaoXhotelUpdateAPIRequest) GetCreditCardTypes

func (r TaobaoXhotelUpdateAPIRequest) GetCreditCardTypes() string

GetCreditCardTypes CreditCardTypes Getter

func (TaobaoXhotelUpdateAPIRequest) GetDecorateTime

func (r TaobaoXhotelUpdateAPIRequest) GetDecorateTime() string

GetDecorateTime DecorateTime Getter

func (TaobaoXhotelUpdateAPIRequest) GetDescription

func (r TaobaoXhotelUpdateAPIRequest) GetDescription() string

GetDescription Description Getter

func (TaobaoXhotelUpdateAPIRequest) GetDescriptionEn added in v1.2.9

func (r TaobaoXhotelUpdateAPIRequest) GetDescriptionEn() string

GetDescriptionEn DescriptionEn Getter

func (TaobaoXhotelUpdateAPIRequest) GetDistrict

func (r TaobaoXhotelUpdateAPIRequest) GetDistrict() int64

GetDistrict District Getter

func (TaobaoXhotelUpdateAPIRequest) GetDomestic

func (r TaobaoXhotelUpdateAPIRequest) GetDomestic() int64

GetDomestic Domestic Getter

func (TaobaoXhotelUpdateAPIRequest) GetExtend

func (r TaobaoXhotelUpdateAPIRequest) GetExtend() string

GetExtend Extend Getter

func (TaobaoXhotelUpdateAPIRequest) GetFloors

func (r TaobaoXhotelUpdateAPIRequest) GetFloors() string

GetFloors Floors Getter

func (TaobaoXhotelUpdateAPIRequest) GetHid

GetHid Hid Getter

func (TaobaoXhotelUpdateAPIRequest) GetHotelFacilities

func (r TaobaoXhotelUpdateAPIRequest) GetHotelFacilities() string

GetHotelFacilities HotelFacilities Getter

func (TaobaoXhotelUpdateAPIRequest) GetHotelPolicies

func (r TaobaoXhotelUpdateAPIRequest) GetHotelPolicies() string

GetHotelPolicies HotelPolicies Getter

func (TaobaoXhotelUpdateAPIRequest) GetHotelType

func (r TaobaoXhotelUpdateAPIRequest) GetHotelType() int64

GetHotelType HotelType Getter

func (TaobaoXhotelUpdateAPIRequest) GetLatitude

func (r TaobaoXhotelUpdateAPIRequest) GetLatitude() string

GetLatitude Latitude Getter

func (TaobaoXhotelUpdateAPIRequest) GetLongitude

func (r TaobaoXhotelUpdateAPIRequest) GetLongitude() string

GetLongitude Longitude Getter

func (TaobaoXhotelUpdateAPIRequest) GetName

GetName Name Getter

func (TaobaoXhotelUpdateAPIRequest) GetNameE

func (r TaobaoXhotelUpdateAPIRequest) GetNameE() string

GetNameE NameE Getter

func (TaobaoXhotelUpdateAPIRequest) GetOpeningTime

func (r TaobaoXhotelUpdateAPIRequest) GetOpeningTime() string

GetOpeningTime OpeningTime Getter

func (TaobaoXhotelUpdateAPIRequest) GetOrbitTrack

func (r TaobaoXhotelUpdateAPIRequest) GetOrbitTrack() string

GetOrbitTrack OrbitTrack Getter

func (TaobaoXhotelUpdateAPIRequest) GetOuterId

func (r TaobaoXhotelUpdateAPIRequest) GetOuterId() string

GetOuterId OuterId Getter

func (TaobaoXhotelUpdateAPIRequest) GetPics

GetPics Pics Getter

func (TaobaoXhotelUpdateAPIRequest) GetPositionType

func (r TaobaoXhotelUpdateAPIRequest) GetPositionType() string

GetPositionType PositionType Getter

func (TaobaoXhotelUpdateAPIRequest) GetPostalCode

func (r TaobaoXhotelUpdateAPIRequest) GetPostalCode() string

GetPostalCode PostalCode Getter

func (TaobaoXhotelUpdateAPIRequest) GetProvince

func (r TaobaoXhotelUpdateAPIRequest) GetProvince() int64

GetProvince Province Getter

func (TaobaoXhotelUpdateAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoXhotelUpdateAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelUpdateAPIRequest) GetRoomFacilities

func (r TaobaoXhotelUpdateAPIRequest) GetRoomFacilities() string

GetRoomFacilities RoomFacilities Getter

func (TaobaoXhotelUpdateAPIRequest) GetRooms

func (r TaobaoXhotelUpdateAPIRequest) GetRooms() int64

GetRooms Rooms Getter

func (TaobaoXhotelUpdateAPIRequest) GetService

func (r TaobaoXhotelUpdateAPIRequest) GetService() string

GetService Service Getter

func (TaobaoXhotelUpdateAPIRequest) GetServiceType

func (r TaobaoXhotelUpdateAPIRequest) GetServiceType() int64

GetServiceType ServiceType Getter

func (TaobaoXhotelUpdateAPIRequest) GetSettlementCurrency

func (r TaobaoXhotelUpdateAPIRequest) GetSettlementCurrency() string

GetSettlementCurrency SettlementCurrency Getter

func (TaobaoXhotelUpdateAPIRequest) GetShid

func (r TaobaoXhotelUpdateAPIRequest) GetShid() int64

GetShid Shid Getter

func (TaobaoXhotelUpdateAPIRequest) GetStandardAmuseFacilities

func (r TaobaoXhotelUpdateAPIRequest) GetStandardAmuseFacilities() string

GetStandardAmuseFacilities StandardAmuseFacilities Getter

func (TaobaoXhotelUpdateAPIRequest) GetStandardBookingNotice

func (r TaobaoXhotelUpdateAPIRequest) GetStandardBookingNotice() string

GetStandardBookingNotice StandardBookingNotice Getter

func (TaobaoXhotelUpdateAPIRequest) GetStandardHotelFacilities

func (r TaobaoXhotelUpdateAPIRequest) GetStandardHotelFacilities() string

GetStandardHotelFacilities StandardHotelFacilities Getter

func (TaobaoXhotelUpdateAPIRequest) GetStandardHotelService

func (r TaobaoXhotelUpdateAPIRequest) GetStandardHotelService() string

GetStandardHotelService StandardHotelService Getter

func (TaobaoXhotelUpdateAPIRequest) GetStandardRoomFacilities

func (r TaobaoXhotelUpdateAPIRequest) GetStandardRoomFacilities() string

GetStandardRoomFacilities StandardRoomFacilities Getter

func (TaobaoXhotelUpdateAPIRequest) GetStar

GetStar Star Getter

func (TaobaoXhotelUpdateAPIRequest) GetStatus

func (r TaobaoXhotelUpdateAPIRequest) GetStatus() *model.File

GetStatus Status Getter

func (TaobaoXhotelUpdateAPIRequest) GetSupplier

func (r TaobaoXhotelUpdateAPIRequest) GetSupplier() string

GetSupplier Supplier Getter

func (TaobaoXhotelUpdateAPIRequest) GetTagJson

func (r TaobaoXhotelUpdateAPIRequest) GetTagJson() string

GetTagJson TagJson Getter

func (TaobaoXhotelUpdateAPIRequest) GetTel

GetTel Tel Getter

func (TaobaoXhotelUpdateAPIRequest) GetUsedName

func (r TaobaoXhotelUpdateAPIRequest) GetUsedName() string

GetUsedName UsedName Getter

func (TaobaoXhotelUpdateAPIRequest) GetVendor

func (r TaobaoXhotelUpdateAPIRequest) GetVendor() string

GetVendor Vendor Getter

func (*TaobaoXhotelUpdateAPIRequest) Reset added in v1.3.4

func (r *TaobaoXhotelUpdateAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelUpdateAPIRequest) SetAddress

func (r *TaobaoXhotelUpdateAPIRequest) SetAddress(_address string) error

SetAddress is Address Setter 酒店地址。长度不能超过255

func (*TaobaoXhotelUpdateAPIRequest) SetAddressEn added in v1.2.9

func (r *TaobaoXhotelUpdateAPIRequest) SetAddressEn(_addressEn string) error

SetAddressEn is AddressEn Setter 酒店英文地址

func (*TaobaoXhotelUpdateAPIRequest) SetAliNick

func (r *TaobaoXhotelUpdateAPIRequest) SetAliNick(_aliNick string) error

SetAliNick is AliNick Setter 旺旺昵称

func (*TaobaoXhotelUpdateAPIRequest) SetBookingNotice

func (r *TaobaoXhotelUpdateAPIRequest) SetBookingNotice(_bookingNotice string) error

SetBookingNotice is BookingNotice Setter 预订须知。json字段描述:hotelInMountaintop 酒店位于山顶 1在山顶、0不在;needBoat 酒店需要坐船前往 1需要、0不需要;酒店位于景区内 1在景区、0不在;extraBed 加床收费;extraCharge 额外收费;arrivalTime 到店时间;extend 其他补充项

func (*TaobaoXhotelUpdateAPIRequest) SetBrand

func (r *TaobaoXhotelUpdateAPIRequest) SetBrand(_brand string) error

SetBrand is Brand Setter 酒店品牌。取值为数字。枚举见链接:https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.S16vXH&docType=1&articleId=120180

func (*TaobaoXhotelUpdateAPIRequest) SetBusiness

func (r *TaobaoXhotelUpdateAPIRequest) SetBusiness(_business string) error

SetBusiness is Business Setter 商业区(圈)长度不超过20字

func (*TaobaoXhotelUpdateAPIRequest) SetCity

func (r *TaobaoXhotelUpdateAPIRequest) SetCity(_city int64) error

SetCity is City Setter 城市编码。参见:http://hotel.alitrip.com/area.htm?tbpm=3,domestic为false时,输入对应国家的海外城市编码,可调用海外城市查询接口获取;(新增酒店时为必须)

func (*TaobaoXhotelUpdateAPIRequest) SetCoordinateSystem

func (r *TaobaoXhotelUpdateAPIRequest) SetCoordinateSystem(_coordinateSystem string) error

SetCoordinateSystem is CoordinateSystem Setter 标识坐标系类型。WGS84,表示地球坐标系 ;GCJ02,表示火星坐标系

func (*TaobaoXhotelUpdateAPIRequest) SetCountry

func (r *TaobaoXhotelUpdateAPIRequest) SetCountry(_country string) error

SetCountry is Country Setter domestic为true时,固定China; domestic为false时,必须传定义的海外国家编码值。参见:http://kezhan.trip.taobao.com/countrys.html

func (*TaobaoXhotelUpdateAPIRequest) SetCreditCardTypes

func (r *TaobaoXhotelUpdateAPIRequest) SetCreditCardTypes(_creditCardTypes string) error

SetCreditCardTypes is CreditCardTypes Setter 逗号分隔的字符串 1visa;2万事达卡;3美国运通卡;4发现卡;5大来卡;6JCB卡;7银联卡

func (*TaobaoXhotelUpdateAPIRequest) SetDecorateTime

func (r *TaobaoXhotelUpdateAPIRequest) SetDecorateTime(_decorateTime string) error

SetDecorateTime is DecorateTime Setter 装修时间,格式为2015-10-01

func (*TaobaoXhotelUpdateAPIRequest) SetDescription

func (r *TaobaoXhotelUpdateAPIRequest) SetDescription(_description string) error

SetDescription is Description Setter 酒店描述

func (*TaobaoXhotelUpdateAPIRequest) SetDescriptionEn added in v1.2.9

func (r *TaobaoXhotelUpdateAPIRequest) SetDescriptionEn(_descriptionEn string) error

SetDescriptionEn is DescriptionEn Setter 酒店英文描述

func (*TaobaoXhotelUpdateAPIRequest) SetDistrict

func (r *TaobaoXhotelUpdateAPIRequest) SetDistrict(_district int64) error

SetDistrict is District Setter 区域(县级市)编码。参见:http://hotel.alitrip.com/area.htm?tbpm=3

func (*TaobaoXhotelUpdateAPIRequest) SetDomestic

func (r *TaobaoXhotelUpdateAPIRequest) SetDomestic(_domestic int64) error

SetDomestic is Domestic Setter 是否国内酒店。0:国内;1:国外

func (*TaobaoXhotelUpdateAPIRequest) SetExtend

func (r *TaobaoXhotelUpdateAPIRequest) SetExtend(_extend string) error

SetExtend is Extend Setter 不要使用

func (*TaobaoXhotelUpdateAPIRequest) SetFloors

func (r *TaobaoXhotelUpdateAPIRequest) SetFloors(_floors string) error

SetFloors is Floors Setter 楼层信息

func (*TaobaoXhotelUpdateAPIRequest) SetHid

func (r *TaobaoXhotelUpdateAPIRequest) SetHid(_hid int64) error

SetHid is Hid Setter (已废弃)请使用outer_id来标识要修改的酒店

func (*TaobaoXhotelUpdateAPIRequest) SetHotelFacilities

func (r *TaobaoXhotelUpdateAPIRequest) SetHotelFacilities(_hotelFacilities string) error

SetHotelFacilities is HotelFacilities Setter 酒店设施。json格式示例值:{"free Wi-Fi in all rooms":"true","massage":"true","meetingRoom":"true"}目前支持维护的设施枚举有:free Wi-Fi in all rooms 所有房间设有免费无线网络;meetingRoom 会议室;massage 按摩室;fitnessClub 健身房;bar 酒吧;cafe 咖啡厅;frontDeskSafe 前台贵重物品保险柜wifi 无线上网公共区域;casino 娱乐场/棋牌室;restaurant 餐厅;smoking area 吸烟区;Business Facilities 商务设施

func (*TaobaoXhotelUpdateAPIRequest) SetHotelPolicies

func (r *TaobaoXhotelUpdateAPIRequest) SetHotelPolicies(_hotelPolicies string) error

SetHotelPolicies is HotelPolicies Setter 酒店入住政策(针对国际酒店,儿童及加床信息)格式:{"children_age_from":"2","children_age_to":"3","children_stay_free":"True","infant_age":"1","min_guest_age":"4"}

func (*TaobaoXhotelUpdateAPIRequest) SetHotelType

func (r *TaobaoXhotelUpdateAPIRequest) SetHotelType(_hotelType int64) error

SetHotelType is HotelType Setter 0:酒店;1:客栈

func (*TaobaoXhotelUpdateAPIRequest) SetLatitude

func (r *TaobaoXhotelUpdateAPIRequest) SetLatitude(_latitude string) error

SetLatitude is Latitude Setter 纬度

func (*TaobaoXhotelUpdateAPIRequest) SetLongitude

func (r *TaobaoXhotelUpdateAPIRequest) SetLongitude(_longitude string) error

SetLongitude is Longitude Setter 经度

func (*TaobaoXhotelUpdateAPIRequest) SetName

func (r *TaobaoXhotelUpdateAPIRequest) SetName(_name string) error

SetName is Name Setter 酒店名称;(新增酒店时为必须),国内酒店请传中文名称

func (*TaobaoXhotelUpdateAPIRequest) SetNameE

func (r *TaobaoXhotelUpdateAPIRequest) SetNameE(_nameE string) error

SetNameE is NameE Setter 卖家酒店英文名称

func (*TaobaoXhotelUpdateAPIRequest) SetOpeningTime

func (r *TaobaoXhotelUpdateAPIRequest) SetOpeningTime(_openingTime string) error

SetOpeningTime is OpeningTime Setter 开业时间,格式为2015-01-01

func (*TaobaoXhotelUpdateAPIRequest) SetOrbitTrack

func (r *TaobaoXhotelUpdateAPIRequest) SetOrbitTrack(_orbitTrack string) error

SetOrbitTrack is OrbitTrack Setter 扩展信息的JSON。 orbitTrack 业务字段是指从飞猪到酒店说经过平台名以及方式的一个数组,按顺序,从飞猪,再经过若干平台,最后到酒店, platform是指定当前平台名,ways 是指通过哪种方式到该平台 其中,飞猪到下一个平台里, ways 字段只能是【直连】、【人工】两个方式之一; 从最后一个平台到酒店的ways字段只能是【电话】、【传真】、【人工】、【系统】之一; 第一个 飞猪平台 和 最后具体酒店是至少得填的

func (*TaobaoXhotelUpdateAPIRequest) SetOuterId

func (r *TaobaoXhotelUpdateAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 必传,酒店标识,商家酒店ID

func (*TaobaoXhotelUpdateAPIRequest) SetPics

func (r *TaobaoXhotelUpdateAPIRequest) SetPics(_pics string) error

SetPics is Pics Setter 酒店图片只支持远程图片,格式如下:[{"url":"http://123.jpg","ismain":"false","type":"大堂","attribute":"普通图"},{"url":"http://456.jpg","ismain":"true","type":"公共区域","attribute":"全景图"},{"url":"http://789.jpg","ismain":"false","type":"大堂","attribute":"普通图"}] 其中url是远程图片的访问地址,main是否为主图(主图只能有一个),attribute表示图片属性,取值范围只能是:[普通图, 平面图, 全景图] ,type表示图片类型,取值范围只能是:[周边, 外观, 商务中心, 其他, 餐厅, 浴室, 客房, 公共区域, 娱乐设施, 大堂],图片数量最多10张。要求:无logo、水印、边框、人物,不模糊、重复、歪斜,房间图清晰,图片尺寸不小于300*225,不小于5M

func (*TaobaoXhotelUpdateAPIRequest) SetPositionType

func (r *TaobaoXhotelUpdateAPIRequest) SetPositionType(_positionType string) error

SetPositionType is PositionType Setter 坐标类型,现在支持:G – GoogleB – 百度A – 高德M – MapbarL – 灵图

func (*TaobaoXhotelUpdateAPIRequest) SetPostalCode

func (r *TaobaoXhotelUpdateAPIRequest) SetPostalCode(_postalCode string) error

SetPostalCode is PostalCode Setter 邮编

func (*TaobaoXhotelUpdateAPIRequest) SetProvince

func (r *TaobaoXhotelUpdateAPIRequest) SetProvince(_province int64) error

SetProvince is Province Setter 省份编码。参见:http://hotel.alitrip.com/area.htm?tbpm=3,domestic为false时默认为0

func (*TaobaoXhotelUpdateAPIRequest) SetRoomFacilities

func (r *TaobaoXhotelUpdateAPIRequest) SetRoomFacilities(_roomFacilities string) error

SetRoomFacilities is RoomFacilities Setter 房间的基础设施。json格式示例值:{"bathtub":"true","bathPub":"true"}目前支持维护的设施枚举有:bathtub 独立卫浴;bathPub 公共卫浴

func (*TaobaoXhotelUpdateAPIRequest) SetRooms

func (r *TaobaoXhotelUpdateAPIRequest) SetRooms(_rooms int64) error

SetRooms is Rooms Setter 房间数 0~9999之内的数字

func (*TaobaoXhotelUpdateAPIRequest) SetService

func (r *TaobaoXhotelUpdateAPIRequest) SetService(_service string) error

SetService is Service Setter 酒店基础服务。json格式示例值:{"receiveForeignGuests":"true","morningCall":"true","breakfast":"true"}目前支持维护的设施枚举有:receiveForeignGuests 接待外宾;morningCall 叫醒服务; breakfast 早餐服务; airportShuttle 接机服务; luggageClaim 行李寄存; rentCar 租车; HourRoomService24 24小时客房服务; airportTransfer 酒店/机场接送; dryCleaning 干洗; expressCheckInCheckOut 快速入住/退房登记; custodyServices 保管服务

func (*TaobaoXhotelUpdateAPIRequest) SetServiceType

func (r *TaobaoXhotelUpdateAPIRequest) SetServiceType(_serviceType int64) error

SetServiceType is ServiceType Setter 0:可以接待外宾;1:仅内宾

func (*TaobaoXhotelUpdateAPIRequest) SetSettlementCurrency

func (r *TaobaoXhotelUpdateAPIRequest) SetSettlementCurrency(_settlementCurrency string) error

SetSettlementCurrency is SettlementCurrency Setter 结算流程中的结算币种,如需对接请联系飞猪技术支持,请谨慎使用

func (*TaobaoXhotelUpdateAPIRequest) SetShid

func (r *TaobaoXhotelUpdateAPIRequest) SetShid(_shid int64) error

SetShid is Shid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝酒店的匹配关系。目前尚未启动该字段。

func (*TaobaoXhotelUpdateAPIRequest) SetStandardAmuseFacilities

func (r *TaobaoXhotelUpdateAPIRequest) SetStandardAmuseFacilities(_standardAmuseFacilities string) error

SetStandardAmuseFacilities is StandardAmuseFacilities Setter 资源方娱乐设施,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891

func (*TaobaoXhotelUpdateAPIRequest) SetStandardBookingNotice

func (r *TaobaoXhotelUpdateAPIRequest) SetStandardBookingNotice(_standardBookingNotice string) error

SetStandardBookingNotice is StandardBookingNotice Setter 资源方酒店预订须知,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891

func (*TaobaoXhotelUpdateAPIRequest) SetStandardHotelFacilities

func (r *TaobaoXhotelUpdateAPIRequest) SetStandardHotelFacilities(_standardHotelFacilities string) error

SetStandardHotelFacilities is StandardHotelFacilities Setter 资源方酒店设施,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891

func (*TaobaoXhotelUpdateAPIRequest) SetStandardHotelService

func (r *TaobaoXhotelUpdateAPIRequest) SetStandardHotelService(_standardHotelService string) error

SetStandardHotelService is StandardHotelService Setter 资源方酒店服务,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891

func (*TaobaoXhotelUpdateAPIRequest) SetStandardRoomFacilities

func (r *TaobaoXhotelUpdateAPIRequest) SetStandardRoomFacilities(_standardRoomFacilities string) error

SetStandardRoomFacilities is StandardRoomFacilities Setter 资源方房型设施,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891

func (*TaobaoXhotelUpdateAPIRequest) SetStar

func (r *TaobaoXhotelUpdateAPIRequest) SetStar(_star string) error

SetStar is Star Setter 酒店档次,星级。取值范围为1,1.5,2,2.5,3,3.5,4,4.5,5

func (*TaobaoXhotelUpdateAPIRequest) SetStatus

func (r *TaobaoXhotelUpdateAPIRequest) SetStatus(_status *model.File) error

SetStatus is Status Setter 酒店状态 0:正常,-1:删除,-2:停售

func (*TaobaoXhotelUpdateAPIRequest) SetSupplier

func (r *TaobaoXhotelUpdateAPIRequest) SetSupplier(_supplier string) error

SetSupplier is Supplier Setter 供应商标识,如果确实需要修改原来的供应商标识才需要填写,否则不需要填写,请谨慎使用。

func (*TaobaoXhotelUpdateAPIRequest) SetTagJson

func (r *TaobaoXhotelUpdateAPIRequest) SetTagJson(_tagJson string) error

SetTagJson is TagJson Setter 打标去标使用的 tagJson 字段

func (*TaobaoXhotelUpdateAPIRequest) SetTel

func (r *TaobaoXhotelUpdateAPIRequest) SetTel(_tel string) error

SetTel is Tel Setter 酒店电话。格式:国家代码(最长6位)#区号(最长4位)#电话(最长20位)。国家代码提示:中国大陆0086、香港00852、澳门00853、台湾00886

func (*TaobaoXhotelUpdateAPIRequest) SetUsedName

func (r *TaobaoXhotelUpdateAPIRequest) SetUsedName(_usedName string) error

SetUsedName is UsedName Setter 酒店曾用名

func (*TaobaoXhotelUpdateAPIRequest) SetVendor

func (r *TaobaoXhotelUpdateAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 系统商,一般情况不用,需申请使用

type TaobaoXhotelUpdateAPIResponse

type TaobaoXhotelUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelUpdateAPIResponseModel
}

TaobaoXhotelUpdateAPIResponse 酒店更新接口(ID不存在自动新增) API返回值 taobao.xhotel.update

酒店更新接口

func GetTaobaoXhotelUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelUpdateAPIResponse() *TaobaoXhotelUpdateAPIResponse

GetTaobaoXhotelUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelUpdateAPIResponse

func (*TaobaoXhotelUpdateAPIResponse) Reset added in v1.3.4

func (m *TaobaoXhotelUpdateAPIResponse) Reset()

Reset 清空结构体

type TaobaoXhotelUpdateAPIResponseModel

type TaobaoXhotelUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 酒店信息
	Xhotel *XHotel `json:"xhotel,omitempty" xml:"xhotel,omitempty"`
}

TaobaoXhotelUpdateAPIResponseModel is 酒店更新接口(ID不存在自动新增) 成功返回结果

func (*TaobaoXhotelUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelXitemDeleteAPIRequest added in v1.2.9

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

TaobaoXhotelXitemDeleteAPIRequest 删除 x 元素 API请求 taobao.xhotel.xitem.delete

删除 x 元素

func GetTaobaoXhotelXitemDeleteAPIRequest added in v1.3.4

func GetTaobaoXhotelXitemDeleteAPIRequest() *TaobaoXhotelXitemDeleteAPIRequest

GetTaobaoXhotelXitemDeleteRequest 从 sync.Pool 获取 TaobaoXhotelXitemDeleteAPIRequest

func NewTaobaoXhotelXitemDeleteRequest added in v1.2.9

func NewTaobaoXhotelXitemDeleteRequest() *TaobaoXhotelXitemDeleteAPIRequest

NewTaobaoXhotelXitemDeleteRequest 初始化TaobaoXhotelXitemDeleteAPIRequest对象

func (TaobaoXhotelXitemDeleteAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoXhotelXitemDeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelXitemDeleteAPIRequest) GetApiParams added in v1.2.9

func (r TaobaoXhotelXitemDeleteAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelXitemDeleteAPIRequest) GetOutHid added in v1.2.9

GetOutHid OutHid Getter

func (TaobaoXhotelXitemDeleteAPIRequest) GetOutXCodes added in v1.2.9

func (r TaobaoXhotelXitemDeleteAPIRequest) GetOutXCodes() string

GetOutXCodes OutXCodes Getter

func (TaobaoXhotelXitemDeleteAPIRequest) GetRawParams added in v1.2.9

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelXitemDeleteAPIRequest) GetVendor added in v1.2.9

GetVendor Vendor Getter

func (*TaobaoXhotelXitemDeleteAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelXitemDeleteAPIRequest) SetOutHid added in v1.2.9

func (r *TaobaoXhotelXitemDeleteAPIRequest) SetOutHid(_outHid string) error

SetOutHid is OutHid Setter 商家酒店ID,指明该 x 元素属于哪家酒店

func (*TaobaoXhotelXitemDeleteAPIRequest) SetOutXCodes added in v1.2.9

func (r *TaobaoXhotelXitemDeleteAPIRequest) SetOutXCodes(_outXCodes string) error

SetOutXCodes is OutXCodes Setter 需要删除的 x_code 编码

func (*TaobaoXhotelXitemDeleteAPIRequest) SetVendor added in v1.2.9

func (r *TaobaoXhotelXitemDeleteAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 系统商,一般不填写,使用须申请

type TaobaoXhotelXitemDeleteAPIResponse added in v1.2.9

type TaobaoXhotelXitemDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelXitemDeleteAPIResponseModel
}

TaobaoXhotelXitemDeleteAPIResponse 删除 x 元素 API返回值 taobao.xhotel.xitem.delete

删除 x 元素

func GetTaobaoXhotelXitemDeleteAPIResponse added in v1.3.4

func GetTaobaoXhotelXitemDeleteAPIResponse() *TaobaoXhotelXitemDeleteAPIResponse

GetTaobaoXhotelXitemDeleteAPIResponse 从 sync.Pool 获取 TaobaoXhotelXitemDeleteAPIResponse

func (*TaobaoXhotelXitemDeleteAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelXitemDeleteAPIResponseModel added in v1.2.9

type TaobaoXhotelXitemDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_xitem_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *TaobaoXhotelXitemDeleteResultSet `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoXhotelXitemDeleteAPIResponseModel is 删除 x 元素 成功返回结果

func (*TaobaoXhotelXitemDeleteAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelXitemDeleteResultSet added in v1.2.9

type TaobaoXhotelXitemDeleteResultSet struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
}

TaobaoXhotelXitemDeleteResultSet 结构体

func GetTaobaoXhotelXitemDeleteResultSet added in v1.3.4

func GetTaobaoXhotelXitemDeleteResultSet() *TaobaoXhotelXitemDeleteResultSet

GetTaobaoXhotelXitemDeleteResultSet() 从对象池中获取TaobaoXhotelXitemDeleteResultSet

type TaobaoXhotelXitemQueryAPIRequest added in v1.2.9

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

TaobaoXhotelXitemQueryAPIRequest 查询 x 元素 API请求 taobao.xhotel.xitem.query

查询 x 元素

func GetTaobaoXhotelXitemQueryAPIRequest added in v1.3.4

func GetTaobaoXhotelXitemQueryAPIRequest() *TaobaoXhotelXitemQueryAPIRequest

GetTaobaoXhotelXitemQueryRequest 从 sync.Pool 获取 TaobaoXhotelXitemQueryAPIRequest

func NewTaobaoXhotelXitemQueryRequest added in v1.2.9

func NewTaobaoXhotelXitemQueryRequest() *TaobaoXhotelXitemQueryAPIRequest

NewTaobaoXhotelXitemQueryRequest 初始化TaobaoXhotelXitemQueryAPIRequest对象

func (TaobaoXhotelXitemQueryAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoXhotelXitemQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelXitemQueryAPIRequest) GetApiParams added in v1.2.9

func (r TaobaoXhotelXitemQueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelXitemQueryAPIRequest) GetOutHid added in v1.2.9

GetOutHid OutHid Getter

func (TaobaoXhotelXitemQueryAPIRequest) GetOutRid added in v1.2.9

GetOutRid OutRid Getter

func (TaobaoXhotelXitemQueryAPIRequest) GetOutXCodes added in v1.2.9

func (r TaobaoXhotelXitemQueryAPIRequest) GetOutXCodes() string

GetOutXCodes OutXCodes Getter

func (TaobaoXhotelXitemQueryAPIRequest) GetRatePlanCode added in v1.2.9

func (r TaobaoXhotelXitemQueryAPIRequest) GetRatePlanCode() string

GetRatePlanCode RatePlanCode Getter

func (TaobaoXhotelXitemQueryAPIRequest) GetRawParams added in v1.2.9

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelXitemQueryAPIRequest) GetVendor added in v1.2.9

GetVendor Vendor Getter

func (*TaobaoXhotelXitemQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelXitemQueryAPIRequest) SetOutHid added in v1.2.9

func (r *TaobaoXhotelXitemQueryAPIRequest) SetOutHid(_outHid string) error

SetOutHid is OutHid Setter 商家酒店ID,指明该 x 元素属于哪家酒店

func (*TaobaoXhotelXitemQueryAPIRequest) SetOutRid added in v1.2.9

func (r *TaobaoXhotelXitemQueryAPIRequest) SetOutRid(_outRid string) error

SetOutRid is OutRid Setter 商家房型ID,指明该 x 元素关联哪个房型

func (*TaobaoXhotelXitemQueryAPIRequest) SetOutXCodes added in v1.2.9

func (r *TaobaoXhotelXitemQueryAPIRequest) SetOutXCodes(_outXCodes string) error

SetOutXCodes is OutXCodes Setter 需要查询的 x_code 编码

func (*TaobaoXhotelXitemQueryAPIRequest) SetRatePlanCode added in v1.2.9

func (r *TaobaoXhotelXitemQueryAPIRequest) SetRatePlanCode(_ratePlanCode string) error

SetRatePlanCode is RatePlanCode Setter 商家 RP ID,指明该 x 元素关联了哪个 RP

func (*TaobaoXhotelXitemQueryAPIRequest) SetVendor added in v1.2.9

func (r *TaobaoXhotelXitemQueryAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 系统商,一般不填写,使用须申请

type TaobaoXhotelXitemQueryAPIResponse added in v1.2.9

type TaobaoXhotelXitemQueryAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelXitemQueryAPIResponseModel
}

TaobaoXhotelXitemQueryAPIResponse 查询 x 元素 API返回值 taobao.xhotel.xitem.query

查询 x 元素

func GetTaobaoXhotelXitemQueryAPIResponse added in v1.3.4

func GetTaobaoXhotelXitemQueryAPIResponse() *TaobaoXhotelXitemQueryAPIResponse

GetTaobaoXhotelXitemQueryAPIResponse 从 sync.Pool 获取 TaobaoXhotelXitemQueryAPIResponse

func (*TaobaoXhotelXitemQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelXitemQueryAPIResponseModel added in v1.2.9

type TaobaoXhotelXitemQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_xitem_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *TaobaoXhotelXitemQueryResultSet `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoXhotelXitemQueryAPIResponseModel is 查询 x 元素 成功返回结果

func (*TaobaoXhotelXitemQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelXitemQueryResultSet added in v1.2.9

type TaobaoXhotelXitemQueryResultSet struct {
	// 查询到的 x 元素
	XItems []HotelXitemDo `json:"x_items,omitempty" xml:"x_items>hotel_xitem_do,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 记录总数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

TaobaoXhotelXitemQueryResultSet 结构体

func GetTaobaoXhotelXitemQueryResultSet added in v1.3.4

func GetTaobaoXhotelXitemQueryResultSet() *TaobaoXhotelXitemQueryResultSet

GetTaobaoXhotelXitemQueryResultSet() 从对象池中获取TaobaoXhotelXitemQueryResultSet

type TonightDiscount added in v1.2.5

type TonightDiscount struct {
	// 活动折扣
	InvestmentNumber string `json:"investment_number,omitempty" xml:"investment_number,omitempty"`
	// 起始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
}

TonightDiscount 结构体

func GetTonightDiscount added in v1.3.4

func GetTonightDiscount() *TonightDiscount

GetTonightDiscount() 从对象池中获取TonightDiscount

type XHotel

type XHotel struct {
	// 卖家自己系统的id
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 酒店名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 国家编码
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 曾用名
	UsedName string `json:"used_name,omitempty" xml:"used_name,omitempty"`
	// 商圈信息
	Business string `json:"business,omitempty" xml:"business,omitempty"`
	// 酒店地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 坐标类型
	PositionType string `json:"position_type,omitempty" xml:"position_type,omitempty"`
	// 酒店电话
	Tel string `json:"tel,omitempty" xml:"tel,omitempty"`
	// 扩展信息
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 未通过时的拒绝原因等。
	ErrorInfo string `json:"error_info,omitempty" xml:"error_info,omitempty"`
	// 逗号分隔的字符串 1visa;2万事达卡;3美国运通卡;4发现卡;5大来卡;6JCB卡;7银联卡
	CreditCardTypes string `json:"credit_card_types,omitempty" xml:"credit_card_types,omitempty"`
	// 卖家酒店英文名称
	NameE string `json:"name_e,omitempty" xml:"name_e,omitempty"`
	// 对接系统商名称
	Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"`
	// 修改时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 创建时间
	CreatedTime string `json:"created_time,omitempty" xml:"created_time,omitempty"`
	// 品牌
	Brand string `json:"brand,omitempty" xml:"brand,omitempty"`
	// 照片格式,json
	Pics string `json:"pics,omitempty" xml:"pics,omitempty"`
	// 设施
	HotelFacilities string `json:"hotel_facilities,omitempty" xml:"hotel_facilities,omitempty"`
	// 入住政策
	HotelPolicies string `json:"hotel_policies,omitempty" xml:"hotel_policies,omitempty"`
	// 描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 楼层
	Floors string `json:"floors,omitempty" xml:"floors,omitempty"`
	// 装修时间
	DecorateTime string `json:"decorate_time,omitempty" xml:"decorate_time,omitempty"`
	// 开业时间
	OpeningTime string `json:"opening_time,omitempty" xml:"opening_time,omitempty"`
	// 预订须知
	BookingNotice string `json:"booking_notice,omitempty" xml:"booking_notice,omitempty"`
	// 酒店ID
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// 酒店状态:0: 正常;-2:停售;-1:删除
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 淘宝标准酒店信息
	SHotel *SHotel `json:"s_hotel,omitempty" xml:"s_hotel,omitempty"`
	// 0:国内;1:国外
	Domestic int64 `json:"domestic,omitempty" xml:"domestic,omitempty"`
	// 省份编码
	Province int64 `json:"province,omitempty" xml:"province,omitempty"`
	// 城市编码
	City int64 `json:"city,omitempty" xml:"city,omitempty"`
	// 地区编码
	District int64 `json:"district,omitempty" xml:"district,omitempty"`
	// 已废弃
	MatchStatus int64 `json:"match_status,omitempty" xml:"match_status,omitempty"`
	// 淘宝标准门店信息
	Shotel *XsHotel `json:"shotel,omitempty" xml:"shotel,omitempty"`
	// 房间数
	Rooms int64 `json:"rooms,omitempty" xml:"rooms,omitempty"`
	// 0:酒店;1:客栈
	HotelType int64 `json:"hotel_type,omitempty" xml:"hotel_type,omitempty"`
	// 0:可以接待外宾;1:仅内宾
	ServiceType int64 `json:"service_type,omitempty" xml:"service_type,omitempty"`
}

XHotel 结构体

func GetXHotel added in v1.3.4

func GetXHotel() *XHotel

GetXHotel() 从对象池中获取XHotel

type XHotelBaseInfo

type XHotelBaseInfo struct {
	// 房型基础信息
	RoomTypeList []RoomType `json:"room_type_list,omitempty" xml:"room_type_list>room_type,omitempty"`
	// 房价基础信息(需要新增rp时绑定酒店)
	RatePlanList []RatePlan `json:"rate_plan_list,omitempty" xml:"rate_plan_list>rate_plan,omitempty"`
	// 标准房型列表
	SRoomTypeList []Sroomtypelist `json:"s_room_type_list,omitempty" xml:"s_room_type_list>sroomtypelist,omitempty"`
	// 酒店房型可售详情查
	HotelDynamicInfoList []Hoteldynamicinfo `json:"hotel_dynamic_info_list,omitempty" xml:"hotel_dynamic_info_list>hoteldynamicinfo,omitempty"`
	// 酒店维度特殊标签含义, json: {"pure-direct-hotel":0,"direct-manual-order-hotel":1,"ebk-direct-hotel":0,"non-direct-hotel":1,"allow-dingding-business-travel-hotel":1,"willing-dingding-bussiness-travel-hotel":0,"calendar-room-package-hotel":1,"dijiajiajia-hotel":0,"ebk-number-of-confirm-room-hotel":1} , key含义: pure-direct-hotel 表示纯直连酒店, direct-manual-order-hotel 和 ebk-direct-hotel 和 non-direct-hotel 这三个key对应value都是0 . direct-manual-order-hotel 表示 人工承接失败订单的酒店标签。如果某个直连酒店打了该标签,那么直连下单失败以后,允许人工承接订单,由人工跟进 . ebk-direct-hotel 表示 ebk直连酒店标。如果某个酒店打了该标签,那么这个酒店下允许通过ebk发布直连rp . non-direct-hotel 表示 卖家非直连酒店标签。如果某个酒店打了该标签,那么该酒店下单不会走直连交易。 allow-dingding-business-travel-hotel 表示 允许进入阿里商旅渠道(钉钉)售卖信用住的单体酒店 willing-dingding-bussiness-travel-hotel 表示 已签协议愿意加入阿里商旅渠道售卖信用住的单体酒店 . calendar-room-package-hotel 表示 酒店可以参加日历房套餐活动包括创建,修改,删除活动信息(高星集团GMV项目) dijiajiajia-hotel 表示 底价加价酒店权限标。只有打了该标的酒店才允许维护底价加价规则和包房rp . ebk-number-of-confirm-room-hotel 表示ebk确认订单,是否要输入外部确认号
	TagJson string `json:"tag_json,omitempty" xml:"tag_json,omitempty"`
	// 卖家酒店对象
	Hotel *Hotel `json:"hotel,omitempty" xml:"hotel,omitempty"`
	// 酒店房型可售详情查询总数
	TotalHotelDynamicInfo int64 `json:"total_hotel_dynamic_info,omitempty" xml:"total_hotel_dynamic_info,omitempty"`
}

XHotelBaseInfo 结构体

func GetXHotelBaseInfo added in v1.3.4

func GetXHotelBaseInfo() *XHotelBaseInfo

GetXHotelBaseInfo() 从对象池中获取XHotelBaseInfo

type XHotelInfoWithRoom

type XHotelInfoWithRoom struct {
	// 房型基础信息
	RoomTypeList []RoomType `json:"room_type_list,omitempty" xml:"room_type_list>room_type,omitempty"`
}

XHotelInfoWithRoom 结构体

func GetXHotelInfoWithRoom added in v1.3.4

func GetXHotelInfoWithRoom() *XHotelInfoWithRoom

GetXHotelInfoWithRoom() 从对象池中获取XHotelInfoWithRoom

type XRoomType

type XRoomType struct {
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 卖家系统id
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 房源名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 面积
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 设施服务。JSON格式。 value值true有此服务,false没有。 bar:吧台,catv:有线电视,ddd:国内长途电话,idd:国际长途电话,toilet:独立卫生间,pubtoliet:公共卫生间。 如: {"bar":false,"catv":false,"ddd":false,"idd":false,"pubtoilet":false,"toilet":false}
	Service string `json:"service,omitempty" xml:"service,omitempty"`
	// 宽带服务。A,B,C,D。分别代表: A:无宽带,B:免费宽带,C:收费宽带,D:部分收费宽带
	Internet string `json:"internet,omitempty" xml:"internet,omitempty"`
	// 客房在建筑的第几层,隔层为1-2层,4-5层,7-8层
	Floor string `json:"floor,omitempty" xml:"floor,omitempty"`
	// 创建时间
	CreatedTime string `json:"created_time,omitempty" xml:"created_time,omitempty"`
	// 修改时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 出错原因,没有匹配上标准房型时,小二拒绝的理由
	ErrorInfo string `json:"error_info,omitempty" xml:"error_info,omitempty"`
	// 床型。按自己定义存储,比如:高低床、上下床
	BedType string `json:"bed_type,omitempty" xml:"bed_type,omitempty"`
	// 床宽。
	BedSize string `json:"bed_size,omitempty" xml:"bed_size,omitempty"`
	// 扩展信息的JSON。 注:此字段的值需要ISV在接入前与淘宝沟通,且确认能解析
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 卖家房型英文名称
	NameE string `json:"name_e,omitempty" xml:"name_e,omitempty"`
	// 酒店数据状态:匹配成功;待匹配;待审核;审核失败;疑似错误;请注意:只有状态为“匹配成功”才是正常状态。其他状态都不会上架商品。
	DataConfirmStr string `json:"data_confirm_str,omitempty" xml:"data_confirm_str,omitempty"`
	// 房型维度下特殊标签含义 json: {"non-direct-roomType":1} , key:non-direct-roomType 表示非直连房型
	TagJson string `json:"tag_json,omitempty" xml:"tag_json,omitempty"`
	// 飞猪门店id
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// 飞猪房源id
	Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"`
	// 房源状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 匹配状态: 0:待系统匹配 1:已系统匹配,匹配成功,待卖家确认 2:已系统匹配,匹配失败,待人工匹配 3:已人工匹配,匹配成功,待卖家确认 4:已人工匹配,匹配失败 5:卖家已确认,确认“YES” 6:卖家已确认,确认“NO” 7:已系统匹配,但是匹配重复,待人工确认
	MatchStatus int64 `json:"match_status,omitempty" xml:"match_status,omitempty"`
	// 最大入住人数
	MaxOccupancy int64 `json:"max_occupancy,omitempty" xml:"max_occupancy,omitempty"`
	// 窗型,0:无窗/1:有窗
	WindowType int64 `json:"window_type,omitempty" xml:"window_type,omitempty"`
	// 标准房型信息
	SRoomtype *SRoomType `json:"s_roomtype,omitempty" xml:"s_roomtype,omitempty"`
}

XRoomType 结构体

func GetXRoomType added in v1.3.4

func GetXRoomType() *XRoomType

GetXRoomType() 从对象池中获取XRoomType

type XsHotel

type XsHotel struct {
	// 酒店地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 商圈
	Business string `json:"business,omitempty" xml:"business,omitempty"`
	// 国家编码
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 门店名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 英文名称
	NameE string `json:"name_e,omitempty" xml:"name_e,omitempty"`
	// 品牌
	Brand string `json:"brand,omitempty" xml:"brand,omitempty"`
	// 照片,json格式
	Pics string `json:"pics,omitempty" xml:"pics,omitempty"`
	// 交通距离与设施服务。JSON格式。
	Service string `json:"service,omitempty" xml:"service,omitempty"`
	// 酒店设施。json格式
	HotelFacilities string `json:"hotel_facilities,omitempty" xml:"hotel_facilities,omitempty"`
	// 描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 楼层
	Floors string `json:"floors,omitempty" xml:"floors,omitempty"`
	// 装修时间
	DecorateTime string `json:"decorate_time,omitempty" xml:"decorate_time,omitempty"`
	// 开业年份
	OpeningTime string `json:"opening_time,omitempty" xml:"opening_time,omitempty"`
	// 门店电话
	Tel string `json:"tel,omitempty" xml:"tel,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 精度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 区域编码
	District int64 `json:"district,omitempty" xml:"district,omitempty"`
	// 城市编码
	City int64 `json:"city,omitempty" xml:"city,omitempty"`
	// 省份编码
	Province int64 `json:"province,omitempty" xml:"province,omitempty"`
	// 0:国内;1:国外
	Domestic int64 `json:"domestic,omitempty" xml:"domestic,omitempty"`
	// 系统自动生成
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 门店状态:0: 正常;-2:停售;-1:删除
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 房间数
	Rooms int64 `json:"rooms,omitempty" xml:"rooms,omitempty"`
	// position_type
	PositionType int64 `json:"position_type,omitempty" xml:"position_type,omitempty"`
}

XsHotel 结构体

func GetXsHotel added in v1.3.4

func GetXsHotel() *XsHotel

GetXsHotel() 从对象池中获取XsHotel

Source Files

Jump to

Keyboard shortcuts

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