Documentation ¶
Overview ¶
Package xhotelitem 包含酒店商品API相关结构体
Index ¶
- type AddOwnerParam
- type BnbBookingTimeDto
- type BnbChargeDto
- type BnbLocationDto
- type BnbPictureDto
- type BnbPromoDto
- type BnbResult
- type Coordinate
- type DailyBookingInfo
- type EarlyBookingInfo
- type FirstResult
- type GeneralBookingInfo
- type Hotel
- type HotelXitemDo
- type HotelXitemPicture
- type Hoteldynamicinfo
- type HsfResult
- type InvalidDate
- type LongOrderInfo
- type MultipleRate
- type PromoBindResult
- type PromoCode
- type PromoInfo
- type PromoRateInfo
- type Rate
- type RatePlan
- type Rateinfos
- type RatepPlan
- type ReviewDetailInfo
- type ReviewPicInfo
- type RoomType
- type RoomTypeCheckResultDo
- type SellerStatExposureElementList
- type SellerStatSummaryResult
- type ServiceTimeDataDo
- type Shotel
- type SroomType
- type Sroomtypelist
- type TagEntityDoList
- type TagQueryResult
- type TaobaoroomtypestatusupdateAPIRequest
- func (r TaobaoroomtypestatusupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoroomtypestatusupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoroomtypestatusupdateAPIRequest) GetOuterId() string
- func (r TaobaoroomtypestatusupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoroomtypestatusupdateAPIRequest) GetRid() int64
- func (r TaobaoroomtypestatusupdateAPIRequest) GetStatus() int64
- func (r TaobaoroomtypestatusupdateAPIRequest) GetVendor() string
- func (r *TaobaoroomtypestatusupdateAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoroomtypestatusupdateAPIRequest) SetRid(_rid int64) error
- func (r *TaobaoroomtypestatusupdateAPIRequest) SetStatus(_status int64) error
- func (r *TaobaoroomtypestatusupdateAPIRequest) SetVendor(_vendor string) error
- type TaobaoroomtypestatusupdateAPIResponse
- type TaobaoroomtypestatusupdateAPIResponseModel
- type TaobaoxhoteladdAPIRequest
- func (r TaobaoxhoteladdAPIRequest) GetAddress() string
- func (r TaobaoxhoteladdAPIRequest) GetApiMethodName() string
- func (r TaobaoxhoteladdAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhoteladdAPIRequest) GetBookingNotice() string
- func (r TaobaoxhoteladdAPIRequest) GetBrand() string
- func (r TaobaoxhoteladdAPIRequest) GetBusiness() string
- func (r TaobaoxhoteladdAPIRequest) GetCity() int64
- func (r TaobaoxhoteladdAPIRequest) GetCoordinateSystem() string
- func (r TaobaoxhoteladdAPIRequest) GetCountry() string
- func (r TaobaoxhoteladdAPIRequest) GetCreditCardTypes() string
- func (r TaobaoxhoteladdAPIRequest) GetDecorateTime() string
- func (r TaobaoxhoteladdAPIRequest) GetDescription() string
- func (r TaobaoxhoteladdAPIRequest) GetDistrict() int64
- func (r TaobaoxhoteladdAPIRequest) GetDomestic() int64
- func (r TaobaoxhoteladdAPIRequest) GetExtend() string
- func (r TaobaoxhoteladdAPIRequest) GetFloors() string
- func (r TaobaoxhoteladdAPIRequest) GetHotelFacilities() string
- func (r TaobaoxhoteladdAPIRequest) GetHotelPolicies() string
- func (r TaobaoxhoteladdAPIRequest) GetHotelType() int64
- func (r TaobaoxhoteladdAPIRequest) GetLatitude() string
- func (r TaobaoxhoteladdAPIRequest) GetLongitude() string
- func (r TaobaoxhoteladdAPIRequest) GetName() string
- func (r TaobaoxhoteladdAPIRequest) GetNameE() string
- func (r TaobaoxhoteladdAPIRequest) GetOpeningTime() string
- func (r TaobaoxhoteladdAPIRequest) GetOrbitTrack() string
- func (r TaobaoxhoteladdAPIRequest) GetOuterId() string
- func (r TaobaoxhoteladdAPIRequest) GetPics() string
- func (r TaobaoxhoteladdAPIRequest) GetPositionType() string
- func (r TaobaoxhoteladdAPIRequest) GetPostalCode() string
- func (r TaobaoxhoteladdAPIRequest) GetProvince() int64
- func (r TaobaoxhoteladdAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhoteladdAPIRequest) GetRoomFacilities() string
- func (r TaobaoxhoteladdAPIRequest) GetRooms() int64
- func (r TaobaoxhoteladdAPIRequest) GetService() string
- func (r TaobaoxhoteladdAPIRequest) GetServiceType() int64
- func (r TaobaoxhoteladdAPIRequest) GetSettlementCurrency() string
- func (r TaobaoxhoteladdAPIRequest) GetShid() int64
- func (r TaobaoxhoteladdAPIRequest) GetStandardAmuseFacilities() string
- func (r TaobaoxhoteladdAPIRequest) GetStandardBookingNotice() string
- func (r TaobaoxhoteladdAPIRequest) GetStandardHotelFacilities() string
- func (r TaobaoxhoteladdAPIRequest) GetStandardHotelService() string
- func (r TaobaoxhoteladdAPIRequest) GetStandardRoomFacilities() string
- func (r TaobaoxhoteladdAPIRequest) GetStar() string
- func (r TaobaoxhoteladdAPIRequest) GetSupplier() string
- func (r TaobaoxhoteladdAPIRequest) GetTel() string
- func (r TaobaoxhoteladdAPIRequest) GetUsedName() string
- func (r TaobaoxhoteladdAPIRequest) GetVendor() string
- func (r *TaobaoxhoteladdAPIRequest) SetAddress(_address string) error
- func (r *TaobaoxhoteladdAPIRequest) SetBookingNotice(_bookingNotice string) error
- func (r *TaobaoxhoteladdAPIRequest) SetBrand(_brand string) error
- func (r *TaobaoxhoteladdAPIRequest) SetBusiness(_business string) error
- func (r *TaobaoxhoteladdAPIRequest) SetCity(_city int64) error
- func (r *TaobaoxhoteladdAPIRequest) SetCoordinateSystem(_coordinateSystem string) error
- func (r *TaobaoxhoteladdAPIRequest) SetCountry(_country string) error
- func (r *TaobaoxhoteladdAPIRequest) SetCreditCardTypes(_creditCardTypes string) error
- func (r *TaobaoxhoteladdAPIRequest) SetDecorateTime(_decorateTime string) error
- func (r *TaobaoxhoteladdAPIRequest) SetDescription(_description string) error
- func (r *TaobaoxhoteladdAPIRequest) SetDistrict(_district int64) error
- func (r *TaobaoxhoteladdAPIRequest) SetDomestic(_domestic int64) error
- func (r *TaobaoxhoteladdAPIRequest) SetExtend(_extend string) error
- func (r *TaobaoxhoteladdAPIRequest) SetFloors(_floors string) error
- func (r *TaobaoxhoteladdAPIRequest) SetHotelFacilities(_hotelFacilities string) error
- func (r *TaobaoxhoteladdAPIRequest) SetHotelPolicies(_hotelPolicies string) error
- func (r *TaobaoxhoteladdAPIRequest) SetHotelType(_hotelType int64) error
- func (r *TaobaoxhoteladdAPIRequest) SetLatitude(_latitude string) error
- func (r *TaobaoxhoteladdAPIRequest) SetLongitude(_longitude string) error
- func (r *TaobaoxhoteladdAPIRequest) SetName(_name string) error
- func (r *TaobaoxhoteladdAPIRequest) SetNameE(_nameE string) error
- func (r *TaobaoxhoteladdAPIRequest) SetOpeningTime(_openingTime string) error
- func (r *TaobaoxhoteladdAPIRequest) SetOrbitTrack(_orbitTrack string) error
- func (r *TaobaoxhoteladdAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoxhoteladdAPIRequest) SetPics(_pics string) error
- func (r *TaobaoxhoteladdAPIRequest) SetPositionType(_positionType string) error
- func (r *TaobaoxhoteladdAPIRequest) SetPostalCode(_postalCode string) error
- func (r *TaobaoxhoteladdAPIRequest) SetProvince(_province int64) error
- func (r *TaobaoxhoteladdAPIRequest) SetRoomFacilities(_roomFacilities string) error
- func (r *TaobaoxhoteladdAPIRequest) SetRooms(_rooms int64) error
- func (r *TaobaoxhoteladdAPIRequest) SetService(_service string) error
- func (r *TaobaoxhoteladdAPIRequest) SetServiceType(_serviceType int64) error
- func (r *TaobaoxhoteladdAPIRequest) SetSettlementCurrency(_settlementCurrency string) error
- func (r *TaobaoxhoteladdAPIRequest) SetShid(_shid int64) error
- func (r *TaobaoxhoteladdAPIRequest) SetStandardAmuseFacilities(_standardAmuseFacilities string) error
- func (r *TaobaoxhoteladdAPIRequest) SetStandardBookingNotice(_standardBookingNotice string) error
- func (r *TaobaoxhoteladdAPIRequest) SetStandardHotelFacilities(_standardHotelFacilities string) error
- func (r *TaobaoxhoteladdAPIRequest) SetStandardHotelService(_standardHotelService string) error
- func (r *TaobaoxhoteladdAPIRequest) SetStandardRoomFacilities(_standardRoomFacilities string) error
- func (r *TaobaoxhoteladdAPIRequest) SetStar(_star string) error
- func (r *TaobaoxhoteladdAPIRequest) SetSupplier(_supplier string) error
- func (r *TaobaoxhoteladdAPIRequest) SetTel(_tel string) error
- func (r *TaobaoxhoteladdAPIRequest) SetUsedName(_usedName string) error
- func (r *TaobaoxhoteladdAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhoteladdAPIResponse
- type TaobaoxhoteladdAPIResponseModel
- type TaobaoxhotelbaseinfogetAPIRequest
- func (r TaobaoxhotelbaseinfogetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelbaseinfogetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelbaseinfogetAPIRequest) GetHid() int64
- func (r TaobaoxhotelbaseinfogetAPIRequest) GetIsNeedRatePlan() bool
- func (r TaobaoxhotelbaseinfogetAPIRequest) GetIsNeedRoomType() bool
- func (r TaobaoxhotelbaseinfogetAPIRequest) GetJsonHotelSellerInvQuery() string
- func (r TaobaoxhotelbaseinfogetAPIRequest) GetNeedHotelDynamicInfo() bool
- func (r TaobaoxhotelbaseinfogetAPIRequest) GetNeedSRoomTypeList() bool
- func (r TaobaoxhotelbaseinfogetAPIRequest) GetOutHid() string
- func (r TaobaoxhotelbaseinfogetAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelbaseinfogetAPIRequest) GetVendor() string
- func (r *TaobaoxhotelbaseinfogetAPIRequest) SetHid(_hid int64) error
- func (r *TaobaoxhotelbaseinfogetAPIRequest) SetIsNeedRatePlan(_isNeedRatePlan bool) error
- func (r *TaobaoxhotelbaseinfogetAPIRequest) SetIsNeedRoomType(_isNeedRoomType bool) error
- func (r *TaobaoxhotelbaseinfogetAPIRequest) SetJsonHotelSellerInvQuery(_jsonHotelSellerInvQuery string) error
- func (r *TaobaoxhotelbaseinfogetAPIRequest) SetNeedHotelDynamicInfo(_needHotelDynamicInfo bool) error
- func (r *TaobaoxhotelbaseinfogetAPIRequest) SetNeedSRoomTypeList(_needSRoomTypeList bool) error
- func (r *TaobaoxhotelbaseinfogetAPIRequest) SetOutHid(_outHid string) error
- func (r *TaobaoxhotelbaseinfogetAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelbaseinfogetAPIResponse
- type TaobaoxhotelbaseinfogetAPIResponseModel
- type TaobaoxhotelbaseinfogetResultSet
- type TaobaoxhotelbaseinforoomgetAPIRequest
- func (r TaobaoxhotelbaseinforoomgetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelbaseinforoomgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelbaseinforoomgetAPIRequest) GetIsNeedRatePlan() bool
- func (r TaobaoxhotelbaseinforoomgetAPIRequest) GetOutHid() string
- func (r TaobaoxhotelbaseinforoomgetAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelbaseinforoomgetAPIRequest) GetVendor() string
- func (r *TaobaoxhotelbaseinforoomgetAPIRequest) SetIsNeedRatePlan(_isNeedRatePlan bool) error
- func (r *TaobaoxhotelbaseinforoomgetAPIRequest) SetOutHid(_outHid string) error
- func (r *TaobaoxhotelbaseinforoomgetAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelbaseinforoomgetAPIResponse
- type TaobaoxhotelbaseinforoomgetAPIResponseModel
- type TaobaoxhotelbaseinforoomgetResultSet
- type TaobaoxhotelbnbcommonaddAPIRequest
- func (r TaobaoxhotelbnbcommonaddAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelbnbcommonaddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelbnbcommonaddAPIRequest) GetParam() string
- func (r TaobaoxhotelbnbcommonaddAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelbnbcommonaddAPIRequest) GetScene() string
- func (r *TaobaoxhotelbnbcommonaddAPIRequest) SetParam(_param string) error
- func (r *TaobaoxhotelbnbcommonaddAPIRequest) SetScene(_scene string) error
- type TaobaoxhotelbnbcommonaddAPIResponse
- type TaobaoxhotelbnbcommonaddAPIResponseModel
- type TaobaoxhotelbnbhouseaddAPIRequest
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetActivitiesAllowed() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetAttributes() int64
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetBnbBookingTime() *BnbBookingTimeDto
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetBrand() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetCharge() *BnbChargeDto
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetCheckInNotes() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetCommissionRate() int64
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetDecorateLevel() int64
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetDecorateStyle() int64
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetDecorateTime() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetDescription() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetExtraBedsNum() int64
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetFacilities() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetFloors() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetGuestAge() int64
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetGuestGender() int64
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetHasFrontDesk() int64
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetHasLicense() int64
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetHouseSize() int64
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetIsFeizhuHotel() bool
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetIsUseShootImage() int64
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetLocation() *BnbLocationDto
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetName() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetNameE() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetOpeningTime() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetOutOwnerId() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetOuterId() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetPictures() []BnbPictureDto
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetProductType() int64
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetRealTel() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetReceiveForeigners() int64
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetScenicFeature() int64
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetSettlementCurrency() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetShid() int64
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetStandardHotelFacilities() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetStatus() *model.File
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetTags() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetTel() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetVendor() string
- func (r TaobaoxhotelbnbhouseaddAPIRequest) GetVideoUrl() string
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetActivitiesAllowed(_activitiesAllowed string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetAttributes(_attributes int64) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetBnbBookingTime(_bnbBookingTime *BnbBookingTimeDto) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetBrand(_brand string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetCharge(_charge *BnbChargeDto) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetCheckInNotes(_checkInNotes string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetCommissionRate(_commissionRate int64) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetDecorateLevel(_decorateLevel int64) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetDecorateStyle(_decorateStyle int64) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetDecorateTime(_decorateTime string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetDescription(_description string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetExtraBedsNum(_extraBedsNum int64) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetFacilities(_facilities string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetFloors(_floors string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetGuestAge(_guestAge int64) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetGuestGender(_guestGender int64) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetHasFrontDesk(_hasFrontDesk int64) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetHasLicense(_hasLicense int64) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetHouseSize(_houseSize int64) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetIsFeizhuHotel(_isFeizhuHotel bool) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetIsUseShootImage(_isUseShootImage int64) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetLocation(_location *BnbLocationDto) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetName(_name string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetNameE(_nameE string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetOpeningTime(_openingTime string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetOutOwnerId(_outOwnerId string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetPictures(_pictures []BnbPictureDto) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetProductType(_productType int64) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetRealTel(_realTel string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetReceiveForeigners(_receiveForeigners int64) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetScenicFeature(_scenicFeature int64) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetSettlementCurrency(_settlementCurrency string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetShid(_shid int64) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetStandardHotelFacilities(_standardHotelFacilities string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetStatus(_status *model.File) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetTags(_tags string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetTel(_tel string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetVendor(_vendor string) error
- func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetVideoUrl(_videoUrl string) error
- type TaobaoxhotelbnbhouseaddAPIResponse
- type TaobaoxhotelbnbhouseaddAPIResponseModel
- type TaobaoxhotelbnbhousedeleteAPIRequest
- func (r TaobaoxhotelbnbhousedeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelbnbhousedeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelbnbhousedeleteAPIRequest) GetHid() int64
- func (r TaobaoxhotelbnbhousedeleteAPIRequest) GetOuterId() string
- func (r TaobaoxhotelbnbhousedeleteAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelbnbhousedeleteAPIRequest) GetVendor() string
- func (r *TaobaoxhotelbnbhousedeleteAPIRequest) SetHid(_hid int64) error
- func (r *TaobaoxhotelbnbhousedeleteAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoxhotelbnbhousedeleteAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelbnbhousedeleteAPIResponse
- type TaobaoxhotelbnbhousedeleteAPIResponseModel
- type TaobaoxhotelbnbowneraddAPIRequest
- func (r TaobaoxhotelbnbowneraddAPIRequest) GetAddOwnerParam() *AddOwnerParam
- func (r TaobaoxhotelbnbowneraddAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelbnbowneraddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelbnbowneraddAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelbnbowneraddAPIRequest) SetAddOwnerParam(_addOwnerParam *AddOwnerParam) error
- type TaobaoxhotelbnbowneraddAPIResponse
- type TaobaoxhotelbnbowneraddAPIResponseModel
- type TaobaoxhotelbnbowneraddResultSet
- type TaobaoxhotelbnbownerdeleteAPIRequest
- func (r TaobaoxhotelbnbownerdeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelbnbownerdeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelbnbownerdeleteAPIRequest) GetOuterId() string
- func (r TaobaoxhotelbnbownerdeleteAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelbnbownerdeleteAPIRequest) GetVendor() string
- func (r *TaobaoxhotelbnbownerdeleteAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoxhotelbnbownerdeleteAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelbnbownerdeleteAPIResponse
- type TaobaoxhotelbnbownerdeleteAPIResponseModel
- type TaobaoxhotelbnbownerdeleteResultSet
- type TaobaoxhotelbnbpromoaddAPIRequest
- func (r TaobaoxhotelbnbpromoaddAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelbnbpromoaddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelbnbpromoaddAPIRequest) GetPromoInfo() *PromoInfo
- func (r TaobaoxhotelbnbpromoaddAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelbnbpromoaddAPIRequest) SetPromoInfo(_promoInfo *PromoInfo) error
- type TaobaoxhotelbnbpromoaddAPIResponse
- type TaobaoxhotelbnbpromoaddAPIResponseModel
- type TaobaoxhotelbnbpromobindAPIRequest
- func (r TaobaoxhotelbnbpromobindAPIRequest) GetActivityCode() string
- func (r TaobaoxhotelbnbpromobindAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelbnbpromobindAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelbnbpromobindAPIRequest) GetCheckInFrom() string
- func (r TaobaoxhotelbnbpromobindAPIRequest) GetCheckOutTo() string
- func (r TaobaoxhotelbnbpromobindAPIRequest) GetRateInfos() *PromoRateInfo
- func (r TaobaoxhotelbnbpromobindAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelbnbpromobindAPIRequest) SetActivityCode(_activityCode string) error
- func (r *TaobaoxhotelbnbpromobindAPIRequest) SetCheckInFrom(_checkInFrom string) error
- func (r *TaobaoxhotelbnbpromobindAPIRequest) SetCheckOutTo(_checkOutTo string) error
- func (r *TaobaoxhotelbnbpromobindAPIRequest) SetRateInfos(_rateInfos *PromoRateInfo) error
- type TaobaoxhotelbnbpromobindAPIResponse
- type TaobaoxhotelbnbpromobindAPIResponseModel
- type TaobaoxhotelbnbpromodeleteAPIRequest
- func (r TaobaoxhotelbnbpromodeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelbnbpromodeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelbnbpromodeleteAPIRequest) GetOuterActivityCode() string
- func (r TaobaoxhotelbnbpromodeleteAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelbnbpromodeleteAPIRequest) SetOuterActivityCode(_outerActivityCode string) error
- type TaobaoxhotelbnbpromodeleteAPIResponse
- type TaobaoxhotelbnbpromodeleteAPIResponseModel
- type TaobaoxhotelbnbpromodeleteResultSet
- type TaobaoxhotelbnbpromogetAPIRequest
- func (r TaobaoxhotelbnbpromogetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelbnbpromogetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelbnbpromogetAPIRequest) GetOuterActivityCode() string
- func (r TaobaoxhotelbnbpromogetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelbnbpromogetAPIRequest) SetOuterActivityCode(_outerActivityCode string) error
- type TaobaoxhotelbnbpromogetAPIResponse
- type TaobaoxhotelbnbpromogetAPIResponseModel
- type TaobaoxhotelbnbpromogetResultSet
- type TaobaoxhotelbnbpromounbindAPIRequest
- func (r TaobaoxhotelbnbpromounbindAPIRequest) GetActivityCode() string
- func (r TaobaoxhotelbnbpromounbindAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelbnbpromounbindAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelbnbpromounbindAPIRequest) GetRateInfos() *PromoRateInfo
- func (r TaobaoxhotelbnbpromounbindAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelbnbpromounbindAPIRequest) SetActivityCode(_activityCode string) error
- func (r *TaobaoxhotelbnbpromounbindAPIRequest) SetRateInfos(_rateInfos *PromoRateInfo) error
- type TaobaoxhotelbnbpromounbindAPIResponse
- type TaobaoxhotelbnbpromounbindAPIResponseModel
- type TaobaoxhotelbnbreviewaddAPIRequest
- func (r TaobaoxhotelbnbreviewaddAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelbnbreviewaddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelbnbreviewaddAPIRequest) GetCheckInTime() string
- func (r TaobaoxhotelbnbreviewaddAPIRequest) GetContent() string
- func (r TaobaoxhotelbnbreviewaddAPIRequest) GetGmtCreate() string
- func (r TaobaoxhotelbnbreviewaddAPIRequest) GetOuterId() int64
- func (r TaobaoxhotelbnbreviewaddAPIRequest) GetPicInfoList() *ReviewPicInfo
- func (r TaobaoxhotelbnbreviewaddAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelbnbreviewaddAPIRequest) GetRid() int64
- func (r TaobaoxhotelbnbreviewaddAPIRequest) GetScoreDetail() *ReviewDetailInfo
- func (r TaobaoxhotelbnbreviewaddAPIRequest) GetSource() int64
- func (r TaobaoxhotelbnbreviewaddAPIRequest) GetTotalScore() string
- func (r TaobaoxhotelbnbreviewaddAPIRequest) GetUserNick() string
- func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetCheckInTime(_checkInTime string) error
- func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetContent(_content string) error
- func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetGmtCreate(_gmtCreate string) error
- func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetOuterId(_outerId int64) error
- func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetPicInfoList(_picInfoList *ReviewPicInfo) error
- func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetRid(_rid int64) error
- func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetScoreDetail(_scoreDetail *ReviewDetailInfo) error
- func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetSource(_source int64) error
- func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetTotalScore(_totalScore string) error
- func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetUserNick(_userNick string) error
- type TaobaoxhotelbnbreviewaddAPIResponse
- type TaobaoxhotelbnbreviewaddAPIResponseModel
- type TaobaoxhotelbnbroomtypeaddAPIRequest
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetActivitiesAllowed() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetBedInfo() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetBnbBookingTime() *BnbBookingTimeDto
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetBnbExtend() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetBnbName() []string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetBrand() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetBrightspot() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetCharge() *BnbChargeDto
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetCheckInNotes() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetCleaningCharge() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetCleaningFrequency() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetCleaningType() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetDecorateLevel() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetDecorateStyle() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetDecorateTime() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetDepositAmount() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetDepositType() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetExtraBedsFee() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetExtraBedsNum() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetExtraCleaningCharge() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetExtraFee() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetFloor() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetGuestAge() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetGuestGender() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetHasFrontDesk() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetHasLandlord() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetHasLicense() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetHouseModel() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetHouseSize() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetIntroduction() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetInvoice() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetInvoiceType() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetIsUseShootImage() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetLocalInfo() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetLocation() *BnbLocationDto
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetMaxOccupancy() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetName() []string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetNameE() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetNewOuterId() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetOpeningTime() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetOutHid() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetOuterId() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetOuterTags() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetPics() []BnbPictureDto
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetProductType() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetQuickOrder() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetRealTel() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetReceiveForeigners() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetRentSize() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetRentType() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetScenicFeature() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetService() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetSettlementCurrency() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetSrid() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetStandardRoomFacilities() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetStatus() *model.File
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetSupportIm() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetSupportcredit() int64
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetSurroundInfo() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetTel() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetVendor() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetVideoUrl() string
- func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetWindowType() int64
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetActivitiesAllowed(_activitiesAllowed string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetBedInfo(_bedInfo string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetBnbBookingTime(_bnbBookingTime *BnbBookingTimeDto) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetBnbExtend(_bnbExtend string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetBnbName(_bnbName []string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetBrand(_brand string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetBrightspot(_brightspot string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetCharge(_charge *BnbChargeDto) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetCheckInNotes(_checkInNotes string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetCleaningCharge(_cleaningCharge int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetCleaningFrequency(_cleaningFrequency int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetCleaningType(_cleaningType int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetDecorateLevel(_decorateLevel int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetDecorateStyle(_decorateStyle int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetDecorateTime(_decorateTime string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetDepositAmount(_depositAmount int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetDepositType(_depositType int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetExtraBedsFee(_extraBedsFee int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetExtraBedsNum(_extraBedsNum int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetExtraCleaningCharge(_extraCleaningCharge int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetExtraFee(_extraFee string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetFloor(_floor string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetGuestAge(_guestAge int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetGuestGender(_guestGender int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetHasFrontDesk(_hasFrontDesk int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetHasLandlord(_hasLandlord int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetHasLicense(_hasLicense int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetHouseModel(_houseModel string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetHouseSize(_houseSize int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetIntroduction(_introduction string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetInvoice(_invoice int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetInvoiceType(_invoiceType int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetIsUseShootImage(_isUseShootImage int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetLocalInfo(_localInfo string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetLocation(_location *BnbLocationDto) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetMaxOccupancy(_maxOccupancy int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetName(_name []string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetNameE(_nameE string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetNewOuterId(_newOuterId string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetOpeningTime(_openingTime string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetOutHid(_outHid string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetOuterTags(_outerTags string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetPics(_pics []BnbPictureDto) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetProductType(_productType int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetQuickOrder(_quickOrder int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetRealTel(_realTel string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetReceiveForeigners(_receiveForeigners int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetRentSize(_rentSize int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetRentType(_rentType int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetScenicFeature(_scenicFeature int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetService(_service string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetSettlementCurrency(_settlementCurrency string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetSrid(_srid int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetStandardRoomFacilities(_standardRoomFacilities string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetStatus(_status *model.File) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetSupportIm(_supportIm int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetSupportcredit(_supportcredit int64) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetSurroundInfo(_surroundInfo string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetTel(_tel string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetVendor(_vendor string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetVideoUrl(_videoUrl string) error
- func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetWindowType(_windowType int64) error
- type TaobaoxhotelbnbroomtypeaddAPIResponse
- type TaobaoxhotelbnbroomtypeaddAPIResponseModel
- type TaobaoxhotelbnbroomtypedeleteAPIRequest
- func (r TaobaoxhotelbnbroomtypedeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelbnbroomtypedeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelbnbroomtypedeleteAPIRequest) GetOuterId() string
- func (r TaobaoxhotelbnbroomtypedeleteAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelbnbroomtypedeleteAPIRequest) GetRid() int64
- func (r TaobaoxhotelbnbroomtypedeleteAPIRequest) GetVendor() string
- func (r *TaobaoxhotelbnbroomtypedeleteAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoxhotelbnbroomtypedeleteAPIRequest) SetRid(_rid int64) error
- func (r *TaobaoxhotelbnbroomtypedeleteAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelbnbroomtypedeleteAPIResponse
- type TaobaoxhotelbnbroomtypedeleteAPIResponseModel
- type TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest
- func (r TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest) GetBatchId() int64
- func (r TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest) SetBatchId(_batchId int64) error
- type TaobaoxhotelcitycoordinatesbatchdownloadAPIResponse
- type TaobaoxhotelcitycoordinatesbatchdownloadAPIResponseModel
- type TaobaoxhotelcitycoordinatesbatchuploadAPIRequest
- func (r TaobaoxhotelcitycoordinatesbatchuploadAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelcitycoordinatesbatchuploadAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelcitycoordinatesbatchuploadAPIRequest) GetCoordinateList() []Coordinate
- func (r TaobaoxhotelcitycoordinatesbatchuploadAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelcitycoordinatesbatchuploadAPIRequest) SetCoordinateList(_coordinateList []Coordinate) error
- type TaobaoxhotelcitycoordinatesbatchuploadAPIResponse
- type TaobaoxhotelcitycoordinatesbatchuploadAPIResponseModel
- type TaobaoxhoteldeleteAPIRequest
- func (r TaobaoxhoteldeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoxhoteldeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhoteldeleteAPIRequest) GetHid() int64
- func (r TaobaoxhoteldeleteAPIRequest) GetOuterId() string
- func (r TaobaoxhoteldeleteAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhoteldeleteAPIRequest) GetVendor() string
- func (r *TaobaoxhoteldeleteAPIRequest) SetHid(_hid int64) error
- func (r *TaobaoxhoteldeleteAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoxhoteldeleteAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhoteldeleteAPIResponse
- type TaobaoxhoteldeleteAPIResponseModel
- type TaobaoxhoteldeleteResultSet
- type TaobaoxhotelentityconfigAPIRequest
- func (r TaobaoxhotelentityconfigAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelentityconfigAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelentityconfigAPIRequest) GetConfigData() string
- func (r TaobaoxhotelentityconfigAPIRequest) GetEntityCode() string
- func (r TaobaoxhotelentityconfigAPIRequest) GetEntityId() int64
- func (r TaobaoxhotelentityconfigAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelentityconfigAPIRequest) GetType() int64
- func (r TaobaoxhotelentityconfigAPIRequest) GetVendor() string
- func (r *TaobaoxhotelentityconfigAPIRequest) SetConfigData(_configData string) error
- func (r *TaobaoxhotelentityconfigAPIRequest) SetEntityCode(_entityCode string) error
- func (r *TaobaoxhotelentityconfigAPIRequest) SetEntityId(_entityId int64) error
- func (r *TaobaoxhotelentityconfigAPIRequest) SetType(_type int64) error
- func (r *TaobaoxhotelentityconfigAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelentityconfigAPIResponse
- type TaobaoxhotelentityconfigAPIResponseModel
- type TaobaoxhotelgetAPIRequest
- func (r TaobaoxhotelgetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelgetAPIRequest) GetHid() int64
- func (r TaobaoxhotelgetAPIRequest) GetNeedSaleInfo() bool
- func (r TaobaoxhotelgetAPIRequest) GetOuterId() string
- func (r TaobaoxhotelgetAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelgetAPIRequest) GetVendor() string
- func (r *TaobaoxhotelgetAPIRequest) SetHid(_hid int64) error
- func (r *TaobaoxhotelgetAPIRequest) SetNeedSaleInfo(_needSaleInfo bool) error
- func (r *TaobaoxhotelgetAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoxhotelgetAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelgetAPIResponse
- type TaobaoxhotelgetAPIResponseModel
- type TaobaoxhotelgetentitybytagAPIRequest
- func (r TaobaoxhotelgetentitybytagAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelgetentitybytagAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelgetentitybytagAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelgetentitybytagAPIRequest) GetTag() int64
- func (r TaobaoxhotelgetentitybytagAPIRequest) GetTokenStr() string
- func (r *TaobaoxhotelgetentitybytagAPIRequest) SetTag(_tag int64) error
- func (r *TaobaoxhotelgetentitybytagAPIRequest) SetTokenStr(_tokenStr string) error
- type TaobaoxhotelgetentitybytagAPIResponse
- type TaobaoxhotelgetentitybytagAPIResponseModel
- type TaobaoxhotelhouseaddAPIRequest
- func (r TaobaoxhotelhouseaddAPIRequest) GetAddress() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelhouseaddAPIRequest) GetArroundDesc() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetBookingNotice() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetBrand() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetBusiness() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetCity() int64
- func (r TaobaoxhotelhouseaddAPIRequest) GetCountry() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetCreditCardTypes() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetDecorateTime() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetDescription() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetDistrict() int64
- func (r TaobaoxhotelhouseaddAPIRequest) GetDomestic() int64
- func (r TaobaoxhotelhouseaddAPIRequest) GetExtend() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetFloors() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetHotelFacilities() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetHotelPolicies() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetLatitude() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetLongitude() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetName() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetNameE() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetOpeningTime() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetOrbitTrack() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetOuterId() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetOwnerInfo() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetPics() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetPositionType() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetPostalCode() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetProvince() int64
- func (r TaobaoxhotelhouseaddAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelhouseaddAPIRequest) GetRealAddress() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetRoomFacilities() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetRooms() int64
- func (r TaobaoxhotelhouseaddAPIRequest) GetService() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetSettlementCurrency() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetShid() int64
- func (r TaobaoxhotelhouseaddAPIRequest) GetStar() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetStatus() int64
- func (r TaobaoxhotelhouseaddAPIRequest) GetSupplier() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetTel() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetUsedName() string
- func (r TaobaoxhotelhouseaddAPIRequest) GetVendor() string
- func (r *TaobaoxhotelhouseaddAPIRequest) SetAddress(_address string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetArroundDesc(_arroundDesc string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetBookingNotice(_bookingNotice string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetBrand(_brand string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetBusiness(_business string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetCity(_city int64) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetCountry(_country string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetCreditCardTypes(_creditCardTypes string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetDecorateTime(_decorateTime string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetDescription(_description string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetDistrict(_district int64) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetDomestic(_domestic int64) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetExtend(_extend string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetFloors(_floors string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetHotelFacilities(_hotelFacilities string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetHotelPolicies(_hotelPolicies string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetLatitude(_latitude string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetLongitude(_longitude string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetName(_name string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetNameE(_nameE string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetOpeningTime(_openingTime string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetOrbitTrack(_orbitTrack string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetOwnerInfo(_ownerInfo string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetPics(_pics string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetPositionType(_positionType string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetPostalCode(_postalCode string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetProvince(_province int64) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetRealAddress(_realAddress string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetRoomFacilities(_roomFacilities string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetRooms(_rooms int64) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetService(_service string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetSettlementCurrency(_settlementCurrency string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetShid(_shid int64) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetStar(_star string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetStatus(_status int64) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetSupplier(_supplier string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetTel(_tel string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetUsedName(_usedName string) error
- func (r *TaobaoxhotelhouseaddAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelhouseaddAPIResponse
- type TaobaoxhotelhouseaddAPIResponseModel
- type TaobaoxhotelhouseroomtypeaddAPIRequest
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetArea() string
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetBedInfo() string
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetConnectionType() int64
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetExtend() string
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetFloor() string
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetHasLandlord() int64
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetHid() int64
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetHouseModel() string
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetHouseSize() int64
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetInternet() string
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetMaxOccupancy() int64
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetName() string
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetNameE() string
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetOperator() string
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetOutHid() string
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetOuterId() string
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetPics() string
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetRentSize() int64
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetRentType() int64
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetService() string
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetSrid() int64
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetStatus() int64
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetVendor() string
- func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetWindowType() int64
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetArea(_area string) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetBedInfo(_bedInfo string) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetConnectionType(_connectionType int64) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetExtend(_extend string) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetFloor(_floor string) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetHasLandlord(_hasLandlord int64) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetHid(_hid int64) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetHouseModel(_houseModel string) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetHouseSize(_houseSize int64) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetInternet(_internet string) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetMaxOccupancy(_maxOccupancy int64) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetName(_name string) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetNameE(_nameE string) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetOperator(_operator string) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetOutHid(_outHid string) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetPics(_pics string) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetRentSize(_rentSize int64) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetRentType(_rentType int64) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetService(_service string) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetSrid(_srid int64) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetStatus(_status int64) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetVendor(_vendor string) error
- func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetWindowType(_windowType int64) error
- type TaobaoxhotelhouseroomtypeaddAPIResponse
- type TaobaoxhotelhouseroomtypeaddAPIResponseModel
- type TaobaoxhotelincrementinfogetAPIRequest
- func (r TaobaoxhotelincrementinfogetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelincrementinfogetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelincrementinfogetAPIRequest) GetChangeType() int64
- func (r TaobaoxhotelincrementinfogetAPIRequest) GetCurrentPage() int64
- func (r TaobaoxhotelincrementinfogetAPIRequest) GetGmtModified() string
- func (r TaobaoxhotelincrementinfogetAPIRequest) GetPageSize() int64
- func (r TaobaoxhotelincrementinfogetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelincrementinfogetAPIRequest) SetChangeType(_changeType int64) error
- func (r *TaobaoxhotelincrementinfogetAPIRequest) SetCurrentPage(_currentPage int64) error
- func (r *TaobaoxhotelincrementinfogetAPIRequest) SetGmtModified(_gmtModified string) error
- func (r *TaobaoxhotelincrementinfogetAPIRequest) SetPageSize(_pageSize int64) error
- type TaobaoxhotelincrementinfogetAPIResponse
- type TaobaoxhotelincrementinfogetAPIResponseModel
- type TaobaoxhotelitemselectionsellerstatexposureAPIRequest
- func (r TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetDate() string
- func (r TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetHid() string
- func (r TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetOutHid() string
- func (r TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetSupplier() string
- func (r TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetVendor() string
- func (r *TaobaoxhotelitemselectionsellerstatexposureAPIRequest) SetDate(_date string) error
- func (r *TaobaoxhotelitemselectionsellerstatexposureAPIRequest) SetHid(_hid string) error
- func (r *TaobaoxhotelitemselectionsellerstatexposureAPIRequest) SetOutHid(_outHid string) error
- func (r *TaobaoxhotelitemselectionsellerstatexposureAPIRequest) SetSupplier(_supplier string) error
- func (r *TaobaoxhotelitemselectionsellerstatexposureAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelitemselectionsellerstatexposureAPIResponse
- type TaobaoxhotelitemselectionsellerstatexposureAPIResponseModel
- type TaobaoxhotelitemselectionsellerstatexposureModule
- type TaobaoxhotelitemselectionsellerstatexposureResult
- type TaobaoxhotelitemselectionsellerstathotshidAPIRequest
- func (r TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetDate() string
- func (r TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetHid() string
- func (r TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetOutHid() string
- func (r TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetSupplier() string
- func (r TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetVendor() string
- func (r *TaobaoxhotelitemselectionsellerstathotshidAPIRequest) SetDate(_date string) error
- func (r *TaobaoxhotelitemselectionsellerstathotshidAPIRequest) SetHid(_hid string) error
- func (r *TaobaoxhotelitemselectionsellerstathotshidAPIRequest) SetOutHid(_outHid string) error
- func (r *TaobaoxhotelitemselectionsellerstathotshidAPIRequest) SetSupplier(_supplier string) error
- func (r *TaobaoxhotelitemselectionsellerstathotshidAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelitemselectionsellerstathotshidAPIResponse
- type TaobaoxhotelitemselectionsellerstathotshidAPIResponseModel
- type TaobaoxhotelitemselectionsellerstathotshidModule
- type TaobaoxhotelitemselectionsellerstathotshidResult
- type TaobaoxhotelitemselectionsellerstatsummaryAPIRequest
- func (r TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetDate() string
- func (r TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetHid() string
- func (r TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetOutHid() string
- func (r TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetSupplier() string
- func (r TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetVendor() string
- func (r *TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) SetDate(_date string) error
- func (r *TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) SetHid(_hid string) error
- func (r *TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) SetOutHid(_outHid string) error
- func (r *TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) SetSupplier(_supplier string) error
- func (r *TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelitemselectionsellerstatsummaryAPIResponse
- type TaobaoxhotelitemselectionsellerstatsummaryAPIResponseModel
- type TaobaoxhotelmultipleratedeleteAPIRequest
- func (r TaobaoxhotelmultipleratedeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelmultipleratedeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelmultipleratedeleteAPIRequest) GetLengthofstay() int64
- func (r TaobaoxhotelmultipleratedeleteAPIRequest) GetOccupancy() int64
- func (r TaobaoxhotelmultipleratedeleteAPIRequest) GetOutRid() string
- func (r TaobaoxhotelmultipleratedeleteAPIRequest) GetRateplanCode() string
- func (r TaobaoxhotelmultipleratedeleteAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelmultipleratedeleteAPIRequest) GetVendor() string
- func (r *TaobaoxhotelmultipleratedeleteAPIRequest) SetLengthofstay(_lengthofstay int64) error
- func (r *TaobaoxhotelmultipleratedeleteAPIRequest) SetOccupancy(_occupancy int64) error
- func (r *TaobaoxhotelmultipleratedeleteAPIRequest) SetOutRid(_outRid string) error
- func (r *TaobaoxhotelmultipleratedeleteAPIRequest) SetRateplanCode(_rateplanCode string) error
- func (r *TaobaoxhotelmultipleratedeleteAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelmultipleratedeleteAPIResponse
- type TaobaoxhotelmultipleratedeleteAPIResponseModel
- type TaobaoxhotelmultipleratedeleteResultSet
- type TaobaoxhotelmultiplerategetAPIRequest
- func (r TaobaoxhotelmultiplerategetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelmultiplerategetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelmultiplerategetAPIRequest) GetGid() int64
- func (r TaobaoxhotelmultiplerategetAPIRequest) GetNod() int64
- func (r TaobaoxhotelmultiplerategetAPIRequest) GetNop() int64
- func (r TaobaoxhotelmultiplerategetAPIRequest) GetOutRid() string
- func (r TaobaoxhotelmultiplerategetAPIRequest) GetRatePlanCode() string
- func (r TaobaoxhotelmultiplerategetAPIRequest) GetRatePlanId() int64
- func (r TaobaoxhotelmultiplerategetAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelmultiplerategetAPIRequest) GetVendor() string
- func (r *TaobaoxhotelmultiplerategetAPIRequest) SetGid(_gid int64) error
- func (r *TaobaoxhotelmultiplerategetAPIRequest) SetNod(_nod int64) error
- func (r *TaobaoxhotelmultiplerategetAPIRequest) SetNop(_nop int64) error
- func (r *TaobaoxhotelmultiplerategetAPIRequest) SetOutRid(_outRid string) error
- func (r *TaobaoxhotelmultiplerategetAPIRequest) SetRatePlanCode(_ratePlanCode string) error
- func (r *TaobaoxhotelmultiplerategetAPIRequest) SetRatePlanId(_ratePlanId int64) error
- func (r *TaobaoxhotelmultiplerategetAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelmultiplerategetAPIResponse
- type TaobaoxhotelmultiplerategetAPIResponseModel
- type TaobaoxhotelmultipleratesincrementAPIRequest
- func (r TaobaoxhotelmultipleratesincrementAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelmultipleratesincrementAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelmultipleratesincrementAPIRequest) GetRateQuotaMap() string
- func (r TaobaoxhotelmultipleratesincrementAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelmultipleratesincrementAPIRequest) SetRateQuotaMap(_rateQuotaMap string) error
- type TaobaoxhotelmultipleratesincrementAPIResponse
- type TaobaoxhotelmultipleratesincrementAPIResponseModel
- type TaobaoxhotelmultipleratesupdateAPIRequest
- func (r TaobaoxhotelmultipleratesupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelmultipleratesupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelmultipleratesupdateAPIRequest) GetRateQuotaMap() string
- func (r TaobaoxhotelmultipleratesupdateAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelmultipleratesupdateAPIRequest) SetRateQuotaMap(_rateQuotaMap string) error
- type TaobaoxhotelmultipleratesupdateAPIResponse
- type TaobaoxhotelmultipleratesupdateAPIResponseModel
- type TaobaoxhotelmultiplerateupdateAPIRequest
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetBreakfast() int64
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetBreakfastCal() string
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetCancelPolicy() string
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetCancelPolicyCal() string
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetChildnum() int64
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetCurrencyCode() string
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetGid() int64
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetHotelXitemInfos() string
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetInfantnum() int64
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetInventoryPrice() string
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetLengthofstay() int64
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetLockEndTime() string
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetLockStartTime() string
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetName() string
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetOccupancy() int64
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetOnlineBookingBindingInfo() string
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetOutRid() string
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetRatePlanCode() string
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetRateSwitchCal() string
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetRpid() int64
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetStatus() int64
- func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetVendor() string
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetBreakfast(_breakfast int64) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetBreakfastCal(_breakfastCal string) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetCancelPolicy(_cancelPolicy string) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetCancelPolicyCal(_cancelPolicyCal string) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetChildnum(_childnum int64) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetCurrencyCode(_currencyCode string) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetGid(_gid int64) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetHotelXitemInfos(_hotelXitemInfos string) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetInfantnum(_infantnum int64) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetInventoryPrice(_inventoryPrice string) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetLengthofstay(_lengthofstay int64) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetLockEndTime(_lockEndTime string) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetLockStartTime(_lockStartTime string) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetName(_name string) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetOccupancy(_occupancy int64) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetOutRid(_outRid string) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetRatePlanCode(_ratePlanCode string) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetRateSwitchCal(_rateSwitchCal string) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetRpid(_rpid int64) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetStatus(_status int64) error
- func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelmultiplerateupdateAPIResponse
- type TaobaoxhotelmultiplerateupdateAPIResponseModel
- type TaobaoxhotelquotaupdateAPIRequest
- func (r TaobaoxhotelquotaupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelquotaupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelquotaupdateAPIRequest) GetDates() []string
- func (r TaobaoxhotelquotaupdateAPIRequest) GetGid() int64
- func (r TaobaoxhotelquotaupdateAPIRequest) GetQuota() int64
- func (r TaobaoxhotelquotaupdateAPIRequest) GetQuotaNumType() int64
- func (r TaobaoxhotelquotaupdateAPIRequest) GetQuotaType() int64
- func (r TaobaoxhotelquotaupdateAPIRequest) GetRateId() int64
- func (r TaobaoxhotelquotaupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelquotaupdateAPIRequest) GetUseRoomInventory() bool
- func (r *TaobaoxhotelquotaupdateAPIRequest) SetDates(_dates []string) error
- func (r *TaobaoxhotelquotaupdateAPIRequest) SetGid(_gid int64) error
- func (r *TaobaoxhotelquotaupdateAPIRequest) SetQuota(_quota int64) error
- func (r *TaobaoxhotelquotaupdateAPIRequest) SetQuotaNumType(_quotaNumType int64) error
- func (r *TaobaoxhotelquotaupdateAPIRequest) SetQuotaType(_quotaType int64) error
- func (r *TaobaoxhotelquotaupdateAPIRequest) SetRateId(_rateId int64) error
- func (r *TaobaoxhotelquotaupdateAPIRequest) SetUseRoomInventory(_useRoomInventory bool) error
- type TaobaoxhotelquotaupdateAPIResponse
- type TaobaoxhotelquotaupdateAPIResponseModel
- type TaobaoxhotelrateaddAPIRequest
- func (r TaobaoxhotelrateaddAPIRequest) GetAddBed() int64
- func (r TaobaoxhotelrateaddAPIRequest) GetAddBedPrice() int64
- func (r TaobaoxhotelrateaddAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelrateaddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelrateaddAPIRequest) GetCurrencyCode() int64
- func (r TaobaoxhotelrateaddAPIRequest) GetCurrencyCodeName() string
- func (r TaobaoxhotelrateaddAPIRequest) GetGid() int64
- func (r TaobaoxhotelrateaddAPIRequest) GetHotelXitemInfos() string
- func (r TaobaoxhotelrateaddAPIRequest) GetInventoryPrice() string
- func (r TaobaoxhotelrateaddAPIRequest) GetJishiquerenTag() int64
- func (r TaobaoxhotelrateaddAPIRequest) GetLockEndTime() string
- func (r TaobaoxhotelrateaddAPIRequest) GetLockStartTime() string
- func (r TaobaoxhotelrateaddAPIRequest) GetName() string
- func (r TaobaoxhotelrateaddAPIRequest) GetOnlineBookingBindingInfo() string
- func (r TaobaoxhotelrateaddAPIRequest) GetOperator() string
- func (r TaobaoxhotelrateaddAPIRequest) GetOutRid() string
- func (r TaobaoxhotelrateaddAPIRequest) GetRateSwitchCal() string
- func (r TaobaoxhotelrateaddAPIRequest) GetRateplanCode() string
- func (r TaobaoxhotelrateaddAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelrateaddAPIRequest) GetRpid() int64
- func (r TaobaoxhotelrateaddAPIRequest) GetShijiaTag() int64
- func (r TaobaoxhotelrateaddAPIRequest) GetSource() int64
- func (r TaobaoxhotelrateaddAPIRequest) GetStatus() int64
- func (r TaobaoxhotelrateaddAPIRequest) GetVendor() string
- func (r *TaobaoxhotelrateaddAPIRequest) SetAddBed(_addBed int64) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetAddBedPrice(_addBedPrice int64) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetCurrencyCode(_currencyCode int64) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetCurrencyCodeName(_currencyCodeName string) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetGid(_gid int64) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetHotelXitemInfos(_hotelXitemInfos string) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetInventoryPrice(_inventoryPrice string) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetJishiquerenTag(_jishiquerenTag int64) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetLockEndTime(_lockEndTime string) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetLockStartTime(_lockStartTime string) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetName(_name string) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetOperator(_operator string) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetOutRid(_outRid string) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetRateSwitchCal(_rateSwitchCal string) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetRateplanCode(_rateplanCode string) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetRpid(_rpid int64) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetShijiaTag(_shijiaTag int64) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetSource(_source int64) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetStatus(_status int64) error
- func (r *TaobaoxhotelrateaddAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelrateaddAPIResponse
- type TaobaoxhotelrateaddAPIResponseModel
- type TaobaoxhotelratedeleteAPIRequest
- func (r TaobaoxhotelratedeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelratedeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelratedeleteAPIRequest) GetOutRid() string
- func (r TaobaoxhotelratedeleteAPIRequest) GetRateplanCode() string
- func (r TaobaoxhotelratedeleteAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelratedeleteAPIRequest) GetVendor() string
- func (r *TaobaoxhotelratedeleteAPIRequest) SetOutRid(_outRid string) error
- func (r *TaobaoxhotelratedeleteAPIRequest) SetRateplanCode(_rateplanCode string) error
- func (r *TaobaoxhotelratedeleteAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelratedeleteAPIResponse
- type TaobaoxhotelratedeleteAPIResponseModel
- type TaobaoxhotelratedeleteResultSet
- type TaobaoxhotelrategetAPIRequest
- func (r TaobaoxhotelrategetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelrategetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelrategetAPIRequest) GetGid() int64
- func (r TaobaoxhotelrategetAPIRequest) GetOutRid() string
- func (r TaobaoxhotelrategetAPIRequest) GetRateId() int64
- func (r TaobaoxhotelrategetAPIRequest) GetRateplanCode() string
- func (r TaobaoxhotelrategetAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelrategetAPIRequest) GetRpid() int64
- func (r TaobaoxhotelrategetAPIRequest) GetVendor() string
- func (r *TaobaoxhotelrategetAPIRequest) SetGid(_gid int64) error
- func (r *TaobaoxhotelrategetAPIRequest) SetOutRid(_outRid string) error
- func (r *TaobaoxhotelrategetAPIRequest) SetRateId(_rateId int64) error
- func (r *TaobaoxhotelrategetAPIRequest) SetRateplanCode(_rateplanCode string) error
- func (r *TaobaoxhotelrategetAPIRequest) SetRpid(_rpid int64) error
- func (r *TaobaoxhotelrategetAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelrategetAPIResponse
- type TaobaoxhotelrategetAPIResponseModel
- type TaobaoxhotelrateplanaddAPIRequest
- func (r TaobaoxhotelrateplanaddAPIRequest) GetActivityType() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetAgreement() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetAllotmentReleaseTime() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelrateplanaddAPIRequest) GetBaseRpFlag() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetBottomPriceFlag() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetBreakfastCal() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetBreakfastCount() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetCanCheckinEnd() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetCanCheckinStart() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetCanCheckoutEnd() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetCancelBeforeDay() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetCancelBeforeHour() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetCancelPolicy() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetCancelPolicyCal() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetChannel() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetCommonAllotReleaseTime() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetDeadlineTime() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetDinningDesc() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetEffectiveTime() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetEndTime() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetEnglishName() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetExtend() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetExtendFee() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetFeeBreakfastAmount() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetFeeBreakfastCount() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetFeeGovTaxAmount() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetFeeGovTaxPercent() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetFeeServiceAmount() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetFeeServicePercent() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetFirstStay() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetFreeRoomChargeDstRole() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetGuaranteeCal() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetGuaranteeMode() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetGuaranteeStartTime() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetGuaranteeType() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetGuestLimit() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetHid() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetHourage() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetIsStudent() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetMaxAdvHours() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetMaxChildAge() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetMaxDays() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetMaxInfantAge() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetMemDiscFlag() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetMemberDiscountCal() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetMemberLevel() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetMinAdvHours() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetMinAmount() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetMinChildAge() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetMinDays() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetMinInfantAge() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetName() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetOccupancy() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetOnlineBookingBindingInfo() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetOperator() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetOutHid() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetOutRid() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetParentRpCode() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetParentRpid() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetPaymentType() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetRateplanCode() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelrateplanaddAPIRequest) GetResourceType() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetRid() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetRights() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetRpType() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetSource() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetStartTime() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetStatus() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetSuperRpFlag() int64
- func (r TaobaoxhotelrateplanaddAPIRequest) GetTagJson() string
- func (r TaobaoxhotelrateplanaddAPIRequest) GetVendor() string
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetActivityType(_activityType string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetAgreement(_agreement int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetAllotmentReleaseTime(_allotmentReleaseTime string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetBaseRpFlag(_baseRpFlag int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetBottomPriceFlag(_bottomPriceFlag int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetBreakfastCal(_breakfastCal string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetBreakfastCount(_breakfastCount int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetCanCheckinEnd(_canCheckinEnd string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetCanCheckinStart(_canCheckinStart string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetCanCheckoutEnd(_canCheckoutEnd string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetCancelBeforeDay(_cancelBeforeDay int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetCancelBeforeHour(_cancelBeforeHour string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetCancelPolicy(_cancelPolicy string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetCancelPolicyCal(_cancelPolicyCal string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetChannel(_channel string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetCommonAllotReleaseTime(_commonAllotReleaseTime string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetDeadlineTime(_deadlineTime string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetDinningDesc(_dinningDesc string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetEffectiveTime(_effectiveTime string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetEnglishName(_englishName string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetExtend(_extend string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetExtendFee(_extendFee string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetFeeBreakfastAmount(_feeBreakfastAmount int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetFeeBreakfastCount(_feeBreakfastCount int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetFeeGovTaxAmount(_feeGovTaxAmount int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetFeeGovTaxPercent(_feeGovTaxPercent int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetFeeServiceAmount(_feeServiceAmount int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetFeeServicePercent(_feeServicePercent int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetFirstStay(_firstStay int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetFreeRoomChargeDstRole(_freeRoomChargeDstRole string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetGuaranteeCal(_guaranteeCal string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetGuaranteeMode(_guaranteeMode int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetGuaranteeStartTime(_guaranteeStartTime string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetGuaranteeType(_guaranteeType int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetGuestLimit(_guestLimit string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetHid(_hid int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetHourage(_hourage string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetIsStudent(_isStudent int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetMaxAdvHours(_maxAdvHours int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetMaxChildAge(_maxChildAge int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetMaxDays(_maxDays int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetMaxInfantAge(_maxInfantAge int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetMemDiscFlag(_memDiscFlag int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetMemberDiscountCal(_memberDiscountCal string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetMemberLevel(_memberLevel string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetMinAdvHours(_minAdvHours int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetMinAmount(_minAmount int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetMinChildAge(_minChildAge int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetMinDays(_minDays int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetMinInfantAge(_minInfantAge int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetName(_name string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetOccupancy(_occupancy int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetOperator(_operator string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetOutHid(_outHid string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetOutRid(_outRid string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetParentRpCode(_parentRpCode string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetParentRpid(_parentRpid int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetPaymentType(_paymentType int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetRateplanCode(_rateplanCode string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetResourceType(_resourceType string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetRid(_rid int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetRights(_rights string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetRpType(_rpType string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetSource(_source int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetStartTime(_startTime string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetStatus(_status int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetSuperRpFlag(_superRpFlag int64) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetTagJson(_tagJson string) error
- func (r *TaobaoxhotelrateplanaddAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelrateplanaddAPIResponse
- type TaobaoxhotelrateplanaddAPIResponseModel
- type TaobaoxhotelrateplandeleteAPIRequest
- func (r TaobaoxhotelrateplandeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelrateplandeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelrateplandeleteAPIRequest) GetRateplanCode() string
- func (r TaobaoxhotelrateplandeleteAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelrateplandeleteAPIRequest) GetRpId() int64
- func (r TaobaoxhotelrateplandeleteAPIRequest) GetVendor() string
- func (r *TaobaoxhotelrateplandeleteAPIRequest) SetRateplanCode(_rateplanCode string) error
- func (r *TaobaoxhotelrateplandeleteAPIRequest) SetRpId(_rpId int64) error
- func (r *TaobaoxhotelrateplandeleteAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelrateplandeleteAPIResponse
- type TaobaoxhotelrateplandeleteAPIResponseModel
- type TaobaoxhotelrateplandeleteResultSet
- type TaobaoxhotelrateplangetAPIRequest
- func (r TaobaoxhotelrateplangetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelrateplangetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelrateplangetAPIRequest) GetRateplanCode() string
- func (r TaobaoxhotelrateplangetAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelrateplangetAPIRequest) GetRpid() int64
- func (r TaobaoxhotelrateplangetAPIRequest) GetVendor() string
- func (r *TaobaoxhotelrateplangetAPIRequest) SetRateplanCode(_rateplanCode string) error
- func (r *TaobaoxhotelrateplangetAPIRequest) SetRpid(_rpid int64) error
- func (r *TaobaoxhotelrateplangetAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelrateplangetAPIResponse
- type TaobaoxhotelrateplangetAPIResponseModel
- type TaobaoxhotelrateplanupdateAPIRequest
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetActivityType() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetAgreement() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetAllotmentReleaseTime() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetBaseRpFlag() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetBenefits() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetBottomPriceFlag() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetBreakfastCal() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetBreakfastCount() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetCanCheckinEnd() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetCanCheckinStart() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetCanCheckoutEnd() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetCancelPolicy() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetCancelPolicyCal() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetChannel() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetCommonAllotReleaseTime() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetCompanyAssist() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetDeadlineTime() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetDisplayName() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetEffectiveTime() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetEndTime() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetEnglishName() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetFirstStay() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetFreeRoomChargeDstRole() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetGuaranteeCal() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetGuaranteeMode() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetGuaranteeStartTime() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetGuaranteeType() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetGuestLimit() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetHid() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetHotelCompanyMappingDOS() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetHourage() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetIsStudent() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetMaxAdvHours() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetMaxDays() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetMemDiscFlag() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetMemberDiscountCal() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetMemberLevel() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetMinAdvHours() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetMinAmount() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetMinDays() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetName() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetOnlineBookingBindingInfo() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetOperator() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetOutHid() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetOutRid() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetPackRoomFlag() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetParentRpCode() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetParentRpid() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetPaymentType() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetRateplanCode() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetResourceType() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetRid() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetRights() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetRpType() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetRpid() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetSource() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetStartTime() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetStatus() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetSuperRpFlag() int64
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetTagJson() string
- func (r TaobaoxhotelrateplanupdateAPIRequest) GetVendor() string
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetActivityType(_activityType string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetAgreement(_agreement int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetAllotmentReleaseTime(_allotmentReleaseTime string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetBaseRpFlag(_baseRpFlag int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetBenefits(_benefits string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetBottomPriceFlag(_bottomPriceFlag string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetBreakfastCal(_breakfastCal string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetBreakfastCount(_breakfastCount int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetCanCheckinEnd(_canCheckinEnd string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetCanCheckinStart(_canCheckinStart string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetCanCheckoutEnd(_canCheckoutEnd string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetCancelPolicy(_cancelPolicy string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetCancelPolicyCal(_cancelPolicyCal string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetChannel(_channel string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetCommonAllotReleaseTime(_commonAllotReleaseTime string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetCompanyAssist(_companyAssist int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetDeadlineTime(_deadlineTime string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetDisplayName(_displayName string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetEffectiveTime(_effectiveTime string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetEnglishName(_englishName string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetFirstStay(_firstStay int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetFreeRoomChargeDstRole(_freeRoomChargeDstRole string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetGuaranteeCal(_guaranteeCal string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetGuaranteeMode(_guaranteeMode int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetGuaranteeStartTime(_guaranteeStartTime string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetGuaranteeType(_guaranteeType int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetGuestLimit(_guestLimit string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetHid(_hid int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetHotelCompanyMappingDOS(_hotelCompanyMappingDOS string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetHourage(_hourage string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetIsStudent(_isStudent int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetMaxAdvHours(_maxAdvHours int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetMaxDays(_maxDays int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetMemDiscFlag(_memDiscFlag int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetMemberDiscountCal(_memberDiscountCal string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetMemberLevel(_memberLevel string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetMinAdvHours(_minAdvHours int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetMinAmount(_minAmount int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetMinDays(_minDays int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetName(_name string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetOperator(_operator string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetOutHid(_outHid string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetOutRid(_outRid string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetPackRoomFlag(_packRoomFlag string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetParentRpCode(_parentRpCode string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetParentRpid(_parentRpid int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetPaymentType(_paymentType int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetRateplanCode(_rateplanCode string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetResourceType(_resourceType string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetRid(_rid int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetRights(_rights string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetRpType(_rpType string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetRpid(_rpid int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetSource(_source int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetStartTime(_startTime string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetStatus(_status int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetSuperRpFlag(_superRpFlag int64) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetTagJson(_tagJson string) error
- func (r *TaobaoxhotelrateplanupdateAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelrateplanupdateAPIResponse
- type TaobaoxhotelrateplanupdateAPIResponseModel
- type TaobaoxhotelraterelationshipwithroomgetAPIRequest
- func (r TaobaoxhotelraterelationshipwithroomgetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelraterelationshipwithroomgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelraterelationshipwithroomgetAPIRequest) GetPageNo() int64
- func (r TaobaoxhotelraterelationshipwithroomgetAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelraterelationshipwithroomgetAPIRequest) GetRpId() int64
- func (r *TaobaoxhotelraterelationshipwithroomgetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoxhotelraterelationshipwithroomgetAPIRequest) SetRpId(_rpId int64) error
- type TaobaoxhotelraterelationshipwithroomgetAPIResponse
- type TaobaoxhotelraterelationshipwithroomgetAPIResponseModel
- type TaobaoxhotelraterelationshipwithrpgetAPIRequest
- func (r TaobaoxhotelraterelationshipwithrpgetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelraterelationshipwithrpgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelraterelationshipwithrpgetAPIRequest) GetGid() int64
- func (r TaobaoxhotelraterelationshipwithrpgetAPIRequest) GetPageNo() int64
- func (r TaobaoxhotelraterelationshipwithrpgetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelraterelationshipwithrpgetAPIRequest) SetGid(_gid int64) error
- func (r *TaobaoxhotelraterelationshipwithrpgetAPIRequest) SetPageNo(_pageNo int64) error
- type TaobaoxhotelraterelationshipwithrpgetAPIResponse
- type TaobaoxhotelraterelationshipwithrpgetAPIResponseModel
- type TaobaoxhotelratesincrementAPIRequest
- func (r TaobaoxhotelratesincrementAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelratesincrementAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelratesincrementAPIRequest) GetRateInventoryPriceMap() string
- func (r TaobaoxhotelratesincrementAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelratesincrementAPIRequest) SetRateInventoryPriceMap(_rateInventoryPriceMap string) error
- type TaobaoxhotelratesincrementAPIResponse
- type TaobaoxhotelratesincrementAPIResponseModel
- type TaobaoxhotelratesliteincrupdateAPIRequest
- func (r TaobaoxhotelratesliteincrupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelratesliteincrupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelratesliteincrupdateAPIRequest) GetRateListInvInfo() string
- func (r TaobaoxhotelratesliteincrupdateAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelratesliteincrupdateAPIRequest) SetRateListInvInfo(_rateListInvInfo string) error
- type TaobaoxhotelratesliteincrupdateAPIResponse
- type TaobaoxhotelratesliteincrupdateAPIResponseModel
- type TaobaoxhotelratesliteincrupdateResultSet
- type TaobaoxhotelratesupdateAPIRequest
- func (r TaobaoxhotelratesupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelratesupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelratesupdateAPIRequest) GetRateInventoryPriceMap() string
- func (r TaobaoxhotelratesupdateAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelratesupdateAPIRequest) SetRateInventoryPriceMap(_rateInventoryPriceMap string) error
- type TaobaoxhotelratesupdateAPIResponse
- type TaobaoxhotelratesupdateAPIResponseModel
- type TaobaoxhotelrateupdateAPIRequest
- func (r TaobaoxhotelrateupdateAPIRequest) GetAddBed() int64
- func (r TaobaoxhotelrateupdateAPIRequest) GetAddBedPrice() int64
- func (r TaobaoxhotelrateupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelrateupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelrateupdateAPIRequest) GetCurrencyCode() int64
- func (r TaobaoxhotelrateupdateAPIRequest) GetGid() int64
- func (r TaobaoxhotelrateupdateAPIRequest) GetHotelXitemInfos() string
- func (r TaobaoxhotelrateupdateAPIRequest) GetInventoryPrice() string
- func (r TaobaoxhotelrateupdateAPIRequest) GetJishiquerenTag() int64
- func (r TaobaoxhotelrateupdateAPIRequest) GetLockEndTime() string
- func (r TaobaoxhotelrateupdateAPIRequest) GetLockStartTime() string
- func (r TaobaoxhotelrateupdateAPIRequest) GetName() string
- func (r TaobaoxhotelrateupdateAPIRequest) GetOnlineBookingBindingInfo() string
- func (r TaobaoxhotelrateupdateAPIRequest) GetOutRid() string
- func (r TaobaoxhotelrateupdateAPIRequest) GetRateSwitchCal() string
- func (r TaobaoxhotelrateupdateAPIRequest) GetRateplanCode() string
- func (r TaobaoxhotelrateupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelrateupdateAPIRequest) GetRpid() int64
- func (r TaobaoxhotelrateupdateAPIRequest) GetShijiaTag() int64
- func (r TaobaoxhotelrateupdateAPIRequest) GetVendor() string
- func (r *TaobaoxhotelrateupdateAPIRequest) SetAddBed(_addBed int64) error
- func (r *TaobaoxhotelrateupdateAPIRequest) SetAddBedPrice(_addBedPrice int64) error
- func (r *TaobaoxhotelrateupdateAPIRequest) SetCurrencyCode(_currencyCode int64) error
- func (r *TaobaoxhotelrateupdateAPIRequest) SetGid(_gid int64) error
- func (r *TaobaoxhotelrateupdateAPIRequest) SetHotelXitemInfos(_hotelXitemInfos string) error
- func (r *TaobaoxhotelrateupdateAPIRequest) SetInventoryPrice(_inventoryPrice string) error
- func (r *TaobaoxhotelrateupdateAPIRequest) SetJishiquerenTag(_jishiquerenTag int64) error
- func (r *TaobaoxhotelrateupdateAPIRequest) SetLockEndTime(_lockEndTime string) error
- func (r *TaobaoxhotelrateupdateAPIRequest) SetLockStartTime(_lockStartTime string) error
- func (r *TaobaoxhotelrateupdateAPIRequest) SetName(_name string) error
- func (r *TaobaoxhotelrateupdateAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error
- func (r *TaobaoxhotelrateupdateAPIRequest) SetOutRid(_outRid string) error
- func (r *TaobaoxhotelrateupdateAPIRequest) SetRateSwitchCal(_rateSwitchCal string) error
- func (r *TaobaoxhotelrateupdateAPIRequest) SetRateplanCode(_rateplanCode string) error
- func (r *TaobaoxhotelrateupdateAPIRequest) SetRpid(_rpid int64) error
- func (r *TaobaoxhotelrateupdateAPIRequest) SetShijiaTag(_shijiaTag int64) error
- func (r *TaobaoxhotelrateupdateAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelrateupdateAPIResponse
- type TaobaoxhotelrateupdateAPIResponseModel
- type TaobaoxhotelroomgetAPIRequest
- func (r TaobaoxhotelroomgetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelroomgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelroomgetAPIRequest) GetGid() int64
- func (r TaobaoxhotelroomgetAPIRequest) GetOutRid() string
- func (r TaobaoxhotelroomgetAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelroomgetAPIRequest) GetVendor() string
- func (r *TaobaoxhotelroomgetAPIRequest) SetGid(_gid int64) error
- func (r *TaobaoxhotelroomgetAPIRequest) SetOutRid(_outRid string) error
- func (r *TaobaoxhotelroomgetAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelroomgetAPIResponse
- type TaobaoxhotelroomgetAPIResponseModel
- type TaobaoxhotelroomsincrementAPIRequest
- func (r TaobaoxhotelroomsincrementAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelroomsincrementAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelroomsincrementAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelroomsincrementAPIRequest) GetRoomQuotaMap() string
- func (r *TaobaoxhotelroomsincrementAPIRequest) SetRoomQuotaMap(_roomQuotaMap string) error
- type TaobaoxhotelroomsincrementAPIResponse
- type TaobaoxhotelroomsincrementAPIResponseModel
- type TaobaoxhotelroomsupdateAPIRequest
- func (r TaobaoxhotelroomsupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelroomsupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelroomsupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelroomsupdateAPIRequest) GetRoomQuotaMap() string
- func (r *TaobaoxhotelroomsupdateAPIRequest) SetRoomQuotaMap(_roomQuotaMap string) error
- type TaobaoxhotelroomsupdateAPIResponse
- type TaobaoxhotelroomsupdateAPIResponseModel
- type TaobaoxhotelroomtypeaddAPIRequest
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetAddBed() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetArea() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetBedInfo() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetBedSize() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetBedType() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetChildrenPolicy() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetConnectionType() int64
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetExtend() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetFloor() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetHid() int64
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetInternet() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetMaxOccupancy() int64
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetName() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetNameE() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetOperator() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetOutHid() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetOuterId() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetPics() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetService() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetSrid() int64
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetStandardRoomFacilities() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetVendor() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetWindowDesc() string
- func (r TaobaoxhotelroomtypeaddAPIRequest) GetWindowType() int64
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetAddBed(_addBed string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetArea(_area string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetBedInfo(_bedInfo string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetBedSize(_bedSize string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetBedType(_bedType string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetChildrenPolicy(_childrenPolicy string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetConnectionType(_connectionType int64) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetExtend(_extend string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetFloor(_floor string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetHid(_hid int64) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetInternet(_internet string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetMaxOccupancy(_maxOccupancy int64) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetName(_name string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetNameE(_nameE string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetOperator(_operator string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetOutHid(_outHid string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetPics(_pics string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetService(_service string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetSrid(_srid int64) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetStandardRoomFacilities(_standardRoomFacilities string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetVendor(_vendor string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetWindowDesc(_windowDesc string) error
- func (r *TaobaoxhotelroomtypeaddAPIRequest) SetWindowType(_windowType int64) error
- type TaobaoxhotelroomtypeaddAPIResponse
- type TaobaoxhotelroomtypeaddAPIResponseModel
- type TaobaoxhotelroomtypeconflictdataAPIRequest
- func (r TaobaoxhotelroomtypeconflictdataAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelroomtypeconflictdataAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelroomtypeconflictdataAPIRequest) GetCurrentPage() int64
- func (r TaobaoxhotelroomtypeconflictdataAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelroomtypeconflictdataAPIRequest) SetCurrentPage(_currentPage int64) error
- type TaobaoxhotelroomtypeconflictdataAPIResponse
- type TaobaoxhotelroomtypeconflictdataAPIResponseModel
- type TaobaoxhotelroomtypeconflictdataResultSet
- type TaobaoxhotelroomtypedeletepublicAPIRequest
- func (r TaobaoxhotelroomtypedeletepublicAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelroomtypedeletepublicAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelroomtypedeletepublicAPIRequest) GetOperator() string
- func (r TaobaoxhotelroomtypedeletepublicAPIRequest) GetOuterRid() string
- func (r TaobaoxhotelroomtypedeletepublicAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelroomtypedeletepublicAPIRequest) GetRid() int64
- func (r TaobaoxhotelroomtypedeletepublicAPIRequest) GetVendor() string
- func (r *TaobaoxhotelroomtypedeletepublicAPIRequest) SetOperator(_operator string) error
- func (r *TaobaoxhotelroomtypedeletepublicAPIRequest) SetOuterRid(_outerRid string) error
- func (r *TaobaoxhotelroomtypedeletepublicAPIRequest) SetRid(_rid int64) error
- func (r *TaobaoxhotelroomtypedeletepublicAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelroomtypedeletepublicAPIResponse
- type TaobaoxhotelroomtypedeletepublicAPIResponseModel
- type TaobaoxhotelroomtypedeletepublicResultSet
- type TaobaoxhotelroomtypegetAPIRequest
- func (r TaobaoxhotelroomtypegetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelroomtypegetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelroomtypegetAPIRequest) GetOuterId() string
- func (r TaobaoxhotelroomtypegetAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelroomtypegetAPIRequest) GetRid() int64
- func (r TaobaoxhotelroomtypegetAPIRequest) GetVendor() string
- func (r *TaobaoxhotelroomtypegetAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoxhotelroomtypegetAPIRequest) SetRid(_rid int64) error
- func (r *TaobaoxhotelroomtypegetAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelroomtypegetAPIResponse
- type TaobaoxhotelroomtypegetAPIResponseModel
- type TaobaoxhotelroomtypeupdateAPIRequest
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetAddBed() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetArea() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetBedInfo() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetBedSize() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetBedType() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetChildrenPolicy() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetConnectionType() int64
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetExtend() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetFloor() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetHid() int64
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetHotelCode() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetInternet() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetMaxOccupancy() int64
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetName() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetNameE() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetNewOuterId() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetOperator() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetOuterId() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetPics() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetRid() int64
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetService() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetSrid() int64
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetStandardRoomFacilities() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetStatus() *model.File
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetVendor() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetWindowDesc() string
- func (r TaobaoxhotelroomtypeupdateAPIRequest) GetWindowType() int64
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetAddBed(_addBed string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetArea(_area string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetBedInfo(_bedInfo string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetBedSize(_bedSize string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetBedType(_bedType string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetChildrenPolicy(_childrenPolicy string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetConnectionType(_connectionType int64) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetExtend(_extend string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetFloor(_floor string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetHid(_hid int64) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetHotelCode(_hotelCode string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetInternet(_internet string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetMaxOccupancy(_maxOccupancy int64) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetName(_name string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetNameE(_nameE string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetNewOuterId(_newOuterId string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetOperator(_operator string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetPics(_pics string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetRid(_rid int64) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetService(_service string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetSrid(_srid int64) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetStandardRoomFacilities(_standardRoomFacilities string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetStatus(_status *model.File) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetVendor(_vendor string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetWindowDesc(_windowDesc string) error
- func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetWindowType(_windowType int64) error
- type TaobaoxhotelroomtypeupdateAPIResponse
- type TaobaoxhotelroomtypeupdateAPIResponseModel
- type TaobaoxhotelroomupdateAPIRequest
- func (r TaobaoxhotelroomupdateAPIRequest) GetAllotmentEndTime() string
- func (r TaobaoxhotelroomupdateAPIRequest) GetAllotmentStartTime() string
- func (r TaobaoxhotelroomupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelroomupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelroomupdateAPIRequest) GetDesc() string
- func (r TaobaoxhotelroomupdateAPIRequest) GetGid() int64
- func (r TaobaoxhotelroomupdateAPIRequest) GetGuide() string
- func (r TaobaoxhotelroomupdateAPIRequest) GetHasReceipt() bool
- func (r TaobaoxhotelroomupdateAPIRequest) GetInventory() string
- func (r TaobaoxhotelroomupdateAPIRequest) GetOutRid() string
- func (r TaobaoxhotelroomupdateAPIRequest) GetPic() *model.File
- func (r TaobaoxhotelroomupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelroomupdateAPIRequest) GetReceiptInfo() string
- func (r TaobaoxhotelroomupdateAPIRequest) GetReceiptOtherTypeDesc() string
- func (r TaobaoxhotelroomupdateAPIRequest) GetReceiptType() string
- func (r TaobaoxhotelroomupdateAPIRequest) GetRoomSwitchCal() string
- func (r TaobaoxhotelroomupdateAPIRequest) GetStatus() int64
- func (r TaobaoxhotelroomupdateAPIRequest) GetSuperbookEndTime() string
- func (r TaobaoxhotelroomupdateAPIRequest) GetSuperbookStartTime() string
- func (r TaobaoxhotelroomupdateAPIRequest) GetTitle() string
- func (r TaobaoxhotelroomupdateAPIRequest) GetVendor() string
- func (r *TaobaoxhotelroomupdateAPIRequest) SetAllotmentEndTime(_allotmentEndTime string) error
- func (r *TaobaoxhotelroomupdateAPIRequest) SetAllotmentStartTime(_allotmentStartTime string) error
- func (r *TaobaoxhotelroomupdateAPIRequest) SetDesc(_desc string) error
- func (r *TaobaoxhotelroomupdateAPIRequest) SetGid(_gid int64) error
- func (r *TaobaoxhotelroomupdateAPIRequest) SetGuide(_guide string) error
- func (r *TaobaoxhotelroomupdateAPIRequest) SetHasReceipt(_hasReceipt bool) error
- func (r *TaobaoxhotelroomupdateAPIRequest) SetInventory(_inventory string) error
- func (r *TaobaoxhotelroomupdateAPIRequest) SetOutRid(_outRid string) error
- func (r *TaobaoxhotelroomupdateAPIRequest) SetPic(_pic *model.File) error
- func (r *TaobaoxhotelroomupdateAPIRequest) SetReceiptInfo(_receiptInfo string) error
- func (r *TaobaoxhotelroomupdateAPIRequest) SetReceiptOtherTypeDesc(_receiptOtherTypeDesc string) error
- func (r *TaobaoxhotelroomupdateAPIRequest) SetReceiptType(_receiptType string) error
- func (r *TaobaoxhotelroomupdateAPIRequest) SetRoomSwitchCal(_roomSwitchCal string) error
- func (r *TaobaoxhotelroomupdateAPIRequest) SetStatus(_status int64) error
- func (r *TaobaoxhotelroomupdateAPIRequest) SetSuperbookEndTime(_superbookEndTime string) error
- func (r *TaobaoxhotelroomupdateAPIRequest) SetSuperbookStartTime(_superbookStartTime string) error
- func (r *TaobaoxhotelroomupdateAPIRequest) SetTitle(_title string) error
- func (r *TaobaoxhotelroomupdateAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelroomupdateAPIResponse
- type TaobaoxhotelroomupdateAPIResponseModel
- type TaobaoxhotelservicetimegetAPIRequest
- func (r TaobaoxhotelservicetimegetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelservicetimegetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelservicetimegetAPIRequest) GetHid() int64
- func (r TaobaoxhotelservicetimegetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelservicetimegetAPIRequest) SetHid(_hid int64) error
- type TaobaoxhotelservicetimegetAPIResponse
- type TaobaoxhotelservicetimegetAPIResponseModel
- type TaobaoxhotelservicetimegetResultSet
- type TaobaoxhotelservicetimeupdateAPIRequest
- func (r TaobaoxhotelservicetimeupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelservicetimeupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelservicetimeupdateAPIRequest) GetParam() string
- func (r TaobaoxhotelservicetimeupdateAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelservicetimeupdateAPIRequest) SetParam(_param string) error
- type TaobaoxhotelservicetimeupdateAPIResponse
- type TaobaoxhotelservicetimeupdateAPIResponseModel
- type TaobaoxhotelservicetimeupdateResultSet
- type TaobaoxhotelstatusupdateAPIRequest
- func (r TaobaoxhotelstatusupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelstatusupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelstatusupdateAPIRequest) GetHid() int64
- func (r TaobaoxhotelstatusupdateAPIRequest) GetOuterId() string
- func (r TaobaoxhotelstatusupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelstatusupdateAPIRequest) GetStatus() int64
- func (r TaobaoxhotelstatusupdateAPIRequest) GetVendor() string
- func (r *TaobaoxhotelstatusupdateAPIRequest) SetHid(_hid int64) error
- func (r *TaobaoxhotelstatusupdateAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoxhotelstatusupdateAPIRequest) SetStatus(_status int64) error
- func (r *TaobaoxhotelstatusupdateAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelstatusupdateAPIResponse
- type TaobaoxhotelstatusupdateAPIResponseModel
- type TaobaoxhotelupdateAPIRequest
- func (r TaobaoxhotelupdateAPIRequest) GetAddress() string
- func (r TaobaoxhotelupdateAPIRequest) GetAddressEn() string
- func (r TaobaoxhotelupdateAPIRequest) GetAliNick() string
- func (r TaobaoxhotelupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelupdateAPIRequest) GetBookingNotice() string
- func (r TaobaoxhotelupdateAPIRequest) GetBrand() string
- func (r TaobaoxhotelupdateAPIRequest) GetBusiness() string
- func (r TaobaoxhotelupdateAPIRequest) GetCity() int64
- func (r TaobaoxhotelupdateAPIRequest) GetCoordinateSystem() string
- func (r TaobaoxhotelupdateAPIRequest) GetCountry() string
- func (r TaobaoxhotelupdateAPIRequest) GetCreditCardTypes() string
- func (r TaobaoxhotelupdateAPIRequest) GetDecorateTime() string
- func (r TaobaoxhotelupdateAPIRequest) GetDescription() string
- func (r TaobaoxhotelupdateAPIRequest) GetDescriptionEn() string
- func (r TaobaoxhotelupdateAPIRequest) GetDistrict() int64
- func (r TaobaoxhotelupdateAPIRequest) GetDomestic() int64
- func (r TaobaoxhotelupdateAPIRequest) GetExtend() string
- func (r TaobaoxhotelupdateAPIRequest) GetFloors() string
- func (r TaobaoxhotelupdateAPIRequest) GetHid() int64
- func (r TaobaoxhotelupdateAPIRequest) GetHotelFacilities() string
- func (r TaobaoxhotelupdateAPIRequest) GetHotelPolicies() string
- func (r TaobaoxhotelupdateAPIRequest) GetHotelType() int64
- func (r TaobaoxhotelupdateAPIRequest) GetLatitude() string
- func (r TaobaoxhotelupdateAPIRequest) GetLongitude() string
- func (r TaobaoxhotelupdateAPIRequest) GetName() string
- func (r TaobaoxhotelupdateAPIRequest) GetNameE() string
- func (r TaobaoxhotelupdateAPIRequest) GetOpeningTime() string
- func (r TaobaoxhotelupdateAPIRequest) GetOrbitTrack() string
- func (r TaobaoxhotelupdateAPIRequest) GetOuterId() string
- func (r TaobaoxhotelupdateAPIRequest) GetPics() string
- func (r TaobaoxhotelupdateAPIRequest) GetPositionType() string
- func (r TaobaoxhotelupdateAPIRequest) GetPostalCode() string
- func (r TaobaoxhotelupdateAPIRequest) GetProvince() int64
- func (r TaobaoxhotelupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelupdateAPIRequest) GetRoomFacilities() string
- func (r TaobaoxhotelupdateAPIRequest) GetRooms() int64
- func (r TaobaoxhotelupdateAPIRequest) GetService() string
- func (r TaobaoxhotelupdateAPIRequest) GetServiceType() int64
- func (r TaobaoxhotelupdateAPIRequest) GetSettlementCurrency() string
- func (r TaobaoxhotelupdateAPIRequest) GetShid() int64
- func (r TaobaoxhotelupdateAPIRequest) GetStandardAmuseFacilities() string
- func (r TaobaoxhotelupdateAPIRequest) GetStandardBookingNotice() string
- func (r TaobaoxhotelupdateAPIRequest) GetStandardHotelFacilities() string
- func (r TaobaoxhotelupdateAPIRequest) GetStandardHotelService() string
- func (r TaobaoxhotelupdateAPIRequest) GetStandardRoomFacilities() string
- func (r TaobaoxhotelupdateAPIRequest) GetStar() string
- func (r TaobaoxhotelupdateAPIRequest) GetStatus() *model.File
- func (r TaobaoxhotelupdateAPIRequest) GetSupplier() string
- func (r TaobaoxhotelupdateAPIRequest) GetTagJson() string
- func (r TaobaoxhotelupdateAPIRequest) GetTel() string
- func (r TaobaoxhotelupdateAPIRequest) GetUsedName() string
- func (r TaobaoxhotelupdateAPIRequest) GetVendor() string
- func (r *TaobaoxhotelupdateAPIRequest) SetAddress(_address string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetAddressEn(_addressEn string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetAliNick(_aliNick string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetBookingNotice(_bookingNotice string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetBrand(_brand string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetBusiness(_business string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetCity(_city int64) error
- func (r *TaobaoxhotelupdateAPIRequest) SetCoordinateSystem(_coordinateSystem string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetCountry(_country string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetCreditCardTypes(_creditCardTypes string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetDecorateTime(_decorateTime string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetDescription(_description string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetDescriptionEn(_descriptionEn string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetDistrict(_district int64) error
- func (r *TaobaoxhotelupdateAPIRequest) SetDomestic(_domestic int64) error
- func (r *TaobaoxhotelupdateAPIRequest) SetExtend(_extend string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetFloors(_floors string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetHid(_hid int64) error
- func (r *TaobaoxhotelupdateAPIRequest) SetHotelFacilities(_hotelFacilities string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetHotelPolicies(_hotelPolicies string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetHotelType(_hotelType int64) error
- func (r *TaobaoxhotelupdateAPIRequest) SetLatitude(_latitude string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetLongitude(_longitude string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetName(_name string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetNameE(_nameE string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetOpeningTime(_openingTime string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetOrbitTrack(_orbitTrack string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetPics(_pics string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetPositionType(_positionType string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetPostalCode(_postalCode string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetProvince(_province int64) error
- func (r *TaobaoxhotelupdateAPIRequest) SetRoomFacilities(_roomFacilities string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetRooms(_rooms int64) error
- func (r *TaobaoxhotelupdateAPIRequest) SetService(_service string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetServiceType(_serviceType int64) error
- func (r *TaobaoxhotelupdateAPIRequest) SetSettlementCurrency(_settlementCurrency string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetShid(_shid int64) error
- func (r *TaobaoxhotelupdateAPIRequest) SetStandardAmuseFacilities(_standardAmuseFacilities string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetStandardBookingNotice(_standardBookingNotice string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetStandardHotelFacilities(_standardHotelFacilities string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetStandardHotelService(_standardHotelService string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetStandardRoomFacilities(_standardRoomFacilities string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetStar(_star string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetStatus(_status *model.File) error
- func (r *TaobaoxhotelupdateAPIRequest) SetSupplier(_supplier string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetTagJson(_tagJson string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetTel(_tel string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetUsedName(_usedName string) error
- func (r *TaobaoxhotelupdateAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelupdateAPIResponse
- type TaobaoxhotelupdateAPIResponseModel
- type TaobaoxhotelxitemdeleteAPIRequest
- func (r TaobaoxhotelxitemdeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelxitemdeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelxitemdeleteAPIRequest) GetOutHid() string
- func (r TaobaoxhotelxitemdeleteAPIRequest) GetOutXCodes() string
- func (r TaobaoxhotelxitemdeleteAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelxitemdeleteAPIRequest) GetVendor() string
- func (r *TaobaoxhotelxitemdeleteAPIRequest) SetOutHid(_outHid string) error
- func (r *TaobaoxhotelxitemdeleteAPIRequest) SetOutXCodes(_outXCodes string) error
- func (r *TaobaoxhotelxitemdeleteAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelxitemdeleteAPIResponse
- type TaobaoxhotelxitemdeleteAPIResponseModel
- type TaobaoxhotelxitemdeleteResultSet
- type TaobaoxhotelxitemqueryAPIRequest
- func (r TaobaoxhotelxitemqueryAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelxitemqueryAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelxitemqueryAPIRequest) GetOutHid() string
- func (r TaobaoxhotelxitemqueryAPIRequest) GetOutRid() string
- func (r TaobaoxhotelxitemqueryAPIRequest) GetOutXCodes() string
- func (r TaobaoxhotelxitemqueryAPIRequest) GetRatePlanCode() string
- func (r TaobaoxhotelxitemqueryAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelxitemqueryAPIRequest) GetVendor() string
- func (r *TaobaoxhotelxitemqueryAPIRequest) SetOutHid(_outHid string) error
- func (r *TaobaoxhotelxitemqueryAPIRequest) SetOutRid(_outRid string) error
- func (r *TaobaoxhotelxitemqueryAPIRequest) SetOutXCodes(_outXCodes string) error
- func (r *TaobaoxhotelxitemqueryAPIRequest) SetRatePlanCode(_ratePlanCode string) error
- func (r *TaobaoxhotelxitemqueryAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelxitemqueryAPIResponse
- type TaobaoxhotelxitemqueryAPIResponseModel
- type TaobaoxhotelxitemqueryResultSet
- type TonightDiscount
- type Xhotel
- type XhotelBaseInfo
- type XhotelInfoWithRoom
- type XroomType
- type XsHotel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
type HotelXitemDo ¶ added in v1.2.9
type HotelXitemDo struct { // 酒+X 图片格式化信息 Pictures []HotelXitemPicture `json:"pictures,omitempty" xml:"pictures>hotel_xitem_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 结构体
type HotelXitemPicture ¶ added in v1.3.1
type HotelXitemPicture struct { // 图片地址 Url string `json:"url,omitempty" xml:"url,omitempty"` // 是否主图 IsMain bool `json:"is_main,omitempty" xml:"is_main,omitempty"` }
HotelXitemPicture 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
type PromoCode ¶ added in v1.2.5
type PromoCode struct { // 营销活动code ActivityCode string `json:"activity_code,omitempty" xml:"activity_code,omitempty"` }
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
type ReviewPicInfo ¶ added in v1.2.8
type ReviewPicInfo struct { // 图片地址 Url string `json:"url,omitempty" xml:"url,omitempty"` }
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
type Shotel ¶ added in v1.3.1
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 结构体
type SroomType ¶ added in v1.3.1
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 结构体
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 结构体
type TagEntityDoList ¶
type TagEntityDoList struct { // 实体id EntityId int64 `json:"entity_id,omitempty" xml:"entity_id,omitempty"` }
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 结构体
type TaobaoroomtypestatusupdateAPIRequest ¶ added in v1.3.1
type TaobaoroomtypestatusupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoroomtypestatusupdateAPIRequest top房型状态修改 API请求 taobao.roomtype.status.update
top房型状态修改
func NewTaobaoroomtypestatusupdateRequest ¶ added in v1.3.1
func NewTaobaoroomtypestatusupdateRequest() *TaobaoroomtypestatusupdateAPIRequest
NewTaobaoroomtypestatusupdateRequest 初始化TaobaoroomtypestatusupdateAPIRequest对象
func (TaobaoroomtypestatusupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoroomtypestatusupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoroomtypestatusupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoroomtypestatusupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoroomtypestatusupdateAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoroomtypestatusupdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoroomtypestatusupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoroomtypestatusupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoroomtypestatusupdateAPIRequest) GetRid ¶ added in v1.3.1
func (r TaobaoroomtypestatusupdateAPIRequest) GetRid() int64
GetRid Rid Getter
func (TaobaoroomtypestatusupdateAPIRequest) GetStatus ¶ added in v1.3.1
func (r TaobaoroomtypestatusupdateAPIRequest) GetStatus() int64
GetStatus Status Getter
func (TaobaoroomtypestatusupdateAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoroomtypestatusupdateAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoroomtypestatusupdateAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoroomtypestatusupdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 卖家房型id
func (*TaobaoroomtypestatusupdateAPIRequest) SetRid ¶ added in v1.3.1
func (r *TaobaoroomtypestatusupdateAPIRequest) SetRid(_rid int64) error
SetRid is Rid Setter 飞猪房型id
func (*TaobaoroomtypestatusupdateAPIRequest) SetStatus ¶ added in v1.3.1
func (r *TaobaoroomtypestatusupdateAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 0在线,-1删除, -2停售)
func (*TaobaoroomtypestatusupdateAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoroomtypestatusupdateAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 对接系统商,不填默认taobao
type TaobaoroomtypestatusupdateAPIResponse ¶ added in v1.3.1
type TaobaoroomtypestatusupdateAPIResponse struct { model.CommonResponse TaobaoroomtypestatusupdateAPIResponseModel }
TaobaoroomtypestatusupdateAPIResponse top房型状态修改 API返回值 taobao.roomtype.status.update
top房型状态修改
type TaobaoroomtypestatusupdateAPIResponseModel ¶ added in v1.3.1
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房型状态修改 成功返回结果
type TaobaoxhoteladdAPIRequest ¶ added in v1.3.1
TaobaoxhoteladdAPIRequest 酒店新增接口(ID重复自动更新) API请求 taobao.xhotel.add
添加酒店或更新酒店
func NewTaobaoxhoteladdRequest ¶ added in v1.3.1
func NewTaobaoxhoteladdRequest() *TaobaoxhoteladdAPIRequest
NewTaobaoxhoteladdRequest 初始化TaobaoxhoteladdAPIRequest对象
func (TaobaoxhoteladdAPIRequest) GetAddress ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetAddress() string
GetAddress Address Getter
func (TaobaoxhoteladdAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhoteladdAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhoteladdAPIRequest) GetBookingNotice ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetBookingNotice() string
GetBookingNotice BookingNotice Getter
func (TaobaoxhoteladdAPIRequest) GetBrand ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetBrand() string
GetBrand Brand Getter
func (TaobaoxhoteladdAPIRequest) GetBusiness ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetBusiness() string
GetBusiness Business Getter
func (TaobaoxhoteladdAPIRequest) GetCity ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetCity() int64
GetCity City Getter
func (TaobaoxhoteladdAPIRequest) GetCoordinateSystem ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetCoordinateSystem() string
GetCoordinateSystem CoordinateSystem Getter
func (TaobaoxhoteladdAPIRequest) GetCountry ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetCountry() string
GetCountry Country Getter
func (TaobaoxhoteladdAPIRequest) GetCreditCardTypes ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetCreditCardTypes() string
GetCreditCardTypes CreditCardTypes Getter
func (TaobaoxhoteladdAPIRequest) GetDecorateTime ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetDecorateTime() string
GetDecorateTime DecorateTime Getter
func (TaobaoxhoteladdAPIRequest) GetDescription ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetDescription() string
GetDescription Description Getter
func (TaobaoxhoteladdAPIRequest) GetDistrict ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetDistrict() int64
GetDistrict District Getter
func (TaobaoxhoteladdAPIRequest) GetDomestic ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetDomestic() int64
GetDomestic Domestic Getter
func (TaobaoxhoteladdAPIRequest) GetExtend ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetExtend() string
GetExtend Extend Getter
func (TaobaoxhoteladdAPIRequest) GetFloors ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetFloors() string
GetFloors Floors Getter
func (TaobaoxhoteladdAPIRequest) GetHotelFacilities ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetHotelFacilities() string
GetHotelFacilities HotelFacilities Getter
func (TaobaoxhoteladdAPIRequest) GetHotelPolicies ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetHotelPolicies() string
GetHotelPolicies HotelPolicies Getter
func (TaobaoxhoteladdAPIRequest) GetHotelType ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetHotelType() int64
GetHotelType HotelType Getter
func (TaobaoxhoteladdAPIRequest) GetLatitude ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetLatitude() string
GetLatitude Latitude Getter
func (TaobaoxhoteladdAPIRequest) GetLongitude ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetLongitude() string
GetLongitude Longitude Getter
func (TaobaoxhoteladdAPIRequest) GetName ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetName() string
GetName Name Getter
func (TaobaoxhoteladdAPIRequest) GetNameE ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetNameE() string
GetNameE NameE Getter
func (TaobaoxhoteladdAPIRequest) GetOpeningTime ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetOpeningTime() string
GetOpeningTime OpeningTime Getter
func (TaobaoxhoteladdAPIRequest) GetOrbitTrack ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetOrbitTrack() string
GetOrbitTrack OrbitTrack Getter
func (TaobaoxhoteladdAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoxhoteladdAPIRequest) GetPics ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetPics() string
GetPics Pics Getter
func (TaobaoxhoteladdAPIRequest) GetPositionType ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetPositionType() string
GetPositionType PositionType Getter
func (TaobaoxhoteladdAPIRequest) GetPostalCode ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetPostalCode() string
GetPostalCode PostalCode Getter
func (TaobaoxhoteladdAPIRequest) GetProvince ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetProvince() int64
GetProvince Province Getter
func (TaobaoxhoteladdAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhoteladdAPIRequest) GetRoomFacilities ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetRoomFacilities() string
GetRoomFacilities RoomFacilities Getter
func (TaobaoxhoteladdAPIRequest) GetRooms ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetRooms() int64
GetRooms Rooms Getter
func (TaobaoxhoteladdAPIRequest) GetService ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetService() string
GetService Service Getter
func (TaobaoxhoteladdAPIRequest) GetServiceType ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetServiceType() int64
GetServiceType ServiceType Getter
func (TaobaoxhoteladdAPIRequest) GetSettlementCurrency ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetSettlementCurrency() string
GetSettlementCurrency SettlementCurrency Getter
func (TaobaoxhoteladdAPIRequest) GetShid ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetShid() int64
GetShid Shid Getter
func (TaobaoxhoteladdAPIRequest) GetStandardAmuseFacilities ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetStandardAmuseFacilities() string
GetStandardAmuseFacilities StandardAmuseFacilities Getter
func (TaobaoxhoteladdAPIRequest) GetStandardBookingNotice ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetStandardBookingNotice() string
GetStandardBookingNotice StandardBookingNotice Getter
func (TaobaoxhoteladdAPIRequest) GetStandardHotelFacilities ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetStandardHotelFacilities() string
GetStandardHotelFacilities StandardHotelFacilities Getter
func (TaobaoxhoteladdAPIRequest) GetStandardHotelService ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetStandardHotelService() string
GetStandardHotelService StandardHotelService Getter
func (TaobaoxhoteladdAPIRequest) GetStandardRoomFacilities ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetStandardRoomFacilities() string
GetStandardRoomFacilities StandardRoomFacilities Getter
func (TaobaoxhoteladdAPIRequest) GetStar ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetStar() string
GetStar Star Getter
func (TaobaoxhoteladdAPIRequest) GetSupplier ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetSupplier() string
GetSupplier Supplier Getter
func (TaobaoxhoteladdAPIRequest) GetTel ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetTel() string
GetTel Tel Getter
func (TaobaoxhoteladdAPIRequest) GetUsedName ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetUsedName() string
GetUsedName UsedName Getter
func (TaobaoxhoteladdAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhoteladdAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhoteladdAPIRequest) SetAddress ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetAddress(_address string) error
SetAddress is Address Setter 酒店地址。长度不能超过255。不填入会导致不能自动匹配。
func (*TaobaoxhoteladdAPIRequest) SetBookingNotice ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetBusiness(_business string) error
SetBusiness is Business Setter 商业区(圈)长度不超过20字
func (*TaobaoxhoteladdAPIRequest) SetCity ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetCity(_city int64) error
SetCity is City Setter 城市编码。参见:http://hotel.alitrip.com/area.htm,domestic为false时,输入对应国家的海外城市编码,可调用海外城市查询接口获取;(更新酒店时为可选)
func (*TaobaoxhoteladdAPIRequest) SetCoordinateSystem ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetCoordinateSystem(_coordinateSystem string) error
SetCoordinateSystem is CoordinateSystem Setter 标识坐标系类型。WGS84,表示地球坐标系 ;GCJ02,表示火星坐标系
func (*TaobaoxhoteladdAPIRequest) SetCountry ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetCreditCardTypes(_creditCardTypes string) error
SetCreditCardTypes is CreditCardTypes Setter 逗号分隔的字符串 1visa;2万事达卡;3美国运通卡;4发现卡;5大来卡;6JCB卡;7银联卡
func (*TaobaoxhoteladdAPIRequest) SetDecorateTime ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetDecorateTime(_decorateTime string) error
SetDecorateTime is DecorateTime Setter 装修时间,格式为2015-01-01装修时间
func (*TaobaoxhoteladdAPIRequest) SetDescription ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetDescription(_description string) error
SetDescription is Description Setter 酒店描述
func (*TaobaoxhoteladdAPIRequest) SetDistrict ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetDistrict(_district int64) error
SetDistrict is District Setter 区域(县级市)编码。参见:http://hotel.alitrip.com/area.htm
func (*TaobaoxhoteladdAPIRequest) SetDomestic ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetDomestic(_domestic int64) error
SetDomestic is Domestic Setter 是否国内酒店。0:国内;1:国外。默认是国内
func (*TaobaoxhoteladdAPIRequest) SetExtend ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetExtend(_extend string) error
SetExtend is Extend Setter 扩展信息的JSON。注:此字段的值需要ISV在接入前与淘宝沟通,且确认能解析
func (*TaobaoxhoteladdAPIRequest) SetFloors ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetFloors(_floors string) error
SetFloors is Floors Setter 楼层信息。
func (*TaobaoxhoteladdAPIRequest) SetHotelFacilities ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetHotelFacilities(_hotelFacilities string) error
SetHotelFacilities is HotelFacilities Setter 废弃
func (*TaobaoxhoteladdAPIRequest) SetHotelPolicies ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetHotelPolicies(_hotelPolicies string) error
SetHotelPolicies is HotelPolicies Setter 废弃
func (*TaobaoxhoteladdAPIRequest) SetHotelType ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetHotelType(_hotelType int64) error
SetHotelType is HotelType Setter 0:酒店;1:客栈
func (*TaobaoxhoteladdAPIRequest) SetLatitude ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetLatitude(_latitude string) error
SetLatitude is Latitude Setter 纬度
func (*TaobaoxhoteladdAPIRequest) SetLongitude ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetLongitude(_longitude string) error
SetLongitude is Longitude Setter 经度
func (*TaobaoxhoteladdAPIRequest) SetName ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetName(_name string) error
SetName is Name Setter 酒店名称,国内酒店请传中文名称
func (*TaobaoxhoteladdAPIRequest) SetNameE ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetNameE(_nameE string) error
SetNameE is NameE Setter 卖家酒店英文名称
func (*TaobaoxhoteladdAPIRequest) SetOpeningTime ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetOpeningTime(_openingTime string) error
SetOpeningTime is OpeningTime Setter 开业时间,格式为2015-01-01
func (*TaobaoxhoteladdAPIRequest) SetOrbitTrack ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetOrbitTrack(_orbitTrack string) error
SetOrbitTrack is OrbitTrack Setter 扩展信息的JSON。 orbitTrack 业务字段是指从飞猪到酒店说经过平台名以及方式的一个数组,按顺序,从飞猪,再经过若干平台,最后到酒店, platform是指定当前平台名,ways 是指通过哪种方式到该平台 其中,飞猪到下一个平台里, ways 字段只能是【直连】、【人工】两个方式之一; 从最后一个平台到酒店的ways字段只能是【电话】、【传真】、【人工】、【系统】之一; 第一个 飞猪平台 和 最后具体酒店是至少得填的
func (*TaobaoxhoteladdAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 外部酒店ID, 这是卖家自己系统中的ID
func (*TaobaoxhoteladdAPIRequest) SetPics ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetPositionType(_positionType string) error
SetPositionType is PositionType Setter 坐标类型,现在支持:G – GoogleB – 百度A – 高德M – MapbarL – 灵图
func (*TaobaoxhoteladdAPIRequest) SetPostalCode ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetPostalCode(_postalCode string) error
SetPostalCode is PostalCode Setter 邮政编码。
func (*TaobaoxhoteladdAPIRequest) SetProvince ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetProvince(_province int64) error
SetProvince is Province Setter 省份编码。选填,不填入的时候已city字段为准.参见:http://hotel.alitrip.com/area.htm,domestic为false时默认为0
func (*TaobaoxhoteladdAPIRequest) SetRoomFacilities ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetRoomFacilities(_roomFacilities string) error
SetRoomFacilities is RoomFacilities Setter 废弃
func (*TaobaoxhoteladdAPIRequest) SetRooms ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetRooms(_rooms int64) error
SetRooms is Rooms Setter 房间数 0~9999之内的数字
func (*TaobaoxhoteladdAPIRequest) SetService ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetService(_service string) error
SetService is Service Setter 废弃
func (*TaobaoxhoteladdAPIRequest) SetServiceType ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetServiceType(_serviceType int64) error
SetServiceType is ServiceType Setter 0:可以接待外宾;1:仅内宾
func (*TaobaoxhoteladdAPIRequest) SetSettlementCurrency ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetSettlementCurrency(_settlementCurrency string) error
SetSettlementCurrency is SettlementCurrency Setter 结算过程中的结算币种符合,如需对接请联系飞猪技术支持,请谨慎使用
func (*TaobaoxhoteladdAPIRequest) SetShid ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetShid(_shid int64) error
SetShid is Shid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝酒店的匹配关系。目前尚未启动该字段。
func (*TaobaoxhoteladdAPIRequest) SetStandardAmuseFacilities ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetSupplier(_supplier string) error
SetSupplier is Supplier Setter 供应商标识,需要提前开通权限,如果需要对接请联系技术支持,请谨慎使用。注:如商家申请的应用类型为“飞猪-新业务”,此项则必填。
func (*TaobaoxhoteladdAPIRequest) SetTel ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetTel(_tel string) error
SetTel is Tel Setter 酒店电话。格式:国家代码(最长6位)#区号(最长4位)#电话(最长20位)。国家代码提示:中国大陆0086、香港00852、澳门00853、台湾00886
func (*TaobaoxhoteladdAPIRequest) SetUsedName ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetUsedName(_usedName string) error
SetUsedName is UsedName Setter 酒店曾用名
func (*TaobaoxhoteladdAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhoteladdAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用
type TaobaoxhoteladdAPIResponse ¶ added in v1.3.1
type TaobaoxhoteladdAPIResponse struct { model.CommonResponse TaobaoxhoteladdAPIResponseModel }
TaobaoxhoteladdAPIResponse 酒店新增接口(ID重复自动更新) API返回值 taobao.xhotel.add
添加酒店或更新酒店
type TaobaoxhoteladdAPIResponseModel ¶ added in v1.3.1
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重复自动更新) 成功返回结果
type TaobaoxhotelbaseinfogetAPIRequest ¶ added in v1.3.1
type TaobaoxhotelbaseinfogetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelbaseinfogetAPIRequest 酒店基础信息查询接口 API请求 taobao.xhotel.baseinfo.get
酒店基础信息(酒店/房型/房价定义)查询接口, 包括 酒店房型可售, 以及 hid 下 的标准房型列表
func NewTaobaoxhotelbaseinfogetRequest ¶ added in v1.3.1
func NewTaobaoxhotelbaseinfogetRequest() *TaobaoxhotelbaseinfogetAPIRequest
NewTaobaoxhotelbaseinfogetRequest 初始化TaobaoxhotelbaseinfogetAPIRequest对象
func (TaobaoxhotelbaseinfogetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelbaseinfogetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelbaseinfogetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelbaseinfogetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelbaseinfogetAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhotelbaseinfogetAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoxhotelbaseinfogetAPIRequest) GetIsNeedRatePlan ¶ added in v1.3.1
func (r TaobaoxhotelbaseinfogetAPIRequest) GetIsNeedRatePlan() bool
GetIsNeedRatePlan IsNeedRatePlan Getter
func (TaobaoxhotelbaseinfogetAPIRequest) GetIsNeedRoomType ¶ added in v1.3.1
func (r TaobaoxhotelbaseinfogetAPIRequest) GetIsNeedRoomType() bool
GetIsNeedRoomType IsNeedRoomType Getter
func (TaobaoxhotelbaseinfogetAPIRequest) GetJsonHotelSellerInvQuery ¶ added in v1.3.1
func (r TaobaoxhotelbaseinfogetAPIRequest) GetJsonHotelSellerInvQuery() string
GetJsonHotelSellerInvQuery JsonHotelSellerInvQuery Getter
func (TaobaoxhotelbaseinfogetAPIRequest) GetNeedHotelDynamicInfo ¶ added in v1.3.1
func (r TaobaoxhotelbaseinfogetAPIRequest) GetNeedHotelDynamicInfo() bool
GetNeedHotelDynamicInfo NeedHotelDynamicInfo Getter
func (TaobaoxhotelbaseinfogetAPIRequest) GetNeedSRoomTypeList ¶ added in v1.3.1
func (r TaobaoxhotelbaseinfogetAPIRequest) GetNeedSRoomTypeList() bool
GetNeedSRoomTypeList NeedSRoomTypeList Getter
func (TaobaoxhotelbaseinfogetAPIRequest) GetOutHid ¶ added in v1.3.1
func (r TaobaoxhotelbaseinfogetAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoxhotelbaseinfogetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelbaseinfogetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelbaseinfogetAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelbaseinfogetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelbaseinfogetAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhotelbaseinfogetAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 淘宝酒店ID
func (*TaobaoxhotelbaseinfogetAPIRequest) SetIsNeedRatePlan ¶ added in v1.3.1
func (r *TaobaoxhotelbaseinfogetAPIRequest) SetIsNeedRatePlan(_isNeedRatePlan bool) error
SetIsNeedRatePlan is IsNeedRatePlan Setter 是否需要房价基本信息(false为不需要),默认为需要
func (*TaobaoxhotelbaseinfogetAPIRequest) SetIsNeedRoomType ¶ added in v1.3.1
func (r *TaobaoxhotelbaseinfogetAPIRequest) SetIsNeedRoomType(_isNeedRoomType bool) error
SetIsNeedRoomType is IsNeedRoomType Setter 是否需要房型基本信息(false为不需要),默认为需要
func (*TaobaoxhotelbaseinfogetAPIRequest) SetJsonHotelSellerInvQuery ¶ added in v1.3.1
func (r *TaobaoxhotelbaseinfogetAPIRequest) SetJsonHotelSellerInvQuery(_jsonHotelSellerInvQuery string) error
SetJsonHotelSellerInvQuery is JsonHotelSellerInvQuery Setter 在查询酒店房型可售详情 时的入参JSON , {@link com.taobao.trip.hpc.client.query.HotelSellerInvQuery}
func (*TaobaoxhotelbaseinfogetAPIRequest) SetNeedHotelDynamicInfo ¶ added in v1.3.1
func (r *TaobaoxhotelbaseinfogetAPIRequest) SetNeedHotelDynamicInfo(_needHotelDynamicInfo bool) error
SetNeedHotelDynamicInfo is NeedHotelDynamicInfo Setter 是否需要酒店房型可售详情
func (*TaobaoxhotelbaseinfogetAPIRequest) SetNeedSRoomTypeList ¶ added in v1.3.1
func (r *TaobaoxhotelbaseinfogetAPIRequest) SetNeedSRoomTypeList(_needSRoomTypeList bool) error
SetNeedSRoomTypeList is NeedSRoomTypeList Setter 是否需要 根据 hid 查询 标准房型列表
func (*TaobaoxhotelbaseinfogetAPIRequest) SetOutHid ¶ added in v1.3.1
func (r *TaobaoxhotelbaseinfogetAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 推荐使用卖家系统中的酒店ID。
func (*TaobaoxhotelbaseinfogetAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelbaseinfogetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 用于标示该酒店发布的渠道信息
type TaobaoxhotelbaseinfogetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelbaseinfogetAPIResponse struct { model.CommonResponse TaobaoxhotelbaseinfogetAPIResponseModel }
TaobaoxhotelbaseinfogetAPIResponse 酒店基础信息查询接口 API返回值 taobao.xhotel.baseinfo.get
酒店基础信息(酒店/房型/房价定义)查询接口, 包括 酒店房型可售, 以及 hid 下 的标准房型列表
type TaobaoxhotelbaseinfogetAPIResponseModel ¶ added in v1.3.1
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 酒店基础信息查询接口 成功返回结果
type TaobaoxhotelbaseinfogetResultSet ¶ added in v1.3.1
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 结构体
type TaobaoxhotelbaseinforoomgetAPIRequest ¶ added in v1.3.1
type TaobaoxhotelbaseinforoomgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelbaseinforoomgetAPIRequest 酒店房型与房价查询 API请求 taobao.xhotel.baseinfo.room.get
根据outHid/hid获取酒店的房型和价格信息
func NewTaobaoxhotelbaseinforoomgetRequest ¶ added in v1.3.1
func NewTaobaoxhotelbaseinforoomgetRequest() *TaobaoxhotelbaseinforoomgetAPIRequest
NewTaobaoxhotelbaseinforoomgetRequest 初始化TaobaoxhotelbaseinforoomgetAPIRequest对象
func (TaobaoxhotelbaseinforoomgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelbaseinforoomgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelbaseinforoomgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelbaseinforoomgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelbaseinforoomgetAPIRequest) GetIsNeedRatePlan ¶ added in v1.3.1
func (r TaobaoxhotelbaseinforoomgetAPIRequest) GetIsNeedRatePlan() bool
GetIsNeedRatePlan IsNeedRatePlan Getter
func (TaobaoxhotelbaseinforoomgetAPIRequest) GetOutHid ¶ added in v1.3.1
func (r TaobaoxhotelbaseinforoomgetAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoxhotelbaseinforoomgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelbaseinforoomgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelbaseinforoomgetAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelbaseinforoomgetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelbaseinforoomgetAPIRequest) SetIsNeedRatePlan ¶ added in v1.3.1
func (r *TaobaoxhotelbaseinforoomgetAPIRequest) SetIsNeedRatePlan(_isNeedRatePlan bool) error
SetIsNeedRatePlan is IsNeedRatePlan Setter 是否需要房价基本信息(false为不需要),默认为需要
func (*TaobaoxhotelbaseinforoomgetAPIRequest) SetOutHid ¶ added in v1.3.1
func (r *TaobaoxhotelbaseinforoomgetAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 卖家系统中的酒店ID。
func (*TaobaoxhotelbaseinforoomgetAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelbaseinforoomgetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 用于标示该酒店发布的渠道信息
type TaobaoxhotelbaseinforoomgetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelbaseinforoomgetAPIResponse struct { model.CommonResponse TaobaoxhotelbaseinforoomgetAPIResponseModel }
TaobaoxhotelbaseinforoomgetAPIResponse 酒店房型与房价查询 API返回值 taobao.xhotel.baseinfo.room.get
根据outHid/hid获取酒店的房型和价格信息
type TaobaoxhotelbaseinforoomgetAPIResponseModel ¶ added in v1.3.1
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 酒店房型与房价查询 成功返回结果
type TaobaoxhotelbaseinforoomgetResultSet ¶ added in v1.3.1
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 结构体
type TaobaoxhotelbnbcommonaddAPIRequest ¶ added in v1.3.1
type TaobaoxhotelbnbcommonaddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelbnbcommonaddAPIRequest 通用调用top接口 API请求 taobao.xhotel.bnbcommon.add
通用调用top接口
func NewTaobaoxhotelbnbcommonaddRequest ¶ added in v1.3.1
func NewTaobaoxhotelbnbcommonaddRequest() *TaobaoxhotelbnbcommonaddAPIRequest
NewTaobaoxhotelbnbcommonaddRequest 初始化TaobaoxhotelbnbcommonaddAPIRequest对象
func (TaobaoxhotelbnbcommonaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelbnbcommonaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelbnbcommonaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbcommonaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelbnbcommonaddAPIRequest) GetParam ¶ added in v1.3.1
func (r TaobaoxhotelbnbcommonaddAPIRequest) GetParam() string
GetParam Param Getter
func (TaobaoxhotelbnbcommonaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbcommonaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelbnbcommonaddAPIRequest) GetScene ¶ added in v1.3.1
func (r TaobaoxhotelbnbcommonaddAPIRequest) GetScene() string
GetScene Scene Getter
func (*TaobaoxhotelbnbcommonaddAPIRequest) SetParam ¶ added in v1.3.1
func (r *TaobaoxhotelbnbcommonaddAPIRequest) SetParam(_param string) error
SetParam is Param Setter 参数
func (*TaobaoxhotelbnbcommonaddAPIRequest) SetScene ¶ added in v1.3.1
func (r *TaobaoxhotelbnbcommonaddAPIRequest) SetScene(_scene string) error
SetScene is Scene Setter 业务场景
type TaobaoxhotelbnbcommonaddAPIResponse ¶ added in v1.3.1
type TaobaoxhotelbnbcommonaddAPIResponse struct { model.CommonResponse TaobaoxhotelbnbcommonaddAPIResponseModel }
TaobaoxhotelbnbcommonaddAPIResponse 通用调用top接口 API返回值 taobao.xhotel.bnbcommon.add
通用调用top接口
type TaobaoxhotelbnbcommonaddAPIResponseModel ¶ added in v1.3.1
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接口 成功返回结果
type TaobaoxhotelbnbhouseaddAPIRequest ¶ added in v1.3.1
type TaobaoxhotelbnbhouseaddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelbnbhouseaddAPIRequest 民宿门店信息添加 API请求 taobao.xhotel.bnbhouse.add
添加和更新民宿门店的信息
func NewTaobaoxhotelbnbhouseaddRequest ¶ added in v1.3.1
func NewTaobaoxhotelbnbhouseaddRequest() *TaobaoxhotelbnbhouseaddAPIRequest
NewTaobaoxhotelbnbhouseaddRequest 初始化TaobaoxhotelbnbhouseaddAPIRequest对象
func (TaobaoxhotelbnbhouseaddAPIRequest) GetActivitiesAllowed ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetActivitiesAllowed() string
GetActivitiesAllowed ActivitiesAllowed Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelbnbhouseaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelbnbhouseaddAPIRequest) GetAttributes ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetAttributes() int64
GetAttributes Attributes Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetBnbBookingTime ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetBnbBookingTime() *BnbBookingTimeDto
GetBnbBookingTime BnbBookingTime Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetBrand ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetBrand() string
GetBrand Brand Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetCharge ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetCharge() *BnbChargeDto
GetCharge Charge Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetCheckInNotes ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetCheckInNotes() string
GetCheckInNotes CheckInNotes Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetCommissionRate ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetCommissionRate() int64
GetCommissionRate CommissionRate Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetDecorateLevel ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetDecorateLevel() int64
GetDecorateLevel DecorateLevel Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetDecorateStyle ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetDecorateStyle() int64
GetDecorateStyle DecorateStyle Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetDecorateTime ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetDecorateTime() string
GetDecorateTime DecorateTime Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetDescription ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetDescription() string
GetDescription Description Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetExtraBedsNum ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetExtraBedsNum() int64
GetExtraBedsNum ExtraBedsNum Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetFacilities ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetFacilities() string
GetFacilities Facilities Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetFloors ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetFloors() string
GetFloors Floors Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetGuestAge ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetGuestAge() int64
GetGuestAge GuestAge Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetGuestGender ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetGuestGender() int64
GetGuestGender GuestGender Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetHasFrontDesk ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetHasFrontDesk() int64
GetHasFrontDesk HasFrontDesk Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetHasLicense ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetHasLicense() int64
GetHasLicense HasLicense Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetHouseSize ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetHouseSize() int64
GetHouseSize HouseSize Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetIsFeizhuHotel ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetIsFeizhuHotel() bool
GetIsFeizhuHotel IsFeizhuHotel Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetIsUseShootImage ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetIsUseShootImage() int64
GetIsUseShootImage IsUseShootImage Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetLocation ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetLocation() *BnbLocationDto
GetLocation Location Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetName ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetNameE ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetNameE() string
GetNameE NameE Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetOpeningTime ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetOpeningTime() string
GetOpeningTime OpeningTime Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetOutOwnerId ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetOutOwnerId() string
GetOutOwnerId OutOwnerId Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetPictures ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetPictures() []BnbPictureDto
GetPictures Pictures Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetProductType ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetProductType() int64
GetProductType ProductType Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelbnbhouseaddAPIRequest) GetRealTel ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetRealTel() string
GetRealTel RealTel Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetReceiveForeigners ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetReceiveForeigners() int64
GetReceiveForeigners ReceiveForeigners Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetScenicFeature ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetScenicFeature() int64
GetScenicFeature ScenicFeature Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetSettlementCurrency ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetSettlementCurrency() string
GetSettlementCurrency SettlementCurrency Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetShid ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetShid() int64
GetShid Shid Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetStandardHotelFacilities ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetStandardHotelFacilities() string
GetStandardHotelFacilities StandardHotelFacilities Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetStatus ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetStatus() *model.File
GetStatus Status Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetTags ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetTags() string
GetTags Tags Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetTel ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetTel() string
GetTel Tel Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (TaobaoxhotelbnbhouseaddAPIRequest) GetVideoUrl ¶ added in v1.3.1
func (r TaobaoxhotelbnbhouseaddAPIRequest) GetVideoUrl() string
GetVideoUrl VideoUrl Getter
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetActivitiesAllowed ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetActivitiesAllowed(_activitiesAllowed string) error
SetActivitiesAllowed is ActivitiesAllowed Setter 详见“允许活动”list 12,32,33,
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetAttributes ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetAttributes(_attributes int64) error
SetAttributes is Attributes Setter 门店属性 1 个人房源 2 城市公寓 3 乡村民宿等
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetBnbBookingTime ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetBnbBookingTime(_bnbBookingTime *BnbBookingTimeDto) error
SetBnbBookingTime is BnbBookingTime Setter 入住要求&附加信息
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetBrand ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetBrand(_brand string) error
SetBrand is Brand Setter 品牌名称
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetCharge ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetCharge(_charge *BnbChargeDto) error
SetCharge is Charge Setter 加人收费信息
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetCheckInNotes ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetCheckInNotes(_checkInNotes string) error
SetCheckInNotes is CheckInNotes Setter 入住须知
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetCommissionRate ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetCommissionRate(_commissionRate int64) error
SetCommissionRate is CommissionRate Setter 作为菲住门店签约的佣金比率,范围为10-50
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetDecorateLevel ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetDecorateLevel(_decorateLevel int64) error
SetDecorateLevel is DecorateLevel Setter 装修等级 1 精装 2普通 3简装
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetDecorateStyle ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetDecorateStyle(_decorateStyle int64) error
SetDecorateStyle is DecorateStyle Setter 装修风格,详见装修风格枚举表
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetDecorateTime ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetDecorateTime(_decorateTime string) error
SetDecorateTime is DecorateTime Setter 装修时间,格式为2015-01-01
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetDescription ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetDescription(_description string) error
SetDescription is Description Setter 门店简介
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetExtraBedsNum ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetExtraBedsNum(_extraBedsNum int64) error
SetExtraBedsNum is ExtraBedsNum Setter 可加床数
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetFacilities ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetFloors(_floors string) error
SetFloors is Floors Setter 楼层
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetGuestAge ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetGuestAge(_guestAge int64) error
SetGuestAge is GuestAge Setter 可接待客人年龄情况:是否接待儿童、老人;成年人必接待,详见“可接待客人”list
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetGuestGender ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetGuestGender(_guestGender int64) error
SetGuestGender is GuestGender Setter 可接待客人性别 0:不限制,1:只限男性,2:只限女性'
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetHasFrontDesk ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetHasFrontDesk(_hasFrontDesk int64) error
SetHasFrontDesk is HasFrontDesk Setter 是否有前台 0没有 1有
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetHasLicense ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetHasLicense(_hasLicense int64) error
SetHasLicense is HasLicense Setter 有无资质执照 0 无资质 1有资质
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetHouseSize ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetHouseSize(_houseSize int64) error
SetHouseSize is HouseSize Setter 面积大小
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetIsFeizhuHotel ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetIsFeizhuHotel(_isFeizhuHotel bool) error
SetIsFeizhuHotel is IsFeizhuHotel Setter 传入是或者否,是表明为菲住合作模式,hid打标;“否”表示为正常合作模式,hid去标;不传保持原有的合作模式不变
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetIsUseShootImage ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetIsUseShootImage(_isUseShootImage int64) error
SetIsUseShootImage is IsUseShootImage Setter 是否使用实拍图片 0不使用 1使用
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetLocation ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetLocation(_location *BnbLocationDto) error
SetLocation is Location Setter 位置信息
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetName ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetName(_name string) error
SetName is Name Setter 门店名称
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetNameE ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetNameE(_nameE string) error
SetNameE is NameE Setter 门店英文名称
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetOpeningTime ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetOpeningTime(_openingTime string) error
SetOpeningTime is OpeningTime Setter 开业时间,格式为2015-01-01
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetOutOwnerId ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetOutOwnerId(_outOwnerId string) error
SetOutOwnerId is OutOwnerId Setter 外部房东id
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 供应商渠道门店ID
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetPictures ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetPictures(_pictures []BnbPictureDto) error
SetPictures is Pictures Setter 民宿门店添加
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetProductType ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetProductType(_productType int64) error
SetProductType is ProductType Setter 门店类型,详见“房源类型list
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetRealTel ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetRealTel(_realTel string) error
SetRealTel is RealTel Setter 真实联系方式
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetReceiveForeigners ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetReceiveForeigners(_receiveForeigners int64) error
SetReceiveForeigners is ReceiveForeigners Setter 是否可接待外宾 0不接待 1接待,默认值: 0
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetScenicFeature ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetScenicFeature(_scenicFeature int64) error
SetScenicFeature is ScenicFeature Setter 风景类型,详见风景类型枚举表
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetSettlementCurrency ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetSettlementCurrency(_settlementCurrency string) error
SetSettlementCurrency is SettlementCurrency Setter 结算过程中的结算币种符合,如需对接请联系飞猪技术支持,请谨慎使用
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetShid ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetShid(_shid int64) error
SetShid is Shid Setter 匹配的标准门店
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetStandardHotelFacilities ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetStatus(_status *model.File) error
SetStatus is Status Setter 房型状态。0:正常,-1:删除,-2:停售
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetTags ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetTags(_tags string) error
SetTags is Tags Setter 门店标签 标签信息,逗号(,)分隔
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetTel ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetTel(_tel string) error
SetTel is Tel Setter 联系方式。格式:国家代码(最长6位)#区号(最长4位)#电话(最长20位)。国家代码提示:中国大陆0086、香港00852、澳门00853、台湾00886
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用
func (*TaobaoxhotelbnbhouseaddAPIRequest) SetVideoUrl ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhouseaddAPIRequest) SetVideoUrl(_videoUrl string) error
SetVideoUrl is VideoUrl Setter 视频地址
type TaobaoxhotelbnbhouseaddAPIResponse ¶ added in v1.3.1
type TaobaoxhotelbnbhouseaddAPIResponse struct { model.CommonResponse TaobaoxhotelbnbhouseaddAPIResponseModel }
TaobaoxhotelbnbhouseaddAPIResponse 民宿门店信息添加 API返回值 taobao.xhotel.bnbhouse.add
添加和更新民宿门店的信息
type TaobaoxhotelbnbhouseaddAPIResponseModel ¶ added in v1.3.1
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>xhotel,omitempty"` }
TaobaoxhotelbnbhouseaddAPIResponseModel is 民宿门店信息添加 成功返回结果
type TaobaoxhotelbnbhousedeleteAPIRequest ¶ added in v1.3.1
type TaobaoxhotelbnbhousedeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelbnbhousedeleteAPIRequest 民宿门店删除接口 API请求 taobao.xhotel.bnbhouse.delete
支持门店相关的门店删除,删除门店会级联删除门店下面的房源
func NewTaobaoxhotelbnbhousedeleteRequest ¶ added in v1.3.1
func NewTaobaoxhotelbnbhousedeleteRequest() *TaobaoxhotelbnbhousedeleteAPIRequest
NewTaobaoxhotelbnbhousedeleteRequest 初始化TaobaoxhotelbnbhousedeleteAPIRequest对象
func (TaobaoxhotelbnbhousedeleteAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelbnbhousedeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelbnbhousedeleteAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbhousedeleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelbnbhousedeleteAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhotelbnbhousedeleteAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoxhotelbnbhousedeleteAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoxhotelbnbhousedeleteAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoxhotelbnbhousedeleteAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbhousedeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelbnbhousedeleteAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelbnbhousedeleteAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelbnbhousedeleteAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhousedeleteAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 门店Id,传参方式为hid或outer_id+vendor
func (*TaobaoxhotelbnbhousedeleteAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhousedeleteAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 门店Id,系统商outer_id
func (*TaobaoxhotelbnbhousedeleteAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelbnbhousedeleteAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用
type TaobaoxhotelbnbhousedeleteAPIResponse ¶ added in v1.3.1
type TaobaoxhotelbnbhousedeleteAPIResponse struct { model.CommonResponse TaobaoxhotelbnbhousedeleteAPIResponseModel }
TaobaoxhotelbnbhousedeleteAPIResponse 民宿门店删除接口 API返回值 taobao.xhotel.bnbhouse.delete
支持门店相关的门店删除,删除门店会级联删除门店下面的房源
type TaobaoxhotelbnbhousedeleteAPIResponseModel ¶ added in v1.3.1
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 民宿门店删除接口 成功返回结果
type TaobaoxhotelbnbowneraddAPIRequest ¶ added in v1.3.1
type TaobaoxhotelbnbowneraddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelbnbowneraddAPIRequest 民宿房东信息添加 API请求 taobao.xhotel.bnbowner.add
添加和更新民宿房东的信息
func NewTaobaoxhotelbnbowneraddRequest ¶ added in v1.3.1
func NewTaobaoxhotelbnbowneraddRequest() *TaobaoxhotelbnbowneraddAPIRequest
NewTaobaoxhotelbnbowneraddRequest 初始化TaobaoxhotelbnbowneraddAPIRequest对象
func (TaobaoxhotelbnbowneraddAPIRequest) GetAddOwnerParam ¶ added in v1.3.1
func (r TaobaoxhotelbnbowneraddAPIRequest) GetAddOwnerParam() *AddOwnerParam
GetAddOwnerParam AddOwnerParam Getter
func (TaobaoxhotelbnbowneraddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelbnbowneraddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelbnbowneraddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbowneraddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelbnbowneraddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbowneraddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelbnbowneraddAPIRequest) SetAddOwnerParam ¶ added in v1.3.1
func (r *TaobaoxhotelbnbowneraddAPIRequest) SetAddOwnerParam(_addOwnerParam *AddOwnerParam) error
SetAddOwnerParam is AddOwnerParam Setter 添加房东信息的对象
type TaobaoxhotelbnbowneraddAPIResponse ¶ added in v1.3.1
type TaobaoxhotelbnbowneraddAPIResponse struct { model.CommonResponse TaobaoxhotelbnbowneraddAPIResponseModel }
TaobaoxhotelbnbowneraddAPIResponse 民宿房东信息添加 API返回值 taobao.xhotel.bnbowner.add
添加和更新民宿房东的信息
type TaobaoxhotelbnbowneraddAPIResponseModel ¶ added in v1.3.1
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 民宿房东信息添加 成功返回结果
type TaobaoxhotelbnbowneraddResultSet ¶ added in v1.3.1
type TaobaoxhotelbnbowneraddResultSet struct { // firstResult FirstResult *AddOwnerParam `json:"first_result,omitempty" xml:"first_result,omitempty"` }
TaobaoxhotelbnbowneraddResultSet 结构体
type TaobaoxhotelbnbownerdeleteAPIRequest ¶ added in v1.3.1
type TaobaoxhotelbnbownerdeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelbnbownerdeleteAPIRequest 民宿房东删除接口 API请求 taobao.xhotel.bnbowner.delete
民宿房东删除接口,删除房东后,对应的门店及房源会同步删除,请谨慎使用
func NewTaobaoxhotelbnbownerdeleteRequest ¶ added in v1.3.1
func NewTaobaoxhotelbnbownerdeleteRequest() *TaobaoxhotelbnbownerdeleteAPIRequest
NewTaobaoxhotelbnbownerdeleteRequest 初始化TaobaoxhotelbnbownerdeleteAPIRequest对象
func (TaobaoxhotelbnbownerdeleteAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelbnbownerdeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelbnbownerdeleteAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbownerdeleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelbnbownerdeleteAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoxhotelbnbownerdeleteAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoxhotelbnbownerdeleteAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbownerdeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelbnbownerdeleteAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelbnbownerdeleteAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelbnbownerdeleteAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoxhotelbnbownerdeleteAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 房东Id,系统商outer_id
func (*TaobaoxhotelbnbownerdeleteAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelbnbownerdeleteAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用,默认taobao
type TaobaoxhotelbnbownerdeleteAPIResponse ¶ added in v1.3.1
type TaobaoxhotelbnbownerdeleteAPIResponse struct { model.CommonResponse TaobaoxhotelbnbownerdeleteAPIResponseModel }
TaobaoxhotelbnbownerdeleteAPIResponse 民宿房东删除接口 API返回值 taobao.xhotel.bnbowner.delete
民宿房东删除接口,删除房东后,对应的门店及房源会同步删除,请谨慎使用
type TaobaoxhotelbnbownerdeleteAPIResponseModel ¶ added in v1.3.1
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 民宿房东删除接口 成功返回结果
type TaobaoxhotelbnbownerdeleteResultSet ¶ added in v1.3.1
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 结构体
type TaobaoxhotelbnbpromoaddAPIRequest ¶ added in v1.3.1
type TaobaoxhotelbnbpromoaddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelbnbpromoaddAPIRequest 自促活动申请接口 API请求 taobao.xhotel.bnbpromo.add
自促活动申请接口
func NewTaobaoxhotelbnbpromoaddRequest ¶ added in v1.3.1
func NewTaobaoxhotelbnbpromoaddRequest() *TaobaoxhotelbnbpromoaddAPIRequest
NewTaobaoxhotelbnbpromoaddRequest 初始化TaobaoxhotelbnbpromoaddAPIRequest对象
func (TaobaoxhotelbnbpromoaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromoaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelbnbpromoaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromoaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelbnbpromoaddAPIRequest) GetPromoInfo ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromoaddAPIRequest) GetPromoInfo() *PromoInfo
GetPromoInfo PromoInfo Getter
func (TaobaoxhotelbnbpromoaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromoaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelbnbpromoaddAPIRequest) SetPromoInfo ¶ added in v1.3.1
func (r *TaobaoxhotelbnbpromoaddAPIRequest) SetPromoInfo(_promoInfo *PromoInfo) error
SetPromoInfo is PromoInfo Setter 营销类型
type TaobaoxhotelbnbpromoaddAPIResponse ¶ added in v1.3.1
type TaobaoxhotelbnbpromoaddAPIResponse struct { model.CommonResponse TaobaoxhotelbnbpromoaddAPIResponseModel }
TaobaoxhotelbnbpromoaddAPIResponse 自促活动申请接口 API返回值 taobao.xhotel.bnbpromo.add
自促活动申请接口
type TaobaoxhotelbnbpromoaddAPIResponseModel ¶ added in v1.3.1
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 自促活动申请接口 成功返回结果
type TaobaoxhotelbnbpromobindAPIRequest ¶ added in v1.3.1
type TaobaoxhotelbnbpromobindAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelbnbpromobindAPIRequest 自促活动绑定接口 API请求 taobao.xhotel.bnbpromo.bind
自促活动绑定接口
func NewTaobaoxhotelbnbpromobindRequest ¶ added in v1.3.1
func NewTaobaoxhotelbnbpromobindRequest() *TaobaoxhotelbnbpromobindAPIRequest
NewTaobaoxhotelbnbpromobindRequest 初始化TaobaoxhotelbnbpromobindAPIRequest对象
func (TaobaoxhotelbnbpromobindAPIRequest) GetActivityCode ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromobindAPIRequest) GetActivityCode() string
GetActivityCode ActivityCode Getter
func (TaobaoxhotelbnbpromobindAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromobindAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelbnbpromobindAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromobindAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelbnbpromobindAPIRequest) GetCheckInFrom ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromobindAPIRequest) GetCheckInFrom() string
GetCheckInFrom CheckInFrom Getter
func (TaobaoxhotelbnbpromobindAPIRequest) GetCheckOutTo ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromobindAPIRequest) GetCheckOutTo() string
GetCheckOutTo CheckOutTo Getter
func (TaobaoxhotelbnbpromobindAPIRequest) GetRateInfos ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromobindAPIRequest) GetRateInfos() *PromoRateInfo
GetRateInfos RateInfos Getter
func (TaobaoxhotelbnbpromobindAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromobindAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelbnbpromobindAPIRequest) SetActivityCode ¶ added in v1.3.1
func (r *TaobaoxhotelbnbpromobindAPIRequest) SetActivityCode(_activityCode string) error
SetActivityCode is ActivityCode Setter 营销活动code
func (*TaobaoxhotelbnbpromobindAPIRequest) SetCheckInFrom ¶ added in v1.3.1
func (r *TaobaoxhotelbnbpromobindAPIRequest) SetCheckInFrom(_checkInFrom string) error
SetCheckInFrom is CheckInFrom Setter 活动入住时间,民宿通用营销必填
func (*TaobaoxhotelbnbpromobindAPIRequest) SetCheckOutTo ¶ added in v1.3.1
func (r *TaobaoxhotelbnbpromobindAPIRequest) SetCheckOutTo(_checkOutTo string) error
SetCheckOutTo is CheckOutTo Setter 活动离店时间,民宿通用营销必填
func (*TaobaoxhotelbnbpromobindAPIRequest) SetRateInfos ¶ added in v1.3.1
func (r *TaobaoxhotelbnbpromobindAPIRequest) SetRateInfos(_rateInfos *PromoRateInfo) error
SetRateInfos is RateInfos Setter 外部价格信息
type TaobaoxhotelbnbpromobindAPIResponse ¶ added in v1.3.1
type TaobaoxhotelbnbpromobindAPIResponse struct { model.CommonResponse TaobaoxhotelbnbpromobindAPIResponseModel }
TaobaoxhotelbnbpromobindAPIResponse 自促活动绑定接口 API返回值 taobao.xhotel.bnbpromo.bind
自促活动绑定接口
type TaobaoxhotelbnbpromobindAPIResponseModel ¶ added in v1.3.1
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 自促活动绑定接口 成功返回结果
type TaobaoxhotelbnbpromodeleteAPIRequest ¶ added in v1.3.1
type TaobaoxhotelbnbpromodeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelbnbpromodeleteAPIRequest 民宿卖家活动删除 API请求 taobao.xhotel.bnbpromo.delete
民宿删除营销活动
func NewTaobaoxhotelbnbpromodeleteRequest ¶ added in v1.3.1
func NewTaobaoxhotelbnbpromodeleteRequest() *TaobaoxhotelbnbpromodeleteAPIRequest
NewTaobaoxhotelbnbpromodeleteRequest 初始化TaobaoxhotelbnbpromodeleteAPIRequest对象
func (TaobaoxhotelbnbpromodeleteAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromodeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelbnbpromodeleteAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromodeleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelbnbpromodeleteAPIRequest) GetOuterActivityCode ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromodeleteAPIRequest) GetOuterActivityCode() string
GetOuterActivityCode OuterActivityCode Getter
func (TaobaoxhotelbnbpromodeleteAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromodeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelbnbpromodeleteAPIRequest) SetOuterActivityCode ¶ added in v1.3.1
func (r *TaobaoxhotelbnbpromodeleteAPIRequest) SetOuterActivityCode(_outerActivityCode string) error
SetOuterActivityCode is OuterActivityCode Setter 外部活动code
type TaobaoxhotelbnbpromodeleteAPIResponse ¶ added in v1.3.1
type TaobaoxhotelbnbpromodeleteAPIResponse struct { model.CommonResponse TaobaoxhotelbnbpromodeleteAPIResponseModel }
TaobaoxhotelbnbpromodeleteAPIResponse 民宿卖家活动删除 API返回值 taobao.xhotel.bnbpromo.delete
民宿删除营销活动
type TaobaoxhotelbnbpromodeleteAPIResponseModel ¶ added in v1.3.1
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 民宿卖家活动删除 成功返回结果
type TaobaoxhotelbnbpromodeleteResultSet ¶ added in v1.3.1
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 结构体
type TaobaoxhotelbnbpromogetAPIRequest ¶ added in v1.3.1
type TaobaoxhotelbnbpromogetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelbnbpromogetAPIRequest 民宿查询营销活动 API请求 taobao.xhotel.bnbpromo.get
民宿查询营销活动
func NewTaobaoxhotelbnbpromogetRequest ¶ added in v1.3.1
func NewTaobaoxhotelbnbpromogetRequest() *TaobaoxhotelbnbpromogetAPIRequest
NewTaobaoxhotelbnbpromogetRequest 初始化TaobaoxhotelbnbpromogetAPIRequest对象
func (TaobaoxhotelbnbpromogetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromogetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelbnbpromogetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromogetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelbnbpromogetAPIRequest) GetOuterActivityCode ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromogetAPIRequest) GetOuterActivityCode() string
GetOuterActivityCode OuterActivityCode Getter
func (TaobaoxhotelbnbpromogetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromogetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelbnbpromogetAPIRequest) SetOuterActivityCode ¶ added in v1.3.1
func (r *TaobaoxhotelbnbpromogetAPIRequest) SetOuterActivityCode(_outerActivityCode string) error
SetOuterActivityCode is OuterActivityCode Setter 外部活动code
type TaobaoxhotelbnbpromogetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelbnbpromogetAPIResponse struct { model.CommonResponse TaobaoxhotelbnbpromogetAPIResponseModel }
TaobaoxhotelbnbpromogetAPIResponse 民宿查询营销活动 API返回值 taobao.xhotel.bnbpromo.get
民宿查询营销活动
type TaobaoxhotelbnbpromogetAPIResponseModel ¶ added in v1.3.1
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 民宿查询营销活动 成功返回结果
type TaobaoxhotelbnbpromogetResultSet ¶ added in v1.3.1
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 结构体
type TaobaoxhotelbnbpromounbindAPIRequest ¶ added in v1.3.1
type TaobaoxhotelbnbpromounbindAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelbnbpromounbindAPIRequest 自促活动解绑接口 API请求 taobao.xhotel.bnbpromo.unbind
自促活动解绑接口
func NewTaobaoxhotelbnbpromounbindRequest ¶ added in v1.3.1
func NewTaobaoxhotelbnbpromounbindRequest() *TaobaoxhotelbnbpromounbindAPIRequest
NewTaobaoxhotelbnbpromounbindRequest 初始化TaobaoxhotelbnbpromounbindAPIRequest对象
func (TaobaoxhotelbnbpromounbindAPIRequest) GetActivityCode ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromounbindAPIRequest) GetActivityCode() string
GetActivityCode ActivityCode Getter
func (TaobaoxhotelbnbpromounbindAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromounbindAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelbnbpromounbindAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromounbindAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelbnbpromounbindAPIRequest) GetRateInfos ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromounbindAPIRequest) GetRateInfos() *PromoRateInfo
GetRateInfos RateInfos Getter
func (TaobaoxhotelbnbpromounbindAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromounbindAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelbnbpromounbindAPIRequest) SetActivityCode ¶ added in v1.3.1
func (r *TaobaoxhotelbnbpromounbindAPIRequest) SetActivityCode(_activityCode string) error
SetActivityCode is ActivityCode Setter 营销活动code
func (*TaobaoxhotelbnbpromounbindAPIRequest) SetRateInfos ¶ added in v1.3.1
func (r *TaobaoxhotelbnbpromounbindAPIRequest) SetRateInfos(_rateInfos *PromoRateInfo) error
SetRateInfos is RateInfos Setter 营销
type TaobaoxhotelbnbpromounbindAPIResponse ¶ added in v1.3.1
type TaobaoxhotelbnbpromounbindAPIResponse struct { model.CommonResponse TaobaoxhotelbnbpromounbindAPIResponseModel }
TaobaoxhotelbnbpromounbindAPIResponse 自促活动解绑接口 API返回值 taobao.xhotel.bnbpromo.unbind
自促活动解绑接口
type TaobaoxhotelbnbpromounbindAPIResponseModel ¶ added in v1.3.1
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 自促活动解绑接口 成功返回结果
type TaobaoxhotelbnbreviewaddAPIRequest ¶ added in v1.3.1
type TaobaoxhotelbnbreviewaddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelbnbreviewaddAPIRequest 对外开放评论接口 API请求 taobao.xhotel.bnbreview.add
对外开放评论接口
func NewTaobaoxhotelbnbreviewaddRequest ¶ added in v1.3.1
func NewTaobaoxhotelbnbreviewaddRequest() *TaobaoxhotelbnbreviewaddAPIRequest
NewTaobaoxhotelbnbreviewaddRequest 初始化TaobaoxhotelbnbreviewaddAPIRequest对象
func (TaobaoxhotelbnbreviewaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelbnbreviewaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelbnbreviewaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbreviewaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelbnbreviewaddAPIRequest) GetCheckInTime ¶ added in v1.3.1
func (r TaobaoxhotelbnbreviewaddAPIRequest) GetCheckInTime() string
GetCheckInTime CheckInTime Getter
func (TaobaoxhotelbnbreviewaddAPIRequest) GetContent ¶ added in v1.3.1
func (r TaobaoxhotelbnbreviewaddAPIRequest) GetContent() string
GetContent Content Getter
func (TaobaoxhotelbnbreviewaddAPIRequest) GetGmtCreate ¶ added in v1.3.1
func (r TaobaoxhotelbnbreviewaddAPIRequest) GetGmtCreate() string
GetGmtCreate GmtCreate Getter
func (TaobaoxhotelbnbreviewaddAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoxhotelbnbreviewaddAPIRequest) GetOuterId() int64
GetOuterId OuterId Getter
func (TaobaoxhotelbnbreviewaddAPIRequest) GetPicInfoList ¶ added in v1.3.1
func (r TaobaoxhotelbnbreviewaddAPIRequest) GetPicInfoList() *ReviewPicInfo
GetPicInfoList PicInfoList Getter
func (TaobaoxhotelbnbreviewaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbreviewaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelbnbreviewaddAPIRequest) GetRid ¶ added in v1.3.1
func (r TaobaoxhotelbnbreviewaddAPIRequest) GetRid() int64
GetRid Rid Getter
func (TaobaoxhotelbnbreviewaddAPIRequest) GetScoreDetail ¶ added in v1.3.1
func (r TaobaoxhotelbnbreviewaddAPIRequest) GetScoreDetail() *ReviewDetailInfo
GetScoreDetail ScoreDetail Getter
func (TaobaoxhotelbnbreviewaddAPIRequest) GetSource ¶ added in v1.3.1
func (r TaobaoxhotelbnbreviewaddAPIRequest) GetSource() int64
GetSource Source Getter
func (TaobaoxhotelbnbreviewaddAPIRequest) GetTotalScore ¶ added in v1.3.1
func (r TaobaoxhotelbnbreviewaddAPIRequest) GetTotalScore() string
GetTotalScore TotalScore Getter
func (TaobaoxhotelbnbreviewaddAPIRequest) GetUserNick ¶ added in v1.3.1
func (r TaobaoxhotelbnbreviewaddAPIRequest) GetUserNick() string
GetUserNick UserNick Getter
func (*TaobaoxhotelbnbreviewaddAPIRequest) SetCheckInTime ¶ added in v1.3.1
func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetCheckInTime(_checkInTime string) error
SetCheckInTime is CheckInTime Setter 入住时间
func (*TaobaoxhotelbnbreviewaddAPIRequest) SetContent ¶ added in v1.3.1
func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetContent(_content string) error
SetContent is Content Setter 评论内容
func (*TaobaoxhotelbnbreviewaddAPIRequest) SetGmtCreate ¶ added in v1.3.1
func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetGmtCreate(_gmtCreate string) error
SetGmtCreate is GmtCreate Setter 创建时间
func (*TaobaoxhotelbnbreviewaddAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetOuterId(_outerId int64) error
SetOuterId is OuterId Setter 外部评论id
func (*TaobaoxhotelbnbreviewaddAPIRequest) SetPicInfoList ¶ added in v1.3.1
func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetPicInfoList(_picInfoList *ReviewPicInfo) error
SetPicInfoList is PicInfoList Setter 图片地址
func (*TaobaoxhotelbnbreviewaddAPIRequest) SetRid ¶ added in v1.3.1
func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetRid(_rid int64) error
SetRid is Rid Setter 飞猪侧房源ID
func (*TaobaoxhotelbnbreviewaddAPIRequest) SetScoreDetail ¶ added in v1.3.1
func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetScoreDetail(_scoreDetail *ReviewDetailInfo) error
SetScoreDetail is ScoreDetail Setter 评分细分
func (*TaobaoxhotelbnbreviewaddAPIRequest) SetSource ¶ added in v1.3.1
func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetSource(_source int64) error
SetSource is Source Setter 评论来源ID,38-小猪 39-爱彼迎
func (*TaobaoxhotelbnbreviewaddAPIRequest) SetTotalScore ¶ added in v1.3.1
func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetTotalScore(_totalScore string) error
SetTotalScore is TotalScore Setter 总评分,Double类型得
func (*TaobaoxhotelbnbreviewaddAPIRequest) SetUserNick ¶ added in v1.3.1
func (r *TaobaoxhotelbnbreviewaddAPIRequest) SetUserNick(_userNick string) error
SetUserNick is UserNick Setter 用户名称
type TaobaoxhotelbnbreviewaddAPIResponse ¶ added in v1.3.1
type TaobaoxhotelbnbreviewaddAPIResponse struct { model.CommonResponse TaobaoxhotelbnbreviewaddAPIResponseModel }
TaobaoxhotelbnbreviewaddAPIResponse 对外开放评论接口 API返回值 taobao.xhotel.bnbreview.add
对外开放评论接口
type TaobaoxhotelbnbreviewaddAPIResponseModel ¶ added in v1.3.1
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 对外开放评论接口 成功返回结果
type TaobaoxhotelbnbroomtypeaddAPIRequest ¶ added in v1.3.1
type TaobaoxhotelbnbroomtypeaddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelbnbroomtypeaddAPIRequest 民宿新增房源 API请求 taobao.xhotel.bnbroomtype.add
添加民宿房源
func NewTaobaoxhotelbnbroomtypeaddRequest ¶ added in v1.3.1
func NewTaobaoxhotelbnbroomtypeaddRequest() *TaobaoxhotelbnbroomtypeaddAPIRequest
NewTaobaoxhotelbnbroomtypeaddRequest 初始化TaobaoxhotelbnbroomtypeaddAPIRequest对象
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetActivitiesAllowed ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetActivitiesAllowed() string
GetActivitiesAllowed ActivitiesAllowed Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetBedInfo ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetBedInfo() string
GetBedInfo BedInfo Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetBnbBookingTime ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetBnbBookingTime() *BnbBookingTimeDto
GetBnbBookingTime BnbBookingTime Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetBnbExtend ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetBnbExtend() string
GetBnbExtend BnbExtend Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetBnbName ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetBnbName() []string
GetBnbName BnbName Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetBrand ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetBrand() string
GetBrand Brand Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetBrightspot ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetBrightspot() string
GetBrightspot Brightspot Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetCharge ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetCharge() *BnbChargeDto
GetCharge Charge Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetCheckInNotes ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetCheckInNotes() string
GetCheckInNotes CheckInNotes Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetCleaningCharge ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetCleaningCharge() int64
GetCleaningCharge CleaningCharge Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetCleaningFrequency ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetCleaningFrequency() int64
GetCleaningFrequency CleaningFrequency Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetCleaningType ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetCleaningType() int64
GetCleaningType CleaningType Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetDecorateLevel ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetDecorateLevel() int64
GetDecorateLevel DecorateLevel Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetDecorateStyle ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetDecorateStyle() int64
GetDecorateStyle DecorateStyle Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetDecorateTime ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetDecorateTime() string
GetDecorateTime DecorateTime Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetDepositAmount ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetDepositAmount() int64
GetDepositAmount DepositAmount Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetDepositType ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetDepositType() int64
GetDepositType DepositType Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetExtraBedsFee ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetExtraBedsFee() int64
GetExtraBedsFee ExtraBedsFee Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetExtraBedsNum ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetExtraBedsNum() int64
GetExtraBedsNum ExtraBedsNum Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetExtraCleaningCharge ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetExtraCleaningCharge() int64
GetExtraCleaningCharge ExtraCleaningCharge Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetExtraFee ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetExtraFee() string
GetExtraFee ExtraFee Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetFloor ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetFloor() string
GetFloor Floor Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetGuestAge ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetGuestAge() int64
GetGuestAge GuestAge Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetGuestGender ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetGuestGender() int64
GetGuestGender GuestGender Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetHasFrontDesk ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetHasFrontDesk() int64
GetHasFrontDesk HasFrontDesk Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetHasLandlord ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetHasLandlord() int64
GetHasLandlord HasLandlord Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetHasLicense ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetHasLicense() int64
GetHasLicense HasLicense Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetHouseModel ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetHouseModel() string
GetHouseModel HouseModel Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetHouseSize ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetHouseSize() int64
GetHouseSize HouseSize Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetIntroduction ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetIntroduction() string
GetIntroduction Introduction Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetInvoice ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetInvoice() int64
GetInvoice Invoice Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetInvoiceType ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetInvoiceType() int64
GetInvoiceType InvoiceType Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetIsUseShootImage ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetIsUseShootImage() int64
GetIsUseShootImage IsUseShootImage Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetLocalInfo ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetLocalInfo() string
GetLocalInfo LocalInfo Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetLocation ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetLocation() *BnbLocationDto
GetLocation Location Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetMaxOccupancy ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetMaxOccupancy() int64
GetMaxOccupancy MaxOccupancy Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetName ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetName() []string
GetName Name Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetNameE ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetNameE() string
GetNameE NameE Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetNewOuterId ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetNewOuterId() string
GetNewOuterId NewOuterId Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetOpeningTime ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetOpeningTime() string
GetOpeningTime OpeningTime Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetOutHid ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetOuterTags ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetOuterTags() string
GetOuterTags OuterTags Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetPics ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetPics() []BnbPictureDto
GetPics Pics Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetProductType ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetProductType() int64
GetProductType ProductType Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetQuickOrder ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetQuickOrder() int64
GetQuickOrder QuickOrder Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetRealTel ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetRealTel() string
GetRealTel RealTel Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetReceiveForeigners ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetReceiveForeigners() int64
GetReceiveForeigners ReceiveForeigners Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetRentSize ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetRentSize() int64
GetRentSize RentSize Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetRentType ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetRentType() int64
GetRentType RentType Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetScenicFeature ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetScenicFeature() int64
GetScenicFeature ScenicFeature Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetService ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetService() string
GetService Service Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetSettlementCurrency ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetSettlementCurrency() string
GetSettlementCurrency SettlementCurrency Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetSrid ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetSrid() int64
GetSrid Srid Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetStandardRoomFacilities ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetStandardRoomFacilities() string
GetStandardRoomFacilities StandardRoomFacilities Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetStatus ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetStatus() *model.File
GetStatus Status Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetSupportIm ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetSupportIm() int64
GetSupportIm SupportIm Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetSupportcredit ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetSupportcredit() int64
GetSupportcredit Supportcredit Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetSurroundInfo ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetSurroundInfo() string
GetSurroundInfo SurroundInfo Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetTel ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetTel() string
GetTel Tel Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetVideoUrl ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetVideoUrl() string
GetVideoUrl VideoUrl Getter
func (TaobaoxhotelbnbroomtypeaddAPIRequest) GetWindowType ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypeaddAPIRequest) GetWindowType() int64
GetWindowType WindowType Getter
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetActivitiesAllowed ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetBnbBookingTime(_bnbBookingTime *BnbBookingTimeDto) error
SetBnbBookingTime is BnbBookingTime Setter 民宿入住要求&附加信息
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetBnbExtend ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetBnbExtend(_bnbExtend string) error
SetBnbExtend is BnbExtend Setter 民宿扩展信息
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetBnbName ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetBnbName(_bnbName []string) error
SetBnbName is BnbName Setter 民宿名称,默认取bnbName
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetBrand ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetBrand(_brand string) error
SetBrand is Brand Setter 品牌名称,最多100字符
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetBrightspot ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetBrightspot(_brightspot string) error
SetBrightspot is Brightspot Setter 亮点描述,最多1000字符
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetCharge ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetCharge(_charge *BnbChargeDto) error
SetCharge is Charge Setter 加人收费信息
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetCheckInNotes ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetCheckInNotes(_checkInNotes string) error
SetCheckInNotes is CheckInNotes Setter 入住须知,最多2000字符
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetCleaningCharge ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetCleaningCharge(_cleaningCharge int64) error
SetCleaningCharge is CleaningCharge Setter 清洁费是否收取 0:否 1:是
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetCleaningFrequency ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetCleaningType(_cleaningType int64) error
SetCleaningType is CleaningType Setter 清洁费类型 0.线下;1.线上
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetDecorateLevel ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetDecorateLevel(_decorateLevel int64) error
SetDecorateLevel is DecorateLevel Setter 装修等级 1 精装;2普通;3简装
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetDecorateStyle ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetDecorateTime(_decorateTime string) error
SetDecorateTime is DecorateTime Setter 装修时间,格式为2015-01-01装修时间
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetDepositAmount ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetDepositAmount(_depositAmount int64) error
SetDepositAmount is DepositAmount Setter 押金金额
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetDepositType ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetDepositType(_depositType int64) error
SetDepositType is DepositType Setter 押金类型0.线下;1.线上
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetExtraBedsFee ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetExtraBedsFee(_extraBedsFee int64) error
SetExtraBedsFee is ExtraBedsFee Setter 加床费,分为单位
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetExtraBedsNum ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetExtraBedsNum(_extraBedsNum int64) error
SetExtraBedsNum is ExtraBedsNum Setter 0-n;若不可加床,值为0
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetExtraCleaningCharge ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetExtraCleaningCharge(_extraCleaningCharge int64) error
SetExtraCleaningCharge is ExtraCleaningCharge Setter 清洁费金额;整数[1,9999999]
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetExtraFee ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetExtraFee(_extraFee string) error
SetExtraFee is ExtraFee Setter 额外收费
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetFloor ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetFloor(_floor string) error
SetFloor is Floor Setter 客房在建筑的第几层,隔层为1-2层,4-5层,7-8层
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetGuestAge ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetGuestGender(_guestGender int64) error
SetGuestGender is GuestGender Setter 0:不限制,1:只限男性,2:只限女性'
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetHasFrontDesk ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetHasFrontDesk(_hasFrontDesk int64) error
SetHasFrontDesk is HasFrontDesk Setter 是否有前台 0没有 1有
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetHasLandlord ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetHasLandlord(_hasLandlord int64) error
SetHasLandlord is HasLandlord Setter 是否与房东同住 0 不同住 1同住
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetHasLicense ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetHasLicense(_hasLicense int64) error
SetHasLicense is HasLicense Setter 有无资质执照 0 没有 1有
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetHouseModel ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetHouseModel(_houseModel string) error
SetHouseModel is HouseModel Setter 房屋户型, bedroom: 室, bathroom: 卫, livingroom: 厅, study: 书房, balcony: 阳台,kitchen: 厨房,bedroom和livingroom不能为空
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetHouseSize ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetHouseSize(_houseSize int64) error
SetHouseSize is HouseSize Setter 单间面积,单位平方米
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetIntroduction ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetIntroduction(_introduction string) error
SetIntroduction is Introduction Setter 房源介绍,最多2000字符
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetInvoice ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetInvoice(_invoice int64) error
SetInvoice is Invoice Setter 发票,0:卖家提供发票,1:房东提供发票
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetInvoiceType ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetInvoiceType(_invoiceType int64) error
SetInvoiceType is InvoiceType Setter 可提供发票类型,1.专票 2.纸质普票 3.电子普票
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetIsUseShootImage ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetIsUseShootImage(_isUseShootImage int64) error
SetIsUseShootImage is IsUseShootImage Setter 是否使用实拍图片 0不使用 1使用
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetLocalInfo ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetLocalInfo(_localInfo string) error
SetLocalInfo is LocalInfo Setter 位置描述
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetLocation ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetLocation(_location *BnbLocationDto) error
SetLocation is Location Setter 民宿房源位置信息
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetMaxOccupancy ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetMaxOccupancy(_maxOccupancy int64) error
SetMaxOccupancy is MaxOccupancy Setter 最大入住人数 1-99
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetName ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetName(_name []string) error
SetName is Name Setter 房源名
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetNameE ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetNameE(_nameE string) error
SetNameE is NameE Setter 房源英文名
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetNewOuterId ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetNewOuterId(_newOuterId string) error
SetNewOuterId is NewOuterId Setter 如果要变更商品房源编码请使用该字段。
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetOpeningTime ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetOpeningTime(_openingTime string) error
SetOpeningTime is OpeningTime Setter 开业时间,格式为2015-01-01
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetOutHid ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 外部门店id
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 房源id, 这是卖家自己系统中的ID
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetOuterTags ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetOuterTags(_outerTags string) error
SetOuterTags is OuterTags Setter 房源外部标签 标签信息,逗号(,)分隔,最多1000字符
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetPics ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetPics(_pics []BnbPictureDto) error
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetQuickOrder(_quickOrder int64) error
SetQuickOrder is QuickOrder Setter 是否开启闪订 0不开启 1开启
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetRealTel ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetRealTel(_realTel string) error
SetRealTel is RealTel Setter 真实联系方式
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetReceiveForeigners ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetReceiveForeigners(_receiveForeigners int64) error
SetReceiveForeigners is ReceiveForeigners Setter 是否可接待外宾 0:否 1:是;默认值: 0
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetRentSize ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetRentSize(_rentSize int64) error
SetRentSize is RentSize Setter 单间面积,单位平方米
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetRentType ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetRentType(_rentType int64) error
SetRentType is RentType Setter 出租类型,1整租;2分租。3床位 默认整租,该字段不能更新
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetScenicFeature ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetSettlementCurrency(_settlementCurrency string) error
SetSettlementCurrency is SettlementCurrency Setter 结算过程中的结算币种符合,如需对接请联系飞猪技术支持,请谨慎使用
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetSrid ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetSrid(_srid int64) error
SetSrid is Srid Setter 添加标准房源匹配
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetStandardRoomFacilities ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetStatus(_status *model.File) error
SetStatus is Status Setter 状态 0:在线 -1:不在线 -2:停售
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetSupportIm ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetSupportIm(_supportIm int64) error
SetSupportIm is SupportIm Setter 是否支持IM聊天 0不支持 1支持
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetSupportcredit ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetSupportcredit(_supportcredit int64) error
SetSupportcredit is Supportcredit Setter 是否信用免押金0:否 1:是
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetSurroundInfo ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetSurroundInfo(_surroundInfo string) error
SetSurroundInfo is SurroundInfo Setter 周边描述
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetTel ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetTel(_tel string) error
SetTel is Tel Setter 酒店电话。格式:国家代码(最长6位)#区号(最长4位)#电话(最长20位)。国家代码提示:中国大陆0086、香港00852、澳门00853、台湾00886
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 销售渠道,默认taobao
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetVideoUrl ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetVideoUrl(_videoUrl string) error
SetVideoUrl is VideoUrl Setter 视频地址,最多1000字符
func (*TaobaoxhotelbnbroomtypeaddAPIRequest) SetWindowType ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypeaddAPIRequest) SetWindowType(_windowType int64) error
SetWindowType is WindowType Setter 0-无窗 1-有窗 2-部分有窗 3-暗窗 4-部分暗窗 5-落地窗
type TaobaoxhotelbnbroomtypeaddAPIResponse ¶ added in v1.3.1
type TaobaoxhotelbnbroomtypeaddAPIResponse struct { model.CommonResponse TaobaoxhotelbnbroomtypeaddAPIResponseModel }
TaobaoxhotelbnbroomtypeaddAPIResponse 民宿新增房源 API返回值 taobao.xhotel.bnbroomtype.add
添加民宿房源
type TaobaoxhotelbnbroomtypeaddAPIResponseModel ¶ added in v1.3.1
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 民宿新增房源 成功返回结果
type TaobaoxhotelbnbroomtypedeleteAPIRequest ¶ added in v1.3.1
type TaobaoxhotelbnbroomtypedeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelbnbroomtypedeleteAPIRequest 民宿房源删除接口 API请求 taobao.xhotel.bnbroomtype.delete
增加民宿房源删除接口
func NewTaobaoxhotelbnbroomtypedeleteRequest ¶ added in v1.3.1
func NewTaobaoxhotelbnbroomtypedeleteRequest() *TaobaoxhotelbnbroomtypedeleteAPIRequest
NewTaobaoxhotelbnbroomtypedeleteRequest 初始化TaobaoxhotelbnbroomtypedeleteAPIRequest对象
func (TaobaoxhotelbnbroomtypedeleteAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypedeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelbnbroomtypedeleteAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypedeleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelbnbroomtypedeleteAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypedeleteAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoxhotelbnbroomtypedeleteAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypedeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelbnbroomtypedeleteAPIRequest) GetRid ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypedeleteAPIRequest) GetRid() int64
GetRid Rid Getter
func (TaobaoxhotelbnbroomtypedeleteAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelbnbroomtypedeleteAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelbnbroomtypedeleteAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypedeleteAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 房型Id,系统商outer_id
func (*TaobaoxhotelbnbroomtypedeleteAPIRequest) SetRid ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypedeleteAPIRequest) SetRid(_rid int64) error
SetRid is Rid Setter 房型Id,传参方式为rid或outer_id+vendor
func (*TaobaoxhotelbnbroomtypedeleteAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelbnbroomtypedeleteAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用
type TaobaoxhotelbnbroomtypedeleteAPIResponse ¶ added in v1.3.1
type TaobaoxhotelbnbroomtypedeleteAPIResponse struct { model.CommonResponse TaobaoxhotelbnbroomtypedeleteAPIResponseModel }
TaobaoxhotelbnbroomtypedeleteAPIResponse 民宿房源删除接口 API返回值 taobao.xhotel.bnbroomtype.delete
增加民宿房源删除接口
type TaobaoxhotelbnbroomtypedeleteAPIResponseModel ¶ added in v1.3.1
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 民宿房源删除接口 成功返回结果
type TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest ¶ added in v1.3.1
type TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest 下载飞猪国际城市结果 API请求 taobao.xhotel.city.coordinates.batch.download
给国际酒店供应商提供计算对应飞猪城市的服务,免去城市名称匹配流程,加快对接流程
func NewTaobaoxhotelcitycoordinatesbatchdownloadRequest ¶ added in v1.3.1
func NewTaobaoxhotelcitycoordinatesbatchdownloadRequest() *TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest
NewTaobaoxhotelcitycoordinatesbatchdownloadRequest 初始化TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest对象
func (TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest) GetBatchId ¶ added in v1.3.1
func (r TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest) GetBatchId() int64
GetBatchId BatchId Getter
func (TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest) SetBatchId ¶ added in v1.3.1
func (r *TaobaoxhotelcitycoordinatesbatchdownloadAPIRequest) SetBatchId(_batchId int64) error
SetBatchId is BatchId Setter 上传的经纬度批次号
type TaobaoxhotelcitycoordinatesbatchdownloadAPIResponse ¶ added in v1.3.1
type TaobaoxhotelcitycoordinatesbatchdownloadAPIResponse struct { model.CommonResponse TaobaoxhotelcitycoordinatesbatchdownloadAPIResponseModel }
TaobaoxhotelcitycoordinatesbatchdownloadAPIResponse 下载飞猪国际城市结果 API返回值 taobao.xhotel.city.coordinates.batch.download
给国际酒店供应商提供计算对应飞猪城市的服务,免去城市名称匹配流程,加快对接流程
type TaobaoxhotelcitycoordinatesbatchdownloadAPIResponseModel ¶ added in v1.3.1
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 下载飞猪国际城市结果 成功返回结果
type TaobaoxhotelcitycoordinatesbatchuploadAPIRequest ¶ added in v1.3.1
type TaobaoxhotelcitycoordinatesbatchuploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelcitycoordinatesbatchuploadAPIRequest 上传信息计算飞猪国际城市 API请求 taobao.xhotel.city.coordinates.batch.upload
给供应商提供计算对应飞猪城市的服务,免去城市名称匹配流程,加快对接流程。目前只适用于国际城市,国内+港澳台暂不支持。 非实时计算接口,每次批量上传不少于1条的数据,后端离线计算,请于30分钟后再下载结果。
func NewTaobaoxhotelcitycoordinatesbatchuploadRequest ¶ added in v1.3.1
func NewTaobaoxhotelcitycoordinatesbatchuploadRequest() *TaobaoxhotelcitycoordinatesbatchuploadAPIRequest
NewTaobaoxhotelcitycoordinatesbatchuploadRequest 初始化TaobaoxhotelcitycoordinatesbatchuploadAPIRequest对象
func (TaobaoxhotelcitycoordinatesbatchuploadAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelcitycoordinatesbatchuploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelcitycoordinatesbatchuploadAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelcitycoordinatesbatchuploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelcitycoordinatesbatchuploadAPIRequest) GetCoordinateList ¶ added in v1.3.1
func (r TaobaoxhotelcitycoordinatesbatchuploadAPIRequest) GetCoordinateList() []Coordinate
GetCoordinateList CoordinateList Getter
func (TaobaoxhotelcitycoordinatesbatchuploadAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelcitycoordinatesbatchuploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelcitycoordinatesbatchuploadAPIRequest) SetCoordinateList ¶ added in v1.3.1
func (r *TaobaoxhotelcitycoordinatesbatchuploadAPIRequest) SetCoordinateList(_coordinateList []Coordinate) error
SetCoordinateList is CoordinateList Setter 经纬度列表
type TaobaoxhotelcitycoordinatesbatchuploadAPIResponse ¶ added in v1.3.1
type TaobaoxhotelcitycoordinatesbatchuploadAPIResponse struct { model.CommonResponse TaobaoxhotelcitycoordinatesbatchuploadAPIResponseModel }
TaobaoxhotelcitycoordinatesbatchuploadAPIResponse 上传信息计算飞猪国际城市 API返回值 taobao.xhotel.city.coordinates.batch.upload
给供应商提供计算对应飞猪城市的服务,免去城市名称匹配流程,加快对接流程。目前只适用于国际城市,国内+港澳台暂不支持。 非实时计算接口,每次批量上传不少于1条的数据,后端离线计算,请于30分钟后再下载结果。
type TaobaoxhotelcitycoordinatesbatchuploadAPIResponseModel ¶ added in v1.3.1
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 上传信息计算飞猪国际城市 成功返回结果
type TaobaoxhoteldeleteAPIRequest ¶ added in v1.3.1
TaobaoxhoteldeleteAPIRequest 删除酒店接口 API请求 taobao.xhotel.delete
删除飞猪酒店数据接口
func NewTaobaoxhoteldeleteRequest ¶ added in v1.3.1
func NewTaobaoxhoteldeleteRequest() *TaobaoxhoteldeleteAPIRequest
NewTaobaoxhoteldeleteRequest 初始化TaobaoxhoteldeleteAPIRequest对象
func (TaobaoxhoteldeleteAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhoteldeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhoteldeleteAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhoteldeleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhoteldeleteAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhoteldeleteAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoxhoteldeleteAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoxhoteldeleteAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoxhoteldeleteAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhoteldeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhoteldeleteAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhoteldeleteAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhoteldeleteAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhoteldeleteAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 酒店id,传参方式 hid 或者 outer_id+vendor
func (*TaobaoxhoteldeleteAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoxhoteldeleteAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 酒店编码
func (*TaobaoxhoteldeleteAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhoteldeleteAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 酒店vendor
type TaobaoxhoteldeleteAPIResponse ¶ added in v1.3.1
type TaobaoxhoteldeleteAPIResponse struct { model.CommonResponse TaobaoxhoteldeleteAPIResponseModel }
TaobaoxhoteldeleteAPIResponse 删除酒店接口 API返回值 taobao.xhotel.delete
删除飞猪酒店数据接口
type TaobaoxhoteldeleteAPIResponseModel ¶ added in v1.3.1
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 删除酒店接口 成功返回结果
type TaobaoxhoteldeleteResultSet ¶ added in v1.3.1
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 结构体
type TaobaoxhotelentityconfigAPIRequest ¶ added in v1.3.1
type TaobaoxhotelentityconfigAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelentityconfigAPIRequest 飞猪商品各实体通用配置 API请求 taobao.xhotel.entity.config
飞猪商品各实体通用配置服务
func NewTaobaoxhotelentityconfigRequest ¶ added in v1.3.1
func NewTaobaoxhotelentityconfigRequest() *TaobaoxhotelentityconfigAPIRequest
NewTaobaoxhotelentityconfigRequest 初始化TaobaoxhotelentityconfigAPIRequest对象
func (TaobaoxhotelentityconfigAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelentityconfigAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelentityconfigAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelentityconfigAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelentityconfigAPIRequest) GetConfigData ¶ added in v1.3.1
func (r TaobaoxhotelentityconfigAPIRequest) GetConfigData() string
GetConfigData ConfigData Getter
func (TaobaoxhotelentityconfigAPIRequest) GetEntityCode ¶ added in v1.3.1
func (r TaobaoxhotelentityconfigAPIRequest) GetEntityCode() string
GetEntityCode EntityCode Getter
func (TaobaoxhotelentityconfigAPIRequest) GetEntityId ¶ added in v1.3.1
func (r TaobaoxhotelentityconfigAPIRequest) GetEntityId() int64
GetEntityId EntityId Getter
func (TaobaoxhotelentityconfigAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelentityconfigAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelentityconfigAPIRequest) GetType ¶ added in v1.3.1
func (r TaobaoxhotelentityconfigAPIRequest) GetType() int64
GetType Type Getter
func (TaobaoxhotelentityconfigAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelentityconfigAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelentityconfigAPIRequest) SetConfigData ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelentityconfigAPIRequest) SetEntityCode(_entityCode string) error
SetEntityCode is EntityCode Setter 实体编码,例如酒店编码,房价编码
func (*TaobaoxhotelentityconfigAPIRequest) SetEntityId ¶ added in v1.3.1
func (r *TaobaoxhotelentityconfigAPIRequest) SetEntityId(_entityId int64) error
SetEntityId is EntityId Setter 实体id,例如酒店id,房型id(飞猪平台的id),rpid等,目前仅支持rpid
func (*TaobaoxhotelentityconfigAPIRequest) SetType ¶ added in v1.3.1
func (r *TaobaoxhotelentityconfigAPIRequest) SetType(_type int64) error
SetType is Type Setter 实体类型:1:卖家维度,2:酒店维度,3:房型维度,4:宝贝维度,5:rp维度。请注意目前仅支持类型5
func (*TaobaoxhotelentityconfigAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelentityconfigAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 默认是taobao。和酒店,房型等实体上的vendor保持一致。
type TaobaoxhotelentityconfigAPIResponse ¶ added in v1.3.1
type TaobaoxhotelentityconfigAPIResponse struct { model.CommonResponse TaobaoxhotelentityconfigAPIResponseModel }
TaobaoxhotelentityconfigAPIResponse 飞猪商品各实体通用配置 API返回值 taobao.xhotel.entity.config
飞猪商品各实体通用配置服务
type TaobaoxhotelentityconfigAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelentityconfigAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_entity_config_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` }
TaobaoxhotelentityconfigAPIResponseModel is 飞猪商品各实体通用配置 成功返回结果
type TaobaoxhotelgetAPIRequest ¶ added in v1.3.1
TaobaoxhotelgetAPIRequest 酒店查询接口 API请求 taobao.xhotel.get
酒店查询接口
func NewTaobaoxhotelgetRequest ¶ added in v1.3.1
func NewTaobaoxhotelgetRequest() *TaobaoxhotelgetAPIRequest
NewTaobaoxhotelgetRequest 初始化TaobaoxhotelgetAPIRequest对象
func (TaobaoxhotelgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelgetAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhotelgetAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoxhotelgetAPIRequest) GetNeedSaleInfo ¶ added in v1.3.1
func (r TaobaoxhotelgetAPIRequest) GetNeedSaleInfo() bool
GetNeedSaleInfo NeedSaleInfo Getter
func (TaobaoxhotelgetAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoxhotelgetAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoxhotelgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelgetAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelgetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelgetAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhotelgetAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 废弃,请使用outer_id
func (*TaobaoxhotelgetAPIRequest) SetNeedSaleInfo ¶ added in v1.3.1
func (r *TaobaoxhotelgetAPIRequest) SetNeedSaleInfo(_needSaleInfo bool) error
SetNeedSaleInfo is NeedSaleInfo Setter 是否需要在售状态(默认false不需要)
func (*TaobaoxhotelgetAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoxhotelgetAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 卖家系统中的酒店ID。
func (*TaobaoxhotelgetAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelgetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不用填写,使用须申请
type TaobaoxhotelgetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelgetAPIResponse struct { model.CommonResponse TaobaoxhotelgetAPIResponseModel }
TaobaoxhotelgetAPIResponse 酒店查询接口 API返回值 taobao.xhotel.get
酒店查询接口
type TaobaoxhotelgetAPIResponseModel ¶ added in v1.3.1
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 酒店查询接口 成功返回结果
type TaobaoxhotelgetentitybytagAPIRequest ¶ added in v1.3.1
type TaobaoxhotelgetentitybytagAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelgetentitybytagAPIRequest 根据标签查询实体 API请求 taobao.xhotel.get.entity.by.tag
根据标签查询实体
func NewTaobaoxhotelgetentitybytagRequest ¶ added in v1.3.1
func NewTaobaoxhotelgetentitybytagRequest() *TaobaoxhotelgetentitybytagAPIRequest
NewTaobaoxhotelgetentitybytagRequest 初始化TaobaoxhotelgetentitybytagAPIRequest对象
func (TaobaoxhotelgetentitybytagAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelgetentitybytagAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelgetentitybytagAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelgetentitybytagAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelgetentitybytagAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelgetentitybytagAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelgetentitybytagAPIRequest) GetTag ¶ added in v1.3.1
func (r TaobaoxhotelgetentitybytagAPIRequest) GetTag() int64
GetTag Tag Getter
func (TaobaoxhotelgetentitybytagAPIRequest) GetTokenStr ¶ added in v1.3.1
func (r TaobaoxhotelgetentitybytagAPIRequest) GetTokenStr() string
GetTokenStr TokenStr Getter
func (*TaobaoxhotelgetentitybytagAPIRequest) SetTag ¶ added in v1.3.1
func (r *TaobaoxhotelgetentitybytagAPIRequest) SetTag(_tag int64) error
SetTag is Tag Setter 标签
func (*TaobaoxhotelgetentitybytagAPIRequest) SetTokenStr ¶ added in v1.3.1
func (r *TaobaoxhotelgetentitybytagAPIRequest) SetTokenStr(_tokenStr string) error
SetTokenStr is TokenStr Setter 查询token,�填入上一页查询的返回结果,只能按顺序单线程查询
type TaobaoxhotelgetentitybytagAPIResponse ¶ added in v1.3.1
type TaobaoxhotelgetentitybytagAPIResponse struct { model.CommonResponse TaobaoxhotelgetentitybytagAPIResponseModel }
TaobaoxhotelgetentitybytagAPIResponse 根据标签查询实体 API返回值 taobao.xhotel.get.entity.by.tag
根据标签查询实体
type TaobaoxhotelgetentitybytagAPIResponseModel ¶ added in v1.3.1
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 根据标签查询实体 成功返回结果
type TaobaoxhotelhouseaddAPIRequest ¶ added in v1.3.1
type TaobaoxhotelhouseaddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelhouseaddAPIRequest 非标准民宿房源添加 API请求 taobao.xhotel.house.add
添加酒店或更新酒店
func NewTaobaoxhotelhouseaddRequest ¶ added in v1.3.1
func NewTaobaoxhotelhouseaddRequest() *TaobaoxhotelhouseaddAPIRequest
NewTaobaoxhotelhouseaddRequest 初始化TaobaoxhotelhouseaddAPIRequest对象
func (TaobaoxhotelhouseaddAPIRequest) GetAddress ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetAddress() string
GetAddress Address Getter
func (TaobaoxhotelhouseaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelhouseaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelhouseaddAPIRequest) GetArroundDesc ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetArroundDesc() string
GetArroundDesc ArroundDesc Getter
func (TaobaoxhotelhouseaddAPIRequest) GetBookingNotice ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetBookingNotice() string
GetBookingNotice BookingNotice Getter
func (TaobaoxhotelhouseaddAPIRequest) GetBrand ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetBrand() string
GetBrand Brand Getter
func (TaobaoxhotelhouseaddAPIRequest) GetBusiness ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetBusiness() string
GetBusiness Business Getter
func (TaobaoxhotelhouseaddAPIRequest) GetCity ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetCity() int64
GetCity City Getter
func (TaobaoxhotelhouseaddAPIRequest) GetCountry ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetCountry() string
GetCountry Country Getter
func (TaobaoxhotelhouseaddAPIRequest) GetCreditCardTypes ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetCreditCardTypes() string
GetCreditCardTypes CreditCardTypes Getter
func (TaobaoxhotelhouseaddAPIRequest) GetDecorateTime ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetDecorateTime() string
GetDecorateTime DecorateTime Getter
func (TaobaoxhotelhouseaddAPIRequest) GetDescription ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetDescription() string
GetDescription Description Getter
func (TaobaoxhotelhouseaddAPIRequest) GetDistrict ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetDistrict() int64
GetDistrict District Getter
func (TaobaoxhotelhouseaddAPIRequest) GetDomestic ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetDomestic() int64
GetDomestic Domestic Getter
func (TaobaoxhotelhouseaddAPIRequest) GetExtend ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetExtend() string
GetExtend Extend Getter
func (TaobaoxhotelhouseaddAPIRequest) GetFloors ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetFloors() string
GetFloors Floors Getter
func (TaobaoxhotelhouseaddAPIRequest) GetHotelFacilities ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetHotelFacilities() string
GetHotelFacilities HotelFacilities Getter
func (TaobaoxhotelhouseaddAPIRequest) GetHotelPolicies ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetHotelPolicies() string
GetHotelPolicies HotelPolicies Getter
func (TaobaoxhotelhouseaddAPIRequest) GetLatitude ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetLatitude() string
GetLatitude Latitude Getter
func (TaobaoxhotelhouseaddAPIRequest) GetLongitude ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetLongitude() string
GetLongitude Longitude Getter
func (TaobaoxhotelhouseaddAPIRequest) GetName ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoxhotelhouseaddAPIRequest) GetNameE ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetNameE() string
GetNameE NameE Getter
func (TaobaoxhotelhouseaddAPIRequest) GetOpeningTime ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetOpeningTime() string
GetOpeningTime OpeningTime Getter
func (TaobaoxhotelhouseaddAPIRequest) GetOrbitTrack ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetOrbitTrack() string
GetOrbitTrack OrbitTrack Getter
func (TaobaoxhotelhouseaddAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoxhotelhouseaddAPIRequest) GetOwnerInfo ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetOwnerInfo() string
GetOwnerInfo OwnerInfo Getter
func (TaobaoxhotelhouseaddAPIRequest) GetPics ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetPics() string
GetPics Pics Getter
func (TaobaoxhotelhouseaddAPIRequest) GetPositionType ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetPositionType() string
GetPositionType PositionType Getter
func (TaobaoxhotelhouseaddAPIRequest) GetPostalCode ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetPostalCode() string
GetPostalCode PostalCode Getter
func (TaobaoxhotelhouseaddAPIRequest) GetProvince ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetProvince() int64
GetProvince Province Getter
func (TaobaoxhotelhouseaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelhouseaddAPIRequest) GetRealAddress ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetRealAddress() string
GetRealAddress RealAddress Getter
func (TaobaoxhotelhouseaddAPIRequest) GetRoomFacilities ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetRoomFacilities() string
GetRoomFacilities RoomFacilities Getter
func (TaobaoxhotelhouseaddAPIRequest) GetRooms ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetRooms() int64
GetRooms Rooms Getter
func (TaobaoxhotelhouseaddAPIRequest) GetService ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetService() string
GetService Service Getter
func (TaobaoxhotelhouseaddAPIRequest) GetSettlementCurrency ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetSettlementCurrency() string
GetSettlementCurrency SettlementCurrency Getter
func (TaobaoxhotelhouseaddAPIRequest) GetShid ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetShid() int64
GetShid Shid Getter
func (TaobaoxhotelhouseaddAPIRequest) GetStar ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetStar() string
GetStar Star Getter
func (TaobaoxhotelhouseaddAPIRequest) GetStatus ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetStatus() int64
GetStatus Status Getter
func (TaobaoxhotelhouseaddAPIRequest) GetSupplier ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetSupplier() string
GetSupplier Supplier Getter
func (TaobaoxhotelhouseaddAPIRequest) GetTel ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetTel() string
GetTel Tel Getter
func (TaobaoxhotelhouseaddAPIRequest) GetUsedName ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetUsedName() string
GetUsedName UsedName Getter
func (TaobaoxhotelhouseaddAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelhouseaddAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelhouseaddAPIRequest) SetAddress ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetAddress(_address string) error
SetAddress is Address Setter 酒店地址。长度不能超过120。不填入会导致不能自动匹配,此地址为下单前展示给用户地址
func (*TaobaoxhotelhouseaddAPIRequest) SetArroundDesc ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetArroundDesc(_arroundDesc string) error
SetArroundDesc is ArroundDesc Setter 描述信息,inside: 内部描述,traffic:交通情况,arround:周边情况
func (*TaobaoxhotelhouseaddAPIRequest) SetBookingNotice ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetBusiness(_business string) error
SetBusiness is Business Setter 商业区(圈)长度不超过20字
func (*TaobaoxhotelhouseaddAPIRequest) SetCity ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetCity(_city int64) error
SetCity is City Setter 城市编码。参见:http://hotel.alitrip.com/area.htm,domestic为false时,输入对应国家的海外城市编码,可调用海外城市查询接口获取;(更新酒店时为可选)
func (*TaobaoxhotelhouseaddAPIRequest) SetCountry ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetCreditCardTypes(_creditCardTypes string) error
SetCreditCardTypes is CreditCardTypes Setter 逗号分隔的字符串 1visa;2万事达卡;3美国运通卡;4发现卡;5大来卡;6JCB卡;7银联卡
func (*TaobaoxhotelhouseaddAPIRequest) SetDecorateTime ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetDecorateTime(_decorateTime string) error
SetDecorateTime is DecorateTime Setter 装修时间,格式为2015-01-01装修时间
func (*TaobaoxhotelhouseaddAPIRequest) SetDescription ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetDescription(_description string) error
SetDescription is Description Setter 酒店描述
func (*TaobaoxhotelhouseaddAPIRequest) SetDistrict ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetDistrict(_district int64) error
SetDistrict is District Setter 区域(县级市)编码。参见:http://hotel.alitrip.com/area.htm
func (*TaobaoxhotelhouseaddAPIRequest) SetDomestic ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetDomestic(_domestic int64) error
SetDomestic is Domestic Setter 是否国内酒店。0:国内;1:国外。默认是国内
func (*TaobaoxhotelhouseaddAPIRequest) SetExtend ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetExtend(_extend string) error
SetExtend is Extend Setter 扩展信息的JSON。注:此字段的值需要ISV在接入前与淘宝沟通,且确认能解析
func (*TaobaoxhotelhouseaddAPIRequest) SetFloors ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetFloors(_floors string) error
SetFloors is Floors Setter 楼层信息。
func (*TaobaoxhotelhouseaddAPIRequest) SetHotelFacilities ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetLatitude(_latitude string) error
SetLatitude is Latitude Setter 纬度
func (*TaobaoxhotelhouseaddAPIRequest) SetLongitude ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetLongitude(_longitude string) error
SetLongitude is Longitude Setter 经度
func (*TaobaoxhotelhouseaddAPIRequest) SetName ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetName(_name string) error
SetName is Name Setter 酒店名称
func (*TaobaoxhotelhouseaddAPIRequest) SetNameE ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetNameE(_nameE string) error
SetNameE is NameE Setter 卖家酒店英文名称
func (*TaobaoxhotelhouseaddAPIRequest) SetOpeningTime ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetOpeningTime(_openingTime string) error
SetOpeningTime is OpeningTime Setter 开业时间,格式为2015-01-01
func (*TaobaoxhotelhouseaddAPIRequest) SetOrbitTrack ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetOrbitTrack(_orbitTrack string) error
SetOrbitTrack is OrbitTrack Setter 扩展信息的JSON。 orbitTrack 业务字段是指从飞猪到酒店说经过平台名以及方式的一个数组,按顺序,从飞猪,再经过若干平台,最后到酒店, platform是指定当前平台名,ways 是指通过哪种方式到该平台 其中,飞猪到下一个平台里, ways 字段只能是【直连】、【人工】两个方式之一; 从最后一个平台到酒店的ways字段只能是【电话】、【传真】、【人工】、【系统】之一; 第一个 飞猪平台 和 最后具体酒店是至少得填的
func (*TaobaoxhotelhouseaddAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 外部酒店ID, 这是卖家自己系统中的ID
func (*TaobaoxhotelhouseaddAPIRequest) SetOwnerInfo ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetPositionType(_positionType string) error
SetPositionType is PositionType Setter 坐标类型,现在支持:G – GoogleB – 百度A – 高德M – MapbarL – 灵图
func (*TaobaoxhotelhouseaddAPIRequest) SetPostalCode ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetPostalCode(_postalCode string) error
SetPostalCode is PostalCode Setter 邮政编码。
func (*TaobaoxhotelhouseaddAPIRequest) SetProvince ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetProvince(_province int64) error
SetProvince is Province Setter 省份编码。选填,不填入的时候已city字段为准.参见:http://hotel.alitrip.com/area.htm,domestic为false时默认为0
func (*TaobaoxhotelhouseaddAPIRequest) SetRealAddress ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetRealAddress(_realAddress string) error
SetRealAddress is RealAddress Setter 用户下单之后�展示的详细地址
func (*TaobaoxhotelhouseaddAPIRequest) SetRoomFacilities ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetRooms(_rooms int64) error
SetRooms is Rooms Setter 房间数 0~9999之内的数字
func (*TaobaoxhotelhouseaddAPIRequest) SetService ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetSettlementCurrency(_settlementCurrency string) error
SetSettlementCurrency is SettlementCurrency Setter 结算过程中的结算币种符合,如需对接请联系飞猪技术支持,请谨慎使用
func (*TaobaoxhotelhouseaddAPIRequest) SetShid ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetShid(_shid int64) error
SetShid is Shid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝酒店的匹配关系。目前尚未启动该字段。
func (*TaobaoxhotelhouseaddAPIRequest) SetStar ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 数据状态 0:正常,-1:删除,-2:停售
func (*TaobaoxhotelhouseaddAPIRequest) SetSupplier ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetSupplier(_supplier string) error
SetSupplier is Supplier Setter 供应商标识,需要提前开通权限,如果需要对接请联系技术支持,请谨慎使用
func (*TaobaoxhotelhouseaddAPIRequest) SetTel ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetTel(_tel string) error
SetTel is Tel Setter 酒店电话。格式:国家代码(最长6位)#区号(最长4位)#电话(最长20位)。国家代码提示:中国大陆0086、香港00852、澳门00853、台湾00886
func (*TaobaoxhotelhouseaddAPIRequest) SetUsedName ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetUsedName(_usedName string) error
SetUsedName is UsedName Setter 酒店曾用名
func (*TaobaoxhotelhouseaddAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelhouseaddAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用
type TaobaoxhotelhouseaddAPIResponse ¶ added in v1.3.1
type TaobaoxhotelhouseaddAPIResponse struct { model.CommonResponse TaobaoxhotelhouseaddAPIResponseModel }
TaobaoxhotelhouseaddAPIResponse 非标准民宿房源添加 API返回值 taobao.xhotel.house.add
添加酒店或更新酒店
type TaobaoxhotelhouseaddAPIResponseModel ¶ added in v1.3.1
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 非标准民宿房源添加 成功返回结果
type TaobaoxhotelhouseroomtypeaddAPIRequest ¶ added in v1.3.1
type TaobaoxhotelhouseroomtypeaddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelhouseroomtypeaddAPIRequest 民宿房型信息添加 API请求 taobao.xhotel.house.roomtype.add
房型添加或更新
func NewTaobaoxhotelhouseroomtypeaddRequest ¶ added in v1.3.1
func NewTaobaoxhotelhouseroomtypeaddRequest() *TaobaoxhotelhouseroomtypeaddAPIRequest
NewTaobaoxhotelhouseroomtypeaddRequest 初始化TaobaoxhotelhouseroomtypeaddAPIRequest对象
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetArea ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetArea() string
GetArea Area Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetBedInfo ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetBedInfo() string
GetBedInfo BedInfo Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetConnectionType ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetConnectionType() int64
GetConnectionType ConnectionType Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetExtend ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetExtend() string
GetExtend Extend Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetFloor ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetFloor() string
GetFloor Floor Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetHasLandlord ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetHasLandlord() int64
GetHasLandlord HasLandlord Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetHouseModel ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetHouseModel() string
GetHouseModel HouseModel Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetHouseSize ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetHouseSize() int64
GetHouseSize HouseSize Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetInternet ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetInternet() string
GetInternet Internet Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetMaxOccupancy ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetMaxOccupancy() int64
GetMaxOccupancy MaxOccupancy Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetName ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetNameE ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetNameE() string
GetNameE NameE Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetOperator ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetOperator() string
GetOperator Operator Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetOutHid ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetPics ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetPics() string
GetPics Pics Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetRentSize ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetRentSize() int64
GetRentSize RentSize Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetRentType ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetRentType() int64
GetRentType RentType Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetService ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetService() string
GetService Service Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetSrid ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetSrid() int64
GetSrid Srid Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetStatus ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetStatus() int64
GetStatus Status Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (TaobaoxhotelhouseroomtypeaddAPIRequest) GetWindowType ¶ added in v1.3.1
func (r TaobaoxhotelhouseroomtypeaddAPIRequest) GetWindowType() int64
GetWindowType WindowType Getter
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetArea ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetArea(_area string) error
SetArea is Area Setter 具体面积大小,请按照正确格式填写。两种格式,例如:40或者 10-20
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetBedInfo ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetConnectionType(_connectionType int64) error
SetConnectionType is ConnectionType Setter 属性值为1: 含义是非直连房型
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetExtend ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetExtend(_extend string) error
SetExtend is Extend Setter 不要使用
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetFloor ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetFloor(_floor string) error
SetFloor is Floor Setter 客房在建筑的第几层,隔层为1-2层,4-5层,7-8层
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetHasLandlord ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetHasLandlord(_hasLandlord int64) error
SetHasLandlord is HasLandlord Setter 是否和房东合住:0.不和房东合住;1.和房东合住;
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter (已废弃)请使用outHid
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetHouseModel ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetHouseModel(_houseModel string) error
SetHouseModel is HouseModel Setter 房屋户型, bedroom: 室, bathroom: 卫, livingroom: 厅, study: 书房, balcony: 阳台,kitchen: 厨房
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetHouseSize ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetHouseSize(_houseSize int64) error
SetHouseSize is HouseSize Setter 房屋面积
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetInternet ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetInternet(_internet string) error
SetInternet is Internet Setter 宽带服务。A,B,C,D。分别代表: A:无宽带,B:免费宽带,C:收费宽带,D:部分收费宽带
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetMaxOccupancy ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetMaxOccupancy(_maxOccupancy int64) error
SetMaxOccupancy is MaxOccupancy Setter 最大入住人数,默认2(1-99)
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetName ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetName(_name string) error
SetName is Name Setter 房型名称。不能超过30字
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetNameE ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetNameE(_nameE string) error
SetNameE is NameE Setter 卖家房型英文名称
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetOperator ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetOperator(_operator string) error
SetOperator is Operator Setter 操作人信息
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetOutHid ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter (必传)商家酒店ID,指明该房型属于哪家酒店
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 卖家房型ID,不能重复建议格式是:酒店code_房型code
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetPics ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetPics(_pics string) error
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 ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetRentSize(_rentSize int64) error
SetRentSize is RentSize Setter 出租面积,单位平方米
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetRentType ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetRentType(_rentType int64) error
SetRentType is RentType Setter 出租类型:1.整租;2.单间;3.床位
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetService ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetSrid(_srid int64) error
SetSrid is Srid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝房型的匹配关系。目前尚未启动该字段。
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetStatus ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 数据状态 0:正常,-1:删除,-2:停售
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,无申请不可使用
func (*TaobaoxhotelhouseroomtypeaddAPIRequest) SetWindowType ¶ added in v1.3.1
func (r *TaobaoxhotelhouseroomtypeaddAPIRequest) SetWindowType(_windowType int64) error
SetWindowType is WindowType Setter 0:无窗/1:有窗/2:部分有窗/3:暗窗/4:部分暗窗
type TaobaoxhotelhouseroomtypeaddAPIResponse ¶ added in v1.3.1
type TaobaoxhotelhouseroomtypeaddAPIResponse struct { model.CommonResponse TaobaoxhotelhouseroomtypeaddAPIResponseModel }
TaobaoxhotelhouseroomtypeaddAPIResponse 民宿房型信息添加 API返回值 taobao.xhotel.house.roomtype.add
房型添加或更新
type TaobaoxhotelhouseroomtypeaddAPIResponseModel ¶ added in v1.3.1
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 民宿房型信息添加 成功返回结果
type TaobaoxhotelincrementinfogetAPIRequest ¶ added in v1.3.1
type TaobaoxhotelincrementinfogetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelincrementinfogetAPIRequest 酒店状态增量查询接口 API请求 taobao.xhotel.increment.info.get
酒店状态增量查询接口
func NewTaobaoxhotelincrementinfogetRequest ¶ added in v1.3.1
func NewTaobaoxhotelincrementinfogetRequest() *TaobaoxhotelincrementinfogetAPIRequest
NewTaobaoxhotelincrementinfogetRequest 初始化TaobaoxhotelincrementinfogetAPIRequest对象
func (TaobaoxhotelincrementinfogetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelincrementinfogetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelincrementinfogetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelincrementinfogetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelincrementinfogetAPIRequest) GetChangeType ¶ added in v1.3.1
func (r TaobaoxhotelincrementinfogetAPIRequest) GetChangeType() int64
GetChangeType ChangeType Getter
func (TaobaoxhotelincrementinfogetAPIRequest) GetCurrentPage ¶ added in v1.3.1
func (r TaobaoxhotelincrementinfogetAPIRequest) GetCurrentPage() int64
GetCurrentPage CurrentPage Getter
func (TaobaoxhotelincrementinfogetAPIRequest) GetGmtModified ¶ added in v1.3.1
func (r TaobaoxhotelincrementinfogetAPIRequest) GetGmtModified() string
GetGmtModified GmtModified Getter
func (TaobaoxhotelincrementinfogetAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaoxhotelincrementinfogetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoxhotelincrementinfogetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelincrementinfogetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelincrementinfogetAPIRequest) SetChangeType ¶ added in v1.3.1
func (r *TaobaoxhotelincrementinfogetAPIRequest) SetChangeType(_changeType int64) error
SetChangeType is ChangeType Setter 变化类别,1为酒店价格,0为酒店
func (*TaobaoxhotelincrementinfogetAPIRequest) SetCurrentPage ¶ added in v1.3.1
func (r *TaobaoxhotelincrementinfogetAPIRequest) SetCurrentPage(_currentPage int64) error
SetCurrentPage is CurrentPage Setter 分页参数:当前页数,从1开始计数。<br/>默认值:1
func (*TaobaoxhotelincrementinfogetAPIRequest) SetGmtModified ¶ added in v1.3.1
func (r *TaobaoxhotelincrementinfogetAPIRequest) SetGmtModified(_gmtModified string) error
SetGmtModified is GmtModified Setter 更新时间
func (*TaobaoxhotelincrementinfogetAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaoxhotelincrementinfogetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页参数:每页酒店数量。最小值1,最大值为1000。默认值:1000
type TaobaoxhotelincrementinfogetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelincrementinfogetAPIResponse struct { model.CommonResponse TaobaoxhotelincrementinfogetAPIResponseModel }
TaobaoxhotelincrementinfogetAPIResponse 酒店状态增量查询接口 API返回值 taobao.xhotel.increment.info.get
酒店状态增量查询接口
type TaobaoxhotelincrementinfogetAPIResponseModel ¶ added in v1.3.1
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>shotel,omitempty"` // 酒店总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoxhotelincrementinfogetAPIResponseModel is 酒店状态增量查询接口 成功返回结果
type TaobaoxhotelitemselectionsellerstatexposureAPIRequest ¶ added in v1.3.1
type TaobaoxhotelitemselectionsellerstatexposureAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelitemselectionsellerstatexposureAPIRequest 选品曝光趋势 API请求 taobao.xhotel.item.selection.seller.stat.exposure
用于提供给商家获取选品曝光趋势
func NewTaobaoxhotelitemselectionsellerstatexposureRequest ¶ added in v1.3.1
func NewTaobaoxhotelitemselectionsellerstatexposureRequest() *TaobaoxhotelitemselectionsellerstatexposureAPIRequest
NewTaobaoxhotelitemselectionsellerstatexposureRequest 初始化TaobaoxhotelitemselectionsellerstatexposureAPIRequest对象
func (TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetDate ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetDate() string
GetDate Date Getter
func (TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetHid() string
GetHid Hid Getter
func (TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetOutHid ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetSupplier ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetSupplier() string
GetSupplier Supplier Getter
func (TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstatexposureAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelitemselectionsellerstatexposureAPIRequest) SetDate ¶ added in v1.3.1
func (r *TaobaoxhotelitemselectionsellerstatexposureAPIRequest) SetDate(_date string) error
SetDate is Date Setter 日期 默认为昨天
func (*TaobaoxhotelitemselectionsellerstatexposureAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhotelitemselectionsellerstatexposureAPIRequest) SetHid(_hid string) error
SetHid is Hid Setter hid 默认为all
func (*TaobaoxhotelitemselectionsellerstatexposureAPIRequest) SetOutHid ¶ added in v1.3.1
func (r *TaobaoxhotelitemselectionsellerstatexposureAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 酒店编码
func (*TaobaoxhotelitemselectionsellerstatexposureAPIRequest) SetSupplier ¶ added in v1.3.1
func (r *TaobaoxhotelitemselectionsellerstatexposureAPIRequest) SetSupplier(_supplier string) error
SetSupplier is Supplier Setter 默认为all
func (*TaobaoxhotelitemselectionsellerstatexposureAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelitemselectionsellerstatexposureAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 默认为all
type TaobaoxhotelitemselectionsellerstatexposureAPIResponse ¶ added in v1.3.1
type TaobaoxhotelitemselectionsellerstatexposureAPIResponse struct { model.CommonResponse TaobaoxhotelitemselectionsellerstatexposureAPIResponseModel }
TaobaoxhotelitemselectionsellerstatexposureAPIResponse 选品曝光趋势 API返回值 taobao.xhotel.item.selection.seller.stat.exposure
用于提供给商家获取选品曝光趋势
type TaobaoxhotelitemselectionsellerstatexposureAPIResponseModel ¶ added in v1.3.1
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 选品曝光趋势 成功返回结果
type TaobaoxhotelitemselectionsellerstatexposureModule ¶ added in v1.3.1
type TaobaoxhotelitemselectionsellerstatexposureModule struct { // 返回结果 SellerStatExposureElementList []SellerStatExposureElementList `` /* 134-byte string literal not displayed */ }
TaobaoxhotelitemselectionsellerstatexposureModule 结构体
type TaobaoxhotelitemselectionsellerstatexposureResult ¶ added in v1.3.1
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 结构体
type TaobaoxhotelitemselectionsellerstathotshidAPIRequest ¶ added in v1.3.1
type TaobaoxhotelitemselectionsellerstathotshidAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelitemselectionsellerstathotshidAPIRequest 供应链选品热销标准酒店覆盖情况 API请求 taobao.xhotel.item.selection.seller.stat.hotshid
供应链选品热销标准酒店覆盖情况
func NewTaobaoxhotelitemselectionsellerstathotshidRequest ¶ added in v1.3.1
func NewTaobaoxhotelitemselectionsellerstathotshidRequest() *TaobaoxhotelitemselectionsellerstathotshidAPIRequest
NewTaobaoxhotelitemselectionsellerstathotshidRequest 初始化TaobaoxhotelitemselectionsellerstathotshidAPIRequest对象
func (TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetDate ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetDate() string
GetDate Date Getter
func (TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetHid() string
GetHid Hid Getter
func (TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetOutHid ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetSupplier ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetSupplier() string
GetSupplier Supplier Getter
func (TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstathotshidAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelitemselectionsellerstathotshidAPIRequest) SetDate ¶ added in v1.3.1
func (r *TaobaoxhotelitemselectionsellerstathotshidAPIRequest) SetDate(_date string) error
SetDate is Date Setter 日期 默认为昨天
func (*TaobaoxhotelitemselectionsellerstathotshidAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhotelitemselectionsellerstathotshidAPIRequest) SetHid(_hid string) error
SetHid is Hid Setter 酒店id 默认all
func (*TaobaoxhotelitemselectionsellerstathotshidAPIRequest) SetOutHid ¶ added in v1.3.1
func (r *TaobaoxhotelitemselectionsellerstathotshidAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 酒店编码
func (*TaobaoxhotelitemselectionsellerstathotshidAPIRequest) SetSupplier ¶ added in v1.3.1
func (r *TaobaoxhotelitemselectionsellerstathotshidAPIRequest) SetSupplier(_supplier string) error
SetSupplier is Supplier Setter supplier 默认all
func (*TaobaoxhotelitemselectionsellerstathotshidAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelitemselectionsellerstathotshidAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter vendor 默认all
type TaobaoxhotelitemselectionsellerstathotshidAPIResponse ¶ added in v1.3.1
type TaobaoxhotelitemselectionsellerstathotshidAPIResponse struct { model.CommonResponse TaobaoxhotelitemselectionsellerstathotshidAPIResponseModel }
TaobaoxhotelitemselectionsellerstathotshidAPIResponse 供应链选品热销标准酒店覆盖情况 API返回值 taobao.xhotel.item.selection.seller.stat.hotshid
供应链选品热销标准酒店覆盖情况
type TaobaoxhotelitemselectionsellerstathotshidAPIResponseModel ¶ added in v1.3.1
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 供应链选品热销标准酒店覆盖情况 成功返回结果
type TaobaoxhotelitemselectionsellerstathotshidModule ¶ added in v1.3.1
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 结构体
type TaobaoxhotelitemselectionsellerstathotshidResult ¶ added in v1.3.1
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 结构体
type TaobaoxhotelitemselectionsellerstatsummaryAPIRequest ¶ added in v1.3.1
type TaobaoxhotelitemselectionsellerstatsummaryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelitemselectionsellerstatsummaryAPIRequest 商家数据-选品整体概况 API请求 taobao.xhotel.item.selection.seller.stat.summary
商家数据-选品整体概况
func NewTaobaoxhotelitemselectionsellerstatsummaryRequest ¶ added in v1.3.1
func NewTaobaoxhotelitemselectionsellerstatsummaryRequest() *TaobaoxhotelitemselectionsellerstatsummaryAPIRequest
NewTaobaoxhotelitemselectionsellerstatsummaryRequest 初始化TaobaoxhotelitemselectionsellerstatsummaryAPIRequest对象
func (TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetDate ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetDate() string
GetDate Date Getter
func (TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetHid() string
GetHid Hid Getter
func (TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetOutHid ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetSupplier ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetSupplier() string
GetSupplier Supplier Getter
func (TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) SetDate ¶ added in v1.3.1
func (r *TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) SetDate(_date string) error
SetDate is Date Setter 日期 默认为昨天
func (*TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) SetHid(_hid string) error
SetHid is Hid Setter hid 默认为all
func (*TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) SetOutHid ¶ added in v1.3.1
func (r *TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 外部酒店编码
func (*TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) SetSupplier ¶ added in v1.3.1
func (r *TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) SetSupplier(_supplier string) error
SetSupplier is Supplier Setter supplier 默认为all
func (*TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelitemselectionsellerstatsummaryAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter vendor 默认为all
type TaobaoxhotelitemselectionsellerstatsummaryAPIResponse ¶ added in v1.3.1
type TaobaoxhotelitemselectionsellerstatsummaryAPIResponse struct { model.CommonResponse TaobaoxhotelitemselectionsellerstatsummaryAPIResponseModel }
TaobaoxhotelitemselectionsellerstatsummaryAPIResponse 商家数据-选品整体概况 API返回值 taobao.xhotel.item.selection.seller.stat.summary
商家数据-选品整体概况
type TaobaoxhotelitemselectionsellerstatsummaryAPIResponseModel ¶ added in v1.3.1
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 商家数据-选品整体概况 成功返回结果
type TaobaoxhotelmultipleratedeleteAPIRequest ¶ added in v1.3.1
type TaobaoxhotelmultipleratedeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelmultipleratedeleteAPIRequest 复杂价格删除 API请求 taobao.xhotel.multiplerate.delete
酒店产品库rate删除
func NewTaobaoxhotelmultipleratedeleteRequest ¶ added in v1.3.1
func NewTaobaoxhotelmultipleratedeleteRequest() *TaobaoxhotelmultipleratedeleteAPIRequest
NewTaobaoxhotelmultipleratedeleteRequest 初始化TaobaoxhotelmultipleratedeleteAPIRequest对象
func (TaobaoxhotelmultipleratedeleteAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelmultipleratedeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelmultipleratedeleteAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelmultipleratedeleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelmultipleratedeleteAPIRequest) GetLengthofstay ¶ added in v1.3.1
func (r TaobaoxhotelmultipleratedeleteAPIRequest) GetLengthofstay() int64
GetLengthofstay Lengthofstay Getter
func (TaobaoxhotelmultipleratedeleteAPIRequest) GetOccupancy ¶ added in v1.3.1
func (r TaobaoxhotelmultipleratedeleteAPIRequest) GetOccupancy() int64
GetOccupancy Occupancy Getter
func (TaobaoxhotelmultipleratedeleteAPIRequest) GetOutRid ¶ added in v1.3.1
func (r TaobaoxhotelmultipleratedeleteAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoxhotelmultipleratedeleteAPIRequest) GetRateplanCode ¶ added in v1.3.1
func (r TaobaoxhotelmultipleratedeleteAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoxhotelmultipleratedeleteAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelmultipleratedeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelmultipleratedeleteAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelmultipleratedeleteAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelmultipleratedeleteAPIRequest) SetLengthofstay ¶ added in v1.3.1
func (r *TaobaoxhotelmultipleratedeleteAPIRequest) SetLengthofstay(_lengthofstay int64) error
SetLengthofstay is Lengthofstay Setter 入住人数
func (*TaobaoxhotelmultipleratedeleteAPIRequest) SetOccupancy ¶ added in v1.3.1
func (r *TaobaoxhotelmultipleratedeleteAPIRequest) SetOccupancy(_occupancy int64) error
SetOccupancy is Occupancy Setter 连住天数
func (*TaobaoxhotelmultipleratedeleteAPIRequest) SetOutRid ¶ added in v1.3.1
func (r *TaobaoxhotelmultipleratedeleteAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 商家房型编码
func (*TaobaoxhotelmultipleratedeleteAPIRequest) SetRateplanCode ¶ added in v1.3.1
func (r *TaobaoxhotelmultipleratedeleteAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 商家价格政策编码
func (*TaobaoxhotelmultipleratedeleteAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelmultipleratedeleteAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 渠道,和推送房价所使用的渠道保持一致
type TaobaoxhotelmultipleratedeleteAPIResponse ¶ added in v1.3.1
type TaobaoxhotelmultipleratedeleteAPIResponse struct { model.CommonResponse TaobaoxhotelmultipleratedeleteAPIResponseModel }
TaobaoxhotelmultipleratedeleteAPIResponse 复杂价格删除 API返回值 taobao.xhotel.multiplerate.delete
酒店产品库rate删除
type TaobaoxhotelmultipleratedeleteAPIResponseModel ¶ added in v1.3.1
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 复杂价格删除 成功返回结果
type TaobaoxhotelmultipleratedeleteResultSet ¶ added in v1.3.1
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 结构体
type TaobaoxhotelmultiplerategetAPIRequest ¶ added in v1.3.1
type TaobaoxhotelmultiplerategetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelmultiplerategetAPIRequest 复杂房价查询接口 API请求 taobao.xhotel.multiplerate.get
查询复杂房价,支持通过入住人数,连住天数,商品信息,房价信息查询
func NewTaobaoxhotelmultiplerategetRequest ¶ added in v1.3.1
func NewTaobaoxhotelmultiplerategetRequest() *TaobaoxhotelmultiplerategetAPIRequest
NewTaobaoxhotelmultiplerategetRequest 初始化TaobaoxhotelmultiplerategetAPIRequest对象
func (TaobaoxhotelmultiplerategetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerategetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelmultiplerategetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerategetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelmultiplerategetAPIRequest) GetGid ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerategetAPIRequest) GetGid() int64
GetGid Gid Getter
func (TaobaoxhotelmultiplerategetAPIRequest) GetNod ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerategetAPIRequest) GetNod() int64
GetNod Nod Getter
func (TaobaoxhotelmultiplerategetAPIRequest) GetNop ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerategetAPIRequest) GetNop() int64
GetNop Nop Getter
func (TaobaoxhotelmultiplerategetAPIRequest) GetOutRid ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerategetAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoxhotelmultiplerategetAPIRequest) GetRatePlanCode ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerategetAPIRequest) GetRatePlanCode() string
GetRatePlanCode RatePlanCode Getter
func (TaobaoxhotelmultiplerategetAPIRequest) GetRatePlanId ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerategetAPIRequest) GetRatePlanId() int64
GetRatePlanId RatePlanId Getter
func (TaobaoxhotelmultiplerategetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerategetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelmultiplerategetAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerategetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelmultiplerategetAPIRequest) SetGid ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerategetAPIRequest) SetGid(_gid int64) error
SetGid is Gid Setter 废弃,使用out_rid
func (*TaobaoxhotelmultiplerategetAPIRequest) SetNod ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerategetAPIRequest) SetNod(_nod int64) error
SetNod is Nod Setter 连住天数(范围1~10)
func (*TaobaoxhotelmultiplerategetAPIRequest) SetNop ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerategetAPIRequest) SetNop(_nop int64) error
SetNop is Nop Setter 入住人数(范围1~10)
func (*TaobaoxhotelmultiplerategetAPIRequest) SetOutRid ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerategetAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 卖家的房型code
func (*TaobaoxhotelmultiplerategetAPIRequest) SetRatePlanCode ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerategetAPIRequest) SetRatePlanCode(_ratePlanCode string) error
SetRatePlanCode is RatePlanCode Setter 卖家的房价code
func (*TaobaoxhotelmultiplerategetAPIRequest) SetRatePlanId ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerategetAPIRequest) SetRatePlanId(_ratePlanId int64) error
SetRatePlanId is RatePlanId Setter 废弃,使用rate_plan_code
func (*TaobaoxhotelmultiplerategetAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerategetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不填写,使用须申请
type TaobaoxhotelmultiplerategetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelmultiplerategetAPIResponse struct { model.CommonResponse TaobaoxhotelmultiplerategetAPIResponseModel }
TaobaoxhotelmultiplerategetAPIResponse 复杂房价查询接口 API返回值 taobao.xhotel.multiplerate.get
查询复杂房价,支持通过入住人数,连住天数,商品信息,房价信息查询
type TaobaoxhotelmultiplerategetAPIResponseModel ¶ added in v1.3.1
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 复杂房价查询接口 成功返回结果
type TaobaoxhotelmultipleratesincrementAPIRequest ¶ added in v1.3.1
type TaobaoxhotelmultipleratesincrementAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelmultipleratesincrementAPIRequest 复杂房价推送接口(批量增量) API请求 taobao.xhotel.multiplerates.increment
复杂房价批量增量更新,只会更新指定日期的信息 完全涵盖了taobao.xhotel.rates.increment接口的功能
func NewTaobaoxhotelmultipleratesincrementRequest ¶ added in v1.3.1
func NewTaobaoxhotelmultipleratesincrementRequest() *TaobaoxhotelmultipleratesincrementAPIRequest
NewTaobaoxhotelmultipleratesincrementRequest 初始化TaobaoxhotelmultipleratesincrementAPIRequest对象
func (TaobaoxhotelmultipleratesincrementAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelmultipleratesincrementAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelmultipleratesincrementAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelmultipleratesincrementAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelmultipleratesincrementAPIRequest) GetRateQuotaMap ¶ added in v1.3.1
func (r TaobaoxhotelmultipleratesincrementAPIRequest) GetRateQuotaMap() string
GetRateQuotaMap RateQuotaMap Getter
func (TaobaoxhotelmultipleratesincrementAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelmultipleratesincrementAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelmultipleratesincrementAPIRequest) SetRateQuotaMap ¶ added in v1.3.1
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 ¶ added in v1.3.1
type TaobaoxhotelmultipleratesincrementAPIResponse struct { model.CommonResponse TaobaoxhotelmultipleratesincrementAPIResponseModel }
TaobaoxhotelmultipleratesincrementAPIResponse 复杂房价推送接口(批量增量) API返回值 taobao.xhotel.multiplerates.increment
复杂房价批量增量更新,只会更新指定日期的信息 完全涵盖了taobao.xhotel.rates.increment接口的功能
type TaobaoxhotelmultipleratesincrementAPIResponseModel ¶ added in v1.3.1
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 复杂房价推送接口(批量增量) 成功返回结果
type TaobaoxhotelmultipleratesupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelmultipleratesupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelmultipleratesupdateAPIRequest 复杂价格推送接口(批量全量) API请求 taobao.xhotel.multiplerates.update
批量更新复杂价格 涵盖了taobao.xhotel.rates.update的功能
func NewTaobaoxhotelmultipleratesupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelmultipleratesupdateRequest() *TaobaoxhotelmultipleratesupdateAPIRequest
NewTaobaoxhotelmultipleratesupdateRequest 初始化TaobaoxhotelmultipleratesupdateAPIRequest对象
func (TaobaoxhotelmultipleratesupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelmultipleratesupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelmultipleratesupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelmultipleratesupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelmultipleratesupdateAPIRequest) GetRateQuotaMap ¶ added in v1.3.1
func (r TaobaoxhotelmultipleratesupdateAPIRequest) GetRateQuotaMap() string
GetRateQuotaMap RateQuotaMap Getter
func (TaobaoxhotelmultipleratesupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelmultipleratesupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelmultipleratesupdateAPIRequest) SetRateQuotaMap ¶ added in v1.3.1
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 ¶ added in v1.3.1
type TaobaoxhotelmultipleratesupdateAPIResponse struct { model.CommonResponse TaobaoxhotelmultipleratesupdateAPIResponseModel }
TaobaoxhotelmultipleratesupdateAPIResponse 复杂价格推送接口(批量全量) API返回值 taobao.xhotel.multiplerates.update
批量更新复杂价格 涵盖了taobao.xhotel.rates.update的功能
type TaobaoxhotelmultipleratesupdateAPIResponseModel ¶ added in v1.3.1
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 复杂价格推送接口(批量全量) 成功返回结果
type TaobaoxhotelmultiplerateupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelmultiplerateupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelmultiplerateupdateAPIRequest 复杂价格推送接口(全量更新) API请求 taobao.xhotel.multiplerate.update
酒店产品库复杂rate(多人价,连住价等)更新 同时完全涵盖taobao.xhotel.rate.update的功能
func NewTaobaoxhotelmultiplerateupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelmultiplerateupdateRequest() *TaobaoxhotelmultiplerateupdateAPIRequest
NewTaobaoxhotelmultiplerateupdateRequest 初始化TaobaoxhotelmultiplerateupdateAPIRequest对象
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetBreakfast ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetBreakfast() int64
GetBreakfast Breakfast Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetBreakfastCal ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetBreakfastCal() string
GetBreakfastCal BreakfastCal Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetCancelPolicy ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetCancelPolicy() string
GetCancelPolicy CancelPolicy Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetCancelPolicyCal ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetCancelPolicyCal() string
GetCancelPolicyCal CancelPolicyCal Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetChildnum ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetChildnum() int64
GetChildnum Childnum Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetCurrencyCode ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetCurrencyCode() string
GetCurrencyCode CurrencyCode Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetGid ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetGid() int64
GetGid Gid Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetHotelXitemInfos ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetHotelXitemInfos() string
GetHotelXitemInfos HotelXitemInfos Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetInfantnum ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetInfantnum() int64
GetInfantnum Infantnum Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetInventoryPrice ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetInventoryPrice() string
GetInventoryPrice InventoryPrice Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetLengthofstay ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetLengthofstay() int64
GetLengthofstay Lengthofstay Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetLockEndTime ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetLockEndTime() string
GetLockEndTime LockEndTime Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetLockStartTime ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetLockStartTime() string
GetLockStartTime LockStartTime Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetName ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetOccupancy ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetOccupancy() int64
GetOccupancy Occupancy Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetOnlineBookingBindingInfo ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetOnlineBookingBindingInfo() string
GetOnlineBookingBindingInfo OnlineBookingBindingInfo Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetOutRid ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetRatePlanCode ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetRatePlanCode() string
GetRatePlanCode RatePlanCode Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetRateSwitchCal ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetRateSwitchCal() string
GetRateSwitchCal RateSwitchCal Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetRpid ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetRpid() int64
GetRpid Rpid Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetStatus ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetStatus() int64
GetStatus Status Getter
func (TaobaoxhotelmultiplerateupdateAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelmultiplerateupdateAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelmultiplerateupdateAPIRequest) SetBreakfast ¶ added in v1.3.1
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.3.1
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.3.1
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.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetChildnum(_childnum int64) error
SetChildnum is Childnum Setter 儿童人数
func (*TaobaoxhotelmultiplerateupdateAPIRequest) SetCurrencyCode ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetCurrencyCode(_currencyCode string) error
SetCurrencyCode is CurrencyCode Setter 币种.CNY为人民币
func (*TaobaoxhotelmultiplerateupdateAPIRequest) SetGid ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetGid(_gid int64) error
SetGid is Gid Setter 废弃,使用out_rid
func (*TaobaoxhotelmultiplerateupdateAPIRequest) SetHotelXitemInfos ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetInfantnum(_infantnum int64) error
SetInfantnum is Infantnum Setter 婴儿人数
func (*TaobaoxhotelmultiplerateupdateAPIRequest) SetInventoryPrice ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetLengthofstay(_lengthofstay int64) error
SetLengthofstay is Lengthofstay Setter 连住天数(范围1~5)
func (*TaobaoxhotelmultiplerateupdateAPIRequest) SetLockEndTime ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetLockEndTime(_lockEndTime string) error
SetLockEndTime is LockEndTime Setter 锁库存截止时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)
func (*TaobaoxhotelmultiplerateupdateAPIRequest) SetLockStartTime ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetLockStartTime(_lockStartTime string) error
SetLockStartTime is LockStartTime Setter 锁库存开始时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)
func (*TaobaoxhotelmultiplerateupdateAPIRequest) SetName ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetName(_name string) error
SetName is Name Setter 废弃
func (*TaobaoxhotelmultiplerateupdateAPIRequest) SetOccupancy ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetOccupancy(_occupancy int64) error
SetOccupancy is Occupancy Setter 入住人数(范围1~10)
func (*TaobaoxhotelmultiplerateupdateAPIRequest) SetOnlineBookingBindingInfo ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error
SetOnlineBookingBindingInfo is OnlineBookingBindingInfo Setter 在线预约关联关系推送,priceRuleNumber:加价规则序号
func (*TaobaoxhotelmultiplerateupdateAPIRequest) SetOutRid ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 卖家房型ID
func (*TaobaoxhotelmultiplerateupdateAPIRequest) SetRatePlanCode ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetRatePlanCode(_ratePlanCode string) error
SetRatePlanCode is RatePlanCode Setter 卖家自己系统的房价code
func (*TaobaoxhotelmultiplerateupdateAPIRequest) SetRateSwitchCal ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetRpid(_rpid int64) error
SetRpid is Rpid Setter 废弃,使用rate_plan_code
func (*TaobaoxhotelmultiplerateupdateAPIRequest) SetStatus ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 价格状态。0为不可售;1为可售,默认可售
func (*TaobaoxhotelmultiplerateupdateAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelmultiplerateupdateAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不填写,使用须申请
type TaobaoxhotelmultiplerateupdateAPIResponse ¶ added in v1.3.1
type TaobaoxhotelmultiplerateupdateAPIResponse struct { model.CommonResponse TaobaoxhotelmultiplerateupdateAPIResponseModel }
TaobaoxhotelmultiplerateupdateAPIResponse 复杂价格推送接口(全量更新) API返回值 taobao.xhotel.multiplerate.update
酒店产品库复杂rate(多人价,连住价等)更新 同时完全涵盖taobao.xhotel.rate.update的功能
type TaobaoxhotelmultiplerateupdateAPIResponseModel ¶ added in v1.3.1
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 复杂价格推送接口(全量更新) 成功返回结果
type TaobaoxhotelquotaupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelquotaupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelquotaupdateAPIRequest 库存更新接口 API请求 taobao.xhotel.quota.update
库存更新接口
func NewTaobaoxhotelquotaupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelquotaupdateRequest() *TaobaoxhotelquotaupdateAPIRequest
NewTaobaoxhotelquotaupdateRequest 初始化TaobaoxhotelquotaupdateAPIRequest对象
func (TaobaoxhotelquotaupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelquotaupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelquotaupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelquotaupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelquotaupdateAPIRequest) GetDates ¶ added in v1.3.1
func (r TaobaoxhotelquotaupdateAPIRequest) GetDates() []string
GetDates Dates Getter
func (TaobaoxhotelquotaupdateAPIRequest) GetGid ¶ added in v1.3.1
func (r TaobaoxhotelquotaupdateAPIRequest) GetGid() int64
GetGid Gid Getter
func (TaobaoxhotelquotaupdateAPIRequest) GetQuota ¶ added in v1.3.1
func (r TaobaoxhotelquotaupdateAPIRequest) GetQuota() int64
GetQuota Quota Getter
func (TaobaoxhotelquotaupdateAPIRequest) GetQuotaNumType ¶ added in v1.3.1
func (r TaobaoxhotelquotaupdateAPIRequest) GetQuotaNumType() int64
GetQuotaNumType QuotaNumType Getter
func (TaobaoxhotelquotaupdateAPIRequest) GetQuotaType ¶ added in v1.3.1
func (r TaobaoxhotelquotaupdateAPIRequest) GetQuotaType() int64
GetQuotaType QuotaType Getter
func (TaobaoxhotelquotaupdateAPIRequest) GetRateId ¶ added in v1.3.1
func (r TaobaoxhotelquotaupdateAPIRequest) GetRateId() int64
GetRateId RateId Getter
func (TaobaoxhotelquotaupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelquotaupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelquotaupdateAPIRequest) GetUseRoomInventory ¶ added in v1.3.1
func (r TaobaoxhotelquotaupdateAPIRequest) GetUseRoomInventory() bool
GetUseRoomInventory UseRoomInventory Getter
func (*TaobaoxhotelquotaupdateAPIRequest) SetDates ¶ added in v1.3.1
func (r *TaobaoxhotelquotaupdateAPIRequest) SetDates(_dates []string) error
SetDates is Dates Setter 修改日期列表
func (*TaobaoxhotelquotaupdateAPIRequest) SetGid ¶ added in v1.3.1
func (r *TaobaoxhotelquotaupdateAPIRequest) SetGid(_gid int64) error
SetGid is Gid Setter room的gid
func (*TaobaoxhotelquotaupdateAPIRequest) SetQuota ¶ added in v1.3.1
func (r *TaobaoxhotelquotaupdateAPIRequest) SetQuota(_quota int64) error
SetQuota is Quota Setter 增减的值
func (*TaobaoxhotelquotaupdateAPIRequest) SetQuotaNumType ¶ added in v1.3.1
func (r *TaobaoxhotelquotaupdateAPIRequest) SetQuotaNumType(_quotaNumType int64) error
SetQuotaNumType is QuotaNumType Setter 数量类型, 2:增加房量,3:减少房量
func (*TaobaoxhotelquotaupdateAPIRequest) SetQuotaType ¶ added in v1.3.1
func (r *TaobaoxhotelquotaupdateAPIRequest) SetQuotaType(_quotaType int64) error
SetQuotaType is QuotaType Setter 库存类型,0: 普通库存, 1: 普通保留房库存, 2:协议保留房库存
func (*TaobaoxhotelquotaupdateAPIRequest) SetRateId ¶ added in v1.3.1
func (r *TaobaoxhotelquotaupdateAPIRequest) SetRateId(_rateId int64) error
SetRateId is RateId Setter rate的id, rate库存时必填
func (*TaobaoxhotelquotaupdateAPIRequest) SetUseRoomInventory ¶ added in v1.3.1
func (r *TaobaoxhotelquotaupdateAPIRequest) SetUseRoomInventory(_useRoomInventory bool) error
SetUseRoomInventory is UseRoomInventory Setter 是否使用room库存,true使用,false不使用
type TaobaoxhotelquotaupdateAPIResponse ¶ added in v1.3.1
type TaobaoxhotelquotaupdateAPIResponse struct { model.CommonResponse TaobaoxhotelquotaupdateAPIResponseModel }
TaobaoxhotelquotaupdateAPIResponse 库存更新接口 API返回值 taobao.xhotel.quota.update
库存更新接口
type TaobaoxhotelquotaupdateAPIResponseModel ¶ added in v1.3.1
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 库存更新接口 成功返回结果
type TaobaoxhotelrateaddAPIRequest ¶ added in v1.3.1
type TaobaoxhotelrateaddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelrateaddAPIRequest 新增专享房价 API请求 taobao.xhotel.rate.add
酒店产品库rate添加
func NewTaobaoxhotelrateaddRequest ¶ added in v1.3.1
func NewTaobaoxhotelrateaddRequest() *TaobaoxhotelrateaddAPIRequest
NewTaobaoxhotelrateaddRequest 初始化TaobaoxhotelrateaddAPIRequest对象
func (TaobaoxhotelrateaddAPIRequest) GetAddBed ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetAddBed() int64
GetAddBed AddBed Getter
func (TaobaoxhotelrateaddAPIRequest) GetAddBedPrice ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetAddBedPrice() int64
GetAddBedPrice AddBedPrice Getter
func (TaobaoxhotelrateaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelrateaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelrateaddAPIRequest) GetCurrencyCode ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetCurrencyCode() int64
GetCurrencyCode CurrencyCode Getter
func (TaobaoxhotelrateaddAPIRequest) GetCurrencyCodeName ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetCurrencyCodeName() string
GetCurrencyCodeName CurrencyCodeName Getter
func (TaobaoxhotelrateaddAPIRequest) GetGid ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetGid() int64
GetGid Gid Getter
func (TaobaoxhotelrateaddAPIRequest) GetHotelXitemInfos ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetHotelXitemInfos() string
GetHotelXitemInfos HotelXitemInfos Getter
func (TaobaoxhotelrateaddAPIRequest) GetInventoryPrice ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetInventoryPrice() string
GetInventoryPrice InventoryPrice Getter
func (TaobaoxhotelrateaddAPIRequest) GetJishiquerenTag ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetJishiquerenTag() int64
GetJishiquerenTag JishiquerenTag Getter
func (TaobaoxhotelrateaddAPIRequest) GetLockEndTime ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetLockEndTime() string
GetLockEndTime LockEndTime Getter
func (TaobaoxhotelrateaddAPIRequest) GetLockStartTime ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetLockStartTime() string
GetLockStartTime LockStartTime Getter
func (TaobaoxhotelrateaddAPIRequest) GetName ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoxhotelrateaddAPIRequest) GetOnlineBookingBindingInfo ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetOnlineBookingBindingInfo() string
GetOnlineBookingBindingInfo OnlineBookingBindingInfo Getter
func (TaobaoxhotelrateaddAPIRequest) GetOperator ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetOperator() string
GetOperator Operator Getter
func (TaobaoxhotelrateaddAPIRequest) GetOutRid ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoxhotelrateaddAPIRequest) GetRateSwitchCal ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetRateSwitchCal() string
GetRateSwitchCal RateSwitchCal Getter
func (TaobaoxhotelrateaddAPIRequest) GetRateplanCode ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoxhotelrateaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelrateaddAPIRequest) GetRpid ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetRpid() int64
GetRpid Rpid Getter
func (TaobaoxhotelrateaddAPIRequest) GetShijiaTag ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetShijiaTag() int64
GetShijiaTag ShijiaTag Getter
func (TaobaoxhotelrateaddAPIRequest) GetSource ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetSource() int64
GetSource Source Getter
func (TaobaoxhotelrateaddAPIRequest) GetStatus ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetStatus() int64
GetStatus Status Getter
func (TaobaoxhotelrateaddAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelrateaddAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelrateaddAPIRequest) SetAddBed ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetAddBed(_addBed int64) error
SetAddBed is AddBed Setter 额外服务-是否可以加床,1:不可以,2:可以
func (*TaobaoxhotelrateaddAPIRequest) SetAddBedPrice ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetAddBedPrice(_addBedPrice int64) error
SetAddBedPrice is AddBedPrice Setter 额外服务-加床价格
func (*TaobaoxhotelrateaddAPIRequest) SetCurrencyCode ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetCurrencyCode(_currencyCode int64) error
SetCurrencyCode is CurrencyCode Setter 币种(仅支持CNY)
func (*TaobaoxhotelrateaddAPIRequest) SetCurrencyCodeName ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetCurrencyCodeName(_currencyCodeName string) error
SetCurrencyCodeName is CurrencyCodeName Setter 币种信息,默认是CNY, @see com.taobao.trip.hotel.model.enums.CurrencyEnum
func (*TaobaoxhotelrateaddAPIRequest) SetGid ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetGid(_gid int64) error
SetGid is Gid Setter gid酒店商品id
func (*TaobaoxhotelrateaddAPIRequest) SetHotelXitemInfos ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetJishiquerenTag(_jishiquerenTag int64) error
SetJishiquerenTag is JishiquerenTag Setter “即时确认”标识,此类商品预订后直接发货。
func (*TaobaoxhotelrateaddAPIRequest) SetLockEndTime ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetLockEndTime(_lockEndTime string) error
SetLockEndTime is LockEndTime Setter 锁库存截止时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)
func (*TaobaoxhotelrateaddAPIRequest) SetLockStartTime ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetLockStartTime(_lockStartTime string) error
SetLockStartTime is LockStartTime Setter 锁库存开始时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)
func (*TaobaoxhotelrateaddAPIRequest) SetName ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetName(_name string) error
SetName is Name Setter 名称
func (*TaobaoxhotelrateaddAPIRequest) SetOnlineBookingBindingInfo ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error
SetOnlineBookingBindingInfo is OnlineBookingBindingInfo Setter 在线预约关联关系推送,priceRuleNumber:加价规则序号
func (*TaobaoxhotelrateaddAPIRequest) SetOperator ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetOperator(_operator string) error
SetOperator is Operator Setter 操作人信息
func (*TaobaoxhotelrateaddAPIRequest) SetOutRid ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 卖家房型ID, 这是卖家自己系统中的房型ID,注意:需按照规则组合
func (*TaobaoxhotelrateaddAPIRequest) SetRateSwitchCal ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetRateSwitchCal(_rateSwitchCal string) error
SetRateSwitchCal is RateSwitchCal Setter 在添加新rate时,同时添加rate开关日历。可以只设定想设定的某些天,可以不连续。date:开关状态控制的是那一天rate_status:开关状态。0,关闭;1,打开
func (*TaobaoxhotelrateaddAPIRequest) SetRateplanCode ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 卖家自己系统的Code,简称RateCode
func (*TaobaoxhotelrateaddAPIRequest) SetRpid ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetRpid(_rpid int64) error
SetRpid is Rpid Setter 酒店RPID
func (*TaobaoxhotelrateaddAPIRequest) SetShijiaTag ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetShijiaTag(_shijiaTag int64) error
SetShijiaTag is ShijiaTag Setter 实价有房标签(RP支付类型为全额支付)
func (*TaobaoxhotelrateaddAPIRequest) SetSource ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetSource(_source int64) error
SetSource is Source Setter 默认是2 ,
func (*TaobaoxhotelrateaddAPIRequest) SetStatus ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 1是开,0是关, 不填默认是开, rate状态
func (*TaobaoxhotelrateaddAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelrateaddAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 用于标示该宝贝的售卖渠道信息,允许同一个卖家酒店房型在淘宝系统发布多个售卖渠道的宝贝的价格。
type TaobaoxhotelrateaddAPIResponse ¶ added in v1.3.1
type TaobaoxhotelrateaddAPIResponse struct { model.CommonResponse TaobaoxhotelrateaddAPIResponseModel }
TaobaoxhotelrateaddAPIResponse 新增专享房价 API返回值 taobao.xhotel.rate.add
酒店产品库rate添加
type TaobaoxhotelrateaddAPIResponseModel ¶ added in v1.3.1
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 新增专享房价 成功返回结果
type TaobaoxhotelratedeleteAPIRequest ¶ added in v1.3.1
type TaobaoxhotelratedeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelratedeleteAPIRequest rate删除接口 API请求 taobao.xhotel.rate.delete
酒店产品库rate删除
func NewTaobaoxhotelratedeleteRequest ¶ added in v1.3.1
func NewTaobaoxhotelratedeleteRequest() *TaobaoxhotelratedeleteAPIRequest
NewTaobaoxhotelratedeleteRequest 初始化TaobaoxhotelratedeleteAPIRequest对象
func (TaobaoxhotelratedeleteAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelratedeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelratedeleteAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelratedeleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelratedeleteAPIRequest) GetOutRid ¶ added in v1.3.1
func (r TaobaoxhotelratedeleteAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoxhotelratedeleteAPIRequest) GetRateplanCode ¶ added in v1.3.1
func (r TaobaoxhotelratedeleteAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoxhotelratedeleteAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelratedeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelratedeleteAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelratedeleteAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelratedeleteAPIRequest) SetOutRid ¶ added in v1.3.1
func (r *TaobaoxhotelratedeleteAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 商家房型ID
func (*TaobaoxhotelratedeleteAPIRequest) SetRateplanCode ¶ added in v1.3.1
func (r *TaobaoxhotelratedeleteAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 商家价格政策编码
func (*TaobaoxhotelratedeleteAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelratedeleteAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不用填写,使用须申请
type TaobaoxhotelratedeleteAPIResponse ¶ added in v1.3.1
type TaobaoxhotelratedeleteAPIResponse struct { model.CommonResponse TaobaoxhotelratedeleteAPIResponseModel }
TaobaoxhotelratedeleteAPIResponse rate删除接口 API返回值 taobao.xhotel.rate.delete
酒店产品库rate删除
type TaobaoxhotelratedeleteAPIResponseModel ¶ added in v1.3.1
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删除接口 成功返回结果
type TaobaoxhotelratedeleteResultSet ¶ added in v1.3.1
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 结构体
type TaobaoxhotelrategetAPIRequest ¶ added in v1.3.1
type TaobaoxhotelrategetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelrategetAPIRequest 酒店产品库rate查询 API请求 taobao.xhotel.rate.get
酒店产品库rate查询
func NewTaobaoxhotelrategetRequest ¶ added in v1.3.1
func NewTaobaoxhotelrategetRequest() *TaobaoxhotelrategetAPIRequest
NewTaobaoxhotelrategetRequest 初始化TaobaoxhotelrategetAPIRequest对象
func (TaobaoxhotelrategetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelrategetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelrategetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelrategetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelrategetAPIRequest) GetGid ¶ added in v1.3.1
func (r TaobaoxhotelrategetAPIRequest) GetGid() int64
GetGid Gid Getter
func (TaobaoxhotelrategetAPIRequest) GetOutRid ¶ added in v1.3.1
func (r TaobaoxhotelrategetAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoxhotelrategetAPIRequest) GetRateId ¶ added in v1.3.1
func (r TaobaoxhotelrategetAPIRequest) GetRateId() int64
GetRateId RateId Getter
func (TaobaoxhotelrategetAPIRequest) GetRateplanCode ¶ added in v1.3.1
func (r TaobaoxhotelrategetAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoxhotelrategetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelrategetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelrategetAPIRequest) GetRpid ¶ added in v1.3.1
func (r TaobaoxhotelrategetAPIRequest) GetRpid() int64
GetRpid Rpid Getter
func (TaobaoxhotelrategetAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelrategetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelrategetAPIRequest) SetGid ¶ added in v1.3.1
func (r *TaobaoxhotelrategetAPIRequest) SetGid(_gid int64) error
SetGid is Gid Setter gid酒店商品id
func (*TaobaoxhotelrategetAPIRequest) SetOutRid ¶ added in v1.3.1
func (r *TaobaoxhotelrategetAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 卖家房型ID, 这是卖家自己系统中的房型ID 注意:需要按照规则组合
func (*TaobaoxhotelrategetAPIRequest) SetRateId ¶ added in v1.3.1
func (r *TaobaoxhotelrategetAPIRequest) SetRateId(_rateId int64) error
SetRateId is RateId Setter RateID
func (*TaobaoxhotelrategetAPIRequest) SetRateplanCode ¶ added in v1.3.1
func (r *TaobaoxhotelrategetAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 卖家自己系统的Code,简称RateCode
func (*TaobaoxhotelrategetAPIRequest) SetRpid ¶ added in v1.3.1
func (r *TaobaoxhotelrategetAPIRequest) SetRpid(_rpid int64) error
SetRpid is Rpid Setter 酒店RPID
func (*TaobaoxhotelrategetAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelrategetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 用于标示该宝贝的售卖渠道信息,允许同一个卖家酒店房型在淘宝系统发布多个售卖渠道的宝贝的价格。
type TaobaoxhotelrategetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelrategetAPIResponse struct { model.CommonResponse TaobaoxhotelrategetAPIResponseModel }
TaobaoxhotelrategetAPIResponse 酒店产品库rate查询 API返回值 taobao.xhotel.rate.get
酒店产品库rate查询
type TaobaoxhotelrategetAPIResponseModel ¶ added in v1.3.1
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查询 成功返回结果
type TaobaoxhotelrateplanaddAPIRequest ¶ added in v1.3.1
type TaobaoxhotelrateplanaddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelrateplanaddAPIRequest 酒店产品库rateplan添加 API请求 taobao.xhotel.rateplan.add
酒店产品库rateplan
func NewTaobaoxhotelrateplanaddRequest ¶ added in v1.3.1
func NewTaobaoxhotelrateplanaddRequest() *TaobaoxhotelrateplanaddAPIRequest
NewTaobaoxhotelrateplanaddRequest 初始化TaobaoxhotelrateplanaddAPIRequest对象
func (TaobaoxhotelrateplanaddAPIRequest) GetActivityType ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetActivityType() string
GetActivityType ActivityType Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetAgreement ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetAgreement() int64
GetAgreement Agreement Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetAllotmentReleaseTime ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetAllotmentReleaseTime() string
GetAllotmentReleaseTime AllotmentReleaseTime Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelrateplanaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelrateplanaddAPIRequest) GetBaseRpFlag ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetBaseRpFlag() int64
GetBaseRpFlag BaseRpFlag Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetBottomPriceFlag ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetBottomPriceFlag() int64
GetBottomPriceFlag BottomPriceFlag Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetBreakfastCal ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetBreakfastCal() string
GetBreakfastCal BreakfastCal Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetBreakfastCount ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetBreakfastCount() int64
GetBreakfastCount BreakfastCount Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetCanCheckinEnd ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetCanCheckinEnd() string
GetCanCheckinEnd CanCheckinEnd Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetCanCheckinStart ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetCanCheckinStart() string
GetCanCheckinStart CanCheckinStart Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetCanCheckoutEnd ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetCanCheckoutEnd() string
GetCanCheckoutEnd CanCheckoutEnd Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetCancelBeforeDay ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetCancelBeforeDay() int64
GetCancelBeforeDay CancelBeforeDay Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetCancelBeforeHour ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetCancelBeforeHour() string
GetCancelBeforeHour CancelBeforeHour Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetCancelPolicy ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetCancelPolicy() string
GetCancelPolicy CancelPolicy Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetCancelPolicyCal ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetCancelPolicyCal() string
GetCancelPolicyCal CancelPolicyCal Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetChannel ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetChannel() string
GetChannel Channel Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetCommonAllotReleaseTime ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetCommonAllotReleaseTime() string
GetCommonAllotReleaseTime CommonAllotReleaseTime Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetDeadlineTime ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetDeadlineTime() string
GetDeadlineTime DeadlineTime Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetDinningDesc ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetDinningDesc() string
GetDinningDesc DinningDesc Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetEffectiveTime ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetEffectiveTime() string
GetEffectiveTime EffectiveTime Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetEndTime ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetEnglishName ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetEnglishName() string
GetEnglishName EnglishName Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetExtend ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetExtend() string
GetExtend Extend Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetExtendFee ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetExtendFee() string
GetExtendFee ExtendFee Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetFeeBreakfastAmount ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetFeeBreakfastAmount() int64
GetFeeBreakfastAmount FeeBreakfastAmount Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetFeeBreakfastCount ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetFeeBreakfastCount() int64
GetFeeBreakfastCount FeeBreakfastCount Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetFeeGovTaxAmount ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetFeeGovTaxAmount() int64
GetFeeGovTaxAmount FeeGovTaxAmount Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetFeeGovTaxPercent ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetFeeGovTaxPercent() int64
GetFeeGovTaxPercent FeeGovTaxPercent Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetFeeServiceAmount ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetFeeServiceAmount() int64
GetFeeServiceAmount FeeServiceAmount Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetFeeServicePercent ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetFeeServicePercent() int64
GetFeeServicePercent FeeServicePercent Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetFirstStay ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetFirstStay() int64
GetFirstStay FirstStay Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetFreeRoomChargeDstRole ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetFreeRoomChargeDstRole() string
GetFreeRoomChargeDstRole FreeRoomChargeDstRole Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetGuaranteeCal ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetGuaranteeCal() string
GetGuaranteeCal GuaranteeCal Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetGuaranteeMode ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetGuaranteeMode() int64
GetGuaranteeMode GuaranteeMode Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetGuaranteeStartTime ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetGuaranteeStartTime() string
GetGuaranteeStartTime GuaranteeStartTime Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetGuaranteeType ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetGuaranteeType() int64
GetGuaranteeType GuaranteeType Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetGuestLimit ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetGuestLimit() string
GetGuestLimit GuestLimit Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetHourage ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetHourage() string
GetHourage Hourage Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetIsStudent ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetIsStudent() int64
GetIsStudent IsStudent Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetMaxAdvHours ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetMaxAdvHours() int64
GetMaxAdvHours MaxAdvHours Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetMaxChildAge ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetMaxChildAge() int64
GetMaxChildAge MaxChildAge Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetMaxDays ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetMaxDays() int64
GetMaxDays MaxDays Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetMaxInfantAge ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetMaxInfantAge() int64
GetMaxInfantAge MaxInfantAge Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetMemDiscFlag ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetMemDiscFlag() int64
GetMemDiscFlag MemDiscFlag Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetMemberDiscountCal ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetMemberDiscountCal() string
GetMemberDiscountCal MemberDiscountCal Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetMemberLevel ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetMemberLevel() string
GetMemberLevel MemberLevel Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetMinAdvHours ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetMinAdvHours() int64
GetMinAdvHours MinAdvHours Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetMinAmount ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetMinAmount() int64
GetMinAmount MinAmount Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetMinChildAge ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetMinChildAge() int64
GetMinChildAge MinChildAge Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetMinDays ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetMinDays() int64
GetMinDays MinDays Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetMinInfantAge ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetMinInfantAge() int64
GetMinInfantAge MinInfantAge Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetName ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetOccupancy ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetOccupancy() int64
GetOccupancy Occupancy Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetOnlineBookingBindingInfo ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetOnlineBookingBindingInfo() string
GetOnlineBookingBindingInfo OnlineBookingBindingInfo Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetOperator ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetOperator() string
GetOperator Operator Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetOutHid ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetOutRid ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetParentRpCode ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetParentRpCode() string
GetParentRpCode ParentRpCode Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetParentRpid ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetParentRpid() int64
GetParentRpid ParentRpid Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetPaymentType ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetPaymentType() int64
GetPaymentType PaymentType Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetRateplanCode ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelrateplanaddAPIRequest) GetResourceType ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetResourceType() string
GetResourceType ResourceType Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetRid ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetRid() int64
GetRid Rid Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetRights ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetRights() string
GetRights Rights Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetRpType ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetRpType() string
GetRpType RpType Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetSource ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetSource() int64
GetSource Source Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetStartTime ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetStatus ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetStatus() int64
GetStatus Status Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetSuperRpFlag ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetSuperRpFlag() int64
GetSuperRpFlag SuperRpFlag Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetTagJson ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetTagJson() string
GetTagJson TagJson Getter
func (TaobaoxhotelrateplanaddAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelrateplanaddAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelrateplanaddAPIRequest) SetActivityType ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetActivityType(_activityType string) error
SetActivityType is ActivityType Setter RP参与的活动,3为尾房,4超级房券,8直连免房
func (*TaobaoxhotelrateplanaddAPIRequest) SetAgreement ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetAgreement(_agreement int64) error
SetAgreement is Agreement Setter 废弃。价格类型字段:0.非协议价;1.集采协议价;如果不是协议价,请不要填写该字段。该字段有权限控制,如需使用,请联系阿里旅行运营。 如果不填写或者填写为0,默认是阿里旅行价
func (*TaobaoxhotelrateplanaddAPIRequest) SetAllotmentReleaseTime ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetAllotmentReleaseTime(_allotmentReleaseTime string) error
SetAllotmentReleaseTime is AllotmentReleaseTime Setter 保留房提前x小时自动确认时间,比如设置为6 那么从入住当日24点往前推6小时即18:00以前可以自动确认有房,否则是待确认
func (*TaobaoxhotelrateplanaddAPIRequest) SetBaseRpFlag ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetBaseRpFlag(_baseRpFlag int64) error
SetBaseRpFlag is BaseRpFlag Setter base rp标记,1是;0否
func (*TaobaoxhotelrateplanaddAPIRequest) SetBottomPriceFlag ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetBottomPriceFlag(_bottomPriceFlag int64) error
SetBottomPriceFlag is BottomPriceFlag Setter 是否底价加价,1是底价加价,0 非底价加价rp
func (*TaobaoxhotelrateplanaddAPIRequest) SetBreakfastCal ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetBreakfastCount(_breakfastCount int64) error
SetBreakfastCount is BreakfastCount Setter -1:状态早餐,有具体几人价有关系,几人价是几份早餐;0:不含早1:含单早2:含双早N:含N早(-1-99可选)
func (*TaobaoxhotelrateplanaddAPIRequest) SetCanCheckinEnd ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetCanCheckinEnd(_canCheckinEnd string) error
SetCanCheckinEnd is CanCheckinEnd Setter 最早可选入住时间,小时房特有字段。格式为HH:mm
func (*TaobaoxhotelrateplanaddAPIRequest) SetCanCheckinStart ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetCanCheckinStart(_canCheckinStart string) error
SetCanCheckinStart is CanCheckinStart Setter 最晚可选入住时间,小时房特有字段。格式为HH:mm
func (*TaobaoxhotelrateplanaddAPIRequest) SetCanCheckoutEnd ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetCanCheckoutEnd(_canCheckoutEnd string) error
SetCanCheckoutEnd is CanCheckoutEnd Setter 最晚可选离店时间,小时房特有字段。格式为HH:mm
func (*TaobaoxhotelrateplanaddAPIRequest) SetCancelBeforeDay ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetCancelBeforeDay(_cancelBeforeDay int64) error
SetCancelBeforeDay is CancelBeforeDay Setter 不推荐使用,使用改规则
func (*TaobaoxhotelrateplanaddAPIRequest) SetCancelBeforeHour ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetCancelBeforeHour(_cancelBeforeHour string) error
SetCancelBeforeHour is CancelBeforeHour Setter 不推荐使用,使用改规则
func (*TaobaoxhotelrateplanaddAPIRequest) SetCancelPolicy ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetChannel(_channel string) error
SetChannel is Channel Setter 销售渠道。如需开通,需要申请权限。目前支持的渠道有 H:飞猪全渠道(选择H,可实现飞猪、高德、支付宝、手淘均可售卖) O:钉钉商旅 。如果有多个用","分开,比如H,O。如果需要投放其他渠道,请联系飞猪运营或者技术支持。
func (*TaobaoxhotelrateplanaddAPIRequest) SetCommonAllotReleaseTime ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetCommonAllotReleaseTime(_commonAllotReleaseTime string) error
SetCommonAllotReleaseTime is CommonAllotReleaseTime Setter 普通保留房提前x小时自动确认时间,比如设置为6 那么从入住当日24点往前推6小时即18:00以前可以自动确认有房,否则是待确认
func (*TaobaoxhotelrateplanaddAPIRequest) SetDeadlineTime ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetDeadlineTime(_deadlineTime string) error
SetDeadlineTime is DeadlineTime Setter 生效截止时间,用来控制此rateplan生效的截止时间,配合字段effective_time一起限定rp的有效期
func (*TaobaoxhotelrateplanaddAPIRequest) SetDinningDesc ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetDinningDesc(_dinningDesc string) error
SetDinningDesc is DinningDesc Setter 餐食描述
func (*TaobaoxhotelrateplanaddAPIRequest) SetEffectiveTime ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetEffectiveTime(_effectiveTime string) error
SetEffectiveTime is EffectiveTime Setter 生效开始时间,用来控制此rateplan生效的开始时间,配合字段deadline_time一起限定rp的有效期
func (*TaobaoxhotelrateplanaddAPIRequest) SetEndTime ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetEnglishName(_englishName string) error
SetEnglishName is EnglishName Setter RP的英文名称
func (*TaobaoxhotelrateplanaddAPIRequest) SetExtend ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetExtend(_extend string) error
SetExtend is Extend Setter 个性化定制扩展信息的JSON。注:此字段的值需要ISV在接入前与淘宝沟通,且确认能解析
func (*TaobaoxhotelrateplanaddAPIRequest) SetExtendFee ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetExtendFee(_extendFee string) error
SetExtendFee is ExtendFee Setter 不推荐使用
func (*TaobaoxhotelrateplanaddAPIRequest) SetFeeBreakfastAmount ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetFeeBreakfastAmount(_feeBreakfastAmount int64) error
SetFeeBreakfastAmount is FeeBreakfastAmount Setter 不推荐使用
func (*TaobaoxhotelrateplanaddAPIRequest) SetFeeBreakfastCount ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetFeeBreakfastCount(_feeBreakfastCount int64) error
SetFeeBreakfastCount is FeeBreakfastCount Setter 废弃
func (*TaobaoxhotelrateplanaddAPIRequest) SetFeeGovTaxAmount ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetFeeGovTaxAmount(_feeGovTaxAmount int64) error
SetFeeGovTaxAmount is FeeGovTaxAmount Setter 不推荐使用
func (*TaobaoxhotelrateplanaddAPIRequest) SetFeeGovTaxPercent ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetFeeGovTaxPercent(_feeGovTaxPercent int64) error
SetFeeGovTaxPercent is FeeGovTaxPercent Setter 不推荐使用
func (*TaobaoxhotelrateplanaddAPIRequest) SetFeeServiceAmount ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetFeeServiceAmount(_feeServiceAmount int64) error
SetFeeServiceAmount is FeeServiceAmount Setter 不推荐使用
func (*TaobaoxhotelrateplanaddAPIRequest) SetFeeServicePercent ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetFeeServicePercent(_feeServicePercent int64) error
SetFeeServicePercent is FeeServicePercent Setter 不推荐使用
func (*TaobaoxhotelrateplanaddAPIRequest) SetFirstStay ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetFirstStay(_firstStay int64) error
SetFirstStay is FirstStay Setter 需申请会员权限。是否是新用户首住优惠rp。1-代表是。0或者不填写代表否
func (*TaobaoxhotelrateplanaddAPIRequest) SetFreeRoomChargeDstRole ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetFreeRoomChargeDstRole(_freeRoomChargeDstRole string) error
SetFreeRoomChargeDstRole is FreeRoomChargeDstRole Setter 商业化充值类型 seller充值到卖家 hotel充值到门店
func (*TaobaoxhotelrateplanaddAPIRequest) SetGuaranteeCal ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetGuaranteeMode(_guaranteeMode int64) error
SetGuaranteeMode is GuaranteeMode Setter 2 VCC担保 1 PCI担保 0 支付宝担保(信用住产品担保方式只能为支付宝担保)
func (*TaobaoxhotelrateplanaddAPIRequest) SetGuaranteeStartTime ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetGuaranteeStartTime(_guaranteeStartTime string) error
SetGuaranteeStartTime is GuaranteeStartTime Setter 分时担保每日开始担保时间。 (如果设置了峰时担保类型,那么峰时担保时间不能为空,并且必须大于等于8点)
func (*TaobaoxhotelrateplanaddAPIRequest) SetGuaranteeType ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetGuaranteeType(_guaranteeType int64) error
SetGuaranteeType is GuaranteeType Setter 担保类型,只支持: 0 无担保 1 峰时首晚担保 2峰时全额担保 3全天首晚担保 4全天全额担保
func (*TaobaoxhotelrateplanaddAPIRequest) SetGuestLimit ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetGuestLimit(_guestLimit string) error
SetGuestLimit is GuestLimit Setter RP入住人限制信息。JSON格式
func (*TaobaoxhotelrateplanaddAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 酒店id
func (*TaobaoxhotelrateplanaddAPIRequest) SetHourage ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetHourage(_hourage string) error
SetHourage is Hourage Setter 小时房入住时间跨度。小时房特有字段。比如4小时的小时房,那么值为4
func (*TaobaoxhotelrateplanaddAPIRequest) SetIsStudent ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetIsStudent(_isStudent int64) error
SetIsStudent is IsStudent Setter 是否学生价,0:否;1:是。
func (*TaobaoxhotelrateplanaddAPIRequest) SetMaxAdvHours ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetMaxAdvHours(_maxAdvHours int64) error
SetMaxAdvHours is MaxAdvHours Setter 最大提前预定小时数,从入住当天的24点往前计算。例如如果这个字段设置了48,代表最多提前两天预定,那么如果想预定24号入住,,必须在23号零点以后下单。
func (*TaobaoxhotelrateplanaddAPIRequest) SetMaxChildAge ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetMaxChildAge(_maxChildAge int64) error
SetMaxChildAge is MaxChildAge Setter 儿童最大年龄(0-18)
func (*TaobaoxhotelrateplanaddAPIRequest) SetMaxDays ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetMaxDays(_maxDays int64) error
SetMaxDays is MaxDays Setter 最大入住天数(1-90)。默认90 信用住不超过9天,小时房RP请设置为1,特殊商家支持180天
func (*TaobaoxhotelrateplanaddAPIRequest) SetMaxInfantAge ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetMaxInfantAge(_maxInfantAge int64) error
SetMaxInfantAge is MaxInfantAge Setter 婴儿最大年龄(0-18)
func (*TaobaoxhotelrateplanaddAPIRequest) SetMemDiscFlag ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetMemDiscFlag(_memDiscFlag int64) error
SetMemDiscFlag is MemDiscFlag Setter 会员价支持标识,1表示支持会员价规则
func (*TaobaoxhotelrateplanaddAPIRequest) SetMemberDiscountCal ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetMemberDiscountCal(_memberDiscountCal string) error
SetMemberDiscountCal is MemberDiscountCal Setter 会员价加价规则。c:表示折扣百分比,例子8,意为会员价优惠8%,s:标识起始日期,e:表示截止日期,t:表示加价类型,0:代表折扣。会员价=售价*(1-c%)
func (*TaobaoxhotelrateplanaddAPIRequest) SetMemberLevel ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetMemberLevel(_memberLevel string) error
SetMemberLevel is MemberLevel Setter 双方映射后的会员等级。如需开通,需要申请权限,取值范围为:1,2,3,4,5,none。比如飞猪F3对应商家V4,则传4.(如果有疑问请联系对接技术支持)
func (*TaobaoxhotelrateplanaddAPIRequest) SetMinAdvHours ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetMinAdvHours(_minAdvHours int64) error
SetMinAdvHours is MinAdvHours Setter 最小提前预定小时数,从入住当天的24点往前计算。例如如果这个字段设置了48,代表必须至少提前两天预定,那么如果想预定24号入住,,必须在23号零点前下单。
func (*TaobaoxhotelrateplanaddAPIRequest) SetMinAmount ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetMinAmount(_minAmount int64) error
SetMinAmount is MinAmount Setter 首日入住房间数(1-99)。默认1。【废弃】
func (*TaobaoxhotelrateplanaddAPIRequest) SetMinChildAge ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetMinChildAge(_minChildAge int64) error
SetMinChildAge is MinChildAge Setter 儿童最小年龄(0-18)
func (*TaobaoxhotelrateplanaddAPIRequest) SetMinDays ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetMinDays(_minDays int64) error
SetMinDays is MinDays Setter 最小入住天数(1-90)。默认1,小时房RP请设置为1
func (*TaobaoxhotelrateplanaddAPIRequest) SetMinInfantAge ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetMinInfantAge(_minInfantAge int64) error
SetMinInfantAge is MinInfantAge Setter 婴儿最小年龄(0-18)
func (*TaobaoxhotelrateplanaddAPIRequest) SetName ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetName(_name string) error
SetName is Name Setter 在淘宝搜索页面展示的房价名称。请注意名称里不要维护早餐信息,如果想设置早餐信息,请设置breakfast_count字段即可
func (*TaobaoxhotelrateplanaddAPIRequest) SetOccupancy ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetOccupancy(_occupancy int64) error
SetOccupancy is Occupancy Setter 不推送则默认2人,如有低于2人的RP限制请推送该字段。
func (*TaobaoxhotelrateplanaddAPIRequest) SetOnlineBookingBindingInfo ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error
SetOnlineBookingBindingInfo is OnlineBookingBindingInfo Setter 在线预约关联关系推送,priceRuleNumber:加价规则序号
func (*TaobaoxhotelrateplanaddAPIRequest) SetOperator ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetOperator(_operator string) error
SetOperator is Operator Setter 操作rateplan的来源
func (*TaobaoxhotelrateplanaddAPIRequest) SetOutHid ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 外部酒店id
func (*TaobaoxhotelrateplanaddAPIRequest) SetOutRid ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 外部房型id
func (*TaobaoxhotelrateplanaddAPIRequest) SetParentRpCode ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetParentRpCode(_parentRpCode string) error
SetParentRpCode is ParentRpCode Setter 父rpid,使用场景:当一个rp发布变价rate的时候,记录父rp信息,用于下单时候传递约定的rpcode给外部
func (*TaobaoxhotelrateplanaddAPIRequest) SetParentRpid ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetParentRpid(_parentRpid int64) error
SetParentRpid is ParentRpid Setter 父rpcode,使用场景:当一个rp发布变价rate的时候,用于下单时候传递约定的rpcode给外部
func (*TaobaoxhotelrateplanaddAPIRequest) SetPaymentType ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetPaymentType(_paymentType int64) error
SetPaymentType is PaymentType Setter 支付类型,只支持:1:预付5:现付6: 信用住7:预付在线预约8:信用住在线预约。其中5,6,7,8四种类型需要申请权限
func (*TaobaoxhotelrateplanaddAPIRequest) SetRateplanCode ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 卖家自己系统的Code,简称RateCode
func (*TaobaoxhotelrateplanaddAPIRequest) SetResourceType ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetResourceType(_resourceType string) error
SetResourceType is ResourceType Setter 商品来源渠道。1:直采(直连酒店PMS), 1-1:直采(非直连) 2:携程系, 3:美团, 4:国内旅行社分销, 5:海外供应商。非酒店资源方卖家必须提供商品来源渠道,携程系包括携程、去哪儿、艺龙。
func (*TaobaoxhotelrateplanaddAPIRequest) SetRid ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetRid(_rid int64) error
SetRid is Rid Setter 房型id
func (*TaobaoxhotelrateplanaddAPIRequest) SetRights ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetRights(_rights string) error
SetRights is Rights Setter rp的权益信息, 调用该字段请优先联系对接业务同学。type枚举: eeo,meo, value取值:1. 额外积分 2. 优惠价格 3. 套餐权益 4.行政礼遇。
func (*TaobaoxhotelrateplanaddAPIRequest) SetRpType ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetRpType(_rpType string) error
SetRpType is RpType Setter rp类型,1为小时房。目前只支持小时房。如果不是小时房rateplan,则不要填写。如果想要清空该字段可以传入none
func (*TaobaoxhotelrateplanaddAPIRequest) SetSource ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetSource(_source int64) error
SetSource is Source Setter 来源
func (*TaobaoxhotelrateplanaddAPIRequest) SetStartTime ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetStartTime(_startTime string) error
SetStartTime is StartTime Setter 产品每日开始销售时间,start_time一定为当天时间
func (*TaobaoxhotelrateplanaddAPIRequest) SetStatus ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 1:开启(默认)2:关闭。如果没传值那么默认默认值为1
func (*TaobaoxhotelrateplanaddAPIRequest) SetSuperRpFlag ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetSuperRpFlag(_superRpFlag int64) error
SetSuperRpFlag is SuperRpFlag Setter super rp标记,1是;0否
func (*TaobaoxhotelrateplanaddAPIRequest) SetTagJson ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetTagJson(_tagJson string) error
SetTagJson is TagJson Setter 新增RP时的 打标和去标 需求,
func (*TaobaoxhotelrateplanaddAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanaddAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不填写,使用须申请
type TaobaoxhotelrateplanaddAPIResponse ¶ added in v1.3.1
type TaobaoxhotelrateplanaddAPIResponse struct { model.CommonResponse TaobaoxhotelrateplanaddAPIResponseModel }
TaobaoxhotelrateplanaddAPIResponse 酒店产品库rateplan添加 API返回值 taobao.xhotel.rateplan.add
酒店产品库rateplan
type TaobaoxhotelrateplanaddAPIResponseModel ¶ added in v1.3.1
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添加 成功返回结果
type TaobaoxhotelrateplandeleteAPIRequest ¶ added in v1.3.1
type TaobaoxhotelrateplandeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelrateplandeleteAPIRequest 价格计划rateplan删除 API请求 taobao.xhotel.rateplan.delete
酒店产品库rateplan删除,同时删除级联的rate,请谨慎使用
func NewTaobaoxhotelrateplandeleteRequest ¶ added in v1.3.1
func NewTaobaoxhotelrateplandeleteRequest() *TaobaoxhotelrateplandeleteAPIRequest
NewTaobaoxhotelrateplandeleteRequest 初始化TaobaoxhotelrateplandeleteAPIRequest对象
func (TaobaoxhotelrateplandeleteAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelrateplandeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelrateplandeleteAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelrateplandeleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelrateplandeleteAPIRequest) GetRateplanCode ¶ added in v1.3.1
func (r TaobaoxhotelrateplandeleteAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoxhotelrateplandeleteAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelrateplandeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelrateplandeleteAPIRequest) GetRpId ¶ added in v1.3.1
func (r TaobaoxhotelrateplandeleteAPIRequest) GetRpId() int64
GetRpId RpId Getter
func (TaobaoxhotelrateplandeleteAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelrateplandeleteAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelrateplandeleteAPIRequest) SetRateplanCode ¶ added in v1.3.1
func (r *TaobaoxhotelrateplandeleteAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 商家价格政策编码
func (*TaobaoxhotelrateplandeleteAPIRequest) SetRpId ¶ added in v1.3.1
func (r *TaobaoxhotelrateplandeleteAPIRequest) SetRpId(_rpId int64) error
SetRpId is RpId Setter ratepland标识
func (*TaobaoxhotelrateplandeleteAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelrateplandeleteAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不用填写,使用须申请
type TaobaoxhotelrateplandeleteAPIResponse ¶ added in v1.3.1
type TaobaoxhotelrateplandeleteAPIResponse struct { model.CommonResponse TaobaoxhotelrateplandeleteAPIResponseModel }
TaobaoxhotelrateplandeleteAPIResponse 价格计划rateplan删除 API返回值 taobao.xhotel.rateplan.delete
酒店产品库rateplan删除,同时删除级联的rate,请谨慎使用
type TaobaoxhotelrateplandeleteAPIResponseModel ¶ added in v1.3.1
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删除 成功返回结果
type TaobaoxhotelrateplandeleteResultSet ¶ added in v1.3.1
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 结构体
type TaobaoxhotelrateplangetAPIRequest ¶ added in v1.3.1
type TaobaoxhotelrateplangetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelrateplangetAPIRequest 价格计划rateplan查询 API请求 taobao.xhotel.rateplan.get
酒店产品库rateplan查询
func NewTaobaoxhotelrateplangetRequest ¶ added in v1.3.1
func NewTaobaoxhotelrateplangetRequest() *TaobaoxhotelrateplangetAPIRequest
NewTaobaoxhotelrateplangetRequest 初始化TaobaoxhotelrateplangetAPIRequest对象
func (TaobaoxhotelrateplangetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelrateplangetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelrateplangetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelrateplangetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelrateplangetAPIRequest) GetRateplanCode ¶ added in v1.3.1
func (r TaobaoxhotelrateplangetAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoxhotelrateplangetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelrateplangetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelrateplangetAPIRequest) GetRpid ¶ added in v1.3.1
func (r TaobaoxhotelrateplangetAPIRequest) GetRpid() int64
GetRpid Rpid Getter
func (TaobaoxhotelrateplangetAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelrateplangetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelrateplangetAPIRequest) SetRateplanCode ¶ added in v1.3.1
func (r *TaobaoxhotelrateplangetAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 卖家自己系统的Code,简称RateCode
func (*TaobaoxhotelrateplangetAPIRequest) SetRpid ¶ added in v1.3.1
func (r *TaobaoxhotelrateplangetAPIRequest) SetRpid(_rpid int64) error
SetRpid is Rpid Setter 废弃,使用rateplan_code
func (*TaobaoxhotelrateplangetAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelrateplangetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不填写,使用须申请
type TaobaoxhotelrateplangetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelrateplangetAPIResponse struct { model.CommonResponse TaobaoxhotelrateplangetAPIResponseModel }
TaobaoxhotelrateplangetAPIResponse 价格计划rateplan查询 API返回值 taobao.xhotel.rateplan.get
酒店产品库rateplan查询
type TaobaoxhotelrateplangetAPIResponseModel ¶ added in v1.3.1
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查询 成功返回结果
type TaobaoxhotelrateplanupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelrateplanupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelrateplanupdateAPIRequest 价格计划rateplan更新或添加 API请求 taobao.xhotel.rateplan.update
酒店产品库rateplan更新或添加
func NewTaobaoxhotelrateplanupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelrateplanupdateRequest() *TaobaoxhotelrateplanupdateAPIRequest
NewTaobaoxhotelrateplanupdateRequest 初始化TaobaoxhotelrateplanupdateAPIRequest对象
func (TaobaoxhotelrateplanupdateAPIRequest) GetActivityType ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetActivityType() string
GetActivityType ActivityType Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetAgreement ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetAgreement() int64
GetAgreement Agreement Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetAllotmentReleaseTime ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetAllotmentReleaseTime() string
GetAllotmentReleaseTime AllotmentReleaseTime Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelrateplanupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelrateplanupdateAPIRequest) GetBaseRpFlag ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetBaseRpFlag() int64
GetBaseRpFlag BaseRpFlag Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetBenefits ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetBenefits() string
GetBenefits Benefits Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetBottomPriceFlag ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetBottomPriceFlag() string
GetBottomPriceFlag BottomPriceFlag Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetBreakfastCal ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetBreakfastCal() string
GetBreakfastCal BreakfastCal Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetBreakfastCount ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetBreakfastCount() int64
GetBreakfastCount BreakfastCount Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetCanCheckinEnd ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetCanCheckinEnd() string
GetCanCheckinEnd CanCheckinEnd Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetCanCheckinStart ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetCanCheckinStart() string
GetCanCheckinStart CanCheckinStart Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetCanCheckoutEnd ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetCanCheckoutEnd() string
GetCanCheckoutEnd CanCheckoutEnd Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetCancelPolicy ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetCancelPolicy() string
GetCancelPolicy CancelPolicy Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetCancelPolicyCal ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetCancelPolicyCal() string
GetCancelPolicyCal CancelPolicyCal Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetChannel ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetChannel() string
GetChannel Channel Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetCommonAllotReleaseTime ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetCommonAllotReleaseTime() string
GetCommonAllotReleaseTime CommonAllotReleaseTime Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetCompanyAssist ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetCompanyAssist() int64
GetCompanyAssist CompanyAssist Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetDeadlineTime ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetDeadlineTime() string
GetDeadlineTime DeadlineTime Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetDisplayName ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetDisplayName() string
GetDisplayName DisplayName Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetEffectiveTime ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetEffectiveTime() string
GetEffectiveTime EffectiveTime Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetEndTime ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetEnglishName ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetEnglishName() string
GetEnglishName EnglishName Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetFirstStay ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetFirstStay() int64
GetFirstStay FirstStay Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetFreeRoomChargeDstRole ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetFreeRoomChargeDstRole() string
GetFreeRoomChargeDstRole FreeRoomChargeDstRole Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetGuaranteeCal ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetGuaranteeCal() string
GetGuaranteeCal GuaranteeCal Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetGuaranteeMode ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetGuaranteeMode() int64
GetGuaranteeMode GuaranteeMode Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetGuaranteeStartTime ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetGuaranteeStartTime() string
GetGuaranteeStartTime GuaranteeStartTime Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetGuaranteeType ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetGuaranteeType() int64
GetGuaranteeType GuaranteeType Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetGuestLimit ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetGuestLimit() string
GetGuestLimit GuestLimit Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetHotelCompanyMappingDOS ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetHotelCompanyMappingDOS() string
GetHotelCompanyMappingDOS HotelCompanyMappingDOS Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetHourage ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetHourage() string
GetHourage Hourage Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetIsStudent ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetIsStudent() int64
GetIsStudent IsStudent Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetMaxAdvHours ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetMaxAdvHours() int64
GetMaxAdvHours MaxAdvHours Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetMaxDays ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetMaxDays() int64
GetMaxDays MaxDays Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetMemDiscFlag ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetMemDiscFlag() int64
GetMemDiscFlag MemDiscFlag Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetMemberDiscountCal ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetMemberDiscountCal() string
GetMemberDiscountCal MemberDiscountCal Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetMemberLevel ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetMemberLevel() string
GetMemberLevel MemberLevel Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetMinAdvHours ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetMinAdvHours() int64
GetMinAdvHours MinAdvHours Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetMinAmount ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetMinAmount() int64
GetMinAmount MinAmount Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetMinDays ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetMinDays() int64
GetMinDays MinDays Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetName ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetOnlineBookingBindingInfo ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetOnlineBookingBindingInfo() string
GetOnlineBookingBindingInfo OnlineBookingBindingInfo Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetOperator ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetOperator() string
GetOperator Operator Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetOutHid ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetOutRid ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetPackRoomFlag ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetPackRoomFlag() string
GetPackRoomFlag PackRoomFlag Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetParentRpCode ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetParentRpCode() string
GetParentRpCode ParentRpCode Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetParentRpid ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetParentRpid() int64
GetParentRpid ParentRpid Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetPaymentType ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetPaymentType() int64
GetPaymentType PaymentType Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetRateplanCode ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelrateplanupdateAPIRequest) GetResourceType ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetResourceType() string
GetResourceType ResourceType Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetRid ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetRid() int64
GetRid Rid Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetRights ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetRights() string
GetRights Rights Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetRpType ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetRpType() string
GetRpType RpType Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetRpid ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetRpid() int64
GetRpid Rpid Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetSource ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetSource() int64
GetSource Source Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetStartTime ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetStatus ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetStatus() int64
GetStatus Status Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetSuperRpFlag ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetSuperRpFlag() int64
GetSuperRpFlag SuperRpFlag Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetTagJson ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetTagJson() string
GetTagJson TagJson Getter
func (TaobaoxhotelrateplanupdateAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelrateplanupdateAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelrateplanupdateAPIRequest) SetActivityType ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetActivityType(_activityType string) error
SetActivityType is ActivityType Setter 活动类型。1通兑 4超级房券 8直连免房
func (*TaobaoxhotelrateplanupdateAPIRequest) SetAgreement ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetAgreement(_agreement int64) error
SetAgreement is Agreement Setter 价格类型字段:0.非协议价;1.集采协议价;如果不是协议价,请不要填写该字段。该字段有权限控制,如需使用,请联系阿里旅行运营。 如果不填写或者填写为0,默认是阿里旅行价
func (*TaobaoxhotelrateplanupdateAPIRequest) SetAllotmentReleaseTime ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetAllotmentReleaseTime(_allotmentReleaseTime string) error
SetAllotmentReleaseTime is AllotmentReleaseTime Setter 协议保留房提前x小时自动确认时间 比如设置为6 那么从入住当日24点往前推6小时即18:00以前可以自动确认有房,否则是待确认
func (*TaobaoxhotelrateplanupdateAPIRequest) SetBaseRpFlag ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetBaseRpFlag(_baseRpFlag int64) error
SetBaseRpFlag is BaseRpFlag Setter base rp标记,1是;0否
func (*TaobaoxhotelrateplanupdateAPIRequest) SetBenefits ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetBenefits(_benefits string) error
SetBenefits is Benefits Setter 卖点
func (*TaobaoxhotelrateplanupdateAPIRequest) SetBottomPriceFlag ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetBottomPriceFlag(_bottomPriceFlag string) error
SetBottomPriceFlag is BottomPriceFlag Setter 是否底价加价,1是底价加价,0 非底价加价rp
func (*TaobaoxhotelrateplanupdateAPIRequest) SetBreakfastCal ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetBreakfastCount(_breakfastCount int64) error
SetBreakfastCount is BreakfastCount Setter -1,状态早餐,和入住人数有关系,几人价就是几份早餐;0:不含早1:含单早2:含双早N:含N早(1-99可选);(添加RP时为必须)
func (*TaobaoxhotelrateplanupdateAPIRequest) SetCanCheckinEnd ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetCanCheckinEnd(_canCheckinEnd string) error
SetCanCheckinEnd is CanCheckinEnd Setter 最晚可选入住时间,小时房特有字段。格式为HH:mm
func (*TaobaoxhotelrateplanupdateAPIRequest) SetCanCheckinStart ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetCanCheckinStart(_canCheckinStart string) error
SetCanCheckinStart is CanCheckinStart Setter 最早可选入住时间,小时房特有字段。格式为HH:mm
func (*TaobaoxhotelrateplanupdateAPIRequest) SetCanCheckoutEnd ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetCanCheckoutEnd(_canCheckoutEnd string) error
SetCanCheckoutEnd is CanCheckoutEnd Setter 最晚可选离店时间,小时房特有字段。格式为HH:mm
func (*TaobaoxhotelrateplanupdateAPIRequest) SetCancelPolicy ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetChannel(_channel string) error
SetChannel is Channel Setter 销售渠道。如需开通,需要申请权限。目前支持的渠道有 H:飞猪全渠道(选择H,可实现飞猪、高德、支付宝、手淘均可售卖) O:钉钉商旅 。如果有多个用","分开,比如H,O。如果需要投放其他渠道,请联系飞猪运营或者技术支持。
func (*TaobaoxhotelrateplanupdateAPIRequest) SetCommonAllotReleaseTime ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetCommonAllotReleaseTime(_commonAllotReleaseTime string) error
SetCommonAllotReleaseTime is CommonAllotReleaseTime Setter 普通保留房提前x小时自动确认时间 比如设置为6 那么从入住当日24点往前推6小时即18:00以前可以自动确认有房,否则是待确认
func (*TaobaoxhotelrateplanupdateAPIRequest) SetCompanyAssist ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetCompanyAssist(_companyAssist int64) error
SetCompanyAssist is CompanyAssist Setter 是否企业托管RP 0-普通rp,1-企业托管rp
func (*TaobaoxhotelrateplanupdateAPIRequest) SetDeadlineTime ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetDeadlineTime(_deadlineTime string) error
SetDeadlineTime is DeadlineTime Setter 生效截止时间,用来控制此rateplan生效的截止时间,配合字段effective_time一起限定rp的有效期
func (*TaobaoxhotelrateplanupdateAPIRequest) SetDisplayName ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetDisplayName(_displayName string) error
SetDisplayName is DisplayName Setter 价格计划名称name通过加工处理以后的值
func (*TaobaoxhotelrateplanupdateAPIRequest) SetEffectiveTime ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetEffectiveTime(_effectiveTime string) error
SetEffectiveTime is EffectiveTime Setter 生效开始时间,用来控制此rateplan生效的开始时间,配合字段deadline_time一起限定rp的有效期
func (*TaobaoxhotelrateplanupdateAPIRequest) SetEndTime ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 产品每日开始销售时间,start_time一定为当天时间
func (*TaobaoxhotelrateplanupdateAPIRequest) SetEnglishName ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetEnglishName(_englishName string) error
SetEnglishName is EnglishName Setter RP的英文名称
func (*TaobaoxhotelrateplanupdateAPIRequest) SetFirstStay ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetFirstStay(_firstStay int64) error
SetFirstStay is FirstStay Setter 需申请会员权限。是否是新用户首住优惠rp。1-代表是。0-代表否。不填写代表不更新该字段。
func (*TaobaoxhotelrateplanupdateAPIRequest) SetFreeRoomChargeDstRole ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetFreeRoomChargeDstRole(_freeRoomChargeDstRole string) error
SetFreeRoomChargeDstRole is FreeRoomChargeDstRole Setter 商业化充值类型 seller充值到卖家 hotel充值到门店
func (*TaobaoxhotelrateplanupdateAPIRequest) SetGuaranteeCal ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetGuaranteeMode(_guaranteeMode int64) error
SetGuaranteeMode is GuaranteeMode Setter -9999 清空担保, 2 VCC担保, 1 PCI担保,0 支付宝担保(信用住产品担保方式只能为支付宝担保)
func (*TaobaoxhotelrateplanupdateAPIRequest) SetGuaranteeStartTime ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetGuaranteeStartTime(_guaranteeStartTime string) error
SetGuaranteeStartTime is GuaranteeStartTime Setter 分时担保每日开始担保时间。 (如果设置了峰时担保类型,那么峰时担保时间不能为空,并且必须大于等于8点)
func (*TaobaoxhotelrateplanupdateAPIRequest) SetGuaranteeType ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetGuaranteeType(_guaranteeType int64) error
SetGuaranteeType is GuaranteeType Setter 担保类型,只支持: 0 无担保 1 峰时首晚担保 2峰时全额担保 3全天首晚担保 4全天全额担保
func (*TaobaoxhotelrateplanupdateAPIRequest) SetGuestLimit ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetGuestLimit(_guestLimit string) error
SetGuestLimit is GuestLimit Setter 入住人限制
func (*TaobaoxhotelrateplanupdateAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 酒店id
func (*TaobaoxhotelrateplanupdateAPIRequest) SetHotelCompanyMappingDOS ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetHotelCompanyMappingDOS(_hotelCompanyMappingDOS string) error
SetHotelCompanyMappingDOS is HotelCompanyMappingDOS Setter 酒店-企业-rp映射实体集合
func (*TaobaoxhotelrateplanupdateAPIRequest) SetHourage ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetHourage(_hourage string) error
SetHourage is Hourage Setter 小时房入住时间跨度。小时房特有字段。比如4小时的小时房,那么值为4
func (*TaobaoxhotelrateplanupdateAPIRequest) SetIsStudent ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetIsStudent(_isStudent int64) error
SetIsStudent is IsStudent Setter 学生价,1:是;0:否
func (*TaobaoxhotelrateplanupdateAPIRequest) SetMaxAdvHours ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetMaxAdvHours(_maxAdvHours int64) error
SetMaxAdvHours is MaxAdvHours Setter 最大提前预定小时数,从入住当天的24点往前计算。例如如果这个字段设置了48,代表最多提前两天预定,那么如果想预定24号入住,,必须在23号零点以后下单。
func (*TaobaoxhotelrateplanupdateAPIRequest) SetMaxDays ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetMaxDays(_maxDays int64) error
SetMaxDays is MaxDays Setter 最大入住天数(1-90)。默认90,信用住最大入住天数不超过9天,小时房RP请设置为1,个别卖家支持180
func (*TaobaoxhotelrateplanupdateAPIRequest) SetMemDiscFlag ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetMemDiscFlag(_memDiscFlag int64) error
SetMemDiscFlag is MemDiscFlag Setter 会员价支持标识,1表示支持会员价规则
func (*TaobaoxhotelrateplanupdateAPIRequest) SetMemberDiscountCal ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetMemberDiscountCal(_memberDiscountCal string) error
SetMemberDiscountCal is MemberDiscountCal Setter 会员价加价规则。c:表示折扣百分比,例子8,意为会员价优惠8%,s:标识起始日期,e:表示截止日期,t:表示加价类型,0:代表折扣。会员价=售价*(1-c%)。该字段使用需要联系小二
func (*TaobaoxhotelrateplanupdateAPIRequest) SetMemberLevel ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetMemberLevel(_memberLevel string) error
SetMemberLevel is MemberLevel Setter 双方映射后的会员等级。如需开通,需要申请权限,取值范围为:1,2,3,4,5,none。比如飞猪F3对应商家V4,则传4.(如果有疑问请联系对接技术支持)
func (*TaobaoxhotelrateplanupdateAPIRequest) SetMinAdvHours ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetMinAdvHours(_minAdvHours int64) error
SetMinAdvHours is MinAdvHours Setter 最小提前预定小时数,从入住当天的24点往前计算。例如如果这个字段设置了48,代表必须至少提前两天预定,那么如果想预定24号入住,,必须在23号零点前下单。
func (*TaobaoxhotelrateplanupdateAPIRequest) SetMinAmount ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetMinAmount(_minAmount int64) error
SetMinAmount is MinAmount Setter 首日入住房间数(1-99)。默认1。【废弃】
func (*TaobaoxhotelrateplanupdateAPIRequest) SetMinDays ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetMinDays(_minDays int64) error
SetMinDays is MinDays Setter 最小入住天数(1-90)。默认1,小时房RP请设置为1
func (*TaobaoxhotelrateplanupdateAPIRequest) SetName ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetName(_name string) error
SetName is Name Setter 在淘宝搜索页面展示的房价名称;(添加RP时为必须)。注意该名称不要包含早餐相关信息,如果想维护早餐信息,请设置breakfast_count字段即可。
func (*TaobaoxhotelrateplanupdateAPIRequest) SetOnlineBookingBindingInfo ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error
SetOnlineBookingBindingInfo is OnlineBookingBindingInfo Setter 在线预约关联关系推送,priceRuleNumber:加价规则序号
func (*TaobaoxhotelrateplanupdateAPIRequest) SetOperator ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetOperator(_operator string) error
SetOperator is Operator Setter operator
func (*TaobaoxhotelrateplanupdateAPIRequest) SetOutHid ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 外部酒店id
func (*TaobaoxhotelrateplanupdateAPIRequest) SetOutRid ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 外部房型id
func (*TaobaoxhotelrateplanupdateAPIRequest) SetPackRoomFlag ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetPackRoomFlag(_packRoomFlag string) error
SetPackRoomFlag is PackRoomFlag Setter 是否包房RP 1包房RP,0 非包房rp
func (*TaobaoxhotelrateplanupdateAPIRequest) SetParentRpCode ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetParentRpCode(_parentRpCode string) error
SetParentRpCode is ParentRpCode Setter 父rpcode,使用场景:当一个rp发布变价rate的时候,用于下单时候传递约定的rpcode给外部
func (*TaobaoxhotelrateplanupdateAPIRequest) SetParentRpid ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetParentRpid(_parentRpid int64) error
SetParentRpid is ParentRpid Setter 父rpid,使用场景:当一个rp发布变价rate的时候,记录父rp信息,用于下单时候传递约定的rpcode给外部
func (*TaobaoxhotelrateplanupdateAPIRequest) SetPaymentType ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetPaymentType(_paymentType int64) error
SetPaymentType is PaymentType Setter 支付类型,只支持:1:预付5:现付6: 信用住7:在线预约8:在线预约信用住。其中5,6,7,8三种类型需要申请权限
func (*TaobaoxhotelrateplanupdateAPIRequest) SetRateplanCode ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 商家价格政策编码
func (*TaobaoxhotelrateplanupdateAPIRequest) SetResourceType ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetResourceType(_resourceType string) error
SetResourceType is ResourceType Setter 商品来源渠道。1:直采(直连酒店PMS), 1-1:直采(非直连) 2:携程系, 3:美团, 4:国内旅行社分销, 5:海外供应商。非酒店资源方卖家必须提供商品来源渠道,携程系包括携程、去哪儿、艺龙。
func (*TaobaoxhotelrateplanupdateAPIRequest) SetRid ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetRid(_rid int64) error
SetRid is Rid Setter 房型id
func (*TaobaoxhotelrateplanupdateAPIRequest) SetRights ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetRights(_rights string) error
SetRights is Rights Setter rp的权益信息。1. 额外积分 2. 优惠价格 3. 套餐权益 4.行政礼遇
func (*TaobaoxhotelrateplanupdateAPIRequest) SetRpType ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetRpType(_rpType string) error
SetRpType is RpType Setter rp类型,1为小时房。目前只支持小时房。如果不是小时房rateplan,则不要填写。如果想要清空该字段可以传入none
func (*TaobaoxhotelrateplanupdateAPIRequest) SetRpid ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetRpid(_rpid int64) error
SetRpid is Rpid Setter 不推荐使用,使用ratePlanCode来标识要修改的RP
func (*TaobaoxhotelrateplanupdateAPIRequest) SetSource ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetSource(_source int64) error
SetSource is Source Setter 来源
func (*TaobaoxhotelrateplanupdateAPIRequest) SetStartTime ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetStartTime(_startTime string) error
SetStartTime is StartTime Setter 产品每日开始销售时间,start_time一定为当天时间
func (*TaobaoxhotelrateplanupdateAPIRequest) SetStatus ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 1:开启(默认)2:关闭。如果没传值那么默认默认值为1;(添加RP时为必须)
func (*TaobaoxhotelrateplanupdateAPIRequest) SetSuperRpFlag ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetSuperRpFlag(_superRpFlag int64) error
SetSuperRpFlag is SuperRpFlag Setter super rp标记,1是;0否
func (*TaobaoxhotelrateplanupdateAPIRequest) SetTagJson ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelrateplanupdateAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不用填写,使用须申请
type TaobaoxhotelrateplanupdateAPIResponse ¶ added in v1.3.1
type TaobaoxhotelrateplanupdateAPIResponse struct { model.CommonResponse TaobaoxhotelrateplanupdateAPIResponseModel }
TaobaoxhotelrateplanupdateAPIResponse 价格计划rateplan更新或添加 API返回值 taobao.xhotel.rateplan.update
酒店产品库rateplan更新或添加
type TaobaoxhotelrateplanupdateAPIResponseModel ¶ added in v1.3.1
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更新或添加 成功返回结果
type TaobaoxhotelraterelationshipwithroomgetAPIRequest ¶ added in v1.3.1
type TaobaoxhotelraterelationshipwithroomgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelraterelationshipwithroomgetAPIRequest 查询rpId API请求 taobao.xhotel.rate.relationshipwithroom.get
某个卖家根据rpId查询所有的gid,可分页,不填分页信息则默认显示第一页。
func NewTaobaoxhotelraterelationshipwithroomgetRequest ¶ added in v1.3.1
func NewTaobaoxhotelraterelationshipwithroomgetRequest() *TaobaoxhotelraterelationshipwithroomgetAPIRequest
NewTaobaoxhotelraterelationshipwithroomgetRequest 初始化TaobaoxhotelraterelationshipwithroomgetAPIRequest对象
func (TaobaoxhotelraterelationshipwithroomgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelraterelationshipwithroomgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelraterelationshipwithroomgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelraterelationshipwithroomgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelraterelationshipwithroomgetAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaoxhotelraterelationshipwithroomgetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoxhotelraterelationshipwithroomgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelraterelationshipwithroomgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelraterelationshipwithroomgetAPIRequest) GetRpId ¶ added in v1.3.1
func (r TaobaoxhotelraterelationshipwithroomgetAPIRequest) GetRpId() int64
GetRpId RpId Getter
func (*TaobaoxhotelraterelationshipwithroomgetAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaoxhotelraterelationshipwithroomgetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页数
func (*TaobaoxhotelraterelationshipwithroomgetAPIRequest) SetRpId ¶ added in v1.3.1
func (r *TaobaoxhotelraterelationshipwithroomgetAPIRequest) SetRpId(_rpId int64) error
SetRpId is RpId Setter rpId
type TaobaoxhotelraterelationshipwithroomgetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelraterelationshipwithroomgetAPIResponse struct { model.CommonResponse TaobaoxhotelraterelationshipwithroomgetAPIResponseModel }
TaobaoxhotelraterelationshipwithroomgetAPIResponse 查询rpId API返回值 taobao.xhotel.rate.relationshipwithroom.get
某个卖家根据rpId查询所有的gid,可分页,不填分页信息则默认显示第一页。
type TaobaoxhotelraterelationshipwithroomgetAPIResponseModel ¶ added in v1.3.1
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 成功返回结果
type TaobaoxhotelraterelationshipwithrpgetAPIRequest ¶ added in v1.3.1
type TaobaoxhotelraterelationshipwithrpgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelraterelationshipwithrpgetAPIRequest 根据gid查询卖家下所有的rpId API请求 taobao.xhotel.rate.relationshipwithrp.get
根据gid查询卖家下所有的rpId,可分页,默认展示第一页的数据
func NewTaobaoxhotelraterelationshipwithrpgetRequest ¶ added in v1.3.1
func NewTaobaoxhotelraterelationshipwithrpgetRequest() *TaobaoxhotelraterelationshipwithrpgetAPIRequest
NewTaobaoxhotelraterelationshipwithrpgetRequest 初始化TaobaoxhotelraterelationshipwithrpgetAPIRequest对象
func (TaobaoxhotelraterelationshipwithrpgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelraterelationshipwithrpgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelraterelationshipwithrpgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelraterelationshipwithrpgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelraterelationshipwithrpgetAPIRequest) GetGid ¶ added in v1.3.1
func (r TaobaoxhotelraterelationshipwithrpgetAPIRequest) GetGid() int64
GetGid Gid Getter
func (TaobaoxhotelraterelationshipwithrpgetAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaoxhotelraterelationshipwithrpgetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoxhotelraterelationshipwithrpgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelraterelationshipwithrpgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelraterelationshipwithrpgetAPIRequest) SetGid ¶ added in v1.3.1
func (r *TaobaoxhotelraterelationshipwithrpgetAPIRequest) SetGid(_gid int64) error
SetGid is Gid Setter 宝贝的gid
func (*TaobaoxhotelraterelationshipwithrpgetAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaoxhotelraterelationshipwithrpgetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页数,可根据此值展示某页的数据。不填默认为1
type TaobaoxhotelraterelationshipwithrpgetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelraterelationshipwithrpgetAPIResponse struct { model.CommonResponse TaobaoxhotelraterelationshipwithrpgetAPIResponseModel }
TaobaoxhotelraterelationshipwithrpgetAPIResponse 根据gid查询卖家下所有的rpId API返回值 taobao.xhotel.rate.relationshipwithrp.get
根据gid查询卖家下所有的rpId,可分页,默认展示第一页的数据
type TaobaoxhotelraterelationshipwithrpgetAPIResponseModel ¶ added in v1.3.1
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 成功返回结果
type TaobaoxhotelratesincrementAPIRequest ¶ added in v1.3.1
type TaobaoxhotelratesincrementAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelratesincrementAPIRequest 价格推送接口(批量增量) API请求 taobao.xhotel.rates.increment
Rate库存&价格增量更新接口,用户仅需要更新Rate中发生变化的库存日历&价格日历即可
func NewTaobaoxhotelratesincrementRequest ¶ added in v1.3.1
func NewTaobaoxhotelratesincrementRequest() *TaobaoxhotelratesincrementAPIRequest
NewTaobaoxhotelratesincrementRequest 初始化TaobaoxhotelratesincrementAPIRequest对象
func (TaobaoxhotelratesincrementAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelratesincrementAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelratesincrementAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelratesincrementAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelratesincrementAPIRequest) GetRateInventoryPriceMap ¶ added in v1.3.1
func (r TaobaoxhotelratesincrementAPIRequest) GetRateInventoryPriceMap() string
GetRateInventoryPriceMap RateInventoryPriceMap Getter
func (TaobaoxhotelratesincrementAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelratesincrementAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelratesincrementAPIRequest) SetRateInventoryPriceMap ¶ added in v1.3.1
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 ¶ added in v1.3.1
type TaobaoxhotelratesincrementAPIResponse struct { model.CommonResponse TaobaoxhotelratesincrementAPIResponseModel }
TaobaoxhotelratesincrementAPIResponse 价格推送接口(批量增量) API返回值 taobao.xhotel.rates.increment
Rate库存&价格增量更新接口,用户仅需要更新Rate中发生变化的库存日历&价格日历即可
type TaobaoxhotelratesincrementAPIResponseModel ¶ added in v1.3.1
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 价格推送接口(批量增量) 成功返回结果
type TaobaoxhotelratesliteincrupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelratesliteincrupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelratesliteincrupdateAPIRequest 酒店价格库存轻量级增量接口 API请求 taobao.xhotel.rates.lite.incr.update
多个rate的库存房价开关的增量更新接口
func NewTaobaoxhotelratesliteincrupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelratesliteincrupdateRequest() *TaobaoxhotelratesliteincrupdateAPIRequest
NewTaobaoxhotelratesliteincrupdateRequest 初始化TaobaoxhotelratesliteincrupdateAPIRequest对象
func (TaobaoxhotelratesliteincrupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelratesliteincrupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelratesliteincrupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelratesliteincrupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelratesliteincrupdateAPIRequest) GetRateListInvInfo ¶ added in v1.3.1
func (r TaobaoxhotelratesliteincrupdateAPIRequest) GetRateListInvInfo() string
GetRateListInvInfo RateListInvInfo Getter
func (TaobaoxhotelratesliteincrupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelratesliteincrupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelratesliteincrupdateAPIRequest) SetRateListInvInfo ¶ added in v1.3.1
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 ¶ added in v1.3.1
type TaobaoxhotelratesliteincrupdateAPIResponse struct { model.CommonResponse TaobaoxhotelratesliteincrupdateAPIResponseModel }
TaobaoxhotelratesliteincrupdateAPIResponse 酒店价格库存轻量级增量接口 API返回值 taobao.xhotel.rates.lite.incr.update
多个rate的库存房价开关的增量更新接口
type TaobaoxhotelratesliteincrupdateAPIResponseModel ¶ added in v1.3.1
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 酒店价格库存轻量级增量接口 成功返回结果
type TaobaoxhotelratesliteincrupdateResultSet ¶ added in v1.3.1
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 结构体
type TaobaoxhotelratesupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelratesupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelratesupdateAPIRequest 价格推送接口(批量全量) API请求 taobao.xhotel.rates.update
酒店产品库rate批量更新房态信息
func NewTaobaoxhotelratesupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelratesupdateRequest() *TaobaoxhotelratesupdateAPIRequest
NewTaobaoxhotelratesupdateRequest 初始化TaobaoxhotelratesupdateAPIRequest对象
func (TaobaoxhotelratesupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelratesupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelratesupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelratesupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelratesupdateAPIRequest) GetRateInventoryPriceMap ¶ added in v1.3.1
func (r TaobaoxhotelratesupdateAPIRequest) GetRateInventoryPriceMap() string
GetRateInventoryPriceMap RateInventoryPriceMap Getter
func (TaobaoxhotelratesupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelratesupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelratesupdateAPIRequest) SetRateInventoryPriceMap ¶ added in v1.3.1
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 ¶ added in v1.3.1
type TaobaoxhotelratesupdateAPIResponse struct { model.CommonResponse TaobaoxhotelratesupdateAPIResponseModel }
TaobaoxhotelratesupdateAPIResponse 价格推送接口(批量全量) API返回值 taobao.xhotel.rates.update
酒店产品库rate批量更新房态信息
type TaobaoxhotelratesupdateAPIResponseModel ¶ added in v1.3.1
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 价格推送接口(批量全量) 成功返回结果
type TaobaoxhotelrateupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelrateupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelrateupdateAPIRequest 价格推送接口(全量更新) API请求 taobao.xhotel.rate.update
酒店产品库rate更新
func NewTaobaoxhotelrateupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelrateupdateRequest() *TaobaoxhotelrateupdateAPIRequest
NewTaobaoxhotelrateupdateRequest 初始化TaobaoxhotelrateupdateAPIRequest对象
func (TaobaoxhotelrateupdateAPIRequest) GetAddBed ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetAddBed() int64
GetAddBed AddBed Getter
func (TaobaoxhotelrateupdateAPIRequest) GetAddBedPrice ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetAddBedPrice() int64
GetAddBedPrice AddBedPrice Getter
func (TaobaoxhotelrateupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelrateupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelrateupdateAPIRequest) GetCurrencyCode ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetCurrencyCode() int64
GetCurrencyCode CurrencyCode Getter
func (TaobaoxhotelrateupdateAPIRequest) GetGid ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetGid() int64
GetGid Gid Getter
func (TaobaoxhotelrateupdateAPIRequest) GetHotelXitemInfos ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetHotelXitemInfos() string
GetHotelXitemInfos HotelXitemInfos Getter
func (TaobaoxhotelrateupdateAPIRequest) GetInventoryPrice ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetInventoryPrice() string
GetInventoryPrice InventoryPrice Getter
func (TaobaoxhotelrateupdateAPIRequest) GetJishiquerenTag ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetJishiquerenTag() int64
GetJishiquerenTag JishiquerenTag Getter
func (TaobaoxhotelrateupdateAPIRequest) GetLockEndTime ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetLockEndTime() string
GetLockEndTime LockEndTime Getter
func (TaobaoxhotelrateupdateAPIRequest) GetLockStartTime ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetLockStartTime() string
GetLockStartTime LockStartTime Getter
func (TaobaoxhotelrateupdateAPIRequest) GetName ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoxhotelrateupdateAPIRequest) GetOnlineBookingBindingInfo ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetOnlineBookingBindingInfo() string
GetOnlineBookingBindingInfo OnlineBookingBindingInfo Getter
func (TaobaoxhotelrateupdateAPIRequest) GetOutRid ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoxhotelrateupdateAPIRequest) GetRateSwitchCal ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetRateSwitchCal() string
GetRateSwitchCal RateSwitchCal Getter
func (TaobaoxhotelrateupdateAPIRequest) GetRateplanCode ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoxhotelrateupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelrateupdateAPIRequest) GetRpid ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetRpid() int64
GetRpid Rpid Getter
func (TaobaoxhotelrateupdateAPIRequest) GetShijiaTag ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetShijiaTag() int64
GetShijiaTag ShijiaTag Getter
func (TaobaoxhotelrateupdateAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelrateupdateAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelrateupdateAPIRequest) SetAddBed ¶ added in v1.3.1
func (r *TaobaoxhotelrateupdateAPIRequest) SetAddBed(_addBed int64) error
SetAddBed is AddBed Setter 不推荐使用
func (*TaobaoxhotelrateupdateAPIRequest) SetAddBedPrice ¶ added in v1.3.1
func (r *TaobaoxhotelrateupdateAPIRequest) SetAddBedPrice(_addBedPrice int64) error
SetAddBedPrice is AddBedPrice Setter 不推荐使用
func (*TaobaoxhotelrateupdateAPIRequest) SetCurrencyCode ¶ added in v1.3.1
func (r *TaobaoxhotelrateupdateAPIRequest) SetCurrencyCode(_currencyCode int64) error
SetCurrencyCode is CurrencyCode Setter 不推荐使用(仅支持CNY)
func (*TaobaoxhotelrateupdateAPIRequest) SetGid ¶ added in v1.3.1
func (r *TaobaoxhotelrateupdateAPIRequest) SetGid(_gid int64) error
SetGid is Gid Setter 不推荐使用,请使用out_rid
func (*TaobaoxhotelrateupdateAPIRequest) SetHotelXitemInfos ¶ added in v1.3.1
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 ¶ added in v1.3.1
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.3.1
func (r *TaobaoxhotelrateupdateAPIRequest) SetJishiquerenTag(_jishiquerenTag int64) error
SetJishiquerenTag is JishiquerenTag Setter 不推荐使用
func (*TaobaoxhotelrateupdateAPIRequest) SetLockEndTime ¶ added in v1.3.1
func (r *TaobaoxhotelrateupdateAPIRequest) SetLockEndTime(_lockEndTime string) error
SetLockEndTime is LockEndTime Setter 锁库存截止时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)
func (*TaobaoxhotelrateupdateAPIRequest) SetLockStartTime ¶ added in v1.3.1
func (r *TaobaoxhotelrateupdateAPIRequest) SetLockStartTime(_lockStartTime string) error
SetLockStartTime is LockStartTime Setter 锁库存开始时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)
func (*TaobaoxhotelrateupdateAPIRequest) SetName ¶ added in v1.3.1
func (r *TaobaoxhotelrateupdateAPIRequest) SetName(_name string) error
SetName is Name Setter 废弃
func (*TaobaoxhotelrateupdateAPIRequest) SetOnlineBookingBindingInfo ¶ added in v1.3.1
func (r *TaobaoxhotelrateupdateAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error
SetOnlineBookingBindingInfo is OnlineBookingBindingInfo Setter 在线预约关联关系推送,priceRuleNumber:加价规则序号
func (*TaobaoxhotelrateupdateAPIRequest) SetOutRid ¶ added in v1.3.1
func (r *TaobaoxhotelrateupdateAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 商家房型ID
func (*TaobaoxhotelrateupdateAPIRequest) SetRateSwitchCal ¶ added in v1.3.1
func (r *TaobaoxhotelrateupdateAPIRequest) SetRateSwitchCal(_rateSwitchCal string) error
SetRateSwitchCal is RateSwitchCal Setter 日历价格开关, date:开关状态控制的是那一天 rate_status:开关状态。0,关闭;1,打开
func (*TaobaoxhotelrateupdateAPIRequest) SetRateplanCode ¶ added in v1.3.1
func (r *TaobaoxhotelrateupdateAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 商家价格计划编码
func (*TaobaoxhotelrateupdateAPIRequest) SetRpid ¶ added in v1.3.1
func (r *TaobaoxhotelrateupdateAPIRequest) SetRpid(_rpid int64) error
SetRpid is Rpid Setter 不推荐使用,请使用rateplan_code
func (*TaobaoxhotelrateupdateAPIRequest) SetShijiaTag ¶ added in v1.3.1
func (r *TaobaoxhotelrateupdateAPIRequest) SetShijiaTag(_shijiaTag int64) error
SetShijiaTag is ShijiaTag Setter 不推荐使用
func (*TaobaoxhotelrateupdateAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelrateupdateAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不用填写,使用需要申请
type TaobaoxhotelrateupdateAPIResponse ¶ added in v1.3.1
type TaobaoxhotelrateupdateAPIResponse struct { model.CommonResponse TaobaoxhotelrateupdateAPIResponseModel }
TaobaoxhotelrateupdateAPIResponse 价格推送接口(全量更新) API返回值 taobao.xhotel.rate.update
酒店产品库rate更新
type TaobaoxhotelrateupdateAPIResponseModel ¶ added in v1.3.1
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 价格推送接口(全量更新) 成功返回结果
type TaobaoxhotelroomgetAPIRequest ¶ added in v1.3.1
type TaobaoxhotelroomgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelroomgetAPIRequest room实体查询 API请求 taobao.xhotel.room.get
此接口用于查询一个商品,根据传入的gid查询商品信息。卖家只能查询自己的商品。
func NewTaobaoxhotelroomgetRequest ¶ added in v1.3.1
func NewTaobaoxhotelroomgetRequest() *TaobaoxhotelroomgetAPIRequest
NewTaobaoxhotelroomgetRequest 初始化TaobaoxhotelroomgetAPIRequest对象
func (TaobaoxhotelroomgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelroomgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelroomgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelroomgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelroomgetAPIRequest) GetGid ¶ added in v1.3.1
func (r TaobaoxhotelroomgetAPIRequest) GetGid() int64
GetGid Gid Getter
func (TaobaoxhotelroomgetAPIRequest) GetOutRid ¶ added in v1.3.1
func (r TaobaoxhotelroomgetAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoxhotelroomgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelroomgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelroomgetAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelroomgetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelroomgetAPIRequest) SetGid ¶ added in v1.3.1
func (r *TaobaoxhotelroomgetAPIRequest) SetGid(_gid int64) error
SetGid is Gid Setter 废弃
func (*TaobaoxhotelroomgetAPIRequest) SetOutRid ¶ added in v1.3.1
func (r *TaobaoxhotelroomgetAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 外部房型id 如果gid为空,那么out_rid和vendor都不能为空 支持通过gid或者通过out_rid和vendor来获取商品
func (*TaobaoxhotelroomgetAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelroomgetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 卖家渠道 如果gid为空,那么out_rid和vendor都不能为空。 支持通过gid或者通过out_rid和vendor来获取商品
type TaobaoxhotelroomgetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelroomgetAPIResponse struct { model.CommonResponse TaobaoxhotelroomgetAPIResponseModel }
TaobaoxhotelroomgetAPIResponse room实体查询 API返回值 taobao.xhotel.room.get
此接口用于查询一个商品,根据传入的gid查询商品信息。卖家只能查询自己的商品。
type TaobaoxhotelroomgetAPIResponseModel ¶ added in v1.3.1
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实体查询 成功返回结果
type TaobaoxhotelroomsincrementAPIRequest ¶ added in v1.3.1
type TaobaoxhotelroomsincrementAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelroomsincrementAPIRequest 房型库存推送接口(批量增量) API请求 taobao.xhotel.rooms.increment
Room库存增量更新接口,用户仅需要更新ROOM库存中发生变化的库存日历即可。
func NewTaobaoxhotelroomsincrementRequest ¶ added in v1.3.1
func NewTaobaoxhotelroomsincrementRequest() *TaobaoxhotelroomsincrementAPIRequest
NewTaobaoxhotelroomsincrementRequest 初始化TaobaoxhotelroomsincrementAPIRequest对象
func (TaobaoxhotelroomsincrementAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelroomsincrementAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelroomsincrementAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelroomsincrementAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelroomsincrementAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelroomsincrementAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelroomsincrementAPIRequest) GetRoomQuotaMap ¶ added in v1.3.1
func (r TaobaoxhotelroomsincrementAPIRequest) GetRoomQuotaMap() string
GetRoomQuotaMap RoomQuotaMap Getter
func (*TaobaoxhotelroomsincrementAPIRequest) SetRoomQuotaMap ¶ added in v1.3.1
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 ¶ added in v1.3.1
type TaobaoxhotelroomsincrementAPIResponse struct { model.CommonResponse TaobaoxhotelroomsincrementAPIResponseModel }
TaobaoxhotelroomsincrementAPIResponse 房型库存推送接口(批量增量) API返回值 taobao.xhotel.rooms.increment
Room库存增量更新接口,用户仅需要更新ROOM库存中发生变化的库存日历即可。
type TaobaoxhotelroomsincrementAPIResponseModel ¶ added in v1.3.1
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 房型库存推送接口(批量增量) 成功返回结果
type TaobaoxhotelroomsupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelroomsupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelroomsupdateAPIRequest 房型共享库存推送接口(批量全量) API请求 taobao.xhotel.rooms.update
此接口用于更新多个集市酒店商品房态信息,根据传入的gids更新商品信息,该商品必须为对应的发布者才能执行更新操作。如果对应的商品在淘宝集市酒店系统中不存在,则会返回错误提示。是全量更新,非增量,会把之前的房态进行覆盖。
func NewTaobaoxhotelroomsupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelroomsupdateRequest() *TaobaoxhotelroomsupdateAPIRequest
NewTaobaoxhotelroomsupdateRequest 初始化TaobaoxhotelroomsupdateAPIRequest对象
func (TaobaoxhotelroomsupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelroomsupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelroomsupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelroomsupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelroomsupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelroomsupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelroomsupdateAPIRequest) GetRoomQuotaMap ¶ added in v1.3.1
func (r TaobaoxhotelroomsupdateAPIRequest) GetRoomQuotaMap() string
GetRoomQuotaMap RoomQuotaMap Getter
func (*TaobaoxhotelroomsupdateAPIRequest) SetRoomQuotaMap ¶ added in v1.3.1
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 ¶ added in v1.3.1
type TaobaoxhotelroomsupdateAPIResponse struct { model.CommonResponse TaobaoxhotelroomsupdateAPIResponseModel }
TaobaoxhotelroomsupdateAPIResponse 房型共享库存推送接口(批量全量) API返回值 taobao.xhotel.rooms.update
此接口用于更新多个集市酒店商品房态信息,根据传入的gids更新商品信息,该商品必须为对应的发布者才能执行更新操作。如果对应的商品在淘宝集市酒店系统中不存在,则会返回错误提示。是全量更新,非增量,会把之前的房态进行覆盖。
type TaobaoxhotelroomsupdateAPIResponseModel ¶ added in v1.3.1
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 房型共享库存推送接口(批量全量) 成功返回结果
type TaobaoxhotelroomtypeaddAPIRequest ¶ added in v1.3.1
type TaobaoxhotelroomtypeaddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelroomtypeaddAPIRequest 房型新增接口(ID重复变更新) API请求 taobao.xhotel.roomtype.add
房型添加或更新
func NewTaobaoxhotelroomtypeaddRequest ¶ added in v1.3.1
func NewTaobaoxhotelroomtypeaddRequest() *TaobaoxhotelroomtypeaddAPIRequest
NewTaobaoxhotelroomtypeaddRequest 初始化TaobaoxhotelroomtypeaddAPIRequest对象
func (TaobaoxhotelroomtypeaddAPIRequest) GetAddBed ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetAddBed() string
GetAddBed AddBed Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelroomtypeaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelroomtypeaddAPIRequest) GetArea ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetArea() string
GetArea Area Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetBedInfo ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetBedInfo() string
GetBedInfo BedInfo Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetBedSize ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetBedSize() string
GetBedSize BedSize Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetBedType ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetBedType() string
GetBedType BedType Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetChildrenPolicy ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetChildrenPolicy() string
GetChildrenPolicy ChildrenPolicy Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetConnectionType ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetConnectionType() int64
GetConnectionType ConnectionType Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetExtend ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetExtend() string
GetExtend Extend Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetFloor ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetFloor() string
GetFloor Floor Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetInternet ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetInternet() string
GetInternet Internet Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetMaxOccupancy ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetMaxOccupancy() int64
GetMaxOccupancy MaxOccupancy Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetName ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetNameE ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetNameE() string
GetNameE NameE Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetOperator ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetOperator() string
GetOperator Operator Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetOutHid ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetPics ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetPics() string
GetPics Pics Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelroomtypeaddAPIRequest) GetService ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetService() string
GetService Service Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetSrid ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetSrid() int64
GetSrid Srid Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetStandardRoomFacilities ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetStandardRoomFacilities() string
GetStandardRoomFacilities StandardRoomFacilities Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetWindowDesc ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetWindowDesc() string
GetWindowDesc WindowDesc Getter
func (TaobaoxhotelroomtypeaddAPIRequest) GetWindowType ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeaddAPIRequest) GetWindowType() int64
GetWindowType WindowType Getter
func (*TaobaoxhotelroomtypeaddAPIRequest) SetAddBed ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetAddBed(_addBed string) error
SetAddBed is AddBed Setter 房型加床政策。 费用(fee) 说明(desc)
func (*TaobaoxhotelroomtypeaddAPIRequest) SetArea ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetArea(_area string) error
SetArea is Area Setter 具体面积大小,请按照正确格式填写。两种格式,例如:40或者 10-20
func (*TaobaoxhotelroomtypeaddAPIRequest) SetBedInfo ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetBedSize(_bedSize string) error
SetBedSize is BedSize Setter 床宽。按自己定义存储,比如:2.1米
func (*TaobaoxhotelroomtypeaddAPIRequest) SetBedType ¶ added in v1.3.1
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.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetChildrenPolicy(_childrenPolicy string) error
SetChildrenPolicy is ChildrenPolicy Setter 儿童政策
func (*TaobaoxhotelroomtypeaddAPIRequest) SetConnectionType ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetConnectionType(_connectionType int64) error
SetConnectionType is ConnectionType Setter 属性值为1: 含义是非直连房型
func (*TaobaoxhotelroomtypeaddAPIRequest) SetExtend ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetExtend(_extend string) error
SetExtend is Extend Setter 不要使用
func (*TaobaoxhotelroomtypeaddAPIRequest) SetFloor ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetFloor(_floor string) error
SetFloor is Floor Setter 客房在建筑的第几层,隔层为1-2层,4-5层,7-8层
func (*TaobaoxhotelroomtypeaddAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter (已废弃)请使用outHid
func (*TaobaoxhotelroomtypeaddAPIRequest) SetInternet ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetInternet(_internet string) error
SetInternet is Internet Setter 宽带服务。A,B,C,D。分别代表: A:无宽带,B:免费宽带,C:收费宽带,D:部分收费宽带
func (*TaobaoxhotelroomtypeaddAPIRequest) SetMaxOccupancy ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetMaxOccupancy(_maxOccupancy int64) error
SetMaxOccupancy is MaxOccupancy Setter 最大入住人数,默认2(1-99)
func (*TaobaoxhotelroomtypeaddAPIRequest) SetName ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetName(_name string) error
SetName is Name Setter 房型名称。不能超过200个字符
func (*TaobaoxhotelroomtypeaddAPIRequest) SetNameE ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetNameE(_nameE string) error
SetNameE is NameE Setter 卖家房型英文名称
func (*TaobaoxhotelroomtypeaddAPIRequest) SetOperator ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetOperator(_operator string) error
SetOperator is Operator Setter 操作人信息
func (*TaobaoxhotelroomtypeaddAPIRequest) SetOutHid ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter (必传)商家酒店ID,指明该房型属于哪家酒店
func (*TaobaoxhotelroomtypeaddAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 卖家房型ID,不能重复建议格式是:酒店code_房型code
func (*TaobaoxhotelroomtypeaddAPIRequest) SetPics ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetPics(_pics string) error
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetSrid(_srid int64) error
SetSrid is Srid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝房型的匹配关系。目前尚未启动该字段。
func (*TaobaoxhotelroomtypeaddAPIRequest) SetStandardRoomFacilities ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetStandardRoomFacilities(_standardRoomFacilities string) error
SetStandardRoomFacilities is StandardRoomFacilities Setter 酒店房型设施
func (*TaobaoxhotelroomtypeaddAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,无申请不可使用
func (*TaobaoxhotelroomtypeaddAPIRequest) SetWindowDesc ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeaddAPIRequest) SetWindowType(_windowType int64) error
SetWindowType is WindowType Setter 0:无窗/1:有窗/2:部分有窗/3:暗窗/4:部分暗窗
type TaobaoxhotelroomtypeaddAPIResponse ¶ added in v1.3.1
type TaobaoxhotelroomtypeaddAPIResponse struct { model.CommonResponse TaobaoxhotelroomtypeaddAPIResponseModel }
TaobaoxhotelroomtypeaddAPIResponse 房型新增接口(ID重复变更新) API返回值 taobao.xhotel.roomtype.add
房型添加或更新
type TaobaoxhotelroomtypeaddAPIResponseModel ¶ added in v1.3.1
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重复变更新) 成功返回结果
type TaobaoxhotelroomtypeconflictdataAPIRequest ¶ added in v1.3.1
type TaobaoxhotelroomtypeconflictdataAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelroomtypeconflictdataAPIRequest 商家床型冲突数据接口 API请求 taobao.xhotel.roomtype.conflict.data
商家床型冲突数据接口
func NewTaobaoxhotelroomtypeconflictdataRequest ¶ added in v1.3.1
func NewTaobaoxhotelroomtypeconflictdataRequest() *TaobaoxhotelroomtypeconflictdataAPIRequest
NewTaobaoxhotelroomtypeconflictdataRequest 初始化TaobaoxhotelroomtypeconflictdataAPIRequest对象
func (TaobaoxhotelroomtypeconflictdataAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeconflictdataAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelroomtypeconflictdataAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeconflictdataAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelroomtypeconflictdataAPIRequest) GetCurrentPage ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeconflictdataAPIRequest) GetCurrentPage() int64
GetCurrentPage CurrentPage Getter
func (TaobaoxhotelroomtypeconflictdataAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeconflictdataAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelroomtypeconflictdataAPIRequest) SetCurrentPage ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeconflictdataAPIRequest) SetCurrentPage(_currentPage int64) error
SetCurrentPage is CurrentPage Setter 查询第几页数据
type TaobaoxhotelroomtypeconflictdataAPIResponse ¶ added in v1.3.1
type TaobaoxhotelroomtypeconflictdataAPIResponse struct { model.CommonResponse TaobaoxhotelroomtypeconflictdataAPIResponseModel }
TaobaoxhotelroomtypeconflictdataAPIResponse 商家床型冲突数据接口 API返回值 taobao.xhotel.roomtype.conflict.data
商家床型冲突数据接口
type TaobaoxhotelroomtypeconflictdataAPIResponseModel ¶ added in v1.3.1
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 商家床型冲突数据接口 成功返回结果
type TaobaoxhotelroomtypeconflictdataResultSet ¶ added in v1.3.1
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 结构体
type TaobaoxhotelroomtypedeletepublicAPIRequest ¶ added in v1.3.1
type TaobaoxhotelroomtypedeletepublicAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelroomtypedeletepublicAPIRequest 商家删除房型数据接口 API请求 taobao.xhotel.roomtype.delete.public
房型删除TOP接口
func NewTaobaoxhotelroomtypedeletepublicRequest ¶ added in v1.3.1
func NewTaobaoxhotelroomtypedeletepublicRequest() *TaobaoxhotelroomtypedeletepublicAPIRequest
NewTaobaoxhotelroomtypedeletepublicRequest 初始化TaobaoxhotelroomtypedeletepublicAPIRequest对象
func (TaobaoxhotelroomtypedeletepublicAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelroomtypedeletepublicAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelroomtypedeletepublicAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelroomtypedeletepublicAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelroomtypedeletepublicAPIRequest) GetOperator ¶ added in v1.3.1
func (r TaobaoxhotelroomtypedeletepublicAPIRequest) GetOperator() string
GetOperator Operator Getter
func (TaobaoxhotelroomtypedeletepublicAPIRequest) GetOuterRid ¶ added in v1.3.1
func (r TaobaoxhotelroomtypedeletepublicAPIRequest) GetOuterRid() string
GetOuterRid OuterRid Getter
func (TaobaoxhotelroomtypedeletepublicAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelroomtypedeletepublicAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelroomtypedeletepublicAPIRequest) GetRid ¶ added in v1.3.1
func (r TaobaoxhotelroomtypedeletepublicAPIRequest) GetRid() int64
GetRid Rid Getter
func (TaobaoxhotelroomtypedeletepublicAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelroomtypedeletepublicAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelroomtypedeletepublicAPIRequest) SetOperator ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypedeletepublicAPIRequest) SetOperator(_operator string) error
SetOperator is Operator Setter 具体操作人,比如酒店帐号、小二名称等
func (*TaobaoxhotelroomtypedeletepublicAPIRequest) SetOuterRid ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypedeletepublicAPIRequest) SetOuterRid(_outerRid string) error
SetOuterRid is OuterRid Setter 外部房型ID
func (*TaobaoxhotelroomtypedeletepublicAPIRequest) SetRid ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypedeletepublicAPIRequest) SetRid(_rid int64) error
SetRid is Rid Setter 房型rid ,�传参方式:rid 或者 outer_id+vendor
func (*TaobaoxhotelroomtypedeletepublicAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypedeletepublicAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter vendor
type TaobaoxhotelroomtypedeletepublicAPIResponse ¶ added in v1.3.1
type TaobaoxhotelroomtypedeletepublicAPIResponse struct { model.CommonResponse TaobaoxhotelroomtypedeletepublicAPIResponseModel }
TaobaoxhotelroomtypedeletepublicAPIResponse 商家删除房型数据接口 API返回值 taobao.xhotel.roomtype.delete.public
房型删除TOP接口
type TaobaoxhotelroomtypedeletepublicAPIResponseModel ¶ added in v1.3.1
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 商家删除房型数据接口 成功返回结果
type TaobaoxhotelroomtypedeletepublicResultSet ¶ added in v1.3.1
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 结构体
type TaobaoxhotelroomtypegetAPIRequest ¶ added in v1.3.1
type TaobaoxhotelroomtypegetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelroomtypegetAPIRequest 房型查询接口 API请求 taobao.xhotel.roomtype.get
房型查询房型查询接口返回结果增加date_confirm字段
func NewTaobaoxhotelroomtypegetRequest ¶ added in v1.3.1
func NewTaobaoxhotelroomtypegetRequest() *TaobaoxhotelroomtypegetAPIRequest
NewTaobaoxhotelroomtypegetRequest 初始化TaobaoxhotelroomtypegetAPIRequest对象
func (TaobaoxhotelroomtypegetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelroomtypegetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelroomtypegetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelroomtypegetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelroomtypegetAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoxhotelroomtypegetAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoxhotelroomtypegetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelroomtypegetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelroomtypegetAPIRequest) GetRid ¶ added in v1.3.1
func (r TaobaoxhotelroomtypegetAPIRequest) GetRid() int64
GetRid Rid Getter
func (TaobaoxhotelroomtypegetAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelroomtypegetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelroomtypegetAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypegetAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 商家房型ID
func (*TaobaoxhotelroomtypegetAPIRequest) SetRid ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypegetAPIRequest) SetRid(_rid int64) error
SetRid is Rid Setter 废弃,使用商家房型ID
func (*TaobaoxhotelroomtypegetAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypegetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不填写,使用须申请
type TaobaoxhotelroomtypegetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelroomtypegetAPIResponse struct { model.CommonResponse TaobaoxhotelroomtypegetAPIResponseModel }
TaobaoxhotelroomtypegetAPIResponse 房型查询接口 API返回值 taobao.xhotel.roomtype.get
房型查询房型查询接口返回结果增加date_confirm字段
type TaobaoxhotelroomtypegetAPIResponseModel ¶ added in v1.3.1
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 房型查询接口 成功返回结果
type TaobaoxhotelroomtypeupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelroomtypeupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelroomtypeupdateAPIRequest 房型更新接口(ID不存在自动新增) API请求 taobao.xhotel.roomtype.update
酒店房型更新或添加
func NewTaobaoxhotelroomtypeupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelroomtypeupdateRequest() *TaobaoxhotelroomtypeupdateAPIRequest
NewTaobaoxhotelroomtypeupdateRequest 初始化TaobaoxhotelroomtypeupdateAPIRequest对象
func (TaobaoxhotelroomtypeupdateAPIRequest) GetAddBed ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetAddBed() string
GetAddBed AddBed Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelroomtypeupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelroomtypeupdateAPIRequest) GetArea ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetArea() string
GetArea Area Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetBedInfo ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetBedInfo() string
GetBedInfo BedInfo Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetBedSize ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetBedSize() string
GetBedSize BedSize Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetBedType ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetBedType() string
GetBedType BedType Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetChildrenPolicy ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetChildrenPolicy() string
GetChildrenPolicy ChildrenPolicy Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetConnectionType ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetConnectionType() int64
GetConnectionType ConnectionType Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetExtend ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetExtend() string
GetExtend Extend Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetFloor ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetFloor() string
GetFloor Floor Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetHotelCode ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetHotelCode() string
GetHotelCode HotelCode Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetInternet ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetInternet() string
GetInternet Internet Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetMaxOccupancy ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetMaxOccupancy() int64
GetMaxOccupancy MaxOccupancy Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetName ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetNameE ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetNameE() string
GetNameE NameE Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetNewOuterId ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetNewOuterId() string
GetNewOuterId NewOuterId Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetOperator ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetOperator() string
GetOperator Operator Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetPics ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetPics() string
GetPics Pics Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelroomtypeupdateAPIRequest) GetRid ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetRid() int64
GetRid Rid Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetService ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetService() string
GetService Service Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetSrid ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetSrid() int64
GetSrid Srid Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetStandardRoomFacilities ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetStandardRoomFacilities() string
GetStandardRoomFacilities StandardRoomFacilities Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetStatus ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetStatus() *model.File
GetStatus Status Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetWindowDesc ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetWindowDesc() string
GetWindowDesc WindowDesc Getter
func (TaobaoxhotelroomtypeupdateAPIRequest) GetWindowType ¶ added in v1.3.1
func (r TaobaoxhotelroomtypeupdateAPIRequest) GetWindowType() int64
GetWindowType WindowType Getter
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetAddBed ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetAddBed(_addBed string) error
SetAddBed is AddBed Setter 房型加床政策。 费用(fee) 说明(desc)
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetArea ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetArea(_area string) error
SetArea is Area Setter 具体面积大小,请按照正确格式填写。两种格式,例如:40 或者 10-20
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetBedInfo ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetBedSize(_bedSize string) error
SetBedSize is BedSize Setter 床宽。按自己定义存储,比如:2.1米
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetBedType ¶ added in v1.3.1
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.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetChildrenPolicy(_childrenPolicy string) error
SetChildrenPolicy is ChildrenPolicy Setter 儿童政策
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetConnectionType ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetConnectionType(_connectionType int64) error
SetConnectionType is ConnectionType Setter 属性值为1: 含义是非直连房型
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetExtend ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetExtend(_extend string) error
SetExtend is Extend Setter 扩展信息的JSON。注:此字段的值需要ISV在接入前与淘宝沟通,且确认能解析
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetFloor ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetFloor(_floor string) error
SetFloor is Floor Setter 客房在建筑的第几层,隔层为1-2层,4-5层,7-8层
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter (已废弃)
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetHotelCode ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetHotelCode(_hotelCode string) error
SetHotelCode is HotelCode Setter 商家酒店ID(如果更新房型的时候房型不存在,会拿该code去新增房型)
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetInternet ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetInternet(_internet string) error
SetInternet is Internet Setter 宽带服务。A,B,C,D。分别代表: A:无宽带,B:免费宽带,C:收费宽带,D:部分收费宽带
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetMaxOccupancy ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetMaxOccupancy(_maxOccupancy int64) error
SetMaxOccupancy is MaxOccupancy Setter 最大入住人数,默认2(1-99)
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetName ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetName(_name string) error
SetName is Name Setter 房型名称。不能超过200字;添加房型时为必须
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetNameE ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetNameE(_nameE string) error
SetNameE is NameE Setter 卖家房型英文名称
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetNewOuterId ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetNewOuterId(_newOuterId string) error
SetNewOuterId is NewOuterId Setter 新的房型编码,请确实需要修改某个房型的编码的时候才使用,如需使用,请联系飞猪技术支持开通权限,否则会更新失败
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetOperator ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetOperator(_operator string) error
SetOperator is Operator Setter 操作人信息
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter (必传)商家房型ID
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetPics ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetPics(_pics string) error
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 ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetRid(_rid int64) error
SetRid is Rid Setter (已废弃)
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetService ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetSrid(_srid int64) error
SetSrid is Srid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝房型的匹配关系。目前尚未启动该字段。
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetStandardRoomFacilities ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetStandardRoomFacilities(_standardRoomFacilities string) error
SetStandardRoomFacilities is StandardRoomFacilities Setter 房间设施
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetStatus ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetStatus(_status *model.File) error
SetStatus is Status Setter 房型状态。0:正常,-1:删除,-2:停售
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,不要使用,只有申请才可用
func (*TaobaoxhotelroomtypeupdateAPIRequest) SetWindowDesc ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelroomtypeupdateAPIRequest) SetWindowType(_windowType int64) error
SetWindowType is WindowType Setter 0:无窗/1:有窗
type TaobaoxhotelroomtypeupdateAPIResponse ¶ added in v1.3.1
type TaobaoxhotelroomtypeupdateAPIResponse struct { model.CommonResponse TaobaoxhotelroomtypeupdateAPIResponseModel }
TaobaoxhotelroomtypeupdateAPIResponse 房型更新接口(ID不存在自动新增) API返回值 taobao.xhotel.roomtype.update
酒店房型更新或添加
type TaobaoxhotelroomtypeupdateAPIResponseModel ¶ added in v1.3.1
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不存在自动新增) 成功返回结果
type TaobaoxhotelroomupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelroomupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelroomupdateAPIRequest 房型库存推送接口(全量推送) API请求 taobao.xhotel.room.update
此接口用于更新一个酒店商品,根据传入的gid更新商品信息,该商品必须为对应的发布者才能执行更新操作。如果对应的商品在酒店系统中不存在,则会返回错误提示。
func NewTaobaoxhotelroomupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelroomupdateRequest() *TaobaoxhotelroomupdateAPIRequest
NewTaobaoxhotelroomupdateRequest 初始化TaobaoxhotelroomupdateAPIRequest对象
func (TaobaoxhotelroomupdateAPIRequest) GetAllotmentEndTime ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetAllotmentEndTime() string
GetAllotmentEndTime AllotmentEndTime Getter
func (TaobaoxhotelroomupdateAPIRequest) GetAllotmentStartTime ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetAllotmentStartTime() string
GetAllotmentStartTime AllotmentStartTime Getter
func (TaobaoxhotelroomupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelroomupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelroomupdateAPIRequest) GetDesc ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetDesc() string
GetDesc Desc Getter
func (TaobaoxhotelroomupdateAPIRequest) GetGid ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetGid() int64
GetGid Gid Getter
func (TaobaoxhotelroomupdateAPIRequest) GetGuide ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetGuide() string
GetGuide Guide Getter
func (TaobaoxhotelroomupdateAPIRequest) GetHasReceipt ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetHasReceipt() bool
GetHasReceipt HasReceipt Getter
func (TaobaoxhotelroomupdateAPIRequest) GetInventory ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetInventory() string
GetInventory Inventory Getter
func (TaobaoxhotelroomupdateAPIRequest) GetOutRid ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoxhotelroomupdateAPIRequest) GetPic ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetPic() *model.File
GetPic Pic Getter
func (TaobaoxhotelroomupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelroomupdateAPIRequest) GetReceiptInfo ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetReceiptInfo() string
GetReceiptInfo ReceiptInfo Getter
func (TaobaoxhotelroomupdateAPIRequest) GetReceiptOtherTypeDesc ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetReceiptOtherTypeDesc() string
GetReceiptOtherTypeDesc ReceiptOtherTypeDesc Getter
func (TaobaoxhotelroomupdateAPIRequest) GetReceiptType ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetReceiptType() string
GetReceiptType ReceiptType Getter
func (TaobaoxhotelroomupdateAPIRequest) GetRoomSwitchCal ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetRoomSwitchCal() string
GetRoomSwitchCal RoomSwitchCal Getter
func (TaobaoxhotelroomupdateAPIRequest) GetStatus ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetStatus() int64
GetStatus Status Getter
func (TaobaoxhotelroomupdateAPIRequest) GetSuperbookEndTime ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetSuperbookEndTime() string
GetSuperbookEndTime SuperbookEndTime Getter
func (TaobaoxhotelroomupdateAPIRequest) GetSuperbookStartTime ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetSuperbookStartTime() string
GetSuperbookStartTime SuperbookStartTime Getter
func (TaobaoxhotelroomupdateAPIRequest) GetTitle ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetTitle() string
GetTitle Title Getter
func (TaobaoxhotelroomupdateAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelroomupdateAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelroomupdateAPIRequest) SetAllotmentEndTime ¶ added in v1.3.1
func (r *TaobaoxhotelroomupdateAPIRequest) SetAllotmentEndTime(_allotmentEndTime string) error
SetAllotmentEndTime is AllotmentEndTime Setter 保留房库存截止时间
func (*TaobaoxhotelroomupdateAPIRequest) SetAllotmentStartTime ¶ added in v1.3.1
func (r *TaobaoxhotelroomupdateAPIRequest) SetAllotmentStartTime(_allotmentStartTime string) error
SetAllotmentStartTime is AllotmentStartTime Setter 保留房库存截止时间
func (*TaobaoxhotelroomupdateAPIRequest) SetDesc ¶ added in v1.3.1
func (r *TaobaoxhotelroomupdateAPIRequest) SetDesc(_desc string) error
SetDesc is Desc Setter 废弃,宝贝描述展示在宝贝详情页面
func (*TaobaoxhotelroomupdateAPIRequest) SetGid ¶ added in v1.3.1
func (r *TaobaoxhotelroomupdateAPIRequest) SetGid(_gid int64) error
SetGid is Gid Setter 废弃,使用out_rid
func (*TaobaoxhotelroomupdateAPIRequest) SetGuide ¶ added in v1.3.1
func (r *TaobaoxhotelroomupdateAPIRequest) SetGuide(_guide string) error
SetGuide is Guide Setter 废弃,房型购买须知展示在PC购物路径
func (*TaobaoxhotelroomupdateAPIRequest) SetHasReceipt ¶ added in v1.3.1
func (r *TaobaoxhotelroomupdateAPIRequest) SetHasReceipt(_hasReceipt bool) error
SetHasReceipt is HasReceipt Setter 废弃,房型是否提供发票
func (*TaobaoxhotelroomupdateAPIRequest) SetInventory ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelroomupdateAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 卖家房型ID
func (*TaobaoxhotelroomupdateAPIRequest) SetPic ¶ added in v1.3.1
func (r *TaobaoxhotelroomupdateAPIRequest) SetPic(_pic *model.File) error
SetPic is Pic Setter 废弃,宝贝图片,没有默认使用标准酒店房型图片
func (*TaobaoxhotelroomupdateAPIRequest) SetReceiptInfo ¶ added in v1.3.1
func (r *TaobaoxhotelroomupdateAPIRequest) SetReceiptInfo(_receiptInfo string) error
SetReceiptInfo is ReceiptInfo Setter 废弃,房型发票说明,不能超过100个字
func (*TaobaoxhotelroomupdateAPIRequest) SetReceiptOtherTypeDesc ¶ added in v1.3.1
func (r *TaobaoxhotelroomupdateAPIRequest) SetReceiptOtherTypeDesc(_receiptOtherTypeDesc string) error
SetReceiptOtherTypeDesc is ReceiptOtherTypeDesc Setter 废弃,房型发票类型为其他时的发票描述,不能超过30个字
func (*TaobaoxhotelroomupdateAPIRequest) SetReceiptType ¶ added in v1.3.1
func (r *TaobaoxhotelroomupdateAPIRequest) SetReceiptType(_receiptType string) error
SetReceiptType is ReceiptType Setter 废弃,房型发票类型。A,B。分别代表: A:酒店住宿发票,B:其他
func (*TaobaoxhotelroomupdateAPIRequest) SetRoomSwitchCal ¶ added in v1.3.1
func (r *TaobaoxhotelroomupdateAPIRequest) SetRoomSwitchCal(_roomSwitchCal string) error
SetRoomSwitchCal is RoomSwitchCal Setter 房型库存开关。 1,开;2,关
func (*TaobaoxhotelroomupdateAPIRequest) SetStatus ¶ added in v1.3.1
func (r *TaobaoxhotelroomupdateAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 宝贝状态,1上架。
func (*TaobaoxhotelroomupdateAPIRequest) SetSuperbookEndTime ¶ added in v1.3.1
func (r *TaobaoxhotelroomupdateAPIRequest) SetSuperbookEndTime(_superbookEndTime string) error
SetSuperbookEndTime is SuperbookEndTime Setter 超预定库存截止时间
func (*TaobaoxhotelroomupdateAPIRequest) SetSuperbookStartTime ¶ added in v1.3.1
func (r *TaobaoxhotelroomupdateAPIRequest) SetSuperbookStartTime(_superbookStartTime string) error
SetSuperbookStartTime is SuperbookStartTime Setter 超预定库存开始时间
func (*TaobaoxhotelroomupdateAPIRequest) SetTitle ¶ added in v1.3.1
func (r *TaobaoxhotelroomupdateAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 废弃,宝贝名称展示在店铺里
func (*TaobaoxhotelroomupdateAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelroomupdateAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不填写,使用须申请
type TaobaoxhotelroomupdateAPIResponse ¶ added in v1.3.1
type TaobaoxhotelroomupdateAPIResponse struct { model.CommonResponse TaobaoxhotelroomupdateAPIResponseModel }
TaobaoxhotelroomupdateAPIResponse 房型库存推送接口(全量推送) API返回值 taobao.xhotel.room.update
此接口用于更新一个酒店商品,根据传入的gid更新商品信息,该商品必须为对应的发布者才能执行更新操作。如果对应的商品在酒店系统中不存在,则会返回错误提示。
type TaobaoxhotelroomupdateAPIResponseModel ¶ added in v1.3.1
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 房型库存推送接口(全量推送) 成功返回结果
type TaobaoxhotelservicetimegetAPIRequest ¶ added in v1.3.1
type TaobaoxhotelservicetimegetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelservicetimegetAPIRequest 查询实体对应的服务时间数据 API请求 taobao.xhotel.servicetime.get
通过实体来获取对应的服务时间数据
func NewTaobaoxhotelservicetimegetRequest ¶ added in v1.3.1
func NewTaobaoxhotelservicetimegetRequest() *TaobaoxhotelservicetimegetAPIRequest
NewTaobaoxhotelservicetimegetRequest 初始化TaobaoxhotelservicetimegetAPIRequest对象
func (TaobaoxhotelservicetimegetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelservicetimegetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelservicetimegetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelservicetimegetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelservicetimegetAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhotelservicetimegetAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoxhotelservicetimegetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelservicetimegetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelservicetimegetAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhotelservicetimegetAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 酒店id
type TaobaoxhotelservicetimegetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelservicetimegetAPIResponse struct { model.CommonResponse TaobaoxhotelservicetimegetAPIResponseModel }
TaobaoxhotelservicetimegetAPIResponse 查询实体对应的服务时间数据 API返回值 taobao.xhotel.servicetime.get
通过实体来获取对应的服务时间数据
type TaobaoxhotelservicetimegetAPIResponseModel ¶ added in v1.3.1
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 查询实体对应的服务时间数据 成功返回结果
type TaobaoxhotelservicetimegetResultSet ¶ added in v1.3.1
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 结构体
type TaobaoxhotelservicetimeupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelservicetimeupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelservicetimeupdateAPIRequest 飞猪酒店多维度服务时间维护接口 API请求 taobao.xhotel.servicetime.update
飞猪酒店多维度服务时间维护,支持卖家维度,supplier维度,酒店维度
func NewTaobaoxhotelservicetimeupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelservicetimeupdateRequest() *TaobaoxhotelservicetimeupdateAPIRequest
NewTaobaoxhotelservicetimeupdateRequest 初始化TaobaoxhotelservicetimeupdateAPIRequest对象
func (TaobaoxhotelservicetimeupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelservicetimeupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelservicetimeupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelservicetimeupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelservicetimeupdateAPIRequest) GetParam ¶ added in v1.3.1
func (r TaobaoxhotelservicetimeupdateAPIRequest) GetParam() string
GetParam Param Getter
func (TaobaoxhotelservicetimeupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelservicetimeupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelservicetimeupdateAPIRequest) SetParam ¶ added in v1.3.1
func (r *TaobaoxhotelservicetimeupdateAPIRequest) SetParam(_param string) error
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 ¶ added in v1.3.1
type TaobaoxhotelservicetimeupdateAPIResponse struct { model.CommonResponse TaobaoxhotelservicetimeupdateAPIResponseModel }
TaobaoxhotelservicetimeupdateAPIResponse 飞猪酒店多维度服务时间维护接口 API返回值 taobao.xhotel.servicetime.update
飞猪酒店多维度服务时间维护,支持卖家维度,supplier维度,酒店维度
type TaobaoxhotelservicetimeupdateAPIResponseModel ¶ added in v1.3.1
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 飞猪酒店多维度服务时间维护接口 成功返回结果
type TaobaoxhotelservicetimeupdateResultSet ¶ added in v1.3.1
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 结构体
type TaobaoxhotelstatusupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelstatusupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelstatusupdateAPIRequest 酒店状态更新 API请求 taobao.xhotel.status.update
酒店状态更新
func NewTaobaoxhotelstatusupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelstatusupdateRequest() *TaobaoxhotelstatusupdateAPIRequest
NewTaobaoxhotelstatusupdateRequest 初始化TaobaoxhotelstatusupdateAPIRequest对象
func (TaobaoxhotelstatusupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelstatusupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelstatusupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelstatusupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelstatusupdateAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhotelstatusupdateAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoxhotelstatusupdateAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoxhotelstatusupdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoxhotelstatusupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelstatusupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelstatusupdateAPIRequest) GetStatus ¶ added in v1.3.1
func (r TaobaoxhotelstatusupdateAPIRequest) GetStatus() int64
GetStatus Status Getter
func (TaobaoxhotelstatusupdateAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelstatusupdateAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelstatusupdateAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhotelstatusupdateAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 飞猪酒店id
func (*TaobaoxhotelstatusupdateAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoxhotelstatusupdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 外部酒店id
func (*TaobaoxhotelstatusupdateAPIRequest) SetStatus ¶ added in v1.3.1
func (r *TaobaoxhotelstatusupdateAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter (0在线,-1删除, -2停售)
func (*TaobaoxhotelstatusupdateAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelstatusupdateAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 对接系统商,不填默认taobao
type TaobaoxhotelstatusupdateAPIResponse ¶ added in v1.3.1
type TaobaoxhotelstatusupdateAPIResponse struct { model.CommonResponse TaobaoxhotelstatusupdateAPIResponseModel }
TaobaoxhotelstatusupdateAPIResponse 酒店状态更新 API返回值 taobao.xhotel.status.update
酒店状态更新
type TaobaoxhotelstatusupdateAPIResponseModel ¶ added in v1.3.1
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 酒店状态更新 成功返回结果
type TaobaoxhotelupdateAPIRequest ¶ added in v1.3.1
TaobaoxhotelupdateAPIRequest 酒店更新接口(ID不存在自动新增) API请求 taobao.xhotel.update
酒店更新接口
func NewTaobaoxhotelupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelupdateRequest() *TaobaoxhotelupdateAPIRequest
NewTaobaoxhotelupdateRequest 初始化TaobaoxhotelupdateAPIRequest对象
func (TaobaoxhotelupdateAPIRequest) GetAddress ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetAddress() string
GetAddress Address Getter
func (TaobaoxhotelupdateAPIRequest) GetAddressEn ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetAddressEn() string
GetAddressEn AddressEn Getter
func (TaobaoxhotelupdateAPIRequest) GetAliNick ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetAliNick() string
GetAliNick AliNick Getter
func (TaobaoxhotelupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelupdateAPIRequest) GetBookingNotice ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetBookingNotice() string
GetBookingNotice BookingNotice Getter
func (TaobaoxhotelupdateAPIRequest) GetBrand ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetBrand() string
GetBrand Brand Getter
func (TaobaoxhotelupdateAPIRequest) GetBusiness ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetBusiness() string
GetBusiness Business Getter
func (TaobaoxhotelupdateAPIRequest) GetCity ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetCity() int64
GetCity City Getter
func (TaobaoxhotelupdateAPIRequest) GetCoordinateSystem ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetCoordinateSystem() string
GetCoordinateSystem CoordinateSystem Getter
func (TaobaoxhotelupdateAPIRequest) GetCountry ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetCountry() string
GetCountry Country Getter
func (TaobaoxhotelupdateAPIRequest) GetCreditCardTypes ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetCreditCardTypes() string
GetCreditCardTypes CreditCardTypes Getter
func (TaobaoxhotelupdateAPIRequest) GetDecorateTime ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetDecorateTime() string
GetDecorateTime DecorateTime Getter
func (TaobaoxhotelupdateAPIRequest) GetDescription ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetDescription() string
GetDescription Description Getter
func (TaobaoxhotelupdateAPIRequest) GetDescriptionEn ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetDescriptionEn() string
GetDescriptionEn DescriptionEn Getter
func (TaobaoxhotelupdateAPIRequest) GetDistrict ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetDistrict() int64
GetDistrict District Getter
func (TaobaoxhotelupdateAPIRequest) GetDomestic ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetDomestic() int64
GetDomestic Domestic Getter
func (TaobaoxhotelupdateAPIRequest) GetExtend ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetExtend() string
GetExtend Extend Getter
func (TaobaoxhotelupdateAPIRequest) GetFloors ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetFloors() string
GetFloors Floors Getter
func (TaobaoxhotelupdateAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoxhotelupdateAPIRequest) GetHotelFacilities ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetHotelFacilities() string
GetHotelFacilities HotelFacilities Getter
func (TaobaoxhotelupdateAPIRequest) GetHotelPolicies ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetHotelPolicies() string
GetHotelPolicies HotelPolicies Getter
func (TaobaoxhotelupdateAPIRequest) GetHotelType ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetHotelType() int64
GetHotelType HotelType Getter
func (TaobaoxhotelupdateAPIRequest) GetLatitude ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetLatitude() string
GetLatitude Latitude Getter
func (TaobaoxhotelupdateAPIRequest) GetLongitude ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetLongitude() string
GetLongitude Longitude Getter
func (TaobaoxhotelupdateAPIRequest) GetName ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoxhotelupdateAPIRequest) GetNameE ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetNameE() string
GetNameE NameE Getter
func (TaobaoxhotelupdateAPIRequest) GetOpeningTime ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetOpeningTime() string
GetOpeningTime OpeningTime Getter
func (TaobaoxhotelupdateAPIRequest) GetOrbitTrack ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetOrbitTrack() string
GetOrbitTrack OrbitTrack Getter
func (TaobaoxhotelupdateAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoxhotelupdateAPIRequest) GetPics ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetPics() string
GetPics Pics Getter
func (TaobaoxhotelupdateAPIRequest) GetPositionType ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetPositionType() string
GetPositionType PositionType Getter
func (TaobaoxhotelupdateAPIRequest) GetPostalCode ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetPostalCode() string
GetPostalCode PostalCode Getter
func (TaobaoxhotelupdateAPIRequest) GetProvince ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetProvince() int64
GetProvince Province Getter
func (TaobaoxhotelupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelupdateAPIRequest) GetRoomFacilities ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetRoomFacilities() string
GetRoomFacilities RoomFacilities Getter
func (TaobaoxhotelupdateAPIRequest) GetRooms ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetRooms() int64
GetRooms Rooms Getter
func (TaobaoxhotelupdateAPIRequest) GetService ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetService() string
GetService Service Getter
func (TaobaoxhotelupdateAPIRequest) GetServiceType ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetServiceType() int64
GetServiceType ServiceType Getter
func (TaobaoxhotelupdateAPIRequest) GetSettlementCurrency ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetSettlementCurrency() string
GetSettlementCurrency SettlementCurrency Getter
func (TaobaoxhotelupdateAPIRequest) GetShid ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetShid() int64
GetShid Shid Getter
func (TaobaoxhotelupdateAPIRequest) GetStandardAmuseFacilities ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetStandardAmuseFacilities() string
GetStandardAmuseFacilities StandardAmuseFacilities Getter
func (TaobaoxhotelupdateAPIRequest) GetStandardBookingNotice ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetStandardBookingNotice() string
GetStandardBookingNotice StandardBookingNotice Getter
func (TaobaoxhotelupdateAPIRequest) GetStandardHotelFacilities ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetStandardHotelFacilities() string
GetStandardHotelFacilities StandardHotelFacilities Getter
func (TaobaoxhotelupdateAPIRequest) GetStandardHotelService ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetStandardHotelService() string
GetStandardHotelService StandardHotelService Getter
func (TaobaoxhotelupdateAPIRequest) GetStandardRoomFacilities ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetStandardRoomFacilities() string
GetStandardRoomFacilities StandardRoomFacilities Getter
func (TaobaoxhotelupdateAPIRequest) GetStar ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetStar() string
GetStar Star Getter
func (TaobaoxhotelupdateAPIRequest) GetStatus ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetStatus() *model.File
GetStatus Status Getter
func (TaobaoxhotelupdateAPIRequest) GetSupplier ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetSupplier() string
GetSupplier Supplier Getter
func (TaobaoxhotelupdateAPIRequest) GetTagJson ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetTagJson() string
GetTagJson TagJson Getter
func (TaobaoxhotelupdateAPIRequest) GetTel ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetTel() string
GetTel Tel Getter
func (TaobaoxhotelupdateAPIRequest) GetUsedName ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetUsedName() string
GetUsedName UsedName Getter
func (TaobaoxhotelupdateAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelupdateAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelupdateAPIRequest) SetAddress ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetAddress(_address string) error
SetAddress is Address Setter 酒店地址。长度不能超过255
func (*TaobaoxhotelupdateAPIRequest) SetAddressEn ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetAddressEn(_addressEn string) error
SetAddressEn is AddressEn Setter 酒店英文地址
func (*TaobaoxhotelupdateAPIRequest) SetAliNick ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetAliNick(_aliNick string) error
SetAliNick is AliNick Setter 旺旺昵称
func (*TaobaoxhotelupdateAPIRequest) SetBookingNotice ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetBusiness(_business string) error
SetBusiness is Business Setter 商业区(圈)长度不超过20字
func (*TaobaoxhotelupdateAPIRequest) SetCity ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetCity(_city int64) error
SetCity is City Setter 城市编码。参见:http://hotel.alitrip.com/area.htm?tbpm=3,domestic为false时,输入对应国家的海外城市编码,可调用海外城市查询接口获取;(新增酒店时为必须)
func (*TaobaoxhotelupdateAPIRequest) SetCoordinateSystem ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetCoordinateSystem(_coordinateSystem string) error
SetCoordinateSystem is CoordinateSystem Setter 标识坐标系类型。WGS84,表示地球坐标系 ;GCJ02,表示火星坐标系
func (*TaobaoxhotelupdateAPIRequest) SetCountry ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetCreditCardTypes(_creditCardTypes string) error
SetCreditCardTypes is CreditCardTypes Setter 逗号分隔的字符串 1visa;2万事达卡;3美国运通卡;4发现卡;5大来卡;6JCB卡;7银联卡
func (*TaobaoxhotelupdateAPIRequest) SetDecorateTime ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetDecorateTime(_decorateTime string) error
SetDecorateTime is DecorateTime Setter 装修时间,格式为2015-10-01
func (*TaobaoxhotelupdateAPIRequest) SetDescription ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetDescription(_description string) error
SetDescription is Description Setter 酒店描述
func (*TaobaoxhotelupdateAPIRequest) SetDescriptionEn ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetDescriptionEn(_descriptionEn string) error
SetDescriptionEn is DescriptionEn Setter 酒店英文描述
func (*TaobaoxhotelupdateAPIRequest) SetDistrict ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetDistrict(_district int64) error
SetDistrict is District Setter 区域(县级市)编码。参见:http://hotel.alitrip.com/area.htm?tbpm=3
func (*TaobaoxhotelupdateAPIRequest) SetDomestic ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetDomestic(_domestic int64) error
SetDomestic is Domestic Setter 是否国内酒店。0:国内;1:国外
func (*TaobaoxhotelupdateAPIRequest) SetExtend ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetExtend(_extend string) error
SetExtend is Extend Setter 不要使用
func (*TaobaoxhotelupdateAPIRequest) SetFloors ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetFloors(_floors string) error
SetFloors is Floors Setter 楼层信息
func (*TaobaoxhotelupdateAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter (已废弃)请使用outer_id来标识要修改的酒店
func (*TaobaoxhotelupdateAPIRequest) SetHotelFacilities ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetHotelType(_hotelType int64) error
SetHotelType is HotelType Setter 0:酒店;1:客栈
func (*TaobaoxhotelupdateAPIRequest) SetLatitude ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetLatitude(_latitude string) error
SetLatitude is Latitude Setter 纬度
func (*TaobaoxhotelupdateAPIRequest) SetLongitude ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetLongitude(_longitude string) error
SetLongitude is Longitude Setter 经度
func (*TaobaoxhotelupdateAPIRequest) SetName ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetName(_name string) error
SetName is Name Setter 酒店名称;(新增酒店时为必须),国内酒店请传中文名称
func (*TaobaoxhotelupdateAPIRequest) SetNameE ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetNameE(_nameE string) error
SetNameE is NameE Setter 卖家酒店英文名称
func (*TaobaoxhotelupdateAPIRequest) SetOpeningTime ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetOpeningTime(_openingTime string) error
SetOpeningTime is OpeningTime Setter 开业时间,格式为2015-01-01
func (*TaobaoxhotelupdateAPIRequest) SetOrbitTrack ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetOrbitTrack(_orbitTrack string) error
SetOrbitTrack is OrbitTrack Setter 扩展信息的JSON。 orbitTrack 业务字段是指从飞猪到酒店说经过平台名以及方式的一个数组,按顺序,从飞猪,再经过若干平台,最后到酒店, platform是指定当前平台名,ways 是指通过哪种方式到该平台 其中,飞猪到下一个平台里, ways 字段只能是【直连】、【人工】两个方式之一; 从最后一个平台到酒店的ways字段只能是【电话】、【传真】、【人工】、【系统】之一; 第一个 飞猪平台 和 最后具体酒店是至少得填的
func (*TaobaoxhotelupdateAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 必传,酒店标识,商家酒店ID
func (*TaobaoxhotelupdateAPIRequest) SetPics ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetPositionType(_positionType string) error
SetPositionType is PositionType Setter 坐标类型,现在支持:G – GoogleB – 百度A – 高德M – MapbarL – 灵图
func (*TaobaoxhotelupdateAPIRequest) SetPostalCode ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetPostalCode(_postalCode string) error
SetPostalCode is PostalCode Setter 邮编
func (*TaobaoxhotelupdateAPIRequest) SetProvince ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetRoomFacilities(_roomFacilities string) error
SetRoomFacilities is RoomFacilities Setter 房间的基础设施。json格式示例值:{"bathtub":"true","bathPub":"true"}目前支持维护的设施枚举有:bathtub 独立卫浴;bathPub 公共卫浴
func (*TaobaoxhotelupdateAPIRequest) SetRooms ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetRooms(_rooms int64) error
SetRooms is Rooms Setter 房间数 0~9999之内的数字
func (*TaobaoxhotelupdateAPIRequest) SetService ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetServiceType(_serviceType int64) error
SetServiceType is ServiceType Setter 0:可以接待外宾;1:仅内宾
func (*TaobaoxhotelupdateAPIRequest) SetSettlementCurrency ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetSettlementCurrency(_settlementCurrency string) error
SetSettlementCurrency is SettlementCurrency Setter 结算流程中的结算币种,如需对接请联系飞猪技术支持,请谨慎使用
func (*TaobaoxhotelupdateAPIRequest) SetShid ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetShid(_shid int64) error
SetShid is Shid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝酒店的匹配关系。目前尚未启动该字段。
func (*TaobaoxhotelupdateAPIRequest) SetStandardAmuseFacilities ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetStatus(_status *model.File) error
SetStatus is Status Setter 酒店状态 0:正常,-1:删除,-2:停售
func (*TaobaoxhotelupdateAPIRequest) SetSupplier ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetSupplier(_supplier string) error
SetSupplier is Supplier Setter 供应商标识,如果确实需要修改原来的供应商标识才需要填写,否则不需要填写,请谨慎使用。
func (*TaobaoxhotelupdateAPIRequest) SetTagJson ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetTagJson(_tagJson string) error
SetTagJson is TagJson Setter 打标去标使用的 tagJson 字段
func (*TaobaoxhotelupdateAPIRequest) SetTel ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetTel(_tel string) error
SetTel is Tel Setter 酒店电话。格式:国家代码(最长6位)#区号(最长4位)#电话(最长20位)。国家代码提示:中国大陆0086、香港00852、澳门00853、台湾00886
func (*TaobaoxhotelupdateAPIRequest) SetUsedName ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetUsedName(_usedName string) error
SetUsedName is UsedName Setter 酒店曾用名
func (*TaobaoxhotelupdateAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelupdateAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般情况不用,需申请使用
type TaobaoxhotelupdateAPIResponse ¶ added in v1.3.1
type TaobaoxhotelupdateAPIResponse struct { model.CommonResponse TaobaoxhotelupdateAPIResponseModel }
TaobaoxhotelupdateAPIResponse 酒店更新接口(ID不存在自动新增) API返回值 taobao.xhotel.update
酒店更新接口
type TaobaoxhotelupdateAPIResponseModel ¶ added in v1.3.1
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不存在自动新增) 成功返回结果
type TaobaoxhotelxitemdeleteAPIRequest ¶ added in v1.3.1
type TaobaoxhotelxitemdeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelxitemdeleteAPIRequest 删除 x 元素 API请求 taobao.xhotel.xitem.delete
删除 x 元素
func NewTaobaoxhotelxitemdeleteRequest ¶ added in v1.3.1
func NewTaobaoxhotelxitemdeleteRequest() *TaobaoxhotelxitemdeleteAPIRequest
NewTaobaoxhotelxitemdeleteRequest 初始化TaobaoxhotelxitemdeleteAPIRequest对象
func (TaobaoxhotelxitemdeleteAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelxitemdeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelxitemdeleteAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelxitemdeleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelxitemdeleteAPIRequest) GetOutHid ¶ added in v1.3.1
func (r TaobaoxhotelxitemdeleteAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoxhotelxitemdeleteAPIRequest) GetOutXCodes ¶ added in v1.3.1
func (r TaobaoxhotelxitemdeleteAPIRequest) GetOutXCodes() string
GetOutXCodes OutXCodes Getter
func (TaobaoxhotelxitemdeleteAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelxitemdeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelxitemdeleteAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelxitemdeleteAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelxitemdeleteAPIRequest) SetOutHid ¶ added in v1.3.1
func (r *TaobaoxhotelxitemdeleteAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 商家酒店ID,指明该 x 元素属于哪家酒店
func (*TaobaoxhotelxitemdeleteAPIRequest) SetOutXCodes ¶ added in v1.3.1
func (r *TaobaoxhotelxitemdeleteAPIRequest) SetOutXCodes(_outXCodes string) error
SetOutXCodes is OutXCodes Setter 需要删除的 x_code 编码
func (*TaobaoxhotelxitemdeleteAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelxitemdeleteAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不填写,使用须申请
type TaobaoxhotelxitemdeleteAPIResponse ¶ added in v1.3.1
type TaobaoxhotelxitemdeleteAPIResponse struct { model.CommonResponse TaobaoxhotelxitemdeleteAPIResponseModel }
TaobaoxhotelxitemdeleteAPIResponse 删除 x 元素 API返回值 taobao.xhotel.xitem.delete
删除 x 元素
type TaobaoxhotelxitemdeleteAPIResponseModel ¶ added in v1.3.1
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 元素 成功返回结果
type TaobaoxhotelxitemdeleteResultSet ¶ added in v1.3.1
type TaobaoxhotelxitemdeleteResultSet struct { // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` }
TaobaoxhotelxitemdeleteResultSet 结构体
type TaobaoxhotelxitemqueryAPIRequest ¶ added in v1.3.1
type TaobaoxhotelxitemqueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelxitemqueryAPIRequest 查询 x 元素 API请求 taobao.xhotel.xitem.query
查询 x 元素
func NewTaobaoxhotelxitemqueryRequest ¶ added in v1.3.1
func NewTaobaoxhotelxitemqueryRequest() *TaobaoxhotelxitemqueryAPIRequest
NewTaobaoxhotelxitemqueryRequest 初始化TaobaoxhotelxitemqueryAPIRequest对象
func (TaobaoxhotelxitemqueryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelxitemqueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelxitemqueryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelxitemqueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelxitemqueryAPIRequest) GetOutHid ¶ added in v1.3.1
func (r TaobaoxhotelxitemqueryAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoxhotelxitemqueryAPIRequest) GetOutRid ¶ added in v1.3.1
func (r TaobaoxhotelxitemqueryAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoxhotelxitemqueryAPIRequest) GetOutXCodes ¶ added in v1.3.1
func (r TaobaoxhotelxitemqueryAPIRequest) GetOutXCodes() string
GetOutXCodes OutXCodes Getter
func (TaobaoxhotelxitemqueryAPIRequest) GetRatePlanCode ¶ added in v1.3.1
func (r TaobaoxhotelxitemqueryAPIRequest) GetRatePlanCode() string
GetRatePlanCode RatePlanCode Getter
func (TaobaoxhotelxitemqueryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelxitemqueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelxitemqueryAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelxitemqueryAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelxitemqueryAPIRequest) SetOutHid ¶ added in v1.3.1
func (r *TaobaoxhotelxitemqueryAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 商家酒店ID,指明该 x 元素属于哪家酒店
func (*TaobaoxhotelxitemqueryAPIRequest) SetOutRid ¶ added in v1.3.1
func (r *TaobaoxhotelxitemqueryAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 商家房型ID,指明该 x 元素关联哪个房型
func (*TaobaoxhotelxitemqueryAPIRequest) SetOutXCodes ¶ added in v1.3.1
func (r *TaobaoxhotelxitemqueryAPIRequest) SetOutXCodes(_outXCodes string) error
SetOutXCodes is OutXCodes Setter 需要查询的 x_code 编码
func (*TaobaoxhotelxitemqueryAPIRequest) SetRatePlanCode ¶ added in v1.3.1
func (r *TaobaoxhotelxitemqueryAPIRequest) SetRatePlanCode(_ratePlanCode string) error
SetRatePlanCode is RatePlanCode Setter 商家 RP ID,指明该 x 元素关联了哪个 RP
func (*TaobaoxhotelxitemqueryAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelxitemqueryAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不填写,使用须申请
type TaobaoxhotelxitemqueryAPIResponse ¶ added in v1.3.1
type TaobaoxhotelxitemqueryAPIResponse struct { model.CommonResponse TaobaoxhotelxitemqueryAPIResponseModel }
TaobaoxhotelxitemqueryAPIResponse 查询 x 元素 API返回值 taobao.xhotel.xitem.query
查询 x 元素
type TaobaoxhotelxitemqueryAPIResponseModel ¶ added in v1.3.1
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 元素 成功返回结果
type TaobaoxhotelxitemqueryResultSet ¶ added in v1.3.1
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 结构体
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 结构体
type Xhotel ¶ added in v1.3.1
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 结构体
type XhotelBaseInfo ¶ added in v1.3.1
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 结构体
type XhotelInfoWithRoom ¶ added in v1.3.1
type XhotelInfoWithRoom struct { // 房型基础信息 RoomTypeList []RoomType `json:"room_type_list,omitempty" xml:"room_type_list>room_type,omitempty"` }
XhotelInfoWithRoom 结构体
type XroomType ¶ added in v1.3.1
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:公共卫生间。 如: {&quot;bar&quot;:false,&quot;catv&quot;:false,&quot;ddd&quot;:false,&quot;idd&quot;:false,&quot;pubtoilet&quot;:false,&quot;toilet&quot;: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"` // 酒店数据状态:匹配成功;待匹配;待审核;审核失败;疑似错误;请注意:只有状态为&ldquo;匹配成功&rdquo;才是正常状态。其他状态都不会上架商品。 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:卖家已确认,确认&ldquo;YES&rdquo; 6:卖家已确认,确认&ldquo;NO&rdquo; 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 结构体
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 结构体
Source Files ¶
- AddOwnerParam.go
- BnbBookingTimeDto.go
- BnbChargeDto.go
- BnbLocationDto.go
- BnbPictureDto.go
- BnbPromoDto.go
- BnbResult.go
- Coordinate.go
- DailyBookingInfo.go
- EarlyBookingInfo.go
- FirstResult.go
- GeneralBookingInfo.go
- Hotel.go
- HotelXItemPicture.go
- HotelXitemDo.go
- Hoteldynamicinfo.go
- HsfResult.go
- InvalidDate.go
- LongOrderInfo.go
- MultipleRate.go
- PromoBindResult.go
- PromoCode.go
- PromoInfo.go
- PromoRateInfo.go
- Rate.go
- RatePlan.go
- Rateinfos.go
- RatepPlan.go
- ReviewDetailInfo.go
- ReviewPicInfo.go
- RoomType.go
- RoomTypeCheckResultDo.go
- SHotel.go
- SRoomType.go
- SellerStatExposureElementList.go
- SellerStatSummaryResult.go
- ServiceTimeDataDo.go
- Sroomtypelist.go
- TagEntityDoList.go
- TagQueryResult.go
- TaobaoRoomtypeStatusUpdateAPIRequest.go
- TaobaoRoomtypeStatusUpdateAPIResponse.go
- TaobaoXhotelAddAPIRequest.go
- TaobaoXhotelAddAPIResponse.go
- TaobaoXhotelBaseinfoGetAPIRequest.go
- TaobaoXhotelBaseinfoGetAPIResponse.go
- TaobaoXhotelBaseinfoGetResultSet.go
- TaobaoXhotelBaseinfoRoomGetAPIRequest.go
- TaobaoXhotelBaseinfoRoomGetAPIResponse.go
- TaobaoXhotelBaseinfoRoomGetResultSet.go
- TaobaoXhotelBnbcommonAddAPIRequest.go
- TaobaoXhotelBnbcommonAddAPIResponse.go
- TaobaoXhotelBnbhouseAddAPIRequest.go
- TaobaoXhotelBnbhouseAddAPIResponse.go
- TaobaoXhotelBnbhouseDeleteAPIRequest.go
- TaobaoXhotelBnbhouseDeleteAPIResponse.go
- TaobaoXhotelBnbownerAddAPIRequest.go
- TaobaoXhotelBnbownerAddAPIResponse.go
- TaobaoXhotelBnbownerAddResultSet.go
- TaobaoXhotelBnbownerDeleteAPIRequest.go
- TaobaoXhotelBnbownerDeleteAPIResponse.go
- TaobaoXhotelBnbownerDeleteResultSet.go
- TaobaoXhotelBnbpromoAddAPIRequest.go
- TaobaoXhotelBnbpromoAddAPIResponse.go
- TaobaoXhotelBnbpromoBindAPIRequest.go
- TaobaoXhotelBnbpromoBindAPIResponse.go
- TaobaoXhotelBnbpromoDeleteAPIRequest.go
- TaobaoXhotelBnbpromoDeleteAPIResponse.go
- TaobaoXhotelBnbpromoDeleteResultSet.go
- TaobaoXhotelBnbpromoGetAPIRequest.go
- TaobaoXhotelBnbpromoGetAPIResponse.go
- TaobaoXhotelBnbpromoGetResultSet.go
- TaobaoXhotelBnbpromoUnbindAPIRequest.go
- TaobaoXhotelBnbpromoUnbindAPIResponse.go
- TaobaoXhotelBnbreviewAddAPIRequest.go
- TaobaoXhotelBnbreviewAddAPIResponse.go
- TaobaoXhotelBnbroomtypeAddAPIRequest.go
- TaobaoXhotelBnbroomtypeAddAPIResponse.go
- TaobaoXhotelBnbroomtypeDeleteAPIRequest.go
- TaobaoXhotelBnbroomtypeDeleteAPIResponse.go
- TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest.go
- TaobaoXhotelCityCoordinatesBatchDownloadAPIResponse.go
- TaobaoXhotelCityCoordinatesBatchUploadAPIRequest.go
- TaobaoXhotelCityCoordinatesBatchUploadAPIResponse.go
- TaobaoXhotelDeleteAPIRequest.go
- TaobaoXhotelDeleteAPIResponse.go
- TaobaoXhotelDeleteResultSet.go
- TaobaoXhotelEntityConfigAPIRequest.go
- TaobaoXhotelEntityConfigAPIResponse.go
- TaobaoXhotelGetAPIRequest.go
- TaobaoXhotelGetAPIResponse.go
- TaobaoXhotelGetEntityByTagAPIRequest.go
- TaobaoXhotelGetEntityByTagAPIResponse.go
- TaobaoXhotelHouseAddAPIRequest.go
- TaobaoXhotelHouseAddAPIResponse.go
- TaobaoXhotelHouseRoomtypeAddAPIRequest.go
- TaobaoXhotelHouseRoomtypeAddAPIResponse.go
- TaobaoXhotelIncrementInfoGetAPIRequest.go
- TaobaoXhotelIncrementInfoGetAPIResponse.go
- TaobaoXhotelItemSelectionSellerStatExposureAPIRequest.go
- TaobaoXhotelItemSelectionSellerStatExposureAPIResponse.go
- TaobaoXhotelItemSelectionSellerStatExposureModule.go
- TaobaoXhotelItemSelectionSellerStatExposureResult.go
- TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest.go
- TaobaoXhotelItemSelectionSellerStatHotshidAPIResponse.go
- TaobaoXhotelItemSelectionSellerStatHotshidModule.go
- TaobaoXhotelItemSelectionSellerStatHotshidResult.go
- TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest.go
- TaobaoXhotelItemSelectionSellerStatSummaryAPIResponse.go
- TaobaoXhotelMultiplerateDeleteAPIRequest.go
- TaobaoXhotelMultiplerateDeleteAPIResponse.go
- TaobaoXhotelMultiplerateDeleteResultSet.go
- TaobaoXhotelMultiplerateGetAPIRequest.go
- TaobaoXhotelMultiplerateGetAPIResponse.go
- TaobaoXhotelMultiplerateUpdateAPIRequest.go
- TaobaoXhotelMultiplerateUpdateAPIResponse.go
- TaobaoXhotelMultipleratesIncrementAPIRequest.go
- TaobaoXhotelMultipleratesIncrementAPIResponse.go
- TaobaoXhotelMultipleratesUpdateAPIRequest.go
- TaobaoXhotelMultipleratesUpdateAPIResponse.go
- TaobaoXhotelQuotaUpdateAPIRequest.go
- TaobaoXhotelQuotaUpdateAPIResponse.go
- TaobaoXhotelRateAddAPIRequest.go
- TaobaoXhotelRateAddAPIResponse.go
- TaobaoXhotelRateDeleteAPIRequest.go
- TaobaoXhotelRateDeleteAPIResponse.go
- TaobaoXhotelRateDeleteResultSet.go
- TaobaoXhotelRateGetAPIRequest.go
- TaobaoXhotelRateGetAPIResponse.go
- TaobaoXhotelRateRelationshipwithroomGetAPIRequest.go
- TaobaoXhotelRateRelationshipwithroomGetAPIResponse.go
- TaobaoXhotelRateRelationshipwithrpGetAPIRequest.go
- TaobaoXhotelRateRelationshipwithrpGetAPIResponse.go
- TaobaoXhotelRateUpdateAPIRequest.go
- TaobaoXhotelRateUpdateAPIResponse.go
- TaobaoXhotelRateplanAddAPIRequest.go
- TaobaoXhotelRateplanAddAPIResponse.go
- TaobaoXhotelRateplanDeleteAPIRequest.go
- TaobaoXhotelRateplanDeleteAPIResponse.go
- TaobaoXhotelRateplanDeleteResultSet.go
- TaobaoXhotelRateplanGetAPIRequest.go
- TaobaoXhotelRateplanGetAPIResponse.go
- TaobaoXhotelRateplanUpdateAPIRequest.go
- TaobaoXhotelRateplanUpdateAPIResponse.go
- TaobaoXhotelRatesIncrementAPIRequest.go
- TaobaoXhotelRatesIncrementAPIResponse.go
- TaobaoXhotelRatesLiteIncrUpdateAPIRequest.go
- TaobaoXhotelRatesLiteIncrUpdateAPIResponse.go
- TaobaoXhotelRatesLiteIncrUpdateResultSet.go
- TaobaoXhotelRatesUpdateAPIRequest.go
- TaobaoXhotelRatesUpdateAPIResponse.go
- TaobaoXhotelRoomGetAPIRequest.go
- TaobaoXhotelRoomGetAPIResponse.go
- TaobaoXhotelRoomUpdateAPIRequest.go
- TaobaoXhotelRoomUpdateAPIResponse.go
- TaobaoXhotelRoomsIncrementAPIRequest.go
- TaobaoXhotelRoomsIncrementAPIResponse.go
- TaobaoXhotelRoomsUpdateAPIRequest.go
- TaobaoXhotelRoomsUpdateAPIResponse.go
- TaobaoXhotelRoomtypeAddAPIRequest.go
- TaobaoXhotelRoomtypeAddAPIResponse.go
- TaobaoXhotelRoomtypeConflictDataAPIRequest.go
- TaobaoXhotelRoomtypeConflictDataAPIResponse.go
- TaobaoXhotelRoomtypeConflictDataResultSet.go
- TaobaoXhotelRoomtypeDeletePublicAPIRequest.go
- TaobaoXhotelRoomtypeDeletePublicAPIResponse.go
- TaobaoXhotelRoomtypeDeletePublicResultSet.go
- TaobaoXhotelRoomtypeGetAPIRequest.go
- TaobaoXhotelRoomtypeGetAPIResponse.go
- TaobaoXhotelRoomtypeUpdateAPIRequest.go
- TaobaoXhotelRoomtypeUpdateAPIResponse.go
- TaobaoXhotelServicetimeGetAPIRequest.go
- TaobaoXhotelServicetimeGetAPIResponse.go
- TaobaoXhotelServicetimeGetResultSet.go
- TaobaoXhotelServicetimeUpdateAPIRequest.go
- TaobaoXhotelServicetimeUpdateAPIResponse.go
- TaobaoXhotelServicetimeUpdateResultSet.go
- TaobaoXhotelStatusUpdateAPIRequest.go
- TaobaoXhotelStatusUpdateAPIResponse.go
- TaobaoXhotelUpdateAPIRequest.go
- TaobaoXhotelUpdateAPIResponse.go
- TaobaoXhotelXitemDeleteAPIRequest.go
- TaobaoXhotelXitemDeleteAPIResponse.go
- TaobaoXhotelXitemDeleteResultSet.go
- TaobaoXhotelXitemQueryAPIRequest.go
- TaobaoXhotelXitemQueryAPIResponse.go
- TaobaoXhotelXitemQueryResultSet.go
- TonightDiscount.go
- XHotel.go
- XHotelBaseInfo.go
- XHotelInfoWithRoom.go
- XRoomType.go
- XsHotel.go
- doc.go