Documentation ¶
Overview ¶
Package xhotelitem 包含酒店商品API相关结构体
Index ¶
- type AddOwnerParam
- type BnbBookingTimeDto
- type BnbChargeDto
- type BnbLocationDto
- type BnbPictureDto
- type BnbPromoDto
- type Coordinate
- type DailyBookingInfo
- type EarlyBookingInfo
- type FirstResult
- type Hotel
- 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 RoomType
- type RoomTypeCheckResultDo
- type SHotel
- type SRoomType
- type SellerStatExposureElementList
- type SellerStatSummaryResult
- type ServiceTimeDataDo
- type Sroomtypelist
- type TagEntityDoList
- type TagQueryResult
- type TaobaoXhotelAddAPIRequest
- func (r TaobaoXhotelAddAPIRequest) GetAddress() string
- func (r TaobaoXhotelAddAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelAddAPIRequest) GetApiParams() 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) 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() 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) 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() url.Values
- func (r TaobaoXhotelBaseinfoRoomGetAPIRequest) GetIsNeedRatePlan() bool
- func (r TaobaoXhotelBaseinfoRoomGetAPIRequest) GetOutHid() string
- 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 TaobaoXhotelBnbhouseAddAPIRequest
- func (r TaobaoXhotelBnbhouseAddAPIRequest) GetActivitiesAllowed() string
- func (r TaobaoXhotelBnbhouseAddAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelBnbhouseAddAPIRequest) GetApiParams() 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) 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() url.Values
- func (r TaobaoXhotelBnbhouseDeleteAPIRequest) GetHid() int64
- func (r TaobaoXhotelBnbhouseDeleteAPIRequest) GetOuterId() string
- 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() url.Values
- func (r *TaobaoXhotelBnbownerAddAPIRequest) SetAddOwnerParam(_addOwnerParam *AddOwnerParam) error
- type TaobaoXhotelBnbownerAddAPIResponse
- type TaobaoXhotelBnbownerAddAPIResponseModel
- type TaobaoXhotelBnbownerAddResultSet
- type TaobaoXhotelBnbownerDeleteAPIRequest
- func (r TaobaoXhotelBnbownerDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelBnbownerDeleteAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelBnbownerDeleteAPIRequest) GetOuterId() string
- 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
- type TaobaoXhotelBnbpromoAddAPIResponse
- type TaobaoXhotelBnbpromoAddAPIResponseModel
- type TaobaoXhotelBnbpromoBindAPIRequest
- func (r TaobaoXhotelBnbpromoBindAPIRequest) GetActivityCode() string
- func (r TaobaoXhotelBnbpromoBindAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelBnbpromoBindAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelBnbpromoBindAPIRequest) GetRateInfos() *PromoRateInfo
- func (r *TaobaoXhotelBnbpromoBindAPIRequest) SetActivityCode(_activityCode string) error
- func (r *TaobaoXhotelBnbpromoBindAPIRequest) SetRateInfos(_rateInfos *PromoRateInfo) error
- type TaobaoXhotelBnbpromoBindAPIResponse
- type TaobaoXhotelBnbpromoBindAPIResponseModel
- type TaobaoXhotelBnbpromoDeleteAPIRequest
- func (r TaobaoXhotelBnbpromoDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelBnbpromoDeleteAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelBnbpromoDeleteAPIRequest) GetOuterActivityCode() string
- func (r *TaobaoXhotelBnbpromoDeleteAPIRequest) SetOuterActivityCode(_outerActivityCode string) error
- type TaobaoXhotelBnbpromoDeleteAPIResponse
- type TaobaoXhotelBnbpromoDeleteAPIResponseModel
- type TaobaoXhotelBnbpromoDeleteResultSet
- type TaobaoXhotelBnbpromoGetAPIRequest
- func (r TaobaoXhotelBnbpromoGetAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelBnbpromoGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelBnbpromoGetAPIRequest) GetOuterActivityCode() string
- 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() url.Values
- func (r TaobaoXhotelBnbpromoUnbindAPIRequest) GetRateInfos() *PromoRateInfo
- func (r *TaobaoXhotelBnbpromoUnbindAPIRequest) SetActivityCode(_activityCode string) error
- func (r *TaobaoXhotelBnbpromoUnbindAPIRequest) SetRateInfos(_rateInfos *PromoRateInfo) error
- type TaobaoXhotelBnbpromoUnbindAPIResponse
- type TaobaoXhotelBnbpromoUnbindAPIResponseModel
- type TaobaoXhotelBnbroomtypeAddAPIRequest
- func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetActivitiesAllowed() string
- func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetBedInfo() string
- func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetBnbBookingTime() *BnbBookingTimeDto
- 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) 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) 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() url.Values
- func (r TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetOuterId() string
- 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() url.Values
- func (r TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest) GetBatchId() int64
- func (r *TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest) SetBatchId(_batchId int64) error
- type TaobaoXhotelCityCoordinatesBatchDownloadAPIResponse
- type TaobaoXhotelCityCoordinatesBatchDownloadAPIResponseModel
- type TaobaoXhotelCityCoordinatesBatchUploadAPIRequest
- func (r TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) GetCoordinateList() []Coordinate
- func (r *TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) SetCoordinateList(_coordinateList []Coordinate) error
- type TaobaoXhotelCityCoordinatesBatchUploadAPIResponse
- type TaobaoXhotelCityCoordinatesBatchUploadAPIResponseModel
- type TaobaoXhotelDeleteAPIRequest
- func (r TaobaoXhotelDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelDeleteAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelDeleteAPIRequest) GetHid() int64
- func (r TaobaoXhotelDeleteAPIRequest) GetOuterId() string
- 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() url.Values
- func (r TaobaoXhotelEntityConfigAPIRequest) GetConfigData() string
- func (r TaobaoXhotelEntityConfigAPIRequest) GetEntityCode() string
- func (r TaobaoXhotelEntityConfigAPIRequest) GetEntityId() int64
- 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() url.Values
- func (r TaobaoXhotelGetAPIRequest) GetHid() int64
- func (r TaobaoXhotelGetAPIRequest) GetNeedSaleInfo() bool
- func (r TaobaoXhotelGetAPIRequest) GetOuterId() string
- 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() url.Values
- 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() 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) 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() 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) 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() 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) 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() url.Values
- func (r TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetDate() string
- func (r TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetHid() string
- func (r TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetOutHid() string
- 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() url.Values
- func (r TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetDate() string
- func (r TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetHid() string
- func (r TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetOutHid() string
- 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() url.Values
- func (r TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetDate() string
- func (r TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetHid() string
- func (r TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetOutHid() string
- 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() 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) 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() 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) 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 TaobaoXhotelMultiplerateUpdateAPIRequest
- func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetChildnum() int64
- func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetCurrencyCode() string
- func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetGid() int64
- 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) GetRpid() int64
- func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetStatus() int64
- func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetVendor() string
- func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetChildnum(_childnum int64) error
- func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetCurrencyCode(_currencyCode string) error
- func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetGid(_gid int64) 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 TaobaoXhotelMultipleratesIncrementAPIRequest
- func (r TaobaoXhotelMultipleratesIncrementAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelMultipleratesIncrementAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelMultipleratesIncrementAPIRequest) GetRateQuotaMap() string
- func (r *TaobaoXhotelMultipleratesIncrementAPIRequest) SetRateQuotaMap(_rateQuotaMap string) error
- type TaobaoXhotelMultipleratesIncrementAPIResponse
- type TaobaoXhotelMultipleratesIncrementAPIResponseModel
- type TaobaoXhotelMultipleratesUpdateAPIRequest
- func (r TaobaoXhotelMultipleratesUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelMultipleratesUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelMultipleratesUpdateAPIRequest) GetRateQuotaMap() string
- func (r *TaobaoXhotelMultipleratesUpdateAPIRequest) SetRateQuotaMap(_rateQuotaMap string) error
- type TaobaoXhotelMultipleratesUpdateAPIResponse
- type TaobaoXhotelMultipleratesUpdateAPIResponseModel
- type TaobaoXhotelQuotaUpdateAPIRequest
- func (r TaobaoXhotelQuotaUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelQuotaUpdateAPIRequest) GetApiParams() 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) 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() url.Values
- func (r TaobaoXhotelRateAddAPIRequest) GetCurrencyCode() int64
- func (r TaobaoXhotelRateAddAPIRequest) GetCurrencyCodeName() string
- func (r TaobaoXhotelRateAddAPIRequest) GetGid() int64
- 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) 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) 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() url.Values
- func (r TaobaoXhotelRateDeleteAPIRequest) GetOutRid() string
- func (r TaobaoXhotelRateDeleteAPIRequest) GetRateplanCode() string
- 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() 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) 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 TaobaoXhotelRateRelationshipwithroomGetAPIRequest
- func (r TaobaoXhotelRateRelationshipwithroomGetAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelRateRelationshipwithroomGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelRateRelationshipwithroomGetAPIRequest) GetPageNo() int64
- 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() url.Values
- func (r TaobaoXhotelRateRelationshipwithrpGetAPIRequest) GetGid() int64
- func (r TaobaoXhotelRateRelationshipwithrpGetAPIRequest) GetPageNo() int64
- func (r *TaobaoXhotelRateRelationshipwithrpGetAPIRequest) SetGid(_gid int64) error
- func (r *TaobaoXhotelRateRelationshipwithrpGetAPIRequest) SetPageNo(_pageNo int64) error
- type TaobaoXhotelRateRelationshipwithrpGetAPIResponse
- type TaobaoXhotelRateRelationshipwithrpGetAPIResponseModel
- type TaobaoXhotelRateUpdateAPIRequest
- func (r TaobaoXhotelRateUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelRateUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelRateUpdateAPIRequest) GetInventoryPrice() string
- func (r TaobaoXhotelRateUpdateAPIRequest) GetLockEndTime() string
- func (r TaobaoXhotelRateUpdateAPIRequest) GetLockStartTime() string
- func (r TaobaoXhotelRateUpdateAPIRequest) GetOnlineBookingBindingInfo() string
- func (r TaobaoXhotelRateUpdateAPIRequest) GetOutRid() string
- func (r TaobaoXhotelRateUpdateAPIRequest) GetRateSwitchCal() string
- func (r TaobaoXhotelRateUpdateAPIRequest) GetRateplanCode() string
- func (r TaobaoXhotelRateUpdateAPIRequest) GetVendor() string
- func (r *TaobaoXhotelRateUpdateAPIRequest) SetInventoryPrice(_inventoryPrice string) error
- func (r *TaobaoXhotelRateUpdateAPIRequest) SetLockEndTime(_lockEndTime string) error
- func (r *TaobaoXhotelRateUpdateAPIRequest) SetLockStartTime(_lockStartTime 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) SetVendor(_vendor string) error
- type TaobaoXhotelRateUpdateAPIResponse
- type TaobaoXhotelRateUpdateAPIResponseModel
- 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() 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) 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() url.Values
- func (r TaobaoXhotelRateplanDeleteAPIRequest) GetRateplanCode() string
- 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() url.Values
- func (r TaobaoXhotelRateplanGetAPIRequest) GetRateplanCode() string
- 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() 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) 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 TaobaoXhotelRatesIncrementAPIRequest
- func (r TaobaoXhotelRatesIncrementAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelRatesIncrementAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelRatesIncrementAPIRequest) GetRateInventoryPriceMap() string
- func (r *TaobaoXhotelRatesIncrementAPIRequest) SetRateInventoryPriceMap(_rateInventoryPriceMap string) error
- type TaobaoXhotelRatesIncrementAPIResponse
- type TaobaoXhotelRatesIncrementAPIResponseModel
- type TaobaoXhotelRatesLiteIncrUpdateAPIRequest
- func (r TaobaoXhotelRatesLiteIncrUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelRatesLiteIncrUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelRatesLiteIncrUpdateAPIRequest) GetRateListInvInfo() string
- func (r *TaobaoXhotelRatesLiteIncrUpdateAPIRequest) SetRateListInvInfo(_rateListInvInfo string) error
- type TaobaoXhotelRatesLiteIncrUpdateAPIResponse
- type TaobaoXhotelRatesLiteIncrUpdateAPIResponseModel
- type TaobaoXhotelRatesLiteIncrUpdateResultSet
- type TaobaoXhotelRatesUpdateAPIRequest
- func (r TaobaoXhotelRatesUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelRatesUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelRatesUpdateAPIRequest) GetRateInventoryPriceMap() string
- func (r *TaobaoXhotelRatesUpdateAPIRequest) SetRateInventoryPriceMap(_rateInventoryPriceMap string) error
- type TaobaoXhotelRatesUpdateAPIResponse
- type TaobaoXhotelRatesUpdateAPIResponseModel
- type TaobaoXhotelRoomGetAPIRequest
- func (r TaobaoXhotelRoomGetAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelRoomGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelRoomGetAPIRequest) GetGid() int64
- func (r TaobaoXhotelRoomGetAPIRequest) GetOutRid() string
- 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 TaobaoXhotelRoomUpdateAPIRequest
- func (r TaobaoXhotelRoomUpdateAPIRequest) GetAllotmentEndTime() string
- func (r TaobaoXhotelRoomUpdateAPIRequest) GetAllotmentStartTime() string
- func (r TaobaoXhotelRoomUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelRoomUpdateAPIRequest) GetApiParams() 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) 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 TaobaoXhotelRoomsIncrementAPIRequest
- func (r TaobaoXhotelRoomsIncrementAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelRoomsIncrementAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelRoomsIncrementAPIRequest) GetRoomQuotaMap() string
- func (r *TaobaoXhotelRoomsIncrementAPIRequest) SetRoomQuotaMap(_roomQuotaMap string) error
- type TaobaoXhotelRoomsIncrementAPIResponse
- type TaobaoXhotelRoomsIncrementAPIResponseModel
- type TaobaoXhotelRoomsUpdateAPIRequest
- type TaobaoXhotelRoomsUpdateAPIResponse
- type TaobaoXhotelRoomsUpdateAPIResponseModel
- type TaobaoXhotelRoomtypeAddAPIRequest
- func (r TaobaoXhotelRoomtypeAddAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelRoomtypeAddAPIRequest) GetApiParams() 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) 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) GetService() string
- func (r TaobaoXhotelRoomtypeAddAPIRequest) GetSrid() int64
- func (r TaobaoXhotelRoomtypeAddAPIRequest) GetStandardRoomFacilities() string
- func (r TaobaoXhotelRoomtypeAddAPIRequest) GetVendor() string
- func (r TaobaoXhotelRoomtypeAddAPIRequest) GetWindowType() int64
- 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) 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) SetWindowType(_windowType int64) error
- type TaobaoXhotelRoomtypeAddAPIResponse
- type TaobaoXhotelRoomtypeAddAPIResponseModel
- type TaobaoXhotelRoomtypeConflictDataAPIRequest
- func (r TaobaoXhotelRoomtypeConflictDataAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelRoomtypeConflictDataAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelRoomtypeConflictDataAPIRequest) GetCurrentPage() int64
- func (r *TaobaoXhotelRoomtypeConflictDataAPIRequest) SetCurrentPage(_currentPage int64) error
- type TaobaoXhotelRoomtypeConflictDataAPIResponse
- type TaobaoXhotelRoomtypeConflictDataAPIResponseModel
- type TaobaoXhotelRoomtypeConflictDataResultSet
- type TaobaoXhotelRoomtypeDeletePublicAPIRequest
- func (r TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetOperator() string
- func (r TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetOuterRid() string
- 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() url.Values
- func (r TaobaoXhotelRoomtypeGetAPIRequest) GetOuterId() string
- 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) GetApiMethodName() string
- func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetApiParams() 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) 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) 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) GetWindowType() int64
- 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) 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) SetWindowType(_windowType int64) error
- type TaobaoXhotelRoomtypeUpdateAPIResponse
- type TaobaoXhotelRoomtypeUpdateAPIResponseModel
- type TaobaoXhotelServicetimeGetAPIRequest
- type TaobaoXhotelServicetimeGetAPIResponse
- type TaobaoXhotelServicetimeGetAPIResponseModel
- type TaobaoXhotelServicetimeGetResultSet
- type TaobaoXhotelServicetimeUpdateAPIRequest
- type TaobaoXhotelServicetimeUpdateAPIResponse
- type TaobaoXhotelServicetimeUpdateAPIResponseModel
- type TaobaoXhotelServicetimeUpdateResultSet
- type TaobaoXhotelUpdateAPIRequest
- func (r TaobaoXhotelUpdateAPIRequest) GetAddress() string
- func (r TaobaoXhotelUpdateAPIRequest) GetAliNick() string
- func (r TaobaoXhotelUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelUpdateAPIRequest) GetApiParams() 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) 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) 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) 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) 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 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"` // 城市编码。参见: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 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"` // 商品下架原因 DownReason string `json:"down_reason,omitempty" xml:"down_reason,omitempty"` // out_rid OutRid string `json:"out_rid,omitempty" xml:"out_rid,omitempty"` // 宝贝名称 Title string `json:"title,omitempty" xml:"title,omitempty"` // 购买须知 Guide string `json:"guide,omitempty" xml:"guide,omitempty"` // 宝贝描述 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 酒店商品图片Url。多个url用逗号隔开 PicUrls string `json:"pic_urls,omitempty" xml:"pic_urls,omitempty"` // 发票类型。A,B。分别代表: A:酒店住宿发票,B:其他 ReceiptType string `json:"receipt_type,omitempty" xml:"receipt_type,omitempty"` // 发票类型为其他时的发票描述,不能超过30个汉字,60个字符 ReceiptOtherTypeDesc string `json:"receipt_other_type_desc,omitempty" xml:"receipt_other_type_desc,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"` // 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"` // gid酒店商品id Gid int64 `json:"gid,omitempty" xml:"gid,omitempty"` // iid淘宝商品id Iid int64 `json:"iid,omitempty" xml:"iid,omitempty"` // rid房型id Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"` // 酒店商品是否提供发票 HasReceipt bool `json:"has_receipt,omitempty" xml:"has_receipt,omitempty"` // 橱窗推荐 Recommend bool `json:"recommend,omitempty" xml:"recommend,omitempty"` }
FirstResult 结构体
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 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"` }
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"` // 销售渠道,目前制定一了一种A-集团协议 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 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 SHotel ¶
type SHotel struct { // name Name string `json:"name,omitempty" xml:"name,omitempty"` // used_name UsedName string `json:"used_name,omitempty" xml:"used_name,omitempty"` // 酒店类型 Type string `json:"type,omitempty" xml:"type,omitempty"` // 国家编码 Country string `json:"country,omitempty" xml:"country,omitempty"` // 地区标签 CityTag string `json:"city_tag,omitempty" xml:"city_tag,omitempty"` // business Business string `json:"business,omitempty" xml:"business,omitempty"` // 酒店地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 酒店级别 Level string `json:"level,omitempty" xml:"level,omitempty"` // longitude Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"` // latitude Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"` // 酒店电话 Tel string `json:"tel,omitempty" xml:"tel,omitempty"` // 传真 Fax string `json:"fax,omitempty" xml:"fax,omitempty"` // 开业年份 OpeningTime string `json:"opening_time,omitempty" xml:"opening_time,omitempty"` // 装修年份 DecorateTime string `json:"decorate_time,omitempty" xml:"decorate_time,omitempty"` // 楼层数 Storeys string `json:"storeys,omitempty" xml:"storeys,omitempty"` // 扩展信息的JSON Extend string `json:"extend,omitempty" xml:"extend,omitempty"` // 酒店介绍 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 交通距离与设施服务。JSON格式。 Service string `json:"service,omitempty" xml:"service,omitempty"` // 酒店设施 HotelFacilities string `json:"hotel_facilities,omitempty" xml:"hotel_facilities,omitempty"` // 房间设施 RoomFacilities string `json:"room_facilities,omitempty" xml:"room_facilities,omitempty"` // 酒店图片url PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"` // 创建时间 CreatedTime string `json:"created_time,omitempty" xml:"created_time,omitempty"` // 修改时间 ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"` // 邮编 PostalCode string `json:"postal_code,omitempty" xml:"postal_code,omitempty"` // brand Brand string `json:"brand,omitempty" xml:"brand,omitempty"` // 杂费 Fee string `json:"fee,omitempty" xml:"fee,omitempty"` // 标准酒店英文名 NameE string `json:"name_e,omitempty" xml:"name_e,omitempty"` // 酒店ID Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"` // 0:国内;1:国外 Domestic int64 `json:"domestic,omitempty" xml:"domestic,omitempty"` // 省份编码 Province int64 `json:"province,omitempty" xml:"province,omitempty"` // 城市编码 City int64 `json:"city,omitempty" xml:"city,omitempty"` // 区域编码 District int64 `json:"district,omitempty" xml:"district,omitempty"` // position_type PositionType int64 `json:"position_type,omitempty" xml:"position_type,omitempty"` // 房间数 Rooms int64 `json:"rooms,omitempty" xml:"rooms,omitempty"` // 0,营业中;-1,筹建中;-2,暂停营业;-3,已停业;默认为0 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 0:酒店 1:客栈 IsKezhan int64 `json:"is_kezhan,omitempty" xml:"is_kezhan,omitempty"` }
SHotel 结构体
type SRoomType ¶
type SRoomType struct { // 房型名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 楼层 Floor string `json:"floor,omitempty" xml:"floor,omitempty"` // 宽带服务<br/>"0","有线上网(免费),<br/>"1","有线上网(无)",<br/>"2","有线上网(收费)",<br/>"3","有线上网(部分有且免费)",<br/>"4","有线上网(部分有且收费)" Internet string `json:"internet,omitempty" xml:"internet,omitempty"` // pic_url PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"` // facility Facility string `json:"facility,omitempty" xml:"facility,omitempty"` // 面积 Area string `json:"area,omitempty" xml:"area,omitempty"` // 扩展字段 Extend string `json:"extend,omitempty" xml:"extend,omitempty"` // 创建时间 CreatedTime string `json:"created_time,omitempty" xml:"created_time,omitempty"` // 修改时间 ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"` // 窗型,枚举类型<br/>0, 无窗,<br/>1, 有窗; WindowType string `json:"window_type,omitempty" xml:"window_type,omitempty"` // 床型。json格式:[{"bedType":"大床","bedSize":"1.5m"},{"bedType":"双床","bedSize":"1.2m"}] Bed string `json:"bed,omitempty" xml:"bed,omitempty"` // 匹配的标准房型 Srid int64 `json:"srid,omitempty" xml:"srid,omitempty"` // shid Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"` // 最大入住人数 MaxOccupancy int64 `json:"max_occupancy,omitempty" xml:"max_occupancy,omitempty"` // 状态。0:正常;-1:删除 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
SRoomType 结构体
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 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 TaobaoXhotelAddAPIRequest ¶
TaobaoXhotelAddAPIRequest 酒店新增接口(ID重复自动更新) API请求 taobao.xhotel.add
添加酒店或更新酒店
func NewTaobaoXhotelAddRequest ¶
func NewTaobaoXhotelAddRequest() *TaobaoXhotelAddAPIRequest
NewTaobaoXhotelAddRequest 初始化TaobaoXhotelAddAPIRequest对象
func (TaobaoXhotelAddAPIRequest) GetAddress ¶
func (r TaobaoXhotelAddAPIRequest) GetAddress() string
GetAddress Address Getter
func (TaobaoXhotelAddAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelAddAPIRequest) GetApiParams ¶
func (r TaobaoXhotelAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelAddAPIRequest) GetBookingNotice ¶
func (r TaobaoXhotelAddAPIRequest) GetBookingNotice() string
GetBookingNotice BookingNotice Getter
func (TaobaoXhotelAddAPIRequest) GetBrand ¶
func (r TaobaoXhotelAddAPIRequest) GetBrand() string
GetBrand Brand Getter
func (TaobaoXhotelAddAPIRequest) GetBusiness ¶
func (r TaobaoXhotelAddAPIRequest) GetBusiness() string
GetBusiness Business Getter
func (TaobaoXhotelAddAPIRequest) GetCity ¶
func (r TaobaoXhotelAddAPIRequest) GetCity() int64
GetCity City Getter
func (TaobaoXhotelAddAPIRequest) GetCoordinateSystem ¶
func (r TaobaoXhotelAddAPIRequest) GetCoordinateSystem() string
GetCoordinateSystem CoordinateSystem Getter
func (TaobaoXhotelAddAPIRequest) GetCountry ¶
func (r TaobaoXhotelAddAPIRequest) GetCountry() string
GetCountry Country Getter
func (TaobaoXhotelAddAPIRequest) GetCreditCardTypes ¶
func (r TaobaoXhotelAddAPIRequest) GetCreditCardTypes() string
GetCreditCardTypes CreditCardTypes Getter
func (TaobaoXhotelAddAPIRequest) GetDecorateTime ¶
func (r TaobaoXhotelAddAPIRequest) GetDecorateTime() string
GetDecorateTime DecorateTime Getter
func (TaobaoXhotelAddAPIRequest) GetDescription ¶
func (r TaobaoXhotelAddAPIRequest) GetDescription() string
GetDescription Description Getter
func (TaobaoXhotelAddAPIRequest) GetDistrict ¶
func (r TaobaoXhotelAddAPIRequest) GetDistrict() int64
GetDistrict District Getter
func (TaobaoXhotelAddAPIRequest) GetDomestic ¶
func (r TaobaoXhotelAddAPIRequest) GetDomestic() int64
GetDomestic Domestic Getter
func (TaobaoXhotelAddAPIRequest) GetExtend ¶
func (r TaobaoXhotelAddAPIRequest) GetExtend() string
GetExtend Extend Getter
func (TaobaoXhotelAddAPIRequest) GetFloors ¶
func (r TaobaoXhotelAddAPIRequest) GetFloors() string
GetFloors Floors Getter
func (TaobaoXhotelAddAPIRequest) GetHotelFacilities ¶
func (r TaobaoXhotelAddAPIRequest) GetHotelFacilities() string
GetHotelFacilities HotelFacilities Getter
func (TaobaoXhotelAddAPIRequest) GetHotelPolicies ¶
func (r TaobaoXhotelAddAPIRequest) GetHotelPolicies() string
GetHotelPolicies HotelPolicies Getter
func (TaobaoXhotelAddAPIRequest) GetHotelType ¶
func (r TaobaoXhotelAddAPIRequest) GetHotelType() int64
GetHotelType HotelType Getter
func (TaobaoXhotelAddAPIRequest) GetLatitude ¶
func (r TaobaoXhotelAddAPIRequest) GetLatitude() string
GetLatitude Latitude Getter
func (TaobaoXhotelAddAPIRequest) GetLongitude ¶
func (r TaobaoXhotelAddAPIRequest) GetLongitude() string
GetLongitude Longitude Getter
func (TaobaoXhotelAddAPIRequest) GetName ¶
func (r TaobaoXhotelAddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoXhotelAddAPIRequest) GetNameE ¶
func (r TaobaoXhotelAddAPIRequest) GetNameE() string
GetNameE NameE Getter
func (TaobaoXhotelAddAPIRequest) GetOpeningTime ¶
func (r TaobaoXhotelAddAPIRequest) GetOpeningTime() string
GetOpeningTime OpeningTime Getter
func (TaobaoXhotelAddAPIRequest) GetOrbitTrack ¶
func (r TaobaoXhotelAddAPIRequest) GetOrbitTrack() string
GetOrbitTrack OrbitTrack Getter
func (TaobaoXhotelAddAPIRequest) GetOuterId ¶
func (r TaobaoXhotelAddAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoXhotelAddAPIRequest) GetPics ¶
func (r TaobaoXhotelAddAPIRequest) GetPics() string
GetPics Pics Getter
func (TaobaoXhotelAddAPIRequest) GetPositionType ¶
func (r TaobaoXhotelAddAPIRequest) GetPositionType() string
GetPositionType PositionType Getter
func (TaobaoXhotelAddAPIRequest) GetPostalCode ¶
func (r TaobaoXhotelAddAPIRequest) GetPostalCode() string
GetPostalCode PostalCode Getter
func (TaobaoXhotelAddAPIRequest) GetProvince ¶
func (r TaobaoXhotelAddAPIRequest) GetProvince() int64
GetProvince Province Getter
func (TaobaoXhotelAddAPIRequest) GetRoomFacilities ¶
func (r TaobaoXhotelAddAPIRequest) GetRoomFacilities() string
GetRoomFacilities RoomFacilities Getter
func (TaobaoXhotelAddAPIRequest) GetRooms ¶
func (r TaobaoXhotelAddAPIRequest) GetRooms() int64
GetRooms Rooms Getter
func (TaobaoXhotelAddAPIRequest) GetService ¶
func (r TaobaoXhotelAddAPIRequest) GetService() string
GetService Service Getter
func (TaobaoXhotelAddAPIRequest) GetServiceType ¶
func (r TaobaoXhotelAddAPIRequest) GetServiceType() int64
GetServiceType ServiceType Getter
func (TaobaoXhotelAddAPIRequest) GetSettlementCurrency ¶
func (r TaobaoXhotelAddAPIRequest) GetSettlementCurrency() string
GetSettlementCurrency SettlementCurrency Getter
func (TaobaoXhotelAddAPIRequest) GetShid ¶
func (r TaobaoXhotelAddAPIRequest) GetShid() int64
GetShid Shid Getter
func (TaobaoXhotelAddAPIRequest) GetStandardAmuseFacilities ¶
func (r TaobaoXhotelAddAPIRequest) GetStandardAmuseFacilities() string
GetStandardAmuseFacilities StandardAmuseFacilities Getter
func (TaobaoXhotelAddAPIRequest) GetStandardBookingNotice ¶
func (r TaobaoXhotelAddAPIRequest) GetStandardBookingNotice() string
GetStandardBookingNotice StandardBookingNotice Getter
func (TaobaoXhotelAddAPIRequest) GetStandardHotelFacilities ¶
func (r TaobaoXhotelAddAPIRequest) GetStandardHotelFacilities() string
GetStandardHotelFacilities StandardHotelFacilities Getter
func (TaobaoXhotelAddAPIRequest) GetStandardHotelService ¶
func (r TaobaoXhotelAddAPIRequest) GetStandardHotelService() string
GetStandardHotelService StandardHotelService Getter
func (TaobaoXhotelAddAPIRequest) GetStandardRoomFacilities ¶
func (r TaobaoXhotelAddAPIRequest) GetStandardRoomFacilities() string
GetStandardRoomFacilities StandardRoomFacilities Getter
func (TaobaoXhotelAddAPIRequest) GetStar ¶
func (r TaobaoXhotelAddAPIRequest) GetStar() string
GetStar Star Getter
func (TaobaoXhotelAddAPIRequest) GetSupplier ¶
func (r TaobaoXhotelAddAPIRequest) GetSupplier() string
GetSupplier Supplier Getter
func (TaobaoXhotelAddAPIRequest) GetTel ¶
func (r TaobaoXhotelAddAPIRequest) GetTel() string
GetTel Tel Getter
func (TaobaoXhotelAddAPIRequest) GetUsedName ¶
func (r TaobaoXhotelAddAPIRequest) GetUsedName() string
GetUsedName UsedName Getter
func (TaobaoXhotelAddAPIRequest) GetVendor ¶
func (r TaobaoXhotelAddAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelAddAPIRequest) SetAddress ¶
func (r *TaobaoXhotelAddAPIRequest) SetAddress(_address string) error
SetAddress is Address Setter 酒店地址。长度不能超过255。不填入会导致不能自动匹配。
func (*TaobaoXhotelAddAPIRequest) SetBookingNotice ¶
func (r *TaobaoXhotelAddAPIRequest) SetBookingNotice(_bookingNotice string) error
SetBookingNotice is BookingNotice Setter 预订须知。json字段描述:hotelInMountaintop 酒店位于山顶 1在山顶、0不在;needBoat 酒店需要坐船前往 1需要、0不需要;酒店位于景区内 1在景区、0不在;extraBed 加床收费;extraCharge 额外收费;arrivalTime 到店时间;extend 其他补充项
func (*TaobaoXhotelAddAPIRequest) SetBrand ¶
func (r *TaobaoXhotelAddAPIRequest) SetBrand(_brand string) error
SetBrand is Brand Setter 酒店品牌。取值为数字。枚举见链接:https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.S16vXH&docType=1&articleId=120180
func (*TaobaoXhotelAddAPIRequest) SetBusiness ¶
func (r *TaobaoXhotelAddAPIRequest) SetBusiness(_business string) error
SetBusiness is Business Setter 商业区(圈)长度不超过20字
func (*TaobaoXhotelAddAPIRequest) SetCity ¶
func (r *TaobaoXhotelAddAPIRequest) SetCity(_city int64) error
SetCity is City Setter 城市编码。参见:http://hotel.alitrip.com/area.htm,domestic为false时,输入对应国家的海外城市编码,可调用海外城市查询接口获取;(更新酒店时为可选)
func (*TaobaoXhotelAddAPIRequest) SetCoordinateSystem ¶
func (r *TaobaoXhotelAddAPIRequest) SetCoordinateSystem(_coordinateSystem string) error
SetCoordinateSystem is CoordinateSystem Setter 标识坐标系类型。WGS84,表示地球坐标系 ;GCJ02,表示火星坐标系
func (*TaobaoXhotelAddAPIRequest) SetCountry ¶
func (r *TaobaoXhotelAddAPIRequest) SetCountry(_country string) error
SetCountry is Country Setter domestic为0时,固定China; domestic为1时,必须传定义的海外国家编码值。参见:http://hotel.alitrip.com/area.htm
func (*TaobaoXhotelAddAPIRequest) SetCreditCardTypes ¶
func (r *TaobaoXhotelAddAPIRequest) SetCreditCardTypes(_creditCardTypes string) error
SetCreditCardTypes is CreditCardTypes Setter 逗号分隔的字符串 1visa;2万事达卡;3美国运通卡;4发现卡;5大来卡;6JCB卡;7银联卡
func (*TaobaoXhotelAddAPIRequest) SetDecorateTime ¶
func (r *TaobaoXhotelAddAPIRequest) SetDecorateTime(_decorateTime string) error
SetDecorateTime is DecorateTime Setter 装修时间,格式为2015-01-01装修时间
func (*TaobaoXhotelAddAPIRequest) SetDescription ¶
func (r *TaobaoXhotelAddAPIRequest) SetDescription(_description string) error
SetDescription is Description Setter 酒店描述
func (*TaobaoXhotelAddAPIRequest) SetDistrict ¶
func (r *TaobaoXhotelAddAPIRequest) SetDistrict(_district int64) error
SetDistrict is District Setter 区域(县级市)编码。参见:http://hotel.alitrip.com/area.htm
func (*TaobaoXhotelAddAPIRequest) SetDomestic ¶
func (r *TaobaoXhotelAddAPIRequest) SetDomestic(_domestic int64) error
SetDomestic is Domestic Setter 是否国内酒店。0:国内;1:国外。默认是国内
func (*TaobaoXhotelAddAPIRequest) SetExtend ¶
func (r *TaobaoXhotelAddAPIRequest) SetExtend(_extend string) error
SetExtend is Extend Setter 扩展信息的JSON。注:此字段的值需要ISV在接入前与淘宝沟通,且确认能解析
func (*TaobaoXhotelAddAPIRequest) SetFloors ¶
func (r *TaobaoXhotelAddAPIRequest) SetFloors(_floors string) error
SetFloors is Floors Setter 楼层信息。
func (*TaobaoXhotelAddAPIRequest) SetHotelFacilities ¶
func (r *TaobaoXhotelAddAPIRequest) SetHotelFacilities(_hotelFacilities string) error
SetHotelFacilities is HotelFacilities Setter 废弃
func (*TaobaoXhotelAddAPIRequest) SetHotelPolicies ¶
func (r *TaobaoXhotelAddAPIRequest) SetHotelPolicies(_hotelPolicies string) error
SetHotelPolicies is HotelPolicies Setter 废弃
func (*TaobaoXhotelAddAPIRequest) SetHotelType ¶
func (r *TaobaoXhotelAddAPIRequest) SetHotelType(_hotelType int64) error
SetHotelType is HotelType Setter 0:酒店;1:客栈
func (*TaobaoXhotelAddAPIRequest) SetLatitude ¶
func (r *TaobaoXhotelAddAPIRequest) SetLatitude(_latitude string) error
SetLatitude is Latitude Setter 纬度
func (*TaobaoXhotelAddAPIRequest) SetLongitude ¶
func (r *TaobaoXhotelAddAPIRequest) SetLongitude(_longitude string) error
SetLongitude is Longitude Setter 经度
func (*TaobaoXhotelAddAPIRequest) SetName ¶
func (r *TaobaoXhotelAddAPIRequest) SetName(_name string) error
SetName is Name Setter 酒店名称,国内酒店请传中文名称
func (*TaobaoXhotelAddAPIRequest) SetNameE ¶
func (r *TaobaoXhotelAddAPIRequest) SetNameE(_nameE string) error
SetNameE is NameE Setter 卖家酒店英文名称
func (*TaobaoXhotelAddAPIRequest) SetOpeningTime ¶
func (r *TaobaoXhotelAddAPIRequest) SetOpeningTime(_openingTime string) error
SetOpeningTime is OpeningTime Setter 开业时间,格式为2015-01-01
func (*TaobaoXhotelAddAPIRequest) SetOrbitTrack ¶
func (r *TaobaoXhotelAddAPIRequest) SetOrbitTrack(_orbitTrack string) error
SetOrbitTrack is OrbitTrack Setter 扩展信息的JSON。 orbitTrack 业务字段是指从飞猪到酒店说经过平台名以及方式的一个数组,按顺序,从飞猪,再经过若干平台,最后到酒店, platform是指定当前平台名,ways 是指通过哪种方式到该平台 其中,飞猪到下一个平台里, ways 字段只能是【直连】、【人工】两个方式之一; 从最后一个平台到酒店的ways字段只能是【电话】、【传真】、【人工】、【系统】之一; 第一个 飞猪平台 和 最后具体酒店是至少得填的
func (*TaobaoXhotelAddAPIRequest) SetOuterId ¶
func (r *TaobaoXhotelAddAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 外部酒店ID, 这是卖家自己系统中的ID
func (*TaobaoXhotelAddAPIRequest) SetPics ¶
func (r *TaobaoXhotelAddAPIRequest) SetPics(_pics string) error
SetPics is Pics Setter 酒店图片只支持远程图片,格式如下:[{"url":"http://123.jpg","ismain":"false","type":"大堂","attribute":"普通图"},{"url":"http://456.jpg","ismain":"true","type":"公共区域","attribute":"全景图"},{"url":"http://789.jpg","ismain":"false","type":"大堂","attribute":"普通图"}] 其中url是远程图片的访问地址(URL地址必须是合法的,否则会报错),main是是否为主图(主图只能有一个,如果有多个或者没有,则会报错),attribute表示图片属性,取值范围只能是:[普通图, 平面图, 全景图] ,type表示图片类型,取值范围只能是:[周边, 外观, 商务中心, 健身房, 其他, 会议室, 餐厅, 浴室, 客房, 公共区域, 娱乐设施, 大堂, 泳池],图片数量最多是能是10张。
func (*TaobaoXhotelAddAPIRequest) SetPositionType ¶
func (r *TaobaoXhotelAddAPIRequest) SetPositionType(_positionType string) error
SetPositionType is PositionType Setter 坐标类型,现在支持:G – GoogleB – 百度A – 高德M – MapbarL – 灵图
func (*TaobaoXhotelAddAPIRequest) SetPostalCode ¶
func (r *TaobaoXhotelAddAPIRequest) SetPostalCode(_postalCode string) error
SetPostalCode is PostalCode Setter 邮政编码。
func (*TaobaoXhotelAddAPIRequest) SetProvince ¶
func (r *TaobaoXhotelAddAPIRequest) SetProvince(_province int64) error
SetProvince is Province Setter 省份编码。选填,不填入的时候已city字段为准.参见:http://hotel.alitrip.com/area.htm,domestic为false时默认为0
func (*TaobaoXhotelAddAPIRequest) SetRoomFacilities ¶
func (r *TaobaoXhotelAddAPIRequest) SetRoomFacilities(_roomFacilities string) error
SetRoomFacilities is RoomFacilities Setter 废弃
func (*TaobaoXhotelAddAPIRequest) SetRooms ¶
func (r *TaobaoXhotelAddAPIRequest) SetRooms(_rooms int64) error
SetRooms is Rooms Setter 房间数 0~9999之内的数字
func (*TaobaoXhotelAddAPIRequest) SetService ¶
func (r *TaobaoXhotelAddAPIRequest) SetService(_service string) error
SetService is Service Setter 废弃
func (*TaobaoXhotelAddAPIRequest) SetServiceType ¶
func (r *TaobaoXhotelAddAPIRequest) SetServiceType(_serviceType int64) error
SetServiceType is ServiceType Setter 0:可以接待外宾;1:仅内宾
func (*TaobaoXhotelAddAPIRequest) SetSettlementCurrency ¶
func (r *TaobaoXhotelAddAPIRequest) SetSettlementCurrency(_settlementCurrency string) error
SetSettlementCurrency is SettlementCurrency Setter 结算过程中的结算币种符合,如需对接请联系飞猪技术支持,请谨慎使用
func (*TaobaoXhotelAddAPIRequest) SetShid ¶
func (r *TaobaoXhotelAddAPIRequest) SetShid(_shid int64) error
SetShid is Shid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝酒店的匹配关系。目前尚未启动该字段。
func (*TaobaoXhotelAddAPIRequest) SetStandardAmuseFacilities ¶
func (r *TaobaoXhotelAddAPIRequest) SetStandardAmuseFacilities(_standardAmuseFacilities string) error
SetStandardAmuseFacilities is StandardAmuseFacilities Setter 标准娱乐设施,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891
func (*TaobaoXhotelAddAPIRequest) SetStandardBookingNotice ¶
func (r *TaobaoXhotelAddAPIRequest) SetStandardBookingNotice(_standardBookingNotice string) error
SetStandardBookingNotice is StandardBookingNotice Setter 标准预订须知,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891
func (*TaobaoXhotelAddAPIRequest) SetStandardHotelFacilities ¶
func (r *TaobaoXhotelAddAPIRequest) SetStandardHotelFacilities(_standardHotelFacilities string) error
SetStandardHotelFacilities is StandardHotelFacilities Setter 标准酒店设施,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891
func (*TaobaoXhotelAddAPIRequest) SetStandardHotelService ¶
func (r *TaobaoXhotelAddAPIRequest) SetStandardHotelService(_standardHotelService string) error
SetStandardHotelService is StandardHotelService Setter 标准酒店服务,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891
func (*TaobaoXhotelAddAPIRequest) SetStandardRoomFacilities ¶
func (r *TaobaoXhotelAddAPIRequest) SetStandardRoomFacilities(_standardRoomFacilities string) error
SetStandardRoomFacilities is StandardRoomFacilities Setter 标准房型设施,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891
func (*TaobaoXhotelAddAPIRequest) SetStar ¶
func (r *TaobaoXhotelAddAPIRequest) SetStar(_star string) error
SetStar is Star Setter 酒店档次,星级。取值范围为1,1.5,2,2.5,3,3.5,4,4.5,5
func (*TaobaoXhotelAddAPIRequest) SetSupplier ¶
func (r *TaobaoXhotelAddAPIRequest) SetSupplier(_supplier string) error
SetSupplier is Supplier Setter 供应商标识,需要提前开通权限,如果需要对接请联系技术支持,请谨慎使用。注:如商家申请的应用类型为“飞猪-新业务”,此项则必填。
func (*TaobaoXhotelAddAPIRequest) SetTel ¶
func (r *TaobaoXhotelAddAPIRequest) SetTel(_tel string) error
SetTel is Tel Setter 酒店电话。格式:国家代码(最长6位)#区号(最长4位)#电话(最长20位)。国家代码提示:中国大陆0086、香港00852、澳门00853、台湾00886
func (*TaobaoXhotelAddAPIRequest) SetUsedName ¶
func (r *TaobaoXhotelAddAPIRequest) SetUsedName(_usedName string) error
SetUsedName is UsedName Setter 酒店曾用名
func (*TaobaoXhotelAddAPIRequest) SetVendor ¶
func (r *TaobaoXhotelAddAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用
type TaobaoXhotelAddAPIResponse ¶
type TaobaoXhotelAddAPIResponse struct { model.CommonResponse TaobaoXhotelAddAPIResponseModel }
TaobaoXhotelAddAPIResponse 酒店新增接口(ID重复自动更新) API返回值 taobao.xhotel.add
添加酒店或更新酒店
type TaobaoXhotelAddAPIResponseModel ¶
type TaobaoXhotelAddAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 酒店信息 Xhotel *XHotel `json:"xhotel,omitempty" xml:"xhotel,omitempty"` }
TaobaoXhotelAddAPIResponseModel is 酒店新增接口(ID重复自动更新) 成功返回结果
type TaobaoXhotelBaseinfoGetAPIRequest ¶
type TaobaoXhotelBaseinfoGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelBaseinfoGetAPIRequest 酒店基础信息查询接口 API请求 taobao.xhotel.baseinfo.get
酒店基础信息(酒店/房型/房价定义)查询接口, 包括 酒店房型可售, 以及 hid 下 的标准房型列表
func NewTaobaoXhotelBaseinfoGetRequest ¶
func NewTaobaoXhotelBaseinfoGetRequest() *TaobaoXhotelBaseinfoGetAPIRequest
NewTaobaoXhotelBaseinfoGetRequest 初始化TaobaoXhotelBaseinfoGetAPIRequest对象
func (TaobaoXhotelBaseinfoGetAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelBaseinfoGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelBaseinfoGetAPIRequest) GetApiParams ¶
func (r TaobaoXhotelBaseinfoGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelBaseinfoGetAPIRequest) GetHid ¶
func (r TaobaoXhotelBaseinfoGetAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoXhotelBaseinfoGetAPIRequest) GetIsNeedRatePlan ¶
func (r TaobaoXhotelBaseinfoGetAPIRequest) GetIsNeedRatePlan() bool
GetIsNeedRatePlan IsNeedRatePlan Getter
func (TaobaoXhotelBaseinfoGetAPIRequest) GetIsNeedRoomType ¶
func (r TaobaoXhotelBaseinfoGetAPIRequest) GetIsNeedRoomType() bool
GetIsNeedRoomType IsNeedRoomType Getter
func (TaobaoXhotelBaseinfoGetAPIRequest) GetJsonHotelSellerInvQuery ¶
func (r TaobaoXhotelBaseinfoGetAPIRequest) GetJsonHotelSellerInvQuery() string
GetJsonHotelSellerInvQuery JsonHotelSellerInvQuery Getter
func (TaobaoXhotelBaseinfoGetAPIRequest) GetNeedHotelDynamicInfo ¶
func (r TaobaoXhotelBaseinfoGetAPIRequest) GetNeedHotelDynamicInfo() bool
GetNeedHotelDynamicInfo NeedHotelDynamicInfo Getter
func (TaobaoXhotelBaseinfoGetAPIRequest) GetNeedSRoomTypeList ¶
func (r TaobaoXhotelBaseinfoGetAPIRequest) GetNeedSRoomTypeList() bool
GetNeedSRoomTypeList NeedSRoomTypeList Getter
func (TaobaoXhotelBaseinfoGetAPIRequest) GetOutHid ¶
func (r TaobaoXhotelBaseinfoGetAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoXhotelBaseinfoGetAPIRequest) GetVendor ¶
func (r TaobaoXhotelBaseinfoGetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelBaseinfoGetAPIRequest) SetHid ¶
func (r *TaobaoXhotelBaseinfoGetAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 淘宝酒店ID
func (*TaobaoXhotelBaseinfoGetAPIRequest) SetIsNeedRatePlan ¶
func (r *TaobaoXhotelBaseinfoGetAPIRequest) SetIsNeedRatePlan(_isNeedRatePlan bool) error
SetIsNeedRatePlan is IsNeedRatePlan Setter 是否需要房价基本信息(false为不需要),默认为需要
func (*TaobaoXhotelBaseinfoGetAPIRequest) SetIsNeedRoomType ¶
func (r *TaobaoXhotelBaseinfoGetAPIRequest) SetIsNeedRoomType(_isNeedRoomType bool) error
SetIsNeedRoomType is IsNeedRoomType Setter 是否需要房型基本信息(false为不需要),默认为需要
func (*TaobaoXhotelBaseinfoGetAPIRequest) SetJsonHotelSellerInvQuery ¶
func (r *TaobaoXhotelBaseinfoGetAPIRequest) SetJsonHotelSellerInvQuery(_jsonHotelSellerInvQuery string) error
SetJsonHotelSellerInvQuery is JsonHotelSellerInvQuery Setter 在查询酒店房型可售详情 时的入参JSON , {@link com.taobao.trip.hpc.client.query.HotelSellerInvQuery}
func (*TaobaoXhotelBaseinfoGetAPIRequest) SetNeedHotelDynamicInfo ¶
func (r *TaobaoXhotelBaseinfoGetAPIRequest) SetNeedHotelDynamicInfo(_needHotelDynamicInfo bool) error
SetNeedHotelDynamicInfo is NeedHotelDynamicInfo Setter 是否需要酒店房型可售详情
func (*TaobaoXhotelBaseinfoGetAPIRequest) SetNeedSRoomTypeList ¶
func (r *TaobaoXhotelBaseinfoGetAPIRequest) SetNeedSRoomTypeList(_needSRoomTypeList bool) error
SetNeedSRoomTypeList is NeedSRoomTypeList Setter 是否需要 根据 hid 查询 标准房型列表
func (*TaobaoXhotelBaseinfoGetAPIRequest) SetOutHid ¶
func (r *TaobaoXhotelBaseinfoGetAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 推荐使用卖家系统中的酒店ID。
func (*TaobaoXhotelBaseinfoGetAPIRequest) SetVendor ¶
func (r *TaobaoXhotelBaseinfoGetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 用于标示该酒店发布的渠道信息
type TaobaoXhotelBaseinfoGetAPIResponse ¶
type TaobaoXhotelBaseinfoGetAPIResponse struct { model.CommonResponse TaobaoXhotelBaseinfoGetAPIResponseModel }
TaobaoXhotelBaseinfoGetAPIResponse 酒店基础信息查询接口 API返回值 taobao.xhotel.baseinfo.get
酒店基础信息(酒店/房型/房价定义)查询接口, 包括 酒店房型可售, 以及 hid 下 的标准房型列表
type TaobaoXhotelBaseinfoGetAPIResponseModel ¶
type TaobaoXhotelBaseinfoGetAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_baseinfo_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoXhotelBaseinfoGetResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelBaseinfoGetAPIResponseModel is 酒店基础信息查询接口 成功返回结果
type TaobaoXhotelBaseinfoGetResultSet ¶
type TaobaoXhotelBaseinfoGetResultSet struct { // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 酒店基础信息 XhotelBaseInfo *XHotelBaseInfo `json:"xhotel_base_info,omitempty" xml:"xhotel_base_info,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoXhotelBaseinfoGetResultSet 结构体
type TaobaoXhotelBaseinfoRoomGetAPIRequest ¶
type TaobaoXhotelBaseinfoRoomGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelBaseinfoRoomGetAPIRequest 酒店房型与房价查询 API请求 taobao.xhotel.baseinfo.room.get
根据outHid/hid获取酒店的房型和价格信息
func NewTaobaoXhotelBaseinfoRoomGetRequest ¶
func NewTaobaoXhotelBaseinfoRoomGetRequest() *TaobaoXhotelBaseinfoRoomGetAPIRequest
NewTaobaoXhotelBaseinfoRoomGetRequest 初始化TaobaoXhotelBaseinfoRoomGetAPIRequest对象
func (TaobaoXhotelBaseinfoRoomGetAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelBaseinfoRoomGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelBaseinfoRoomGetAPIRequest) GetApiParams ¶
func (r TaobaoXhotelBaseinfoRoomGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelBaseinfoRoomGetAPIRequest) GetIsNeedRatePlan ¶
func (r TaobaoXhotelBaseinfoRoomGetAPIRequest) GetIsNeedRatePlan() bool
GetIsNeedRatePlan IsNeedRatePlan Getter
func (TaobaoXhotelBaseinfoRoomGetAPIRequest) GetOutHid ¶
func (r TaobaoXhotelBaseinfoRoomGetAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoXhotelBaseinfoRoomGetAPIRequest) GetVendor ¶
func (r TaobaoXhotelBaseinfoRoomGetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelBaseinfoRoomGetAPIRequest) SetIsNeedRatePlan ¶
func (r *TaobaoXhotelBaseinfoRoomGetAPIRequest) SetIsNeedRatePlan(_isNeedRatePlan bool) error
SetIsNeedRatePlan is IsNeedRatePlan Setter 是否需要房价基本信息(false为不需要),默认为需要
func (*TaobaoXhotelBaseinfoRoomGetAPIRequest) SetOutHid ¶
func (r *TaobaoXhotelBaseinfoRoomGetAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 卖家系统中的酒店ID。
func (*TaobaoXhotelBaseinfoRoomGetAPIRequest) SetVendor ¶
func (r *TaobaoXhotelBaseinfoRoomGetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 用于标示该酒店发布的渠道信息
type TaobaoXhotelBaseinfoRoomGetAPIResponse ¶
type TaobaoXhotelBaseinfoRoomGetAPIResponse struct { model.CommonResponse TaobaoXhotelBaseinfoRoomGetAPIResponseModel }
TaobaoXhotelBaseinfoRoomGetAPIResponse 酒店房型与房价查询 API返回值 taobao.xhotel.baseinfo.room.get
根据outHid/hid获取酒店的房型和价格信息
type TaobaoXhotelBaseinfoRoomGetAPIResponseModel ¶
type TaobaoXhotelBaseinfoRoomGetAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_baseinfo_room_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoXhotelBaseinfoRoomGetResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelBaseinfoRoomGetAPIResponseModel is 酒店房型与房价查询 成功返回结果
type TaobaoXhotelBaseinfoRoomGetResultSet ¶
type TaobaoXhotelBaseinfoRoomGetResultSet struct { // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 酒店基础信息 XhotelBaseInfo *XHotelInfoWithRoom `json:"xhotel_base_info,omitempty" xml:"xhotel_base_info,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoXhotelBaseinfoRoomGetResultSet 结构体
type TaobaoXhotelBnbhouseAddAPIRequest ¶
type TaobaoXhotelBnbhouseAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelBnbhouseAddAPIRequest 民宿门店信息添加 API请求 taobao.xhotel.bnbhouse.add
添加和更新民宿门店的信息
func NewTaobaoXhotelBnbhouseAddRequest ¶
func NewTaobaoXhotelBnbhouseAddRequest() *TaobaoXhotelBnbhouseAddAPIRequest
NewTaobaoXhotelBnbhouseAddRequest 初始化TaobaoXhotelBnbhouseAddAPIRequest对象
func (TaobaoXhotelBnbhouseAddAPIRequest) GetActivitiesAllowed ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetActivitiesAllowed() string
GetActivitiesAllowed ActivitiesAllowed Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelBnbhouseAddAPIRequest) GetApiParams ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelBnbhouseAddAPIRequest) GetAttributes ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetAttributes() int64
GetAttributes Attributes Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetBnbBookingTime ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetBnbBookingTime() *BnbBookingTimeDto
GetBnbBookingTime BnbBookingTime Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetBrand ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetBrand() string
GetBrand Brand Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetCharge ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetCharge() *BnbChargeDto
GetCharge Charge Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetCheckInNotes ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetCheckInNotes() string
GetCheckInNotes CheckInNotes Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetCommissionRate ¶ added in v1.2.5
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetCommissionRate() int64
GetCommissionRate CommissionRate Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetDecorateLevel ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetDecorateLevel() int64
GetDecorateLevel DecorateLevel Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetDecorateStyle ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetDecorateStyle() int64
GetDecorateStyle DecorateStyle Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetDecorateTime ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetDecorateTime() string
GetDecorateTime DecorateTime Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetDescription ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetDescription() string
GetDescription Description Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetExtraBedsNum ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetExtraBedsNum() int64
GetExtraBedsNum ExtraBedsNum Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetFacilities ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetFacilities() string
GetFacilities Facilities Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetFloors ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetFloors() string
GetFloors Floors Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetGuestAge ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetGuestAge() int64
GetGuestAge GuestAge Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetGuestGender ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetGuestGender() int64
GetGuestGender GuestGender Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetHasFrontDesk ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetHasFrontDesk() int64
GetHasFrontDesk HasFrontDesk Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetHasLicense ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetHasLicense() int64
GetHasLicense HasLicense Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetHouseSize ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetHouseSize() int64
GetHouseSize HouseSize Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetIsFeizhuHotel ¶ added in v1.2.5
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetIsFeizhuHotel() bool
GetIsFeizhuHotel IsFeizhuHotel Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetIsUseShootImage ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetIsUseShootImage() int64
GetIsUseShootImage IsUseShootImage Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetLocation ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetLocation() *BnbLocationDto
GetLocation Location Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetName ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetNameE ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetNameE() string
GetNameE NameE Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetOpeningTime ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetOpeningTime() string
GetOpeningTime OpeningTime Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetOutOwnerId ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetOutOwnerId() string
GetOutOwnerId OutOwnerId Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetOuterId ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetPictures ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetPictures() []BnbPictureDto
GetPictures Pictures Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetProductType ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetProductType() int64
GetProductType ProductType Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetRealTel ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetRealTel() string
GetRealTel RealTel Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetReceiveForeigners ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetReceiveForeigners() int64
GetReceiveForeigners ReceiveForeigners Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetScenicFeature ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetScenicFeature() int64
GetScenicFeature ScenicFeature Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetSettlementCurrency ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetSettlementCurrency() string
GetSettlementCurrency SettlementCurrency Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetShid ¶ added in v1.2.5
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetShid() int64
GetShid Shid Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetStandardHotelFacilities ¶ added in v1.2.5
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetStandardHotelFacilities() string
GetStandardHotelFacilities StandardHotelFacilities Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetStatus ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetStatus() *model.File
GetStatus Status Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetTags ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetTags() string
GetTags Tags Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetTel ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetTel() string
GetTel Tel Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetVendor ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (TaobaoXhotelBnbhouseAddAPIRequest) GetVideoUrl ¶
func (r TaobaoXhotelBnbhouseAddAPIRequest) GetVideoUrl() string
GetVideoUrl VideoUrl Getter
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetActivitiesAllowed ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetActivitiesAllowed(_activitiesAllowed string) error
SetActivitiesAllowed is ActivitiesAllowed Setter 详见“允许活动”list 12,32,33,
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetAttributes ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetAttributes(_attributes int64) error
SetAttributes is Attributes Setter 门店属性 1 个人房源 2 城市公寓 3 乡村民宿等
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetBnbBookingTime ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetBnbBookingTime(_bnbBookingTime *BnbBookingTimeDto) error
SetBnbBookingTime is BnbBookingTime Setter 入住要求&附加信息
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetBrand ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetBrand(_brand string) error
SetBrand is Brand Setter 品牌名称
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetCharge ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetCharge(_charge *BnbChargeDto) error
SetCharge is Charge Setter 加人收费信息
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetCheckInNotes ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetCheckInNotes(_checkInNotes string) error
SetCheckInNotes is CheckInNotes Setter 入住须知
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetCommissionRate ¶ added in v1.2.5
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetCommissionRate(_commissionRate int64) error
SetCommissionRate is CommissionRate Setter 作为菲住门店签约的佣金比率,范围为10-50
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetDecorateLevel ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetDecorateLevel(_decorateLevel int64) error
SetDecorateLevel is DecorateLevel Setter 装修等级 1 精装 2普通 3简装
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetDecorateStyle ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetDecorateStyle(_decorateStyle int64) error
SetDecorateStyle is DecorateStyle Setter 装修风格,详见装修风格枚举表
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetDecorateTime ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetDecorateTime(_decorateTime string) error
SetDecorateTime is DecorateTime Setter 装修时间,格式为2015-01-01
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetDescription ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetDescription(_description string) error
SetDescription is Description Setter 门店简介
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetExtraBedsNum ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetExtraBedsNum(_extraBedsNum int64) error
SetExtraBedsNum is ExtraBedsNum Setter 可加床数
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetFacilities ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetFacilities(_facilities string) error
SetFacilities is Facilities Setter 酒店设施。json格式示例值:{"24152":true,"24149":true,"24150":true},key取值参见 https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.vSVPks&docType=1&articleId=108416&previewCode=987A11324A278EF679E24102BA30D426 中type=20的分类
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetFloors ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetFloors(_floors string) error
SetFloors is Floors Setter 楼层
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetGuestAge ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetGuestAge(_guestAge int64) error
SetGuestAge is GuestAge Setter 可接待客人年龄情况:是否接待儿童、老人;成年人必接待,详见“可接待客人”list
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetGuestGender ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetGuestGender(_guestGender int64) error
SetGuestGender is GuestGender Setter 可接待客人性别 0:不限制,1:只限男性,2:只限女性'
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetHasFrontDesk ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetHasFrontDesk(_hasFrontDesk int64) error
SetHasFrontDesk is HasFrontDesk Setter 是否有前台 0没有 1有
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetHasLicense ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetHasLicense(_hasLicense int64) error
SetHasLicense is HasLicense Setter 有无资质执照 0 无资质 1有资质
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetHouseSize ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetHouseSize(_houseSize int64) error
SetHouseSize is HouseSize Setter 面积大小
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetIsFeizhuHotel ¶ added in v1.2.5
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetIsFeizhuHotel(_isFeizhuHotel bool) error
SetIsFeizhuHotel is IsFeizhuHotel Setter 传入是或者否,是表明为菲住合作模式,hid打标;“否”表示为正常合作模式,hid去标;不传保持原有的合作模式不变
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetIsUseShootImage ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetIsUseShootImage(_isUseShootImage int64) error
SetIsUseShootImage is IsUseShootImage Setter 是否使用实拍图片 0不使用 1使用
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetLocation ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetLocation(_location *BnbLocationDto) error
SetLocation is Location Setter 位置信息
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetName ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetName(_name string) error
SetName is Name Setter 门店名称
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetNameE ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetNameE(_nameE string) error
SetNameE is NameE Setter 门店英文名称
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetOpeningTime ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetOpeningTime(_openingTime string) error
SetOpeningTime is OpeningTime Setter 开业时间,格式为2015-01-01
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetOutOwnerId ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetOutOwnerId(_outOwnerId string) error
SetOutOwnerId is OutOwnerId Setter 外部房东id
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetOuterId ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 供应商渠道门店ID
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetPictures ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetPictures(_pictures []BnbPictureDto) error
SetPictures is Pictures Setter 民宿门店添加
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetProductType ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetProductType(_productType int64) error
SetProductType is ProductType Setter 门店类型,详见“房源类型list
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetRealTel ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetRealTel(_realTel string) error
SetRealTel is RealTel Setter 真实联系方式
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetReceiveForeigners ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetReceiveForeigners(_receiveForeigners int64) error
SetReceiveForeigners is ReceiveForeigners Setter 是否可接待外宾 0不接待 1接待,默认值: 0
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetScenicFeature ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetScenicFeature(_scenicFeature int64) error
SetScenicFeature is ScenicFeature Setter 风景类型,详见风景类型枚举表
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetSettlementCurrency ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetSettlementCurrency(_settlementCurrency string) error
SetSettlementCurrency is SettlementCurrency Setter 结算过程中的结算币种符合,如需对接请联系飞猪技术支持,请谨慎使用
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetShid ¶ added in v1.2.5
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetShid(_shid int64) error
SetShid is Shid Setter 匹配的标准门店
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetStandardHotelFacilities ¶ added in v1.2.5
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetStandardHotelFacilities(_standardHotelFacilities string) error
SetStandardHotelFacilities is StandardHotelFacilities Setter 标准酒店服务,参考文档https://fliggy.open.taobao.com/doc.htm?docId=120362&docType=1
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetStatus ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetStatus(_status *model.File) error
SetStatus is Status Setter 房型状态。0:正常,-1:删除,-2:停售
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetTags ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetTags(_tags string) error
SetTags is Tags Setter 门店标签 标签信息,逗号(,)分隔
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetTel ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetTel(_tel string) error
SetTel is Tel Setter 联系方式。格式:国家代码(最长6位)#区号(最长4位)#电话(最长20位)。国家代码提示:中国大陆0086、香港00852、澳门00853、台湾00886
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetVendor ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用
func (*TaobaoXhotelBnbhouseAddAPIRequest) SetVideoUrl ¶
func (r *TaobaoXhotelBnbhouseAddAPIRequest) SetVideoUrl(_videoUrl string) error
SetVideoUrl is VideoUrl Setter 视频地址
type TaobaoXhotelBnbhouseAddAPIResponse ¶
type TaobaoXhotelBnbhouseAddAPIResponse struct { model.CommonResponse TaobaoXhotelBnbhouseAddAPIResponseModel }
TaobaoXhotelBnbhouseAddAPIResponse 民宿门店信息添加 API返回值 taobao.xhotel.bnbhouse.add
添加和更新民宿门店的信息
type TaobaoXhotelBnbhouseAddAPIResponseModel ¶
type TaobaoXhotelBnbhouseAddAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_bnbhouse_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 系统自动生成 Results []XHotel `json:"results,omitempty" xml:"results>x_hotel,omitempty"` }
TaobaoXhotelBnbhouseAddAPIResponseModel is 民宿门店信息添加 成功返回结果
type TaobaoXhotelBnbhouseDeleteAPIRequest ¶ added in v1.2.5
type TaobaoXhotelBnbhouseDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelBnbhouseDeleteAPIRequest 民宿门店删除接口 API请求 taobao.xhotel.bnbhouse.delete
支持门店相关的门店删除,删除门店会级联删除门店下面的房源
func NewTaobaoXhotelBnbhouseDeleteRequest ¶ added in v1.2.5
func NewTaobaoXhotelBnbhouseDeleteRequest() *TaobaoXhotelBnbhouseDeleteAPIRequest
NewTaobaoXhotelBnbhouseDeleteRequest 初始化TaobaoXhotelBnbhouseDeleteAPIRequest对象
func (TaobaoXhotelBnbhouseDeleteAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoXhotelBnbhouseDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelBnbhouseDeleteAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoXhotelBnbhouseDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelBnbhouseDeleteAPIRequest) GetHid ¶ added in v1.2.5
func (r TaobaoXhotelBnbhouseDeleteAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoXhotelBnbhouseDeleteAPIRequest) GetOuterId ¶ added in v1.2.5
func (r TaobaoXhotelBnbhouseDeleteAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoXhotelBnbhouseDeleteAPIRequest) GetVendor ¶ added in v1.2.5
func (r TaobaoXhotelBnbhouseDeleteAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelBnbhouseDeleteAPIRequest) SetHid ¶ added in v1.2.5
func (r *TaobaoXhotelBnbhouseDeleteAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 门店Id,传参方式为hid或outer_id+vendor
func (*TaobaoXhotelBnbhouseDeleteAPIRequest) SetOuterId ¶ added in v1.2.5
func (r *TaobaoXhotelBnbhouseDeleteAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 门店Id,系统商outer_id
func (*TaobaoXhotelBnbhouseDeleteAPIRequest) SetVendor ¶ added in v1.2.5
func (r *TaobaoXhotelBnbhouseDeleteAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用
type TaobaoXhotelBnbhouseDeleteAPIResponse ¶ added in v1.2.5
type TaobaoXhotelBnbhouseDeleteAPIResponse struct { model.CommonResponse TaobaoXhotelBnbhouseDeleteAPIResponseModel }
TaobaoXhotelBnbhouseDeleteAPIResponse 民宿门店删除接口 API返回值 taobao.xhotel.bnbhouse.delete
支持门店相关的门店删除,删除门店会级联删除门店下面的房源
type TaobaoXhotelBnbhouseDeleteAPIResponseModel ¶ added in v1.2.5
type TaobaoXhotelBnbhouseDeleteAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_bnbhouse_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否出错 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 是否出错 Error bool `json:"error,omitempty" xml:"error,omitempty"` }
TaobaoXhotelBnbhouseDeleteAPIResponseModel is 民宿门店删除接口 成功返回结果
type TaobaoXhotelBnbownerAddAPIRequest ¶
type TaobaoXhotelBnbownerAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelBnbownerAddAPIRequest 民宿房东信息添加 API请求 taobao.xhotel.bnbowner.add
添加和更新民宿房东的信息
func NewTaobaoXhotelBnbownerAddRequest ¶
func NewTaobaoXhotelBnbownerAddRequest() *TaobaoXhotelBnbownerAddAPIRequest
NewTaobaoXhotelBnbownerAddRequest 初始化TaobaoXhotelBnbownerAddAPIRequest对象
func (TaobaoXhotelBnbownerAddAPIRequest) GetAddOwnerParam ¶
func (r TaobaoXhotelBnbownerAddAPIRequest) GetAddOwnerParam() *AddOwnerParam
GetAddOwnerParam AddOwnerParam Getter
func (TaobaoXhotelBnbownerAddAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelBnbownerAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelBnbownerAddAPIRequest) GetApiParams ¶
func (r TaobaoXhotelBnbownerAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (*TaobaoXhotelBnbownerAddAPIRequest) SetAddOwnerParam ¶
func (r *TaobaoXhotelBnbownerAddAPIRequest) SetAddOwnerParam(_addOwnerParam *AddOwnerParam) error
SetAddOwnerParam is AddOwnerParam Setter 添加房东信息的对象
type TaobaoXhotelBnbownerAddAPIResponse ¶
type TaobaoXhotelBnbownerAddAPIResponse struct { model.CommonResponse TaobaoXhotelBnbownerAddAPIResponseModel }
TaobaoXhotelBnbownerAddAPIResponse 民宿房东信息添加 API返回值 taobao.xhotel.bnbowner.add
添加和更新民宿房东的信息
type TaobaoXhotelBnbownerAddAPIResponseModel ¶
type TaobaoXhotelBnbownerAddAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_bnbowner_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询结果集 Result *TaobaoXhotelBnbownerAddResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelBnbownerAddAPIResponseModel is 民宿房东信息添加 成功返回结果
type TaobaoXhotelBnbownerAddResultSet ¶
type TaobaoXhotelBnbownerAddResultSet struct { // firstResult FirstResult *AddOwnerParam `json:"first_result,omitempty" xml:"first_result,omitempty"` }
TaobaoXhotelBnbownerAddResultSet 结构体
type TaobaoXhotelBnbownerDeleteAPIRequest ¶ added in v1.2.5
type TaobaoXhotelBnbownerDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelBnbownerDeleteAPIRequest 民宿房东删除接口 API请求 taobao.xhotel.bnbowner.delete
民宿房东删除接口,删除房东后,对应的门店及房源会同步删除,请谨慎使用
func NewTaobaoXhotelBnbownerDeleteRequest ¶ added in v1.2.5
func NewTaobaoXhotelBnbownerDeleteRequest() *TaobaoXhotelBnbownerDeleteAPIRequest
NewTaobaoXhotelBnbownerDeleteRequest 初始化TaobaoXhotelBnbownerDeleteAPIRequest对象
func (TaobaoXhotelBnbownerDeleteAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoXhotelBnbownerDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelBnbownerDeleteAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoXhotelBnbownerDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelBnbownerDeleteAPIRequest) GetOuterId ¶ added in v1.2.5
func (r TaobaoXhotelBnbownerDeleteAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoXhotelBnbownerDeleteAPIRequest) GetVendor ¶ added in v1.2.5
func (r TaobaoXhotelBnbownerDeleteAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelBnbownerDeleteAPIRequest) SetOuterId ¶ added in v1.2.5
func (r *TaobaoXhotelBnbownerDeleteAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 房东Id,系统商outer_id
func (*TaobaoXhotelBnbownerDeleteAPIRequest) SetVendor ¶ added in v1.2.5
func (r *TaobaoXhotelBnbownerDeleteAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用,默认taobao
type TaobaoXhotelBnbownerDeleteAPIResponse ¶ added in v1.2.5
type TaobaoXhotelBnbownerDeleteAPIResponse struct { model.CommonResponse TaobaoXhotelBnbownerDeleteAPIResponseModel }
TaobaoXhotelBnbownerDeleteAPIResponse 民宿房东删除接口 API返回值 taobao.xhotel.bnbowner.delete
民宿房东删除接口,删除房东后,对应的门店及房源会同步删除,请谨慎使用
type TaobaoXhotelBnbownerDeleteAPIResponseModel ¶ added in v1.2.5
type TaobaoXhotelBnbownerDeleteAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_bnbowner_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询结果集 Result *TaobaoXhotelBnbownerDeleteResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelBnbownerDeleteAPIResponseModel is 民宿房东删除接口 成功返回结果
type TaobaoXhotelBnbownerDeleteResultSet ¶ added in v1.2.5
type TaobaoXhotelBnbownerDeleteResultSet struct { // 系统自动生成 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 系统自动生成 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 是否出错 Error bool `json:"error,omitempty" xml:"error,omitempty"` }
TaobaoXhotelBnbownerDeleteResultSet 结构体
type TaobaoXhotelBnbpromoAddAPIRequest ¶ added in v1.2.5
type TaobaoXhotelBnbpromoAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelBnbpromoAddAPIRequest 自促活动申请接口 API请求 taobao.xhotel.bnbpromo.add
自促活动申请接口
func NewTaobaoXhotelBnbpromoAddRequest ¶ added in v1.2.5
func NewTaobaoXhotelBnbpromoAddRequest() *TaobaoXhotelBnbpromoAddAPIRequest
NewTaobaoXhotelBnbpromoAddRequest 初始化TaobaoXhotelBnbpromoAddAPIRequest对象
func (TaobaoXhotelBnbpromoAddAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoXhotelBnbpromoAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelBnbpromoAddAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoXhotelBnbpromoAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelBnbpromoAddAPIRequest) GetPromoInfo ¶ added in v1.2.5
func (r TaobaoXhotelBnbpromoAddAPIRequest) GetPromoInfo() *PromoInfo
GetPromoInfo PromoInfo Getter
func (*TaobaoXhotelBnbpromoAddAPIRequest) SetPromoInfo ¶ added in v1.2.5
func (r *TaobaoXhotelBnbpromoAddAPIRequest) SetPromoInfo(_promoInfo *PromoInfo) error
SetPromoInfo is PromoInfo Setter 营销类型
type TaobaoXhotelBnbpromoAddAPIResponse ¶ added in v1.2.5
type TaobaoXhotelBnbpromoAddAPIResponse struct { model.CommonResponse TaobaoXhotelBnbpromoAddAPIResponseModel }
TaobaoXhotelBnbpromoAddAPIResponse 自促活动申请接口 API返回值 taobao.xhotel.bnbpromo.add
自促活动申请接口
type TaobaoXhotelBnbpromoAddAPIResponseModel ¶ added in v1.2.5
type TaobaoXhotelBnbpromoAddAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_bnbpromo_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 营销添加返回对象 Module *PromoCode `json:"module,omitempty" xml:"module,omitempty"` }
TaobaoXhotelBnbpromoAddAPIResponseModel is 自促活动申请接口 成功返回结果
type TaobaoXhotelBnbpromoBindAPIRequest ¶ added in v1.2.5
type TaobaoXhotelBnbpromoBindAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelBnbpromoBindAPIRequest 自促活动绑定接口 API请求 taobao.xhotel.bnbpromo.bind
自促活动绑定接口
func NewTaobaoXhotelBnbpromoBindRequest ¶ added in v1.2.5
func NewTaobaoXhotelBnbpromoBindRequest() *TaobaoXhotelBnbpromoBindAPIRequest
NewTaobaoXhotelBnbpromoBindRequest 初始化TaobaoXhotelBnbpromoBindAPIRequest对象
func (TaobaoXhotelBnbpromoBindAPIRequest) GetActivityCode ¶ added in v1.2.5
func (r TaobaoXhotelBnbpromoBindAPIRequest) GetActivityCode() string
GetActivityCode ActivityCode Getter
func (TaobaoXhotelBnbpromoBindAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoXhotelBnbpromoBindAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelBnbpromoBindAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoXhotelBnbpromoBindAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelBnbpromoBindAPIRequest) GetRateInfos ¶ added in v1.2.5
func (r TaobaoXhotelBnbpromoBindAPIRequest) GetRateInfos() *PromoRateInfo
GetRateInfos RateInfos Getter
func (*TaobaoXhotelBnbpromoBindAPIRequest) SetActivityCode ¶ added in v1.2.5
func (r *TaobaoXhotelBnbpromoBindAPIRequest) SetActivityCode(_activityCode string) error
SetActivityCode is ActivityCode Setter 营销活动code
func (*TaobaoXhotelBnbpromoBindAPIRequest) SetRateInfos ¶ added in v1.2.5
func (r *TaobaoXhotelBnbpromoBindAPIRequest) SetRateInfos(_rateInfos *PromoRateInfo) error
SetRateInfos is RateInfos Setter 外部价格信息
type TaobaoXhotelBnbpromoBindAPIResponse ¶ added in v1.2.5
type TaobaoXhotelBnbpromoBindAPIResponse struct { model.CommonResponse TaobaoXhotelBnbpromoBindAPIResponseModel }
TaobaoXhotelBnbpromoBindAPIResponse 自促活动绑定接口 API返回值 taobao.xhotel.bnbpromo.bind
自促活动绑定接口
type TaobaoXhotelBnbpromoBindAPIResponseModel ¶ added in v1.2.5
type TaobaoXhotelBnbpromoBindAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_bnbpromo_bind_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 营销绑定返回对象 Module *PromoBindResult `json:"module,omitempty" xml:"module,omitempty"` }
TaobaoXhotelBnbpromoBindAPIResponseModel is 自促活动绑定接口 成功返回结果
type TaobaoXhotelBnbpromoDeleteAPIRequest ¶ added in v1.2.5
type TaobaoXhotelBnbpromoDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelBnbpromoDeleteAPIRequest 民宿卖家活动删除 API请求 taobao.xhotel.bnbpromo.delete
民宿删除营销活动
func NewTaobaoXhotelBnbpromoDeleteRequest ¶ added in v1.2.5
func NewTaobaoXhotelBnbpromoDeleteRequest() *TaobaoXhotelBnbpromoDeleteAPIRequest
NewTaobaoXhotelBnbpromoDeleteRequest 初始化TaobaoXhotelBnbpromoDeleteAPIRequest对象
func (TaobaoXhotelBnbpromoDeleteAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoXhotelBnbpromoDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelBnbpromoDeleteAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoXhotelBnbpromoDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelBnbpromoDeleteAPIRequest) GetOuterActivityCode ¶ added in v1.2.5
func (r TaobaoXhotelBnbpromoDeleteAPIRequest) GetOuterActivityCode() string
GetOuterActivityCode OuterActivityCode Getter
func (*TaobaoXhotelBnbpromoDeleteAPIRequest) SetOuterActivityCode ¶ added in v1.2.5
func (r *TaobaoXhotelBnbpromoDeleteAPIRequest) SetOuterActivityCode(_outerActivityCode string) error
SetOuterActivityCode is OuterActivityCode Setter 外部活动code
type TaobaoXhotelBnbpromoDeleteAPIResponse ¶ added in v1.2.5
type TaobaoXhotelBnbpromoDeleteAPIResponse struct { model.CommonResponse TaobaoXhotelBnbpromoDeleteAPIResponseModel }
TaobaoXhotelBnbpromoDeleteAPIResponse 民宿卖家活动删除 API返回值 taobao.xhotel.bnbpromo.delete
民宿删除营销活动
type TaobaoXhotelBnbpromoDeleteAPIResponseModel ¶ added in v1.2.5
type TaobaoXhotelBnbpromoDeleteAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_bnbpromo_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询结果集 Result *TaobaoXhotelBnbpromoDeleteResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelBnbpromoDeleteAPIResponseModel is 民宿卖家活动删除 成功返回结果
type TaobaoXhotelBnbpromoDeleteResultSet ¶ added in v1.2.5
type TaobaoXhotelBnbpromoDeleteResultSet struct { // 错误code ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误码 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoXhotelBnbpromoDeleteResultSet 结构体
type TaobaoXhotelBnbpromoGetAPIRequest ¶ added in v1.2.5
type TaobaoXhotelBnbpromoGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelBnbpromoGetAPIRequest 民宿查询营销活动 API请求 taobao.xhotel.bnbpromo.get
民宿查询营销活动
func NewTaobaoXhotelBnbpromoGetRequest ¶ added in v1.2.5
func NewTaobaoXhotelBnbpromoGetRequest() *TaobaoXhotelBnbpromoGetAPIRequest
NewTaobaoXhotelBnbpromoGetRequest 初始化TaobaoXhotelBnbpromoGetAPIRequest对象
func (TaobaoXhotelBnbpromoGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoXhotelBnbpromoGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelBnbpromoGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoXhotelBnbpromoGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelBnbpromoGetAPIRequest) GetOuterActivityCode ¶ added in v1.2.5
func (r TaobaoXhotelBnbpromoGetAPIRequest) GetOuterActivityCode() string
GetOuterActivityCode OuterActivityCode Getter
func (*TaobaoXhotelBnbpromoGetAPIRequest) SetOuterActivityCode ¶ added in v1.2.5
func (r *TaobaoXhotelBnbpromoGetAPIRequest) SetOuterActivityCode(_outerActivityCode string) error
SetOuterActivityCode is OuterActivityCode Setter 外部活动code
type TaobaoXhotelBnbpromoGetAPIResponse ¶ added in v1.2.5
type TaobaoXhotelBnbpromoGetAPIResponse struct { model.CommonResponse TaobaoXhotelBnbpromoGetAPIResponseModel }
TaobaoXhotelBnbpromoGetAPIResponse 民宿查询营销活动 API返回值 taobao.xhotel.bnbpromo.get
民宿查询营销活动
type TaobaoXhotelBnbpromoGetAPIResponseModel ¶ added in v1.2.5
type TaobaoXhotelBnbpromoGetAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_bnbpromo_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询结果集 Result *TaobaoXhotelBnbpromoGetResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelBnbpromoGetAPIResponseModel is 民宿查询营销活动 成功返回结果
type TaobaoXhotelBnbpromoGetResultSet ¶ added in v1.2.5
type TaobaoXhotelBnbpromoGetResultSet struct { // 错误code ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误码 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 民宿活动信息 BnbPromo *BnbPromoDto `json:"bnb_promo,omitempty" xml:"bnb_promo,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoXhotelBnbpromoGetResultSet 结构体
type TaobaoXhotelBnbpromoUnbindAPIRequest ¶ added in v1.2.5
type TaobaoXhotelBnbpromoUnbindAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelBnbpromoUnbindAPIRequest 自促活动解绑接口 API请求 taobao.xhotel.bnbpromo.unbind
自促活动解绑接口
func NewTaobaoXhotelBnbpromoUnbindRequest ¶ added in v1.2.5
func NewTaobaoXhotelBnbpromoUnbindRequest() *TaobaoXhotelBnbpromoUnbindAPIRequest
NewTaobaoXhotelBnbpromoUnbindRequest 初始化TaobaoXhotelBnbpromoUnbindAPIRequest对象
func (TaobaoXhotelBnbpromoUnbindAPIRequest) GetActivityCode ¶ added in v1.2.5
func (r TaobaoXhotelBnbpromoUnbindAPIRequest) GetActivityCode() string
GetActivityCode ActivityCode Getter
func (TaobaoXhotelBnbpromoUnbindAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoXhotelBnbpromoUnbindAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelBnbpromoUnbindAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoXhotelBnbpromoUnbindAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelBnbpromoUnbindAPIRequest) GetRateInfos ¶ added in v1.2.5
func (r TaobaoXhotelBnbpromoUnbindAPIRequest) GetRateInfos() *PromoRateInfo
GetRateInfos RateInfos Getter
func (*TaobaoXhotelBnbpromoUnbindAPIRequest) SetActivityCode ¶ added in v1.2.5
func (r *TaobaoXhotelBnbpromoUnbindAPIRequest) SetActivityCode(_activityCode string) error
SetActivityCode is ActivityCode Setter 营销活动code
func (*TaobaoXhotelBnbpromoUnbindAPIRequest) SetRateInfos ¶ added in v1.2.5
func (r *TaobaoXhotelBnbpromoUnbindAPIRequest) SetRateInfos(_rateInfos *PromoRateInfo) error
SetRateInfos is RateInfos Setter 营销
type TaobaoXhotelBnbpromoUnbindAPIResponse ¶ added in v1.2.5
type TaobaoXhotelBnbpromoUnbindAPIResponse struct { model.CommonResponse TaobaoXhotelBnbpromoUnbindAPIResponseModel }
TaobaoXhotelBnbpromoUnbindAPIResponse 自促活动解绑接口 API返回值 taobao.xhotel.bnbpromo.unbind
自促活动解绑接口
type TaobaoXhotelBnbpromoUnbindAPIResponseModel ¶ added in v1.2.5
type TaobaoXhotelBnbpromoUnbindAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_bnbpromo_unbind_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 营销解绑返回对象 Module *PromoBindResult `json:"module,omitempty" xml:"module,omitempty"` }
TaobaoXhotelBnbpromoUnbindAPIResponseModel is 自促活动解绑接口 成功返回结果
type TaobaoXhotelBnbroomtypeAddAPIRequest ¶
type TaobaoXhotelBnbroomtypeAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelBnbroomtypeAddAPIRequest 民宿新增房源 API请求 taobao.xhotel.bnbroomtype.add
添加民宿房源
func NewTaobaoXhotelBnbroomtypeAddRequest ¶
func NewTaobaoXhotelBnbroomtypeAddRequest() *TaobaoXhotelBnbroomtypeAddAPIRequest
NewTaobaoXhotelBnbroomtypeAddRequest 初始化TaobaoXhotelBnbroomtypeAddAPIRequest对象
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetActivitiesAllowed ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetActivitiesAllowed() string
GetActivitiesAllowed ActivitiesAllowed Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetApiParams ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetBedInfo ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetBedInfo() string
GetBedInfo BedInfo Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetBnbBookingTime ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetBnbBookingTime() *BnbBookingTimeDto
GetBnbBookingTime BnbBookingTime Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetBnbName ¶ added in v1.2.5
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetBnbName() []string
GetBnbName BnbName Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetBrand ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetBrand() string
GetBrand Brand Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetBrightspot ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetBrightspot() string
GetBrightspot Brightspot Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetCharge ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetCharge() *BnbChargeDto
GetCharge Charge Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetCheckInNotes ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetCheckInNotes() string
GetCheckInNotes CheckInNotes Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetCleaningCharge ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetCleaningCharge() int64
GetCleaningCharge CleaningCharge Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetCleaningFrequency ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetCleaningFrequency() int64
GetCleaningFrequency CleaningFrequency Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetCleaningType ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetCleaningType() int64
GetCleaningType CleaningType Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetDecorateLevel ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetDecorateLevel() int64
GetDecorateLevel DecorateLevel Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetDecorateStyle ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetDecorateStyle() int64
GetDecorateStyle DecorateStyle Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetDecorateTime ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetDecorateTime() string
GetDecorateTime DecorateTime Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetDepositAmount ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetDepositAmount() int64
GetDepositAmount DepositAmount Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetDepositType ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetDepositType() int64
GetDepositType DepositType Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetExtraBedsFee ¶ added in v1.2.5
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetExtraBedsFee() int64
GetExtraBedsFee ExtraBedsFee Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetExtraBedsNum ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetExtraBedsNum() int64
GetExtraBedsNum ExtraBedsNum Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetExtraCleaningCharge ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetExtraCleaningCharge() int64
GetExtraCleaningCharge ExtraCleaningCharge Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetExtraFee ¶ added in v1.2.5
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetExtraFee() string
GetExtraFee ExtraFee Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetFloor ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetFloor() string
GetFloor Floor Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetGuestAge ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetGuestAge() int64
GetGuestAge GuestAge Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetGuestGender ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetGuestGender() int64
GetGuestGender GuestGender Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetHasFrontDesk ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetHasFrontDesk() int64
GetHasFrontDesk HasFrontDesk Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetHasLandlord ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetHasLandlord() int64
GetHasLandlord HasLandlord Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetHasLicense ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetHasLicense() int64
GetHasLicense HasLicense Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetHouseModel ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetHouseModel() string
GetHouseModel HouseModel Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetHouseSize ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetHouseSize() int64
GetHouseSize HouseSize Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetIntroduction ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetIntroduction() string
GetIntroduction Introduction Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetInvoice ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetInvoice() int64
GetInvoice Invoice Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetInvoiceType ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetInvoiceType() int64
GetInvoiceType InvoiceType Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetIsUseShootImage ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetIsUseShootImage() int64
GetIsUseShootImage IsUseShootImage Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetLocalInfo ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetLocalInfo() string
GetLocalInfo LocalInfo Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetLocation ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetLocation() *BnbLocationDto
GetLocation Location Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetMaxOccupancy ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetMaxOccupancy() int64
GetMaxOccupancy MaxOccupancy Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetName ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetName() []string
GetName Name Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetNameE ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetNameE() string
GetNameE NameE Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetNewOuterId ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetNewOuterId() string
GetNewOuterId NewOuterId Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetOpeningTime ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetOpeningTime() string
GetOpeningTime OpeningTime Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetOutHid ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetOuterId ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetOuterTags ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetOuterTags() string
GetOuterTags OuterTags Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetPics ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetPics() []BnbPictureDto
GetPics Pics Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetProductType ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetProductType() int64
GetProductType ProductType Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetQuickOrder ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetQuickOrder() int64
GetQuickOrder QuickOrder Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetRealTel ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetRealTel() string
GetRealTel RealTel Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetReceiveForeigners ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetReceiveForeigners() int64
GetReceiveForeigners ReceiveForeigners Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetRentSize ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetRentSize() int64
GetRentSize RentSize Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetRentType ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetRentType() int64
GetRentType RentType Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetScenicFeature ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetScenicFeature() int64
GetScenicFeature ScenicFeature Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetService ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetService() string
GetService Service Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetSettlementCurrency ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetSettlementCurrency() string
GetSettlementCurrency SettlementCurrency Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetSrid ¶ added in v1.2.5
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetSrid() int64
GetSrid Srid Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetStandardRoomFacilities ¶ added in v1.2.5
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetStandardRoomFacilities() string
GetStandardRoomFacilities StandardRoomFacilities Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetStatus ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetStatus() *model.File
GetStatus Status Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetSupportIm ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetSupportIm() int64
GetSupportIm SupportIm Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetSupportcredit ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetSupportcredit() int64
GetSupportcredit Supportcredit Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetSurroundInfo ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetSurroundInfo() string
GetSurroundInfo SurroundInfo Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetTel ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetTel() string
GetTel Tel Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetVendor ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetVideoUrl ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetVideoUrl() string
GetVideoUrl VideoUrl Getter
func (TaobaoXhotelBnbroomtypeAddAPIRequest) GetWindowType ¶
func (r TaobaoXhotelBnbroomtypeAddAPIRequest) GetWindowType() int64
GetWindowType WindowType Getter
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetActivitiesAllowed ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetActivitiesAllowed(_activitiesAllowed string) error
SetActivitiesAllowed is ActivitiesAllowed Setter 详见“允许活动”:https://fliggy.open.taobao.com/doc.htm?docId=120148&docType=1 ,最多500字符
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetBedInfo ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetBedInfo(_bedInfo string) error
SetBedInfo is BedInfo Setter 床信息: bedType:床型, desc: 床型名, width:床宽, length:床长, bedNum: 床数。床型取值见链接https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.4zBOVn&docType=1&articleId=108347
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetBnbBookingTime ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetBnbBookingTime(_bnbBookingTime *BnbBookingTimeDto) error
SetBnbBookingTime is BnbBookingTime Setter 民宿入住要求&附加信息
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetBnbName ¶ added in v1.2.5
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetBnbName(_bnbName []string) error
SetBnbName is BnbName Setter 民宿名称,默认取bnbName
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetBrand ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetBrand(_brand string) error
SetBrand is Brand Setter 品牌名称,最多100字符
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetBrightspot ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetBrightspot(_brightspot string) error
SetBrightspot is Brightspot Setter 亮点描述,最多1000字符
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetCharge ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetCharge(_charge *BnbChargeDto) error
SetCharge is Charge Setter 加人收费信息
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetCheckInNotes ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetCheckInNotes(_checkInNotes string) error
SetCheckInNotes is CheckInNotes Setter 入住须知,最多2000字符
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetCleaningCharge ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetCleaningCharge(_cleaningCharge int64) error
SetCleaningCharge is CleaningCharge Setter 清洁费是否收取 0:否 1:是
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetCleaningFrequency ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetCleaningFrequency(_cleaningFrequency int64) error
SetCleaningFrequency is CleaningFrequency Setter “打扫类型1(1客1扫/换),2(1天1扫/换),https://fliggy.open.taobao.com/doc.htm?docId=120148&docType=1
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetCleaningType ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetCleaningType(_cleaningType int64) error
SetCleaningType is CleaningType Setter 清洁费类型 0.线下;1.线上
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetDecorateLevel ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetDecorateLevel(_decorateLevel int64) error
SetDecorateLevel is DecorateLevel Setter 装修等级 1 精装;2普通;3简装
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetDecorateStyle ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetDecorateStyle(_decorateStyle int64) error
SetDecorateStyle is DecorateStyle Setter 装修风格https://fliggy.open.taobao.com/doc.htm?docId=120148&docType=1
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetDecorateTime ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetDecorateTime(_decorateTime string) error
SetDecorateTime is DecorateTime Setter 装修时间,格式为2015-01-01装修时间
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetDepositAmount ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetDepositAmount(_depositAmount int64) error
SetDepositAmount is DepositAmount Setter 押金金额
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetDepositType ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetDepositType(_depositType int64) error
SetDepositType is DepositType Setter 押金类型0.线下;1.线上
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetExtraBedsFee ¶ added in v1.2.5
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetExtraBedsFee(_extraBedsFee int64) error
SetExtraBedsFee is ExtraBedsFee Setter 加床费,分为单位
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetExtraBedsNum ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetExtraBedsNum(_extraBedsNum int64) error
SetExtraBedsNum is ExtraBedsNum Setter 0-n;若不可加床,值为0
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetExtraCleaningCharge ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetExtraCleaningCharge(_extraCleaningCharge int64) error
SetExtraCleaningCharge is ExtraCleaningCharge Setter 清洁费金额;整数[1,9999999]
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetExtraFee ¶ added in v1.2.5
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetExtraFee(_extraFee string) error
SetExtraFee is ExtraFee Setter 额外收费
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetFloor ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetFloor(_floor string) error
SetFloor is Floor Setter 客房在建筑的第几层,隔层为1-2层,4-5层,7-8层
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetGuestAge ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetGuestAge(_guestAge int64) error
SetGuestAge is GuestAge Setter 是否接待儿童、老人;成年人必接待,详见“可接待客人”https://fliggy.open.taobao.com/doc.htm?docId=120148&docType=1
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetGuestGender ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetGuestGender(_guestGender int64) error
SetGuestGender is GuestGender Setter 0:不限制,1:只限男性,2:只限女性'
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetHasFrontDesk ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetHasFrontDesk(_hasFrontDesk int64) error
SetHasFrontDesk is HasFrontDesk Setter 是否有前台 0没有 1有
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetHasLandlord ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetHasLandlord(_hasLandlord int64) error
SetHasLandlord is HasLandlord Setter 是否与房东同住 0 不同住 1同住
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetHasLicense ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetHasLicense(_hasLicense int64) error
SetHasLicense is HasLicense Setter 有无资质执照 0 没有 1有
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetHouseModel ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetHouseModel(_houseModel string) error
SetHouseModel is HouseModel Setter 房屋户型, bedroom: 室, bathroom: 卫, livingroom: 厅, study: 书房, balcony: 阳台,kitchen: 厨房,bedroom和livingroom不能为空
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetHouseSize ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetHouseSize(_houseSize int64) error
SetHouseSize is HouseSize Setter 单间面积,单位平方米
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetIntroduction ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetIntroduction(_introduction string) error
SetIntroduction is Introduction Setter 房源介绍,最多2000字符
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetInvoice ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetInvoice(_invoice int64) error
SetInvoice is Invoice Setter 发票,0:卖家提供发票,1:房东提供发票
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetInvoiceType ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetInvoiceType(_invoiceType int64) error
SetInvoiceType is InvoiceType Setter 可提供发票类型,1.专票 2.纸质普票 3.电子普票
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetIsUseShootImage ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetIsUseShootImage(_isUseShootImage int64) error
SetIsUseShootImage is IsUseShootImage Setter 是否使用实拍图片 0不使用 1使用
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetLocalInfo ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetLocalInfo(_localInfo string) error
SetLocalInfo is LocalInfo Setter 位置描述
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetLocation ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetLocation(_location *BnbLocationDto) error
SetLocation is Location Setter 民宿房源位置信息
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetMaxOccupancy ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetMaxOccupancy(_maxOccupancy int64) error
SetMaxOccupancy is MaxOccupancy Setter 最大入住人数 1-99
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetName ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetName(_name []string) error
SetName is Name Setter 房源名
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetNameE ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetNameE(_nameE string) error
SetNameE is NameE Setter 房源英文名
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetNewOuterId ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetNewOuterId(_newOuterId string) error
SetNewOuterId is NewOuterId Setter 如果要变更商品房源编码请使用该字段。
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetOpeningTime ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetOpeningTime(_openingTime string) error
SetOpeningTime is OpeningTime Setter 开业时间,格式为2015-01-01
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetOutHid ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 外部门店id
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetOuterId ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 房源id, 这是卖家自己系统中的ID
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetOuterTags ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetOuterTags(_outerTags string) error
SetOuterTags is OuterTags Setter 房源外部标签 标签信息,逗号(,)分隔,最多1000字符
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetPics ¶
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 ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetProductType(_productType int64) error
SetProductType is ProductType Setter 房源类型,见https://fliggy.open.taobao.com/doc.htm?docId=120148&docType=1
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetQuickOrder ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetQuickOrder(_quickOrder int64) error
SetQuickOrder is QuickOrder Setter 是否开启闪订 0不开启 1开启
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetRealTel ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetRealTel(_realTel string) error
SetRealTel is RealTel Setter 真实联系方式
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetReceiveForeigners ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetReceiveForeigners(_receiveForeigners int64) error
SetReceiveForeigners is ReceiveForeigners Setter 是否可接待外宾 0:否 1:是;默认值: 0
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetRentSize ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetRentSize(_rentSize int64) error
SetRentSize is RentSize Setter 单间面积,单位平方米
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetRentType ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetRentType(_rentType int64) error
SetRentType is RentType Setter 出租类型,1整租;2分租。3床位 默认整租,该字段不能更新
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetScenicFeature ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetScenicFeature(_scenicFeature int64) error
SetScenicFeature is ScenicFeature Setter 风景类型(枚举)https://fliggy.open.taobao.com/doc.htm?docId=120148&docType=1
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetService ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetService(_service string) error
SetService is Service Setter 设施服务。json格式示例值:{"24152":true,"24149":true,"24150":true},key取值参见 https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.vSVPks&docType=1&articleId=108416&previewCode=987A11324A278EF679E24102BA30D426 中type=40的分类
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetSettlementCurrency ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetSettlementCurrency(_settlementCurrency string) error
SetSettlementCurrency is SettlementCurrency Setter 结算过程中的结算币种符合,如需对接请联系飞猪技术支持,请谨慎使用
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetSrid ¶ added in v1.2.5
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetSrid(_srid int64) error
SetSrid is Srid Setter 添加标准房源匹配
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetStandardRoomFacilities ¶ added in v1.2.5
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetStandardRoomFacilities(_standardRoomFacilities string) error
SetStandardRoomFacilities is StandardRoomFacilities Setter 标准酒店服务,参考文档https://fliggy.open.taobao.com/doc.htm?docId=120362&docType=1
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetStatus ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetStatus(_status *model.File) error
SetStatus is Status Setter 状态 0:在线 -1:不在线 -2:停售
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetSupportIm ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetSupportIm(_supportIm int64) error
SetSupportIm is SupportIm Setter 是否支持IM聊天 0不支持 1支持
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetSupportcredit ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetSupportcredit(_supportcredit int64) error
SetSupportcredit is Supportcredit Setter 是否信用免押金0:否 1:是
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetSurroundInfo ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetSurroundInfo(_surroundInfo string) error
SetSurroundInfo is SurroundInfo Setter 周边描述
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetTel ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetTel(_tel string) error
SetTel is Tel Setter 酒店电话。格式:国家代码(最长6位)#区号(最长4位)#电话(最长20位)。国家代码提示:中国大陆0086、香港00852、澳门00853、台湾00886
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetVendor ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 销售渠道,默认taobao
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetVideoUrl ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetVideoUrl(_videoUrl string) error
SetVideoUrl is VideoUrl Setter 视频地址,最多1000字符
func (*TaobaoXhotelBnbroomtypeAddAPIRequest) SetWindowType ¶
func (r *TaobaoXhotelBnbroomtypeAddAPIRequest) SetWindowType(_windowType int64) error
SetWindowType is WindowType Setter 0-无窗 1-有窗 2-部分有窗 3-暗窗 4-部分暗窗 5-落地窗
type TaobaoXhotelBnbroomtypeAddAPIResponse ¶
type TaobaoXhotelBnbroomtypeAddAPIResponse struct { model.CommonResponse TaobaoXhotelBnbroomtypeAddAPIResponseModel }
TaobaoXhotelBnbroomtypeAddAPIResponse 民宿新增房源 API返回值 taobao.xhotel.bnbroomtype.add
添加民宿房源
type TaobaoXhotelBnbroomtypeAddAPIResponseModel ¶
type TaobaoXhotelBnbroomtypeAddAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_bnbroomtype_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 房源信息 Xroomtype *XRoomType `json:"xroomtype,omitempty" xml:"xroomtype,omitempty"` }
TaobaoXhotelBnbroomtypeAddAPIResponseModel is 民宿新增房源 成功返回结果
type TaobaoXhotelBnbroomtypeDeleteAPIRequest ¶ added in v1.2.5
type TaobaoXhotelBnbroomtypeDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelBnbroomtypeDeleteAPIRequest 民宿房源删除接口 API请求 taobao.xhotel.bnbroomtype.delete
增加民宿房源删除接口
func NewTaobaoXhotelBnbroomtypeDeleteRequest ¶ added in v1.2.5
func NewTaobaoXhotelBnbroomtypeDeleteRequest() *TaobaoXhotelBnbroomtypeDeleteAPIRequest
NewTaobaoXhotelBnbroomtypeDeleteRequest 初始化TaobaoXhotelBnbroomtypeDeleteAPIRequest对象
func (TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetOuterId ¶ added in v1.2.5
func (r TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetRid ¶ added in v1.2.5
func (r TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetRid() int64
GetRid Rid Getter
func (TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetVendor ¶ added in v1.2.5
func (r TaobaoXhotelBnbroomtypeDeleteAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelBnbroomtypeDeleteAPIRequest) SetOuterId ¶ added in v1.2.5
func (r *TaobaoXhotelBnbroomtypeDeleteAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 房型Id,系统商outer_id
func (*TaobaoXhotelBnbroomtypeDeleteAPIRequest) SetRid ¶ added in v1.2.5
func (r *TaobaoXhotelBnbroomtypeDeleteAPIRequest) SetRid(_rid int64) error
SetRid is Rid Setter 房型Id,传参方式为rid或outer_id+vendor
func (*TaobaoXhotelBnbroomtypeDeleteAPIRequest) SetVendor ¶ added in v1.2.5
func (r *TaobaoXhotelBnbroomtypeDeleteAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用
type TaobaoXhotelBnbroomtypeDeleteAPIResponse ¶ added in v1.2.5
type TaobaoXhotelBnbroomtypeDeleteAPIResponse struct { model.CommonResponse TaobaoXhotelBnbroomtypeDeleteAPIResponseModel }
TaobaoXhotelBnbroomtypeDeleteAPIResponse 民宿房源删除接口 API返回值 taobao.xhotel.bnbroomtype.delete
增加民宿房源删除接口
type TaobaoXhotelBnbroomtypeDeleteAPIResponseModel ¶ added in v1.2.5
type TaobaoXhotelBnbroomtypeDeleteAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_bnbroomtype_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 是否出错 Error bool `json:"error,omitempty" xml:"error,omitempty"` }
TaobaoXhotelBnbroomtypeDeleteAPIResponseModel is 民宿房源删除接口 成功返回结果
type TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest ¶
type TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest 下载飞猪国际城市结果 API请求 taobao.xhotel.city.coordinates.batch.download
给国际酒店供应商提供计算对应飞猪城市的服务,免去城市名称匹配流程,加快对接流程
func NewTaobaoXhotelCityCoordinatesBatchDownloadRequest ¶
func NewTaobaoXhotelCityCoordinatesBatchDownloadRequest() *TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest
NewTaobaoXhotelCityCoordinatesBatchDownloadRequest 初始化TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest对象
func (TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest) GetApiParams ¶
func (r TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest) GetBatchId ¶
func (r TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest) GetBatchId() int64
GetBatchId BatchId Getter
func (*TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest) SetBatchId ¶
func (r *TaobaoXhotelCityCoordinatesBatchDownloadAPIRequest) SetBatchId(_batchId int64) error
SetBatchId is BatchId Setter 上传的经纬度批次号
type TaobaoXhotelCityCoordinatesBatchDownloadAPIResponse ¶
type TaobaoXhotelCityCoordinatesBatchDownloadAPIResponse struct { model.CommonResponse TaobaoXhotelCityCoordinatesBatchDownloadAPIResponseModel }
TaobaoXhotelCityCoordinatesBatchDownloadAPIResponse 下载飞猪国际城市结果 API返回值 taobao.xhotel.city.coordinates.batch.download
给国际酒店供应商提供计算对应飞猪城市的服务,免去城市名称匹配流程,加快对接流程
type TaobaoXhotelCityCoordinatesBatchDownloadAPIResponseModel ¶
type TaobaoXhotelCityCoordinatesBatchDownloadAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_city_coordinates_batch_download_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 经纬度计算结果列表 CoordinateList []Coordinate `json:"coordinate_list,omitempty" xml:"coordinate_list>coordinate,omitempty"` }
TaobaoXhotelCityCoordinatesBatchDownloadAPIResponseModel is 下载飞猪国际城市结果 成功返回结果
type TaobaoXhotelCityCoordinatesBatchUploadAPIRequest ¶
type TaobaoXhotelCityCoordinatesBatchUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelCityCoordinatesBatchUploadAPIRequest 上传信息计算飞猪国际城市 API请求 taobao.xhotel.city.coordinates.batch.upload
给供应商提供计算对应飞猪城市的服务,免去城市名称匹配流程,加快对接流程。目前只适用于国际城市,国内+港澳台暂不支持。 非实时计算接口,每次批量上传不少于1条的数据,后端离线计算,请于30分钟后再下载结果。
func NewTaobaoXhotelCityCoordinatesBatchUploadRequest ¶
func NewTaobaoXhotelCityCoordinatesBatchUploadRequest() *TaobaoXhotelCityCoordinatesBatchUploadAPIRequest
NewTaobaoXhotelCityCoordinatesBatchUploadRequest 初始化TaobaoXhotelCityCoordinatesBatchUploadAPIRequest对象
func (TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) GetApiParams ¶
func (r TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) GetCoordinateList ¶
func (r TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) GetCoordinateList() []Coordinate
GetCoordinateList CoordinateList Getter
func (*TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) SetCoordinateList ¶
func (r *TaobaoXhotelCityCoordinatesBatchUploadAPIRequest) SetCoordinateList(_coordinateList []Coordinate) error
SetCoordinateList is CoordinateList Setter 经纬度列表
type TaobaoXhotelCityCoordinatesBatchUploadAPIResponse ¶
type TaobaoXhotelCityCoordinatesBatchUploadAPIResponse struct { model.CommonResponse TaobaoXhotelCityCoordinatesBatchUploadAPIResponseModel }
TaobaoXhotelCityCoordinatesBatchUploadAPIResponse 上传信息计算飞猪国际城市 API返回值 taobao.xhotel.city.coordinates.batch.upload
给供应商提供计算对应飞猪城市的服务,免去城市名称匹配流程,加快对接流程。目前只适用于国际城市,国内+港澳台暂不支持。 非实时计算接口,每次批量上传不少于1条的数据,后端离线计算,请于30分钟后再下载结果。
type TaobaoXhotelCityCoordinatesBatchUploadAPIResponseModel ¶
type TaobaoXhotelCityCoordinatesBatchUploadAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_city_coordinates_batch_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 上传成功后的批次号 BatchId int64 `json:"batch_id,omitempty" xml:"batch_id,omitempty"` }
TaobaoXhotelCityCoordinatesBatchUploadAPIResponseModel is 上传信息计算飞猪国际城市 成功返回结果
type TaobaoXhotelDeleteAPIRequest ¶
TaobaoXhotelDeleteAPIRequest 删除酒店接口 API请求 taobao.xhotel.delete
删除飞猪酒店数据接口
func NewTaobaoXhotelDeleteRequest ¶
func NewTaobaoXhotelDeleteRequest() *TaobaoXhotelDeleteAPIRequest
NewTaobaoXhotelDeleteRequest 初始化TaobaoXhotelDeleteAPIRequest对象
func (TaobaoXhotelDeleteAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelDeleteAPIRequest) GetApiParams ¶
func (r TaobaoXhotelDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelDeleteAPIRequest) GetHid ¶
func (r TaobaoXhotelDeleteAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoXhotelDeleteAPIRequest) GetOuterId ¶
func (r TaobaoXhotelDeleteAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoXhotelDeleteAPIRequest) GetVendor ¶
func (r TaobaoXhotelDeleteAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelDeleteAPIRequest) SetHid ¶
func (r *TaobaoXhotelDeleteAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 酒店id,传参方式 hid 或者 outer_id+vendor
func (*TaobaoXhotelDeleteAPIRequest) SetOuterId ¶
func (r *TaobaoXhotelDeleteAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 酒店编码
func (*TaobaoXhotelDeleteAPIRequest) SetVendor ¶
func (r *TaobaoXhotelDeleteAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 酒店vendor
type TaobaoXhotelDeleteAPIResponse ¶
type TaobaoXhotelDeleteAPIResponse struct { model.CommonResponse TaobaoXhotelDeleteAPIResponseModel }
TaobaoXhotelDeleteAPIResponse 删除酒店接口 API返回值 taobao.xhotel.delete
删除飞猪酒店数据接口
type TaobaoXhotelDeleteAPIResponseModel ¶
type TaobaoXhotelDeleteAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 删除结果 Result *TaobaoXhotelDeleteResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelDeleteAPIResponseModel is 删除酒店接口 成功返回结果
type TaobaoXhotelDeleteResultSet ¶
type TaobaoXhotelDeleteResultSet struct { // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 是否出错 Error bool `json:"error,omitempty" xml:"error,omitempty"` }
TaobaoXhotelDeleteResultSet 结构体
type TaobaoXhotelEntityConfigAPIRequest ¶
type TaobaoXhotelEntityConfigAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelEntityConfigAPIRequest 飞猪商品各实体通用配置 API请求 taobao.xhotel.entity.config
飞猪商品各实体通用配置服务
func NewTaobaoXhotelEntityConfigRequest ¶
func NewTaobaoXhotelEntityConfigRequest() *TaobaoXhotelEntityConfigAPIRequest
NewTaobaoXhotelEntityConfigRequest 初始化TaobaoXhotelEntityConfigAPIRequest对象
func (TaobaoXhotelEntityConfigAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelEntityConfigAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelEntityConfigAPIRequest) GetApiParams ¶
func (r TaobaoXhotelEntityConfigAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelEntityConfigAPIRequest) GetConfigData ¶
func (r TaobaoXhotelEntityConfigAPIRequest) GetConfigData() string
GetConfigData ConfigData Getter
func (TaobaoXhotelEntityConfigAPIRequest) GetEntityCode ¶
func (r TaobaoXhotelEntityConfigAPIRequest) GetEntityCode() string
GetEntityCode EntityCode Getter
func (TaobaoXhotelEntityConfigAPIRequest) GetEntityId ¶
func (r TaobaoXhotelEntityConfigAPIRequest) GetEntityId() int64
GetEntityId EntityId Getter
func (TaobaoXhotelEntityConfigAPIRequest) GetType ¶
func (r TaobaoXhotelEntityConfigAPIRequest) GetType() int64
GetType Type Getter
func (TaobaoXhotelEntityConfigAPIRequest) GetVendor ¶
func (r TaobaoXhotelEntityConfigAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelEntityConfigAPIRequest) SetConfigData ¶
func (r *TaobaoXhotelEntityConfigAPIRequest) SetConfigData(_configData string) error
SetConfigData is ConfigData Setter 格式为:[{"invoice_status":"1"},{"invoice_has":"1"},{"invoice_canvat":"1"},{"invoice_provider":"2"},{"invoice_channel":"1"},{"invoice_payer":"1"},{"invoice_type":"1,2,3"},{"invoice_desc":"测试发票描叙123"}] key-value形式的配置信息其中invoice_status为发票状态,取值为0(无效),1(有效);invoice_has是否能开发票,1(能),0(不能);invoice_canvat是否能提供增值税专用发票1(能),0(不能);invoice_provider发票提供方1(酒店提供),2(卖家邮寄);invoice_channel开票渠道,目前仅支持1(线下开具);invoice_payer邮费承担方,1(卖家承担),2(买家承担-邮费到付);invoice_type开票类型 1(代订房费),2(旅游费) 3(差旅费) 4(卖家提供Email版收据) 如果多个请以英文逗号隔开,例如1,2,3。invoice_desc发票补充说明,如果没有可以填写无,长度不要超过20字符。该接口是全量更新的形式,每次更新必须要携带这些节点信息,如果想失效掉该rp上的发票信息,那么可以将invoice_status设置为0。
func (*TaobaoXhotelEntityConfigAPIRequest) SetEntityCode ¶
func (r *TaobaoXhotelEntityConfigAPIRequest) SetEntityCode(_entityCode string) error
SetEntityCode is EntityCode Setter 实体编码,例如酒店编码,房价编码
func (*TaobaoXhotelEntityConfigAPIRequest) SetEntityId ¶
func (r *TaobaoXhotelEntityConfigAPIRequest) SetEntityId(_entityId int64) error
SetEntityId is EntityId Setter 实体id,例如酒店id,房型id(飞猪平台的id),rpid等,目前仅支持rpid
func (*TaobaoXhotelEntityConfigAPIRequest) SetType ¶
func (r *TaobaoXhotelEntityConfigAPIRequest) SetType(_type int64) error
SetType is Type Setter 实体类型:1:卖家维度,2:酒店维度,3:房型维度,4:宝贝维度,5:rp维度。请注意目前仅支持类型5
func (*TaobaoXhotelEntityConfigAPIRequest) SetVendor ¶
func (r *TaobaoXhotelEntityConfigAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 默认是taobao。和酒店,房型等实体上的vendor保持一致。
type TaobaoXhotelEntityConfigAPIResponse ¶
type TaobaoXhotelEntityConfigAPIResponse struct { model.CommonResponse TaobaoXhotelEntityConfigAPIResponseModel }
TaobaoXhotelEntityConfigAPIResponse 飞猪商品各实体通用配置 API返回值 taobao.xhotel.entity.config
飞猪商品各实体通用配置服务
type TaobaoXhotelEntityConfigAPIResponseModel ¶
type TaobaoXhotelEntityConfigAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_entity_config_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` }
TaobaoXhotelEntityConfigAPIResponseModel is 飞猪商品各实体通用配置 成功返回结果
type TaobaoXhotelGetAPIRequest ¶
TaobaoXhotelGetAPIRequest 酒店查询接口 API请求 taobao.xhotel.get
酒店查询接口
func NewTaobaoXhotelGetRequest ¶
func NewTaobaoXhotelGetRequest() *TaobaoXhotelGetAPIRequest
NewTaobaoXhotelGetRequest 初始化TaobaoXhotelGetAPIRequest对象
func (TaobaoXhotelGetAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelGetAPIRequest) GetApiParams ¶
func (r TaobaoXhotelGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelGetAPIRequest) GetHid ¶
func (r TaobaoXhotelGetAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoXhotelGetAPIRequest) GetNeedSaleInfo ¶
func (r TaobaoXhotelGetAPIRequest) GetNeedSaleInfo() bool
GetNeedSaleInfo NeedSaleInfo Getter
func (TaobaoXhotelGetAPIRequest) GetOuterId ¶
func (r TaobaoXhotelGetAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoXhotelGetAPIRequest) GetVendor ¶
func (r TaobaoXhotelGetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelGetAPIRequest) SetHid ¶
func (r *TaobaoXhotelGetAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 废弃,请使用outer_id
func (*TaobaoXhotelGetAPIRequest) SetNeedSaleInfo ¶
func (r *TaobaoXhotelGetAPIRequest) SetNeedSaleInfo(_needSaleInfo bool) error
SetNeedSaleInfo is NeedSaleInfo Setter 是否需要在售状态(默认false不需要)
func (*TaobaoXhotelGetAPIRequest) SetOuterId ¶
func (r *TaobaoXhotelGetAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 卖家系统中的酒店ID。
func (*TaobaoXhotelGetAPIRequest) SetVendor ¶
func (r *TaobaoXhotelGetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不用填写,使用须申请
type TaobaoXhotelGetAPIResponse ¶
type TaobaoXhotelGetAPIResponse struct { model.CommonResponse TaobaoXhotelGetAPIResponseModel }
TaobaoXhotelGetAPIResponse 酒店查询接口 API返回值 taobao.xhotel.get
酒店查询接口
type TaobaoXhotelGetAPIResponseModel ¶
type TaobaoXhotelGetAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询得到的hotel Xhotel *FirstResult `json:"xhotel,omitempty" xml:"xhotel,omitempty"` }
TaobaoXhotelGetAPIResponseModel is 酒店查询接口 成功返回结果
type TaobaoXhotelGetEntityByTagAPIRequest ¶
type TaobaoXhotelGetEntityByTagAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelGetEntityByTagAPIRequest 根据标签查询实体 API请求 taobao.xhotel.get.entity.by.tag
根据标签查询实体
func NewTaobaoXhotelGetEntityByTagRequest ¶
func NewTaobaoXhotelGetEntityByTagRequest() *TaobaoXhotelGetEntityByTagAPIRequest
NewTaobaoXhotelGetEntityByTagRequest 初始化TaobaoXhotelGetEntityByTagAPIRequest对象
func (TaobaoXhotelGetEntityByTagAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelGetEntityByTagAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelGetEntityByTagAPIRequest) GetApiParams ¶
func (r TaobaoXhotelGetEntityByTagAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelGetEntityByTagAPIRequest) GetTag ¶
func (r TaobaoXhotelGetEntityByTagAPIRequest) GetTag() int64
GetTag Tag Getter
func (TaobaoXhotelGetEntityByTagAPIRequest) GetTokenStr ¶
func (r TaobaoXhotelGetEntityByTagAPIRequest) GetTokenStr() string
GetTokenStr TokenStr Getter
func (*TaobaoXhotelGetEntityByTagAPIRequest) SetTag ¶
func (r *TaobaoXhotelGetEntityByTagAPIRequest) SetTag(_tag int64) error
SetTag is Tag Setter 标签
func (*TaobaoXhotelGetEntityByTagAPIRequest) SetTokenStr ¶
func (r *TaobaoXhotelGetEntityByTagAPIRequest) SetTokenStr(_tokenStr string) error
SetTokenStr is TokenStr Setter 查询token,�填入上一页查询的返回结果,只能按顺序单线程查询
type TaobaoXhotelGetEntityByTagAPIResponse ¶
type TaobaoXhotelGetEntityByTagAPIResponse struct { model.CommonResponse TaobaoXhotelGetEntityByTagAPIResponseModel }
TaobaoXhotelGetEntityByTagAPIResponse 根据标签查询实体 API返回值 taobao.xhotel.get.entity.by.tag
根据标签查询实体
type TaobaoXhotelGetEntityByTagAPIResponseModel ¶
type TaobaoXhotelGetEntityByTagAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_get_entity_by_tag_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 出参 TagQueryResult *TagQueryResult `json:"tag_query_result,omitempty" xml:"tag_query_result,omitempty"` }
TaobaoXhotelGetEntityByTagAPIResponseModel is 根据标签查询实体 成功返回结果
type TaobaoXhotelHouseAddAPIRequest ¶
type TaobaoXhotelHouseAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelHouseAddAPIRequest 非标准民宿房源添加 API请求 taobao.xhotel.house.add
添加酒店或更新酒店
func NewTaobaoXhotelHouseAddRequest ¶
func NewTaobaoXhotelHouseAddRequest() *TaobaoXhotelHouseAddAPIRequest
NewTaobaoXhotelHouseAddRequest 初始化TaobaoXhotelHouseAddAPIRequest对象
func (TaobaoXhotelHouseAddAPIRequest) GetAddress ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetAddress() string
GetAddress Address Getter
func (TaobaoXhotelHouseAddAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelHouseAddAPIRequest) GetApiParams ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelHouseAddAPIRequest) GetArroundDesc ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetArroundDesc() string
GetArroundDesc ArroundDesc Getter
func (TaobaoXhotelHouseAddAPIRequest) GetBookingNotice ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetBookingNotice() string
GetBookingNotice BookingNotice Getter
func (TaobaoXhotelHouseAddAPIRequest) GetBrand ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetBrand() string
GetBrand Brand Getter
func (TaobaoXhotelHouseAddAPIRequest) GetBusiness ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetBusiness() string
GetBusiness Business Getter
func (TaobaoXhotelHouseAddAPIRequest) GetCity ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetCity() int64
GetCity City Getter
func (TaobaoXhotelHouseAddAPIRequest) GetCountry ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetCountry() string
GetCountry Country Getter
func (TaobaoXhotelHouseAddAPIRequest) GetCreditCardTypes ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetCreditCardTypes() string
GetCreditCardTypes CreditCardTypes Getter
func (TaobaoXhotelHouseAddAPIRequest) GetDecorateTime ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetDecorateTime() string
GetDecorateTime DecorateTime Getter
func (TaobaoXhotelHouseAddAPIRequest) GetDescription ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetDescription() string
GetDescription Description Getter
func (TaobaoXhotelHouseAddAPIRequest) GetDistrict ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetDistrict() int64
GetDistrict District Getter
func (TaobaoXhotelHouseAddAPIRequest) GetDomestic ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetDomestic() int64
GetDomestic Domestic Getter
func (TaobaoXhotelHouseAddAPIRequest) GetExtend ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetExtend() string
GetExtend Extend Getter
func (TaobaoXhotelHouseAddAPIRequest) GetFloors ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetFloors() string
GetFloors Floors Getter
func (TaobaoXhotelHouseAddAPIRequest) GetHotelFacilities ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetHotelFacilities() string
GetHotelFacilities HotelFacilities Getter
func (TaobaoXhotelHouseAddAPIRequest) GetHotelPolicies ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetHotelPolicies() string
GetHotelPolicies HotelPolicies Getter
func (TaobaoXhotelHouseAddAPIRequest) GetLatitude ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetLatitude() string
GetLatitude Latitude Getter
func (TaobaoXhotelHouseAddAPIRequest) GetLongitude ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetLongitude() string
GetLongitude Longitude Getter
func (TaobaoXhotelHouseAddAPIRequest) GetName ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoXhotelHouseAddAPIRequest) GetNameE ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetNameE() string
GetNameE NameE Getter
func (TaobaoXhotelHouseAddAPIRequest) GetOpeningTime ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetOpeningTime() string
GetOpeningTime OpeningTime Getter
func (TaobaoXhotelHouseAddAPIRequest) GetOrbitTrack ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetOrbitTrack() string
GetOrbitTrack OrbitTrack Getter
func (TaobaoXhotelHouseAddAPIRequest) GetOuterId ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoXhotelHouseAddAPIRequest) GetOwnerInfo ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetOwnerInfo() string
GetOwnerInfo OwnerInfo Getter
func (TaobaoXhotelHouseAddAPIRequest) GetPics ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetPics() string
GetPics Pics Getter
func (TaobaoXhotelHouseAddAPIRequest) GetPositionType ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetPositionType() string
GetPositionType PositionType Getter
func (TaobaoXhotelHouseAddAPIRequest) GetPostalCode ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetPostalCode() string
GetPostalCode PostalCode Getter
func (TaobaoXhotelHouseAddAPIRequest) GetProvince ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetProvince() int64
GetProvince Province Getter
func (TaobaoXhotelHouseAddAPIRequest) GetRealAddress ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetRealAddress() string
GetRealAddress RealAddress Getter
func (TaobaoXhotelHouseAddAPIRequest) GetRoomFacilities ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetRoomFacilities() string
GetRoomFacilities RoomFacilities Getter
func (TaobaoXhotelHouseAddAPIRequest) GetRooms ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetRooms() int64
GetRooms Rooms Getter
func (TaobaoXhotelHouseAddAPIRequest) GetService ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetService() string
GetService Service Getter
func (TaobaoXhotelHouseAddAPIRequest) GetSettlementCurrency ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetSettlementCurrency() string
GetSettlementCurrency SettlementCurrency Getter
func (TaobaoXhotelHouseAddAPIRequest) GetShid ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetShid() int64
GetShid Shid Getter
func (TaobaoXhotelHouseAddAPIRequest) GetStar ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetStar() string
GetStar Star Getter
func (TaobaoXhotelHouseAddAPIRequest) GetStatus ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetStatus() int64
GetStatus Status Getter
func (TaobaoXhotelHouseAddAPIRequest) GetSupplier ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetSupplier() string
GetSupplier Supplier Getter
func (TaobaoXhotelHouseAddAPIRequest) GetTel ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetTel() string
GetTel Tel Getter
func (TaobaoXhotelHouseAddAPIRequest) GetUsedName ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetUsedName() string
GetUsedName UsedName Getter
func (TaobaoXhotelHouseAddAPIRequest) GetVendor ¶
func (r TaobaoXhotelHouseAddAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelHouseAddAPIRequest) SetAddress ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetAddress(_address string) error
SetAddress is Address Setter 酒店地址。长度不能超过120。不填入会导致不能自动匹配,此地址为下单前展示给用户地址
func (*TaobaoXhotelHouseAddAPIRequest) SetArroundDesc ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetArroundDesc(_arroundDesc string) error
SetArroundDesc is ArroundDesc Setter 描述信息,inside: 内部描述,traffic:交通情况,arround:周边情况
func (*TaobaoXhotelHouseAddAPIRequest) SetBookingNotice ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetBookingNotice(_bookingNotice string) error
SetBookingNotice is BookingNotice Setter 预订须知。json格式,示例:{"10001":"14:00","10002":"12:00","10005":"清洁福50元","10006":"请准备好您的身份证件,我需要登记 不允许吸烟"},预订须知,key取值参见 https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.vSVPks&docType=1&articleId=108416&previewCode=987A11324A278EF679E24102BA30D426 中type=10的分类
func (*TaobaoXhotelHouseAddAPIRequest) SetBrand ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetBrand(_brand string) error
SetBrand is Brand Setter 酒店品牌。取值为数字。枚举如下(只给出top30,如果不满足,请联系去啊接口人): ruJia("1", "rujiakuaijie", "如家快捷", 1), qiTian("2", "7 days", "7天连锁", 1), hanTing("3", "Hanting Inns & Hotels", "汉庭酒店", 1), geLinHaoTai("4", "Green Tree Inn", "格林豪泰", 1), jinJiang("5", "Jinjiang Inn", "锦江之星", 1), su8("6", "Super 8", "速8", 1), moTai("7", "Motel", "莫泰", 1), zhouji("8", "InterContinental", "洲际", 4), budint("9", "Pod Inn", "布丁", 1), jiuJiu("10", "jiujiuliansuo", "99连锁", 1), piaoHome("11", "Piao Home Inn", "飘HOME", 1), juzi("12", "Orange Hotels", "桔子酒店", 1), yibai("13", "yibai", "易佰", 1), weiyena("14","weiyena","维也纳",2), huangguanjiari("15", "huangguanjiari", "皇冠假日", 4), xidawu("16", "xidawu", "喜达屋", 3), chengshiBJ("17", "chengshibianjie", "城市便捷", 1), shagnKeYou("18", "shagnkeyou", "尚客优", 1), jinjiang("19", "jinjiang", "锦江酒店", 3), wendemu("20", "Hawthorn Suites", "温德姆", 4), yibisi("21", "Ibis Hotels", "宜必思", 1), wanhao("22", "JM Hoteles", "万豪", 4), yijia365("23", "yijia365", "驿家365", 1), shoulv("24", "shoulvjituan", "首旅建国", 3), kaiyuan("25", "New Century Hotel", "开元大酒店", 4), yagao("26", "yagao", "雅高", 3), daisi("27", "daisi", "戴斯", 3), jinling("28", "jinlingliansuo", "金陵", 4), xianggelila("29", "Shangri-La City Hotels", "香格里拉", 4), xierdun("30", "Hilton", "希尔顿", 4),
func (*TaobaoXhotelHouseAddAPIRequest) SetBusiness ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetBusiness(_business string) error
SetBusiness is Business Setter 商业区(圈)长度不超过20字
func (*TaobaoXhotelHouseAddAPIRequest) SetCity ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetCity(_city int64) error
SetCity is City Setter 城市编码。参见:http://hotel.alitrip.com/area.htm,domestic为false时,输入对应国家的海外城市编码,可调用海外城市查询接口获取;(更新酒店时为可选)
func (*TaobaoXhotelHouseAddAPIRequest) SetCountry ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetCountry(_country string) error
SetCountry is Country Setter domestic为0时,固定China; domestic为1时,必须传定义的海外国家编码值。参见:http://hotel.alitrip.com/area.htm
func (*TaobaoXhotelHouseAddAPIRequest) SetCreditCardTypes ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetCreditCardTypes(_creditCardTypes string) error
SetCreditCardTypes is CreditCardTypes Setter 逗号分隔的字符串 1visa;2万事达卡;3美国运通卡;4发现卡;5大来卡;6JCB卡;7银联卡
func (*TaobaoXhotelHouseAddAPIRequest) SetDecorateTime ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetDecorateTime(_decorateTime string) error
SetDecorateTime is DecorateTime Setter 装修时间,格式为2015-01-01装修时间
func (*TaobaoXhotelHouseAddAPIRequest) SetDescription ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetDescription(_description string) error
SetDescription is Description Setter 酒店描述
func (*TaobaoXhotelHouseAddAPIRequest) SetDistrict ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetDistrict(_district int64) error
SetDistrict is District Setter 区域(县级市)编码。参见:http://hotel.alitrip.com/area.htm
func (*TaobaoXhotelHouseAddAPIRequest) SetDomestic ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetDomestic(_domestic int64) error
SetDomestic is Domestic Setter 是否国内酒店。0:国内;1:国外。默认是国内
func (*TaobaoXhotelHouseAddAPIRequest) SetExtend ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetExtend(_extend string) error
SetExtend is Extend Setter 扩展信息的JSON。注:此字段的值需要ISV在接入前与淘宝沟通,且确认能解析
func (*TaobaoXhotelHouseAddAPIRequest) SetFloors ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetFloors(_floors string) error
SetFloors is Floors Setter 楼层信息。
func (*TaobaoXhotelHouseAddAPIRequest) SetHotelFacilities ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetHotelFacilities(_hotelFacilities string) error
SetHotelFacilities is HotelFacilities Setter 酒店设施。json格式示例值:{"24152":true,"24149":true,"24150":true},key取值参见 https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.vSVPks&docType=1&articleId=108416&previewCode=987A11324A278EF679E24102BA30D426 中type=20的分类
func (*TaobaoXhotelHouseAddAPIRequest) SetHotelPolicies ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetHotelPolicies(_hotelPolicies string) error
SetHotelPolicies is HotelPolicies Setter 酒店入住政策,{"10003":"仅2岁以上儿童可随同入住"},key取值参见 https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.vSVPks&docType=1&articleId=108416&previewCode=987A11324A278EF679E24102BA30D426 中type=10、code=10003,value为文字描述
func (*TaobaoXhotelHouseAddAPIRequest) SetLatitude ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetLatitude(_latitude string) error
SetLatitude is Latitude Setter 纬度
func (*TaobaoXhotelHouseAddAPIRequest) SetLongitude ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetLongitude(_longitude string) error
SetLongitude is Longitude Setter 经度
func (*TaobaoXhotelHouseAddAPIRequest) SetName ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetName(_name string) error
SetName is Name Setter 酒店名称
func (*TaobaoXhotelHouseAddAPIRequest) SetNameE ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetNameE(_nameE string) error
SetNameE is NameE Setter 卖家酒店英文名称
func (*TaobaoXhotelHouseAddAPIRequest) SetOpeningTime ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetOpeningTime(_openingTime string) error
SetOpeningTime is OpeningTime Setter 开业时间,格式为2015-01-01
func (*TaobaoXhotelHouseAddAPIRequest) SetOrbitTrack ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetOrbitTrack(_orbitTrack string) error
SetOrbitTrack is OrbitTrack Setter 扩展信息的JSON。 orbitTrack 业务字段是指从飞猪到酒店说经过平台名以及方式的一个数组,按顺序,从飞猪,再经过若干平台,最后到酒店, platform是指定当前平台名,ways 是指通过哪种方式到该平台 其中,飞猪到下一个平台里, ways 字段只能是【直连】、【人工】两个方式之一; 从最后一个平台到酒店的ways字段只能是【电话】、【传真】、【人工】、【系统】之一; 第一个 飞猪平台 和 最后具体酒店是至少得填的
func (*TaobaoXhotelHouseAddAPIRequest) SetOuterId ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 外部酒店ID, 这是卖家自己系统中的ID
func (*TaobaoXhotelHouseAddAPIRequest) SetOwnerInfo ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetOwnerInfo(_ownerInfo string) error
SetOwnerInfo is OwnerInfo Setter 房东信息,{"outerId: 外部房东ID,": "xxxx", "nickName": "张三", "avatarUrl": "http://test.com/1.jpg", "telephone": "0571-1234567", "mobilePhone": "12334567678", "email":"test@test.com", "gender": "F", "avgConfirmTime": 30, "responseRate": 100, "description": "房东太懒,什么也没有填", "birthday":"2018-01-01", "qualifacation": 1, "bloodType": 1, "profession":"交互设计师", "country":"CN", "province":"420000", "city":"421200", "real_name_status": true, "validate":"1,2,4,8","confirmRate": 98} JSON字段描述: outerId: 商家房东ID, nickName: 房东昵称, avatarUrl: 房东头像地址, telephone: 固定电话, mobilePhone: 移动电话, email: 邮箱地址, gender: 性别 M男性, F女性, avgConfirmTime: 平均确认时间, 单位分钟, responseRate: 房东回复率, description: 房东介绍, birthday:生日,格式yyyy-MM-dd, qualifacation:学历,1:小学,2:初中,3:高中,4:本科,5:硕士,6:博士,7:博士后,0:其他, profession: 职业 country: 国家code province: 省code city: 城市code realNameStatus: 实名认证状态, true已认证 validate: 认证情况:1:身份验证,2:头像验证,4:手机验证,8:邮箱验证,二进制各位代表含义, bloodType: 血型: 0未知,1:A型,2:B型,3:AB型,4:O型;confirmRate: 订单接单率,0-100
func (*TaobaoXhotelHouseAddAPIRequest) SetPics ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetPics(_pics string) error
SetPics is Pics Setter 酒店图片只支持远程图片,格式如下:[{"url":"http://123.jpg","ismain":"false","type":"大堂","attribute":"普通图"},{"url":"http://456.jpg","ismain":"true","type":"公共区域","attribute":"全景图"},{"url":"http://789.jpg","ismain":"false","type":"大堂","attribute":"普通图"}] 其中url是远程图片的访问地址(URL地址必须是合法的,否则会报错),main是是否为主图(主图只能有一个,如果有多个或者没有,则会报错),attribute表示图片属性,取值范围只能是:[普通图, 平面图, 全景图] ,type表示图片类型,取值范围只能是:[周边, 外观, 商务中心, 健身房, 其他, 会议室, 餐厅, 浴室, 客房, 公共区域, 娱乐设施, 大堂, 泳池],图片数量最多是能是10张。
func (*TaobaoXhotelHouseAddAPIRequest) SetPositionType ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetPositionType(_positionType string) error
SetPositionType is PositionType Setter 坐标类型,现在支持:G – GoogleB – 百度A – 高德M – MapbarL – 灵图
func (*TaobaoXhotelHouseAddAPIRequest) SetPostalCode ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetPostalCode(_postalCode string) error
SetPostalCode is PostalCode Setter 邮政编码。
func (*TaobaoXhotelHouseAddAPIRequest) SetProvince ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetProvince(_province int64) error
SetProvince is Province Setter 省份编码。选填,不填入的时候已city字段为准.参见:http://hotel.alitrip.com/area.htm,domestic为false时默认为0
func (*TaobaoXhotelHouseAddAPIRequest) SetRealAddress ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetRealAddress(_realAddress string) error
SetRealAddress is RealAddress Setter 用户下单之后�展示的详细地址
func (*TaobaoXhotelHouseAddAPIRequest) SetRoomFacilities ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetRoomFacilities(_roomFacilities string) error
SetRoomFacilities is RoomFacilities Setter 房间设施。json格式示例值:{"24101": true,"24091": true,"24095": true},key-24101为属性编码,value-为"true"时表示有该属性,为文字时表示具体描述,key取值参见 https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.vSVPks&docType=1&articleId=108416&previewCode=987A11324A278EF679E24102BA30D426 中type=40的分类
func (*TaobaoXhotelHouseAddAPIRequest) SetRooms ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetRooms(_rooms int64) error
SetRooms is Rooms Setter 房间数 0~9999之内的数字
func (*TaobaoXhotelHouseAddAPIRequest) SetService ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetService(_service string) error
SetService is Service Setter 酒店服务。json格式示例值:{"24058":"可以接待外宾","24198":"叫醒服务","24200":"洗衣服务"},key-24101为属性编码,value-为"true"时表示有该属性,为文字时表示具体描述,key取值参见 https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.vSVPks&docType=1&articleId=108416&previewCode=987A11324A278EF679E24102BA30D426 中type=40的分类
func (*TaobaoXhotelHouseAddAPIRequest) SetSettlementCurrency ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetSettlementCurrency(_settlementCurrency string) error
SetSettlementCurrency is SettlementCurrency Setter 结算过程中的结算币种符合,如需对接请联系飞猪技术支持,请谨慎使用
func (*TaobaoXhotelHouseAddAPIRequest) SetShid ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetShid(_shid int64) error
SetShid is Shid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝酒店的匹配关系。目前尚未启动该字段。
func (*TaobaoXhotelHouseAddAPIRequest) SetStar ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetStar(_star string) error
SetStar is Star Setter 酒店档次,星级。取值范围为1,1.5,2,2.5,3,3.5,4,4.5,5
func (*TaobaoXhotelHouseAddAPIRequest) SetStatus ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 数据状态 0:正常,-1:删除,-2:停售
func (*TaobaoXhotelHouseAddAPIRequest) SetSupplier ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetSupplier(_supplier string) error
SetSupplier is Supplier Setter 供应商标识,需要提前开通权限,如果需要对接请联系技术支持,请谨慎使用
func (*TaobaoXhotelHouseAddAPIRequest) SetTel ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetTel(_tel string) error
SetTel is Tel Setter 酒店电话。格式:国家代码(最长6位)#区号(最长4位)#电话(最长20位)。国家代码提示:中国大陆0086、香港00852、澳门00853、台湾00886
func (*TaobaoXhotelHouseAddAPIRequest) SetUsedName ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetUsedName(_usedName string) error
SetUsedName is UsedName Setter 酒店曾用名
func (*TaobaoXhotelHouseAddAPIRequest) SetVendor ¶
func (r *TaobaoXhotelHouseAddAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 对接系统商名称:可为空不要乱填,需要申请后使用
type TaobaoXhotelHouseAddAPIResponse ¶
type TaobaoXhotelHouseAddAPIResponse struct { model.CommonResponse TaobaoXhotelHouseAddAPIResponseModel }
TaobaoXhotelHouseAddAPIResponse 非标准民宿房源添加 API返回值 taobao.xhotel.house.add
添加酒店或更新酒店
type TaobaoXhotelHouseAddAPIResponseModel ¶
type TaobaoXhotelHouseAddAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_house_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 酒店信息 Xhotel *XHotel `json:"xhotel,omitempty" xml:"xhotel,omitempty"` }
TaobaoXhotelHouseAddAPIResponseModel is 非标准民宿房源添加 成功返回结果
type TaobaoXhotelHouseRoomtypeAddAPIRequest ¶
type TaobaoXhotelHouseRoomtypeAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelHouseRoomtypeAddAPIRequest 民宿房型信息添加 API请求 taobao.xhotel.house.roomtype.add
房型添加或更新
func NewTaobaoXhotelHouseRoomtypeAddRequest ¶
func NewTaobaoXhotelHouseRoomtypeAddRequest() *TaobaoXhotelHouseRoomtypeAddAPIRequest
NewTaobaoXhotelHouseRoomtypeAddRequest 初始化TaobaoXhotelHouseRoomtypeAddAPIRequest对象
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetApiParams ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetArea ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetArea() string
GetArea Area Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetBedInfo ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetBedInfo() string
GetBedInfo BedInfo Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetConnectionType ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetConnectionType() int64
GetConnectionType ConnectionType Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetExtend ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetExtend() string
GetExtend Extend Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetFloor ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetFloor() string
GetFloor Floor Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetHasLandlord ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetHasLandlord() int64
GetHasLandlord HasLandlord Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetHid ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetHouseModel ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetHouseModel() string
GetHouseModel HouseModel Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetHouseSize ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetHouseSize() int64
GetHouseSize HouseSize Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetInternet ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetInternet() string
GetInternet Internet Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetMaxOccupancy ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetMaxOccupancy() int64
GetMaxOccupancy MaxOccupancy Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetName ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetNameE ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetNameE() string
GetNameE NameE Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetOperator ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetOperator() string
GetOperator Operator Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetOutHid ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetOuterId ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetPics ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetPics() string
GetPics Pics Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetRentSize ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetRentSize() int64
GetRentSize RentSize Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetRentType ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetRentType() int64
GetRentType RentType Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetService ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetService() string
GetService Service Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetSrid ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetSrid() int64
GetSrid Srid Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetStatus ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetStatus() int64
GetStatus Status Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetVendor ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (TaobaoXhotelHouseRoomtypeAddAPIRequest) GetWindowType ¶
func (r TaobaoXhotelHouseRoomtypeAddAPIRequest) GetWindowType() int64
GetWindowType WindowType Getter
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetArea ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetArea(_area string) error
SetArea is Area Setter 具体面积大小,请按照正确格式填写。两种格式,例如:40或者 10-20
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetBedInfo ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetBedInfo(_bedInfo string) error
SetBedInfo is BedInfo Setter 床信息: bedType:床型, desc: 床型名, width:床宽, length:床长, bedNum: 床数。床型取值见链接https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.4zBOVn&docType=1&articleId=108347
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetConnectionType ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetConnectionType(_connectionType int64) error
SetConnectionType is ConnectionType Setter 属性值为1: 含义是非直连房型
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetExtend ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetExtend(_extend string) error
SetExtend is Extend Setter 不要使用
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetFloor ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetFloor(_floor string) error
SetFloor is Floor Setter 客房在建筑的第几层,隔层为1-2层,4-5层,7-8层
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetHasLandlord ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetHasLandlord(_hasLandlord int64) error
SetHasLandlord is HasLandlord Setter 是否和房东合住:0.不和房东合住;1.和房东合住;
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetHid ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter (已废弃)请使用outHid
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetHouseModel ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetHouseModel(_houseModel string) error
SetHouseModel is HouseModel Setter 房屋户型, bedroom: 室, bathroom: 卫, livingroom: 厅, study: 书房, balcony: 阳台,kitchen: 厨房
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetHouseSize ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetHouseSize(_houseSize int64) error
SetHouseSize is HouseSize Setter 房屋面积
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetInternet ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetInternet(_internet string) error
SetInternet is Internet Setter 宽带服务。A,B,C,D。分别代表: A:无宽带,B:免费宽带,C:收费宽带,D:部分收费宽带
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetMaxOccupancy ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetMaxOccupancy(_maxOccupancy int64) error
SetMaxOccupancy is MaxOccupancy Setter 最大入住人数,默认2(1-99)
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetName ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetName(_name string) error
SetName is Name Setter 房型名称。不能超过30字
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetNameE ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetNameE(_nameE string) error
SetNameE is NameE Setter 卖家房型英文名称
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetOperator ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetOperator(_operator string) error
SetOperator is Operator Setter 操作人信息
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetOutHid ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter (必传)商家酒店ID,指明该房型属于哪家酒店
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetOuterId ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 卖家房型ID,不能重复建议格式是:酒店code_房型code
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetPics ¶
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 ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetRentSize(_rentSize int64) error
SetRentSize is RentSize Setter 出租面积,单位平方米
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetRentType ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetRentType(_rentType int64) error
SetRentType is RentType Setter 出租类型:1.整租;2.单间;3.床位
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetService ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetService(_service string) error
SetService is Service Setter 设施服务。JSON格式。 value值true有此服务,false没有。 bar:吧台,catv:有线电视,ddd:国内长途电话,idd:国际长途电话,toilet:独立卫生间,pubtoliet:公共卫生间。 如: {"bar":false,"catv":false,"ddd":false,"idd":false,"pubtoilet":false,"toilet":false}
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetSrid ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetSrid(_srid int64) error
SetSrid is Srid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝房型的匹配关系。目前尚未启动该字段。
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetStatus ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 数据状态 0:正常,-1:删除,-2:停售
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetVendor ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,无申请不可使用
func (*TaobaoXhotelHouseRoomtypeAddAPIRequest) SetWindowType ¶
func (r *TaobaoXhotelHouseRoomtypeAddAPIRequest) SetWindowType(_windowType int64) error
SetWindowType is WindowType Setter 0:无窗/1:有窗/2:部分有窗/3:暗窗/4:部分暗窗
type TaobaoXhotelHouseRoomtypeAddAPIResponse ¶
type TaobaoXhotelHouseRoomtypeAddAPIResponse struct { model.CommonResponse TaobaoXhotelHouseRoomtypeAddAPIResponseModel }
TaobaoXhotelHouseRoomtypeAddAPIResponse 民宿房型信息添加 API返回值 taobao.xhotel.house.roomtype.add
房型添加或更新
type TaobaoXhotelHouseRoomtypeAddAPIResponseModel ¶
type TaobaoXhotelHouseRoomtypeAddAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_house_roomtype_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 房型信息 Xroomtype *XRoomType `json:"xroomtype,omitempty" xml:"xroomtype,omitempty"` }
TaobaoXhotelHouseRoomtypeAddAPIResponseModel is 民宿房型信息添加 成功返回结果
type TaobaoXhotelIncrementInfoGetAPIRequest ¶ added in v1.2.5
type TaobaoXhotelIncrementInfoGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelIncrementInfoGetAPIRequest 酒店状态增量查询接口 API请求 taobao.xhotel.increment.info.get
酒店状态增量查询接口
func NewTaobaoXhotelIncrementInfoGetRequest ¶ added in v1.2.5
func NewTaobaoXhotelIncrementInfoGetRequest() *TaobaoXhotelIncrementInfoGetAPIRequest
NewTaobaoXhotelIncrementInfoGetRequest 初始化TaobaoXhotelIncrementInfoGetAPIRequest对象
func (TaobaoXhotelIncrementInfoGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoXhotelIncrementInfoGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelIncrementInfoGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoXhotelIncrementInfoGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelIncrementInfoGetAPIRequest) GetChangeType ¶ added in v1.2.5
func (r TaobaoXhotelIncrementInfoGetAPIRequest) GetChangeType() int64
GetChangeType ChangeType Getter
func (TaobaoXhotelIncrementInfoGetAPIRequest) GetCurrentPage ¶ added in v1.2.5
func (r TaobaoXhotelIncrementInfoGetAPIRequest) GetCurrentPage() int64
GetCurrentPage CurrentPage Getter
func (TaobaoXhotelIncrementInfoGetAPIRequest) GetGmtModified ¶ added in v1.2.5
func (r TaobaoXhotelIncrementInfoGetAPIRequest) GetGmtModified() string
GetGmtModified GmtModified Getter
func (TaobaoXhotelIncrementInfoGetAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoXhotelIncrementInfoGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (*TaobaoXhotelIncrementInfoGetAPIRequest) SetChangeType ¶ added in v1.2.5
func (r *TaobaoXhotelIncrementInfoGetAPIRequest) SetChangeType(_changeType int64) error
SetChangeType is ChangeType Setter 变化类别,1为酒店价格,0为酒店
func (*TaobaoXhotelIncrementInfoGetAPIRequest) SetCurrentPage ¶ added in v1.2.5
func (r *TaobaoXhotelIncrementInfoGetAPIRequest) SetCurrentPage(_currentPage int64) error
SetCurrentPage is CurrentPage Setter 分页参数:当前页数,从1开始计数。<br/>默认值:1
func (*TaobaoXhotelIncrementInfoGetAPIRequest) SetGmtModified ¶ added in v1.2.5
func (r *TaobaoXhotelIncrementInfoGetAPIRequest) SetGmtModified(_gmtModified string) error
SetGmtModified is GmtModified Setter 更新时间
func (*TaobaoXhotelIncrementInfoGetAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoXhotelIncrementInfoGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页参数:每页酒店数量。最小值1,最大值为1000。默认值:1000
type TaobaoXhotelIncrementInfoGetAPIResponse ¶ added in v1.2.5
type TaobaoXhotelIncrementInfoGetAPIResponse struct { model.CommonResponse TaobaoXhotelIncrementInfoGetAPIResponseModel }
TaobaoXhotelIncrementInfoGetAPIResponse 酒店状态增量查询接口 API返回值 taobao.xhotel.increment.info.get
酒店状态增量查询接口
type TaobaoXhotelIncrementInfoGetAPIResponseModel ¶ added in v1.2.5
type TaobaoXhotelIncrementInfoGetAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_increment_info_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 酒店列表 Hotels []SHotel `json:"hotels,omitempty" xml:"hotels>s_hotel,omitempty"` // 酒店总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoXhotelIncrementInfoGetAPIResponseModel is 酒店状态增量查询接口 成功返回结果
type TaobaoXhotelItemSelectionSellerStatExposureAPIRequest ¶
type TaobaoXhotelItemSelectionSellerStatExposureAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelItemSelectionSellerStatExposureAPIRequest 选品曝光趋势 API请求 taobao.xhotel.item.selection.seller.stat.exposure
用于提供给商家获取选品曝光趋势
func NewTaobaoXhotelItemSelectionSellerStatExposureRequest ¶
func NewTaobaoXhotelItemSelectionSellerStatExposureRequest() *TaobaoXhotelItemSelectionSellerStatExposureAPIRequest
NewTaobaoXhotelItemSelectionSellerStatExposureRequest 初始化TaobaoXhotelItemSelectionSellerStatExposureAPIRequest对象
func (TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetApiParams ¶
func (r TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetDate ¶
func (r TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetDate() string
GetDate Date Getter
func (TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetHid ¶
func (r TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetHid() string
GetHid Hid Getter
func (TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetOutHid ¶
func (r TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetSupplier ¶
func (r TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetSupplier() string
GetSupplier Supplier Getter
func (TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetVendor ¶
func (r TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) SetDate ¶
func (r *TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) SetDate(_date string) error
SetDate is Date Setter 日期 默认为昨天
func (*TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) SetHid ¶
func (r *TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) SetHid(_hid string) error
SetHid is Hid Setter hid 默认为all
func (*TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) SetOutHid ¶
func (r *TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 酒店编码
func (*TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) SetSupplier ¶
func (r *TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) SetSupplier(_supplier string) error
SetSupplier is Supplier Setter 默认为all
func (*TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) SetVendor ¶
func (r *TaobaoXhotelItemSelectionSellerStatExposureAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 默认为all
type TaobaoXhotelItemSelectionSellerStatExposureAPIResponse ¶
type TaobaoXhotelItemSelectionSellerStatExposureAPIResponse struct { model.CommonResponse TaobaoXhotelItemSelectionSellerStatExposureAPIResponseModel }
TaobaoXhotelItemSelectionSellerStatExposureAPIResponse 选品曝光趋势 API返回值 taobao.xhotel.item.selection.seller.stat.exposure
用于提供给商家获取选品曝光趋势
type TaobaoXhotelItemSelectionSellerStatExposureAPIResponseModel ¶
type TaobaoXhotelItemSelectionSellerStatExposureAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_item_selection_seller_stat_exposure_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *TaobaoXhotelItemSelectionSellerStatExposureResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelItemSelectionSellerStatExposureAPIResponseModel is 选品曝光趋势 成功返回结果
type TaobaoXhotelItemSelectionSellerStatExposureModule ¶
type TaobaoXhotelItemSelectionSellerStatExposureModule struct { // 返回结果 SellerStatExposureElementList []SellerStatExposureElementList `` /* 134-byte string literal not displayed */ }
TaobaoXhotelItemSelectionSellerStatExposureModule 结构体
type TaobaoXhotelItemSelectionSellerStatExposureResult ¶
type TaobaoXhotelItemSelectionSellerStatExposureResult struct { // 错误码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 接口信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回结果 Module *TaobaoXhotelItemSelectionSellerStatExposureModule `json:"module,omitempty" xml:"module,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoXhotelItemSelectionSellerStatExposureResult 结构体
type TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest ¶
type TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest 供应链选品热销标准酒店覆盖情况 API请求 taobao.xhotel.item.selection.seller.stat.hotshid
供应链选品热销标准酒店覆盖情况
func NewTaobaoXhotelItemSelectionSellerStatHotshidRequest ¶
func NewTaobaoXhotelItemSelectionSellerStatHotshidRequest() *TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest
NewTaobaoXhotelItemSelectionSellerStatHotshidRequest 初始化TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest对象
func (TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetApiParams ¶
func (r TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetDate ¶
func (r TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetDate() string
GetDate Date Getter
func (TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetHid ¶
func (r TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetHid() string
GetHid Hid Getter
func (TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetOutHid ¶
func (r TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetSupplier ¶
func (r TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetSupplier() string
GetSupplier Supplier Getter
func (TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetVendor ¶
func (r TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) SetDate ¶
func (r *TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) SetDate(_date string) error
SetDate is Date Setter 日期 默认为昨天
func (*TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) SetHid ¶
func (r *TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) SetHid(_hid string) error
SetHid is Hid Setter 酒店id 默认all
func (*TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) SetOutHid ¶
func (r *TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 酒店编码
func (*TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) SetSupplier ¶
func (r *TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) SetSupplier(_supplier string) error
SetSupplier is Supplier Setter supplier 默认all
func (*TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) SetVendor ¶
func (r *TaobaoXhotelItemSelectionSellerStatHotshidAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter vendor 默认all
type TaobaoXhotelItemSelectionSellerStatHotshidAPIResponse ¶
type TaobaoXhotelItemSelectionSellerStatHotshidAPIResponse struct { model.CommonResponse TaobaoXhotelItemSelectionSellerStatHotshidAPIResponseModel }
TaobaoXhotelItemSelectionSellerStatHotshidAPIResponse 供应链选品热销标准酒店覆盖情况 API返回值 taobao.xhotel.item.selection.seller.stat.hotshid
供应链选品热销标准酒店覆盖情况
type TaobaoXhotelItemSelectionSellerStatHotshidAPIResponseModel ¶
type TaobaoXhotelItemSelectionSellerStatHotshidAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_item_selection_seller_stat_hotshid_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *TaobaoXhotelItemSelectionSellerStatHotshidResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelItemSelectionSellerStatHotshidAPIResponseModel is 供应链选品热销标准酒店覆盖情况 成功返回结果
type TaobaoXhotelItemSelectionSellerStatHotshidModule ¶
type TaobaoXhotelItemSelectionSellerStatHotshidModule struct { // 热销标准酒店中卖家覆盖的数量 CoveredHidAmount string `json:"covered_hid_amount,omitempty" xml:"covered_hid_amount,omitempty"` // 热销标准酒店中卖家可售的酒店数量 CanSaleHidAmount string `json:"can_sale_hid_amount,omitempty" xml:"can_sale_hid_amount,omitempty"` }
TaobaoXhotelItemSelectionSellerStatHotshidModule 结构体
type TaobaoXhotelItemSelectionSellerStatHotshidResult ¶
type TaobaoXhotelItemSelectionSellerStatHotshidResult struct { // 错误码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回结构 Module *TaobaoXhotelItemSelectionSellerStatHotshidModule `json:"module,omitempty" xml:"module,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoXhotelItemSelectionSellerStatHotshidResult 结构体
type TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest ¶
type TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest 商家数据-选品整体概况 API请求 taobao.xhotel.item.selection.seller.stat.summary
商家数据-选品整体概况
func NewTaobaoXhotelItemSelectionSellerStatSummaryRequest ¶
func NewTaobaoXhotelItemSelectionSellerStatSummaryRequest() *TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest
NewTaobaoXhotelItemSelectionSellerStatSummaryRequest 初始化TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest对象
func (TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetApiParams ¶
func (r TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetDate ¶
func (r TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetDate() string
GetDate Date Getter
func (TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetHid ¶
func (r TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetHid() string
GetHid Hid Getter
func (TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetOutHid ¶
func (r TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetSupplier ¶
func (r TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetSupplier() string
GetSupplier Supplier Getter
func (TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetVendor ¶
func (r TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) SetDate ¶
func (r *TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) SetDate(_date string) error
SetDate is Date Setter 日期 默认为昨天
func (*TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) SetHid ¶
func (r *TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) SetHid(_hid string) error
SetHid is Hid Setter hid 默认为all
func (*TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) SetOutHid ¶
func (r *TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 外部酒店编码
func (*TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) SetSupplier ¶
func (r *TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) SetSupplier(_supplier string) error
SetSupplier is Supplier Setter supplier 默认为all
func (*TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) SetVendor ¶
func (r *TaobaoXhotelItemSelectionSellerStatSummaryAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter vendor 默认为all
type TaobaoXhotelItemSelectionSellerStatSummaryAPIResponse ¶
type TaobaoXhotelItemSelectionSellerStatSummaryAPIResponse struct { model.CommonResponse TaobaoXhotelItemSelectionSellerStatSummaryAPIResponseModel }
TaobaoXhotelItemSelectionSellerStatSummaryAPIResponse 商家数据-选品整体概况 API返回值 taobao.xhotel.item.selection.seller.stat.summary
商家数据-选品整体概况
type TaobaoXhotelItemSelectionSellerStatSummaryAPIResponseModel ¶
type TaobaoXhotelItemSelectionSellerStatSummaryAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_item_selection_seller_stat_summary_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回参数 Result *HsfResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelItemSelectionSellerStatSummaryAPIResponseModel is 商家数据-选品整体概况 成功返回结果
type TaobaoXhotelMultiplerateDeleteAPIRequest ¶
type TaobaoXhotelMultiplerateDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelMultiplerateDeleteAPIRequest 复杂价格删除 API请求 taobao.xhotel.multiplerate.delete
酒店产品库rate删除
func NewTaobaoXhotelMultiplerateDeleteRequest ¶
func NewTaobaoXhotelMultiplerateDeleteRequest() *TaobaoXhotelMultiplerateDeleteAPIRequest
NewTaobaoXhotelMultiplerateDeleteRequest 初始化TaobaoXhotelMultiplerateDeleteAPIRequest对象
func (TaobaoXhotelMultiplerateDeleteAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelMultiplerateDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelMultiplerateDeleteAPIRequest) GetApiParams ¶
func (r TaobaoXhotelMultiplerateDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelMultiplerateDeleteAPIRequest) GetLengthofstay ¶
func (r TaobaoXhotelMultiplerateDeleteAPIRequest) GetLengthofstay() int64
GetLengthofstay Lengthofstay Getter
func (TaobaoXhotelMultiplerateDeleteAPIRequest) GetOccupancy ¶
func (r TaobaoXhotelMultiplerateDeleteAPIRequest) GetOccupancy() int64
GetOccupancy Occupancy Getter
func (TaobaoXhotelMultiplerateDeleteAPIRequest) GetOutRid ¶
func (r TaobaoXhotelMultiplerateDeleteAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoXhotelMultiplerateDeleteAPIRequest) GetRateplanCode ¶
func (r TaobaoXhotelMultiplerateDeleteAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoXhotelMultiplerateDeleteAPIRequest) GetVendor ¶
func (r TaobaoXhotelMultiplerateDeleteAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelMultiplerateDeleteAPIRequest) SetLengthofstay ¶
func (r *TaobaoXhotelMultiplerateDeleteAPIRequest) SetLengthofstay(_lengthofstay int64) error
SetLengthofstay is Lengthofstay Setter 入住人数
func (*TaobaoXhotelMultiplerateDeleteAPIRequest) SetOccupancy ¶
func (r *TaobaoXhotelMultiplerateDeleteAPIRequest) SetOccupancy(_occupancy int64) error
SetOccupancy is Occupancy Setter 连住天数
func (*TaobaoXhotelMultiplerateDeleteAPIRequest) SetOutRid ¶
func (r *TaobaoXhotelMultiplerateDeleteAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 商家房型编码
func (*TaobaoXhotelMultiplerateDeleteAPIRequest) SetRateplanCode ¶
func (r *TaobaoXhotelMultiplerateDeleteAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 商家价格政策编码
func (*TaobaoXhotelMultiplerateDeleteAPIRequest) SetVendor ¶
func (r *TaobaoXhotelMultiplerateDeleteAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 渠道,和推送房价所使用的渠道保持一致
type TaobaoXhotelMultiplerateDeleteAPIResponse ¶
type TaobaoXhotelMultiplerateDeleteAPIResponse struct { model.CommonResponse TaobaoXhotelMultiplerateDeleteAPIResponseModel }
TaobaoXhotelMultiplerateDeleteAPIResponse 复杂价格删除 API返回值 taobao.xhotel.multiplerate.delete
酒店产品库rate删除
type TaobaoXhotelMultiplerateDeleteAPIResponseModel ¶
type TaobaoXhotelMultiplerateDeleteAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_multiplerate_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoXhotelMultiplerateDeleteResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelMultiplerateDeleteAPIResponseModel is 复杂价格删除 成功返回结果
type TaobaoXhotelMultiplerateDeleteResultSet ¶
type TaobaoXhotelMultiplerateDeleteResultSet struct { // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 房型编码_房价编码_入住人数_连住天数 OutRidRateplanCodeOccupancyLengthofstay string `json:"out_rid_rateplan_code_occupancy_lengthofstay,omitempty" xml:"out_rid_rateplan_code_occupancy_lengthofstay,omitempty"` }
TaobaoXhotelMultiplerateDeleteResultSet 结构体
type TaobaoXhotelMultiplerateGetAPIRequest ¶
type TaobaoXhotelMultiplerateGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelMultiplerateGetAPIRequest 复杂房价查询接口 API请求 taobao.xhotel.multiplerate.get
查询复杂房价,支持通过入住人数,连住天数,商品信息,房价信息查询
func NewTaobaoXhotelMultiplerateGetRequest ¶
func NewTaobaoXhotelMultiplerateGetRequest() *TaobaoXhotelMultiplerateGetAPIRequest
NewTaobaoXhotelMultiplerateGetRequest 初始化TaobaoXhotelMultiplerateGetAPIRequest对象
func (TaobaoXhotelMultiplerateGetAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelMultiplerateGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelMultiplerateGetAPIRequest) GetApiParams ¶
func (r TaobaoXhotelMultiplerateGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelMultiplerateGetAPIRequest) GetGid ¶
func (r TaobaoXhotelMultiplerateGetAPIRequest) GetGid() int64
GetGid Gid Getter
func (TaobaoXhotelMultiplerateGetAPIRequest) GetNod ¶
func (r TaobaoXhotelMultiplerateGetAPIRequest) GetNod() int64
GetNod Nod Getter
func (TaobaoXhotelMultiplerateGetAPIRequest) GetNop ¶
func (r TaobaoXhotelMultiplerateGetAPIRequest) GetNop() int64
GetNop Nop Getter
func (TaobaoXhotelMultiplerateGetAPIRequest) GetOutRid ¶
func (r TaobaoXhotelMultiplerateGetAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoXhotelMultiplerateGetAPIRequest) GetRatePlanCode ¶
func (r TaobaoXhotelMultiplerateGetAPIRequest) GetRatePlanCode() string
GetRatePlanCode RatePlanCode Getter
func (TaobaoXhotelMultiplerateGetAPIRequest) GetRatePlanId ¶
func (r TaobaoXhotelMultiplerateGetAPIRequest) GetRatePlanId() int64
GetRatePlanId RatePlanId Getter
func (TaobaoXhotelMultiplerateGetAPIRequest) GetVendor ¶
func (r TaobaoXhotelMultiplerateGetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelMultiplerateGetAPIRequest) SetGid ¶
func (r *TaobaoXhotelMultiplerateGetAPIRequest) SetGid(_gid int64) error
SetGid is Gid Setter 废弃,使用out_rid
func (*TaobaoXhotelMultiplerateGetAPIRequest) SetNod ¶
func (r *TaobaoXhotelMultiplerateGetAPIRequest) SetNod(_nod int64) error
SetNod is Nod Setter 连住天数(范围1~10)
func (*TaobaoXhotelMultiplerateGetAPIRequest) SetNop ¶
func (r *TaobaoXhotelMultiplerateGetAPIRequest) SetNop(_nop int64) error
SetNop is Nop Setter 入住人数(范围1~10)
func (*TaobaoXhotelMultiplerateGetAPIRequest) SetOutRid ¶
func (r *TaobaoXhotelMultiplerateGetAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 卖家的房型code
func (*TaobaoXhotelMultiplerateGetAPIRequest) SetRatePlanCode ¶
func (r *TaobaoXhotelMultiplerateGetAPIRequest) SetRatePlanCode(_ratePlanCode string) error
SetRatePlanCode is RatePlanCode Setter 卖家的房价code
func (*TaobaoXhotelMultiplerateGetAPIRequest) SetRatePlanId ¶
func (r *TaobaoXhotelMultiplerateGetAPIRequest) SetRatePlanId(_ratePlanId int64) error
SetRatePlanId is RatePlanId Setter 废弃,使用rate_plan_code
func (*TaobaoXhotelMultiplerateGetAPIRequest) SetVendor ¶
func (r *TaobaoXhotelMultiplerateGetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不填写,使用须申请
type TaobaoXhotelMultiplerateGetAPIResponse ¶
type TaobaoXhotelMultiplerateGetAPIResponse struct { model.CommonResponse TaobaoXhotelMultiplerateGetAPIResponseModel }
TaobaoXhotelMultiplerateGetAPIResponse 复杂房价查询接口 API返回值 taobao.xhotel.multiplerate.get
查询复杂房价,支持通过入住人数,连住天数,商品信息,房价信息查询
type TaobaoXhotelMultiplerateGetAPIResponseModel ¶
type TaobaoXhotelMultiplerateGetAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_multiplerate_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 复杂价格返回结果类 Rates []MultipleRate `json:"rates,omitempty" xml:"rates>multiple_rate,omitempty"` }
TaobaoXhotelMultiplerateGetAPIResponseModel is 复杂房价查询接口 成功返回结果
type TaobaoXhotelMultiplerateUpdateAPIRequest ¶
type TaobaoXhotelMultiplerateUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelMultiplerateUpdateAPIRequest 复杂价格推送接口(全量更新) API请求 taobao.xhotel.multiplerate.update
酒店产品库复杂rate(多人价,连住价等)更新 同时完全涵盖taobao.xhotel.rate.update的功能
func NewTaobaoXhotelMultiplerateUpdateRequest ¶
func NewTaobaoXhotelMultiplerateUpdateRequest() *TaobaoXhotelMultiplerateUpdateAPIRequest
NewTaobaoXhotelMultiplerateUpdateRequest 初始化TaobaoXhotelMultiplerateUpdateAPIRequest对象
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetApiParams ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetChildnum ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetChildnum() int64
GetChildnum Childnum Getter
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetCurrencyCode ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetCurrencyCode() string
GetCurrencyCode CurrencyCode Getter
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetGid ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetGid() int64
GetGid Gid Getter
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetInfantnum ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetInfantnum() int64
GetInfantnum Infantnum Getter
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetInventoryPrice ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetInventoryPrice() string
GetInventoryPrice InventoryPrice Getter
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetLengthofstay ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetLengthofstay() int64
GetLengthofstay Lengthofstay Getter
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetLockEndTime ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetLockEndTime() string
GetLockEndTime LockEndTime Getter
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetLockStartTime ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetLockStartTime() string
GetLockStartTime LockStartTime Getter
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetName ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetOccupancy ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetOccupancy() int64
GetOccupancy Occupancy Getter
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetOnlineBookingBindingInfo ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetOnlineBookingBindingInfo() string
GetOnlineBookingBindingInfo OnlineBookingBindingInfo Getter
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetOutRid ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetRatePlanCode ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetRatePlanCode() string
GetRatePlanCode RatePlanCode Getter
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetRateSwitchCal ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetRateSwitchCal() string
GetRateSwitchCal RateSwitchCal Getter
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetRpid ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetRpid() int64
GetRpid Rpid Getter
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetStatus ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetStatus() int64
GetStatus Status Getter
func (TaobaoXhotelMultiplerateUpdateAPIRequest) GetVendor ¶
func (r TaobaoXhotelMultiplerateUpdateAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetChildnum ¶
func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetChildnum(_childnum int64) error
SetChildnum is Childnum Setter 儿童人数
func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetCurrencyCode ¶
func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetCurrencyCode(_currencyCode string) error
SetCurrencyCode is CurrencyCode Setter 币种.CNY为人民币
func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetGid ¶
func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetGid(_gid int64) error
SetGid is Gid Setter 废弃,使用out_rid
func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetInfantnum ¶
func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetInfantnum(_infantnum int64) error
SetInfantnum is Infantnum Setter 婴儿人数
func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetInventoryPrice ¶
func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetInventoryPrice(_inventoryPrice string) error
SetInventoryPrice is InventoryPrice Setter 价格和库存信息。 A:use_room_inventory:是否使用房型共享库存,可选值 true false ,false时:使用房价专有库存,此时要求价格和库存必填。 B:date 日期必须为 T---T+180 日内的日期(T为当天),且不能重复 C:price 价格 int类型 取值范围1-99999999 单位为分 D:quota 库存 int 类型 取值范围 0-999(数量库存) 60000(状态库存关) 61000(状态库存开) tax为税费,addBed为加床价,addPerson为加人价1,若连住大于1,price请推送总价
func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetLengthofstay ¶
func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetLengthofstay(_lengthofstay int64) error
SetLengthofstay is Lengthofstay Setter 连住天数(范围1~5)
func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetLockEndTime ¶
func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetLockEndTime(_lockEndTime string) error
SetLockEndTime is LockEndTime Setter 锁库存截止时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)
func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetLockStartTime ¶
func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetLockStartTime(_lockStartTime string) error
SetLockStartTime is LockStartTime Setter 锁库存开始时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)
func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetName ¶
func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetName(_name string) error
SetName is Name Setter 废弃
func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetOccupancy ¶
func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetOccupancy(_occupancy int64) error
SetOccupancy is Occupancy Setter 入住人数(范围1~10)
func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetOnlineBookingBindingInfo ¶
func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error
SetOnlineBookingBindingInfo is OnlineBookingBindingInfo Setter 在线预约关联关系推送,priceRuleNumber:加价规则序号
func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetOutRid ¶
func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 卖家房型ID
func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetRatePlanCode ¶
func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetRatePlanCode(_ratePlanCode string) error
SetRatePlanCode is RatePlanCode Setter 卖家自己系统的房价code
func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetRateSwitchCal ¶
func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetRateSwitchCal(_rateSwitchCal string) error
SetRateSwitchCal is RateSwitchCal Setter 价格开关 date:开关状态控制的那一天;rate_status:开关状态(0,关闭;1,打开); checkin_status:入住开关(0,关闭;1,打开);checkout_status:离店开关 (0,关闭;1,打开)
func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetRpid ¶
func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetRpid(_rpid int64) error
SetRpid is Rpid Setter 废弃,使用rate_plan_code
func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetStatus ¶
func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 价格状态。0为不可售;1为可售,默认可售
func (*TaobaoXhotelMultiplerateUpdateAPIRequest) SetVendor ¶
func (r *TaobaoXhotelMultiplerateUpdateAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不填写,使用须申请
type TaobaoXhotelMultiplerateUpdateAPIResponse ¶
type TaobaoXhotelMultiplerateUpdateAPIResponse struct { model.CommonResponse TaobaoXhotelMultiplerateUpdateAPIResponseModel }
TaobaoXhotelMultiplerateUpdateAPIResponse 复杂价格推送接口(全量更新) API返回值 taobao.xhotel.multiplerate.update
酒店产品库复杂rate(多人价,连住价等)更新 同时完全涵盖taobao.xhotel.rate.update的功能
type TaobaoXhotelMultiplerateUpdateAPIResponseModel ¶
type TaobaoXhotelMultiplerateUpdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_multiplerate_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // gid-rpid-occupancy-lengthofstay<br/>商品ID-房价ID-入住人数-连住天数 GidAndRpidOccupancyLengthofstay string `json:"gid_and_rpid_occupancy_lengthofstay,omitempty" xml:"gid_and_rpid_occupancy_lengthofstay,omitempty"` }
TaobaoXhotelMultiplerateUpdateAPIResponseModel is 复杂价格推送接口(全量更新) 成功返回结果
type TaobaoXhotelMultipleratesIncrementAPIRequest ¶
type TaobaoXhotelMultipleratesIncrementAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelMultipleratesIncrementAPIRequest 复杂房价推送接口(批量增量) API请求 taobao.xhotel.multiplerates.increment
复杂房价批量增量更新,只会更新指定日期的信息 完全涵盖了taobao.xhotel.rates.increment接口的功能
func NewTaobaoXhotelMultipleratesIncrementRequest ¶
func NewTaobaoXhotelMultipleratesIncrementRequest() *TaobaoXhotelMultipleratesIncrementAPIRequest
NewTaobaoXhotelMultipleratesIncrementRequest 初始化TaobaoXhotelMultipleratesIncrementAPIRequest对象
func (TaobaoXhotelMultipleratesIncrementAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelMultipleratesIncrementAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelMultipleratesIncrementAPIRequest) GetApiParams ¶
func (r TaobaoXhotelMultipleratesIncrementAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelMultipleratesIncrementAPIRequest) GetRateQuotaMap ¶
func (r TaobaoXhotelMultipleratesIncrementAPIRequest) GetRateQuotaMap() string
GetRateQuotaMap RateQuotaMap Getter
func (*TaobaoXhotelMultipleratesIncrementAPIRequest) SetRateQuotaMap ¶
func (r *TaobaoXhotelMultipleratesIncrementAPIRequest) SetRateQuotaMap(_rateQuotaMap string) error
SetRateQuotaMap is RateQuotaMap Setter 批量全量修改价格和库存信息,会以请求参数中的数据覆盖掉原来报价库存数据。A:useRoomInventory:是否使用room级别共享库存,可选值 true false 2、false时:使用rate级别私有库存,此时如果填写了库存,那么会写入库存表。B:date 日期必须为 T---T+180 日内的日期(T为当天),且不能重复C:basePrice 基本价格 int类型 取值范围1-99999999 单位为分D:quota 库存 int 类型 取值范围 0-999(数量库存) 支持状态库存, 60000(状态库存关) 61000(状态库存开);E:occupancy为入住人数,范围为1~10;F:lengthofStay为连住天数,范围为1~10;G:taxAndFee为总税费;H:addBedPrice为加床价;I:addPersonPrice为加人价;J:rateSwitch为开关房状态,1为开房,0为关房。K:支持outRoomId和ratePlanCode来更新报价库存。L:childnum为儿童人数。M:infantnum为婴儿人数。N:ckinSwitch为入住开关(0,关闭;1,打开) O:ckoutSwitch为离店开关 (0,关闭;1,打开) P:lockStartTime锁库存开始时间 Q:lockEndTime锁库存截止时间
type TaobaoXhotelMultipleratesIncrementAPIResponse ¶
type TaobaoXhotelMultipleratesIncrementAPIResponse struct { model.CommonResponse TaobaoXhotelMultipleratesIncrementAPIResponseModel }
TaobaoXhotelMultipleratesIncrementAPIResponse 复杂房价推送接口(批量增量) API返回值 taobao.xhotel.multiplerates.increment
复杂房价批量增量更新,只会更新指定日期的信息 完全涵盖了taobao.xhotel.rates.increment接口的功能
type TaobaoXhotelMultipleratesIncrementAPIResponseModel ¶
type TaobaoXhotelMultipleratesIncrementAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_multiplerates_increment_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品id-房价id-入住人数-连住天数 的集合 GidAndRpidOccupancyLengthofstay []string `json:"gid_and_rpid_occupancy_lengthofstay,omitempty" xml:"gid_and_rpid_occupancy_lengthofstay>string,omitempty"` // 批量更新的时候,如果部分更新失败,会展示部分失败的原因 Warnmessage string `json:"warnmessage,omitempty" xml:"warnmessage,omitempty"` }
TaobaoXhotelMultipleratesIncrementAPIResponseModel is 复杂房价推送接口(批量增量) 成功返回结果
type TaobaoXhotelMultipleratesUpdateAPIRequest ¶
type TaobaoXhotelMultipleratesUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelMultipleratesUpdateAPIRequest 复杂价格推送接口(批量全量) API请求 taobao.xhotel.multiplerates.update
批量更新复杂价格 涵盖了taobao.xhotel.rates.update的功能
func NewTaobaoXhotelMultipleratesUpdateRequest ¶
func NewTaobaoXhotelMultipleratesUpdateRequest() *TaobaoXhotelMultipleratesUpdateAPIRequest
NewTaobaoXhotelMultipleratesUpdateRequest 初始化TaobaoXhotelMultipleratesUpdateAPIRequest对象
func (TaobaoXhotelMultipleratesUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelMultipleratesUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelMultipleratesUpdateAPIRequest) GetApiParams ¶
func (r TaobaoXhotelMultipleratesUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelMultipleratesUpdateAPIRequest) GetRateQuotaMap ¶
func (r TaobaoXhotelMultipleratesUpdateAPIRequest) GetRateQuotaMap() string
GetRateQuotaMap RateQuotaMap Getter
func (*TaobaoXhotelMultipleratesUpdateAPIRequest) SetRateQuotaMap ¶
func (r *TaobaoXhotelMultipleratesUpdateAPIRequest) SetRateQuotaMap(_rateQuotaMap string) error
SetRateQuotaMap is RateQuotaMap Setter 批量全量修改价格和库存信息,会以请求参数中的数据覆盖掉原来报价库存数据。A:useRoomInventory:是否使用room级别共享库存,可选值 true false 2、false时:使用rate级别私有库存,此时如果填写了库存,那么会写入库存表。B:date 日期必须为 T---T+180 日内的日期(T为当天),且不能重复C:basePrice 基本价格 int类型 取值范围1-99999999 单位为分D:quota 库存 int 类型 取值范围 0-999(数量库存) 支持状态库存, 60000(状态库存关) 61000(状态库存开);E:occupancy为入住人数,范围为1~10;F:lengthofStay为连住天数,范围为1~10;G:taxAndFee为总税费;H:addBedPrice为加床价;I:addPersonPrice为加人价;J:rateSwitch为开关房状态,1为开房,0为关房。K:支持outRoomId和ratePlanCode来更新报价库存。L:childnum为儿童人数。M:infantnum为婴儿人数。N:ckinSwitch为入住开关(0,关闭;1,打开) O:ckoutSwitch为离店开关 (0,关闭;1,打开) P:lockStartTime锁库存开始时间 Q:lockEndTime锁库存截止时间
type TaobaoXhotelMultipleratesUpdateAPIResponse ¶
type TaobaoXhotelMultipleratesUpdateAPIResponse struct { model.CommonResponse TaobaoXhotelMultipleratesUpdateAPIResponseModel }
TaobaoXhotelMultipleratesUpdateAPIResponse 复杂价格推送接口(批量全量) API返回值 taobao.xhotel.multiplerates.update
批量更新复杂价格 涵盖了taobao.xhotel.rates.update的功能
type TaobaoXhotelMultipleratesUpdateAPIResponseModel ¶
type TaobaoXhotelMultipleratesUpdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_multiplerates_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品id,房价id,入住人数,连住天数 GidAndRpidOccupancyLengthofstay []string `json:"gid_and_rpid_occupancy_lengthofstay,omitempty" xml:"gid_and_rpid_occupancy_lengthofstay>string,omitempty"` // 批量更新的时候,如果部分更新失败,会展示部分失败的原因 Warnmessage string `json:"warnmessage,omitempty" xml:"warnmessage,omitempty"` }
TaobaoXhotelMultipleratesUpdateAPIResponseModel is 复杂价格推送接口(批量全量) 成功返回结果
type TaobaoXhotelQuotaUpdateAPIRequest ¶
type TaobaoXhotelQuotaUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelQuotaUpdateAPIRequest 库存更新接口 API请求 taobao.xhotel.quota.update
库存更新接口
func NewTaobaoXhotelQuotaUpdateRequest ¶
func NewTaobaoXhotelQuotaUpdateRequest() *TaobaoXhotelQuotaUpdateAPIRequest
NewTaobaoXhotelQuotaUpdateRequest 初始化TaobaoXhotelQuotaUpdateAPIRequest对象
func (TaobaoXhotelQuotaUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelQuotaUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelQuotaUpdateAPIRequest) GetApiParams ¶
func (r TaobaoXhotelQuotaUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelQuotaUpdateAPIRequest) GetDates ¶
func (r TaobaoXhotelQuotaUpdateAPIRequest) GetDates() []string
GetDates Dates Getter
func (TaobaoXhotelQuotaUpdateAPIRequest) GetGid ¶
func (r TaobaoXhotelQuotaUpdateAPIRequest) GetGid() int64
GetGid Gid Getter
func (TaobaoXhotelQuotaUpdateAPIRequest) GetQuota ¶
func (r TaobaoXhotelQuotaUpdateAPIRequest) GetQuota() int64
GetQuota Quota Getter
func (TaobaoXhotelQuotaUpdateAPIRequest) GetQuotaNumType ¶
func (r TaobaoXhotelQuotaUpdateAPIRequest) GetQuotaNumType() int64
GetQuotaNumType QuotaNumType Getter
func (TaobaoXhotelQuotaUpdateAPIRequest) GetQuotaType ¶
func (r TaobaoXhotelQuotaUpdateAPIRequest) GetQuotaType() int64
GetQuotaType QuotaType Getter
func (TaobaoXhotelQuotaUpdateAPIRequest) GetRateId ¶
func (r TaobaoXhotelQuotaUpdateAPIRequest) GetRateId() int64
GetRateId RateId Getter
func (TaobaoXhotelQuotaUpdateAPIRequest) GetUseRoomInventory ¶
func (r TaobaoXhotelQuotaUpdateAPIRequest) GetUseRoomInventory() bool
GetUseRoomInventory UseRoomInventory Getter
func (*TaobaoXhotelQuotaUpdateAPIRequest) SetDates ¶
func (r *TaobaoXhotelQuotaUpdateAPIRequest) SetDates(_dates []string) error
SetDates is Dates Setter 修改日期列表
func (*TaobaoXhotelQuotaUpdateAPIRequest) SetGid ¶
func (r *TaobaoXhotelQuotaUpdateAPIRequest) SetGid(_gid int64) error
SetGid is Gid Setter room的gid
func (*TaobaoXhotelQuotaUpdateAPIRequest) SetQuota ¶
func (r *TaobaoXhotelQuotaUpdateAPIRequest) SetQuota(_quota int64) error
SetQuota is Quota Setter 增减的值
func (*TaobaoXhotelQuotaUpdateAPIRequest) SetQuotaNumType ¶
func (r *TaobaoXhotelQuotaUpdateAPIRequest) SetQuotaNumType(_quotaNumType int64) error
SetQuotaNumType is QuotaNumType Setter 数量类型, 2:增加房量,3:减少房量
func (*TaobaoXhotelQuotaUpdateAPIRequest) SetQuotaType ¶
func (r *TaobaoXhotelQuotaUpdateAPIRequest) SetQuotaType(_quotaType int64) error
SetQuotaType is QuotaType Setter 库存类型,0: 普通库存, 1: 普通保留房库存, 2:协议保留房库存
func (*TaobaoXhotelQuotaUpdateAPIRequest) SetRateId ¶
func (r *TaobaoXhotelQuotaUpdateAPIRequest) SetRateId(_rateId int64) error
SetRateId is RateId Setter rate的id, rate库存时必填
func (*TaobaoXhotelQuotaUpdateAPIRequest) SetUseRoomInventory ¶
func (r *TaobaoXhotelQuotaUpdateAPIRequest) SetUseRoomInventory(_useRoomInventory bool) error
SetUseRoomInventory is UseRoomInventory Setter 是否使用room库存,true使用,false不使用
type TaobaoXhotelQuotaUpdateAPIResponse ¶
type TaobaoXhotelQuotaUpdateAPIResponse struct { model.CommonResponse TaobaoXhotelQuotaUpdateAPIResponseModel }
TaobaoXhotelQuotaUpdateAPIResponse 库存更新接口 API返回值 taobao.xhotel.quota.update
库存更新接口
type TaobaoXhotelQuotaUpdateAPIResponseModel ¶
type TaobaoXhotelQuotaUpdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_quota_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 更新失败补充描述消息 WarnMessage string `json:"warn_message,omitempty" xml:"warn_message,omitempty"` // errorCode BizErrorCode string `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"` // 更新失败错误信息 BizErrorMsg string `json:"biz_error_msg,omitempty" xml:"biz_error_msg,omitempty"` }
TaobaoXhotelQuotaUpdateAPIResponseModel is 库存更新接口 成功返回结果
type TaobaoXhotelRateAddAPIRequest ¶
type TaobaoXhotelRateAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRateAddAPIRequest 新增专享房价 API请求 taobao.xhotel.rate.add
酒店产品库rate添加
func NewTaobaoXhotelRateAddRequest ¶
func NewTaobaoXhotelRateAddRequest() *TaobaoXhotelRateAddAPIRequest
NewTaobaoXhotelRateAddRequest 初始化TaobaoXhotelRateAddAPIRequest对象
func (TaobaoXhotelRateAddAPIRequest) GetAddBed ¶
func (r TaobaoXhotelRateAddAPIRequest) GetAddBed() int64
GetAddBed AddBed Getter
func (TaobaoXhotelRateAddAPIRequest) GetAddBedPrice ¶
func (r TaobaoXhotelRateAddAPIRequest) GetAddBedPrice() int64
GetAddBedPrice AddBedPrice Getter
func (TaobaoXhotelRateAddAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRateAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRateAddAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRateAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRateAddAPIRequest) GetCurrencyCode ¶
func (r TaobaoXhotelRateAddAPIRequest) GetCurrencyCode() int64
GetCurrencyCode CurrencyCode Getter
func (TaobaoXhotelRateAddAPIRequest) GetCurrencyCodeName ¶
func (r TaobaoXhotelRateAddAPIRequest) GetCurrencyCodeName() string
GetCurrencyCodeName CurrencyCodeName Getter
func (TaobaoXhotelRateAddAPIRequest) GetGid ¶
func (r TaobaoXhotelRateAddAPIRequest) GetGid() int64
GetGid Gid Getter
func (TaobaoXhotelRateAddAPIRequest) GetInventoryPrice ¶
func (r TaobaoXhotelRateAddAPIRequest) GetInventoryPrice() string
GetInventoryPrice InventoryPrice Getter
func (TaobaoXhotelRateAddAPIRequest) GetJishiquerenTag ¶
func (r TaobaoXhotelRateAddAPIRequest) GetJishiquerenTag() int64
GetJishiquerenTag JishiquerenTag Getter
func (TaobaoXhotelRateAddAPIRequest) GetLockEndTime ¶
func (r TaobaoXhotelRateAddAPIRequest) GetLockEndTime() string
GetLockEndTime LockEndTime Getter
func (TaobaoXhotelRateAddAPIRequest) GetLockStartTime ¶
func (r TaobaoXhotelRateAddAPIRequest) GetLockStartTime() string
GetLockStartTime LockStartTime Getter
func (TaobaoXhotelRateAddAPIRequest) GetName ¶
func (r TaobaoXhotelRateAddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoXhotelRateAddAPIRequest) GetOnlineBookingBindingInfo ¶
func (r TaobaoXhotelRateAddAPIRequest) GetOnlineBookingBindingInfo() string
GetOnlineBookingBindingInfo OnlineBookingBindingInfo Getter
func (TaobaoXhotelRateAddAPIRequest) GetOperator ¶
func (r TaobaoXhotelRateAddAPIRequest) GetOperator() string
GetOperator Operator Getter
func (TaobaoXhotelRateAddAPIRequest) GetOutRid ¶
func (r TaobaoXhotelRateAddAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoXhotelRateAddAPIRequest) GetRateSwitchCal ¶
func (r TaobaoXhotelRateAddAPIRequest) GetRateSwitchCal() string
GetRateSwitchCal RateSwitchCal Getter
func (TaobaoXhotelRateAddAPIRequest) GetRateplanCode ¶
func (r TaobaoXhotelRateAddAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoXhotelRateAddAPIRequest) GetRpid ¶
func (r TaobaoXhotelRateAddAPIRequest) GetRpid() int64
GetRpid Rpid Getter
func (TaobaoXhotelRateAddAPIRequest) GetShijiaTag ¶
func (r TaobaoXhotelRateAddAPIRequest) GetShijiaTag() int64
GetShijiaTag ShijiaTag Getter
func (TaobaoXhotelRateAddAPIRequest) GetSource ¶
func (r TaobaoXhotelRateAddAPIRequest) GetSource() int64
GetSource Source Getter
func (TaobaoXhotelRateAddAPIRequest) GetStatus ¶
func (r TaobaoXhotelRateAddAPIRequest) GetStatus() int64
GetStatus Status Getter
func (TaobaoXhotelRateAddAPIRequest) GetVendor ¶
func (r TaobaoXhotelRateAddAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelRateAddAPIRequest) SetAddBed ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetAddBed(_addBed int64) error
SetAddBed is AddBed Setter 额外服务-是否可以加床,1:不可以,2:可以
func (*TaobaoXhotelRateAddAPIRequest) SetAddBedPrice ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetAddBedPrice(_addBedPrice int64) error
SetAddBedPrice is AddBedPrice Setter 额外服务-加床价格
func (*TaobaoXhotelRateAddAPIRequest) SetCurrencyCode ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetCurrencyCode(_currencyCode int64) error
SetCurrencyCode is CurrencyCode Setter 币种(仅支持CNY)
func (*TaobaoXhotelRateAddAPIRequest) SetCurrencyCodeName ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetCurrencyCodeName(_currencyCodeName string) error
SetCurrencyCodeName is CurrencyCodeName Setter 币种信息,默认是CNY, @see com.taobao.trip.hotel.model.enums.CurrencyEnum
func (*TaobaoXhotelRateAddAPIRequest) SetGid ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetGid(_gid int64) error
SetGid is Gid Setter gid酒店商品id
func (*TaobaoXhotelRateAddAPIRequest) SetInventoryPrice ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetInventoryPrice(_inventoryPrice string) error
SetInventoryPrice is InventoryPrice Setter 价格和库存信息。A:use_room_inventory:是否使用room级别共享库存,可选值 true false 1、true时:使用room级别共享库存(即使用gid对应的XRoom中的inventory),rate_quota_map 的json 数据中不需要录入库存信息,录入的库存信息会忽略 2、false时:使用rate级别私有库存,此时要求价格和库存必填。B:date 日期必须为 T---T+90 日内的日期(T为当天),且不能重复C:price 价格 int类型 取值范围1-99999999 单位为分D:quota 库存 int 类型 取值范围 0-999(数量库存) 60000(状态库存关) 61000(状态库存开)
func (*TaobaoXhotelRateAddAPIRequest) SetJishiquerenTag ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetJishiquerenTag(_jishiquerenTag int64) error
SetJishiquerenTag is JishiquerenTag Setter “即时确认”标识,此类商品预订后直接发货。
func (*TaobaoXhotelRateAddAPIRequest) SetLockEndTime ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetLockEndTime(_lockEndTime string) error
SetLockEndTime is LockEndTime Setter 锁库存截止时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)
func (*TaobaoXhotelRateAddAPIRequest) SetLockStartTime ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetLockStartTime(_lockStartTime string) error
SetLockStartTime is LockStartTime Setter 锁库存开始时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)
func (*TaobaoXhotelRateAddAPIRequest) SetName ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetName(_name string) error
SetName is Name Setter 名称
func (*TaobaoXhotelRateAddAPIRequest) SetOnlineBookingBindingInfo ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error
SetOnlineBookingBindingInfo is OnlineBookingBindingInfo Setter 在线预约关联关系推送,priceRuleNumber:加价规则序号
func (*TaobaoXhotelRateAddAPIRequest) SetOperator ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetOperator(_operator string) error
SetOperator is Operator Setter 操作人信息
func (*TaobaoXhotelRateAddAPIRequest) SetOutRid ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 卖家房型ID, 这是卖家自己系统中的房型ID,注意:需按照规则组合
func (*TaobaoXhotelRateAddAPIRequest) SetRateSwitchCal ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetRateSwitchCal(_rateSwitchCal string) error
SetRateSwitchCal is RateSwitchCal Setter 在添加新rate时,同时添加rate开关日历。可以只设定想设定的某些天,可以不连续。date:开关状态控制的是那一天rate_status:开关状态。0,关闭;1,打开
func (*TaobaoXhotelRateAddAPIRequest) SetRateplanCode ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 卖家自己系统的Code,简称RateCode
func (*TaobaoXhotelRateAddAPIRequest) SetRpid ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetRpid(_rpid int64) error
SetRpid is Rpid Setter 酒店RPID
func (*TaobaoXhotelRateAddAPIRequest) SetShijiaTag ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetShijiaTag(_shijiaTag int64) error
SetShijiaTag is ShijiaTag Setter 实价有房标签(RP支付类型为全额支付)
func (*TaobaoXhotelRateAddAPIRequest) SetSource ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetSource(_source int64) error
SetSource is Source Setter 默认是2 ,
func (*TaobaoXhotelRateAddAPIRequest) SetStatus ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 1是开,0是关, 不填默认是开, rate状态
func (*TaobaoXhotelRateAddAPIRequest) SetVendor ¶
func (r *TaobaoXhotelRateAddAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 用于标示该宝贝的售卖渠道信息,允许同一个卖家酒店房型在淘宝系统发布多个售卖渠道的宝贝的价格。
type TaobaoXhotelRateAddAPIResponse ¶
type TaobaoXhotelRateAddAPIResponse struct { model.CommonResponse TaobaoXhotelRateAddAPIResponseModel }
TaobaoXhotelRateAddAPIResponse 新增专享房价 API返回值 taobao.xhotel.rate.add
酒店产品库rate添加
type TaobaoXhotelRateAddAPIResponseModel ¶
type TaobaoXhotelRateAddAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_rate_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // results Results []string `json:"results,omitempty" xml:"results>string,omitempty"` // 酒店商品id-酒店rpID GidAndRpid string `json:"gid_and_rpid,omitempty" xml:"gid_and_rpid,omitempty"` // warnMessage WarnMessage string `json:"warn_message,omitempty" xml:"warn_message,omitempty"` }
TaobaoXhotelRateAddAPIResponseModel is 新增专享房价 成功返回结果
type TaobaoXhotelRateDeleteAPIRequest ¶
type TaobaoXhotelRateDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRateDeleteAPIRequest rate删除接口 API请求 taobao.xhotel.rate.delete
酒店产品库rate删除
func NewTaobaoXhotelRateDeleteRequest ¶
func NewTaobaoXhotelRateDeleteRequest() *TaobaoXhotelRateDeleteAPIRequest
NewTaobaoXhotelRateDeleteRequest 初始化TaobaoXhotelRateDeleteAPIRequest对象
func (TaobaoXhotelRateDeleteAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRateDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRateDeleteAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRateDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRateDeleteAPIRequest) GetOutRid ¶
func (r TaobaoXhotelRateDeleteAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoXhotelRateDeleteAPIRequest) GetRateplanCode ¶
func (r TaobaoXhotelRateDeleteAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoXhotelRateDeleteAPIRequest) GetVendor ¶
func (r TaobaoXhotelRateDeleteAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelRateDeleteAPIRequest) SetOutRid ¶
func (r *TaobaoXhotelRateDeleteAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 商家房型ID
func (*TaobaoXhotelRateDeleteAPIRequest) SetRateplanCode ¶
func (r *TaobaoXhotelRateDeleteAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 商家价格政策编码
func (*TaobaoXhotelRateDeleteAPIRequest) SetVendor ¶
func (r *TaobaoXhotelRateDeleteAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不用填写,使用须申请
type TaobaoXhotelRateDeleteAPIResponse ¶
type TaobaoXhotelRateDeleteAPIResponse struct { model.CommonResponse TaobaoXhotelRateDeleteAPIResponseModel }
TaobaoXhotelRateDeleteAPIResponse rate删除接口 API返回值 taobao.xhotel.rate.delete
酒店产品库rate删除
type TaobaoXhotelRateDeleteAPIResponseModel ¶
type TaobaoXhotelRateDeleteAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_rate_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoXhotelRateDeleteResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelRateDeleteAPIResponseModel is rate删除接口 成功返回结果
type TaobaoXhotelRateDeleteResultSet ¶
type TaobaoXhotelRateDeleteResultSet struct { // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // rateid-房型id-房价id RateidGidRpid string `json:"rateid_gid_rpid,omitempty" xml:"rateid_gid_rpid,omitempty"` }
TaobaoXhotelRateDeleteResultSet 结构体
type TaobaoXhotelRateGetAPIRequest ¶
type TaobaoXhotelRateGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRateGetAPIRequest 酒店产品库rate查询 API请求 taobao.xhotel.rate.get
酒店产品库rate查询
func NewTaobaoXhotelRateGetRequest ¶
func NewTaobaoXhotelRateGetRequest() *TaobaoXhotelRateGetAPIRequest
NewTaobaoXhotelRateGetRequest 初始化TaobaoXhotelRateGetAPIRequest对象
func (TaobaoXhotelRateGetAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRateGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRateGetAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRateGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRateGetAPIRequest) GetGid ¶
func (r TaobaoXhotelRateGetAPIRequest) GetGid() int64
GetGid Gid Getter
func (TaobaoXhotelRateGetAPIRequest) GetOutRid ¶
func (r TaobaoXhotelRateGetAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoXhotelRateGetAPIRequest) GetRateId ¶
func (r TaobaoXhotelRateGetAPIRequest) GetRateId() int64
GetRateId RateId Getter
func (TaobaoXhotelRateGetAPIRequest) GetRateplanCode ¶
func (r TaobaoXhotelRateGetAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoXhotelRateGetAPIRequest) GetRpid ¶
func (r TaobaoXhotelRateGetAPIRequest) GetRpid() int64
GetRpid Rpid Getter
func (TaobaoXhotelRateGetAPIRequest) GetVendor ¶
func (r TaobaoXhotelRateGetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelRateGetAPIRequest) SetGid ¶
func (r *TaobaoXhotelRateGetAPIRequest) SetGid(_gid int64) error
SetGid is Gid Setter gid酒店商品id
func (*TaobaoXhotelRateGetAPIRequest) SetOutRid ¶
func (r *TaobaoXhotelRateGetAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 卖家房型ID, 这是卖家自己系统中的房型ID 注意:需要按照规则组合
func (*TaobaoXhotelRateGetAPIRequest) SetRateId ¶
func (r *TaobaoXhotelRateGetAPIRequest) SetRateId(_rateId int64) error
SetRateId is RateId Setter RateID
func (*TaobaoXhotelRateGetAPIRequest) SetRateplanCode ¶
func (r *TaobaoXhotelRateGetAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 卖家自己系统的Code,简称RateCode
func (*TaobaoXhotelRateGetAPIRequest) SetRpid ¶
func (r *TaobaoXhotelRateGetAPIRequest) SetRpid(_rpid int64) error
SetRpid is Rpid Setter 酒店RPID
func (*TaobaoXhotelRateGetAPIRequest) SetVendor ¶
func (r *TaobaoXhotelRateGetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 用于标示该宝贝的售卖渠道信息,允许同一个卖家酒店房型在淘宝系统发布多个售卖渠道的宝贝的价格。
type TaobaoXhotelRateGetAPIResponse ¶
type TaobaoXhotelRateGetAPIResponse struct { model.CommonResponse TaobaoXhotelRateGetAPIResponseModel }
TaobaoXhotelRateGetAPIResponse 酒店产品库rate查询 API返回值 taobao.xhotel.rate.get
酒店产品库rate查询
type TaobaoXhotelRateGetAPIResponseModel ¶
type TaobaoXhotelRateGetAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_rate_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // rate Rate *Rate `json:"rate,omitempty" xml:"rate,omitempty"` }
TaobaoXhotelRateGetAPIResponseModel is 酒店产品库rate查询 成功返回结果
type TaobaoXhotelRateRelationshipwithroomGetAPIRequest ¶
type TaobaoXhotelRateRelationshipwithroomGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRateRelationshipwithroomGetAPIRequest 查询rpId API请求 taobao.xhotel.rate.relationshipwithroom.get
某个卖家根据rpId查询所有的gid,可分页,不填分页信息则默认显示第一页。
func NewTaobaoXhotelRateRelationshipwithroomGetRequest ¶
func NewTaobaoXhotelRateRelationshipwithroomGetRequest() *TaobaoXhotelRateRelationshipwithroomGetAPIRequest
NewTaobaoXhotelRateRelationshipwithroomGetRequest 初始化TaobaoXhotelRateRelationshipwithroomGetAPIRequest对象
func (TaobaoXhotelRateRelationshipwithroomGetAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRateRelationshipwithroomGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRateRelationshipwithroomGetAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRateRelationshipwithroomGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRateRelationshipwithroomGetAPIRequest) GetPageNo ¶
func (r TaobaoXhotelRateRelationshipwithroomGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoXhotelRateRelationshipwithroomGetAPIRequest) GetRpId ¶
func (r TaobaoXhotelRateRelationshipwithroomGetAPIRequest) GetRpId() int64
GetRpId RpId Getter
func (*TaobaoXhotelRateRelationshipwithroomGetAPIRequest) SetPageNo ¶
func (r *TaobaoXhotelRateRelationshipwithroomGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页数
func (*TaobaoXhotelRateRelationshipwithroomGetAPIRequest) SetRpId ¶
func (r *TaobaoXhotelRateRelationshipwithroomGetAPIRequest) SetRpId(_rpId int64) error
SetRpId is RpId Setter rpId
type TaobaoXhotelRateRelationshipwithroomGetAPIResponse ¶
type TaobaoXhotelRateRelationshipwithroomGetAPIResponse struct { model.CommonResponse TaobaoXhotelRateRelationshipwithroomGetAPIResponseModel }
TaobaoXhotelRateRelationshipwithroomGetAPIResponse 查询rpId API返回值 taobao.xhotel.rate.relationshipwithroom.get
某个卖家根据rpId查询所有的gid,可分页,不填分页信息则默认显示第一页。
type TaobaoXhotelRateRelationshipwithroomGetAPIResponseModel ¶
type TaobaoXhotelRateRelationshipwithroomGetAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_rate_relationshipwithroom_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回值 Gids []string `json:"gids,omitempty" xml:"gids>string,omitempty"` // 根据条件所查询的所有结果的总数量 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoXhotelRateRelationshipwithroomGetAPIResponseModel is 查询rpId 成功返回结果
type TaobaoXhotelRateRelationshipwithrpGetAPIRequest ¶
type TaobaoXhotelRateRelationshipwithrpGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRateRelationshipwithrpGetAPIRequest 根据gid查询卖家下所有的rpId API请求 taobao.xhotel.rate.relationshipwithrp.get
根据gid查询卖家下所有的rpId,可分页,默认展示第一页的数据
func NewTaobaoXhotelRateRelationshipwithrpGetRequest ¶
func NewTaobaoXhotelRateRelationshipwithrpGetRequest() *TaobaoXhotelRateRelationshipwithrpGetAPIRequest
NewTaobaoXhotelRateRelationshipwithrpGetRequest 初始化TaobaoXhotelRateRelationshipwithrpGetAPIRequest对象
func (TaobaoXhotelRateRelationshipwithrpGetAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRateRelationshipwithrpGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRateRelationshipwithrpGetAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRateRelationshipwithrpGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRateRelationshipwithrpGetAPIRequest) GetGid ¶
func (r TaobaoXhotelRateRelationshipwithrpGetAPIRequest) GetGid() int64
GetGid Gid Getter
func (TaobaoXhotelRateRelationshipwithrpGetAPIRequest) GetPageNo ¶
func (r TaobaoXhotelRateRelationshipwithrpGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (*TaobaoXhotelRateRelationshipwithrpGetAPIRequest) SetGid ¶
func (r *TaobaoXhotelRateRelationshipwithrpGetAPIRequest) SetGid(_gid int64) error
SetGid is Gid Setter 宝贝的gid
func (*TaobaoXhotelRateRelationshipwithrpGetAPIRequest) SetPageNo ¶
func (r *TaobaoXhotelRateRelationshipwithrpGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页数,可根据此值展示某页的数据。不填默认为1
type TaobaoXhotelRateRelationshipwithrpGetAPIResponse ¶
type TaobaoXhotelRateRelationshipwithrpGetAPIResponse struct { model.CommonResponse TaobaoXhotelRateRelationshipwithrpGetAPIResponseModel }
TaobaoXhotelRateRelationshipwithrpGetAPIResponse 根据gid查询卖家下所有的rpId API返回值 taobao.xhotel.rate.relationshipwithrp.get
根据gid查询卖家下所有的rpId,可分页,默认展示第一页的数据
type TaobaoXhotelRateRelationshipwithrpGetAPIResponseModel ¶
type TaobaoXhotelRateRelationshipwithrpGetAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_rate_relationshipwithrp_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 所查询出的结果,是一个字符串数组 RpIds []string `json:"rp_ids,omitempty" xml:"rp_ids>string,omitempty"` // 根据条件所查询的所有结果的总数量 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoXhotelRateRelationshipwithrpGetAPIResponseModel is 根据gid查询卖家下所有的rpId 成功返回结果
type TaobaoXhotelRateUpdateAPIRequest ¶
type TaobaoXhotelRateUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRateUpdateAPIRequest 价格推送接口(全量更新) API请求 taobao.xhotel.rate.update
酒店产品库rate更新
func NewTaobaoXhotelRateUpdateRequest ¶
func NewTaobaoXhotelRateUpdateRequest() *TaobaoXhotelRateUpdateAPIRequest
NewTaobaoXhotelRateUpdateRequest 初始化TaobaoXhotelRateUpdateAPIRequest对象
func (TaobaoXhotelRateUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRateUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRateUpdateAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRateUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRateUpdateAPIRequest) GetInventoryPrice ¶
func (r TaobaoXhotelRateUpdateAPIRequest) GetInventoryPrice() string
GetInventoryPrice InventoryPrice Getter
func (TaobaoXhotelRateUpdateAPIRequest) GetLockEndTime ¶
func (r TaobaoXhotelRateUpdateAPIRequest) GetLockEndTime() string
GetLockEndTime LockEndTime Getter
func (TaobaoXhotelRateUpdateAPIRequest) GetLockStartTime ¶
func (r TaobaoXhotelRateUpdateAPIRequest) GetLockStartTime() string
GetLockStartTime LockStartTime Getter
func (TaobaoXhotelRateUpdateAPIRequest) GetOnlineBookingBindingInfo ¶
func (r TaobaoXhotelRateUpdateAPIRequest) GetOnlineBookingBindingInfo() string
GetOnlineBookingBindingInfo OnlineBookingBindingInfo Getter
func (TaobaoXhotelRateUpdateAPIRequest) GetOutRid ¶
func (r TaobaoXhotelRateUpdateAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoXhotelRateUpdateAPIRequest) GetRateSwitchCal ¶
func (r TaobaoXhotelRateUpdateAPIRequest) GetRateSwitchCal() string
GetRateSwitchCal RateSwitchCal Getter
func (TaobaoXhotelRateUpdateAPIRequest) GetRateplanCode ¶
func (r TaobaoXhotelRateUpdateAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoXhotelRateUpdateAPIRequest) GetVendor ¶
func (r TaobaoXhotelRateUpdateAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelRateUpdateAPIRequest) SetInventoryPrice ¶
func (r *TaobaoXhotelRateUpdateAPIRequest) SetInventoryPrice(_inventoryPrice string) error
SetInventoryPrice is InventoryPrice Setter 每日价格和房价专有库存信息。A:use_room_inventory:是否使用room级别共享库存,可选值 true false 1、true时:使用room级别共享库存(即使用gid对应的XRoom中的inventory),rate_quota_map 的json 数据中不需要录入库存信息,录入的库存信息会忽略 2、false时:使用rate级别私有库存,此时要求价格和库存必填。B:date 日期必须为 T---T+180 日内的日期(T为当天),且不能重复C:price 价格 int类型 取值范围1-99999999 单位为分D:quota 库存 int 类型 取值范围 0-999(数量库存) 60000(状态库存关) 61000(状态库存开)
func (*TaobaoXhotelRateUpdateAPIRequest) SetLockEndTime ¶
func (r *TaobaoXhotelRateUpdateAPIRequest) SetLockEndTime(_lockEndTime string) error
SetLockEndTime is LockEndTime Setter 锁库存截止时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)
func (*TaobaoXhotelRateUpdateAPIRequest) SetLockStartTime ¶
func (r *TaobaoXhotelRateUpdateAPIRequest) SetLockStartTime(_lockStartTime string) error
SetLockStartTime is LockStartTime Setter 锁库存开始时间,如果当前时间是在锁库存开始时间和截止时间之间,那么不允许修改该活动库存(包含开始时间和截止时间)
func (*TaobaoXhotelRateUpdateAPIRequest) SetOnlineBookingBindingInfo ¶
func (r *TaobaoXhotelRateUpdateAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error
SetOnlineBookingBindingInfo is OnlineBookingBindingInfo Setter 在线预约关联关系推送,priceRuleNumber:加价规则序号
func (*TaobaoXhotelRateUpdateAPIRequest) SetOutRid ¶
func (r *TaobaoXhotelRateUpdateAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 商家房型ID
func (*TaobaoXhotelRateUpdateAPIRequest) SetRateSwitchCal ¶
func (r *TaobaoXhotelRateUpdateAPIRequest) SetRateSwitchCal(_rateSwitchCal string) error
SetRateSwitchCal is RateSwitchCal Setter 日历价格开关, date:开关状态控制的是那一天 rate_status:开关状态。0,关闭;1,打开
func (*TaobaoXhotelRateUpdateAPIRequest) SetRateplanCode ¶
func (r *TaobaoXhotelRateUpdateAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 商家价格计划编码
func (*TaobaoXhotelRateUpdateAPIRequest) SetVendor ¶
func (r *TaobaoXhotelRateUpdateAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不用填写,使用需要申请
type TaobaoXhotelRateUpdateAPIResponse ¶
type TaobaoXhotelRateUpdateAPIResponse struct { model.CommonResponse TaobaoXhotelRateUpdateAPIResponseModel }
TaobaoXhotelRateUpdateAPIResponse 价格推送接口(全量更新) API返回值 taobao.xhotel.rate.update
酒店产品库rate更新
type TaobaoXhotelRateUpdateAPIResponseModel ¶
type TaobaoXhotelRateUpdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_rate_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 酒店商品ID-酒店RPid GidAndRpid string `json:"gid_and_rpid,omitempty" xml:"gid_and_rpid,omitempty"` }
TaobaoXhotelRateUpdateAPIResponseModel is 价格推送接口(全量更新) 成功返回结果
type TaobaoXhotelRateplanAddAPIRequest ¶
type TaobaoXhotelRateplanAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRateplanAddAPIRequest 酒店产品库rateplan添加 API请求 taobao.xhotel.rateplan.add
酒店产品库rateplan
func NewTaobaoXhotelRateplanAddRequest ¶
func NewTaobaoXhotelRateplanAddRequest() *TaobaoXhotelRateplanAddAPIRequest
NewTaobaoXhotelRateplanAddRequest 初始化TaobaoXhotelRateplanAddAPIRequest对象
func (TaobaoXhotelRateplanAddAPIRequest) GetActivityType ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetActivityType() string
GetActivityType ActivityType Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetAgreement ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetAgreement() int64
GetAgreement Agreement Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetAllotmentReleaseTime ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetAllotmentReleaseTime() string
GetAllotmentReleaseTime AllotmentReleaseTime Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRateplanAddAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRateplanAddAPIRequest) GetBaseRpFlag ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetBaseRpFlag() int64
GetBaseRpFlag BaseRpFlag Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetBottomPriceFlag ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetBottomPriceFlag() int64
GetBottomPriceFlag BottomPriceFlag Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetBreakfastCal ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetBreakfastCal() string
GetBreakfastCal BreakfastCal Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetBreakfastCount ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetBreakfastCount() int64
GetBreakfastCount BreakfastCount Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetCanCheckinEnd ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetCanCheckinEnd() string
GetCanCheckinEnd CanCheckinEnd Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetCanCheckinStart ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetCanCheckinStart() string
GetCanCheckinStart CanCheckinStart Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetCanCheckoutEnd ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetCanCheckoutEnd() string
GetCanCheckoutEnd CanCheckoutEnd Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetCancelBeforeDay ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetCancelBeforeDay() int64
GetCancelBeforeDay CancelBeforeDay Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetCancelBeforeHour ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetCancelBeforeHour() string
GetCancelBeforeHour CancelBeforeHour Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetCancelPolicy ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetCancelPolicy() string
GetCancelPolicy CancelPolicy Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetCancelPolicyCal ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetCancelPolicyCal() string
GetCancelPolicyCal CancelPolicyCal Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetChannel ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetChannel() string
GetChannel Channel Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetCommonAllotReleaseTime ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetCommonAllotReleaseTime() string
GetCommonAllotReleaseTime CommonAllotReleaseTime Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetDeadlineTime ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetDeadlineTime() string
GetDeadlineTime DeadlineTime Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetDinningDesc ¶ added in v1.2.5
func (r TaobaoXhotelRateplanAddAPIRequest) GetDinningDesc() string
GetDinningDesc DinningDesc Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetEffectiveTime ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetEffectiveTime() string
GetEffectiveTime EffectiveTime Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetEndTime ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetEnglishName ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetEnglishName() string
GetEnglishName EnglishName Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetExtend ¶ added in v1.2.5
func (r TaobaoXhotelRateplanAddAPIRequest) GetExtend() string
GetExtend Extend Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetExtendFee ¶ added in v1.2.5
func (r TaobaoXhotelRateplanAddAPIRequest) GetExtendFee() string
GetExtendFee ExtendFee Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetFeeBreakfastAmount ¶ added in v1.2.5
func (r TaobaoXhotelRateplanAddAPIRequest) GetFeeBreakfastAmount() int64
GetFeeBreakfastAmount FeeBreakfastAmount Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetFeeBreakfastCount ¶ added in v1.2.5
func (r TaobaoXhotelRateplanAddAPIRequest) GetFeeBreakfastCount() int64
GetFeeBreakfastCount FeeBreakfastCount Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetFeeGovTaxAmount ¶ added in v1.2.5
func (r TaobaoXhotelRateplanAddAPIRequest) GetFeeGovTaxAmount() int64
GetFeeGovTaxAmount FeeGovTaxAmount Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetFeeGovTaxPercent ¶ added in v1.2.5
func (r TaobaoXhotelRateplanAddAPIRequest) GetFeeGovTaxPercent() int64
GetFeeGovTaxPercent FeeGovTaxPercent Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetFeeServiceAmount ¶ added in v1.2.5
func (r TaobaoXhotelRateplanAddAPIRequest) GetFeeServiceAmount() int64
GetFeeServiceAmount FeeServiceAmount Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetFeeServicePercent ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetFeeServicePercent() int64
GetFeeServicePercent FeeServicePercent Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetFirstStay ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetFirstStay() int64
GetFirstStay FirstStay Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetFreeRoomChargeDstRole ¶ added in v1.2.5
func (r TaobaoXhotelRateplanAddAPIRequest) GetFreeRoomChargeDstRole() string
GetFreeRoomChargeDstRole FreeRoomChargeDstRole Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetGuaranteeCal ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetGuaranteeCal() string
GetGuaranteeCal GuaranteeCal Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetGuaranteeMode ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetGuaranteeMode() int64
GetGuaranteeMode GuaranteeMode Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetGuaranteeStartTime ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetGuaranteeStartTime() string
GetGuaranteeStartTime GuaranteeStartTime Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetGuaranteeType ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetGuaranteeType() int64
GetGuaranteeType GuaranteeType Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetGuestLimit ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetGuestLimit() string
GetGuestLimit GuestLimit Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetHid ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetHourage ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetHourage() string
GetHourage Hourage Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetIsStudent ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetIsStudent() int64
GetIsStudent IsStudent Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetMaxAdvHours ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetMaxAdvHours() int64
GetMaxAdvHours MaxAdvHours Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetMaxChildAge ¶ added in v1.2.5
func (r TaobaoXhotelRateplanAddAPIRequest) GetMaxChildAge() int64
GetMaxChildAge MaxChildAge Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetMaxDays ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetMaxDays() int64
GetMaxDays MaxDays Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetMaxInfantAge ¶ added in v1.2.5
func (r TaobaoXhotelRateplanAddAPIRequest) GetMaxInfantAge() int64
GetMaxInfantAge MaxInfantAge Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetMemDiscFlag ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetMemDiscFlag() int64
GetMemDiscFlag MemDiscFlag Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetMemberDiscountCal ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetMemberDiscountCal() string
GetMemberDiscountCal MemberDiscountCal Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetMemberLevel ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetMemberLevel() string
GetMemberLevel MemberLevel Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetMinAdvHours ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetMinAdvHours() int64
GetMinAdvHours MinAdvHours Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetMinAmount ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetMinAmount() int64
GetMinAmount MinAmount Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetMinChildAge ¶ added in v1.2.5
func (r TaobaoXhotelRateplanAddAPIRequest) GetMinChildAge() int64
GetMinChildAge MinChildAge Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetMinDays ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetMinDays() int64
GetMinDays MinDays Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetMinInfantAge ¶ added in v1.2.5
func (r TaobaoXhotelRateplanAddAPIRequest) GetMinInfantAge() int64
GetMinInfantAge MinInfantAge Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetName ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetOccupancy ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetOccupancy() int64
GetOccupancy Occupancy Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetOnlineBookingBindingInfo ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetOnlineBookingBindingInfo() string
GetOnlineBookingBindingInfo OnlineBookingBindingInfo Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetOperator ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetOperator() string
GetOperator Operator Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetOutHid ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetOutRid ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetParentRpCode ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetParentRpCode() string
GetParentRpCode ParentRpCode Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetParentRpid ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetParentRpid() int64
GetParentRpid ParentRpid Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetPaymentType ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetPaymentType() int64
GetPaymentType PaymentType Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetRateplanCode ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetResourceType ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetResourceType() string
GetResourceType ResourceType Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetRid ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetRid() int64
GetRid Rid Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetRights ¶ added in v1.2.5
func (r TaobaoXhotelRateplanAddAPIRequest) GetRights() string
GetRights Rights Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetRpType ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetRpType() string
GetRpType RpType Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetSource ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetSource() int64
GetSource Source Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetStartTime ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetStatus ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetStatus() int64
GetStatus Status Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetSuperRpFlag ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetSuperRpFlag() int64
GetSuperRpFlag SuperRpFlag Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetTagJson ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetTagJson() string
GetTagJson TagJson Getter
func (TaobaoXhotelRateplanAddAPIRequest) GetVendor ¶
func (r TaobaoXhotelRateplanAddAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelRateplanAddAPIRequest) SetActivityType ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetActivityType(_activityType string) error
SetActivityType is ActivityType Setter RP参与的活动,3为尾房,4超级房券,8直连免房
func (*TaobaoXhotelRateplanAddAPIRequest) SetAgreement ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetAgreement(_agreement int64) error
SetAgreement is Agreement Setter 废弃。价格类型字段:0.非协议价;1.集采协议价;如果不是协议价,请不要填写该字段。该字段有权限控制,如需使用,请联系阿里旅行运营。 如果不填写或者填写为0,默认是阿里旅行价
func (*TaobaoXhotelRateplanAddAPIRequest) SetAllotmentReleaseTime ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetAllotmentReleaseTime(_allotmentReleaseTime string) error
SetAllotmentReleaseTime is AllotmentReleaseTime Setter 保留房提前x小时自动确认时间,比如设置为6 那么从入住当日24点往前推6小时即18:00以前可以自动确认有房,否则是待确认
func (*TaobaoXhotelRateplanAddAPIRequest) SetBaseRpFlag ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetBaseRpFlag(_baseRpFlag int64) error
SetBaseRpFlag is BaseRpFlag Setter base rp标记,1是;0否
func (*TaobaoXhotelRateplanAddAPIRequest) SetBottomPriceFlag ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetBottomPriceFlag(_bottomPriceFlag int64) error
SetBottomPriceFlag is BottomPriceFlag Setter 是否底价加价,1是底价加价,0 非底价加价rp
func (*TaobaoXhotelRateplanAddAPIRequest) SetBreakfastCal ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetBreakfastCal(_breakfastCal string) error
SetBreakfastCal is BreakfastCal Setter 在添加rateplan时,同时新增早餐日历。date:说明这条记录的早餐政策breakfast_count:这一天早餐的数量。>=-1,<=99。如果date为空,那么会去读取startDate和endDate(格式都为"yyyy-MM-dd"),即早餐正常属于一个时间段。-1为状态早餐,和最终绑定的几人价有关,如果是一人价那么就是我一份早餐,二人价就是两份早餐。请注意,该字段仅能维护从当前时间开始,10年以内的数据,如果超过10年,会报错。
func (*TaobaoXhotelRateplanAddAPIRequest) SetBreakfastCount ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetBreakfastCount(_breakfastCount int64) error
SetBreakfastCount is BreakfastCount Setter -1:状态早餐,有具体几人价有关系,几人价是几份早餐;0:不含早1:含单早2:含双早N:含N早(-1-99可选)
func (*TaobaoXhotelRateplanAddAPIRequest) SetCanCheckinEnd ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetCanCheckinEnd(_canCheckinEnd string) error
SetCanCheckinEnd is CanCheckinEnd Setter 最早可选入住时间,小时房特有字段。格式为HH:mm
func (*TaobaoXhotelRateplanAddAPIRequest) SetCanCheckinStart ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetCanCheckinStart(_canCheckinStart string) error
SetCanCheckinStart is CanCheckinStart Setter 最晚可选入住时间,小时房特有字段。格式为HH:mm
func (*TaobaoXhotelRateplanAddAPIRequest) SetCanCheckoutEnd ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetCanCheckoutEnd(_canCheckoutEnd string) error
SetCanCheckoutEnd is CanCheckoutEnd Setter 最晚可选离店时间,小时房特有字段。格式为HH:mm
func (*TaobaoXhotelRateplanAddAPIRequest) SetCancelBeforeDay ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetCancelBeforeDay(_cancelBeforeDay int64) error
SetCancelBeforeDay is CancelBeforeDay Setter 不推荐使用,使用改规则
func (*TaobaoXhotelRateplanAddAPIRequest) SetCancelBeforeHour ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetCancelBeforeHour(_cancelBeforeHour string) error
SetCancelBeforeHour is CancelBeforeHour Setter 不推荐使用,使用改规则
func (*TaobaoXhotelRateplanAddAPIRequest) SetCancelPolicy ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetCancelPolicy(_cancelPolicy string) error
SetCancelPolicy is CancelPolicy Setter 退订政策字段,是个json串,参考示例值设置改字段的值。允许变更/取消:在XX年XX月XX日XX时前取消收取Y%的手续费,100>Y>=0允许变更/取消:在入住前X小时前取消收取Y%的手续费,100>Y>=0(不超过10条)。1.表示任意退{"cancelPolicyType":1};2.表示不能退{"cancelPolicyType":2};4.从入住当天24点往前推X小时前取消收取Y%手续费,否则不可取消{"cancelPolicyType":4,"policyInfo":{"48":10,"24":20}}表示,从入住日24点往前推提前至少48小时取消,收取10%的手续费,从入住日24点往前推提前至少24小时取消,收取20%的手续费;5.从24点往前推多少小时可退{"cancelPolicyType":5,"policyInfo":{"timeBefore":6}}表示从入住日24点往前推至少6个小时即入住日18点前可免费取消;6.从入住日24点往前推,至少提前小时数扣取首晚房费{"cancelPolicyType":6,"policyInfo":{"14":1}}表示入住日24点往前推14小时,即入住日10点前取消收取首晚房费。 注意:支付类型为预付,那么可以使用所有的退订类型,但是必须是非担保;支付类型为面付或者信任住并且是无担保,那么只能使用1类型的退订;支付类型为面付或者信任住并且为担保,那么只能使用2,5类型的退订;支付类型为在线预约,那么只能使用1,2,5类型的退改。如果支付类型是面付或者信任住并且为担保,那么如果传了4或者6的退订,那么会强制转成类型5。支持多段时间,多间夜扣款。阶梯退手续费限制请查看https://hot.bbs.taobao.com/detail.html?postId=8892814
func (*TaobaoXhotelRateplanAddAPIRequest) SetCancelPolicyCal ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetCancelPolicyCal(_cancelPolicyCal string) error
SetCancelPolicyCal is CancelPolicyCal Setter 在新增rateplan的同时新增取消政策日历。 json格式。 date:日历的某一天,格式为"yyyy-MM-dd" cancel_policy:日历某一天的价格政策。格式和限制同cancel_policy。 如果date为空,那么会读取startDate和endDate(格式都为"yyyy-MM-dd"),即取消政策属于某一个时间段。 注意:支付类型为预付,那么可以使用所有的退订类型,但是必须是非担保;支付类型为面付或者信任住并且是无担保,那么只能使用1类型的退订;支付类型为面付或者信任住并且为担保,那么只能使用2,5类型的退订;支付类型为在线预约,那么只能使用1,2,5类型的退改。如果支付类型是面付或者信任住并且为担保,那么如果传了4或者6的退订,那么会强制转成类型5。请注意,该字段仅能维护从当前时间开始,10年以内的数据,如果超过10年,会报错。阶梯退手续费限制请查看https://hot.bbs.taobao.com/detail.html?postId=8892814
func (*TaobaoXhotelRateplanAddAPIRequest) SetChannel ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetChannel(_channel string) error
SetChannel is Channel Setter 销售渠道。如需开通,需要申请权限。目前支持的渠道有 H:飞猪 O:钉钉商旅 A:集团内部商旅 M:无线专享价 V:度假。如果只投放飞猪,改字段不用填写或者只填H;如果有多个用","分开。如果需要投放其他渠道,请联系飞猪运营或者技术支持。
func (*TaobaoXhotelRateplanAddAPIRequest) SetCommonAllotReleaseTime ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetCommonAllotReleaseTime(_commonAllotReleaseTime string) error
SetCommonAllotReleaseTime is CommonAllotReleaseTime Setter 普通保留房提前x小时自动确认时间,比如设置为6 那么从入住当日24点往前推6小时即18:00以前可以自动确认有房,否则是待确认
func (*TaobaoXhotelRateplanAddAPIRequest) SetDeadlineTime ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetDeadlineTime(_deadlineTime string) error
SetDeadlineTime is DeadlineTime Setter 生效截止时间,用来控制此rateplan生效的截止时间,配合字段effective_time一起限定rp的有效期
func (*TaobaoXhotelRateplanAddAPIRequest) SetDinningDesc ¶ added in v1.2.5
func (r *TaobaoXhotelRateplanAddAPIRequest) SetDinningDesc(_dinningDesc string) error
SetDinningDesc is DinningDesc Setter 餐食描述
func (*TaobaoXhotelRateplanAddAPIRequest) SetEffectiveTime ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetEffectiveTime(_effectiveTime string) error
SetEffectiveTime is EffectiveTime Setter 生效开始时间,用来控制此rateplan生效的开始时间,配合字段deadline_time一起限定rp的有效期
func (*TaobaoXhotelRateplanAddAPIRequest) SetEndTime ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 产品每日结束销售时间,当end_time<start_time时,表示end_time为第二天,此时附加限制end_time<=06:00:00并且start_time>=12:00:00,表明可售时间从当天12点到次日的凌晨6点(扩展此信息主要为了描述尾房的rp)注意start_time一定是当天的时间。尾房18:00起可售
func (*TaobaoXhotelRateplanAddAPIRequest) SetEnglishName ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetEnglishName(_englishName string) error
SetEnglishName is EnglishName Setter RP的英文名称
func (*TaobaoXhotelRateplanAddAPIRequest) SetExtend ¶ added in v1.2.5
func (r *TaobaoXhotelRateplanAddAPIRequest) SetExtend(_extend string) error
SetExtend is Extend Setter 个性化定制扩展信息的JSON。注:此字段的值需要ISV在接入前与淘宝沟通,且确认能解析
func (*TaobaoXhotelRateplanAddAPIRequest) SetExtendFee ¶ added in v1.2.5
func (r *TaobaoXhotelRateplanAddAPIRequest) SetExtendFee(_extendFee string) error
SetExtendFee is ExtendFee Setter 不推荐使用
func (*TaobaoXhotelRateplanAddAPIRequest) SetFeeBreakfastAmount ¶ added in v1.2.5
func (r *TaobaoXhotelRateplanAddAPIRequest) SetFeeBreakfastAmount(_feeBreakfastAmount int64) error
SetFeeBreakfastAmount is FeeBreakfastAmount Setter 不推荐使用
func (*TaobaoXhotelRateplanAddAPIRequest) SetFeeBreakfastCount ¶ added in v1.2.5
func (r *TaobaoXhotelRateplanAddAPIRequest) SetFeeBreakfastCount(_feeBreakfastCount int64) error
SetFeeBreakfastCount is FeeBreakfastCount Setter 废弃
func (*TaobaoXhotelRateplanAddAPIRequest) SetFeeGovTaxAmount ¶ added in v1.2.5
func (r *TaobaoXhotelRateplanAddAPIRequest) SetFeeGovTaxAmount(_feeGovTaxAmount int64) error
SetFeeGovTaxAmount is FeeGovTaxAmount Setter 不推荐使用
func (*TaobaoXhotelRateplanAddAPIRequest) SetFeeGovTaxPercent ¶ added in v1.2.5
func (r *TaobaoXhotelRateplanAddAPIRequest) SetFeeGovTaxPercent(_feeGovTaxPercent int64) error
SetFeeGovTaxPercent is FeeGovTaxPercent Setter 不推荐使用
func (*TaobaoXhotelRateplanAddAPIRequest) SetFeeServiceAmount ¶ added in v1.2.5
func (r *TaobaoXhotelRateplanAddAPIRequest) SetFeeServiceAmount(_feeServiceAmount int64) error
SetFeeServiceAmount is FeeServiceAmount Setter 不推荐使用
func (*TaobaoXhotelRateplanAddAPIRequest) SetFeeServicePercent ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetFeeServicePercent(_feeServicePercent int64) error
SetFeeServicePercent is FeeServicePercent Setter 不推荐使用
func (*TaobaoXhotelRateplanAddAPIRequest) SetFirstStay ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetFirstStay(_firstStay int64) error
SetFirstStay is FirstStay Setter 需申请会员权限。是否是新用户首住优惠rp。1-代表是。0或者不填写代表否
func (*TaobaoXhotelRateplanAddAPIRequest) SetFreeRoomChargeDstRole ¶ added in v1.2.5
func (r *TaobaoXhotelRateplanAddAPIRequest) SetFreeRoomChargeDstRole(_freeRoomChargeDstRole string) error
SetFreeRoomChargeDstRole is FreeRoomChargeDstRole Setter 商业化充值类型 seller充值到卖家 hotel充值到门店
func (*TaobaoXhotelRateplanAddAPIRequest) SetGuaranteeCal ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetGuaranteeCal(_guaranteeCal string) error
SetGuaranteeCal is GuaranteeCal Setter 在新增rateplan的同时,新增担保日历。date:担保日历的某一天。guarantee:担保政策。其中有两个属性:guaranteeType,guaranteeStartTime。 guaranteeType的可选值同guaranteeType字段,详见guaranteeType字段。guaranteeStartTime格式为"HH:mm"。如果date为空,那么会读取startDate和endDate(格式都为"yyyy-MM-dd"),即担保政策属于某一个时间段。(如果设置了峰时担保类型,那么峰时担保时间不能为空,并且必须大于等于8点)。请注意,该字段仅能维护从当前时间开始,10年以内的数据,如果超过10年,会报错。
func (*TaobaoXhotelRateplanAddAPIRequest) SetGuaranteeMode ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetGuaranteeMode(_guaranteeMode int64) error
SetGuaranteeMode is GuaranteeMode Setter 2 VCC担保 1 PCI担保 0 支付宝担保(信用住产品担保方式只能为支付宝担保)
func (*TaobaoXhotelRateplanAddAPIRequest) SetGuaranteeStartTime ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetGuaranteeStartTime(_guaranteeStartTime string) error
SetGuaranteeStartTime is GuaranteeStartTime Setter 分时担保每日开始担保时间。 (如果设置了峰时担保类型,那么峰时担保时间不能为空,并且必须大于等于8点)
func (*TaobaoXhotelRateplanAddAPIRequest) SetGuaranteeType ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetGuaranteeType(_guaranteeType int64) error
SetGuaranteeType is GuaranteeType Setter 担保类型,只支持: 0 无担保 1 峰时首晚担保 2峰时全额担保 3全天首晚担保 4全天全额担保
func (*TaobaoXhotelRateplanAddAPIRequest) SetGuestLimit ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetGuestLimit(_guestLimit string) error
SetGuestLimit is GuestLimit Setter RP入住人限制信息。JSON格式
func (*TaobaoXhotelRateplanAddAPIRequest) SetHid ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 酒店id
func (*TaobaoXhotelRateplanAddAPIRequest) SetHourage ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetHourage(_hourage string) error
SetHourage is Hourage Setter 小时房入住时间跨度。小时房特有字段。比如4小时的小时房,那么值为4
func (*TaobaoXhotelRateplanAddAPIRequest) SetIsStudent ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetIsStudent(_isStudent int64) error
SetIsStudent is IsStudent Setter 是否学生价,0:否;1:是。
func (*TaobaoXhotelRateplanAddAPIRequest) SetMaxAdvHours ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetMaxAdvHours(_maxAdvHours int64) error
SetMaxAdvHours is MaxAdvHours Setter 最大提前预定小时数,从入住当天的24点往前计算。例如如果这个字段设置了48,代表最多提前两天预定,那么如果想预定24号入住,,必须在23号零点以后下单。
func (*TaobaoXhotelRateplanAddAPIRequest) SetMaxChildAge ¶ added in v1.2.5
func (r *TaobaoXhotelRateplanAddAPIRequest) SetMaxChildAge(_maxChildAge int64) error
SetMaxChildAge is MaxChildAge Setter 儿童最大年龄(0-18)
func (*TaobaoXhotelRateplanAddAPIRequest) SetMaxDays ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetMaxDays(_maxDays int64) error
SetMaxDays is MaxDays Setter 最大入住天数(1-90)。默认90 信用住不超过9天,小时房RP请设置为1,特殊商家支持180天
func (*TaobaoXhotelRateplanAddAPIRequest) SetMaxInfantAge ¶ added in v1.2.5
func (r *TaobaoXhotelRateplanAddAPIRequest) SetMaxInfantAge(_maxInfantAge int64) error
SetMaxInfantAge is MaxInfantAge Setter 婴儿最大年龄(0-18)
func (*TaobaoXhotelRateplanAddAPIRequest) SetMemDiscFlag ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetMemDiscFlag(_memDiscFlag int64) error
SetMemDiscFlag is MemDiscFlag Setter 会员价支持标识,1表示支持会员价规则
func (*TaobaoXhotelRateplanAddAPIRequest) SetMemberDiscountCal ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetMemberDiscountCal(_memberDiscountCal string) error
SetMemberDiscountCal is MemberDiscountCal Setter 会员价加价规则。c:表示折扣百分比,例子8,意为会员价优惠8%,s:标识起始日期,e:表示截止日期,t:表示加价类型,0:代表折扣。会员价=售价*(1-c%)
func (*TaobaoXhotelRateplanAddAPIRequest) SetMemberLevel ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetMemberLevel(_memberLevel string) error
SetMemberLevel is MemberLevel Setter 双方映射后的会员等级。如需开通,需要申请权限,取值范围为:1,2,3,4,5,none。比如飞猪F3对应商家V4,则传4.(如果有疑问请联系对接技术支持)
func (*TaobaoXhotelRateplanAddAPIRequest) SetMinAdvHours ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetMinAdvHours(_minAdvHours int64) error
SetMinAdvHours is MinAdvHours Setter 最小提前预定小时数,从入住当天的24点往前计算。例如如果这个字段设置了48,代表必须至少提前两天预定,那么如果想预定24号入住,,必须在23号零点前下单。
func (*TaobaoXhotelRateplanAddAPIRequest) SetMinAmount ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetMinAmount(_minAmount int64) error
SetMinAmount is MinAmount Setter 首日入住房间数(1-99)。默认1。【废弃】
func (*TaobaoXhotelRateplanAddAPIRequest) SetMinChildAge ¶ added in v1.2.5
func (r *TaobaoXhotelRateplanAddAPIRequest) SetMinChildAge(_minChildAge int64) error
SetMinChildAge is MinChildAge Setter 儿童最小年龄(0-18)
func (*TaobaoXhotelRateplanAddAPIRequest) SetMinDays ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetMinDays(_minDays int64) error
SetMinDays is MinDays Setter 最小入住天数(1-90)。默认1,小时房RP请设置为1
func (*TaobaoXhotelRateplanAddAPIRequest) SetMinInfantAge ¶ added in v1.2.5
func (r *TaobaoXhotelRateplanAddAPIRequest) SetMinInfantAge(_minInfantAge int64) error
SetMinInfantAge is MinInfantAge Setter 婴儿最小年龄(0-18)
func (*TaobaoXhotelRateplanAddAPIRequest) SetName ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetName(_name string) error
SetName is Name Setter 在淘宝搜索页面展示的房价名称。请注意名称里不要维护早餐信息,如果想设置早餐信息,请设置breakfast_count字段即可
func (*TaobaoXhotelRateplanAddAPIRequest) SetOccupancy ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetOccupancy(_occupancy int64) error
SetOccupancy is Occupancy Setter 不推送则默认2人,如有低于2人的RP限制请推送该字段。
func (*TaobaoXhotelRateplanAddAPIRequest) SetOnlineBookingBindingInfo ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error
SetOnlineBookingBindingInfo is OnlineBookingBindingInfo Setter 在线预约关联关系推送,priceRuleNumber:加价规则序号
func (*TaobaoXhotelRateplanAddAPIRequest) SetOperator ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetOperator(_operator string) error
SetOperator is Operator Setter 操作rateplan的来源
func (*TaobaoXhotelRateplanAddAPIRequest) SetOutHid ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 外部酒店id
func (*TaobaoXhotelRateplanAddAPIRequest) SetOutRid ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 外部房型id
func (*TaobaoXhotelRateplanAddAPIRequest) SetParentRpCode ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetParentRpCode(_parentRpCode string) error
SetParentRpCode is ParentRpCode Setter 父rpid,使用场景:当一个rp发布变价rate的时候,记录父rp信息,用于下单时候传递约定的rpcode给外部
func (*TaobaoXhotelRateplanAddAPIRequest) SetParentRpid ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetParentRpid(_parentRpid int64) error
SetParentRpid is ParentRpid Setter 父rpcode,使用场景:当一个rp发布变价rate的时候,用于下单时候传递约定的rpcode给外部
func (*TaobaoXhotelRateplanAddAPIRequest) SetPaymentType ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetPaymentType(_paymentType int64) error
SetPaymentType is PaymentType Setter 支付类型,只支持:1:预付5:现付6: 信用住7:预付在线预约8:信用住在线预约。其中5,6,7,8四种类型需要申请权限
func (*TaobaoXhotelRateplanAddAPIRequest) SetRateplanCode ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 卖家自己系统的Code,简称RateCode
func (*TaobaoXhotelRateplanAddAPIRequest) SetResourceType ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetResourceType(_resourceType string) error
SetResourceType is ResourceType Setter 商品来源渠道。1:直采(直连酒店PMS), 1-1:直采(非直连) 2:携程系, 3:美团, 4:国内旅行社分销, 5:海外供应商。非酒店资源方卖家必须提供商品来源渠道,携程系包括携程、去哪儿、艺龙。
func (*TaobaoXhotelRateplanAddAPIRequest) SetRid ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetRid(_rid int64) error
SetRid is Rid Setter 房型id
func (*TaobaoXhotelRateplanAddAPIRequest) SetRights ¶ added in v1.2.5
func (r *TaobaoXhotelRateplanAddAPIRequest) SetRights(_rights string) error
SetRights is Rights Setter rp的权益信息, 调用该字段请优先联系对接业务同学。type枚举: eeo,meo, value取值:1. 额外积分 2. 优惠价格 3. 套餐权益 4.行政礼遇。
func (*TaobaoXhotelRateplanAddAPIRequest) SetRpType ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetRpType(_rpType string) error
SetRpType is RpType Setter rp类型,1为小时房。目前只支持小时房。如果不是小时房rateplan,则不要填写。如果想要清空该字段可以传入none
func (*TaobaoXhotelRateplanAddAPIRequest) SetSource ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetSource(_source int64) error
SetSource is Source Setter 来源
func (*TaobaoXhotelRateplanAddAPIRequest) SetStartTime ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetStartTime(_startTime string) error
SetStartTime is StartTime Setter 产品每日开始销售时间,start_time一定为当天时间
func (*TaobaoXhotelRateplanAddAPIRequest) SetStatus ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 1:开启(默认)2:关闭。如果没传值那么默认默认值为1
func (*TaobaoXhotelRateplanAddAPIRequest) SetSuperRpFlag ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetSuperRpFlag(_superRpFlag int64) error
SetSuperRpFlag is SuperRpFlag Setter super rp标记,1是;0否
func (*TaobaoXhotelRateplanAddAPIRequest) SetTagJson ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetTagJson(_tagJson string) error
SetTagJson is TagJson Setter 新增RP时的 打标和去标 需求,
func (*TaobaoXhotelRateplanAddAPIRequest) SetVendor ¶
func (r *TaobaoXhotelRateplanAddAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不填写,使用须申请
type TaobaoXhotelRateplanAddAPIResponse ¶
type TaobaoXhotelRateplanAddAPIResponse struct { model.CommonResponse TaobaoXhotelRateplanAddAPIResponseModel }
TaobaoXhotelRateplanAddAPIResponse 酒店产品库rateplan添加 API返回值 taobao.xhotel.rateplan.add
酒店产品库rateplan
type TaobaoXhotelRateplanAddAPIResponseModel ¶
type TaobaoXhotelRateplanAddAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_rateplan_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 生成的rp id Rpid int64 `json:"rpid,omitempty" xml:"rpid,omitempty"` }
TaobaoXhotelRateplanAddAPIResponseModel is 酒店产品库rateplan添加 成功返回结果
type TaobaoXhotelRateplanDeleteAPIRequest ¶
type TaobaoXhotelRateplanDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRateplanDeleteAPIRequest 价格计划rateplan删除 API请求 taobao.xhotel.rateplan.delete
酒店产品库rateplan删除,同时删除级联的rate,请谨慎使用
func NewTaobaoXhotelRateplanDeleteRequest ¶
func NewTaobaoXhotelRateplanDeleteRequest() *TaobaoXhotelRateplanDeleteAPIRequest
NewTaobaoXhotelRateplanDeleteRequest 初始化TaobaoXhotelRateplanDeleteAPIRequest对象
func (TaobaoXhotelRateplanDeleteAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRateplanDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRateplanDeleteAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRateplanDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRateplanDeleteAPIRequest) GetRateplanCode ¶
func (r TaobaoXhotelRateplanDeleteAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoXhotelRateplanDeleteAPIRequest) GetRpId ¶
func (r TaobaoXhotelRateplanDeleteAPIRequest) GetRpId() int64
GetRpId RpId Getter
func (TaobaoXhotelRateplanDeleteAPIRequest) GetVendor ¶
func (r TaobaoXhotelRateplanDeleteAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelRateplanDeleteAPIRequest) SetRateplanCode ¶
func (r *TaobaoXhotelRateplanDeleteAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 商家价格政策编码
func (*TaobaoXhotelRateplanDeleteAPIRequest) SetRpId ¶
func (r *TaobaoXhotelRateplanDeleteAPIRequest) SetRpId(_rpId int64) error
SetRpId is RpId Setter ratepland标识
func (*TaobaoXhotelRateplanDeleteAPIRequest) SetVendor ¶
func (r *TaobaoXhotelRateplanDeleteAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不用填写,使用须申请
type TaobaoXhotelRateplanDeleteAPIResponse ¶
type TaobaoXhotelRateplanDeleteAPIResponse struct { model.CommonResponse TaobaoXhotelRateplanDeleteAPIResponseModel }
TaobaoXhotelRateplanDeleteAPIResponse 价格计划rateplan删除 API返回值 taobao.xhotel.rateplan.delete
酒店产品库rateplan删除,同时删除级联的rate,请谨慎使用
type TaobaoXhotelRateplanDeleteAPIResponseModel ¶
type TaobaoXhotelRateplanDeleteAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_rateplan_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoXhotelRateplanDeleteResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelRateplanDeleteAPIResponseModel is 价格计划rateplan删除 成功返回结果
type TaobaoXhotelRateplanDeleteResultSet ¶
type TaobaoXhotelRateplanDeleteResultSet struct { // results Results []string `json:"results,omitempty" xml:"results>string,omitempty"` // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 房价id Rpid string `json:"rpid,omitempty" xml:"rpid,omitempty"` }
TaobaoXhotelRateplanDeleteResultSet 结构体
type TaobaoXhotelRateplanGetAPIRequest ¶
type TaobaoXhotelRateplanGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRateplanGetAPIRequest 价格计划rateplan查询 API请求 taobao.xhotel.rateplan.get
酒店产品库rateplan查询
func NewTaobaoXhotelRateplanGetRequest ¶
func NewTaobaoXhotelRateplanGetRequest() *TaobaoXhotelRateplanGetAPIRequest
NewTaobaoXhotelRateplanGetRequest 初始化TaobaoXhotelRateplanGetAPIRequest对象
func (TaobaoXhotelRateplanGetAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRateplanGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRateplanGetAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRateplanGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRateplanGetAPIRequest) GetRateplanCode ¶
func (r TaobaoXhotelRateplanGetAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoXhotelRateplanGetAPIRequest) GetRpid ¶
func (r TaobaoXhotelRateplanGetAPIRequest) GetRpid() int64
GetRpid Rpid Getter
func (TaobaoXhotelRateplanGetAPIRequest) GetVendor ¶
func (r TaobaoXhotelRateplanGetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelRateplanGetAPIRequest) SetRateplanCode ¶
func (r *TaobaoXhotelRateplanGetAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 卖家自己系统的Code,简称RateCode
func (*TaobaoXhotelRateplanGetAPIRequest) SetRpid ¶
func (r *TaobaoXhotelRateplanGetAPIRequest) SetRpid(_rpid int64) error
SetRpid is Rpid Setter 废弃,使用rateplan_code
func (*TaobaoXhotelRateplanGetAPIRequest) SetVendor ¶
func (r *TaobaoXhotelRateplanGetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不填写,使用须申请
type TaobaoXhotelRateplanGetAPIResponse ¶
type TaobaoXhotelRateplanGetAPIResponse struct { model.CommonResponse TaobaoXhotelRateplanGetAPIResponseModel }
TaobaoXhotelRateplanGetAPIResponse 价格计划rateplan查询 API返回值 taobao.xhotel.rateplan.get
酒店产品库rateplan查询
type TaobaoXhotelRateplanGetAPIResponseModel ¶
type TaobaoXhotelRateplanGetAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_rateplan_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // rateplan Rateplan *RatePlan `json:"rateplan,omitempty" xml:"rateplan,omitempty"` }
TaobaoXhotelRateplanGetAPIResponseModel is 价格计划rateplan查询 成功返回结果
type TaobaoXhotelRateplanUpdateAPIRequest ¶
type TaobaoXhotelRateplanUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRateplanUpdateAPIRequest 价格计划rateplan更新或添加 API请求 taobao.xhotel.rateplan.update
酒店产品库rateplan更新或添加
func NewTaobaoXhotelRateplanUpdateRequest ¶
func NewTaobaoXhotelRateplanUpdateRequest() *TaobaoXhotelRateplanUpdateAPIRequest
NewTaobaoXhotelRateplanUpdateRequest 初始化TaobaoXhotelRateplanUpdateAPIRequest对象
func (TaobaoXhotelRateplanUpdateAPIRequest) GetActivityType ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetActivityType() string
GetActivityType ActivityType Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetAgreement ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetAgreement() int64
GetAgreement Agreement Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetAllotmentReleaseTime ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetAllotmentReleaseTime() string
GetAllotmentReleaseTime AllotmentReleaseTime Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRateplanUpdateAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRateplanUpdateAPIRequest) GetBaseRpFlag ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetBaseRpFlag() int64
GetBaseRpFlag BaseRpFlag Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetBenefits ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetBenefits() string
GetBenefits Benefits Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetBottomPriceFlag ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetBottomPriceFlag() string
GetBottomPriceFlag BottomPriceFlag Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetBreakfastCal ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetBreakfastCal() string
GetBreakfastCal BreakfastCal Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetBreakfastCount ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetBreakfastCount() int64
GetBreakfastCount BreakfastCount Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetCanCheckinEnd ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetCanCheckinEnd() string
GetCanCheckinEnd CanCheckinEnd Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetCanCheckinStart ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetCanCheckinStart() string
GetCanCheckinStart CanCheckinStart Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetCanCheckoutEnd ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetCanCheckoutEnd() string
GetCanCheckoutEnd CanCheckoutEnd Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetCancelPolicy ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetCancelPolicy() string
GetCancelPolicy CancelPolicy Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetCancelPolicyCal ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetCancelPolicyCal() string
GetCancelPolicyCal CancelPolicyCal Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetChannel ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetChannel() string
GetChannel Channel Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetCommonAllotReleaseTime ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetCommonAllotReleaseTime() string
GetCommonAllotReleaseTime CommonAllotReleaseTime Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetCompanyAssist ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetCompanyAssist() int64
GetCompanyAssist CompanyAssist Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetDeadlineTime ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetDeadlineTime() string
GetDeadlineTime DeadlineTime Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetDisplayName ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetDisplayName() string
GetDisplayName DisplayName Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetEffectiveTime ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetEffectiveTime() string
GetEffectiveTime EffectiveTime Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetEndTime ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetEnglishName ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetEnglishName() string
GetEnglishName EnglishName Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetFirstStay ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetFirstStay() int64
GetFirstStay FirstStay Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetFreeRoomChargeDstRole ¶ added in v1.2.5
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetFreeRoomChargeDstRole() string
GetFreeRoomChargeDstRole FreeRoomChargeDstRole Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetGuaranteeCal ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetGuaranteeCal() string
GetGuaranteeCal GuaranteeCal Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetGuaranteeMode ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetGuaranteeMode() int64
GetGuaranteeMode GuaranteeMode Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetGuaranteeStartTime ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetGuaranteeStartTime() string
GetGuaranteeStartTime GuaranteeStartTime Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetGuaranteeType ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetGuaranteeType() int64
GetGuaranteeType GuaranteeType Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetGuestLimit ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetGuestLimit() string
GetGuestLimit GuestLimit Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetHid ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetHotelCompanyMappingDOS ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetHotelCompanyMappingDOS() string
GetHotelCompanyMappingDOS HotelCompanyMappingDOS Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetHourage ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetHourage() string
GetHourage Hourage Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetIsStudent ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetIsStudent() int64
GetIsStudent IsStudent Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetMaxAdvHours ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetMaxAdvHours() int64
GetMaxAdvHours MaxAdvHours Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetMaxDays ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetMaxDays() int64
GetMaxDays MaxDays Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetMemDiscFlag ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetMemDiscFlag() int64
GetMemDiscFlag MemDiscFlag Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetMemberDiscountCal ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetMemberDiscountCal() string
GetMemberDiscountCal MemberDiscountCal Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetMemberLevel ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetMemberLevel() string
GetMemberLevel MemberLevel Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetMinAdvHours ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetMinAdvHours() int64
GetMinAdvHours MinAdvHours Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetMinAmount ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetMinAmount() int64
GetMinAmount MinAmount Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetMinDays ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetMinDays() int64
GetMinDays MinDays Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetName ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetOnlineBookingBindingInfo ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetOnlineBookingBindingInfo() string
GetOnlineBookingBindingInfo OnlineBookingBindingInfo Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetOperator ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetOperator() string
GetOperator Operator Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetOutHid ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetOutRid ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetPackRoomFlag ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetPackRoomFlag() string
GetPackRoomFlag PackRoomFlag Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetParentRpCode ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetParentRpCode() string
GetParentRpCode ParentRpCode Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetParentRpid ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetParentRpid() int64
GetParentRpid ParentRpid Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetPaymentType ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetPaymentType() int64
GetPaymentType PaymentType Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetRateplanCode ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetRateplanCode() string
GetRateplanCode RateplanCode Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetResourceType ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetResourceType() string
GetResourceType ResourceType Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetRid ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetRid() int64
GetRid Rid Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetRights ¶ added in v1.2.5
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetRights() string
GetRights Rights Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetRpType ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetRpType() string
GetRpType RpType Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetRpid ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetRpid() int64
GetRpid Rpid Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetSource ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetSource() int64
GetSource Source Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetStartTime ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetStatus ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetStatus() int64
GetStatus Status Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetSuperRpFlag ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetSuperRpFlag() int64
GetSuperRpFlag SuperRpFlag Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetTagJson ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetTagJson() string
GetTagJson TagJson Getter
func (TaobaoXhotelRateplanUpdateAPIRequest) GetVendor ¶
func (r TaobaoXhotelRateplanUpdateAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetActivityType ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetActivityType(_activityType string) error
SetActivityType is ActivityType Setter 活动类型。1通兑 4超级房券 8直连免房
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetAgreement ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetAgreement(_agreement int64) error
SetAgreement is Agreement Setter 价格类型字段:0.非协议价;1.集采协议价;如果不是协议价,请不要填写该字段。该字段有权限控制,如需使用,请联系阿里旅行运营。 如果不填写或者填写为0,默认是阿里旅行价
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetAllotmentReleaseTime ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetAllotmentReleaseTime(_allotmentReleaseTime string) error
SetAllotmentReleaseTime is AllotmentReleaseTime Setter 协议保留房提前x小时自动确认时间 比如设置为6 那么从入住当日24点往前推6小时即18:00以前可以自动确认有房,否则是待确认
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetBaseRpFlag ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetBaseRpFlag(_baseRpFlag int64) error
SetBaseRpFlag is BaseRpFlag Setter base rp标记,1是;0否
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetBenefits ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetBenefits(_benefits string) error
SetBenefits is Benefits Setter 卖点
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetBottomPriceFlag ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetBottomPriceFlag(_bottomPriceFlag string) error
SetBottomPriceFlag is BottomPriceFlag Setter 是否底价加价,1是底价加价,0 非底价加价rp
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetBreakfastCal ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetBreakfastCal(_breakfastCal string) error
SetBreakfastCal is BreakfastCal Setter 在更新rateplan时,同时新增或更新早餐日历。 date:早餐政策属于具体哪一天 breakfast_count:这一天早餐的数量。>=0,<=99 如果date为空,那么会去读取startDate和endDate(格式都为"yyyy-MM-dd"),即早餐正常属于一个时间段。-1为状态早餐,和最终绑定的几人价有关,如果是一人价那么就是我一份早餐,二人价就是两份早餐。请注意,该字段仅能维护从当前时间开始,10年以内的数据,如果超过10年,会报错。
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetBreakfastCount ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetBreakfastCount(_breakfastCount int64) error
SetBreakfastCount is BreakfastCount Setter -1,状态早餐,和入住人数有关系,几人价就是几份早餐;0:不含早1:含单早2:含双早N:含N早(1-99可选);(添加RP时为必须)
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetCanCheckinEnd ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetCanCheckinEnd(_canCheckinEnd string) error
SetCanCheckinEnd is CanCheckinEnd Setter 最晚可选入住时间,小时房特有字段。格式为HH:mm
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetCanCheckinStart ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetCanCheckinStart(_canCheckinStart string) error
SetCanCheckinStart is CanCheckinStart Setter 最早可选入住时间,小时房特有字段。格式为HH:mm
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetCanCheckoutEnd ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetCanCheckoutEnd(_canCheckoutEnd string) error
SetCanCheckoutEnd is CanCheckoutEnd Setter 最晚可选离店时间,小时房特有字段。格式为HH:mm
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetCancelPolicy ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetCancelPolicy(_cancelPolicy string) error
SetCancelPolicy is CancelPolicy Setter 退订政策字段,是个json串,参考示例值设置改字段的值。允许变更/取消:在XX年XX月XX日XX时前取消收取Y%的手续费,100>Y>=0允许变更/取消:在入住前X小时前取消收取Y%的手续费,100>Y>=0(不超过10条)。1.表示任意退{"cancelPolicyType":1};2.表示不能退{"cancelPolicyType":2};4.从入住当天24点往前推X小时前取消收取Y%手续费,否则不可取消{"cancelPolicyType":4,"policyInfo":{"48":10,"24":20}}表示,从入住日24点往前推提前至少48小时取消,收取10%的手续费,从入住日24点往前推提前至少24小时取消,收取20%的手续费;5.从24点往前推多少小时可退{"cancelPolicyType":5,"policyInfo":{"timeBefore":6}}表示从入住日24点往前推至少6个小时即入住日18点前可免费取消;6.从入住日24点往前推,至少提前小时数扣取首晚房费{"cancelPolicyType":6,"policyInfo":{"14":1}}表示入住日24点往前推14小时,即入住日10点前取消收取首晚房费。 注意:支付类型为预付,那么可以使用所有的退订类型,但是必须是非担保;支付类型为面付或者信任住并且是无担保,那么只能使用1类型的退订;支付类型为面付或者信任住并且为担保,那么只能使用2,5类型的退订;支付类型为在线预约,那么只能使用1,2,5类型的退改。如果支付类型是面付或者信任住并且为担保,那么如果传了4或者6的退订,那么会强制转成类型5。支持多段时间、多间夜扣款
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetCancelPolicyCal ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetCancelPolicyCal(_cancelPolicyCal string) error
SetCancelPolicyCal is CancelPolicyCal Setter 在新增rateplan的同时新增取消政策日历。 json格式。 date:日历的某一天,格式为"yyyy-MM-dd" cancel_policy:日历某一天的价格政策。格式和限制同cancel_policy。 如果date为空,那么会读取startDate和endDate(格式都为"yyyy-MM-dd"),即取消政策属于某一个时间段。 注意:支付类型为预付,那么可以使用所有的退订类型,但是必须是非担保;支付类型为面付或者信任住并且是无担保,那么只能使用1类型的退订;支付类型为面付或者信任住并且为担保,那么只能使用2,5类型的退订;支付类型为在线预约,那么只能使用1,2,5类型的退改。如果支付类型是面付或者信任住并且为担保,那么如果传了4或者6的退订,那么会强制转成类型5。请注意,该字段仅能维护从当前时间开始,10年以内的数据,如果超过10年,会报错。
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetChannel ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetChannel(_channel string) error
SetChannel is Channel Setter 销售渠道。如需开通,需要申请权限。目前支持的渠道有 H:飞猪 O:钉钉商旅 A:集团内部商旅 M:无线专享价。如果只投放飞猪,改字段不用填写或者只填H;如果有多个用","分开。如果需要投放其他渠道,请联系飞猪运营或者技术支持。
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetCommonAllotReleaseTime ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetCommonAllotReleaseTime(_commonAllotReleaseTime string) error
SetCommonAllotReleaseTime is CommonAllotReleaseTime Setter 普通保留房提前x小时自动确认时间 比如设置为6 那么从入住当日24点往前推6小时即18:00以前可以自动确认有房,否则是待确认
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetCompanyAssist ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetCompanyAssist(_companyAssist int64) error
SetCompanyAssist is CompanyAssist Setter 是否企业托管RP 0-普通rp,1-企业托管rp
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetDeadlineTime ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetDeadlineTime(_deadlineTime string) error
SetDeadlineTime is DeadlineTime Setter 生效截止时间,用来控制此rateplan生效的截止时间,配合字段effective_time一起限定rp的有效期
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetDisplayName ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetDisplayName(_displayName string) error
SetDisplayName is DisplayName Setter 价格计划名称name通过加工处理以后的值
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetEffectiveTime ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetEffectiveTime(_effectiveTime string) error
SetEffectiveTime is EffectiveTime Setter 生效开始时间,用来控制此rateplan生效的开始时间,配合字段deadline_time一起限定rp的有效期
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetEndTime ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 产品每日开始销售时间,start_time一定为当天时间
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetEnglishName ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetEnglishName(_englishName string) error
SetEnglishName is EnglishName Setter RP的英文名称
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetFirstStay ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetFirstStay(_firstStay int64) error
SetFirstStay is FirstStay Setter 需申请会员权限。是否是新用户首住优惠rp。1-代表是。0-代表否。不填写代表不更新该字段。
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetFreeRoomChargeDstRole ¶ added in v1.2.5
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetFreeRoomChargeDstRole(_freeRoomChargeDstRole string) error
SetFreeRoomChargeDstRole is FreeRoomChargeDstRole Setter 商业化充值类型 seller充值到卖家 hotel充值到门店
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetGuaranteeCal ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetGuaranteeCal(_guaranteeCal string) error
SetGuaranteeCal is GuaranteeCal Setter 在更新rateplan的同时,新增或更新担保日历。 date:担保日历的某一天。 guarantee:担保政策。 其中有两个属性:guaranteeType,guaranteeStartTime。 guaranteeType的可选值同guaranteeType字段,详见guaranteeType字段。guaranteeStartTime格式为"HH:mm" 。如果date为空,那么会读取startDate和endDate(格式都为"yyyy-MM-dd"),即担保政策属于某一个时间段。(如果设置了峰时担保类型,那么峰时担保时间不能为空,并且必须大于等于8点) 请注意,该字段仅能维护从当前时间开始,10年以内的数据,如果超过10年,会报错。
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetGuaranteeMode ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetGuaranteeMode(_guaranteeMode int64) error
SetGuaranteeMode is GuaranteeMode Setter -9999 清空担保, 2 VCC担保, 1 PCI担保,0 支付宝担保(信用住产品担保方式只能为支付宝担保)
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetGuaranteeStartTime ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetGuaranteeStartTime(_guaranteeStartTime string) error
SetGuaranteeStartTime is GuaranteeStartTime Setter 分时担保每日开始担保时间。 (如果设置了峰时担保类型,那么峰时担保时间不能为空,并且必须大于等于8点)
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetGuaranteeType ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetGuaranteeType(_guaranteeType int64) error
SetGuaranteeType is GuaranteeType Setter 担保类型,只支持: 0 无担保 1 峰时首晚担保 2峰时全额担保 3全天首晚担保 4全天全额担保
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetGuestLimit ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetGuestLimit(_guestLimit string) error
SetGuestLimit is GuestLimit Setter 入住人限制
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetHid ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 酒店id
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetHotelCompanyMappingDOS ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetHotelCompanyMappingDOS(_hotelCompanyMappingDOS string) error
SetHotelCompanyMappingDOS is HotelCompanyMappingDOS Setter 酒店-企业-rp映射实体集合
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetHourage ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetHourage(_hourage string) error
SetHourage is Hourage Setter 小时房入住时间跨度。小时房特有字段。比如4小时的小时房,那么值为4
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetIsStudent ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetIsStudent(_isStudent int64) error
SetIsStudent is IsStudent Setter 学生价,1:是;0:否
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetMaxAdvHours ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetMaxAdvHours(_maxAdvHours int64) error
SetMaxAdvHours is MaxAdvHours Setter 最大提前预定小时数,从入住当天的24点往前计算。例如如果这个字段设置了48,代表最多提前两天预定,那么如果想预定24号入住,,必须在23号零点以后下单。
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetMaxDays ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetMaxDays(_maxDays int64) error
SetMaxDays is MaxDays Setter 最大入住天数(1-90)。默认90,信用住最大入住天数不超过9天,小时房RP请设置为1,个别卖家支持180
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetMemDiscFlag ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetMemDiscFlag(_memDiscFlag int64) error
SetMemDiscFlag is MemDiscFlag Setter 会员价支持标识,1表示支持会员价规则
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetMemberDiscountCal ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetMemberDiscountCal(_memberDiscountCal string) error
SetMemberDiscountCal is MemberDiscountCal Setter 会员价加价规则。c:表示折扣百分比,例子8,意为会员价优惠8%,s:标识起始日期,e:表示截止日期,t:表示加价类型,0:代表折扣。会员价=售价*(1-c%)。该字段使用需要联系小二
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetMemberLevel ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetMemberLevel(_memberLevel string) error
SetMemberLevel is MemberLevel Setter 双方映射后的会员等级。如需开通,需要申请权限,取值范围为:1,2,3,4,5,none。比如飞猪F3对应商家V4,则传4.(如果有疑问请联系对接技术支持)
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetMinAdvHours ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetMinAdvHours(_minAdvHours int64) error
SetMinAdvHours is MinAdvHours Setter 最小提前预定小时数,从入住当天的24点往前计算。例如如果这个字段设置了48,代表必须至少提前两天预定,那么如果想预定24号入住,,必须在23号零点前下单。
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetMinAmount ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetMinAmount(_minAmount int64) error
SetMinAmount is MinAmount Setter 首日入住房间数(1-99)。默认1。【废弃】
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetMinDays ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetMinDays(_minDays int64) error
SetMinDays is MinDays Setter 最小入住天数(1-90)。默认1,小时房RP请设置为1
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetName ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetName(_name string) error
SetName is Name Setter 在淘宝搜索页面展示的房价名称;(添加RP时为必须)。注意该名称不要包含早餐相关信息,如果想维护早餐信息,请设置breakfast_count字段即可。
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetOnlineBookingBindingInfo ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetOnlineBookingBindingInfo(_onlineBookingBindingInfo string) error
SetOnlineBookingBindingInfo is OnlineBookingBindingInfo Setter 在线预约关联关系推送,priceRuleNumber:加价规则序号
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetOperator ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetOperator(_operator string) error
SetOperator is Operator Setter operator
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetOutHid ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter 外部酒店id
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetOutRid ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 外部房型id
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetPackRoomFlag ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetPackRoomFlag(_packRoomFlag string) error
SetPackRoomFlag is PackRoomFlag Setter 是否包房RP 1包房RP,0 非包房rp
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetParentRpCode ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetParentRpCode(_parentRpCode string) error
SetParentRpCode is ParentRpCode Setter 父rpcode,使用场景:当一个rp发布变价rate的时候,用于下单时候传递约定的rpcode给外部
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetParentRpid ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetParentRpid(_parentRpid int64) error
SetParentRpid is ParentRpid Setter 父rpid,使用场景:当一个rp发布变价rate的时候,记录父rp信息,用于下单时候传递约定的rpcode给外部
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetPaymentType ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetPaymentType(_paymentType int64) error
SetPaymentType is PaymentType Setter 支付类型,只支持:1:预付5:现付6: 信用住7:在线预约8:在线预约信用住。其中5,6,7,8三种类型需要申请权限
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetRateplanCode ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetRateplanCode(_rateplanCode string) error
SetRateplanCode is RateplanCode Setter 商家价格政策编码
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetResourceType ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetResourceType(_resourceType string) error
SetResourceType is ResourceType Setter 商品来源渠道。1:直采(直连酒店PMS), 1-1:直采(非直连) 2:携程系, 3:美团, 4:国内旅行社分销, 5:海外供应商。非酒店资源方卖家必须提供商品来源渠道,携程系包括携程、去哪儿、艺龙。
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetRid ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetRid(_rid int64) error
SetRid is Rid Setter 房型id
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetRights ¶ added in v1.2.5
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetRights(_rights string) error
SetRights is Rights Setter rp的权益信息。1. 额外积分 2. 优惠价格 3. 套餐权益 4.行政礼遇
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetRpType ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetRpType(_rpType string) error
SetRpType is RpType Setter rp类型,1为小时房。目前只支持小时房。如果不是小时房rateplan,则不要填写。如果想要清空该字段可以传入none
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetRpid ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetRpid(_rpid int64) error
SetRpid is Rpid Setter 不推荐使用,使用ratePlanCode来标识要修改的RP
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetSource ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetSource(_source int64) error
SetSource is Source Setter 来源
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetStartTime ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetStartTime(_startTime string) error
SetStartTime is StartTime Setter 产品每日开始销售时间,start_time一定为当天时间
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetStatus ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 1:开启(默认)2:关闭。如果没传值那么默认默认值为1;(添加RP时为必须)
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetSuperRpFlag ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetSuperRpFlag(_superRpFlag int64) error
SetSuperRpFlag is SuperRpFlag Setter super rp标记,1是;0否
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetTagJson ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetTagJson(_tagJson string) error
SetTagJson is TagJson Setter 更新RP时的 打标和去标 需求, 0 就是 去标, 1 就是打标, key的含义: non-direct-RP 表示非直连RP, super-could-price-change-RP 表示rp的super标,打上这个tag,表明这个rateplan下单的时候支持变价,商家系统直接放开价格校验。 base-could-derived-RP 表示base rateplan标签,打上了这个tag,表明这是一个base的rateplan,基于该rateplan可以衍生出子rateplan, ebk-tail-room-RP 表示 ebk尾房rate plan级别标, free-room 表示免房商品
func (*TaobaoXhotelRateplanUpdateAPIRequest) SetVendor ¶
func (r *TaobaoXhotelRateplanUpdateAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不用填写,使用须申请
type TaobaoXhotelRateplanUpdateAPIResponse ¶
type TaobaoXhotelRateplanUpdateAPIResponse struct { model.CommonResponse TaobaoXhotelRateplanUpdateAPIResponseModel }
TaobaoXhotelRateplanUpdateAPIResponse 价格计划rateplan更新或添加 API返回值 taobao.xhotel.rateplan.update
酒店产品库rateplan更新或添加
type TaobaoXhotelRateplanUpdateAPIResponseModel ¶
type TaobaoXhotelRateplanUpdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_rateplan_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 修改的rp id Rpid int64 `json:"rpid,omitempty" xml:"rpid,omitempty"` }
TaobaoXhotelRateplanUpdateAPIResponseModel is 价格计划rateplan更新或添加 成功返回结果
type TaobaoXhotelRatesIncrementAPIRequest ¶
type TaobaoXhotelRatesIncrementAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRatesIncrementAPIRequest 价格推送接口(批量增量) API请求 taobao.xhotel.rates.increment
Rate库存&价格增量更新接口,用户仅需要更新Rate中发生变化的库存日历&价格日历即可
func NewTaobaoXhotelRatesIncrementRequest ¶
func NewTaobaoXhotelRatesIncrementRequest() *TaobaoXhotelRatesIncrementAPIRequest
NewTaobaoXhotelRatesIncrementRequest 初始化TaobaoXhotelRatesIncrementAPIRequest对象
func (TaobaoXhotelRatesIncrementAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRatesIncrementAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRatesIncrementAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRatesIncrementAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRatesIncrementAPIRequest) GetRateInventoryPriceMap ¶
func (r TaobaoXhotelRatesIncrementAPIRequest) GetRateInventoryPriceMap() string
GetRateInventoryPriceMap RateInventoryPriceMap Getter
func (*TaobaoXhotelRatesIncrementAPIRequest) SetRateInventoryPriceMap ¶
func (r *TaobaoXhotelRatesIncrementAPIRequest) SetRateInventoryPriceMap(_rateInventoryPriceMap string) error
SetRateInventoryPriceMap is RateInventoryPriceMap Setter 批量修改价格和房价专有库存信息,json格式,可同时修改多套房型+价格计划的价格:A:use_room_inventory:是否使用房型共享库存,可选值 true false 1、true时:使用房型共享库存 2、false时:使用房价专有库存,此时要求房价专有库存必填。B:date 日期必须为 T---T+180 日内的日期(T为当天),不能重复。 C:price 价格 int类型 取值范围1-99999999 单位为分D:quota 房价专有库存 int 类型 取值范围 0-999(数量库存) 60000(状态库存关) 61000(状态库存开) E:status 价格开关,0为关,1为开。lock_start_time为锁库存开始时间,lock_end_time为锁库存结束时间,如果当前时间在这个时间范围内,那么不允许修改库存。示例值:(1)[{"out_rid":"ABCDE_123","rateplan_code":"ABCDE_WHL01","vendor":"","lock_start_time":"","lock_end_time":"","data":{"use_room_inventory":false,"inventory_price":[{"date":"2013-11-18","quota":1,"price":1000,"status":1},{"date":"2013-11-19","quota":1,"price":1000,"status":0}]}},{"out_rid":"ABCDE_234","rateplan_code":"ABCDE_WHL01","vendor":"","data":{"use_room_inventory":false,"inventory_price":[{"date":"2013-11-18","quota":1,"price":1000,"status":1},{"date":"2013-11-19","quota":1,"price":1000,"status":0}]}}]
type TaobaoXhotelRatesIncrementAPIResponse ¶
type TaobaoXhotelRatesIncrementAPIResponse struct { model.CommonResponse TaobaoXhotelRatesIncrementAPIResponseModel }
TaobaoXhotelRatesIncrementAPIResponse 价格推送接口(批量增量) API返回值 taobao.xhotel.rates.increment
Rate库存&价格增量更新接口,用户仅需要更新Rate中发生变化的库存日历&价格日历即可
type TaobaoXhotelRatesIncrementAPIResponseModel ¶
type TaobaoXhotelRatesIncrementAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_rates_increment_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // gid和rpid组合数组<br/>gid_rpid GidAndRpids []string `json:"gid_and_rpids,omitempty" xml:"gid_and_rpids>string,omitempty"` }
TaobaoXhotelRatesIncrementAPIResponseModel is 价格推送接口(批量增量) 成功返回结果
type TaobaoXhotelRatesLiteIncrUpdateAPIRequest ¶
type TaobaoXhotelRatesLiteIncrUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRatesLiteIncrUpdateAPIRequest 酒店价格库存轻量级增量接口 API请求 taobao.xhotel.rates.lite.incr.update
多个rate的库存房价开关的增量更新接口
func NewTaobaoXhotelRatesLiteIncrUpdateRequest ¶
func NewTaobaoXhotelRatesLiteIncrUpdateRequest() *TaobaoXhotelRatesLiteIncrUpdateAPIRequest
NewTaobaoXhotelRatesLiteIncrUpdateRequest 初始化TaobaoXhotelRatesLiteIncrUpdateAPIRequest对象
func (TaobaoXhotelRatesLiteIncrUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRatesLiteIncrUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRatesLiteIncrUpdateAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRatesLiteIncrUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRatesLiteIncrUpdateAPIRequest) GetRateListInvInfo ¶
func (r TaobaoXhotelRatesLiteIncrUpdateAPIRequest) GetRateListInvInfo() string
GetRateListInvInfo RateListInvInfo Getter
func (*TaobaoXhotelRatesLiteIncrUpdateAPIRequest) SetRateListInvInfo ¶
func (r *TaobaoXhotelRatesLiteIncrUpdateAPIRequest) SetRateListInvInfo(_rateListInvInfo string) error
SetRateListInvInfo is RateListInvInfo Setter json格式: [{"rp_code":"031612_181220000074_F1_1","out_rid":"031612_HD","vendor":"taobao","useRoomInv":0,"invAndSwitch":[{"date":"2020-01-09","price":1200,"quota":23,"rateStatus":1},{"date":"2020-01-10","price":1200,"quota":23,"rateStatus":0}]},{"rp_code":"1234","out_rid":"123456","vendor":"taobao","useRoomInv":0,"invAndSwitch":[{"date":"yyyy-MM-dd","price":1200,"quota":23,"rateStatus":1},{"date":"yyyy-MM-dd","price":1200,"quota":23,"rateStatus":1}]}] rp_code:房价code,out_rid:房型code,必传字段 useRoomInv: 表示是否使用房型库存(1表示是,0表示否),可选字段 invAndSwitch: 表示要更新的日历化价格库存以及开关,增量更新,更新哪天就传那天的日历化单元, 可选字段 invAndSwitch.date: 表示日历化单元里的日期,格式:yyyy-MM-dd, 在 invAndSwitch 里的每个日历化单元里是必填字段 invAndSwitch.price: 表示要更新的价格,单位 分, 可选字段 invAndSwitch.quota: 表示要更新的普通库存,可选字段 invAndSwitch.rateStatus: 表示要更新的价格开关,1表示开,0表示关,可选字段。请注意,该接口为轻量级批量增量更新接口,只能更新未来4天内价格库存开关信息,传入的参数日期超过4天了会报错。该接口核心是解决近几天价格库存实时性。
type TaobaoXhotelRatesLiteIncrUpdateAPIResponse ¶
type TaobaoXhotelRatesLiteIncrUpdateAPIResponse struct { model.CommonResponse TaobaoXhotelRatesLiteIncrUpdateAPIResponseModel }
TaobaoXhotelRatesLiteIncrUpdateAPIResponse 酒店价格库存轻量级增量接口 API返回值 taobao.xhotel.rates.lite.incr.update
多个rate的库存房价开关的增量更新接口
type TaobaoXhotelRatesLiteIncrUpdateAPIResponseModel ¶
type TaobaoXhotelRatesLiteIncrUpdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_rates_lite_incr_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoXhotelRatesLiteIncrUpdateResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelRatesLiteIncrUpdateAPIResponseModel is 酒店价格库存轻量级增量接口 成功返回结果
type TaobaoXhotelRatesLiteIncrUpdateResultSet ¶
type TaobaoXhotelRatesLiteIncrUpdateResultSet struct { // 多个rate的更新结果 FirstResult string `json:"first_result,omitempty" xml:"first_result,omitempty"` // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoXhotelRatesLiteIncrUpdateResultSet 结构体
type TaobaoXhotelRatesUpdateAPIRequest ¶
type TaobaoXhotelRatesUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRatesUpdateAPIRequest 价格推送接口(批量全量) API请求 taobao.xhotel.rates.update
酒店产品库rate批量更新房态信息
func NewTaobaoXhotelRatesUpdateRequest ¶
func NewTaobaoXhotelRatesUpdateRequest() *TaobaoXhotelRatesUpdateAPIRequest
NewTaobaoXhotelRatesUpdateRequest 初始化TaobaoXhotelRatesUpdateAPIRequest对象
func (TaobaoXhotelRatesUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRatesUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRatesUpdateAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRatesUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRatesUpdateAPIRequest) GetRateInventoryPriceMap ¶
func (r TaobaoXhotelRatesUpdateAPIRequest) GetRateInventoryPriceMap() string
GetRateInventoryPriceMap RateInventoryPriceMap Getter
func (*TaobaoXhotelRatesUpdateAPIRequest) SetRateInventoryPriceMap ¶
func (r *TaobaoXhotelRatesUpdateAPIRequest) SetRateInventoryPriceMap(_rateInventoryPriceMap string) error
SetRateInventoryPriceMap is RateInventoryPriceMap Setter 批量修改价格和房价专有库存信息,json格式,可同时修改多套房型+价格计划的价格:A:use_room_inventory:是否使用房型共享库存,可选值 true false 1、true时:使用房型共享库存 2、false时:使用房价专有库存,此时要求房价专有库存必填。B:date 日期必须为 T-1 --- T+180 日内的日期(T为当天),不能重复。 C:price 价格 int类型 取值范围1-99999999 单位为分D:quota 房价专有库存 int 类型 取值范围 0-999(数量库存) 60000(状态库存关) 61000(状态库存开) E:status 价格开关,0为关,1为开。lock_start_time为锁库存开始时间,lock_end_time为锁库存结束时间,如果当前时间在这个时间范围内,那么不允许修改库存。示例值:(1)[{"out_rid":"ABCDE_123","rateplan_code":"ABCDE_WHL01","vendor":"","lock_start_time":"","lock_end_time":"","data":{"use_room_inventory":false,"inventory_price":[{"date":"2013-11-18","quota":1,"price":1000,"status":1},{"date":"2013-11-19","quota":1,"price":1000,"status":0}]}},{"out_rid":"ABCDE_234","rateplan_code":"ABCDE_WHL01","vendor":"","data":{"use_room_inventory":false,"inventory_price":[{"date":"2013-11-18","quota":1,"price":1000,"status":1},{"date":"2013-11-19","quota":1,"price":1000,"status":0}]}}]
type TaobaoXhotelRatesUpdateAPIResponse ¶
type TaobaoXhotelRatesUpdateAPIResponse struct { model.CommonResponse TaobaoXhotelRatesUpdateAPIResponseModel }
TaobaoXhotelRatesUpdateAPIResponse 价格推送接口(批量全量) API返回值 taobao.xhotel.rates.update
酒店产品库rate批量更新房态信息
type TaobaoXhotelRatesUpdateAPIResponseModel ¶
type TaobaoXhotelRatesUpdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_rates_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // gid_and_rateplan_ids GidAndRpids []string `json:"gid_and_rpids,omitempty" xml:"gid_and_rpids>string,omitempty"` }
TaobaoXhotelRatesUpdateAPIResponseModel is 价格推送接口(批量全量) 成功返回结果
type TaobaoXhotelRoomGetAPIRequest ¶
type TaobaoXhotelRoomGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRoomGetAPIRequest room实体查询 API请求 taobao.xhotel.room.get
此接口用于查询一个商品,根据传入的gid查询商品信息。卖家只能查询自己的商品。
func NewTaobaoXhotelRoomGetRequest ¶
func NewTaobaoXhotelRoomGetRequest() *TaobaoXhotelRoomGetAPIRequest
NewTaobaoXhotelRoomGetRequest 初始化TaobaoXhotelRoomGetAPIRequest对象
func (TaobaoXhotelRoomGetAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRoomGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRoomGetAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRoomGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRoomGetAPIRequest) GetGid ¶
func (r TaobaoXhotelRoomGetAPIRequest) GetGid() int64
GetGid Gid Getter
func (TaobaoXhotelRoomGetAPIRequest) GetOutRid ¶
func (r TaobaoXhotelRoomGetAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoXhotelRoomGetAPIRequest) GetVendor ¶
func (r TaobaoXhotelRoomGetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelRoomGetAPIRequest) SetGid ¶
func (r *TaobaoXhotelRoomGetAPIRequest) SetGid(_gid int64) error
SetGid is Gid Setter 废弃
func (*TaobaoXhotelRoomGetAPIRequest) SetOutRid ¶
func (r *TaobaoXhotelRoomGetAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 外部房型id 如果gid为空,那么out_rid和vendor都不能为空 支持通过gid或者通过out_rid和vendor来获取商品
func (*TaobaoXhotelRoomGetAPIRequest) SetVendor ¶
func (r *TaobaoXhotelRoomGetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 卖家渠道 如果gid为空,那么out_rid和vendor都不能为空。 支持通过gid或者通过out_rid和vendor来获取商品
type TaobaoXhotelRoomGetAPIResponse ¶
type TaobaoXhotelRoomGetAPIResponse struct { model.CommonResponse TaobaoXhotelRoomGetAPIResponseModel }
TaobaoXhotelRoomGetAPIResponse room实体查询 API返回值 taobao.xhotel.room.get
此接口用于查询一个商品,根据传入的gid查询商品信息。卖家只能查询自己的商品。
type TaobaoXhotelRoomGetAPIResponseModel ¶
type TaobaoXhotelRoomGetAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_room_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 房间信息 Room *FirstResult `json:"room,omitempty" xml:"room,omitempty"` }
TaobaoXhotelRoomGetAPIResponseModel is room实体查询 成功返回结果
type TaobaoXhotelRoomUpdateAPIRequest ¶
type TaobaoXhotelRoomUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRoomUpdateAPIRequest 房型库存推送接口(全量推送) API请求 taobao.xhotel.room.update
此接口用于更新一个酒店商品,根据传入的gid更新商品信息,该商品必须为对应的发布者才能执行更新操作。如果对应的商品在酒店系统中不存在,则会返回错误提示。
func NewTaobaoXhotelRoomUpdateRequest ¶
func NewTaobaoXhotelRoomUpdateRequest() *TaobaoXhotelRoomUpdateAPIRequest
NewTaobaoXhotelRoomUpdateRequest 初始化TaobaoXhotelRoomUpdateAPIRequest对象
func (TaobaoXhotelRoomUpdateAPIRequest) GetAllotmentEndTime ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetAllotmentEndTime() string
GetAllotmentEndTime AllotmentEndTime Getter
func (TaobaoXhotelRoomUpdateAPIRequest) GetAllotmentStartTime ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetAllotmentStartTime() string
GetAllotmentStartTime AllotmentStartTime Getter
func (TaobaoXhotelRoomUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRoomUpdateAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRoomUpdateAPIRequest) GetDesc ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetDesc() string
GetDesc Desc Getter
func (TaobaoXhotelRoomUpdateAPIRequest) GetGid ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetGid() int64
GetGid Gid Getter
func (TaobaoXhotelRoomUpdateAPIRequest) GetGuide ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetGuide() string
GetGuide Guide Getter
func (TaobaoXhotelRoomUpdateAPIRequest) GetHasReceipt ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetHasReceipt() bool
GetHasReceipt HasReceipt Getter
func (TaobaoXhotelRoomUpdateAPIRequest) GetInventory ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetInventory() string
GetInventory Inventory Getter
func (TaobaoXhotelRoomUpdateAPIRequest) GetOutRid ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetOutRid() string
GetOutRid OutRid Getter
func (TaobaoXhotelRoomUpdateAPIRequest) GetPic ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetPic() *model.File
GetPic Pic Getter
func (TaobaoXhotelRoomUpdateAPIRequest) GetReceiptInfo ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetReceiptInfo() string
GetReceiptInfo ReceiptInfo Getter
func (TaobaoXhotelRoomUpdateAPIRequest) GetReceiptOtherTypeDesc ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetReceiptOtherTypeDesc() string
GetReceiptOtherTypeDesc ReceiptOtherTypeDesc Getter
func (TaobaoXhotelRoomUpdateAPIRequest) GetReceiptType ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetReceiptType() string
GetReceiptType ReceiptType Getter
func (TaobaoXhotelRoomUpdateAPIRequest) GetRoomSwitchCal ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetRoomSwitchCal() string
GetRoomSwitchCal RoomSwitchCal Getter
func (TaobaoXhotelRoomUpdateAPIRequest) GetStatus ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetStatus() int64
GetStatus Status Getter
func (TaobaoXhotelRoomUpdateAPIRequest) GetSuperbookEndTime ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetSuperbookEndTime() string
GetSuperbookEndTime SuperbookEndTime Getter
func (TaobaoXhotelRoomUpdateAPIRequest) GetSuperbookStartTime ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetSuperbookStartTime() string
GetSuperbookStartTime SuperbookStartTime Getter
func (TaobaoXhotelRoomUpdateAPIRequest) GetTitle ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetTitle() string
GetTitle Title Getter
func (TaobaoXhotelRoomUpdateAPIRequest) GetVendor ¶
func (r TaobaoXhotelRoomUpdateAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelRoomUpdateAPIRequest) SetAllotmentEndTime ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetAllotmentEndTime(_allotmentEndTime string) error
SetAllotmentEndTime is AllotmentEndTime Setter 保留房库存截止时间
func (*TaobaoXhotelRoomUpdateAPIRequest) SetAllotmentStartTime ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetAllotmentStartTime(_allotmentStartTime string) error
SetAllotmentStartTime is AllotmentStartTime Setter 保留房库存截止时间
func (*TaobaoXhotelRoomUpdateAPIRequest) SetDesc ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetDesc(_desc string) error
SetDesc is Desc Setter 废弃,宝贝描述展示在宝贝详情页面
func (*TaobaoXhotelRoomUpdateAPIRequest) SetGid ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetGid(_gid int64) error
SetGid is Gid Setter 废弃,使用out_rid
func (*TaobaoXhotelRoomUpdateAPIRequest) SetGuide ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetGuide(_guide string) error
SetGuide is Guide Setter 废弃,房型购买须知展示在PC购物路径
func (*TaobaoXhotelRoomUpdateAPIRequest) SetHasReceipt ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetHasReceipt(_hasReceipt bool) error
SetHasReceipt is HasReceipt Setter 废弃,房型是否提供发票
func (*TaobaoXhotelRoomUpdateAPIRequest) SetInventory ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetInventory(_inventory string) error
SetInventory is Inventory Setter 房型共享库存日历。quota物理库存;al_quota保留房库存;sp_quota超预定库存。其中保留房库存和超预定库存需要向运营申请权限示例:[{"date":2011-01-28,"quota":10,"al_quota":2,"sp_quota":3}]
func (*TaobaoXhotelRoomUpdateAPIRequest) SetOutRid ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetOutRid(_outRid string) error
SetOutRid is OutRid Setter 卖家房型ID
func (*TaobaoXhotelRoomUpdateAPIRequest) SetPic ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetPic(_pic *model.File) error
SetPic is Pic Setter 废弃,宝贝图片,没有默认使用标准酒店房型图片
func (*TaobaoXhotelRoomUpdateAPIRequest) SetReceiptInfo ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetReceiptInfo(_receiptInfo string) error
SetReceiptInfo is ReceiptInfo Setter 废弃,房型发票说明,不能超过100个字
func (*TaobaoXhotelRoomUpdateAPIRequest) SetReceiptOtherTypeDesc ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetReceiptOtherTypeDesc(_receiptOtherTypeDesc string) error
SetReceiptOtherTypeDesc is ReceiptOtherTypeDesc Setter 废弃,房型发票类型为其他时的发票描述,不能超过30个字
func (*TaobaoXhotelRoomUpdateAPIRequest) SetReceiptType ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetReceiptType(_receiptType string) error
SetReceiptType is ReceiptType Setter 废弃,房型发票类型。A,B。分别代表: A:酒店住宿发票,B:其他
func (*TaobaoXhotelRoomUpdateAPIRequest) SetRoomSwitchCal ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetRoomSwitchCal(_roomSwitchCal string) error
SetRoomSwitchCal is RoomSwitchCal Setter 房型库存开关。 1,开;2,关
func (*TaobaoXhotelRoomUpdateAPIRequest) SetStatus ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 宝贝状态,1上架。
func (*TaobaoXhotelRoomUpdateAPIRequest) SetSuperbookEndTime ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetSuperbookEndTime(_superbookEndTime string) error
SetSuperbookEndTime is SuperbookEndTime Setter 超预定库存截止时间
func (*TaobaoXhotelRoomUpdateAPIRequest) SetSuperbookStartTime ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetSuperbookStartTime(_superbookStartTime string) error
SetSuperbookStartTime is SuperbookStartTime Setter 超预定库存开始时间
func (*TaobaoXhotelRoomUpdateAPIRequest) SetTitle ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 废弃,宝贝名称展示在店铺里
func (*TaobaoXhotelRoomUpdateAPIRequest) SetVendor ¶
func (r *TaobaoXhotelRoomUpdateAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不填写,使用须申请
type TaobaoXhotelRoomUpdateAPIResponse ¶
type TaobaoXhotelRoomUpdateAPIResponse struct { model.CommonResponse TaobaoXhotelRoomUpdateAPIResponseModel }
TaobaoXhotelRoomUpdateAPIResponse 房型库存推送接口(全量推送) API返回值 taobao.xhotel.room.update
此接口用于更新一个酒店商品,根据传入的gid更新商品信息,该商品必须为对应的发布者才能执行更新操作。如果对应的商品在酒店系统中不存在,则会返回错误提示。
type TaobaoXhotelRoomUpdateAPIResponseModel ¶
type TaobaoXhotelRoomUpdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_room_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // gid酒店商品id Gid int64 `json:"gid,omitempty" xml:"gid,omitempty"` }
TaobaoXhotelRoomUpdateAPIResponseModel is 房型库存推送接口(全量推送) 成功返回结果
type TaobaoXhotelRoomsIncrementAPIRequest ¶
type TaobaoXhotelRoomsIncrementAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRoomsIncrementAPIRequest 房型库存推送接口(批量增量) API请求 taobao.xhotel.rooms.increment
Room库存增量更新接口,用户仅需要更新ROOM库存中发生变化的库存日历即可。
func NewTaobaoXhotelRoomsIncrementRequest ¶
func NewTaobaoXhotelRoomsIncrementRequest() *TaobaoXhotelRoomsIncrementAPIRequest
NewTaobaoXhotelRoomsIncrementRequest 初始化TaobaoXhotelRoomsIncrementAPIRequest对象
func (TaobaoXhotelRoomsIncrementAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRoomsIncrementAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRoomsIncrementAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRoomsIncrementAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRoomsIncrementAPIRequest) GetRoomQuotaMap ¶
func (r TaobaoXhotelRoomsIncrementAPIRequest) GetRoomQuotaMap() string
GetRoomQuotaMap RoomQuotaMap Getter
func (*TaobaoXhotelRoomsIncrementAPIRequest) SetRoomQuotaMap ¶
func (r *TaobaoXhotelRoomsIncrementAPIRequest) SetRoomQuotaMap(_roomQuotaMap string) error
SetRoomQuotaMap is RoomQuotaMap Setter 批量全量推送房型共享库存,一次最多修改30个房型。json encode。示例:[{"out_rid":"hotel1_roomtype22","vendor":"","allotment_start_Time":"","allotment_end_time":"","superbook_start_time":"","superbook_end_time":"","roomQuota":[{"date":2010-01-28,"quota":10,"al_quota":2,"sp_quota":3}]}] 其中al_quota为保留房库存,sp_quota为超预定库存,quota为物理库存。al_quota和sp_quota需要向运营申请权限才可维护。allotment_start_Time和allotment_end_time为保留房库存开始和截止时间;superbook_start_time和superbook_end_time为超预定库存开始和截止时间。
type TaobaoXhotelRoomsIncrementAPIResponse ¶
type TaobaoXhotelRoomsIncrementAPIResponse struct { model.CommonResponse TaobaoXhotelRoomsIncrementAPIResponseModel }
TaobaoXhotelRoomsIncrementAPIResponse 房型库存推送接口(批量增量) API返回值 taobao.xhotel.rooms.increment
Room库存增量更新接口,用户仅需要更新ROOM库存中发生变化的库存日历即可。
type TaobaoXhotelRoomsIncrementAPIResponseModel ¶
type TaobaoXhotelRoomsIncrementAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_rooms_increment_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 成功的gids LIST Gids []string `json:"gids,omitempty" xml:"gids>string,omitempty"` }
TaobaoXhotelRoomsIncrementAPIResponseModel is 房型库存推送接口(批量增量) 成功返回结果
type TaobaoXhotelRoomsUpdateAPIRequest ¶
type TaobaoXhotelRoomsUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRoomsUpdateAPIRequest 房型共享库存推送接口(批量全量) API请求 taobao.xhotel.rooms.update
此接口用于更新多个集市酒店商品房态信息,根据传入的gids更新商品信息,该商品必须为对应的发布者才能执行更新操作。如果对应的商品在淘宝集市酒店系统中不存在,则会返回错误提示。是全量更新,非增量,会把之前的房态进行覆盖。
func NewTaobaoXhotelRoomsUpdateRequest ¶
func NewTaobaoXhotelRoomsUpdateRequest() *TaobaoXhotelRoomsUpdateAPIRequest
NewTaobaoXhotelRoomsUpdateRequest 初始化TaobaoXhotelRoomsUpdateAPIRequest对象
func (TaobaoXhotelRoomsUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRoomsUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRoomsUpdateAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRoomsUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRoomsUpdateAPIRequest) GetRoomQuotaMap ¶
func (r TaobaoXhotelRoomsUpdateAPIRequest) GetRoomQuotaMap() string
GetRoomQuotaMap RoomQuotaMap Getter
func (*TaobaoXhotelRoomsUpdateAPIRequest) SetRoomQuotaMap ¶
func (r *TaobaoXhotelRoomsUpdateAPIRequest) SetRoomQuotaMap(_roomQuotaMap string) error
SetRoomQuotaMap is RoomQuotaMap Setter 批量全量推送房型共享库存,一次最多修改30个房型。json encode。示例:[{"out_rid":"hotel1_roomtype22","vendor":"","allotment_start_Time":"","allotment_end_time":"","superbook_start_time":"","superbook_end_time":"","roomQuota":[{"date":2010-01-28,"quota":10,"al_quota":2,"sp_quota":3}]}] 其中al_quota为保留房库存,sp_quota为超预定库存,quota为物理库存。al_quota和sp_quota需要向运营申请权限才可维护。allotment_start_Time和allotment_end_time为保留房库存开始和截止时间;superbook_start_time和superbook_end_time为超预定库存开始和截止时间。
type TaobaoXhotelRoomsUpdateAPIResponse ¶
type TaobaoXhotelRoomsUpdateAPIResponse struct { model.CommonResponse TaobaoXhotelRoomsUpdateAPIResponseModel }
TaobaoXhotelRoomsUpdateAPIResponse 房型共享库存推送接口(批量全量) API返回值 taobao.xhotel.rooms.update
此接口用于更新多个集市酒店商品房态信息,根据传入的gids更新商品信息,该商品必须为对应的发布者才能执行更新操作。如果对应的商品在淘宝集市酒店系统中不存在,则会返回错误提示。是全量更新,非增量,会把之前的房态进行覆盖。
type TaobaoXhotelRoomsUpdateAPIResponseModel ¶
type TaobaoXhotelRoomsUpdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_rooms_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 成功的gids LIST Gids []string `json:"gids,omitempty" xml:"gids>string,omitempty"` }
TaobaoXhotelRoomsUpdateAPIResponseModel is 房型共享库存推送接口(批量全量) 成功返回结果
type TaobaoXhotelRoomtypeAddAPIRequest ¶
type TaobaoXhotelRoomtypeAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRoomtypeAddAPIRequest 房型新增接口(ID重复变更新) API请求 taobao.xhotel.roomtype.add
房型添加或更新
func NewTaobaoXhotelRoomtypeAddRequest ¶
func NewTaobaoXhotelRoomtypeAddRequest() *TaobaoXhotelRoomtypeAddAPIRequest
NewTaobaoXhotelRoomtypeAddRequest 初始化TaobaoXhotelRoomtypeAddAPIRequest对象
func (TaobaoXhotelRoomtypeAddAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRoomtypeAddAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRoomtypeAddAPIRequest) GetArea ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetArea() string
GetArea Area Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetBedInfo ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetBedInfo() string
GetBedInfo BedInfo Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetBedSize ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetBedSize() string
GetBedSize BedSize Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetBedType ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetBedType() string
GetBedType BedType Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetConnectionType ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetConnectionType() int64
GetConnectionType ConnectionType Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetExtend ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetExtend() string
GetExtend Extend Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetFloor ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetFloor() string
GetFloor Floor Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetHid ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetInternet ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetInternet() string
GetInternet Internet Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetMaxOccupancy ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetMaxOccupancy() int64
GetMaxOccupancy MaxOccupancy Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetName ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetNameE ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetNameE() string
GetNameE NameE Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetOperator ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetOperator() string
GetOperator Operator Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetOutHid ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetOutHid() string
GetOutHid OutHid Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetOuterId ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetPics ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetPics() string
GetPics Pics Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetService ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetService() string
GetService Service Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetSrid ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetSrid() int64
GetSrid Srid Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetStandardRoomFacilities ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetStandardRoomFacilities() string
GetStandardRoomFacilities StandardRoomFacilities Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetVendor ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (TaobaoXhotelRoomtypeAddAPIRequest) GetWindowType ¶
func (r TaobaoXhotelRoomtypeAddAPIRequest) GetWindowType() int64
GetWindowType WindowType Getter
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetArea ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetArea(_area string) error
SetArea is Area Setter 具体面积大小,请按照正确格式填写。两种格式,例如:40或者 10-20
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetBedInfo ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetBedInfo(_bedInfo string) error
SetBedInfo is BedInfo Setter main_bed_type母床型,sub_bed_type子床型。详情参见文档: https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.yN2mES&docType=1&articleId=118712&previewCode=1DABB73EA935608455E203BA06CF3566
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetBedSize ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetBedSize(_bedSize string) error
SetBedSize is BedSize Setter 床宽。按自己定义存储,比如:2.1米
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetBedType ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetBedType(_bedType string) error
SetBedType is BedType Setter 床型。按链接中床型列表定义值存储 http://open.taobao.com/docs/doc.htm?&docType=1&articleId=105610
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetConnectionType ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetConnectionType(_connectionType int64) error
SetConnectionType is ConnectionType Setter 属性值为1: 含义是非直连房型
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetExtend ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetExtend(_extend string) error
SetExtend is Extend Setter 不要使用
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetFloor ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetFloor(_floor string) error
SetFloor is Floor Setter 客房在建筑的第几层,隔层为1-2层,4-5层,7-8层
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetHid ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter (已废弃)请使用outHid
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetInternet ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetInternet(_internet string) error
SetInternet is Internet Setter 宽带服务。A,B,C,D。分别代表: A:无宽带,B:免费宽带,C:收费宽带,D:部分收费宽带
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetMaxOccupancy ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetMaxOccupancy(_maxOccupancy int64) error
SetMaxOccupancy is MaxOccupancy Setter 最大入住人数,默认2(1-99)
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetName ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetName(_name string) error
SetName is Name Setter 房型名称。不能超过30字
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetNameE ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetNameE(_nameE string) error
SetNameE is NameE Setter 卖家房型英文名称
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetOperator ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetOperator(_operator string) error
SetOperator is Operator Setter 操作人信息
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetOutHid ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetOutHid(_outHid string) error
SetOutHid is OutHid Setter (必传)商家酒店ID,指明该房型属于哪家酒店
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetOuterId ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 卖家房型ID,不能重复建议格式是:酒店code_房型code
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetPics ¶
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 ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetService(_service string) error
SetService is Service Setter 设施服务。JSON格式。 value值true有此服务,false没有。 bar:吧台,catv:有线电视,ddd:国内长途电话,idd:国际长途电话,toilet:独立卫生间,pubtoliet:公共卫生间。 如: {"bar":false,"catv":false,"ddd":false,"idd":false,"pubtoilet":false,"toilet":false}
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetSrid ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetSrid(_srid int64) error
SetSrid is Srid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝房型的匹配关系。目前尚未启动该字段。
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetStandardRoomFacilities ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetStandardRoomFacilities(_standardRoomFacilities string) error
SetStandardRoomFacilities is StandardRoomFacilities Setter 酒店房型设施
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetVendor ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,无申请不可使用
func (*TaobaoXhotelRoomtypeAddAPIRequest) SetWindowType ¶
func (r *TaobaoXhotelRoomtypeAddAPIRequest) SetWindowType(_windowType int64) error
SetWindowType is WindowType Setter 0:无窗/1:有窗/2:部分有窗/3:暗窗/4:部分暗窗
type TaobaoXhotelRoomtypeAddAPIResponse ¶
type TaobaoXhotelRoomtypeAddAPIResponse struct { model.CommonResponse TaobaoXhotelRoomtypeAddAPIResponseModel }
TaobaoXhotelRoomtypeAddAPIResponse 房型新增接口(ID重复变更新) API返回值 taobao.xhotel.roomtype.add
房型添加或更新
type TaobaoXhotelRoomtypeAddAPIResponseModel ¶
type TaobaoXhotelRoomtypeAddAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_roomtype_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 房型信息 Xroomtype *XRoomType `json:"xroomtype,omitempty" xml:"xroomtype,omitempty"` }
TaobaoXhotelRoomtypeAddAPIResponseModel is 房型新增接口(ID重复变更新) 成功返回结果
type TaobaoXhotelRoomtypeConflictDataAPIRequest ¶
type TaobaoXhotelRoomtypeConflictDataAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRoomtypeConflictDataAPIRequest 商家床型冲突数据接口 API请求 taobao.xhotel.roomtype.conflict.data
商家床型冲突数据接口
func NewTaobaoXhotelRoomtypeConflictDataRequest ¶
func NewTaobaoXhotelRoomtypeConflictDataRequest() *TaobaoXhotelRoomtypeConflictDataAPIRequest
NewTaobaoXhotelRoomtypeConflictDataRequest 初始化TaobaoXhotelRoomtypeConflictDataAPIRequest对象
func (TaobaoXhotelRoomtypeConflictDataAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRoomtypeConflictDataAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRoomtypeConflictDataAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRoomtypeConflictDataAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRoomtypeConflictDataAPIRequest) GetCurrentPage ¶
func (r TaobaoXhotelRoomtypeConflictDataAPIRequest) GetCurrentPage() int64
GetCurrentPage CurrentPage Getter
func (*TaobaoXhotelRoomtypeConflictDataAPIRequest) SetCurrentPage ¶
func (r *TaobaoXhotelRoomtypeConflictDataAPIRequest) SetCurrentPage(_currentPage int64) error
SetCurrentPage is CurrentPage Setter 查询第几页数据
type TaobaoXhotelRoomtypeConflictDataAPIResponse ¶
type TaobaoXhotelRoomtypeConflictDataAPIResponse struct { model.CommonResponse TaobaoXhotelRoomtypeConflictDataAPIResponseModel }
TaobaoXhotelRoomtypeConflictDataAPIResponse 商家床型冲突数据接口 API返回值 taobao.xhotel.roomtype.conflict.data
商家床型冲突数据接口
type TaobaoXhotelRoomtypeConflictDataAPIResponseModel ¶
type TaobaoXhotelRoomtypeConflictDataAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_roomtype_conflict_data_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询结果集 Result *TaobaoXhotelRoomtypeConflictDataResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelRoomtypeConflictDataAPIResponseModel is 商家床型冲突数据接口 成功返回结果
type TaobaoXhotelRoomtypeConflictDataResultSet ¶
type TaobaoXhotelRoomtypeConflictDataResultSet struct { // 结果集 Results []RoomTypeCheckResultDo `json:"results,omitempty" xml:"results>room_type_check_result_do,omitempty"` // 警告信息 WarnMessage string `json:"warn_message,omitempty" xml:"warn_message,omitempty"` // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // 是否还有下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
TaobaoXhotelRoomtypeConflictDataResultSet 结构体
type TaobaoXhotelRoomtypeDeletePublicAPIRequest ¶
type TaobaoXhotelRoomtypeDeletePublicAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRoomtypeDeletePublicAPIRequest 商家删除房型数据接口 API请求 taobao.xhotel.roomtype.delete.public
房型删除TOP接口
func NewTaobaoXhotelRoomtypeDeletePublicRequest ¶
func NewTaobaoXhotelRoomtypeDeletePublicRequest() *TaobaoXhotelRoomtypeDeletePublicAPIRequest
NewTaobaoXhotelRoomtypeDeletePublicRequest 初始化TaobaoXhotelRoomtypeDeletePublicAPIRequest对象
func (TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetOperator ¶
func (r TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetOperator() string
GetOperator Operator Getter
func (TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetOuterRid ¶
func (r TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetOuterRid() string
GetOuterRid OuterRid Getter
func (TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetRid ¶
func (r TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetRid() int64
GetRid Rid Getter
func (TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetVendor ¶
func (r TaobaoXhotelRoomtypeDeletePublicAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelRoomtypeDeletePublicAPIRequest) SetOperator ¶
func (r *TaobaoXhotelRoomtypeDeletePublicAPIRequest) SetOperator(_operator string) error
SetOperator is Operator Setter 具体操作人,比如酒店帐号、小二名称等
func (*TaobaoXhotelRoomtypeDeletePublicAPIRequest) SetOuterRid ¶
func (r *TaobaoXhotelRoomtypeDeletePublicAPIRequest) SetOuterRid(_outerRid string) error
SetOuterRid is OuterRid Setter 外部房型ID
func (*TaobaoXhotelRoomtypeDeletePublicAPIRequest) SetRid ¶
func (r *TaobaoXhotelRoomtypeDeletePublicAPIRequest) SetRid(_rid int64) error
SetRid is Rid Setter 房型rid ,�传参方式:rid 或者 outer_id+vendor
func (*TaobaoXhotelRoomtypeDeletePublicAPIRequest) SetVendor ¶
func (r *TaobaoXhotelRoomtypeDeletePublicAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter vendor
type TaobaoXhotelRoomtypeDeletePublicAPIResponse ¶
type TaobaoXhotelRoomtypeDeletePublicAPIResponse struct { model.CommonResponse TaobaoXhotelRoomtypeDeletePublicAPIResponseModel }
TaobaoXhotelRoomtypeDeletePublicAPIResponse 商家删除房型数据接口 API返回值 taobao.xhotel.roomtype.delete.public
房型删除TOP接口
type TaobaoXhotelRoomtypeDeletePublicAPIResponseModel ¶
type TaobaoXhotelRoomtypeDeletePublicAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_roomtype_delete_public_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoXhotelRoomtypeDeletePublicResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelRoomtypeDeletePublicAPIResponseModel is 商家删除房型数据接口 成功返回结果
type TaobaoXhotelRoomtypeDeletePublicResultSet ¶
type TaobaoXhotelRoomtypeDeletePublicResultSet struct { // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // deleteResult DeleteResult string `json:"delete_result,omitempty" xml:"delete_result,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoXhotelRoomtypeDeletePublicResultSet 结构体
type TaobaoXhotelRoomtypeGetAPIRequest ¶
type TaobaoXhotelRoomtypeGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRoomtypeGetAPIRequest 房型查询接口 API请求 taobao.xhotel.roomtype.get
房型查询房型查询接口返回结果增加date_confirm字段
func NewTaobaoXhotelRoomtypeGetRequest ¶
func NewTaobaoXhotelRoomtypeGetRequest() *TaobaoXhotelRoomtypeGetAPIRequest
NewTaobaoXhotelRoomtypeGetRequest 初始化TaobaoXhotelRoomtypeGetAPIRequest对象
func (TaobaoXhotelRoomtypeGetAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRoomtypeGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRoomtypeGetAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRoomtypeGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRoomtypeGetAPIRequest) GetOuterId ¶
func (r TaobaoXhotelRoomtypeGetAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoXhotelRoomtypeGetAPIRequest) GetRid ¶
func (r TaobaoXhotelRoomtypeGetAPIRequest) GetRid() int64
GetRid Rid Getter
func (TaobaoXhotelRoomtypeGetAPIRequest) GetVendor ¶
func (r TaobaoXhotelRoomtypeGetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelRoomtypeGetAPIRequest) SetOuterId ¶
func (r *TaobaoXhotelRoomtypeGetAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 商家房型ID
func (*TaobaoXhotelRoomtypeGetAPIRequest) SetRid ¶
func (r *TaobaoXhotelRoomtypeGetAPIRequest) SetRid(_rid int64) error
SetRid is Rid Setter 废弃,使用商家房型ID
func (*TaobaoXhotelRoomtypeGetAPIRequest) SetVendor ¶
func (r *TaobaoXhotelRoomtypeGetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般不填写,使用须申请
type TaobaoXhotelRoomtypeGetAPIResponse ¶
type TaobaoXhotelRoomtypeGetAPIResponse struct { model.CommonResponse TaobaoXhotelRoomtypeGetAPIResponseModel }
TaobaoXhotelRoomtypeGetAPIResponse 房型查询接口 API返回值 taobao.xhotel.roomtype.get
房型查询房型查询接口返回结果增加date_confirm字段
type TaobaoXhotelRoomtypeGetAPIResponseModel ¶
type TaobaoXhotelRoomtypeGetAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_roomtype_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询得到的RoomType Xroomtype *XRoomType `json:"xroomtype,omitempty" xml:"xroomtype,omitempty"` }
TaobaoXhotelRoomtypeGetAPIResponseModel is 房型查询接口 成功返回结果
type TaobaoXhotelRoomtypeUpdateAPIRequest ¶
type TaobaoXhotelRoomtypeUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelRoomtypeUpdateAPIRequest 房型更新接口(ID不存在自动新增) API请求 taobao.xhotel.roomtype.update
酒店房型更新或添加
func NewTaobaoXhotelRoomtypeUpdateRequest ¶
func NewTaobaoXhotelRoomtypeUpdateRequest() *TaobaoXhotelRoomtypeUpdateAPIRequest
NewTaobaoXhotelRoomtypeUpdateRequest 初始化TaobaoXhotelRoomtypeUpdateAPIRequest对象
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetApiParams ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetArea ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetArea() string
GetArea Area Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetBedInfo ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetBedInfo() string
GetBedInfo BedInfo Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetBedSize ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetBedSize() string
GetBedSize BedSize Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetBedType ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetBedType() string
GetBedType BedType Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetConnectionType ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetConnectionType() int64
GetConnectionType ConnectionType Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetExtend ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetExtend() string
GetExtend Extend Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetFloor ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetFloor() string
GetFloor Floor Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetHid ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetHotelCode ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetHotelCode() string
GetHotelCode HotelCode Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetInternet ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetInternet() string
GetInternet Internet Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetMaxOccupancy ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetMaxOccupancy() int64
GetMaxOccupancy MaxOccupancy Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetName ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetNameE ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetNameE() string
GetNameE NameE Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetNewOuterId ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetNewOuterId() string
GetNewOuterId NewOuterId Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetOperator ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetOperator() string
GetOperator Operator Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetOuterId ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetPics ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetPics() string
GetPics Pics Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetRid ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetRid() int64
GetRid Rid Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetService ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetService() string
GetService Service Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetSrid ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetSrid() int64
GetSrid Srid Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetStandardRoomFacilities ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetStandardRoomFacilities() string
GetStandardRoomFacilities StandardRoomFacilities Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetStatus ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetStatus() *model.File
GetStatus Status Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetVendor ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (TaobaoXhotelRoomtypeUpdateAPIRequest) GetWindowType ¶
func (r TaobaoXhotelRoomtypeUpdateAPIRequest) GetWindowType() int64
GetWindowType WindowType Getter
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetArea ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetArea(_area string) error
SetArea is Area Setter 具体面积大小,请按照正确格式填写。两种格式,例如:40 或者 10-20
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetBedInfo ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetBedInfo(_bedInfo string) error
SetBedInfo is BedInfo Setter main_bed_type母床型,sub_bed_type子床型。详情参见文档: https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.yN2mES&docType=1&articleId=118712&previewCode=1DABB73EA935608455E203BA06CF3566
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetBedSize ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetBedSize(_bedSize string) error
SetBedSize is BedSize Setter 床宽。按自己定义存储,比如:2.1米
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetBedType ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetBedType(_bedType string) error
SetBedType is BedType Setter 床型。必填,按链接中床型列表定义值存储 http://open.taobao.com/docs/doc.htm?&docType=1&articleId=105610
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetConnectionType ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetConnectionType(_connectionType int64) error
SetConnectionType is ConnectionType Setter 属性值为1: 含义是非直连房型
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetExtend ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetExtend(_extend string) error
SetExtend is Extend Setter 扩展信息的JSON。注:此字段的值需要ISV在接入前与淘宝沟通,且确认能解析
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetFloor ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetFloor(_floor string) error
SetFloor is Floor Setter 客房在建筑的第几层,隔层为1-2层,4-5层,7-8层
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetHid ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter (已废弃)
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetHotelCode ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetHotelCode(_hotelCode string) error
SetHotelCode is HotelCode Setter 商家酒店ID(如果更新房型的时候房型不存在,会拿该code去新增房型)
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetInternet ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetInternet(_internet string) error
SetInternet is Internet Setter 宽带服务。A,B,C,D。分别代表: A:无宽带,B:免费宽带,C:收费宽带,D:部分收费宽带
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetMaxOccupancy ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetMaxOccupancy(_maxOccupancy int64) error
SetMaxOccupancy is MaxOccupancy Setter 最大入住人数,默认2(1-99)
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetName ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetName(_name string) error
SetName is Name Setter 房型名称。不能超过30字(30个汉字或者60个英文字符);添加房型时为必须
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetNameE ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetNameE(_nameE string) error
SetNameE is NameE Setter 卖家房型英文名称
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetNewOuterId ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetNewOuterId(_newOuterId string) error
SetNewOuterId is NewOuterId Setter 新的房型编码,请确实需要修改某个房型的编码的时候才使用,如需使用,请联系飞猪技术支持开通权限,否则会更新失败
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetOperator ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetOperator(_operator string) error
SetOperator is Operator Setter 操作人信息
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetOuterId ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter (必传)商家房型ID
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetPics ¶
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 ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetRid(_rid int64) error
SetRid is Rid Setter (已废弃)
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetService ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetService(_service string) error
SetService is Service Setter 设施服务。JSON格式。 value值true有此服务,false没有。 bar:吧台,catv:有线电视,ddd:国内长途电话,idd:国际长途电话,toilet:独立卫生间,pubtoliet:公共卫生间。 如: {"bar":false,"catv":false,"ddd":false,"idd":false,"pubtoilet":false,"toilet":false}
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetSrid ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetSrid(_srid int64) error
SetSrid is Srid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝房型的匹配关系。目前尚未启动该字段。
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetStandardRoomFacilities ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetStandardRoomFacilities(_standardRoomFacilities string) error
SetStandardRoomFacilities is StandardRoomFacilities Setter 房间设施
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetStatus ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetStatus(_status *model.File) error
SetStatus is Status Setter 房型状态。0:正常,-1:删除,-2:停售
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetVendor ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,不要使用,只有申请才可用
func (*TaobaoXhotelRoomtypeUpdateAPIRequest) SetWindowType ¶
func (r *TaobaoXhotelRoomtypeUpdateAPIRequest) SetWindowType(_windowType int64) error
SetWindowType is WindowType Setter 0:无窗/1:有窗
type TaobaoXhotelRoomtypeUpdateAPIResponse ¶
type TaobaoXhotelRoomtypeUpdateAPIResponse struct { model.CommonResponse TaobaoXhotelRoomtypeUpdateAPIResponseModel }
TaobaoXhotelRoomtypeUpdateAPIResponse 房型更新接口(ID不存在自动新增) API返回值 taobao.xhotel.roomtype.update
酒店房型更新或添加
type TaobaoXhotelRoomtypeUpdateAPIResponseModel ¶
type TaobaoXhotelRoomtypeUpdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_roomtype_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 房型信息 Xroomtype *XRoomType `json:"xroomtype,omitempty" xml:"xroomtype,omitempty"` }
TaobaoXhotelRoomtypeUpdateAPIResponseModel is 房型更新接口(ID不存在自动新增) 成功返回结果
type TaobaoXhotelServicetimeGetAPIRequest ¶
type TaobaoXhotelServicetimeGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelServicetimeGetAPIRequest 查询实体对应的服务时间数据 API请求 taobao.xhotel.servicetime.get
通过实体来获取对应的服务时间数据
func NewTaobaoXhotelServicetimeGetRequest ¶
func NewTaobaoXhotelServicetimeGetRequest() *TaobaoXhotelServicetimeGetAPIRequest
NewTaobaoXhotelServicetimeGetRequest 初始化TaobaoXhotelServicetimeGetAPIRequest对象
func (TaobaoXhotelServicetimeGetAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelServicetimeGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelServicetimeGetAPIRequest) GetApiParams ¶
func (r TaobaoXhotelServicetimeGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelServicetimeGetAPIRequest) GetHid ¶
func (r TaobaoXhotelServicetimeGetAPIRequest) GetHid() int64
GetHid Hid Getter
func (*TaobaoXhotelServicetimeGetAPIRequest) SetHid ¶
func (r *TaobaoXhotelServicetimeGetAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 酒店id
type TaobaoXhotelServicetimeGetAPIResponse ¶
type TaobaoXhotelServicetimeGetAPIResponse struct { model.CommonResponse TaobaoXhotelServicetimeGetAPIResponseModel }
TaobaoXhotelServicetimeGetAPIResponse 查询实体对应的服务时间数据 API返回值 taobao.xhotel.servicetime.get
通过实体来获取对应的服务时间数据
type TaobaoXhotelServicetimeGetAPIResponseModel ¶
type TaobaoXhotelServicetimeGetAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_servicetime_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoXhotelServicetimeGetResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelServicetimeGetAPIResponseModel is 查询实体对应的服务时间数据 成功返回结果
type TaobaoXhotelServicetimeGetResultSet ¶
type TaobaoXhotelServicetimeGetResultSet struct { // firstResult FirstResults []ServiceTimeDataDo `json:"first_results,omitempty" xml:"first_results>service_time_data_do,omitempty"` // results Results []string `json:"results,omitempty" xml:"results>string,omitempty"` // exception Exception string `json:"exception,omitempty" xml:"exception,omitempty"` // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // warnMessage WarnMessage string `json:"warn_message,omitempty" xml:"warn_message,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // totalResults TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // hasNext HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
TaobaoXhotelServicetimeGetResultSet 结构体
type TaobaoXhotelServicetimeUpdateAPIRequest ¶
type TaobaoXhotelServicetimeUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelServicetimeUpdateAPIRequest 飞猪酒店多维度服务时间维护接口 API请求 taobao.xhotel.servicetime.update
飞猪酒店多维度服务时间维护,支持卖家维度,supplier维度,酒店维度
func NewTaobaoXhotelServicetimeUpdateRequest ¶
func NewTaobaoXhotelServicetimeUpdateRequest() *TaobaoXhotelServicetimeUpdateAPIRequest
NewTaobaoXhotelServicetimeUpdateRequest 初始化TaobaoXhotelServicetimeUpdateAPIRequest对象
func (TaobaoXhotelServicetimeUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelServicetimeUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelServicetimeUpdateAPIRequest) GetApiParams ¶
func (r TaobaoXhotelServicetimeUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelServicetimeUpdateAPIRequest) GetParam ¶
func (r TaobaoXhotelServicetimeUpdateAPIRequest) GetParam() string
GetParam Param Getter
func (*TaobaoXhotelServicetimeUpdateAPIRequest) SetParam ¶
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 ¶
type TaobaoXhotelServicetimeUpdateAPIResponse struct { model.CommonResponse TaobaoXhotelServicetimeUpdateAPIResponseModel }
TaobaoXhotelServicetimeUpdateAPIResponse 飞猪酒店多维度服务时间维护接口 API返回值 taobao.xhotel.servicetime.update
飞猪酒店多维度服务时间维护,支持卖家维度,supplier维度,酒店维度
type TaobaoXhotelServicetimeUpdateAPIResponseModel ¶
type TaobaoXhotelServicetimeUpdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_servicetime_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoXhotelServicetimeUpdateResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelServicetimeUpdateAPIResponseModel is 飞猪酒店多维度服务时间维护接口 成功返回结果
type TaobaoXhotelServicetimeUpdateResultSet ¶
type TaobaoXhotelServicetimeUpdateResultSet struct { // results Results []string `json:"results,omitempty" xml:"results>string,omitempty"` // exception Exception string `json:"exception,omitempty" xml:"exception,omitempty"` // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // warnMessage WarnMessage string `json:"warn_message,omitempty" xml:"warn_message,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // totalResults TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // hasNext HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
TaobaoXhotelServicetimeUpdateResultSet 结构体
type TaobaoXhotelUpdateAPIRequest ¶
TaobaoXhotelUpdateAPIRequest 酒店更新接口(ID不存在自动新增) API请求 taobao.xhotel.update
酒店更新接口
func NewTaobaoXhotelUpdateRequest ¶
func NewTaobaoXhotelUpdateRequest() *TaobaoXhotelUpdateAPIRequest
NewTaobaoXhotelUpdateRequest 初始化TaobaoXhotelUpdateAPIRequest对象
func (TaobaoXhotelUpdateAPIRequest) GetAddress ¶
func (r TaobaoXhotelUpdateAPIRequest) GetAddress() string
GetAddress Address Getter
func (TaobaoXhotelUpdateAPIRequest) GetAliNick ¶
func (r TaobaoXhotelUpdateAPIRequest) GetAliNick() string
GetAliNick AliNick Getter
func (TaobaoXhotelUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelUpdateAPIRequest) GetApiParams ¶
func (r TaobaoXhotelUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelUpdateAPIRequest) GetBookingNotice ¶
func (r TaobaoXhotelUpdateAPIRequest) GetBookingNotice() string
GetBookingNotice BookingNotice Getter
func (TaobaoXhotelUpdateAPIRequest) GetBrand ¶
func (r TaobaoXhotelUpdateAPIRequest) GetBrand() string
GetBrand Brand Getter
func (TaobaoXhotelUpdateAPIRequest) GetBusiness ¶
func (r TaobaoXhotelUpdateAPIRequest) GetBusiness() string
GetBusiness Business Getter
func (TaobaoXhotelUpdateAPIRequest) GetCity ¶
func (r TaobaoXhotelUpdateAPIRequest) GetCity() int64
GetCity City Getter
func (TaobaoXhotelUpdateAPIRequest) GetCoordinateSystem ¶
func (r TaobaoXhotelUpdateAPIRequest) GetCoordinateSystem() string
GetCoordinateSystem CoordinateSystem Getter
func (TaobaoXhotelUpdateAPIRequest) GetCountry ¶
func (r TaobaoXhotelUpdateAPIRequest) GetCountry() string
GetCountry Country Getter
func (TaobaoXhotelUpdateAPIRequest) GetCreditCardTypes ¶
func (r TaobaoXhotelUpdateAPIRequest) GetCreditCardTypes() string
GetCreditCardTypes CreditCardTypes Getter
func (TaobaoXhotelUpdateAPIRequest) GetDecorateTime ¶
func (r TaobaoXhotelUpdateAPIRequest) GetDecorateTime() string
GetDecorateTime DecorateTime Getter
func (TaobaoXhotelUpdateAPIRequest) GetDescription ¶
func (r TaobaoXhotelUpdateAPIRequest) GetDescription() string
GetDescription Description Getter
func (TaobaoXhotelUpdateAPIRequest) GetDistrict ¶
func (r TaobaoXhotelUpdateAPIRequest) GetDistrict() int64
GetDistrict District Getter
func (TaobaoXhotelUpdateAPIRequest) GetDomestic ¶
func (r TaobaoXhotelUpdateAPIRequest) GetDomestic() int64
GetDomestic Domestic Getter
func (TaobaoXhotelUpdateAPIRequest) GetExtend ¶
func (r TaobaoXhotelUpdateAPIRequest) GetExtend() string
GetExtend Extend Getter
func (TaobaoXhotelUpdateAPIRequest) GetFloors ¶
func (r TaobaoXhotelUpdateAPIRequest) GetFloors() string
GetFloors Floors Getter
func (TaobaoXhotelUpdateAPIRequest) GetHid ¶
func (r TaobaoXhotelUpdateAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoXhotelUpdateAPIRequest) GetHotelFacilities ¶
func (r TaobaoXhotelUpdateAPIRequest) GetHotelFacilities() string
GetHotelFacilities HotelFacilities Getter
func (TaobaoXhotelUpdateAPIRequest) GetHotelPolicies ¶
func (r TaobaoXhotelUpdateAPIRequest) GetHotelPolicies() string
GetHotelPolicies HotelPolicies Getter
func (TaobaoXhotelUpdateAPIRequest) GetHotelType ¶
func (r TaobaoXhotelUpdateAPIRequest) GetHotelType() int64
GetHotelType HotelType Getter
func (TaobaoXhotelUpdateAPIRequest) GetLatitude ¶
func (r TaobaoXhotelUpdateAPIRequest) GetLatitude() string
GetLatitude Latitude Getter
func (TaobaoXhotelUpdateAPIRequest) GetLongitude ¶
func (r TaobaoXhotelUpdateAPIRequest) GetLongitude() string
GetLongitude Longitude Getter
func (TaobaoXhotelUpdateAPIRequest) GetName ¶
func (r TaobaoXhotelUpdateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoXhotelUpdateAPIRequest) GetNameE ¶
func (r TaobaoXhotelUpdateAPIRequest) GetNameE() string
GetNameE NameE Getter
func (TaobaoXhotelUpdateAPIRequest) GetOpeningTime ¶
func (r TaobaoXhotelUpdateAPIRequest) GetOpeningTime() string
GetOpeningTime OpeningTime Getter
func (TaobaoXhotelUpdateAPIRequest) GetOrbitTrack ¶
func (r TaobaoXhotelUpdateAPIRequest) GetOrbitTrack() string
GetOrbitTrack OrbitTrack Getter
func (TaobaoXhotelUpdateAPIRequest) GetOuterId ¶
func (r TaobaoXhotelUpdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoXhotelUpdateAPIRequest) GetPics ¶
func (r TaobaoXhotelUpdateAPIRequest) GetPics() string
GetPics Pics Getter
func (TaobaoXhotelUpdateAPIRequest) GetPositionType ¶
func (r TaobaoXhotelUpdateAPIRequest) GetPositionType() string
GetPositionType PositionType Getter
func (TaobaoXhotelUpdateAPIRequest) GetPostalCode ¶
func (r TaobaoXhotelUpdateAPIRequest) GetPostalCode() string
GetPostalCode PostalCode Getter
func (TaobaoXhotelUpdateAPIRequest) GetProvince ¶
func (r TaobaoXhotelUpdateAPIRequest) GetProvince() int64
GetProvince Province Getter
func (TaobaoXhotelUpdateAPIRequest) GetRoomFacilities ¶
func (r TaobaoXhotelUpdateAPIRequest) GetRoomFacilities() string
GetRoomFacilities RoomFacilities Getter
func (TaobaoXhotelUpdateAPIRequest) GetRooms ¶
func (r TaobaoXhotelUpdateAPIRequest) GetRooms() int64
GetRooms Rooms Getter
func (TaobaoXhotelUpdateAPIRequest) GetService ¶
func (r TaobaoXhotelUpdateAPIRequest) GetService() string
GetService Service Getter
func (TaobaoXhotelUpdateAPIRequest) GetServiceType ¶
func (r TaobaoXhotelUpdateAPIRequest) GetServiceType() int64
GetServiceType ServiceType Getter
func (TaobaoXhotelUpdateAPIRequest) GetSettlementCurrency ¶
func (r TaobaoXhotelUpdateAPIRequest) GetSettlementCurrency() string
GetSettlementCurrency SettlementCurrency Getter
func (TaobaoXhotelUpdateAPIRequest) GetShid ¶
func (r TaobaoXhotelUpdateAPIRequest) GetShid() int64
GetShid Shid Getter
func (TaobaoXhotelUpdateAPIRequest) GetStandardAmuseFacilities ¶
func (r TaobaoXhotelUpdateAPIRequest) GetStandardAmuseFacilities() string
GetStandardAmuseFacilities StandardAmuseFacilities Getter
func (TaobaoXhotelUpdateAPIRequest) GetStandardBookingNotice ¶
func (r TaobaoXhotelUpdateAPIRequest) GetStandardBookingNotice() string
GetStandardBookingNotice StandardBookingNotice Getter
func (TaobaoXhotelUpdateAPIRequest) GetStandardHotelFacilities ¶
func (r TaobaoXhotelUpdateAPIRequest) GetStandardHotelFacilities() string
GetStandardHotelFacilities StandardHotelFacilities Getter
func (TaobaoXhotelUpdateAPIRequest) GetStandardHotelService ¶
func (r TaobaoXhotelUpdateAPIRequest) GetStandardHotelService() string
GetStandardHotelService StandardHotelService Getter
func (TaobaoXhotelUpdateAPIRequest) GetStandardRoomFacilities ¶
func (r TaobaoXhotelUpdateAPIRequest) GetStandardRoomFacilities() string
GetStandardRoomFacilities StandardRoomFacilities Getter
func (TaobaoXhotelUpdateAPIRequest) GetStar ¶
func (r TaobaoXhotelUpdateAPIRequest) GetStar() string
GetStar Star Getter
func (TaobaoXhotelUpdateAPIRequest) GetStatus ¶
func (r TaobaoXhotelUpdateAPIRequest) GetStatus() *model.File
GetStatus Status Getter
func (TaobaoXhotelUpdateAPIRequest) GetSupplier ¶
func (r TaobaoXhotelUpdateAPIRequest) GetSupplier() string
GetSupplier Supplier Getter
func (TaobaoXhotelUpdateAPIRequest) GetTagJson ¶
func (r TaobaoXhotelUpdateAPIRequest) GetTagJson() string
GetTagJson TagJson Getter
func (TaobaoXhotelUpdateAPIRequest) GetTel ¶
func (r TaobaoXhotelUpdateAPIRequest) GetTel() string
GetTel Tel Getter
func (TaobaoXhotelUpdateAPIRequest) GetUsedName ¶
func (r TaobaoXhotelUpdateAPIRequest) GetUsedName() string
GetUsedName UsedName Getter
func (TaobaoXhotelUpdateAPIRequest) GetVendor ¶
func (r TaobaoXhotelUpdateAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelUpdateAPIRequest) SetAddress ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetAddress(_address string) error
SetAddress is Address Setter 酒店地址。长度不能超过255
func (*TaobaoXhotelUpdateAPIRequest) SetAliNick ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetAliNick(_aliNick string) error
SetAliNick is AliNick Setter 旺旺昵称
func (*TaobaoXhotelUpdateAPIRequest) SetBookingNotice ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetBookingNotice(_bookingNotice string) error
SetBookingNotice is BookingNotice Setter 预订须知。json字段描述:hotelInMountaintop 酒店位于山顶 1在山顶、0不在;needBoat 酒店需要坐船前往 1需要、0不需要;酒店位于景区内 1在景区、0不在;extraBed 加床收费;extraCharge 额外收费;arrivalTime 到店时间;extend 其他补充项
func (*TaobaoXhotelUpdateAPIRequest) SetBrand ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetBrand(_brand string) error
SetBrand is Brand Setter 酒店品牌。取值为数字。枚举见链接:https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.S16vXH&docType=1&articleId=120180
func (*TaobaoXhotelUpdateAPIRequest) SetBusiness ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetBusiness(_business string) error
SetBusiness is Business Setter 商业区(圈)长度不超过20字
func (*TaobaoXhotelUpdateAPIRequest) SetCity ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetCity(_city int64) error
SetCity is City Setter 城市编码。参见:http://hotel.alitrip.com/area.htm?tbpm=3,domestic为false时,输入对应国家的海外城市编码,可调用海外城市查询接口获取;(新增酒店时为必须)
func (*TaobaoXhotelUpdateAPIRequest) SetCoordinateSystem ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetCoordinateSystem(_coordinateSystem string) error
SetCoordinateSystem is CoordinateSystem Setter 标识坐标系类型。WGS84,表示地球坐标系 ;GCJ02,表示火星坐标系
func (*TaobaoXhotelUpdateAPIRequest) SetCountry ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetCountry(_country string) error
SetCountry is Country Setter domestic为true时,固定China; domestic为false时,必须传定义的海外国家编码值。参见:http://kezhan.trip.taobao.com/countrys.html
func (*TaobaoXhotelUpdateAPIRequest) SetCreditCardTypes ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetCreditCardTypes(_creditCardTypes string) error
SetCreditCardTypes is CreditCardTypes Setter 逗号分隔的字符串 1visa;2万事达卡;3美国运通卡;4发现卡;5大来卡;6JCB卡;7银联卡
func (*TaobaoXhotelUpdateAPIRequest) SetDecorateTime ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetDecorateTime(_decorateTime string) error
SetDecorateTime is DecorateTime Setter 装修时间,格式为2015-10-01
func (*TaobaoXhotelUpdateAPIRequest) SetDescription ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetDescription(_description string) error
SetDescription is Description Setter 酒店描述
func (*TaobaoXhotelUpdateAPIRequest) SetDistrict ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetDistrict(_district int64) error
SetDistrict is District Setter 区域(县级市)编码。参见:http://hotel.alitrip.com/area.htm?tbpm=3
func (*TaobaoXhotelUpdateAPIRequest) SetDomestic ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetDomestic(_domestic int64) error
SetDomestic is Domestic Setter 是否国内酒店。0:国内;1:国外
func (*TaobaoXhotelUpdateAPIRequest) SetExtend ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetExtend(_extend string) error
SetExtend is Extend Setter 不要使用
func (*TaobaoXhotelUpdateAPIRequest) SetFloors ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetFloors(_floors string) error
SetFloors is Floors Setter 楼层信息
func (*TaobaoXhotelUpdateAPIRequest) SetHid ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter (已废弃)请使用outer_id来标识要修改的酒店
func (*TaobaoXhotelUpdateAPIRequest) SetHotelFacilities ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetHotelFacilities(_hotelFacilities string) error
SetHotelFacilities is HotelFacilities Setter 酒店设施。json格式示例值:{"free Wi-Fi in all rooms":"true","massage":"true","meetingRoom":"true"}目前支持维护的设施枚举有:free Wi-Fi in all rooms 所有房间设有免费无线网络;meetingRoom 会议室;massage 按摩室;fitnessClub 健身房;bar 酒吧;cafe 咖啡厅;frontDeskSafe 前台贵重物品保险柜wifi 无线上网公共区域;casino 娱乐场/棋牌室;restaurant 餐厅;smoking area 吸烟区;Business Facilities 商务设施
func (*TaobaoXhotelUpdateAPIRequest) SetHotelPolicies ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetHotelPolicies(_hotelPolicies string) error
SetHotelPolicies is HotelPolicies Setter 酒店入住政策(针对国际酒店,儿童及加床信息)格式:{"children_age_from":"2","children_age_to":"3","children_stay_free":"True","infant_age":"1","min_guest_age":"4"}
func (*TaobaoXhotelUpdateAPIRequest) SetHotelType ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetHotelType(_hotelType int64) error
SetHotelType is HotelType Setter 0:酒店;1:客栈
func (*TaobaoXhotelUpdateAPIRequest) SetLatitude ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetLatitude(_latitude string) error
SetLatitude is Latitude Setter 纬度
func (*TaobaoXhotelUpdateAPIRequest) SetLongitude ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetLongitude(_longitude string) error
SetLongitude is Longitude Setter 经度
func (*TaobaoXhotelUpdateAPIRequest) SetName ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetName(_name string) error
SetName is Name Setter 酒店名称;(新增酒店时为必须),国内酒店请传中文名称
func (*TaobaoXhotelUpdateAPIRequest) SetNameE ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetNameE(_nameE string) error
SetNameE is NameE Setter 卖家酒店英文名称
func (*TaobaoXhotelUpdateAPIRequest) SetOpeningTime ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetOpeningTime(_openingTime string) error
SetOpeningTime is OpeningTime Setter 开业时间,格式为2015-01-01
func (*TaobaoXhotelUpdateAPIRequest) SetOrbitTrack ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetOrbitTrack(_orbitTrack string) error
SetOrbitTrack is OrbitTrack Setter 扩展信息的JSON。 orbitTrack 业务字段是指从飞猪到酒店说经过平台名以及方式的一个数组,按顺序,从飞猪,再经过若干平台,最后到酒店, platform是指定当前平台名,ways 是指通过哪种方式到该平台 其中,飞猪到下一个平台里, ways 字段只能是【直连】、【人工】两个方式之一; 从最后一个平台到酒店的ways字段只能是【电话】、【传真】、【人工】、【系统】之一; 第一个 飞猪平台 和 最后具体酒店是至少得填的
func (*TaobaoXhotelUpdateAPIRequest) SetOuterId ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 必传,酒店标识,商家酒店ID
func (*TaobaoXhotelUpdateAPIRequest) SetPics ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetPics(_pics string) error
SetPics is Pics Setter 酒店图片只支持远程图片,格式如下:[{"url":"http://123.jpg","ismain":"false","type":"大堂","attribute":"普通图"},{"url":"http://456.jpg","ismain":"true","type":"公共区域","attribute":"全景图"},{"url":"http://789.jpg","ismain":"false","type":"大堂","attribute":"普通图"}] 其中url是远程图片的访问地址,main是否为主图(主图只能有一个),attribute表示图片属性,取值范围只能是:[普通图, 平面图, 全景图] ,type表示图片类型,取值范围只能是:[周边, 外观, 商务中心, 健身房, 其他, 会议室, 餐厅, 浴室, 客房, 公共区域, 娱乐设施, 大堂, 泳池],图片数量最多10张。要求:无logo、水印、边框、人物,不模糊、重复、歪斜,房间图清晰,图片尺寸不小于300*225,不小于5M
func (*TaobaoXhotelUpdateAPIRequest) SetPositionType ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetPositionType(_positionType string) error
SetPositionType is PositionType Setter 坐标类型,现在支持:G – GoogleB – 百度A – 高德M – MapbarL – 灵图
func (*TaobaoXhotelUpdateAPIRequest) SetPostalCode ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetPostalCode(_postalCode string) error
SetPostalCode is PostalCode Setter 邮编
func (*TaobaoXhotelUpdateAPIRequest) SetProvince ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetProvince(_province int64) error
SetProvince is Province Setter 省份编码。参见:http://hotel.alitrip.com/area.htm?tbpm=3,domestic为false时默认为0
func (*TaobaoXhotelUpdateAPIRequest) SetRoomFacilities ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetRoomFacilities(_roomFacilities string) error
SetRoomFacilities is RoomFacilities Setter 房间的基础设施。json格式示例值:{"bathtub":"true","bathPub":"true"}目前支持维护的设施枚举有:bathtub 独立卫浴;bathPub 公共卫浴
func (*TaobaoXhotelUpdateAPIRequest) SetRooms ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetRooms(_rooms int64) error
SetRooms is Rooms Setter 房间数 0~9999之内的数字
func (*TaobaoXhotelUpdateAPIRequest) SetService ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetService(_service string) error
SetService is Service Setter 酒店基础服务。json格式示例值:{"receiveForeignGuests":"true","morningCall":"true","breakfast":"true"}目前支持维护的设施枚举有:receiveForeignGuests 接待外宾;morningCall 叫醒服务; breakfast 早餐服务; airportShuttle 接机服务; luggageClaim 行李寄存; rentCar 租车; HourRoomService24 24小时客房服务; airportTransfer 酒店/机场接送; dryCleaning 干洗; expressCheckInCheckOut 快速入住/退房登记; custodyServices 保管服务
func (*TaobaoXhotelUpdateAPIRequest) SetServiceType ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetServiceType(_serviceType int64) error
SetServiceType is ServiceType Setter 0:可以接待外宾;1:仅内宾
func (*TaobaoXhotelUpdateAPIRequest) SetSettlementCurrency ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetSettlementCurrency(_settlementCurrency string) error
SetSettlementCurrency is SettlementCurrency Setter 结算流程中的结算币种,如需对接请联系飞猪技术支持,请谨慎使用
func (*TaobaoXhotelUpdateAPIRequest) SetShid ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetShid(_shid int64) error
SetShid is Shid Setter 该字段只有确定的时候,才允许填入。用于标示和淘宝酒店的匹配关系。目前尚未启动该字段。
func (*TaobaoXhotelUpdateAPIRequest) SetStandardAmuseFacilities ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetStandardAmuseFacilities(_standardAmuseFacilities string) error
SetStandardAmuseFacilities is StandardAmuseFacilities Setter 资源方娱乐设施,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891
func (*TaobaoXhotelUpdateAPIRequest) SetStandardBookingNotice ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetStandardBookingNotice(_standardBookingNotice string) error
SetStandardBookingNotice is StandardBookingNotice Setter 资源方酒店预订须知,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891
func (*TaobaoXhotelUpdateAPIRequest) SetStandardHotelFacilities ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetStandardHotelFacilities(_standardHotelFacilities string) error
SetStandardHotelFacilities is StandardHotelFacilities Setter 资源方酒店设施,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891
func (*TaobaoXhotelUpdateAPIRequest) SetStandardHotelService ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetStandardHotelService(_standardHotelService string) error
SetStandardHotelService is StandardHotelService Setter 资源方酒店服务,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891
func (*TaobaoXhotelUpdateAPIRequest) SetStandardRoomFacilities ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetStandardRoomFacilities(_standardRoomFacilities string) error
SetStandardRoomFacilities is StandardRoomFacilities Setter 资源方房型设施,参考文档https://open.alitrip.com/docs/doc.htm?docType=1&articleId=108891
func (*TaobaoXhotelUpdateAPIRequest) SetStar ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetStar(_star string) error
SetStar is Star Setter 酒店档次,星级。取值范围为1,1.5,2,2.5,3,3.5,4,4.5,5
func (*TaobaoXhotelUpdateAPIRequest) SetStatus ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetStatus(_status *model.File) error
SetStatus is Status Setter 酒店状态 0:正常,-1:删除,-2:停售
func (*TaobaoXhotelUpdateAPIRequest) SetSupplier ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetSupplier(_supplier string) error
SetSupplier is Supplier Setter 供应商标识,如果确实需要修改原来的供应商标识才需要填写,否则不需要填写,请谨慎使用。
func (*TaobaoXhotelUpdateAPIRequest) SetTagJson ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetTagJson(_tagJson string) error
SetTagJson is TagJson Setter 打标去标使用的 tagJson 字段
func (*TaobaoXhotelUpdateAPIRequest) SetTel ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetTel(_tel string) error
SetTel is Tel Setter 酒店电话。格式:国家代码(最长6位)#区号(最长4位)#电话(最长20位)。国家代码提示:中国大陆0086、香港00852、澳门00853、台湾00886
func (*TaobaoXhotelUpdateAPIRequest) SetUsedName ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetUsedName(_usedName string) error
SetUsedName is UsedName Setter 酒店曾用名
func (*TaobaoXhotelUpdateAPIRequest) SetVendor ¶
func (r *TaobaoXhotelUpdateAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商,一般情况不用,需申请使用
type TaobaoXhotelUpdateAPIResponse ¶
type TaobaoXhotelUpdateAPIResponse struct { model.CommonResponse TaobaoXhotelUpdateAPIResponseModel }
TaobaoXhotelUpdateAPIResponse 酒店更新接口(ID不存在自动新增) API返回值 taobao.xhotel.update
酒店更新接口
type TaobaoXhotelUpdateAPIResponseModel ¶
type TaobaoXhotelUpdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 酒店信息 Xhotel *XHotel `json:"xhotel,omitempty" xml:"xhotel,omitempty"` }
TaobaoXhotelUpdateAPIResponseModel is 酒店更新接口(ID不存在自动新增) 成功返回结果
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 ¶
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 ¶
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 ¶
type XHotelInfoWithRoom struct { // 房型基础信息 RoomTypeList []RoomType `json:"room_type_list,omitempty" xml:"room_type_list>room_type,omitempty"` }
XHotelInfoWithRoom 结构体
type XRoomType ¶
type XRoomType struct { // 创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 修改时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 卖家系统id OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 房源名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 面积 Area string `json:"area,omitempty" xml:"area,omitempty"` // 设施服务。JSON格式。 value值true有此服务,false没有。 bar:吧台,catv:有线电视,ddd:国内长途电话,idd:国际长途电话,toilet:独立卫生间,pubtoliet:公共卫生间。 如: {&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
- Coordinate.go
- DailyBookingInfo.go
- EarlyBookingInfo.go
- FirstResult.go
- Hotel.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
- RoomType.go
- RoomTypeCheckResultDo.go
- SHotel.go
- SRoomType.go
- SellerStatExposureElementList.go
- SellerStatSummaryResult.go
- ServiceTimeDataDo.go
- Sroomtypelist.go
- TagEntityDoList.go
- TagQueryResult.go
- TaobaoXhotelAddAPIRequest.go
- TaobaoXhotelAddAPIResponse.go
- TaobaoXhotelBaseinfoGetAPIRequest.go
- TaobaoXhotelBaseinfoGetAPIResponse.go
- TaobaoXhotelBaseinfoGetResultSet.go
- TaobaoXhotelBaseinfoRoomGetAPIRequest.go
- TaobaoXhotelBaseinfoRoomGetAPIResponse.go
- TaobaoXhotelBaseinfoRoomGetResultSet.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
- 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
- TaobaoXhotelUpdateAPIRequest.go
- TaobaoXhotelUpdateAPIResponse.go
- TonightDiscount.go
- XHotel.go
- XHotelBaseInfo.go
- XHotelInfoWithRoom.go
- XRoomType.go
- XsHotel.go
- doc.go