Documentation ¶
Overview ¶
Package travel 包含度假-商品管理API相关结构体
Index ¶
- func ReleaseAlitripDaytoursProductUploadAPIRequest(v *AlitripDaytoursProductUploadAPIRequest)
- func ReleaseAlitripDaytoursProductUploadAPIResponse(v *AlitripDaytoursProductUploadAPIResponse)
- func ReleaseAlitripFreetourProductUploadAPIRequest(v *AlitripFreetourProductUploadAPIRequest)
- func ReleaseAlitripFreetourProductUploadAPIResponse(v *AlitripFreetourProductUploadAPIResponse)
- func ReleaseAlitripGrouptourProductUploadAPIRequest(v *AlitripGrouptourProductUploadAPIRequest)
- func ReleaseAlitripGrouptourProductUploadAPIResponse(v *AlitripGrouptourProductUploadAPIResponse)
- func ReleaseAlitripGrouptoursProductUploadAPIRequest(v *AlitripGrouptoursProductUploadAPIRequest)
- func ReleaseAlitripGrouptoursProductUploadAPIResponse(v *AlitripGrouptoursProductUploadAPIResponse)
- func ReleaseAlitripItemAddSchemaGetAPIRequest(v *AlitripItemAddSchemaGetAPIRequest)
- func ReleaseAlitripItemAddSchemaGetAPIResponse(v *AlitripItemAddSchemaGetAPIResponse)
- func ReleaseAlitripItemSchemaAddAPIRequest(v *AlitripItemSchemaAddAPIRequest)
- func ReleaseAlitripItemSchemaAddAPIResponse(v *AlitripItemSchemaAddAPIResponse)
- func ReleaseAlitripItemSchemaUpdateAPIRequest(v *AlitripItemSchemaUpdateAPIRequest)
- func ReleaseAlitripItemSchemaUpdateAPIResponse(v *AlitripItemSchemaUpdateAPIResponse)
- func ReleaseAlitripItemUpdateSchemaGetAPIRequest(v *AlitripItemUpdateSchemaGetAPIRequest)
- func ReleaseAlitripItemUpdateSchemaGetAPIResponse(v *AlitripItemUpdateSchemaGetAPIResponse)
- func ReleaseAlitripLocalplayProductUploadAPIRequest(v *AlitripLocalplayProductUploadAPIRequest)
- func ReleaseAlitripLocalplayProductUploadAPIResponse(v *AlitripLocalplayProductUploadAPIResponse)
- func ReleaseAlitripTravelGereralitemUpdateAPIRequest(v *AlitripTravelGereralitemUpdateAPIRequest)
- func ReleaseAlitripTravelGereralitemUpdateAPIResponse(v *AlitripTravelGereralitemUpdateAPIResponse)
- func ReleaseAlitripTravelGereralproductUpdateAPIRequest(v *AlitripTravelGereralproductUpdateAPIRequest)
- func ReleaseAlitripTravelGereralproductUpdateAPIResponse(v *AlitripTravelGereralproductUpdateAPIResponse)
- func ReleaseAlitripTravelGereralskuUpdateAPIRequest(v *AlitripTravelGereralskuUpdateAPIRequest)
- func ReleaseAlitripTravelGereralskuUpdateAPIResponse(v *AlitripTravelGereralskuUpdateAPIResponse)
- func ReleaseAlitripTravelPoiSearchAPIRequest(v *AlitripTravelPoiSearchAPIRequest)
- func ReleaseAlitripTravelPoiSearchAPIResponse(v *AlitripTravelPoiSearchAPIResponse)
- func ReleaseAlitripTravelProductGereralskuUpdateAPIRequest(v *AlitripTravelProductGereralskuUpdateAPIRequest)
- func ReleaseAlitripTravelProductGereralskuUpdateAPIResponse(v *AlitripTravelProductGereralskuUpdateAPIResponse)
- func ReleaseBaseInfo(v *BaseInfo)
- func ReleaseBookingRuleInfo(v *BookingRuleInfo)
- func ReleaseCatPropInfo(v *CatPropInfo)
- func ReleaseCruiseItemExt(v *CruiseItemExt)
- func ReleaseCruiseProductExt(v *CruiseProductExt)
- func ReleaseDateInventoryAndPrice(v *DateInventoryAndPrice)
- func ReleaseDateSkuInfo(v *DateSkuInfo)
- func ReleaseElectronContract(v *ElectronContract)
- func ReleaseFreeTourHotelInfo(v *FreeTourHotelInfo)
- func ReleaseFreeTourPackageInfo(v *FreeTourPackageInfo)
- func ReleaseFreeTourScenicInfo(v *FreeTourScenicInfo)
- func ReleaseFreeTourTrafficInfo(v *FreeTourTrafficInfo)
- func ReleaseFreedomItemExt(v *FreedomItemExt)
- func ReleaseFullTravelItem(v *FullTravelItem)
- func ReleaseGatherPlaceInfo(v *GatherPlaceInfo)
- func ReleaseGeneralProductBaseInfo(v *GeneralProductBaseInfo)
- func ReleaseGroupItemExt(v *GroupItemExt)
- func ReleaseGroupTourPackageInfo(v *GroupTourPackageInfo)
- func ReleaseGroupTourTrafficInfo(v *GroupTourTrafficInfo)
- func ReleaseGroupTourTripElement(v *GroupTourTripElement)
- func ReleaseHighLights(v *HighLights)
- func ReleaseItemBaseInfo(v *ItemBaseInfo)
- func ReleaseItemEleCertInfo(v *ItemEleCertInfo)
- func ReleaseItemHotel(v *ItemHotel)
- func ReleaseItemHotelInfo(v *ItemHotelInfo)
- func ReleaseItemItineraryInfo(v *ItemItineraryInfo)
- func ReleaseItemRefundInfo(v *ItemRefundInfo)
- func ReleaseItemResourceInfo(v *ItemResourceInfo)
- func ReleaseItemSaleInfo(v *ItemSaleInfo)
- func ReleaseItemScenic(v *ItemScenic)
- func ReleaseItemScenicInfo(v *ItemScenicInfo)
- func ReleaseItemSkuInfo(v *ItemSkuInfo)
- func ReleaseItemTraffic(v *ItemTraffic)
- func ReleaseItemTrafficInfo(v *ItemTrafficInfo)
- func ReleaseItineraryActivity(v *ItineraryActivity)
- func ReleaseNoDateSkuInfo(v *NoDateSkuInfo)
- func ReleasePoi(v *Poi)
- func ReleasePontusTravelBookingRuleInfo(v *PontusTravelBookingRuleInfo)
- func ReleasePontusTravelFreedomItemExt(v *PontusTravelFreedomItemExt)
- func ReleasePontusTravelFullTravelItem(v *PontusTravelFullTravelItem)
- func ReleasePontusTravelGatherPlaceInfo(v *PontusTravelGatherPlaceInfo)
- func ReleasePontusTravelGroupItemExt(v *PontusTravelGroupItemExt)
- func ReleasePontusTravelItemBaseInfo(v *PontusTravelItemBaseInfo)
- func ReleasePontusTravelItemEleCertInfo(v *PontusTravelItemEleCertInfo)
- func ReleasePontusTravelItemHotel(v *PontusTravelItemHotel)
- func ReleasePontusTravelItemHotelInfo(v *PontusTravelItemHotelInfo)
- func ReleasePontusTravelItemItineraryInfo(v *PontusTravelItemItineraryInfo)
- func ReleasePontusTravelItemRefundInfo(v *PontusTravelItemRefundInfo)
- func ReleasePontusTravelItemResourceInfo(v *PontusTravelItemResourceInfo)
- func ReleasePontusTravelItemSaleInfo(v *PontusTravelItemSaleInfo)
- func ReleasePontusTravelItemScenic(v *PontusTravelItemScenic)
- func ReleasePontusTravelItemScenicInfo(v *PontusTravelItemScenicInfo)
- func ReleasePontusTravelItemSkuInfo(v *PontusTravelItemSkuInfo)
- func ReleasePontusTravelItemTraffic(v *PontusTravelItemTraffic)
- func ReleasePontusTravelItemTrafficInfo(v *PontusTravelItemTrafficInfo)
- func ReleasePontusTravelPrices(v *PontusTravelPrices)
- func ReleasePontusTravelProduct(v *PontusTravelProduct)
- func ReleasePrices(v *Prices)
- func ReleaseProduct(v *Product)
- func ReleaseProductBaseInfo(v *ProductBaseInfo)
- func ReleaseProductHighLights(v *ProductHighLights)
- func ReleaseProductSaleInfo(v *ProductSaleInfo)
- func ReleasePropertyAliasInfo(v *PropertyAliasInfo)
- func ReleaseStructItinerary(v *StructItinerary)
- func ReleaseTaobaoAlitripTravelBaseinfoCitiesGetAPIRequest(v *TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest)
- func ReleaseTaobaoAlitripTravelBaseinfoCitiesGetAPIResponse(v *TaobaoAlitripTravelBaseinfoCitiesGetAPIResponse)
- func ReleaseTaobaoAlitripTravelBaseinfoCruiseGetAPIRequest(v *TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest)
- func ReleaseTaobaoAlitripTravelBaseinfoCruiseGetAPIResponse(v *TaobaoAlitripTravelBaseinfoCruiseGetAPIResponse)
- func ReleaseTaobaoAlitripTravelBaseinfoScenicsGetAPIRequest(v *TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest)
- func ReleaseTaobaoAlitripTravelBaseinfoScenicsGetAPIResponse(v *TaobaoAlitripTravelBaseinfoScenicsGetAPIResponse)
- func ReleaseTaobaoAlitripTravelItemElementManageAPIRequest(v *TaobaoAlitripTravelItemElementManageAPIRequest)
- func ReleaseTaobaoAlitripTravelItemElementManageAPIResponse(v *TaobaoAlitripTravelItemElementManageAPIResponse)
- func ReleaseTaobaoAlitripTravelItemElementQueryAPIRequest(v *TaobaoAlitripTravelItemElementQueryAPIRequest)
- func ReleaseTaobaoAlitripTravelItemElementQueryAPIResponse(v *TaobaoAlitripTravelItemElementQueryAPIResponse)
- func ReleaseTaobaoAlitripTravelItemNewQueryAPIRequest(v *TaobaoAlitripTravelItemNewQueryAPIRequest)
- func ReleaseTaobaoAlitripTravelItemNewQueryAPIResponse(v *TaobaoAlitripTravelItemNewQueryAPIResponse)
- func ReleaseTaobaoAlitripTravelItemShelveAPIRequest(v *TaobaoAlitripTravelItemShelveAPIRequest)
- func ReleaseTaobaoAlitripTravelItemShelveAPIResponse(v *TaobaoAlitripTravelItemShelveAPIResponse)
- func ReleaseTaobaoAlitripTravelItemSingleQueryAPIRequest(v *TaobaoAlitripTravelItemSingleQueryAPIRequest)
- func ReleaseTaobaoAlitripTravelItemSingleQueryAPIResponse(v *TaobaoAlitripTravelItemSingleQueryAPIResponse)
- func ReleaseTaobaoAlitripTravelItemSkuOverrideAPIRequest(v *TaobaoAlitripTravelItemSkuOverrideAPIRequest)
- func ReleaseTaobaoAlitripTravelItemSkuOverrideAPIResponse(v *TaobaoAlitripTravelItemSkuOverrideAPIResponse)
- func ReleaseTaobaoAlitripTravelItemSkuPackageModifyAPIRequest(v *TaobaoAlitripTravelItemSkuPackageModifyAPIRequest)
- func ReleaseTaobaoAlitripTravelItemSkuPackageModifyAPIResponse(v *TaobaoAlitripTravelItemSkuPackageModifyAPIResponse)
- func ReleaseTaobaoAlitripTravelItemSkuPriceModifyAPIRequest(v *TaobaoAlitripTravelItemSkuPriceModifyAPIRequest)
- func ReleaseTaobaoAlitripTravelItemSkuPriceModifyAPIResponse(v *TaobaoAlitripTravelItemSkuPriceModifyAPIResponse)
- func ReleaseTaobaoAlitripTravelProductBaseAddAPIRequest(v *TaobaoAlitripTravelProductBaseAddAPIRequest)
- func ReleaseTaobaoAlitripTravelProductBaseAddAPIResponse(v *TaobaoAlitripTravelProductBaseAddAPIResponse)
- func ReleaseTaobaoAlitripTravelProductBaseModifyAPIRequest(v *TaobaoAlitripTravelProductBaseModifyAPIRequest)
- func ReleaseTaobaoAlitripTravelProductBaseModifyAPIResponse(v *TaobaoAlitripTravelProductBaseModifyAPIResponse)
- func ReleaseTaobaoAlitripTravelProductSkuOverrideAPIRequest(v *TaobaoAlitripTravelProductSkuOverrideAPIRequest)
- func ReleaseTaobaoAlitripTravelProductSkuOverrideAPIResponse(v *TaobaoAlitripTravelProductSkuOverrideAPIResponse)
- func ReleaseTcwlItemExt(v *TcwlItemExt)
- func ReleaseTopElementParam(v *TopElementParam)
- func ReleaseTopElementResult(v *TopElementResult)
- func ReleaseTopTravelItem(v *TopTravelItem)
- type AlitripDaytoursProductUploadAPIRequest
- func (r AlitripDaytoursProductUploadAPIRequest) GetApiMethodName() string
- func (r AlitripDaytoursProductUploadAPIRequest) GetApiParams(params url.Values)
- func (r AlitripDaytoursProductUploadAPIRequest) GetBusinessLicense() string
- func (r AlitripDaytoursProductUploadAPIRequest) GetConfirmTime() int64
- func (r AlitripDaytoursProductUploadAPIRequest) GetConfirmType() int64
- func (r AlitripDaytoursProductUploadAPIRequest) GetDescHtml() string
- func (r AlitripDaytoursProductUploadAPIRequest) GetDescXml() string
- func (r AlitripDaytoursProductUploadAPIRequest) GetFeeExclude() []string
- func (r AlitripDaytoursProductUploadAPIRequest) GetFeeInclude() []string
- func (r AlitripDaytoursProductUploadAPIRequest) GetFromLocations() string
- func (r AlitripDaytoursProductUploadAPIRequest) GetHasDiscount() bool
- func (r AlitripDaytoursProductUploadAPIRequest) GetHighLights() []ProductHighLights
- func (r AlitripDaytoursProductUploadAPIRequest) GetItemCustomTag() string
- func (r AlitripDaytoursProductUploadAPIRequest) GetItemId() int64
- func (r AlitripDaytoursProductUploadAPIRequest) GetItineraries() []string
- func (r AlitripDaytoursProductUploadAPIRequest) GetOrderInfo() []string
- func (r AlitripDaytoursProductUploadAPIRequest) GetOutProductId() string
- func (r AlitripDaytoursProductUploadAPIRequest) GetPicUrls() []string
- func (r AlitripDaytoursProductUploadAPIRequest) GetRawParams() model.Params
- func (r AlitripDaytoursProductUploadAPIRequest) GetRefundRegulationsJson() string
- func (r AlitripDaytoursProductUploadAPIRequest) GetRefundType() int64
- func (r AlitripDaytoursProductUploadAPIRequest) GetReserveLimit() string
- func (r AlitripDaytoursProductUploadAPIRequest) GetSecondKill() string
- func (r AlitripDaytoursProductUploadAPIRequest) GetSellerCids() []string
- func (r AlitripDaytoursProductUploadAPIRequest) GetStructItineraries() []StructItinerary
- func (r AlitripDaytoursProductUploadAPIRequest) GetSubStock() int64
- func (r AlitripDaytoursProductUploadAPIRequest) GetSubTitles() []string
- func (r AlitripDaytoursProductUploadAPIRequest) GetTitle() string
- func (r AlitripDaytoursProductUploadAPIRequest) GetToLocations() string
- func (r AlitripDaytoursProductUploadAPIRequest) GetTouristServiceProvider() string
- func (r AlitripDaytoursProductUploadAPIRequest) GetTravellerTemplateId() int64
- func (r AlitripDaytoursProductUploadAPIRequest) GetTripDay() int64
- func (r AlitripDaytoursProductUploadAPIRequest) GetTripNight() int64
- func (r AlitripDaytoursProductUploadAPIRequest) GetWapDesc() string
- func (r *AlitripDaytoursProductUploadAPIRequest) Reset()
- func (r *AlitripDaytoursProductUploadAPIRequest) SetBusinessLicense(_businessLicense string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetConfirmTime(_confirmTime int64) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetConfirmType(_confirmType int64) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetDescHtml(_descHtml string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetDescXml(_descXml string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetFeeExclude(_feeExclude []string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetFeeInclude(_feeInclude []string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetFromLocations(_fromLocations string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetHasDiscount(_hasDiscount bool) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetHighLights(_highLights []ProductHighLights) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetItemCustomTag(_itemCustomTag string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetItemId(_itemId int64) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetItineraries(_itineraries []string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetOrderInfo(_orderInfo []string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetOutProductId(_outProductId string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetPicUrls(_picUrls []string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetRefundRegulationsJson(_refundRegulationsJson string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetRefundType(_refundType int64) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetReserveLimit(_reserveLimit string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetSecondKill(_secondKill string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetSellerCids(_sellerCids []string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetStructItineraries(_structItineraries []StructItinerary) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetSubStock(_subStock int64) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetSubTitles(_subTitles []string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetTitle(_title string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetToLocations(_toLocations string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetTouristServiceProvider(_touristServiceProvider string) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetTravellerTemplateId(_travellerTemplateId int64) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetTripDay(_tripDay int64) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetTripNight(_tripNight int64) error
- func (r *AlitripDaytoursProductUploadAPIRequest) SetWapDesc(_wapDesc string) error
- type AlitripDaytoursProductUploadAPIResponse
- type AlitripDaytoursProductUploadAPIResponseModel
- type AlitripFreetourProductUploadAPIRequest
- func (r AlitripFreetourProductUploadAPIRequest) GetApiMethodName() string
- func (r AlitripFreetourProductUploadAPIRequest) GetApiParams(params url.Values)
- func (r AlitripFreetourProductUploadAPIRequest) GetBackTrafficType() int64
- func (r AlitripFreetourProductUploadAPIRequest) GetConfirmTime() int64
- func (r AlitripFreetourProductUploadAPIRequest) GetConfirmType() int64
- func (r AlitripFreetourProductUploadAPIRequest) GetDescHtml() string
- func (r AlitripFreetourProductUploadAPIRequest) GetDescXml() string
- func (r AlitripFreetourProductUploadAPIRequest) GetFreeTourPackageInfo() []FreeTourPackageInfo
- func (r AlitripFreetourProductUploadAPIRequest) GetFromLocations() string
- func (r AlitripFreetourProductUploadAPIRequest) GetGoTrafficType() int64
- func (r AlitripFreetourProductUploadAPIRequest) GetHasDiscount() bool
- func (r AlitripFreetourProductUploadAPIRequest) GetIsOverseasTour() int64
- func (r AlitripFreetourProductUploadAPIRequest) GetItemCustomTag() string
- func (r AlitripFreetourProductUploadAPIRequest) GetItemId() int64
- func (r AlitripFreetourProductUploadAPIRequest) GetOutProductId() string
- func (r AlitripFreetourProductUploadAPIRequest) GetPackageOperation() int64
- func (r AlitripFreetourProductUploadAPIRequest) GetPicUrls() []string
- func (r AlitripFreetourProductUploadAPIRequest) GetRawParams() model.Params
- func (r AlitripFreetourProductUploadAPIRequest) GetRefundRegulationsJson() string
- func (r AlitripFreetourProductUploadAPIRequest) GetRefundType() int64
- func (r AlitripFreetourProductUploadAPIRequest) GetReserveLimit() string
- func (r AlitripFreetourProductUploadAPIRequest) GetSecondKill() string
- func (r AlitripFreetourProductUploadAPIRequest) GetSellerCids() []string
- func (r AlitripFreetourProductUploadAPIRequest) GetSubStock() int64
- func (r AlitripFreetourProductUploadAPIRequest) GetSubTitles() []string
- func (r AlitripFreetourProductUploadAPIRequest) GetTitle() string
- func (r AlitripFreetourProductUploadAPIRequest) GetToLocations() string
- func (r AlitripFreetourProductUploadAPIRequest) GetTravellerTemplateId() int64
- func (r AlitripFreetourProductUploadAPIRequest) GetTripDay() int64
- func (r AlitripFreetourProductUploadAPIRequest) GetTripNight() int64
- func (r AlitripFreetourProductUploadAPIRequest) GetWapDesc() string
- func (r *AlitripFreetourProductUploadAPIRequest) Reset()
- func (r *AlitripFreetourProductUploadAPIRequest) SetBackTrafficType(_backTrafficType int64) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetConfirmTime(_confirmTime int64) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetConfirmType(_confirmType int64) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetDescHtml(_descHtml string) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetDescXml(_descXml string) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetFreeTourPackageInfo(_freeTourPackageInfo []FreeTourPackageInfo) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetFromLocations(_fromLocations string) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetGoTrafficType(_goTrafficType int64) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetHasDiscount(_hasDiscount bool) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetIsOverseasTour(_isOverseasTour int64) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetItemCustomTag(_itemCustomTag string) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetItemId(_itemId int64) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetOutProductId(_outProductId string) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetPackageOperation(_packageOperation int64) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetPicUrls(_picUrls []string) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetRefundRegulationsJson(_refundRegulationsJson string) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetRefundType(_refundType int64) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetReserveLimit(_reserveLimit string) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetSecondKill(_secondKill string) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetSellerCids(_sellerCids []string) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetSubStock(_subStock int64) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetSubTitles(_subTitles []string) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetTitle(_title string) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetToLocations(_toLocations string) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetTravellerTemplateId(_travellerTemplateId int64) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetTripDay(_tripDay int64) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetTripNight(_tripNight int64) error
- func (r *AlitripFreetourProductUploadAPIRequest) SetWapDesc(_wapDesc string) error
- type AlitripFreetourProductUploadAPIResponse
- type AlitripFreetourProductUploadAPIResponseModel
- type AlitripGrouptourProductUploadAPIRequest
- func (r AlitripGrouptourProductUploadAPIRequest) GetApiMethodName() string
- func (r AlitripGrouptourProductUploadAPIRequest) GetApiParams(params url.Values)
- func (r AlitripGrouptourProductUploadAPIRequest) GetBackTrafficType() int64
- func (r AlitripGrouptourProductUploadAPIRequest) GetConfirmTime() int64
- func (r AlitripGrouptourProductUploadAPIRequest) GetConfirmType() int64
- func (r AlitripGrouptourProductUploadAPIRequest) GetDescHtml() string
- func (r AlitripGrouptourProductUploadAPIRequest) GetDescXml() string
- func (r AlitripGrouptourProductUploadAPIRequest) GetFromLocations() string
- func (r AlitripGrouptourProductUploadAPIRequest) GetGoTrafficType() int64
- func (r AlitripGrouptourProductUploadAPIRequest) GetGroupTourPackageInfo() []GroupTourPackageInfo
- func (r AlitripGrouptourProductUploadAPIRequest) GetGroupTourType() int64
- func (r AlitripGrouptourProductUploadAPIRequest) GetHasDiscount() bool
- func (r AlitripGrouptourProductUploadAPIRequest) GetIsOverseasTour() int64
- func (r AlitripGrouptourProductUploadAPIRequest) GetItemCustomTag() string
- func (r AlitripGrouptourProductUploadAPIRequest) GetItemId() int64
- func (r AlitripGrouptourProductUploadAPIRequest) GetOutProductId() string
- func (r AlitripGrouptourProductUploadAPIRequest) GetPackageOperation() int64
- func (r AlitripGrouptourProductUploadAPIRequest) GetPicUrls() []string
- func (r AlitripGrouptourProductUploadAPIRequest) GetPurePlay() int64
- func (r AlitripGrouptourProductUploadAPIRequest) GetRawParams() model.Params
- func (r AlitripGrouptourProductUploadAPIRequest) GetRefundRegulationsJson() string
- func (r AlitripGrouptourProductUploadAPIRequest) GetRefundType() int64
- func (r AlitripGrouptourProductUploadAPIRequest) GetReserveLimit() string
- func (r AlitripGrouptourProductUploadAPIRequest) GetRouteType() int64
- func (r AlitripGrouptourProductUploadAPIRequest) GetSecondKill() string
- func (r AlitripGrouptourProductUploadAPIRequest) GetSellerCids() []string
- func (r AlitripGrouptourProductUploadAPIRequest) GetSubStock() int64
- func (r AlitripGrouptourProductUploadAPIRequest) GetSubTitles() []string
- func (r AlitripGrouptourProductUploadAPIRequest) GetTitle() string
- func (r AlitripGrouptourProductUploadAPIRequest) GetToLocations() string
- func (r AlitripGrouptourProductUploadAPIRequest) GetTravellerTemplateId() int64
- func (r AlitripGrouptourProductUploadAPIRequest) GetTripDay() int64
- func (r AlitripGrouptourProductUploadAPIRequest) GetTripNight() int64
- func (r AlitripGrouptourProductUploadAPIRequest) GetWapDesc() string
- func (r *AlitripGrouptourProductUploadAPIRequest) Reset()
- func (r *AlitripGrouptourProductUploadAPIRequest) SetBackTrafficType(_backTrafficType int64) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetConfirmTime(_confirmTime int64) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetConfirmType(_confirmType int64) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetDescHtml(_descHtml string) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetDescXml(_descXml string) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetFromLocations(_fromLocations string) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetGoTrafficType(_goTrafficType int64) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetGroupTourPackageInfo(_groupTourPackageInfo []GroupTourPackageInfo) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetGroupTourType(_groupTourType int64) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetHasDiscount(_hasDiscount bool) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetIsOverseasTour(_isOverseasTour int64) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetItemCustomTag(_itemCustomTag string) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetItemId(_itemId int64) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetOutProductId(_outProductId string) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetPackageOperation(_packageOperation int64) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetPicUrls(_picUrls []string) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetPurePlay(_purePlay int64) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetRefundRegulationsJson(_refundRegulationsJson string) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetRefundType(_refundType int64) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetReserveLimit(_reserveLimit string) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetRouteType(_routeType int64) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetSecondKill(_secondKill string) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetSellerCids(_sellerCids []string) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetSubStock(_subStock int64) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetSubTitles(_subTitles []string) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetTitle(_title string) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetToLocations(_toLocations string) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetTravellerTemplateId(_travellerTemplateId int64) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetTripDay(_tripDay int64) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetTripNight(_tripNight int64) error
- func (r *AlitripGrouptourProductUploadAPIRequest) SetWapDesc(_wapDesc string) error
- type AlitripGrouptourProductUploadAPIResponse
- type AlitripGrouptourProductUploadAPIResponseModel
- type AlitripGrouptoursProductUploadAPIRequest
- func (r AlitripGrouptoursProductUploadAPIRequest) GetApiMethodName() string
- func (r AlitripGrouptoursProductUploadAPIRequest) GetApiParams(params url.Values)
- func (r AlitripGrouptoursProductUploadAPIRequest) GetBackTrafficType() int64
- func (r AlitripGrouptoursProductUploadAPIRequest) GetConfirmTime() int64
- func (r AlitripGrouptoursProductUploadAPIRequest) GetConfirmType() int64
- func (r AlitripGrouptoursProductUploadAPIRequest) GetDescHtml() string
- func (r AlitripGrouptoursProductUploadAPIRequest) GetDescXml() string
- func (r AlitripGrouptoursProductUploadAPIRequest) GetElectronContract() *ElectronContract
- func (r AlitripGrouptoursProductUploadAPIRequest) GetFeeExclude() []string
- func (r AlitripGrouptoursProductUploadAPIRequest) GetFeeInclude() []string
- func (r AlitripGrouptoursProductUploadAPIRequest) GetFromLocations() string
- func (r AlitripGrouptoursProductUploadAPIRequest) GetGatherPlaces() []GatherPlaceInfo
- func (r AlitripGrouptoursProductUploadAPIRequest) GetGoTrafficType() int64
- func (r AlitripGrouptoursProductUploadAPIRequest) GetIsOverseasTour() int64
- func (r AlitripGrouptoursProductUploadAPIRequest) GetItemCustomTag() string
- func (r AlitripGrouptoursProductUploadAPIRequest) GetItemId() int64
- func (r AlitripGrouptoursProductUploadAPIRequest) GetItineraries() []string
- func (r AlitripGrouptoursProductUploadAPIRequest) GetOrderInfo() []string
- func (r AlitripGrouptoursProductUploadAPIRequest) GetOutProductId() string
- func (r AlitripGrouptoursProductUploadAPIRequest) GetPicUrls() []string
- func (r AlitripGrouptoursProductUploadAPIRequest) GetPurePlay() int64
- func (r AlitripGrouptoursProductUploadAPIRequest) GetRawParams() model.Params
- func (r AlitripGrouptoursProductUploadAPIRequest) GetRefundRegulations() []string
- func (r AlitripGrouptoursProductUploadAPIRequest) GetRefundType() int64
- func (r AlitripGrouptoursProductUploadAPIRequest) GetReserveLimit() string
- func (r AlitripGrouptoursProductUploadAPIRequest) GetRouteType() int64
- func (r AlitripGrouptoursProductUploadAPIRequest) GetStructItineraries() []StructItinerary
- func (r AlitripGrouptoursProductUploadAPIRequest) GetSubStock() int64
- func (r AlitripGrouptoursProductUploadAPIRequest) GetSubTitles() []string
- func (r AlitripGrouptoursProductUploadAPIRequest) GetTitle() string
- func (r AlitripGrouptoursProductUploadAPIRequest) GetToLocations() string
- func (r AlitripGrouptoursProductUploadAPIRequest) GetTravellerTemplateId() int64
- func (r AlitripGrouptoursProductUploadAPIRequest) GetTripDay() int64
- func (r AlitripGrouptoursProductUploadAPIRequest) GetTripNight() int64
- func (r AlitripGrouptoursProductUploadAPIRequest) GetWapDesc() string
- func (r *AlitripGrouptoursProductUploadAPIRequest) Reset()
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetBackTrafficType(_backTrafficType int64) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetConfirmTime(_confirmTime int64) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetConfirmType(_confirmType int64) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetDescHtml(_descHtml string) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetDescXml(_descXml string) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetElectronContract(_electronContract *ElectronContract) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetFeeExclude(_feeExclude []string) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetFeeInclude(_feeInclude []string) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetFromLocations(_fromLocations string) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetGatherPlaces(_gatherPlaces []GatherPlaceInfo) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetGoTrafficType(_goTrafficType int64) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetIsOverseasTour(_isOverseasTour int64) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetItemCustomTag(_itemCustomTag string) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetItemId(_itemId int64) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetItineraries(_itineraries []string) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetOrderInfo(_orderInfo []string) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetOutProductId(_outProductId string) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetPicUrls(_picUrls []string) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetPurePlay(_purePlay int64) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetRefundRegulations(_refundRegulations []string) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetRefundType(_refundType int64) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetReserveLimit(_reserveLimit string) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetRouteType(_routeType int64) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetStructItineraries(_structItineraries []StructItinerary) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetSubStock(_subStock int64) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetSubTitles(_subTitles []string) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetTitle(_title string) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetToLocations(_toLocations string) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetTravellerTemplateId(_travellerTemplateId int64) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetTripDay(_tripDay int64) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetTripNight(_tripNight int64) error
- func (r *AlitripGrouptoursProductUploadAPIRequest) SetWapDesc(_wapDesc string) error
- type AlitripGrouptoursProductUploadAPIResponse
- type AlitripGrouptoursProductUploadAPIResponseModel
- type AlitripItemAddSchemaGetAPIRequest
- func (r AlitripItemAddSchemaGetAPIRequest) GetApiMethodName() string
- func (r AlitripItemAddSchemaGetAPIRequest) GetApiParams(params url.Values)
- func (r AlitripItemAddSchemaGetAPIRequest) GetCatId() int64
- func (r AlitripItemAddSchemaGetAPIRequest) GetRawParams() model.Params
- func (r *AlitripItemAddSchemaGetAPIRequest) Reset()
- func (r *AlitripItemAddSchemaGetAPIRequest) SetCatId(_catId int64) error
- type AlitripItemAddSchemaGetAPIResponse
- type AlitripItemAddSchemaGetAPIResponseModel
- type AlitripItemSchemaAddAPIRequest
- func (r AlitripItemSchemaAddAPIRequest) GetApiMethodName() string
- func (r AlitripItemSchemaAddAPIRequest) GetApiParams(params url.Values)
- func (r AlitripItemSchemaAddAPIRequest) GetCatId() int64
- func (r AlitripItemSchemaAddAPIRequest) GetRawParams() model.Params
- func (r AlitripItemSchemaAddAPIRequest) GetSchemaXmlFields() string
- func (r *AlitripItemSchemaAddAPIRequest) Reset()
- func (r *AlitripItemSchemaAddAPIRequest) SetCatId(_catId int64) error
- func (r *AlitripItemSchemaAddAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
- type AlitripItemSchemaAddAPIResponse
- type AlitripItemSchemaAddAPIResponseModel
- type AlitripItemSchemaUpdateAPIRequest
- func (r AlitripItemSchemaUpdateAPIRequest) GetApiMethodName() string
- func (r AlitripItemSchemaUpdateAPIRequest) GetApiParams(params url.Values)
- func (r AlitripItemSchemaUpdateAPIRequest) GetItemId() int64
- func (r AlitripItemSchemaUpdateAPIRequest) GetRawParams() model.Params
- func (r AlitripItemSchemaUpdateAPIRequest) GetSchemaXmlFields() string
- func (r *AlitripItemSchemaUpdateAPIRequest) Reset()
- func (r *AlitripItemSchemaUpdateAPIRequest) SetItemId(_itemId int64) error
- func (r *AlitripItemSchemaUpdateAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
- type AlitripItemSchemaUpdateAPIResponse
- type AlitripItemSchemaUpdateAPIResponseModel
- type AlitripItemUpdateSchemaGetAPIRequest
- func (r AlitripItemUpdateSchemaGetAPIRequest) GetApiMethodName() string
- func (r AlitripItemUpdateSchemaGetAPIRequest) GetApiParams(params url.Values)
- func (r AlitripItemUpdateSchemaGetAPIRequest) GetItemId() int64
- func (r AlitripItemUpdateSchemaGetAPIRequest) GetRawParams() model.Params
- func (r AlitripItemUpdateSchemaGetAPIRequest) GetUpdateFieldIds() []string
- func (r *AlitripItemUpdateSchemaGetAPIRequest) Reset()
- func (r *AlitripItemUpdateSchemaGetAPIRequest) SetItemId(_itemId int64) error
- func (r *AlitripItemUpdateSchemaGetAPIRequest) SetUpdateFieldIds(_updateFieldIds []string) error
- type AlitripItemUpdateSchemaGetAPIResponse
- type AlitripItemUpdateSchemaGetAPIResponseModel
- type AlitripLocalplayProductUploadAPIRequest
- func (r AlitripLocalplayProductUploadAPIRequest) GetApiMethodName() string
- func (r AlitripLocalplayProductUploadAPIRequest) GetApiParams(params url.Values)
- func (r AlitripLocalplayProductUploadAPIRequest) GetConfirmTime() int64
- func (r AlitripLocalplayProductUploadAPIRequest) GetConfirmType() int64
- func (r AlitripLocalplayProductUploadAPIRequest) GetDescHtml() string
- func (r AlitripLocalplayProductUploadAPIRequest) GetDescXml() string
- func (r AlitripLocalplayProductUploadAPIRequest) GetFeeExclude() []string
- func (r AlitripLocalplayProductUploadAPIRequest) GetFromLocations() string
- func (r AlitripLocalplayProductUploadAPIRequest) GetHasDiscount() bool
- func (r AlitripLocalplayProductUploadAPIRequest) GetIsOverseasTour() int64
- func (r AlitripLocalplayProductUploadAPIRequest) GetItemCustomTag() string
- func (r AlitripLocalplayProductUploadAPIRequest) GetItemId() int64
- func (r AlitripLocalplayProductUploadAPIRequest) GetOrderInfo() []string
- func (r AlitripLocalplayProductUploadAPIRequest) GetOutProductId() string
- func (r AlitripLocalplayProductUploadAPIRequest) GetPicUrls() []string
- func (r AlitripLocalplayProductUploadAPIRequest) GetRawParams() model.Params
- func (r AlitripLocalplayProductUploadAPIRequest) GetRefundRegulationsJson() string
- func (r AlitripLocalplayProductUploadAPIRequest) GetRefundType() int64
- func (r AlitripLocalplayProductUploadAPIRequest) GetReserveLimit() string
- func (r AlitripLocalplayProductUploadAPIRequest) GetSecondKill() string
- func (r AlitripLocalplayProductUploadAPIRequest) GetSellerCids() []string
- func (r AlitripLocalplayProductUploadAPIRequest) GetSubStock() int64
- func (r AlitripLocalplayProductUploadAPIRequest) GetSubTitles() []string
- func (r AlitripLocalplayProductUploadAPIRequest) GetTitle() string
- func (r AlitripLocalplayProductUploadAPIRequest) GetToLocations() string
- func (r AlitripLocalplayProductUploadAPIRequest) GetTouristServiceProvider() string
- func (r AlitripLocalplayProductUploadAPIRequest) GetTravellerTemplateId() int64
- func (r AlitripLocalplayProductUploadAPIRequest) GetTripDay() int64
- func (r AlitripLocalplayProductUploadAPIRequest) GetTripNight() int64
- func (r AlitripLocalplayProductUploadAPIRequest) GetWapDesc() string
- func (r *AlitripLocalplayProductUploadAPIRequest) Reset()
- func (r *AlitripLocalplayProductUploadAPIRequest) SetConfirmTime(_confirmTime int64) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetConfirmType(_confirmType int64) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetDescHtml(_descHtml string) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetDescXml(_descXml string) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetFeeExclude(_feeExclude []string) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetFromLocations(_fromLocations string) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetHasDiscount(_hasDiscount bool) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetIsOverseasTour(_isOverseasTour int64) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetItemCustomTag(_itemCustomTag string) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetItemId(_itemId int64) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetOrderInfo(_orderInfo []string) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetOutProductId(_outProductId string) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetPicUrls(_picUrls []string) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetRefundRegulationsJson(_refundRegulationsJson string) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetRefundType(_refundType int64) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetReserveLimit(_reserveLimit string) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetSecondKill(_secondKill string) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetSellerCids(_sellerCids []string) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetSubStock(_subStock int64) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetSubTitles(_subTitles []string) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetTitle(_title string) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetToLocations(_toLocations string) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetTouristServiceProvider(_touristServiceProvider string) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetTravellerTemplateId(_travellerTemplateId int64) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetTripDay(_tripDay int64) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetTripNight(_tripNight int64) error
- func (r *AlitripLocalplayProductUploadAPIRequest) SetWapDesc(_wapDesc string) error
- type AlitripLocalplayProductUploadAPIResponse
- type AlitripLocalplayProductUploadAPIResponseModel
- type AlitripTravelGereralitemUpdateAPIRequest
- func (r AlitripTravelGereralitemUpdateAPIRequest) GetApiMethodName() string
- func (r AlitripTravelGereralitemUpdateAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelGereralitemUpdateAPIRequest) GetBaseInfo() *BaseInfo
- func (r AlitripTravelGereralitemUpdateAPIRequest) GetBookingRules() []BookingRuleInfo
- func (r AlitripTravelGereralitemUpdateAPIRequest) GetCommonSkuList() []NoDateSkuInfo
- func (r AlitripTravelGereralitemUpdateAPIRequest) GetDateSkuInfoList() []DateSkuInfo
- func (r AlitripTravelGereralitemUpdateAPIRequest) GetItemEleCertInfo() *ItemEleCertInfo
- func (r AlitripTravelGereralitemUpdateAPIRequest) GetItemRefundInfo() *ItemRefundInfo
- func (r AlitripTravelGereralitemUpdateAPIRequest) GetPoi() *Poi
- func (r AlitripTravelGereralitemUpdateAPIRequest) GetRawParams() model.Params
- func (r *AlitripTravelGereralitemUpdateAPIRequest) Reset()
- func (r *AlitripTravelGereralitemUpdateAPIRequest) SetBaseInfo(_baseInfo *BaseInfo) error
- func (r *AlitripTravelGereralitemUpdateAPIRequest) SetBookingRules(_bookingRules []BookingRuleInfo) error
- func (r *AlitripTravelGereralitemUpdateAPIRequest) SetCommonSkuList(_commonSkuList []NoDateSkuInfo) error
- func (r *AlitripTravelGereralitemUpdateAPIRequest) SetDateSkuInfoList(_dateSkuInfoList []DateSkuInfo) error
- func (r *AlitripTravelGereralitemUpdateAPIRequest) SetItemEleCertInfo(_itemEleCertInfo *ItemEleCertInfo) error
- func (r *AlitripTravelGereralitemUpdateAPIRequest) SetItemRefundInfo(_itemRefundInfo *ItemRefundInfo) error
- func (r *AlitripTravelGereralitemUpdateAPIRequest) SetPoi(_poi *Poi) error
- type AlitripTravelGereralitemUpdateAPIResponse
- type AlitripTravelGereralitemUpdateAPIResponseModel
- type AlitripTravelGereralproductUpdateAPIRequest
- func (r AlitripTravelGereralproductUpdateAPIRequest) GetApiMethodName() string
- func (r AlitripTravelGereralproductUpdateAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelGereralproductUpdateAPIRequest) GetBaseInfo() *GeneralProductBaseInfo
- func (r AlitripTravelGereralproductUpdateAPIRequest) GetBookingRules() []BookingRuleInfo
- func (r AlitripTravelGereralproductUpdateAPIRequest) GetDateSkuInfoList() []DateSkuInfo
- func (r AlitripTravelGereralproductUpdateAPIRequest) GetProductSaleInfo() *ProductSaleInfo
- func (r AlitripTravelGereralproductUpdateAPIRequest) GetRawParams() model.Params
- func (r AlitripTravelGereralproductUpdateAPIRequest) GetRefundInfo() *ItemRefundInfo
- func (r *AlitripTravelGereralproductUpdateAPIRequest) Reset()
- func (r *AlitripTravelGereralproductUpdateAPIRequest) SetBaseInfo(_baseInfo *GeneralProductBaseInfo) error
- func (r *AlitripTravelGereralproductUpdateAPIRequest) SetBookingRules(_bookingRules []BookingRuleInfo) error
- func (r *AlitripTravelGereralproductUpdateAPIRequest) SetDateSkuInfoList(_dateSkuInfoList []DateSkuInfo) error
- func (r *AlitripTravelGereralproductUpdateAPIRequest) SetProductSaleInfo(_productSaleInfo *ProductSaleInfo) error
- func (r *AlitripTravelGereralproductUpdateAPIRequest) SetRefundInfo(_refundInfo *ItemRefundInfo) error
- type AlitripTravelGereralproductUpdateAPIResponse
- type AlitripTravelGereralproductUpdateAPIResponseModel
- type AlitripTravelGereralskuUpdateAPIRequest
- func (r AlitripTravelGereralskuUpdateAPIRequest) GetAlias() []PropertyAliasInfo
- func (r AlitripTravelGereralskuUpdateAPIRequest) GetApiMethodName() string
- func (r AlitripTravelGereralskuUpdateAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelGereralskuUpdateAPIRequest) GetDateList() []DateInventoryAndPrice
- func (r AlitripTravelGereralskuUpdateAPIRequest) GetItemId() int64
- func (r AlitripTravelGereralskuUpdateAPIRequest) GetOuterId() string
- func (r AlitripTravelGereralskuUpdateAPIRequest) GetPrice() int64
- func (r AlitripTravelGereralskuUpdateAPIRequest) GetProperties() []CatPropInfo
- func (r AlitripTravelGereralskuUpdateAPIRequest) GetQuantity() int64
- func (r AlitripTravelGereralskuUpdateAPIRequest) GetRawParams() model.Params
- func (r *AlitripTravelGereralskuUpdateAPIRequest) Reset()
- func (r *AlitripTravelGereralskuUpdateAPIRequest) SetAlias(_alias []PropertyAliasInfo) error
- func (r *AlitripTravelGereralskuUpdateAPIRequest) SetDateList(_dateList []DateInventoryAndPrice) error
- func (r *AlitripTravelGereralskuUpdateAPIRequest) SetItemId(_itemId int64) error
- func (r *AlitripTravelGereralskuUpdateAPIRequest) SetOuterId(_outerId string) error
- func (r *AlitripTravelGereralskuUpdateAPIRequest) SetPrice(_price int64) error
- func (r *AlitripTravelGereralskuUpdateAPIRequest) SetProperties(_properties []CatPropInfo) error
- func (r *AlitripTravelGereralskuUpdateAPIRequest) SetQuantity(_quantity int64) error
- type AlitripTravelGereralskuUpdateAPIResponse
- type AlitripTravelGereralskuUpdateAPIResponseModel
- type AlitripTravelPoiSearchAPIRequest
- func (r AlitripTravelPoiSearchAPIRequest) GetApiMethodName() string
- func (r AlitripTravelPoiSearchAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelPoiSearchAPIRequest) GetId() int64
- func (r AlitripTravelPoiSearchAPIRequest) GetName() string
- func (r AlitripTravelPoiSearchAPIRequest) GetRawParams() model.Params
- func (r AlitripTravelPoiSearchAPIRequest) GetType() int64
- func (r *AlitripTravelPoiSearchAPIRequest) Reset()
- func (r *AlitripTravelPoiSearchAPIRequest) SetId(_id int64) error
- func (r *AlitripTravelPoiSearchAPIRequest) SetName(_name string) error
- func (r *AlitripTravelPoiSearchAPIRequest) SetType(_type int64) error
- type AlitripTravelPoiSearchAPIResponse
- type AlitripTravelPoiSearchAPIResponseModel
- type AlitripTravelProductGereralskuUpdateAPIRequest
- func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetAlias() []PropertyAliasInfo
- func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetApiMethodName() string
- func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetDateList() []DateInventoryAndPrice
- func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetItemId() int64
- func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetOuterId() string
- func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetPrice() int64
- func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetProperties() []CatPropInfo
- func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetQuantity() int64
- func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetRawParams() model.Params
- func (r *AlitripTravelProductGereralskuUpdateAPIRequest) Reset()
- func (r *AlitripTravelProductGereralskuUpdateAPIRequest) SetAlias(_alias []PropertyAliasInfo) error
- func (r *AlitripTravelProductGereralskuUpdateAPIRequest) SetDateList(_dateList []DateInventoryAndPrice) error
- func (r *AlitripTravelProductGereralskuUpdateAPIRequest) SetItemId(_itemId int64) error
- func (r *AlitripTravelProductGereralskuUpdateAPIRequest) SetOuterId(_outerId string) error
- func (r *AlitripTravelProductGereralskuUpdateAPIRequest) SetPrice(_price int64) error
- func (r *AlitripTravelProductGereralskuUpdateAPIRequest) SetProperties(_properties []CatPropInfo) error
- func (r *AlitripTravelProductGereralskuUpdateAPIRequest) SetQuantity(_quantity int64) error
- type AlitripTravelProductGereralskuUpdateAPIResponse
- type AlitripTravelProductGereralskuUpdateAPIResponseModel
- type BaseInfo
- type BookingRuleInfo
- type CatPropInfo
- type CruiseItemExt
- type CruiseProductExt
- type DateInventoryAndPrice
- type DateSkuInfo
- type ElectronContract
- type FreeTourHotelInfo
- type FreeTourPackageInfo
- type FreeTourScenicInfo
- type FreeTourTrafficInfo
- type FreedomItemExt
- type FullTravelItem
- type GatherPlaceInfo
- type GeneralProductBaseInfo
- type GroupItemExt
- type GroupTourPackageInfo
- type GroupTourTrafficInfo
- type GroupTourTripElement
- type HighLights
- type ItemBaseInfo
- type ItemEleCertInfo
- type ItemHotel
- type ItemHotelInfo
- type ItemItineraryInfo
- type ItemRefundInfo
- type ItemResourceInfo
- type ItemSaleInfo
- type ItemScenic
- type ItemScenicInfo
- type ItemSkuInfo
- type ItemTraffic
- type ItemTrafficInfo
- type ItineraryActivity
- type NoDateSkuInfo
- type Poi
- type PontusTravelBookingRuleInfo
- type PontusTravelFreedomItemExt
- type PontusTravelFullTravelItem
- type PontusTravelGatherPlaceInfo
- type PontusTravelGroupItemExt
- type PontusTravelItemBaseInfo
- type PontusTravelItemEleCertInfo
- type PontusTravelItemHotel
- type PontusTravelItemHotelInfo
- type PontusTravelItemItineraryInfo
- type PontusTravelItemRefundInfo
- type PontusTravelItemResourceInfo
- type PontusTravelItemSaleInfo
- type PontusTravelItemScenic
- type PontusTravelItemScenicInfo
- type PontusTravelItemSkuInfo
- type PontusTravelItemTraffic
- type PontusTravelItemTrafficInfo
- type PontusTravelPrices
- type PontusTravelProduct
- type Prices
- type Product
- type ProductBaseInfo
- type ProductHighLights
- type ProductSaleInfo
- type PropertyAliasInfo
- type StructItinerary
- type TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest
- func (r TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) GetCatType() int64
- func (r TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) GetIocType() int64
- func (r TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) Reset()
- func (r *TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) SetCatType(_catType int64) error
- func (r *TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) SetIocType(_iocType int64) error
- type TaobaoAlitripTravelBaseinfoCitiesGetAPIResponse
- type TaobaoAlitripTravelBaseinfoCitiesGetAPIResponseModel
- type TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest
- func (r TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) GetIsOverseas() bool
- func (r TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) Reset()
- func (r *TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) SetIsOverseas(_isOverseas bool) error
- type TaobaoAlitripTravelBaseinfoCruiseGetAPIResponse
- type TaobaoAlitripTravelBaseinfoCruiseGetAPIResponseModel
- type TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest
- func (r TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetCity() string
- func (r TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetScenic() string
- func (r TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetScenicId() int64
- func (r *TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) Reset()
- func (r *TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) SetCity(_city string) error
- func (r *TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) SetScenic(_scenic string) error
- func (r *TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) SetScenicId(_scenicId int64) error
- type TaobaoAlitripTravelBaseinfoScenicsGetAPIResponse
- type TaobaoAlitripTravelBaseinfoScenicsGetAPIResponseModel
- type TaobaoAlitripTravelItemElementManageAPIRequest
- func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetCity() string
- func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetDesc() string
- func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetElementType() int64
- func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetName() string
- func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetOperation() int64
- func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetOuterId() string
- func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetType() string
- func (r *TaobaoAlitripTravelItemElementManageAPIRequest) Reset()
- func (r *TaobaoAlitripTravelItemElementManageAPIRequest) SetCity(_city string) error
- func (r *TaobaoAlitripTravelItemElementManageAPIRequest) SetDesc(_desc string) error
- func (r *TaobaoAlitripTravelItemElementManageAPIRequest) SetElementType(_elementType int64) error
- func (r *TaobaoAlitripTravelItemElementManageAPIRequest) SetName(_name string) error
- func (r *TaobaoAlitripTravelItemElementManageAPIRequest) SetOperation(_operation int64) error
- func (r *TaobaoAlitripTravelItemElementManageAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoAlitripTravelItemElementManageAPIRequest) SetType(_type string) error
- type TaobaoAlitripTravelItemElementManageAPIResponse
- type TaobaoAlitripTravelItemElementManageAPIResponseModel
- type TaobaoAlitripTravelItemElementQueryAPIRequest
- func (r TaobaoAlitripTravelItemElementQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelItemElementQueryAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripTravelItemElementQueryAPIRequest) GetOuterIds() []string
- func (r TaobaoAlitripTravelItemElementQueryAPIRequest) GetRawParams() model.Params
- func (r *TaobaoAlitripTravelItemElementQueryAPIRequest) Reset()
- func (r *TaobaoAlitripTravelItemElementQueryAPIRequest) SetOuterIds(_outerIds []string) error
- type TaobaoAlitripTravelItemElementQueryAPIResponse
- type TaobaoAlitripTravelItemElementQueryAPIResponseModel
- type TaobaoAlitripTravelItemNewQueryAPIRequest
- func (r TaobaoAlitripTravelItemNewQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelItemNewQueryAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripTravelItemNewQueryAPIRequest) GetItemId() int64
- func (r TaobaoAlitripTravelItemNewQueryAPIRequest) GetOutProductId() string
- func (r TaobaoAlitripTravelItemNewQueryAPIRequest) GetRawParams() model.Params
- func (r *TaobaoAlitripTravelItemNewQueryAPIRequest) Reset()
- func (r *TaobaoAlitripTravelItemNewQueryAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoAlitripTravelItemNewQueryAPIRequest) SetOutProductId(_outProductId string) error
- type TaobaoAlitripTravelItemNewQueryAPIResponse
- type TaobaoAlitripTravelItemNewQueryAPIResponseModel
- type TaobaoAlitripTravelItemShelveAPIRequest
- func (r TaobaoAlitripTravelItemShelveAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelItemShelveAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripTravelItemShelveAPIRequest) GetItemId() int64
- func (r TaobaoAlitripTravelItemShelveAPIRequest) GetItemStatus() int64
- func (r TaobaoAlitripTravelItemShelveAPIRequest) GetOnlineTime() string
- func (r TaobaoAlitripTravelItemShelveAPIRequest) GetOutProductId() string
- func (r TaobaoAlitripTravelItemShelveAPIRequest) GetRawParams() model.Params
- func (r *TaobaoAlitripTravelItemShelveAPIRequest) Reset()
- func (r *TaobaoAlitripTravelItemShelveAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoAlitripTravelItemShelveAPIRequest) SetItemStatus(_itemStatus int64) error
- func (r *TaobaoAlitripTravelItemShelveAPIRequest) SetOnlineTime(_onlineTime string) error
- func (r *TaobaoAlitripTravelItemShelveAPIRequest) SetOutProductId(_outProductId string) error
- type TaobaoAlitripTravelItemShelveAPIResponse
- type TaobaoAlitripTravelItemShelveAPIResponseModel
- type TaobaoAlitripTravelItemSingleQueryAPIRequest
- func (r TaobaoAlitripTravelItemSingleQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelItemSingleQueryAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripTravelItemSingleQueryAPIRequest) GetItemId() int64
- func (r TaobaoAlitripTravelItemSingleQueryAPIRequest) GetOutProductId() string
- func (r TaobaoAlitripTravelItemSingleQueryAPIRequest) GetRawParams() model.Params
- func (r *TaobaoAlitripTravelItemSingleQueryAPIRequest) Reset()
- func (r *TaobaoAlitripTravelItemSingleQueryAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoAlitripTravelItemSingleQueryAPIRequest) SetOutProductId(_outProductId string) error
- type TaobaoAlitripTravelItemSingleQueryAPIResponse
- type TaobaoAlitripTravelItemSingleQueryAPIResponseModel
- type TaobaoAlitripTravelItemSkuOverrideAPIRequest
- func (r TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetItemId() int64
- func (r TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetOutProductId() string
- func (r TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetSkus() []PontusTravelItemSkuInfo
- func (r *TaobaoAlitripTravelItemSkuOverrideAPIRequest) Reset()
- func (r *TaobaoAlitripTravelItemSkuOverrideAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoAlitripTravelItemSkuOverrideAPIRequest) SetOutProductId(_outProductId string) error
- func (r *TaobaoAlitripTravelItemSkuOverrideAPIRequest) SetSkus(_skus []PontusTravelItemSkuInfo) error
- type TaobaoAlitripTravelItemSkuOverrideAPIResponse
- type TaobaoAlitripTravelItemSkuOverrideAPIResponseModel
- type TaobaoAlitripTravelItemSkuPackageModifyAPIRequest
- func (r TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetItemId() int64
- func (r TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetOutProductId() string
- func (r TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetSkus() []ItemSkuInfo
- func (r *TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) Reset()
- func (r *TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) SetOutProductId(_outProductId string) error
- func (r *TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) SetSkus(_skus []ItemSkuInfo) error
- type TaobaoAlitripTravelItemSkuPackageModifyAPIResponse
- type TaobaoAlitripTravelItemSkuPackageModifyAPIResponseModel
- type TaobaoAlitripTravelItemSkuPriceModifyAPIRequest
- func (r TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetItemId() int64
- func (r TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetModifyType() int64
- func (r TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetOutProductId() string
- func (r TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetSkus() []PontusTravelItemSkuInfo
- func (r *TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) Reset()
- func (r *TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) SetModifyType(_modifyType int64) error
- func (r *TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) SetOutProductId(_outProductId string) error
- func (r *TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) SetSkus(_skus []PontusTravelItemSkuInfo) error
- type TaobaoAlitripTravelItemSkuPriceModifyAPIResponse
- type TaobaoAlitripTravelItemSkuPriceModifyAPIResponseModel
- type TaobaoAlitripTravelProductBaseAddAPIRequest
- func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetBaseInfo() *ProductBaseInfo
- func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetBookingRules() []BookingRuleInfo
- func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetCruiseProductExt() *CruiseProductExt
- func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetItineraries() []ItemItineraryInfo
- func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetProductSaleInfo() *ProductSaleInfo
- func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetRefundInfo() *ItemRefundInfo
- func (r *TaobaoAlitripTravelProductBaseAddAPIRequest) Reset()
- func (r *TaobaoAlitripTravelProductBaseAddAPIRequest) SetBaseInfo(_baseInfo *ProductBaseInfo) error
- func (r *TaobaoAlitripTravelProductBaseAddAPIRequest) SetBookingRules(_bookingRules []BookingRuleInfo) error
- func (r *TaobaoAlitripTravelProductBaseAddAPIRequest) SetCruiseProductExt(_cruiseProductExt *CruiseProductExt) error
- func (r *TaobaoAlitripTravelProductBaseAddAPIRequest) SetItineraries(_itineraries []ItemItineraryInfo) error
- func (r *TaobaoAlitripTravelProductBaseAddAPIRequest) SetProductSaleInfo(_productSaleInfo *ProductSaleInfo) error
- func (r *TaobaoAlitripTravelProductBaseAddAPIRequest) SetRefundInfo(_refundInfo *ItemRefundInfo) error
- type TaobaoAlitripTravelProductBaseAddAPIResponse
- type TaobaoAlitripTravelProductBaseAddAPIResponseModel
- type TaobaoAlitripTravelProductBaseModifyAPIRequest
- func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetBaseInfo() *ProductBaseInfo
- func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetBookingRules() []BookingRuleInfo
- func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetCruiseProductExt() *CruiseProductExt
- func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetItemId() int64
- func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetItineraries() []ItemItineraryInfo
- func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetProductSaleInfo() *ProductSaleInfo
- func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetRefundInfo() *ItemRefundInfo
- func (r *TaobaoAlitripTravelProductBaseModifyAPIRequest) Reset()
- func (r *TaobaoAlitripTravelProductBaseModifyAPIRequest) SetBaseInfo(_baseInfo *ProductBaseInfo) error
- func (r *TaobaoAlitripTravelProductBaseModifyAPIRequest) SetBookingRules(_bookingRules []BookingRuleInfo) error
- func (r *TaobaoAlitripTravelProductBaseModifyAPIRequest) SetCruiseProductExt(_cruiseProductExt *CruiseProductExt) error
- func (r *TaobaoAlitripTravelProductBaseModifyAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoAlitripTravelProductBaseModifyAPIRequest) SetItineraries(_itineraries []ItemItineraryInfo) error
- func (r *TaobaoAlitripTravelProductBaseModifyAPIRequest) SetProductSaleInfo(_productSaleInfo *ProductSaleInfo) error
- func (r *TaobaoAlitripTravelProductBaseModifyAPIRequest) SetRefundInfo(_refundInfo *ItemRefundInfo) error
- type TaobaoAlitripTravelProductBaseModifyAPIResponse
- type TaobaoAlitripTravelProductBaseModifyAPIResponseModel
- type TaobaoAlitripTravelProductSkuOverrideAPIRequest
- func (r TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetItemId() int64
- func (r TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetOutProductId() string
- func (r TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetSkus() []ItemSkuInfo
- func (r *TaobaoAlitripTravelProductSkuOverrideAPIRequest) Reset()
- func (r *TaobaoAlitripTravelProductSkuOverrideAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoAlitripTravelProductSkuOverrideAPIRequest) SetOutProductId(_outProductId string) error
- func (r *TaobaoAlitripTravelProductSkuOverrideAPIRequest) SetSkus(_skus []ItemSkuInfo) error
- type TaobaoAlitripTravelProductSkuOverrideAPIResponse
- type TaobaoAlitripTravelProductSkuOverrideAPIResponseModel
- type TcwlItemExt
- type TopElementParam
- type TopElementResult
- type TopTravelItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseAlitripDaytoursProductUploadAPIRequest ¶ added in v1.3.4
func ReleaseAlitripDaytoursProductUploadAPIRequest(v *AlitripDaytoursProductUploadAPIRequest)
ReleaseAlitripDaytoursProductUploadAPIRequest 将 AlitripDaytoursProductUploadAPIRequest 放入 sync.Pool
func ReleaseAlitripDaytoursProductUploadAPIResponse ¶ added in v1.3.4
func ReleaseAlitripDaytoursProductUploadAPIResponse(v *AlitripDaytoursProductUploadAPIResponse)
ReleaseAlitripDaytoursProductUploadAPIResponse 将 AlitripDaytoursProductUploadAPIResponse 保存到 sync.Pool
func ReleaseAlitripFreetourProductUploadAPIRequest ¶ added in v1.3.4
func ReleaseAlitripFreetourProductUploadAPIRequest(v *AlitripFreetourProductUploadAPIRequest)
ReleaseAlitripFreetourProductUploadAPIRequest 将 AlitripFreetourProductUploadAPIRequest 放入 sync.Pool
func ReleaseAlitripFreetourProductUploadAPIResponse ¶ added in v1.3.4
func ReleaseAlitripFreetourProductUploadAPIResponse(v *AlitripFreetourProductUploadAPIResponse)
ReleaseAlitripFreetourProductUploadAPIResponse 将 AlitripFreetourProductUploadAPIResponse 保存到 sync.Pool
func ReleaseAlitripGrouptourProductUploadAPIRequest ¶ added in v1.3.4
func ReleaseAlitripGrouptourProductUploadAPIRequest(v *AlitripGrouptourProductUploadAPIRequest)
ReleaseAlitripGrouptourProductUploadAPIRequest 将 AlitripGrouptourProductUploadAPIRequest 放入 sync.Pool
func ReleaseAlitripGrouptourProductUploadAPIResponse ¶ added in v1.3.4
func ReleaseAlitripGrouptourProductUploadAPIResponse(v *AlitripGrouptourProductUploadAPIResponse)
ReleaseAlitripGrouptourProductUploadAPIResponse 将 AlitripGrouptourProductUploadAPIResponse 保存到 sync.Pool
func ReleaseAlitripGrouptoursProductUploadAPIRequest ¶ added in v1.3.4
func ReleaseAlitripGrouptoursProductUploadAPIRequest(v *AlitripGrouptoursProductUploadAPIRequest)
ReleaseAlitripGrouptoursProductUploadAPIRequest 将 AlitripGrouptoursProductUploadAPIRequest 放入 sync.Pool
func ReleaseAlitripGrouptoursProductUploadAPIResponse ¶ added in v1.3.4
func ReleaseAlitripGrouptoursProductUploadAPIResponse(v *AlitripGrouptoursProductUploadAPIResponse)
ReleaseAlitripGrouptoursProductUploadAPIResponse 将 AlitripGrouptoursProductUploadAPIResponse 保存到 sync.Pool
func ReleaseAlitripItemAddSchemaGetAPIRequest ¶ added in v1.3.4
func ReleaseAlitripItemAddSchemaGetAPIRequest(v *AlitripItemAddSchemaGetAPIRequest)
ReleaseAlitripItemAddSchemaGetAPIRequest 将 AlitripItemAddSchemaGetAPIRequest 放入 sync.Pool
func ReleaseAlitripItemAddSchemaGetAPIResponse ¶ added in v1.3.4
func ReleaseAlitripItemAddSchemaGetAPIResponse(v *AlitripItemAddSchemaGetAPIResponse)
ReleaseAlitripItemAddSchemaGetAPIResponse 将 AlitripItemAddSchemaGetAPIResponse 保存到 sync.Pool
func ReleaseAlitripItemSchemaAddAPIRequest ¶ added in v1.3.4
func ReleaseAlitripItemSchemaAddAPIRequest(v *AlitripItemSchemaAddAPIRequest)
ReleaseAlitripItemSchemaAddAPIRequest 将 AlitripItemSchemaAddAPIRequest 放入 sync.Pool
func ReleaseAlitripItemSchemaAddAPIResponse ¶ added in v1.3.4
func ReleaseAlitripItemSchemaAddAPIResponse(v *AlitripItemSchemaAddAPIResponse)
ReleaseAlitripItemSchemaAddAPIResponse 将 AlitripItemSchemaAddAPIResponse 保存到 sync.Pool
func ReleaseAlitripItemSchemaUpdateAPIRequest ¶ added in v1.3.4
func ReleaseAlitripItemSchemaUpdateAPIRequest(v *AlitripItemSchemaUpdateAPIRequest)
ReleaseAlitripItemSchemaUpdateAPIRequest 将 AlitripItemSchemaUpdateAPIRequest 放入 sync.Pool
func ReleaseAlitripItemSchemaUpdateAPIResponse ¶ added in v1.3.4
func ReleaseAlitripItemSchemaUpdateAPIResponse(v *AlitripItemSchemaUpdateAPIResponse)
ReleaseAlitripItemSchemaUpdateAPIResponse 将 AlitripItemSchemaUpdateAPIResponse 保存到 sync.Pool
func ReleaseAlitripItemUpdateSchemaGetAPIRequest ¶ added in v1.3.4
func ReleaseAlitripItemUpdateSchemaGetAPIRequest(v *AlitripItemUpdateSchemaGetAPIRequest)
ReleaseAlitripItemUpdateSchemaGetAPIRequest 将 AlitripItemUpdateSchemaGetAPIRequest 放入 sync.Pool
func ReleaseAlitripItemUpdateSchemaGetAPIResponse ¶ added in v1.3.4
func ReleaseAlitripItemUpdateSchemaGetAPIResponse(v *AlitripItemUpdateSchemaGetAPIResponse)
ReleaseAlitripItemUpdateSchemaGetAPIResponse 将 AlitripItemUpdateSchemaGetAPIResponse 保存到 sync.Pool
func ReleaseAlitripLocalplayProductUploadAPIRequest ¶ added in v1.3.4
func ReleaseAlitripLocalplayProductUploadAPIRequest(v *AlitripLocalplayProductUploadAPIRequest)
ReleaseAlitripLocalplayProductUploadAPIRequest 将 AlitripLocalplayProductUploadAPIRequest 放入 sync.Pool
func ReleaseAlitripLocalplayProductUploadAPIResponse ¶ added in v1.3.4
func ReleaseAlitripLocalplayProductUploadAPIResponse(v *AlitripLocalplayProductUploadAPIResponse)
ReleaseAlitripLocalplayProductUploadAPIResponse 将 AlitripLocalplayProductUploadAPIResponse 保存到 sync.Pool
func ReleaseAlitripTravelGereralitemUpdateAPIRequest ¶ added in v1.3.4
func ReleaseAlitripTravelGereralitemUpdateAPIRequest(v *AlitripTravelGereralitemUpdateAPIRequest)
ReleaseAlitripTravelGereralitemUpdateAPIRequest 将 AlitripTravelGereralitemUpdateAPIRequest 放入 sync.Pool
func ReleaseAlitripTravelGereralitemUpdateAPIResponse ¶ added in v1.3.4
func ReleaseAlitripTravelGereralitemUpdateAPIResponse(v *AlitripTravelGereralitemUpdateAPIResponse)
ReleaseAlitripTravelGereralitemUpdateAPIResponse 将 AlitripTravelGereralitemUpdateAPIResponse 保存到 sync.Pool
func ReleaseAlitripTravelGereralproductUpdateAPIRequest ¶ added in v1.3.4
func ReleaseAlitripTravelGereralproductUpdateAPIRequest(v *AlitripTravelGereralproductUpdateAPIRequest)
ReleaseAlitripTravelGereralproductUpdateAPIRequest 将 AlitripTravelGereralproductUpdateAPIRequest 放入 sync.Pool
func ReleaseAlitripTravelGereralproductUpdateAPIResponse ¶ added in v1.3.4
func ReleaseAlitripTravelGereralproductUpdateAPIResponse(v *AlitripTravelGereralproductUpdateAPIResponse)
ReleaseAlitripTravelGereralproductUpdateAPIResponse 将 AlitripTravelGereralproductUpdateAPIResponse 保存到 sync.Pool
func ReleaseAlitripTravelGereralskuUpdateAPIRequest ¶ added in v1.3.4
func ReleaseAlitripTravelGereralskuUpdateAPIRequest(v *AlitripTravelGereralskuUpdateAPIRequest)
ReleaseAlitripTravelGereralskuUpdateAPIRequest 将 AlitripTravelGereralskuUpdateAPIRequest 放入 sync.Pool
func ReleaseAlitripTravelGereralskuUpdateAPIResponse ¶ added in v1.3.4
func ReleaseAlitripTravelGereralskuUpdateAPIResponse(v *AlitripTravelGereralskuUpdateAPIResponse)
ReleaseAlitripTravelGereralskuUpdateAPIResponse 将 AlitripTravelGereralskuUpdateAPIResponse 保存到 sync.Pool
func ReleaseAlitripTravelPoiSearchAPIRequest ¶ added in v1.3.4
func ReleaseAlitripTravelPoiSearchAPIRequest(v *AlitripTravelPoiSearchAPIRequest)
ReleaseAlitripTravelPoiSearchAPIRequest 将 AlitripTravelPoiSearchAPIRequest 放入 sync.Pool
func ReleaseAlitripTravelPoiSearchAPIResponse ¶ added in v1.3.4
func ReleaseAlitripTravelPoiSearchAPIResponse(v *AlitripTravelPoiSearchAPIResponse)
ReleaseAlitripTravelPoiSearchAPIResponse 将 AlitripTravelPoiSearchAPIResponse 保存到 sync.Pool
func ReleaseAlitripTravelProductGereralskuUpdateAPIRequest ¶ added in v1.3.4
func ReleaseAlitripTravelProductGereralskuUpdateAPIRequest(v *AlitripTravelProductGereralskuUpdateAPIRequest)
ReleaseAlitripTravelProductGereralskuUpdateAPIRequest 将 AlitripTravelProductGereralskuUpdateAPIRequest 放入 sync.Pool
func ReleaseAlitripTravelProductGereralskuUpdateAPIResponse ¶ added in v1.3.4
func ReleaseAlitripTravelProductGereralskuUpdateAPIResponse(v *AlitripTravelProductGereralskuUpdateAPIResponse)
ReleaseAlitripTravelProductGereralskuUpdateAPIResponse 将 AlitripTravelProductGereralskuUpdateAPIResponse 保存到 sync.Pool
func ReleaseBookingRuleInfo ¶ added in v1.3.4
func ReleaseBookingRuleInfo(v *BookingRuleInfo)
ReleaseBookingRuleInfo 释放BookingRuleInfo
func ReleaseCatPropInfo ¶ added in v1.3.4
func ReleaseCatPropInfo(v *CatPropInfo)
ReleaseCatPropInfo 释放CatPropInfo
func ReleaseCruiseItemExt ¶ added in v1.3.4
func ReleaseCruiseItemExt(v *CruiseItemExt)
ReleaseCruiseItemExt 释放CruiseItemExt
func ReleaseCruiseProductExt ¶ added in v1.3.4
func ReleaseCruiseProductExt(v *CruiseProductExt)
ReleaseCruiseProductExt 释放CruiseProductExt
func ReleaseDateInventoryAndPrice ¶ added in v1.3.4
func ReleaseDateInventoryAndPrice(v *DateInventoryAndPrice)
ReleaseDateInventoryAndPrice 释放DateInventoryAndPrice
func ReleaseDateSkuInfo ¶ added in v1.3.4
func ReleaseDateSkuInfo(v *DateSkuInfo)
ReleaseDateSkuInfo 释放DateSkuInfo
func ReleaseElectronContract ¶ added in v1.3.4
func ReleaseElectronContract(v *ElectronContract)
ReleaseElectronContract 释放ElectronContract
func ReleaseFreeTourHotelInfo ¶ added in v1.3.4
func ReleaseFreeTourHotelInfo(v *FreeTourHotelInfo)
ReleaseFreeTourHotelInfo 释放FreeTourHotelInfo
func ReleaseFreeTourPackageInfo ¶ added in v1.3.4
func ReleaseFreeTourPackageInfo(v *FreeTourPackageInfo)
ReleaseFreeTourPackageInfo 释放FreeTourPackageInfo
func ReleaseFreeTourScenicInfo ¶ added in v1.3.4
func ReleaseFreeTourScenicInfo(v *FreeTourScenicInfo)
ReleaseFreeTourScenicInfo 释放FreeTourScenicInfo
func ReleaseFreeTourTrafficInfo ¶ added in v1.3.4
func ReleaseFreeTourTrafficInfo(v *FreeTourTrafficInfo)
ReleaseFreeTourTrafficInfo 释放FreeTourTrafficInfo
func ReleaseFreedomItemExt ¶ added in v1.3.4
func ReleaseFreedomItemExt(v *FreedomItemExt)
ReleaseFreedomItemExt 释放FreedomItemExt
func ReleaseFullTravelItem ¶ added in v1.3.4
func ReleaseFullTravelItem(v *FullTravelItem)
ReleaseFullTravelItem 释放FullTravelItem
func ReleaseGatherPlaceInfo ¶ added in v1.3.4
func ReleaseGatherPlaceInfo(v *GatherPlaceInfo)
ReleaseGatherPlaceInfo 释放GatherPlaceInfo
func ReleaseGeneralProductBaseInfo ¶ added in v1.3.4
func ReleaseGeneralProductBaseInfo(v *GeneralProductBaseInfo)
ReleaseGeneralProductBaseInfo 释放GeneralProductBaseInfo
func ReleaseGroupItemExt ¶ added in v1.3.4
func ReleaseGroupItemExt(v *GroupItemExt)
ReleaseGroupItemExt 释放GroupItemExt
func ReleaseGroupTourPackageInfo ¶ added in v1.3.4
func ReleaseGroupTourPackageInfo(v *GroupTourPackageInfo)
ReleaseGroupTourPackageInfo 释放GroupTourPackageInfo
func ReleaseGroupTourTrafficInfo ¶ added in v1.3.4
func ReleaseGroupTourTrafficInfo(v *GroupTourTrafficInfo)
ReleaseGroupTourTrafficInfo 释放GroupTourTrafficInfo
func ReleaseGroupTourTripElement ¶ added in v1.3.4
func ReleaseGroupTourTripElement(v *GroupTourTripElement)
ReleaseGroupTourTripElement 释放GroupTourTripElement
func ReleaseHighLights ¶ added in v1.3.4
func ReleaseHighLights(v *HighLights)
ReleaseHighLights 释放HighLights
func ReleaseItemBaseInfo ¶ added in v1.3.4
func ReleaseItemBaseInfo(v *ItemBaseInfo)
ReleaseItemBaseInfo 释放ItemBaseInfo
func ReleaseItemEleCertInfo ¶ added in v1.3.4
func ReleaseItemEleCertInfo(v *ItemEleCertInfo)
ReleaseItemEleCertInfo 释放ItemEleCertInfo
func ReleaseItemHotel ¶ added in v1.3.4
func ReleaseItemHotel(v *ItemHotel)
ReleaseItemHotel 释放ItemHotel
func ReleaseItemHotelInfo ¶ added in v1.3.4
func ReleaseItemHotelInfo(v *ItemHotelInfo)
ReleaseItemHotelInfo 释放ItemHotelInfo
func ReleaseItemItineraryInfo ¶ added in v1.3.4
func ReleaseItemItineraryInfo(v *ItemItineraryInfo)
ReleaseItemItineraryInfo 释放ItemItineraryInfo
func ReleaseItemRefundInfo ¶ added in v1.3.4
func ReleaseItemRefundInfo(v *ItemRefundInfo)
ReleaseItemRefundInfo 释放ItemRefundInfo
func ReleaseItemResourceInfo ¶ added in v1.3.4
func ReleaseItemResourceInfo(v *ItemResourceInfo)
ReleaseItemResourceInfo 释放ItemResourceInfo
func ReleaseItemSaleInfo ¶ added in v1.3.4
func ReleaseItemSaleInfo(v *ItemSaleInfo)
ReleaseItemSaleInfo 释放ItemSaleInfo
func ReleaseItemScenic ¶ added in v1.3.4
func ReleaseItemScenic(v *ItemScenic)
ReleaseItemScenic 释放ItemScenic
func ReleaseItemScenicInfo ¶ added in v1.3.4
func ReleaseItemScenicInfo(v *ItemScenicInfo)
ReleaseItemScenicInfo 释放ItemScenicInfo
func ReleaseItemSkuInfo ¶ added in v1.3.4
func ReleaseItemSkuInfo(v *ItemSkuInfo)
ReleaseItemSkuInfo 释放ItemSkuInfo
func ReleaseItemTraffic ¶ added in v1.3.4
func ReleaseItemTraffic(v *ItemTraffic)
ReleaseItemTraffic 释放ItemTraffic
func ReleaseItemTrafficInfo ¶ added in v1.3.4
func ReleaseItemTrafficInfo(v *ItemTrafficInfo)
ReleaseItemTrafficInfo 释放ItemTrafficInfo
func ReleaseItineraryActivity ¶ added in v1.3.4
func ReleaseItineraryActivity(v *ItineraryActivity)
ReleaseItineraryActivity 释放ItineraryActivity
func ReleaseNoDateSkuInfo ¶ added in v1.3.4
func ReleaseNoDateSkuInfo(v *NoDateSkuInfo)
ReleaseNoDateSkuInfo 释放NoDateSkuInfo
func ReleasePontusTravelBookingRuleInfo ¶ added in v1.3.4
func ReleasePontusTravelBookingRuleInfo(v *PontusTravelBookingRuleInfo)
ReleasePontusTravelBookingRuleInfo 释放PontusTravelBookingRuleInfo
func ReleasePontusTravelFreedomItemExt ¶ added in v1.3.4
func ReleasePontusTravelFreedomItemExt(v *PontusTravelFreedomItemExt)
ReleasePontusTravelFreedomItemExt 释放PontusTravelFreedomItemExt
func ReleasePontusTravelFullTravelItem ¶ added in v1.3.4
func ReleasePontusTravelFullTravelItem(v *PontusTravelFullTravelItem)
ReleasePontusTravelFullTravelItem 释放PontusTravelFullTravelItem
func ReleasePontusTravelGatherPlaceInfo ¶ added in v1.3.4
func ReleasePontusTravelGatherPlaceInfo(v *PontusTravelGatherPlaceInfo)
ReleasePontusTravelGatherPlaceInfo 释放PontusTravelGatherPlaceInfo
func ReleasePontusTravelGroupItemExt ¶ added in v1.3.4
func ReleasePontusTravelGroupItemExt(v *PontusTravelGroupItemExt)
ReleasePontusTravelGroupItemExt 释放PontusTravelGroupItemExt
func ReleasePontusTravelItemBaseInfo ¶ added in v1.3.4
func ReleasePontusTravelItemBaseInfo(v *PontusTravelItemBaseInfo)
ReleasePontusTravelItemBaseInfo 释放PontusTravelItemBaseInfo
func ReleasePontusTravelItemEleCertInfo ¶ added in v1.3.4
func ReleasePontusTravelItemEleCertInfo(v *PontusTravelItemEleCertInfo)
ReleasePontusTravelItemEleCertInfo 释放PontusTravelItemEleCertInfo
func ReleasePontusTravelItemHotel ¶ added in v1.3.4
func ReleasePontusTravelItemHotel(v *PontusTravelItemHotel)
ReleasePontusTravelItemHotel 释放PontusTravelItemHotel
func ReleasePontusTravelItemHotelInfo ¶ added in v1.3.4
func ReleasePontusTravelItemHotelInfo(v *PontusTravelItemHotelInfo)
ReleasePontusTravelItemHotelInfo 释放PontusTravelItemHotelInfo
func ReleasePontusTravelItemItineraryInfo ¶ added in v1.3.4
func ReleasePontusTravelItemItineraryInfo(v *PontusTravelItemItineraryInfo)
ReleasePontusTravelItemItineraryInfo 释放PontusTravelItemItineraryInfo
func ReleasePontusTravelItemRefundInfo ¶ added in v1.3.4
func ReleasePontusTravelItemRefundInfo(v *PontusTravelItemRefundInfo)
ReleasePontusTravelItemRefundInfo 释放PontusTravelItemRefundInfo
func ReleasePontusTravelItemResourceInfo ¶ added in v1.3.4
func ReleasePontusTravelItemResourceInfo(v *PontusTravelItemResourceInfo)
ReleasePontusTravelItemResourceInfo 释放PontusTravelItemResourceInfo
func ReleasePontusTravelItemSaleInfo ¶ added in v1.3.4
func ReleasePontusTravelItemSaleInfo(v *PontusTravelItemSaleInfo)
ReleasePontusTravelItemSaleInfo 释放PontusTravelItemSaleInfo
func ReleasePontusTravelItemScenic ¶ added in v1.3.4
func ReleasePontusTravelItemScenic(v *PontusTravelItemScenic)
ReleasePontusTravelItemScenic 释放PontusTravelItemScenic
func ReleasePontusTravelItemScenicInfo ¶ added in v1.3.4
func ReleasePontusTravelItemScenicInfo(v *PontusTravelItemScenicInfo)
ReleasePontusTravelItemScenicInfo 释放PontusTravelItemScenicInfo
func ReleasePontusTravelItemSkuInfo ¶ added in v1.3.4
func ReleasePontusTravelItemSkuInfo(v *PontusTravelItemSkuInfo)
ReleasePontusTravelItemSkuInfo 释放PontusTravelItemSkuInfo
func ReleasePontusTravelItemTraffic ¶ added in v1.3.4
func ReleasePontusTravelItemTraffic(v *PontusTravelItemTraffic)
ReleasePontusTravelItemTraffic 释放PontusTravelItemTraffic
func ReleasePontusTravelItemTrafficInfo ¶ added in v1.3.4
func ReleasePontusTravelItemTrafficInfo(v *PontusTravelItemTrafficInfo)
ReleasePontusTravelItemTrafficInfo 释放PontusTravelItemTrafficInfo
func ReleasePontusTravelPrices ¶ added in v1.3.4
func ReleasePontusTravelPrices(v *PontusTravelPrices)
ReleasePontusTravelPrices 释放PontusTravelPrices
func ReleasePontusTravelProduct ¶ added in v1.3.4
func ReleasePontusTravelProduct(v *PontusTravelProduct)
ReleasePontusTravelProduct 释放PontusTravelProduct
func ReleaseProductBaseInfo ¶ added in v1.3.4
func ReleaseProductBaseInfo(v *ProductBaseInfo)
ReleaseProductBaseInfo 释放ProductBaseInfo
func ReleaseProductHighLights ¶ added in v1.3.4
func ReleaseProductHighLights(v *ProductHighLights)
ReleaseProductHighLights 释放ProductHighLights
func ReleaseProductSaleInfo ¶ added in v1.3.4
func ReleaseProductSaleInfo(v *ProductSaleInfo)
ReleaseProductSaleInfo 释放ProductSaleInfo
func ReleasePropertyAliasInfo ¶ added in v1.3.4
func ReleasePropertyAliasInfo(v *PropertyAliasInfo)
ReleasePropertyAliasInfo 释放PropertyAliasInfo
func ReleaseStructItinerary ¶ added in v1.3.4
func ReleaseStructItinerary(v *StructItinerary)
ReleaseStructItinerary 释放StructItinerary
func ReleaseTaobaoAlitripTravelBaseinfoCitiesGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelBaseinfoCitiesGetAPIRequest(v *TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest)
ReleaseTaobaoAlitripTravelBaseinfoCitiesGetAPIRequest 将 TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripTravelBaseinfoCitiesGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelBaseinfoCitiesGetAPIResponse(v *TaobaoAlitripTravelBaseinfoCitiesGetAPIResponse)
ReleaseTaobaoAlitripTravelBaseinfoCitiesGetAPIResponse 将 TaobaoAlitripTravelBaseinfoCitiesGetAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripTravelBaseinfoCruiseGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelBaseinfoCruiseGetAPIRequest(v *TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest)
ReleaseTaobaoAlitripTravelBaseinfoCruiseGetAPIRequest 将 TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripTravelBaseinfoCruiseGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelBaseinfoCruiseGetAPIResponse(v *TaobaoAlitripTravelBaseinfoCruiseGetAPIResponse)
ReleaseTaobaoAlitripTravelBaseinfoCruiseGetAPIResponse 将 TaobaoAlitripTravelBaseinfoCruiseGetAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripTravelBaseinfoScenicsGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelBaseinfoScenicsGetAPIRequest(v *TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest)
ReleaseTaobaoAlitripTravelBaseinfoScenicsGetAPIRequest 将 TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripTravelBaseinfoScenicsGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelBaseinfoScenicsGetAPIResponse(v *TaobaoAlitripTravelBaseinfoScenicsGetAPIResponse)
ReleaseTaobaoAlitripTravelBaseinfoScenicsGetAPIResponse 将 TaobaoAlitripTravelBaseinfoScenicsGetAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripTravelItemElementManageAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelItemElementManageAPIRequest(v *TaobaoAlitripTravelItemElementManageAPIRequest)
ReleaseTaobaoAlitripTravelItemElementManageAPIRequest 将 TaobaoAlitripTravelItemElementManageAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripTravelItemElementManageAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelItemElementManageAPIResponse(v *TaobaoAlitripTravelItemElementManageAPIResponse)
ReleaseTaobaoAlitripTravelItemElementManageAPIResponse 将 TaobaoAlitripTravelItemElementManageAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripTravelItemElementQueryAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelItemElementQueryAPIRequest(v *TaobaoAlitripTravelItemElementQueryAPIRequest)
ReleaseTaobaoAlitripTravelItemElementQueryAPIRequest 将 TaobaoAlitripTravelItemElementQueryAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripTravelItemElementQueryAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelItemElementQueryAPIResponse(v *TaobaoAlitripTravelItemElementQueryAPIResponse)
ReleaseTaobaoAlitripTravelItemElementQueryAPIResponse 将 TaobaoAlitripTravelItemElementQueryAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripTravelItemNewQueryAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelItemNewQueryAPIRequest(v *TaobaoAlitripTravelItemNewQueryAPIRequest)
ReleaseTaobaoAlitripTravelItemNewQueryAPIRequest 将 TaobaoAlitripTravelItemNewQueryAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripTravelItemNewQueryAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelItemNewQueryAPIResponse(v *TaobaoAlitripTravelItemNewQueryAPIResponse)
ReleaseTaobaoAlitripTravelItemNewQueryAPIResponse 将 TaobaoAlitripTravelItemNewQueryAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripTravelItemShelveAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelItemShelveAPIRequest(v *TaobaoAlitripTravelItemShelveAPIRequest)
ReleaseTaobaoAlitripTravelItemShelveAPIRequest 将 TaobaoAlitripTravelItemShelveAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripTravelItemShelveAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelItemShelveAPIResponse(v *TaobaoAlitripTravelItemShelveAPIResponse)
ReleaseTaobaoAlitripTravelItemShelveAPIResponse 将 TaobaoAlitripTravelItemShelveAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripTravelItemSingleQueryAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelItemSingleQueryAPIRequest(v *TaobaoAlitripTravelItemSingleQueryAPIRequest)
ReleaseTaobaoAlitripTravelItemSingleQueryAPIRequest 将 TaobaoAlitripTravelItemSingleQueryAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripTravelItemSingleQueryAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelItemSingleQueryAPIResponse(v *TaobaoAlitripTravelItemSingleQueryAPIResponse)
ReleaseTaobaoAlitripTravelItemSingleQueryAPIResponse 将 TaobaoAlitripTravelItemSingleQueryAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripTravelItemSkuOverrideAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelItemSkuOverrideAPIRequest(v *TaobaoAlitripTravelItemSkuOverrideAPIRequest)
ReleaseTaobaoAlitripTravelItemSkuOverrideAPIRequest 将 TaobaoAlitripTravelItemSkuOverrideAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripTravelItemSkuOverrideAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelItemSkuOverrideAPIResponse(v *TaobaoAlitripTravelItemSkuOverrideAPIResponse)
ReleaseTaobaoAlitripTravelItemSkuOverrideAPIResponse 将 TaobaoAlitripTravelItemSkuOverrideAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripTravelItemSkuPackageModifyAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelItemSkuPackageModifyAPIRequest(v *TaobaoAlitripTravelItemSkuPackageModifyAPIRequest)
ReleaseTaobaoAlitripTravelItemSkuPackageModifyAPIRequest 将 TaobaoAlitripTravelItemSkuPackageModifyAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripTravelItemSkuPackageModifyAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelItemSkuPackageModifyAPIResponse(v *TaobaoAlitripTravelItemSkuPackageModifyAPIResponse)
ReleaseTaobaoAlitripTravelItemSkuPackageModifyAPIResponse 将 TaobaoAlitripTravelItemSkuPackageModifyAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripTravelItemSkuPriceModifyAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelItemSkuPriceModifyAPIRequest(v *TaobaoAlitripTravelItemSkuPriceModifyAPIRequest)
ReleaseTaobaoAlitripTravelItemSkuPriceModifyAPIRequest 将 TaobaoAlitripTravelItemSkuPriceModifyAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripTravelItemSkuPriceModifyAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelItemSkuPriceModifyAPIResponse(v *TaobaoAlitripTravelItemSkuPriceModifyAPIResponse)
ReleaseTaobaoAlitripTravelItemSkuPriceModifyAPIResponse 将 TaobaoAlitripTravelItemSkuPriceModifyAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripTravelProductBaseAddAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelProductBaseAddAPIRequest(v *TaobaoAlitripTravelProductBaseAddAPIRequest)
ReleaseTaobaoAlitripTravelProductBaseAddAPIRequest 将 TaobaoAlitripTravelProductBaseAddAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripTravelProductBaseAddAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelProductBaseAddAPIResponse(v *TaobaoAlitripTravelProductBaseAddAPIResponse)
ReleaseTaobaoAlitripTravelProductBaseAddAPIResponse 将 TaobaoAlitripTravelProductBaseAddAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripTravelProductBaseModifyAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelProductBaseModifyAPIRequest(v *TaobaoAlitripTravelProductBaseModifyAPIRequest)
ReleaseTaobaoAlitripTravelProductBaseModifyAPIRequest 将 TaobaoAlitripTravelProductBaseModifyAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripTravelProductBaseModifyAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelProductBaseModifyAPIResponse(v *TaobaoAlitripTravelProductBaseModifyAPIResponse)
ReleaseTaobaoAlitripTravelProductBaseModifyAPIResponse 将 TaobaoAlitripTravelProductBaseModifyAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripTravelProductSkuOverrideAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelProductSkuOverrideAPIRequest(v *TaobaoAlitripTravelProductSkuOverrideAPIRequest)
ReleaseTaobaoAlitripTravelProductSkuOverrideAPIRequest 将 TaobaoAlitripTravelProductSkuOverrideAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripTravelProductSkuOverrideAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripTravelProductSkuOverrideAPIResponse(v *TaobaoAlitripTravelProductSkuOverrideAPIResponse)
ReleaseTaobaoAlitripTravelProductSkuOverrideAPIResponse 将 TaobaoAlitripTravelProductSkuOverrideAPIResponse 保存到 sync.Pool
func ReleaseTcwlItemExt ¶ added in v1.3.4
func ReleaseTcwlItemExt(v *TcwlItemExt)
ReleaseTcwlItemExt 释放TcwlItemExt
func ReleaseTopElementParam ¶ added in v1.3.4
func ReleaseTopElementParam(v *TopElementParam)
ReleaseTopElementParam 释放TopElementParam
func ReleaseTopElementResult ¶ added in v1.3.4
func ReleaseTopElementResult(v *TopElementResult)
ReleaseTopElementResult 释放TopElementResult
func ReleaseTopTravelItem ¶ added in v1.3.4
func ReleaseTopTravelItem(v *TopTravelItem)
ReleaseTopTravelItem 释放TopTravelItem
Types ¶
type AlitripDaytoursProductUploadAPIRequest ¶
type AlitripDaytoursProductUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripDaytoursProductUploadAPIRequest 境外一日游/多日游 产品维护接口 API请求 alitrip.daytours.product.upload
境外一日游/多日游 产品维护接口。 接口同时支持新商品发布 和 现有商品编辑: 1)只上传out_product_id的情况:如果out_product_id已经关联过某个商品id,则认为是编辑现有商品,否则认为是新发布一个商品。 2)同时上传out_product_id和item_id,则认为是将out_product_id与item_id进行关联,同时对该商品进行编辑。
func GetAlitripDaytoursProductUploadAPIRequest ¶ added in v1.3.4
func GetAlitripDaytoursProductUploadAPIRequest() *AlitripDaytoursProductUploadAPIRequest
GetAlitripDaytoursProductUploadRequest 从 sync.Pool 获取 AlitripDaytoursProductUploadAPIRequest
func NewAlitripDaytoursProductUploadRequest ¶
func NewAlitripDaytoursProductUploadRequest() *AlitripDaytoursProductUploadAPIRequest
NewAlitripDaytoursProductUploadRequest 初始化AlitripDaytoursProductUploadAPIRequest对象
func (AlitripDaytoursProductUploadAPIRequest) GetApiMethodName ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripDaytoursProductUploadAPIRequest) GetApiParams ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripDaytoursProductUploadAPIRequest) GetBusinessLicense ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetBusinessLicense() string
GetBusinessLicense BusinessLicense Getter
func (AlitripDaytoursProductUploadAPIRequest) GetConfirmTime ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetConfirmTime() int64
GetConfirmTime ConfirmTime Getter
func (AlitripDaytoursProductUploadAPIRequest) GetConfirmType ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetConfirmType() int64
GetConfirmType ConfirmType Getter
func (AlitripDaytoursProductUploadAPIRequest) GetDescHtml ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetDescHtml() string
GetDescHtml DescHtml Getter
func (AlitripDaytoursProductUploadAPIRequest) GetDescXml ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetDescXml() string
GetDescXml DescXml Getter
func (AlitripDaytoursProductUploadAPIRequest) GetFeeExclude ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetFeeExclude() []string
GetFeeExclude FeeExclude Getter
func (AlitripDaytoursProductUploadAPIRequest) GetFeeInclude ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetFeeInclude() []string
GetFeeInclude FeeInclude Getter
func (AlitripDaytoursProductUploadAPIRequest) GetFromLocations ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetFromLocations() string
GetFromLocations FromLocations Getter
func (AlitripDaytoursProductUploadAPIRequest) GetHasDiscount ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetHasDiscount() bool
GetHasDiscount HasDiscount Getter
func (AlitripDaytoursProductUploadAPIRequest) GetHighLights ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetHighLights() []ProductHighLights
GetHighLights HighLights Getter
func (AlitripDaytoursProductUploadAPIRequest) GetItemCustomTag ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetItemCustomTag() string
GetItemCustomTag ItemCustomTag Getter
func (AlitripDaytoursProductUploadAPIRequest) GetItemId ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripDaytoursProductUploadAPIRequest) GetItineraries ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetItineraries() []string
GetItineraries Itineraries Getter
func (AlitripDaytoursProductUploadAPIRequest) GetOrderInfo ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetOrderInfo() []string
GetOrderInfo OrderInfo Getter
func (AlitripDaytoursProductUploadAPIRequest) GetOutProductId ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (AlitripDaytoursProductUploadAPIRequest) GetPicUrls ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetPicUrls() []string
GetPicUrls PicUrls Getter
func (AlitripDaytoursProductUploadAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripDaytoursProductUploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripDaytoursProductUploadAPIRequest) GetRefundRegulationsJson ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetRefundRegulationsJson() string
GetRefundRegulationsJson RefundRegulationsJson Getter
func (AlitripDaytoursProductUploadAPIRequest) GetRefundType ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetRefundType() int64
GetRefundType RefundType Getter
func (AlitripDaytoursProductUploadAPIRequest) GetReserveLimit ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetReserveLimit() string
GetReserveLimit ReserveLimit Getter
func (AlitripDaytoursProductUploadAPIRequest) GetSecondKill ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetSecondKill() string
GetSecondKill SecondKill Getter
func (AlitripDaytoursProductUploadAPIRequest) GetSellerCids ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetSellerCids() []string
GetSellerCids SellerCids Getter
func (AlitripDaytoursProductUploadAPIRequest) GetStructItineraries ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetStructItineraries() []StructItinerary
GetStructItineraries StructItineraries Getter
func (AlitripDaytoursProductUploadAPIRequest) GetSubStock ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetSubStock() int64
GetSubStock SubStock Getter
func (AlitripDaytoursProductUploadAPIRequest) GetSubTitles ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetSubTitles() []string
GetSubTitles SubTitles Getter
func (AlitripDaytoursProductUploadAPIRequest) GetTitle ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetTitle() string
GetTitle Title Getter
func (AlitripDaytoursProductUploadAPIRequest) GetToLocations ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetToLocations() string
GetToLocations ToLocations Getter
func (AlitripDaytoursProductUploadAPIRequest) GetTouristServiceProvider ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetTouristServiceProvider() string
GetTouristServiceProvider TouristServiceProvider Getter
func (AlitripDaytoursProductUploadAPIRequest) GetTravellerTemplateId ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetTravellerTemplateId() int64
GetTravellerTemplateId TravellerTemplateId Getter
func (AlitripDaytoursProductUploadAPIRequest) GetTripDay ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetTripDay() int64
GetTripDay TripDay Getter
func (AlitripDaytoursProductUploadAPIRequest) GetTripNight ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetTripNight() int64
GetTripNight TripNight Getter
func (AlitripDaytoursProductUploadAPIRequest) GetWapDesc ¶
func (r AlitripDaytoursProductUploadAPIRequest) GetWapDesc() string
GetWapDesc WapDesc Getter
func (*AlitripDaytoursProductUploadAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripDaytoursProductUploadAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripDaytoursProductUploadAPIRequest) SetBusinessLicense ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetBusinessLicense(_businessLicense string) error
SetBusinessLicense is BusinessLicense Setter 必填,营业执照图片路径。图片链接支持外链图片(即商家系统中图片链接,必须外网可访问,且格式为jpg或jpeg,大小在3M以内),或者用户淘宝空间内的图片链接。对于外链图片,将自动下载并上传用户淘宝图片空间。
func (*AlitripDaytoursProductUploadAPIRequest) SetConfirmTime ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetConfirmTime(_confirmTime int64) error
SetConfirmTime is ConfirmTime Setter 特殊可选(confirm_type为2时必填),资源确认时长,当confirm_type=2时必填。1:2个工作小时内确认,2:6个工作小时内确认,3:9个工作小时内确认,4:18个工作小时内确认
func (*AlitripDaytoursProductUploadAPIRequest) SetConfirmType ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetConfirmType(_confirmType int64) error
SetConfirmType is ConfirmType Setter 可选,资源确认类型。1-即时确认,2-二次确认。不传默认1
func (*AlitripDaytoursProductUploadAPIRequest) SetDescHtml ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetDescHtml(_descHtml string) error
SetDescHtml is DescHtml Setter PC端详情描述(新发布商品时,desc_xml和desc_html二者至少填写一个),Html格式。商家自定义Html格式描述。
func (*AlitripDaytoursProductUploadAPIRequest) SetDescXml ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetDescXml(_descXml string) error
SetDescXml is DescXml Setter PC端详情描述(新发布商品时,desc_xml和desc_html二者至少填写一个),xml格式:DESC根标签必须有,每一个亮点(HIGHLIGHT)支持1个title子标签,1个txt子标签和多个img子标签。
func (*AlitripDaytoursProductUploadAPIRequest) SetFeeExclude ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetFeeExclude(_feeExclude []string) error
SetFeeExclude is FeeExclude Setter 新发布商品时必填。费用不含。列表中每一个元素 对应一点描述,每点描述小于100个中文字符。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripDaytoursProductUploadAPIRequest) SetFeeInclude ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetFeeInclude(_feeInclude []string) error
SetFeeInclude is FeeInclude Setter 新发布商品时必填。费用包含。列表中每一个元素 对应一点描述,每点描述小于100个中文字符。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripDaytoursProductUploadAPIRequest) SetFromLocations ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetFromLocations(_fromLocations string) error
SetFromLocations is FromLocations Setter 新发布商品时必填。出发地,多个出发地用英文逗号分隔。使用说明同“目的地”
func (*AlitripDaytoursProductUploadAPIRequest) SetHasDiscount ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetHasDiscount(_hasDiscount bool) error
SetHasDiscount is HasDiscount Setter 是否支持会员打折。可选值:true,false;默认值:false(不打折)。不传的话默认为false
func (*AlitripDaytoursProductUploadAPIRequest) SetHighLights ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetHighLights(_highLights []ProductHighLights) error
SetHighLights is HighLights Setter 一日游 产品亮点
func (*AlitripDaytoursProductUploadAPIRequest) SetItemCustomTag ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetItemCustomTag(_itemCustomTag string) error
SetItemCustomTag is ItemCustomTag Setter 可选,商家自定义标签(最多4个字,超长则自动截断,会进行违禁词校验)
func (*AlitripDaytoursProductUploadAPIRequest) SetItemId ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 可选,淘系商品id,用于将out_product_id关联到已经存在的商品,并且修改该商品外部商家编码为out_product_id。
func (*AlitripDaytoursProductUploadAPIRequest) SetItineraries ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetItineraries(_itineraries []string) error
SetItineraries is Itineraries Setter 特殊必填,(struct_itineraries与itineraries二者选填一个即可,如果两个都上传则以struct_itineraries为准)。itineraries数组的元素个数必须与旅游天数trip_day一致。行程描述,每一天行程都是xml格式(数组的每个元素对应每一天的行程): ITINERARY根标签必须有,每个活动(ACTIVITY)支持1个title子标签,1个txt子标签和多个img子标签。注:在SDK中多个元素间以英文逗号分隔
func (*AlitripDaytoursProductUploadAPIRequest) SetOrderInfo ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetOrderInfo(_orderInfo []string) error
SetOrderInfo is OrderInfo Setter 新发布商品时必填。预定须知。列表中每一个元素 对应一点描述,每点描述小于100个中文字符。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripDaytoursProductUploadAPIRequest) SetOutProductId ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商家自定义商品编码。注:商品基本信息维护、价格库存维护,商品查询都以该编码为主键。
func (*AlitripDaytoursProductUploadAPIRequest) SetPicUrls ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetPicUrls(_picUrls []string) error
SetPicUrls is PicUrls Setter 新发布商品时必填。商品图片路径。最多支持5张,第一张为主图,必填,其余四张可选填。图片链接支持外链图片(即商家系统中图片链接,必须外网可访问,且格式为jpg或jpeg,大小在500k以内),或者用户淘宝空间内的图片链接。对于外链图片,将自动下载并上传用户淘宝图片空间,上传失败的外链图片将自动忽略不计。。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripDaytoursProductUploadAPIRequest) SetRefundRegulationsJson ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetRefundRegulationsJson(_refundRegulationsJson string) error
SetRefundRegulationsJson is RefundRegulationsJson Setter 特殊可选,退款规则(json数组格式)。自定义退改时需填写(与refund_regulations字段二选一)。示例中一共包含4条规则(3条平日规则,1条节假日规则),按照顺序每条规则含义如下:出行前5日及以上,买家违约收取总费用的50,卖家违约收取总费用的20;出行前4日至1日,买家违约收取总费用的80,卖家违约收取总费用的50;行程开始当天,买家违约收取总费用的100,卖家违约收取总费用的70;如果行程日期包含节假日,则节假日条款为买家违约收取总费用的100,卖家违约收取总费用的90
func (*AlitripDaytoursProductUploadAPIRequest) SetRefundType ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetRefundType(_refundType int64) error
SetRefundType is RefundType Setter 可选,退改规则类型。0-平台标准退改规则,1-自定义退改规则,2-不支持退改(已废弃,勿用),7-新版自定义退改规则。不传默认为0
func (*AlitripDaytoursProductUploadAPIRequest) SetReserveLimit ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetReserveLimit(_reserveLimit string) error
SetReserveLimit is ReserveLimit Setter 可选,该商品提前预定时间限制。格式:1_18_00,含义:该商品必须提前1天预定,且在18:00之前完成预定
func (*AlitripDaytoursProductUploadAPIRequest) SetSecondKill ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetSecondKill(_secondKill string) error
SetSecondKill is SecondKill Setter 商品秒杀,商品秒杀三个值:可选类型web_only(只能通过web网络秒杀),wap_only(只能通过wap网络秒杀),web_and_wap(既能通过web秒杀也能通过wap秒杀)
func (*AlitripDaytoursProductUploadAPIRequest) SetSellerCids ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetSellerCids(_sellerCids []string) error
SetSellerCids is SellerCids Setter 关联商品与店铺类目 结构:"cid1,cid2,...,"。如何获取卖家店铺类目具体参见:http://open.taobao.com/doc2/apiDetail.htm?apiId=65
func (*AlitripDaytoursProductUploadAPIRequest) SetStructItineraries ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetStructItineraries(_structItineraries []StructItinerary) error
SetStructItineraries is StructItineraries Setter 特殊必填,行程描述(struct_itineraries与itineraries二者选填一个即可,如果两个都上传则以struct_itineraries为准)。列表中每一个元素对应一天的行程,每天行程由多个活动组成。行程描述是可选项,如果上传了行程内容 则行程序号和行程活动信息必填。
func (*AlitripDaytoursProductUploadAPIRequest) SetSubStock ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetSubStock(_subStock int64) error
SetSubStock is SubStock Setter 可选,减库存方式。0-拍下减库存。1-付款减库存。不传默认为0
func (*AlitripDaytoursProductUploadAPIRequest) SetSubTitles ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetSubTitles(_subTitles []string) error
SetSubTitles is SubTitles Setter 可选,商品亮点,最多支持4个亮点。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripDaytoursProductUploadAPIRequest) SetTitle ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 新发布商品时必填。商品标题,30个中文字符以内
func (*AlitripDaytoursProductUploadAPIRequest) SetToLocations ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetToLocations(_toLocations string) error
SetToLocations is ToLocations Setter 新发布商品时必填。目的地,多个目的地用英文逗号分隔。地址可以使用飞猪标准地址名称,也可以使用商家系统中目的地地址(支持商家目的地id和商家目的地名称)。如果需要使用商家目的地地址,必须在目的地关联页(https://sell.alitrip.com/icenter/main.htm#/widgets/api-adaptor?_k=n61ii0)配置映射关系(一次性批量上传建立映射关系,之后度假所有类目、API接口共用该映射关系)。 商家目的地地址使用示例1:东京,大阪。示例2:123,124。说明:商家目的地id(123,124)会根据映射关系自动转换成飞猪标准地址
func (*AlitripDaytoursProductUploadAPIRequest) SetTouristServiceProvider ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetTouristServiceProvider(_touristServiceProvider string) error
SetTouristServiceProvider is TouristServiceProvider Setter 真实的旅游服务提供商
func (*AlitripDaytoursProductUploadAPIRequest) SetTravellerTemplateId ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetTravellerTemplateId(_travellerTemplateId int64) error
SetTravellerTemplateId is TravellerTemplateId Setter 可选,出行人模板id。模板id需要商家以店铺账号身份登录飞猪商家工作台,从卖家工具->出行人管理中获取。注意:如果传0则代表设置为不需要出行人模板或使用飞猪平台默认的类目模板。
func (*AlitripDaytoursProductUploadAPIRequest) SetTripDay ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetTripDay(_tripDay int64) error
SetTripDay is TripDay Setter 新发布商品时必填。旅游天数
func (*AlitripDaytoursProductUploadAPIRequest) SetTripNight ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetTripNight(_tripNight int64) error
SetTripNight is TripNight Setter 可选,旅游晚数,不传默认旅游天数-1
func (*AlitripDaytoursProductUploadAPIRequest) SetWapDesc ¶
func (r *AlitripDaytoursProductUploadAPIRequest) SetWapDesc(_wapDesc string) error
SetWapDesc is WapDesc Setter 可选,手机端详情描述,xml格式,格式详见示例。
type AlitripDaytoursProductUploadAPIResponse ¶
type AlitripDaytoursProductUploadAPIResponse struct { model.CommonResponse AlitripDaytoursProductUploadAPIResponseModel }
AlitripDaytoursProductUploadAPIResponse 境外一日游/多日游 产品维护接口 API返回值 alitrip.daytours.product.upload
境外一日游/多日游 产品维护接口。 接口同时支持新商品发布 和 现有商品编辑: 1)只上传out_product_id的情况:如果out_product_id已经关联过某个商品id,则认为是编辑现有商品,否则认为是新发布一个商品。 2)同时上传out_product_id和item_id,则认为是将out_product_id与item_id进行关联,同时对该商品进行编辑。
func GetAlitripDaytoursProductUploadAPIResponse ¶ added in v1.3.4
func GetAlitripDaytoursProductUploadAPIResponse() *AlitripDaytoursProductUploadAPIResponse
GetAlitripDaytoursProductUploadAPIResponse 从 sync.Pool 获取 AlitripDaytoursProductUploadAPIResponse
func (*AlitripDaytoursProductUploadAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripDaytoursProductUploadAPIResponse) Reset()
Reset 清空结构体
type AlitripDaytoursProductUploadAPIResponseModel ¶
type AlitripDaytoursProductUploadAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_daytours_product_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品维护结果 FirstResult *TopTravelItem `json:"first_result,omitempty" xml:"first_result,omitempty"` }
AlitripDaytoursProductUploadAPIResponseModel is 境外一日游/多日游 产品维护接口 成功返回结果
func (*AlitripDaytoursProductUploadAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripDaytoursProductUploadAPIResponseModel) Reset()
Reset 清空结构体
type AlitripFreetourProductUploadAPIRequest ¶
type AlitripFreetourProductUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripFreetourProductUploadAPIRequest 自由行商品发布及编辑接口 API请求 alitrip.freetour.product.upload
自由行 产品维护接口。 接口同时支持新商品发布 和 现有商品编辑: 1)只上传out_product_id的情况:如果out_product_id已经关联过某个商品id,则认为是编辑现有商品,否则认为是新发布一个商品。 2)同时上传out_product_id和item_id,则认为是将out_product_id与item_id进行关联,同时对该商品进行编辑。
func GetAlitripFreetourProductUploadAPIRequest ¶ added in v1.3.4
func GetAlitripFreetourProductUploadAPIRequest() *AlitripFreetourProductUploadAPIRequest
GetAlitripFreetourProductUploadRequest 从 sync.Pool 获取 AlitripFreetourProductUploadAPIRequest
func NewAlitripFreetourProductUploadRequest ¶
func NewAlitripFreetourProductUploadRequest() *AlitripFreetourProductUploadAPIRequest
NewAlitripFreetourProductUploadRequest 初始化AlitripFreetourProductUploadAPIRequest对象
func (AlitripFreetourProductUploadAPIRequest) GetApiMethodName ¶
func (r AlitripFreetourProductUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripFreetourProductUploadAPIRequest) GetApiParams ¶
func (r AlitripFreetourProductUploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripFreetourProductUploadAPIRequest) GetBackTrafficType ¶
func (r AlitripFreetourProductUploadAPIRequest) GetBackTrafficType() int64
GetBackTrafficType BackTrafficType Getter
func (AlitripFreetourProductUploadAPIRequest) GetConfirmTime ¶
func (r AlitripFreetourProductUploadAPIRequest) GetConfirmTime() int64
GetConfirmTime ConfirmTime Getter
func (AlitripFreetourProductUploadAPIRequest) GetConfirmType ¶
func (r AlitripFreetourProductUploadAPIRequest) GetConfirmType() int64
GetConfirmType ConfirmType Getter
func (AlitripFreetourProductUploadAPIRequest) GetDescHtml ¶
func (r AlitripFreetourProductUploadAPIRequest) GetDescHtml() string
GetDescHtml DescHtml Getter
func (AlitripFreetourProductUploadAPIRequest) GetDescXml ¶
func (r AlitripFreetourProductUploadAPIRequest) GetDescXml() string
GetDescXml DescXml Getter
func (AlitripFreetourProductUploadAPIRequest) GetFreeTourPackageInfo ¶
func (r AlitripFreetourProductUploadAPIRequest) GetFreeTourPackageInfo() []FreeTourPackageInfo
GetFreeTourPackageInfo FreeTourPackageInfo Getter
func (AlitripFreetourProductUploadAPIRequest) GetFromLocations ¶
func (r AlitripFreetourProductUploadAPIRequest) GetFromLocations() string
GetFromLocations FromLocations Getter
func (AlitripFreetourProductUploadAPIRequest) GetGoTrafficType ¶
func (r AlitripFreetourProductUploadAPIRequest) GetGoTrafficType() int64
GetGoTrafficType GoTrafficType Getter
func (AlitripFreetourProductUploadAPIRequest) GetHasDiscount ¶
func (r AlitripFreetourProductUploadAPIRequest) GetHasDiscount() bool
GetHasDiscount HasDiscount Getter
func (AlitripFreetourProductUploadAPIRequest) GetIsOverseasTour ¶
func (r AlitripFreetourProductUploadAPIRequest) GetIsOverseasTour() int64
GetIsOverseasTour IsOverseasTour Getter
func (AlitripFreetourProductUploadAPIRequest) GetItemCustomTag ¶
func (r AlitripFreetourProductUploadAPIRequest) GetItemCustomTag() string
GetItemCustomTag ItemCustomTag Getter
func (AlitripFreetourProductUploadAPIRequest) GetItemId ¶
func (r AlitripFreetourProductUploadAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripFreetourProductUploadAPIRequest) GetOutProductId ¶
func (r AlitripFreetourProductUploadAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (AlitripFreetourProductUploadAPIRequest) GetPackageOperation ¶
func (r AlitripFreetourProductUploadAPIRequest) GetPackageOperation() int64
GetPackageOperation PackageOperation Getter
func (AlitripFreetourProductUploadAPIRequest) GetPicUrls ¶
func (r AlitripFreetourProductUploadAPIRequest) GetPicUrls() []string
GetPicUrls PicUrls Getter
func (AlitripFreetourProductUploadAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripFreetourProductUploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripFreetourProductUploadAPIRequest) GetRefundRegulationsJson ¶
func (r AlitripFreetourProductUploadAPIRequest) GetRefundRegulationsJson() string
GetRefundRegulationsJson RefundRegulationsJson Getter
func (AlitripFreetourProductUploadAPIRequest) GetRefundType ¶
func (r AlitripFreetourProductUploadAPIRequest) GetRefundType() int64
GetRefundType RefundType Getter
func (AlitripFreetourProductUploadAPIRequest) GetReserveLimit ¶
func (r AlitripFreetourProductUploadAPIRequest) GetReserveLimit() string
GetReserveLimit ReserveLimit Getter
func (AlitripFreetourProductUploadAPIRequest) GetSecondKill ¶
func (r AlitripFreetourProductUploadAPIRequest) GetSecondKill() string
GetSecondKill SecondKill Getter
func (AlitripFreetourProductUploadAPIRequest) GetSellerCids ¶
func (r AlitripFreetourProductUploadAPIRequest) GetSellerCids() []string
GetSellerCids SellerCids Getter
func (AlitripFreetourProductUploadAPIRequest) GetSubStock ¶
func (r AlitripFreetourProductUploadAPIRequest) GetSubStock() int64
GetSubStock SubStock Getter
func (AlitripFreetourProductUploadAPIRequest) GetSubTitles ¶
func (r AlitripFreetourProductUploadAPIRequest) GetSubTitles() []string
GetSubTitles SubTitles Getter
func (AlitripFreetourProductUploadAPIRequest) GetTitle ¶
func (r AlitripFreetourProductUploadAPIRequest) GetTitle() string
GetTitle Title Getter
func (AlitripFreetourProductUploadAPIRequest) GetToLocations ¶
func (r AlitripFreetourProductUploadAPIRequest) GetToLocations() string
GetToLocations ToLocations Getter
func (AlitripFreetourProductUploadAPIRequest) GetTravellerTemplateId ¶
func (r AlitripFreetourProductUploadAPIRequest) GetTravellerTemplateId() int64
GetTravellerTemplateId TravellerTemplateId Getter
func (AlitripFreetourProductUploadAPIRequest) GetTripDay ¶
func (r AlitripFreetourProductUploadAPIRequest) GetTripDay() int64
GetTripDay TripDay Getter
func (AlitripFreetourProductUploadAPIRequest) GetTripNight ¶
func (r AlitripFreetourProductUploadAPIRequest) GetTripNight() int64
GetTripNight TripNight Getter
func (AlitripFreetourProductUploadAPIRequest) GetWapDesc ¶
func (r AlitripFreetourProductUploadAPIRequest) GetWapDesc() string
GetWapDesc WapDesc Getter
func (*AlitripFreetourProductUploadAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripFreetourProductUploadAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripFreetourProductUploadAPIRequest) SetBackTrafficType ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetBackTrafficType(_backTrafficType int64) error
SetBackTrafficType is BackTrafficType Setter 新发布商品时必填。回程交通。1-飞机,2-火车,3-汽,4-船,100-其他
func (*AlitripFreetourProductUploadAPIRequest) SetConfirmTime ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetConfirmTime(_confirmTime int64) error
SetConfirmTime is ConfirmTime Setter 可选,资源确认时长,当confirm_type=2时必填。1:2个工作小时内确认,2:6个工作小时内确认,3:9个工作小时内确认,4:18个工作小时内确认
func (*AlitripFreetourProductUploadAPIRequest) SetConfirmType ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetConfirmType(_confirmType int64) error
SetConfirmType is ConfirmType Setter 可选,资源确认类型。1-即时确认,2-二次确认。不传默认1
func (*AlitripFreetourProductUploadAPIRequest) SetDescHtml ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetDescHtml(_descHtml string) error
SetDescHtml is DescHtml Setter PC端详情描述(新发布商品时,desc_xml和desc_html二者至少填写一个),Html格式。商家自定义Html格式描述。
func (*AlitripFreetourProductUploadAPIRequest) SetDescXml ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetDescXml(_descXml string) error
SetDescXml is DescXml Setter PC端详情描述(新发布商品时,desc_xml和desc_html二者至少填写一个),xml格式:DESC根标签必须有,每一个亮点(HIGHLIGHT)支持1个title子标签,1个txt子标签和多个img子标签。
func (*AlitripFreetourProductUploadAPIRequest) SetFreeTourPackageInfo ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetFreeTourPackageInfo(_freeTourPackageInfo []FreeTourPackageInfo) error
SetFreeTourPackageInfo is FreeTourPackageInfo Setter 套餐信息,数组类型,支持上传多个套餐信息
func (*AlitripFreetourProductUploadAPIRequest) SetFromLocations ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetFromLocations(_fromLocations string) error
SetFromLocations is FromLocations Setter 新发布商品时必填。出发地,多个出发地用英文逗号分隔。使用说明同“目的地”
func (*AlitripFreetourProductUploadAPIRequest) SetGoTrafficType ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetGoTrafficType(_goTrafficType int64) error
SetGoTrafficType is GoTrafficType Setter 新发布商品时必填。去程交通。1-飞机,2-火车,3-汽,4-船,100-其他
func (*AlitripFreetourProductUploadAPIRequest) SetHasDiscount ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetHasDiscount(_hasDiscount bool) error
SetHasDiscount is HasDiscount Setter 是否支持会员打折。可选值:true,false;默认值:false(不打折)。不传的话默认为false
func (*AlitripFreetourProductUploadAPIRequest) SetIsOverseasTour ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetIsOverseasTour(_isOverseasTour int64) error
SetIsOverseasTour is IsOverseasTour Setter 新发布商品时必填。是否出境游,0-不是,1-是。
func (*AlitripFreetourProductUploadAPIRequest) SetItemCustomTag ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetItemCustomTag(_itemCustomTag string) error
SetItemCustomTag is ItemCustomTag Setter 可选,商家自定义标签(最多4个字,超长则自动截断,会进行违禁词校验)
func (*AlitripFreetourProductUploadAPIRequest) SetItemId ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 可选,淘系商品id,用于将out_product_id关联到已经存在的商品,并且修改该商品外部商家编码为out_product_id。
func (*AlitripFreetourProductUploadAPIRequest) SetOutProductId ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商家自定义商品编码。注:商品基本信息维护、价格库存维护,商品查询都以该编码为主键。
func (*AlitripFreetourProductUploadAPIRequest) SetPackageOperation ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetPackageOperation(_packageOperation int64) error
SetPackageOperation is PackageOperation Setter 0:使用上传的套餐信息(free_tour_package_info)覆盖商品上原有的套餐信息(此时free_tour_package_info中设置的packageOperation无效);1:根据套餐信息(free_tour_package_info)中的packageOperation和outProductId增加,修改,删除指定套餐,====默认值为0===
func (*AlitripFreetourProductUploadAPIRequest) SetPicUrls ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetPicUrls(_picUrls []string) error
SetPicUrls is PicUrls Setter 新发布商品时必填。商品图片路径。最多支持5张,第一张为主图,必填,其余四张可选填。图片链接支持外链图片(即商家系统中图片链接,必须外网可访问,且格式为jpg或jpeg,大小在500k以内),或者用户淘宝空间内的图片链接。对于外链图片,将自动下载并上传用户淘宝图片空间,上传失败的外链图片将自动忽略不计。。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripFreetourProductUploadAPIRequest) SetRefundRegulationsJson ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetRefundRegulationsJson(_refundRegulationsJson string) error
SetRefundRegulationsJson is RefundRegulationsJson Setter 特殊可选,退款规则(json数组格式)。自定义退改时需填写(与refund_regulations字段二选一)。示例中一共包含4条规则(3条平日规则,1条节假日规则),按照顺序每条规则含义如下:出行前5日及以上,买家违约收取总费用的50,卖家违约收取总费用的20;出行前4日至1日,买家违约收取总费用的80,卖家违约收取总费用的50;行程开始当天,买家违约收取总费用的100,卖家违约收取总费用的70;如果行程日期包含节假日,则节假日条款为买家违约收取总费用的100,卖家违约收取总费用的90
func (*AlitripFreetourProductUploadAPIRequest) SetRefundType ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetRefundType(_refundType int64) error
SetRefundType is RefundType Setter 可选,退改规则类型。0-平台标准退改规则,1-自定义退改规则,2-不支持退改(已废弃,勿用),7-新版自定义退改规则。不传默认为0
func (*AlitripFreetourProductUploadAPIRequest) SetReserveLimit ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetReserveLimit(_reserveLimit string) error
SetReserveLimit is ReserveLimit Setter 可选,该商品提前预定时间限制。格式:1_18_00,含义:该商品必须提前1天预定,且在18:00之前完成预定
func (*AlitripFreetourProductUploadAPIRequest) SetSecondKill ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetSecondKill(_secondKill string) error
SetSecondKill is SecondKill Setter 商品秒杀,商品秒杀三个值:可选类型web_only(只能通过web网络秒杀),wap_only(只能通过wap网络秒杀),web_and_wap(既能通过web秒杀也能通过wap秒杀)
func (*AlitripFreetourProductUploadAPIRequest) SetSellerCids ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetSellerCids(_sellerCids []string) error
SetSellerCids is SellerCids Setter 关联商品与店铺类目 结构:"cid1,cid2,...,"。如何获取卖家店铺类目具体参见:http://open.taobao.com/doc2/apiDetail.htm?apiId=65
func (*AlitripFreetourProductUploadAPIRequest) SetSubStock ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetSubStock(_subStock int64) error
SetSubStock is SubStock Setter 可选,减库存方式。0-拍下减库存。1-付款减库存。不传默认为0
func (*AlitripFreetourProductUploadAPIRequest) SetSubTitles ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetSubTitles(_subTitles []string) error
SetSubTitles is SubTitles Setter 可选,商品亮点,最多支持4个亮点。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripFreetourProductUploadAPIRequest) SetTitle ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 新发布商品时必填。商品标题,30个中文字符以内
func (*AlitripFreetourProductUploadAPIRequest) SetToLocations ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetToLocations(_toLocations string) error
SetToLocations is ToLocations Setter 新发布商品时必填。目的地,多个目的地用英文逗号分隔。地址可以使用飞猪标准地址名称,也可以使用商家系统中目的地地址(支持商家目的地id和商家目的地名称)。如果需要使用商家目的地地址,必须在目的地关联页(https://sell.alitrip.com/icenter/main.htm#/widgets/api-adaptor?_k=n61ii0)配置映射关系(一次性批量上传建立映射关系,之后度假所有类目、API接口共用该映射关系)。 商家目的地地址使用示例1:东京,大阪。示例2:123,124。说明:商家目的地id(123,124)会根据映射关系自动转换成飞猪标准地址
func (*AlitripFreetourProductUploadAPIRequest) SetTravellerTemplateId ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetTravellerTemplateId(_travellerTemplateId int64) error
SetTravellerTemplateId is TravellerTemplateId Setter 可选,出行人模板id。模板id需要商家以店铺账号身份登录飞猪商家工作台,从卖家工具->出行人管理中获取。注意:如果传0则代表设置为不需要出行人模板或使用飞猪平台默认的类目模板。
func (*AlitripFreetourProductUploadAPIRequest) SetTripDay ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetTripDay(_tripDay int64) error
SetTripDay is TripDay Setter 新发布商品时必填。旅游天数
func (*AlitripFreetourProductUploadAPIRequest) SetTripNight ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetTripNight(_tripNight int64) error
SetTripNight is TripNight Setter 可选,旅游晚数,不传默认旅游天数-1
func (*AlitripFreetourProductUploadAPIRequest) SetWapDesc ¶
func (r *AlitripFreetourProductUploadAPIRequest) SetWapDesc(_wapDesc string) error
SetWapDesc is WapDesc Setter 可选,手机端详情描述,xml格式,格式详见示例。
type AlitripFreetourProductUploadAPIResponse ¶
type AlitripFreetourProductUploadAPIResponse struct { model.CommonResponse AlitripFreetourProductUploadAPIResponseModel }
AlitripFreetourProductUploadAPIResponse 自由行商品发布及编辑接口 API返回值 alitrip.freetour.product.upload
自由行 产品维护接口。 接口同时支持新商品发布 和 现有商品编辑: 1)只上传out_product_id的情况:如果out_product_id已经关联过某个商品id,则认为是编辑现有商品,否则认为是新发布一个商品。 2)同时上传out_product_id和item_id,则认为是将out_product_id与item_id进行关联,同时对该商品进行编辑。
func GetAlitripFreetourProductUploadAPIResponse ¶ added in v1.3.4
func GetAlitripFreetourProductUploadAPIResponse() *AlitripFreetourProductUploadAPIResponse
GetAlitripFreetourProductUploadAPIResponse 从 sync.Pool 获取 AlitripFreetourProductUploadAPIResponse
func (*AlitripFreetourProductUploadAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripFreetourProductUploadAPIResponse) Reset()
Reset 清空结构体
type AlitripFreetourProductUploadAPIResponseModel ¶
type AlitripFreetourProductUploadAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_freetour_product_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // firstResult FirstResult *TopTravelItem `json:"first_result,omitempty" xml:"first_result,omitempty"` }
AlitripFreetourProductUploadAPIResponseModel is 自由行商品发布及编辑接口 成功返回结果
func (*AlitripFreetourProductUploadAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripFreetourProductUploadAPIResponseModel) Reset()
Reset 清空结构体
type AlitripGrouptourProductUploadAPIRequest ¶
type AlitripGrouptourProductUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripGrouptourProductUploadAPIRequest 新版跟团游商品维护接口 API请求 alitrip.grouptour.product.upload
新版跟团游商品维护接口
func GetAlitripGrouptourProductUploadAPIRequest ¶ added in v1.3.4
func GetAlitripGrouptourProductUploadAPIRequest() *AlitripGrouptourProductUploadAPIRequest
GetAlitripGrouptourProductUploadRequest 从 sync.Pool 获取 AlitripGrouptourProductUploadAPIRequest
func NewAlitripGrouptourProductUploadRequest ¶
func NewAlitripGrouptourProductUploadRequest() *AlitripGrouptourProductUploadAPIRequest
NewAlitripGrouptourProductUploadRequest 初始化AlitripGrouptourProductUploadAPIRequest对象
func (AlitripGrouptourProductUploadAPIRequest) GetApiMethodName ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripGrouptourProductUploadAPIRequest) GetApiParams ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripGrouptourProductUploadAPIRequest) GetBackTrafficType ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetBackTrafficType() int64
GetBackTrafficType BackTrafficType Getter
func (AlitripGrouptourProductUploadAPIRequest) GetConfirmTime ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetConfirmTime() int64
GetConfirmTime ConfirmTime Getter
func (AlitripGrouptourProductUploadAPIRequest) GetConfirmType ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetConfirmType() int64
GetConfirmType ConfirmType Getter
func (AlitripGrouptourProductUploadAPIRequest) GetDescHtml ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetDescHtml() string
GetDescHtml DescHtml Getter
func (AlitripGrouptourProductUploadAPIRequest) GetDescXml ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetDescXml() string
GetDescXml DescXml Getter
func (AlitripGrouptourProductUploadAPIRequest) GetFromLocations ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetFromLocations() string
GetFromLocations FromLocations Getter
func (AlitripGrouptourProductUploadAPIRequest) GetGoTrafficType ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetGoTrafficType() int64
GetGoTrafficType GoTrafficType Getter
func (AlitripGrouptourProductUploadAPIRequest) GetGroupTourPackageInfo ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetGroupTourPackageInfo() []GroupTourPackageInfo
GetGroupTourPackageInfo GroupTourPackageInfo Getter
func (AlitripGrouptourProductUploadAPIRequest) GetGroupTourType ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetGroupTourType() int64
GetGroupTourType GroupTourType Getter
func (AlitripGrouptourProductUploadAPIRequest) GetHasDiscount ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetHasDiscount() bool
GetHasDiscount HasDiscount Getter
func (AlitripGrouptourProductUploadAPIRequest) GetIsOverseasTour ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetIsOverseasTour() int64
GetIsOverseasTour IsOverseasTour Getter
func (AlitripGrouptourProductUploadAPIRequest) GetItemCustomTag ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetItemCustomTag() string
GetItemCustomTag ItemCustomTag Getter
func (AlitripGrouptourProductUploadAPIRequest) GetItemId ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripGrouptourProductUploadAPIRequest) GetOutProductId ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (AlitripGrouptourProductUploadAPIRequest) GetPackageOperation ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetPackageOperation() int64
GetPackageOperation PackageOperation Getter
func (AlitripGrouptourProductUploadAPIRequest) GetPicUrls ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetPicUrls() []string
GetPicUrls PicUrls Getter
func (AlitripGrouptourProductUploadAPIRequest) GetPurePlay ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetPurePlay() int64
GetPurePlay PurePlay Getter
func (AlitripGrouptourProductUploadAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripGrouptourProductUploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripGrouptourProductUploadAPIRequest) GetRefundRegulationsJson ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetRefundRegulationsJson() string
GetRefundRegulationsJson RefundRegulationsJson Getter
func (AlitripGrouptourProductUploadAPIRequest) GetRefundType ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetRefundType() int64
GetRefundType RefundType Getter
func (AlitripGrouptourProductUploadAPIRequest) GetReserveLimit ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetReserveLimit() string
GetReserveLimit ReserveLimit Getter
func (AlitripGrouptourProductUploadAPIRequest) GetRouteType ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetRouteType() int64
GetRouteType RouteType Getter
func (AlitripGrouptourProductUploadAPIRequest) GetSecondKill ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetSecondKill() string
GetSecondKill SecondKill Getter
func (AlitripGrouptourProductUploadAPIRequest) GetSellerCids ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetSellerCids() []string
GetSellerCids SellerCids Getter
func (AlitripGrouptourProductUploadAPIRequest) GetSubStock ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetSubStock() int64
GetSubStock SubStock Getter
func (AlitripGrouptourProductUploadAPIRequest) GetSubTitles ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetSubTitles() []string
GetSubTitles SubTitles Getter
func (AlitripGrouptourProductUploadAPIRequest) GetTitle ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetTitle() string
GetTitle Title Getter
func (AlitripGrouptourProductUploadAPIRequest) GetToLocations ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetToLocations() string
GetToLocations ToLocations Getter
func (AlitripGrouptourProductUploadAPIRequest) GetTravellerTemplateId ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetTravellerTemplateId() int64
GetTravellerTemplateId TravellerTemplateId Getter
func (AlitripGrouptourProductUploadAPIRequest) GetTripDay ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetTripDay() int64
GetTripDay TripDay Getter
func (AlitripGrouptourProductUploadAPIRequest) GetTripNight ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetTripNight() int64
GetTripNight TripNight Getter
func (AlitripGrouptourProductUploadAPIRequest) GetWapDesc ¶
func (r AlitripGrouptourProductUploadAPIRequest) GetWapDesc() string
GetWapDesc WapDesc Getter
func (*AlitripGrouptourProductUploadAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripGrouptourProductUploadAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripGrouptourProductUploadAPIRequest) SetBackTrafficType ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetBackTrafficType(_backTrafficType int64) error
SetBackTrafficType is BackTrafficType Setter 新发布商品时必填。回程交通。1-飞机,2-火车,3-汽,4-船,100-其他
func (*AlitripGrouptourProductUploadAPIRequest) SetConfirmTime ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetConfirmTime(_confirmTime int64) error
SetConfirmTime is ConfirmTime Setter 可选,资源确认时长,当confirm_type=2时必填。1:2个工作小时内确认,2:6个工作小时内确认,3:9个工作小时内确认,4:18个工作小时内确认
func (*AlitripGrouptourProductUploadAPIRequest) SetConfirmType ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetConfirmType(_confirmType int64) error
SetConfirmType is ConfirmType Setter 可选,资源确认类型。1-即时确认,2-二次确认。不传默认1
func (*AlitripGrouptourProductUploadAPIRequest) SetDescHtml ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetDescHtml(_descHtml string) error
SetDescHtml is DescHtml Setter PC端详情描述(新发布商品时,desc_xml和desc_html二者至少填写一个),Html格式。商家自定义Html格式描述。
func (*AlitripGrouptourProductUploadAPIRequest) SetDescXml ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetDescXml(_descXml string) error
SetDescXml is DescXml Setter PC端详情描述(新发布商品时,desc_xml和desc_html二者至少填写一个),xml格式:DESC根标签必须有,每一个亮点(HIGHLIGHT)支持1个title子标签,1个txt子标签和多个img子标签。
func (*AlitripGrouptourProductUploadAPIRequest) SetFromLocations ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetFromLocations(_fromLocations string) error
SetFromLocations is FromLocations Setter 新发布商品时必填。出发地,多个出发地用英文逗号分隔。使用说明同“目的地”
func (*AlitripGrouptourProductUploadAPIRequest) SetGoTrafficType ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetGoTrafficType(_goTrafficType int64) error
SetGoTrafficType is GoTrafficType Setter 新发布商品时必填。去程交通。1-飞机,2-火车,3-汽,4-船,100-其他
func (*AlitripGrouptourProductUploadAPIRequest) SetGroupTourPackageInfo ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetGroupTourPackageInfo(_groupTourPackageInfo []GroupTourPackageInfo) error
SetGroupTourPackageInfo is GroupTourPackageInfo Setter 套餐信息,数组类型,支持上传多个套餐信息
func (*AlitripGrouptourProductUploadAPIRequest) SetGroupTourType ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetGroupTourType(_groupTourType int64) error
SetGroupTourType is GroupTourType Setter 必填,线路的“细分类型”属性:1-普通跟团游、2-半自由行、3-私家团;不填默认值设置为"1-普通跟团游"。
func (*AlitripGrouptourProductUploadAPIRequest) SetHasDiscount ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetHasDiscount(_hasDiscount bool) error
SetHasDiscount is HasDiscount Setter 是否支持会员打折。可选值:true,false;默认值:false(不打折)。不传的话默认为false
func (*AlitripGrouptourProductUploadAPIRequest) SetIsOverseasTour ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetIsOverseasTour(_isOverseasTour int64) error
SetIsOverseasTour is IsOverseasTour Setter 新发布商品时必填。是否出境游,0-不是,1-是。
func (*AlitripGrouptourProductUploadAPIRequest) SetItemCustomTag ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetItemCustomTag(_itemCustomTag string) error
SetItemCustomTag is ItemCustomTag Setter 可选,商家自定义标签(最多4个字,超长则自动截断,会进行违禁词校验)
func (*AlitripGrouptourProductUploadAPIRequest) SetItemId ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 可选,淘系商品id,用于将out_product_id关联到已经存在的商品,并且修改该商品外部商家编码为out_product_id。
func (*AlitripGrouptourProductUploadAPIRequest) SetOutProductId ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 必填,商家自定义商品编码。注:商品基本信息维护、价格库存维护,商品查询都以该编码为主键。
func (*AlitripGrouptourProductUploadAPIRequest) SetPackageOperation ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetPackageOperation(_packageOperation int64) error
SetPackageOperation is PackageOperation Setter 0:使用上传的套餐信息(group_tour_package_info)覆盖商品上原有的套餐信息(此时group_tour_package_info中设置的packageOperation无效);1:根据套餐信息(group_tour_package_info)中的packageOperation和outProductId增加,修改,删除指定套餐,====默认值为0===
func (*AlitripGrouptourProductUploadAPIRequest) SetPicUrls ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetPicUrls(_picUrls []string) error
SetPicUrls is PicUrls Setter 新发布商品时必填。商品图片路径。最多支持5张,第一张为主图,必填,其余四张可选填。图片链接支持外链图片(即商家系统中图片链接,必须外网可访问,且格式为jpg或jpeg,大小在500k以内),或者用户淘宝空间内的图片链接。对于外链图片,将自动下载并上传用户淘宝图片空间,上传失败的外链图片将自动忽略不计。。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripGrouptourProductUploadAPIRequest) SetPurePlay ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetPurePlay(_purePlay int64) error
SetPurePlay is PurePlay Setter 是否纯玩团。0-纯玩团,1-含购物团。新发布商品时不传默认为“含购物团”
func (*AlitripGrouptourProductUploadAPIRequest) SetRefundRegulationsJson ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetRefundRegulationsJson(_refundRegulationsJson string) error
SetRefundRegulationsJson is RefundRegulationsJson Setter 特殊可选,退款规则(json数组格式)。自定义退改时需填写(与refund_regulations字段二选一)。示例中一共包含4条规则(3条平日规则,1条节假日规则),按照顺序每条规则含义如下:出行前5日及以上,买家违约收取总费用的50,卖家违约收取总费用的20;出行前4日至1日,买家违约收取总费用的80,卖家违约收取总费用的50;行程开始当天,买家违约收取总费用的100,卖家违约收取总费用的70;如果行程日期包含节假日,则节假日条款为买家违约收取总费用的100,卖家违约收取总费用的90
func (*AlitripGrouptourProductUploadAPIRequest) SetRefundType ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetRefundType(_refundType int64) error
SetRefundType is RefundType Setter 可选,退改规则类型。0-平台标准退改规则,1-自定义退改规则,2-不支持退改(已废弃,勿用),7-新版自定义退改规则。不传默认为0
func (*AlitripGrouptourProductUploadAPIRequest) SetReserveLimit ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetReserveLimit(_reserveLimit string) error
SetReserveLimit is ReserveLimit Setter 可选,该商品提前预定时间限制。格式:1_18_00,含义:该商品必须提前1天预定,且在18:00之前完成预定
func (*AlitripGrouptourProductUploadAPIRequest) SetRouteType ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetRouteType(_routeType int64) error
SetRouteType is RouteType Setter 参团线路类型。0 -目的地参团,1-为出发地参团
func (*AlitripGrouptourProductUploadAPIRequest) SetSecondKill ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetSecondKill(_secondKill string) error
SetSecondKill is SecondKill Setter 商品秒杀,商品秒杀三个值:可选类型web_only(只能通过web网络秒杀),wap_only(只能通过wap网络秒杀),web_and_wap(既能通过web秒杀也能通过wap秒杀)
func (*AlitripGrouptourProductUploadAPIRequest) SetSellerCids ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetSellerCids(_sellerCids []string) error
SetSellerCids is SellerCids Setter 关联商品与店铺类目 结构:"cid1,cid2,...,"。如何获取卖家店铺类目具体参见:http://open.taobao.com/doc2/apiDetail.htm?apiId=65
func (*AlitripGrouptourProductUploadAPIRequest) SetSubStock ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetSubStock(_subStock int64) error
SetSubStock is SubStock Setter 可选,减库存方式。0-拍下减库存。1-付款减库存。不传默认为0
func (*AlitripGrouptourProductUploadAPIRequest) SetSubTitles ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetSubTitles(_subTitles []string) error
SetSubTitles is SubTitles Setter 可选,商品亮点,最多支持4个亮点。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripGrouptourProductUploadAPIRequest) SetTitle ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 新发布商品时必填。商品标题,30个中文字符以内
func (*AlitripGrouptourProductUploadAPIRequest) SetToLocations ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetToLocations(_toLocations string) error
SetToLocations is ToLocations Setter 新发布商品时必填。目的地,多个目的地用英文逗号分隔。地址可以使用飞猪标准地址名称,也可以使用商家系统中目的地地址(支持商家目的地id和商家目的地名称)。如果需要使用商家目的地地址,必须在目的地关联页(https://sell.alitrip.com/icenter/main.htm#/widgets/api-adaptor?_k=n61ii0)配置映射关系(一次性批量上传建立映射关系,之后度假所有类目、API接口共用该映射关系)。 商家目的地地址使用示例1:东京,大阪。示例2:123,124。说明:商家目的地id(123,124)会根据映射关系自动转换成飞猪标准地址
func (*AlitripGrouptourProductUploadAPIRequest) SetTravellerTemplateId ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetTravellerTemplateId(_travellerTemplateId int64) error
SetTravellerTemplateId is TravellerTemplateId Setter 可选,出行人模板id。模板id需要商家以店铺账号身份登录飞猪商家工作台,从卖家工具->出行人管理中获取。注意:如果传0则代表设置为不需要出行人模板或使用飞猪平台默认的类目模板。
func (*AlitripGrouptourProductUploadAPIRequest) SetTripDay ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetTripDay(_tripDay int64) error
SetTripDay is TripDay Setter 新发布商品时必填。旅游天数。已废弃,以套餐维度行程天数为准。
func (*AlitripGrouptourProductUploadAPIRequest) SetTripNight ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetTripNight(_tripNight int64) error
SetTripNight is TripNight Setter 可选,旅游晚数,不传默认旅游天数-1。已废弃,以套餐维度行程晚数为准。
func (*AlitripGrouptourProductUploadAPIRequest) SetWapDesc ¶
func (r *AlitripGrouptourProductUploadAPIRequest) SetWapDesc(_wapDesc string) error
SetWapDesc is WapDesc Setter 可选,手机端详情描述,xml格式,格式详见示例。
type AlitripGrouptourProductUploadAPIResponse ¶
type AlitripGrouptourProductUploadAPIResponse struct { model.CommonResponse AlitripGrouptourProductUploadAPIResponseModel }
AlitripGrouptourProductUploadAPIResponse 新版跟团游商品维护接口 API返回值 alitrip.grouptour.product.upload
新版跟团游商品维护接口
func GetAlitripGrouptourProductUploadAPIResponse ¶ added in v1.3.4
func GetAlitripGrouptourProductUploadAPIResponse() *AlitripGrouptourProductUploadAPIResponse
GetAlitripGrouptourProductUploadAPIResponse 从 sync.Pool 获取 AlitripGrouptourProductUploadAPIResponse
func (*AlitripGrouptourProductUploadAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripGrouptourProductUploadAPIResponse) Reset()
Reset 清空结构体
type AlitripGrouptourProductUploadAPIResponseModel ¶
type AlitripGrouptourProductUploadAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_grouptour_product_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // firstResult FirstResult *TopTravelItem `json:"first_result,omitempty" xml:"first_result,omitempty"` }
AlitripGrouptourProductUploadAPIResponseModel is 新版跟团游商品维护接口 成功返回结果
func (*AlitripGrouptourProductUploadAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripGrouptourProductUploadAPIResponseModel) Reset()
Reset 清空结构体
type AlitripGrouptoursProductUploadAPIRequest ¶
type AlitripGrouptoursProductUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripGrouptoursProductUploadAPIRequest 跟团游 产品维护接口 API请求 alitrip.grouptours.product.upload
跟团游 产品维护接口。 接口同时支持新商品发布 和 现有商品编辑: 1)只上传out_product_id的情况:如果out_product_id已经关联过某个商品id,则认为是编辑现有商品,否则认为是新发布一个商品。 2)同时上传out_product_id和item_id,则认为是将out_product_id与item_id进行关联,同时对该商品进行编辑。
func GetAlitripGrouptoursProductUploadAPIRequest ¶ added in v1.3.4
func GetAlitripGrouptoursProductUploadAPIRequest() *AlitripGrouptoursProductUploadAPIRequest
GetAlitripGrouptoursProductUploadRequest 从 sync.Pool 获取 AlitripGrouptoursProductUploadAPIRequest
func NewAlitripGrouptoursProductUploadRequest ¶
func NewAlitripGrouptoursProductUploadRequest() *AlitripGrouptoursProductUploadAPIRequest
NewAlitripGrouptoursProductUploadRequest 初始化AlitripGrouptoursProductUploadAPIRequest对象
func (AlitripGrouptoursProductUploadAPIRequest) GetApiMethodName ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripGrouptoursProductUploadAPIRequest) GetApiParams ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripGrouptoursProductUploadAPIRequest) GetBackTrafficType ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetBackTrafficType() int64
GetBackTrafficType BackTrafficType Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetConfirmTime ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetConfirmTime() int64
GetConfirmTime ConfirmTime Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetConfirmType ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetConfirmType() int64
GetConfirmType ConfirmType Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetDescHtml ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetDescHtml() string
GetDescHtml DescHtml Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetDescXml ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetDescXml() string
GetDescXml DescXml Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetElectronContract ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetElectronContract() *ElectronContract
GetElectronContract ElectronContract Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetFeeExclude ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetFeeExclude() []string
GetFeeExclude FeeExclude Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetFeeInclude ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetFeeInclude() []string
GetFeeInclude FeeInclude Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetFromLocations ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetFromLocations() string
GetFromLocations FromLocations Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetGatherPlaces ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetGatherPlaces() []GatherPlaceInfo
GetGatherPlaces GatherPlaces Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetGoTrafficType ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetGoTrafficType() int64
GetGoTrafficType GoTrafficType Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetIsOverseasTour ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetIsOverseasTour() int64
GetIsOverseasTour IsOverseasTour Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetItemCustomTag ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetItemCustomTag() string
GetItemCustomTag ItemCustomTag Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetItemId ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetItineraries ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetItineraries() []string
GetItineraries Itineraries Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetOrderInfo ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetOrderInfo() []string
GetOrderInfo OrderInfo Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetOutProductId ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetPicUrls ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetPicUrls() []string
GetPicUrls PicUrls Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetPurePlay ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetPurePlay() int64
GetPurePlay PurePlay Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripGrouptoursProductUploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripGrouptoursProductUploadAPIRequest) GetRefundRegulations ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetRefundRegulations() []string
GetRefundRegulations RefundRegulations Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetRefundType ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetRefundType() int64
GetRefundType RefundType Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetReserveLimit ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetReserveLimit() string
GetReserveLimit ReserveLimit Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetRouteType ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetRouteType() int64
GetRouteType RouteType Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetStructItineraries ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetStructItineraries() []StructItinerary
GetStructItineraries StructItineraries Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetSubStock ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetSubStock() int64
GetSubStock SubStock Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetSubTitles ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetSubTitles() []string
GetSubTitles SubTitles Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetTitle ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetTitle() string
GetTitle Title Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetToLocations ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetToLocations() string
GetToLocations ToLocations Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetTravellerTemplateId ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetTravellerTemplateId() int64
GetTravellerTemplateId TravellerTemplateId Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetTripDay ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetTripDay() int64
GetTripDay TripDay Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetTripNight ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetTripNight() int64
GetTripNight TripNight Getter
func (AlitripGrouptoursProductUploadAPIRequest) GetWapDesc ¶
func (r AlitripGrouptoursProductUploadAPIRequest) GetWapDesc() string
GetWapDesc WapDesc Getter
func (*AlitripGrouptoursProductUploadAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripGrouptoursProductUploadAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripGrouptoursProductUploadAPIRequest) SetBackTrafficType ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetBackTrafficType(_backTrafficType int64) error
SetBackTrafficType is BackTrafficType Setter 新发布商品时必填。回程交通。1-飞机,2-火车,3-汽,4-船
func (*AlitripGrouptoursProductUploadAPIRequest) SetConfirmTime ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetConfirmTime(_confirmTime int64) error
SetConfirmTime is ConfirmTime Setter 可选,资源确认时长,当confirm_type=2时必填。1:2个工作小时内确认,2:6个工作小时内确认,3:9个工作小时内确认,4:18个工作小时内确认
func (*AlitripGrouptoursProductUploadAPIRequest) SetConfirmType ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetConfirmType(_confirmType int64) error
SetConfirmType is ConfirmType Setter 可选,资源确认类型。1-即时确认,2-二次确认。不传默认1
func (*AlitripGrouptoursProductUploadAPIRequest) SetDescHtml ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetDescHtml(_descHtml string) error
SetDescHtml is DescHtml Setter PC端详情描述(新发布商品时,desc_xml和desc_html二者至少填写一个),Html格式。商家自定义Html格式描述。
func (*AlitripGrouptoursProductUploadAPIRequest) SetDescXml ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetDescXml(_descXml string) error
SetDescXml is DescXml Setter PC端详情描述(新发布商品时,desc_xml和desc_html二者至少填写一个),xml格式:DESC根标签必须有,每一个亮点(HIGHLIGHT)支持1个title子标签,1个txt子标签和多个img子标签。
func (*AlitripGrouptoursProductUploadAPIRequest) SetElectronContract ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetElectronContract(_electronContract *ElectronContract) error
SetElectronContract is ElectronContract Setter 可选,电子合同信息设置。
func (*AlitripGrouptoursProductUploadAPIRequest) SetFeeExclude ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetFeeExclude(_feeExclude []string) error
SetFeeExclude is FeeExclude Setter 新发布商品时必填。费用不含。列表中每一个元素 对应一点描述,所有描述合起来必须小于1500个中文字符。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripGrouptoursProductUploadAPIRequest) SetFeeInclude ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetFeeInclude(_feeInclude []string) error
SetFeeInclude is FeeInclude Setter 新发布商品时必填。费用包含。列表中每一个元素 对应一点描述,所有描述合起来必须小于1500个中文字符。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripGrouptoursProductUploadAPIRequest) SetFromLocations ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetFromLocations(_fromLocations string) error
SetFromLocations is FromLocations Setter 新发布商品时必填。出发地,多个出发地用英文逗号分隔。使用说明同“目的地”
func (*AlitripGrouptoursProductUploadAPIRequest) SetGatherPlaces ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetGatherPlaces(_gatherPlaces []GatherPlaceInfo) error
SetGatherPlaces is GatherPlaces Setter 可选,跟团时的集合地点,列表中每一个元素对应一个集合地点
func (*AlitripGrouptoursProductUploadAPIRequest) SetGoTrafficType ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetGoTrafficType(_goTrafficType int64) error
SetGoTrafficType is GoTrafficType Setter 新发布商品时必填。去程交通。1-飞机,2-火车,3-汽,4-船
func (*AlitripGrouptoursProductUploadAPIRequest) SetIsOverseasTour ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetIsOverseasTour(_isOverseasTour int64) error
SetIsOverseasTour is IsOverseasTour Setter 新发布商品时必填。是否出境游,0-不是,1-是。
func (*AlitripGrouptoursProductUploadAPIRequest) SetItemCustomTag ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetItemCustomTag(_itemCustomTag string) error
SetItemCustomTag is ItemCustomTag Setter 可选,商家自定义标签(最多4个字,超长则自动截断,会进行违禁词校验)
func (*AlitripGrouptoursProductUploadAPIRequest) SetItemId ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 可选,淘系商品id,用于将out_product_id关联到已经存在的商品,并且修改该商品外部商家编码为out_product_id。
func (*AlitripGrouptoursProductUploadAPIRequest) SetItineraries ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetItineraries(_itineraries []string) error
SetItineraries is Itineraries Setter 可选,(struct_itineraries与itineraries二者选填一个即可,如果两个都上传则以struct_itineraries为准)。itineraries数组的元素个数必须与旅游天数trip_day一致。行程描述,每一天行程都是xml格式(数组的每个元素对应每一天的行程): ITINERARY根标签必须有,每个活动(ACTIVITY)支持1个title子标签,1个txt子标签和多个img子标签。注:在SDK中多个元素间以英文逗号分隔
func (*AlitripGrouptoursProductUploadAPIRequest) SetOrderInfo ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetOrderInfo(_orderInfo []string) error
SetOrderInfo is OrderInfo Setter 新发布商品时必填。预定须知。列表中每一个元素 对应一点描述,所有描述合起来必须小于1500个中文字符。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripGrouptoursProductUploadAPIRequest) SetOutProductId ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商家自定义商品编码。注:商品基本信息维护、价格库存维护,商品查询都以该编码为主键。
func (*AlitripGrouptoursProductUploadAPIRequest) SetPicUrls ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetPicUrls(_picUrls []string) error
SetPicUrls is PicUrls Setter 新发布商品时必填。商品图片路径。最多支持5张,第一张为主图,必填,其余四张可选填。图片链接支持外链图片(即商家系统中图片链接,必须外网可访问,且格式为jpg或jpeg,大小在500k以内),或者用户淘宝空间内的图片链接。对于外链图片,将自动下载并上传用户淘宝图片空间,上传失败的外链图片将自动忽略不计。。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripGrouptoursProductUploadAPIRequest) SetPurePlay ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetPurePlay(_purePlay int64) error
SetPurePlay is PurePlay Setter 可选,是否纯玩团。0-纯玩团,1-含购物团。新发布商品时不传默认为“含购物团”
func (*AlitripGrouptoursProductUploadAPIRequest) SetRefundRegulations ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetRefundRegulations(_refundRegulations []string) error
SetRefundRegulations is RefundRegulations Setter 特殊可选,当refund_type=1或7时,需要上传自定义退改内容。自定义退改规则,最多可含5组规则,每组规则间以英文逗号分隔。 1)当refund_type为1时格式为:a_b_num,b-1_c_num。含义:提前a天至提前b天发起退款,买家需支付num比例违约费。 2)当refund_type为7时格式为:a_b_num1_num2_0,b-1_c_num1_num2_0。含义:提前a天至提前b天发起退款,买家需支付num1比例违约费,卖家需支付num2比例违约费,最后一个数字代表是否节假日规则(0-不是,1-是)。特别注意,当refund_type为7时,自定义退改规则必须设置 n天以上违约规则 以及 行程当日违约规则,即第一组规则需要以-1_a_num1_num2_0或-1_a_num1_num2_1开头,且最后一组规则需要以0_0_num1_num2_0或0_0_num1_num2_1结尾。
func (*AlitripGrouptoursProductUploadAPIRequest) SetRefundType ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetRefundType(_refundType int64) error
SetRefundType is RefundType Setter 可选,退改规则类型。0-平台标准退改规则,1-自定义退改规则,2-不支持退改(已废弃,勿用),7-新版自定义退改规则。不传默认为0
func (*AlitripGrouptoursProductUploadAPIRequest) SetReserveLimit ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetReserveLimit(_reserveLimit string) error
SetReserveLimit is ReserveLimit Setter 可选,该商品提前预定时间限制。格式:1_18_00,含义:该商品必须提前1天预定,且在18:00之前完成预定
func (*AlitripGrouptoursProductUploadAPIRequest) SetRouteType ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetRouteType(_routeType int64) error
SetRouteType is RouteType Setter 新发布商品时必填。参团线路类型。0 -目的地参团,1-为出发地参团
func (*AlitripGrouptoursProductUploadAPIRequest) SetStructItineraries ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetStructItineraries(_structItineraries []StructItinerary) error
SetStructItineraries is StructItineraries Setter 行程描述(struct_itineraries与itineraries二者选填一个即可,如果两个都上传则以struct_itineraries为准)。列表中每一个元素对应一天的行程,每天行程由多个活动组成。行程描述是可选项,如果上传了行程内容 则行程序号和行程活动信息必填。
func (*AlitripGrouptoursProductUploadAPIRequest) SetSubStock ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetSubStock(_subStock int64) error
SetSubStock is SubStock Setter 可选,减库存方式。0-拍下减库存。1-付款减库存。不传默认为0
func (*AlitripGrouptoursProductUploadAPIRequest) SetSubTitles ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetSubTitles(_subTitles []string) error
SetSubTitles is SubTitles Setter 可选,商品亮点,最多支持4个亮点。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripGrouptoursProductUploadAPIRequest) SetTitle ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 新发布商品时必填。商品标题,30个中文字符以内
func (*AlitripGrouptoursProductUploadAPIRequest) SetToLocations ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetToLocations(_toLocations string) error
SetToLocations is ToLocations Setter 新发布商品时必填。目的地,多个目的地用英文逗号分隔。地址可以使用飞猪标准地址名称,也可以使用商家系统中目的地地址(支持商家目的地id和商家目的地名称)。如果需要使用商家目的地地址,必须在目的地关联页(https://sell.alitrip.com/icenter/main.htm#/widgets/api-adaptor?_k=n61ii0)配置映射关系(一次性批量上传建立映射关系,之后度假所有类目、API接口共用该映射关系)。 商家目的地地址使用示例1:东京,大阪。示例2:123,124。说明:商家目的地id(123,124)会根据映射关系自动转换成飞猪标准地址
func (*AlitripGrouptoursProductUploadAPIRequest) SetTravellerTemplateId ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetTravellerTemplateId(_travellerTemplateId int64) error
SetTravellerTemplateId is TravellerTemplateId Setter 可选,出行人模板id,预留,暂不支持
func (*AlitripGrouptoursProductUploadAPIRequest) SetTripDay ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetTripDay(_tripDay int64) error
SetTripDay is TripDay Setter 新发布商品时必填。旅游天数
func (*AlitripGrouptoursProductUploadAPIRequest) SetTripNight ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetTripNight(_tripNight int64) error
SetTripNight is TripNight Setter 可选,旅游晚数,不传默认旅游天数-1
func (*AlitripGrouptoursProductUploadAPIRequest) SetWapDesc ¶
func (r *AlitripGrouptoursProductUploadAPIRequest) SetWapDesc(_wapDesc string) error
SetWapDesc is WapDesc Setter 可选,手机端详情描述,xml格式,格式详见示例。
type AlitripGrouptoursProductUploadAPIResponse ¶
type AlitripGrouptoursProductUploadAPIResponse struct { model.CommonResponse AlitripGrouptoursProductUploadAPIResponseModel }
AlitripGrouptoursProductUploadAPIResponse 跟团游 产品维护接口 API返回值 alitrip.grouptours.product.upload
跟团游 产品维护接口。 接口同时支持新商品发布 和 现有商品编辑: 1)只上传out_product_id的情况:如果out_product_id已经关联过某个商品id,则认为是编辑现有商品,否则认为是新发布一个商品。 2)同时上传out_product_id和item_id,则认为是将out_product_id与item_id进行关联,同时对该商品进行编辑。
func GetAlitripGrouptoursProductUploadAPIResponse ¶ added in v1.3.4
func GetAlitripGrouptoursProductUploadAPIResponse() *AlitripGrouptoursProductUploadAPIResponse
GetAlitripGrouptoursProductUploadAPIResponse 从 sync.Pool 获取 AlitripGrouptoursProductUploadAPIResponse
func (*AlitripGrouptoursProductUploadAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripGrouptoursProductUploadAPIResponse) Reset()
Reset 清空结构体
type AlitripGrouptoursProductUploadAPIResponseModel ¶
type AlitripGrouptoursProductUploadAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_grouptours_product_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // firstResult FirstResult *TopTravelItem `json:"first_result,omitempty" xml:"first_result,omitempty"` }
AlitripGrouptoursProductUploadAPIResponseModel is 跟团游 产品维护接口 成功返回结果
func (*AlitripGrouptoursProductUploadAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripGrouptoursProductUploadAPIResponseModel) Reset()
Reset 清空结构体
type AlitripItemAddSchemaGetAPIRequest ¶
type AlitripItemAddSchemaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripItemAddSchemaGetAPIRequest 获取商品发布模板 API请求 alitrip.item.add.schema.get
发布飞猪度假商品时,需要先调用此接口获取商品发布的模板schema。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
func GetAlitripItemAddSchemaGetAPIRequest ¶ added in v1.3.4
func GetAlitripItemAddSchemaGetAPIRequest() *AlitripItemAddSchemaGetAPIRequest
GetAlitripItemAddSchemaGetRequest 从 sync.Pool 获取 AlitripItemAddSchemaGetAPIRequest
func NewAlitripItemAddSchemaGetRequest ¶
func NewAlitripItemAddSchemaGetRequest() *AlitripItemAddSchemaGetAPIRequest
NewAlitripItemAddSchemaGetRequest 初始化AlitripItemAddSchemaGetAPIRequest对象
func (AlitripItemAddSchemaGetAPIRequest) GetApiMethodName ¶
func (r AlitripItemAddSchemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripItemAddSchemaGetAPIRequest) GetApiParams ¶
func (r AlitripItemAddSchemaGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripItemAddSchemaGetAPIRequest) GetCatId ¶
func (r AlitripItemAddSchemaGetAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (AlitripItemAddSchemaGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripItemAddSchemaGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripItemAddSchemaGetAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripItemAddSchemaGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripItemAddSchemaGetAPIRequest) SetCatId ¶
func (r *AlitripItemAddSchemaGetAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 类目id
type AlitripItemAddSchemaGetAPIResponse ¶
type AlitripItemAddSchemaGetAPIResponse struct { model.CommonResponse AlitripItemAddSchemaGetAPIResponseModel }
AlitripItemAddSchemaGetAPIResponse 获取商品发布模板 API返回值 alitrip.item.add.schema.get
发布飞猪度假商品时,需要先调用此接口获取商品发布的模板schema。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
func GetAlitripItemAddSchemaGetAPIResponse ¶ added in v1.3.4
func GetAlitripItemAddSchemaGetAPIResponse() *AlitripItemAddSchemaGetAPIResponse
GetAlitripItemAddSchemaGetAPIResponse 从 sync.Pool 获取 AlitripItemAddSchemaGetAPIResponse
func (*AlitripItemAddSchemaGetAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripItemAddSchemaGetAPIResponse) Reset()
Reset 清空结构体
type AlitripItemAddSchemaGetAPIResponseModel ¶
type AlitripItemAddSchemaGetAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_item_add_schema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // schema模板数据 SchemaXmlFields string `json:"schema_xml_fields,omitempty" xml:"schema_xml_fields,omitempty"` }
AlitripItemAddSchemaGetAPIResponseModel is 获取商品发布模板 成功返回结果
func (*AlitripItemAddSchemaGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripItemAddSchemaGetAPIResponseModel) Reset()
Reset 清空结构体
type AlitripItemSchemaAddAPIRequest ¶
type AlitripItemSchemaAddAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripItemSchemaAddAPIRequest 使用schema模板进行商品发布 API请求 alitrip.item.schema.add
飞猪度假商品使用schema模板进行商品发布。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
func GetAlitripItemSchemaAddAPIRequest ¶ added in v1.3.4
func GetAlitripItemSchemaAddAPIRequest() *AlitripItemSchemaAddAPIRequest
GetAlitripItemSchemaAddRequest 从 sync.Pool 获取 AlitripItemSchemaAddAPIRequest
func NewAlitripItemSchemaAddRequest ¶
func NewAlitripItemSchemaAddRequest() *AlitripItemSchemaAddAPIRequest
NewAlitripItemSchemaAddRequest 初始化AlitripItemSchemaAddAPIRequest对象
func (AlitripItemSchemaAddAPIRequest) GetApiMethodName ¶
func (r AlitripItemSchemaAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripItemSchemaAddAPIRequest) GetApiParams ¶
func (r AlitripItemSchemaAddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripItemSchemaAddAPIRequest) GetCatId ¶
func (r AlitripItemSchemaAddAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (AlitripItemSchemaAddAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripItemSchemaAddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripItemSchemaAddAPIRequest) GetSchemaXmlFields ¶
func (r AlitripItemSchemaAddAPIRequest) GetSchemaXmlFields() string
GetSchemaXmlFields SchemaXmlFields Getter
func (*AlitripItemSchemaAddAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripItemSchemaAddAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripItemSchemaAddAPIRequest) SetCatId ¶
func (r *AlitripItemSchemaAddAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 类目id
func (*AlitripItemSchemaAddAPIRequest) SetSchemaXmlFields ¶
func (r *AlitripItemSchemaAddAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
SetSchemaXmlFields is SchemaXmlFields Setter 商品数据
type AlitripItemSchemaAddAPIResponse ¶
type AlitripItemSchemaAddAPIResponse struct { model.CommonResponse AlitripItemSchemaAddAPIResponseModel }
AlitripItemSchemaAddAPIResponse 使用schema模板进行商品发布 API返回值 alitrip.item.schema.add
飞猪度假商品使用schema模板进行商品发布。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
func GetAlitripItemSchemaAddAPIResponse ¶ added in v1.3.4
func GetAlitripItemSchemaAddAPIResponse() *AlitripItemSchemaAddAPIResponse
GetAlitripItemSchemaAddAPIResponse 从 sync.Pool 获取 AlitripItemSchemaAddAPIResponse
func (*AlitripItemSchemaAddAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripItemSchemaAddAPIResponse) Reset()
Reset 清空结构体
type AlitripItemSchemaAddAPIResponseModel ¶
type AlitripItemSchemaAddAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_item_schema_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Result *TopTravelItem `json:"result,omitempty" xml:"result,omitempty"` }
AlitripItemSchemaAddAPIResponseModel is 使用schema模板进行商品发布 成功返回结果
func (*AlitripItemSchemaAddAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripItemSchemaAddAPIResponseModel) Reset()
Reset 清空结构体
type AlitripItemSchemaUpdateAPIRequest ¶
type AlitripItemSchemaUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripItemSchemaUpdateAPIRequest 使用schema进行商品编辑 API请求 alitrip.item.schema.update
飞猪度假商品使用schema进行商品编辑。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
func GetAlitripItemSchemaUpdateAPIRequest ¶ added in v1.3.4
func GetAlitripItemSchemaUpdateAPIRequest() *AlitripItemSchemaUpdateAPIRequest
GetAlitripItemSchemaUpdateRequest 从 sync.Pool 获取 AlitripItemSchemaUpdateAPIRequest
func NewAlitripItemSchemaUpdateRequest ¶
func NewAlitripItemSchemaUpdateRequest() *AlitripItemSchemaUpdateAPIRequest
NewAlitripItemSchemaUpdateRequest 初始化AlitripItemSchemaUpdateAPIRequest对象
func (AlitripItemSchemaUpdateAPIRequest) GetApiMethodName ¶
func (r AlitripItemSchemaUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripItemSchemaUpdateAPIRequest) GetApiParams ¶
func (r AlitripItemSchemaUpdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripItemSchemaUpdateAPIRequest) GetItemId ¶
func (r AlitripItemSchemaUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripItemSchemaUpdateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripItemSchemaUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripItemSchemaUpdateAPIRequest) GetSchemaXmlFields ¶
func (r AlitripItemSchemaUpdateAPIRequest) GetSchemaXmlFields() string
GetSchemaXmlFields SchemaXmlFields Getter
func (*AlitripItemSchemaUpdateAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripItemSchemaUpdateAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripItemSchemaUpdateAPIRequest) SetItemId ¶
func (r *AlitripItemSchemaUpdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
func (*AlitripItemSchemaUpdateAPIRequest) SetSchemaXmlFields ¶
func (r *AlitripItemSchemaUpdateAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
SetSchemaXmlFields is SchemaXmlFields Setter 商品数据
type AlitripItemSchemaUpdateAPIResponse ¶
type AlitripItemSchemaUpdateAPIResponse struct { model.CommonResponse AlitripItemSchemaUpdateAPIResponseModel }
AlitripItemSchemaUpdateAPIResponse 使用schema进行商品编辑 API返回值 alitrip.item.schema.update
飞猪度假商品使用schema进行商品编辑。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
func GetAlitripItemSchemaUpdateAPIResponse ¶ added in v1.3.4
func GetAlitripItemSchemaUpdateAPIResponse() *AlitripItemSchemaUpdateAPIResponse
GetAlitripItemSchemaUpdateAPIResponse 从 sync.Pool 获取 AlitripItemSchemaUpdateAPIResponse
func (*AlitripItemSchemaUpdateAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripItemSchemaUpdateAPIResponse) Reset()
Reset 清空结构体
type AlitripItemSchemaUpdateAPIResponseModel ¶
type AlitripItemSchemaUpdateAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_item_schema_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Result *TopTravelItem `json:"result,omitempty" xml:"result,omitempty"` }
AlitripItemSchemaUpdateAPIResponseModel is 使用schema进行商品编辑 成功返回结果
func (*AlitripItemSchemaUpdateAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripItemSchemaUpdateAPIResponseModel) Reset()
Reset 清空结构体
type AlitripItemUpdateSchemaGetAPIRequest ¶
type AlitripItemUpdateSchemaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripItemUpdateSchemaGetAPIRequest 获取编辑商品的schema模板 API请求 alitrip.item.update.schema.get
获取编辑商品的schema模板。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
func GetAlitripItemUpdateSchemaGetAPIRequest ¶ added in v1.3.4
func GetAlitripItemUpdateSchemaGetAPIRequest() *AlitripItemUpdateSchemaGetAPIRequest
GetAlitripItemUpdateSchemaGetRequest 从 sync.Pool 获取 AlitripItemUpdateSchemaGetAPIRequest
func NewAlitripItemUpdateSchemaGetRequest ¶
func NewAlitripItemUpdateSchemaGetRequest() *AlitripItemUpdateSchemaGetAPIRequest
NewAlitripItemUpdateSchemaGetRequest 初始化AlitripItemUpdateSchemaGetAPIRequest对象
func (AlitripItemUpdateSchemaGetAPIRequest) GetApiMethodName ¶
func (r AlitripItemUpdateSchemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripItemUpdateSchemaGetAPIRequest) GetApiParams ¶
func (r AlitripItemUpdateSchemaGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripItemUpdateSchemaGetAPIRequest) GetItemId ¶
func (r AlitripItemUpdateSchemaGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripItemUpdateSchemaGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripItemUpdateSchemaGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripItemUpdateSchemaGetAPIRequest) GetUpdateFieldIds ¶
func (r AlitripItemUpdateSchemaGetAPIRequest) GetUpdateFieldIds() []string
GetUpdateFieldIds UpdateFieldIds Getter
func (*AlitripItemUpdateSchemaGetAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripItemUpdateSchemaGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripItemUpdateSchemaGetAPIRequest) SetItemId ¶
func (r *AlitripItemUpdateSchemaGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
func (*AlitripItemUpdateSchemaGetAPIRequest) SetUpdateFieldIds ¶
func (r *AlitripItemUpdateSchemaGetAPIRequest) SetUpdateFieldIds(_updateFieldIds []string) error
SetUpdateFieldIds is UpdateFieldIds Setter 需要获取的编辑schema,不填默认返回全部
type AlitripItemUpdateSchemaGetAPIResponse ¶
type AlitripItemUpdateSchemaGetAPIResponse struct { model.CommonResponse AlitripItemUpdateSchemaGetAPIResponseModel }
AlitripItemUpdateSchemaGetAPIResponse 获取编辑商品的schema模板 API返回值 alitrip.item.update.schema.get
获取编辑商品的schema模板。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
func GetAlitripItemUpdateSchemaGetAPIResponse ¶ added in v1.3.4
func GetAlitripItemUpdateSchemaGetAPIResponse() *AlitripItemUpdateSchemaGetAPIResponse
GetAlitripItemUpdateSchemaGetAPIResponse 从 sync.Pool 获取 AlitripItemUpdateSchemaGetAPIResponse
func (*AlitripItemUpdateSchemaGetAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripItemUpdateSchemaGetAPIResponse) Reset()
Reset 清空结构体
type AlitripItemUpdateSchemaGetAPIResponseModel ¶
type AlitripItemUpdateSchemaGetAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_item_update_schema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // schema数据 SchemaXmlFields string `json:"schema_xml_fields,omitempty" xml:"schema_xml_fields,omitempty"` }
AlitripItemUpdateSchemaGetAPIResponseModel is 获取编辑商品的schema模板 成功返回结果
func (*AlitripItemUpdateSchemaGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripItemUpdateSchemaGetAPIResponseModel) Reset()
Reset 清空结构体
type AlitripLocalplayProductUploadAPIRequest ¶
type AlitripLocalplayProductUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripLocalplayProductUploadAPIRequest 当地玩乐 产品维护接口 API请求 alitrip.localplay.product.upload
当地玩乐(境内当地玩乐/境外玩乐套餐) 产品维护接口。 接口同时支持新商品发布 和 现有商品编辑: 1)只上传out_product_id的情况:如果out_product_id已经关联过某个商品id,则认为是编辑现有商品,否则认为是新发布一个商品。 2)同时上传out_product_id和item_id,则认为是将out_product_id与item_id进行关联,同时对该商品进行编辑。
func GetAlitripLocalplayProductUploadAPIRequest ¶ added in v1.3.4
func GetAlitripLocalplayProductUploadAPIRequest() *AlitripLocalplayProductUploadAPIRequest
GetAlitripLocalplayProductUploadRequest 从 sync.Pool 获取 AlitripLocalplayProductUploadAPIRequest
func NewAlitripLocalplayProductUploadRequest ¶
func NewAlitripLocalplayProductUploadRequest() *AlitripLocalplayProductUploadAPIRequest
NewAlitripLocalplayProductUploadRequest 初始化AlitripLocalplayProductUploadAPIRequest对象
func (AlitripLocalplayProductUploadAPIRequest) GetApiMethodName ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripLocalplayProductUploadAPIRequest) GetApiParams ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripLocalplayProductUploadAPIRequest) GetConfirmTime ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetConfirmTime() int64
GetConfirmTime ConfirmTime Getter
func (AlitripLocalplayProductUploadAPIRequest) GetConfirmType ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetConfirmType() int64
GetConfirmType ConfirmType Getter
func (AlitripLocalplayProductUploadAPIRequest) GetDescHtml ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetDescHtml() string
GetDescHtml DescHtml Getter
func (AlitripLocalplayProductUploadAPIRequest) GetDescXml ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetDescXml() string
GetDescXml DescXml Getter
func (AlitripLocalplayProductUploadAPIRequest) GetFeeExclude ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetFeeExclude() []string
GetFeeExclude FeeExclude Getter
func (AlitripLocalplayProductUploadAPIRequest) GetFromLocations ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetFromLocations() string
GetFromLocations FromLocations Getter
func (AlitripLocalplayProductUploadAPIRequest) GetHasDiscount ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetHasDiscount() bool
GetHasDiscount HasDiscount Getter
func (AlitripLocalplayProductUploadAPIRequest) GetIsOverseasTour ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetIsOverseasTour() int64
GetIsOverseasTour IsOverseasTour Getter
func (AlitripLocalplayProductUploadAPIRequest) GetItemCustomTag ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetItemCustomTag() string
GetItemCustomTag ItemCustomTag Getter
func (AlitripLocalplayProductUploadAPIRequest) GetItemId ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripLocalplayProductUploadAPIRequest) GetOrderInfo ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetOrderInfo() []string
GetOrderInfo OrderInfo Getter
func (AlitripLocalplayProductUploadAPIRequest) GetOutProductId ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (AlitripLocalplayProductUploadAPIRequest) GetPicUrls ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetPicUrls() []string
GetPicUrls PicUrls Getter
func (AlitripLocalplayProductUploadAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripLocalplayProductUploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripLocalplayProductUploadAPIRequest) GetRefundRegulationsJson ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetRefundRegulationsJson() string
GetRefundRegulationsJson RefundRegulationsJson Getter
func (AlitripLocalplayProductUploadAPIRequest) GetRefundType ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetRefundType() int64
GetRefundType RefundType Getter
func (AlitripLocalplayProductUploadAPIRequest) GetReserveLimit ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetReserveLimit() string
GetReserveLimit ReserveLimit Getter
func (AlitripLocalplayProductUploadAPIRequest) GetSecondKill ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetSecondKill() string
GetSecondKill SecondKill Getter
func (AlitripLocalplayProductUploadAPIRequest) GetSellerCids ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetSellerCids() []string
GetSellerCids SellerCids Getter
func (AlitripLocalplayProductUploadAPIRequest) GetSubStock ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetSubStock() int64
GetSubStock SubStock Getter
func (AlitripLocalplayProductUploadAPIRequest) GetSubTitles ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetSubTitles() []string
GetSubTitles SubTitles Getter
func (AlitripLocalplayProductUploadAPIRequest) GetTitle ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetTitle() string
GetTitle Title Getter
func (AlitripLocalplayProductUploadAPIRequest) GetToLocations ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetToLocations() string
GetToLocations ToLocations Getter
func (AlitripLocalplayProductUploadAPIRequest) GetTouristServiceProvider ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetTouristServiceProvider() string
GetTouristServiceProvider TouristServiceProvider Getter
func (AlitripLocalplayProductUploadAPIRequest) GetTravellerTemplateId ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetTravellerTemplateId() int64
GetTravellerTemplateId TravellerTemplateId Getter
func (AlitripLocalplayProductUploadAPIRequest) GetTripDay ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetTripDay() int64
GetTripDay TripDay Getter
func (AlitripLocalplayProductUploadAPIRequest) GetTripNight ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetTripNight() int64
GetTripNight TripNight Getter
func (AlitripLocalplayProductUploadAPIRequest) GetWapDesc ¶
func (r AlitripLocalplayProductUploadAPIRequest) GetWapDesc() string
GetWapDesc WapDesc Getter
func (*AlitripLocalplayProductUploadAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripLocalplayProductUploadAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripLocalplayProductUploadAPIRequest) SetConfirmTime ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetConfirmTime(_confirmTime int64) error
SetConfirmTime is ConfirmTime Setter 可选,资源确认时长,当confirm_type=2时必填。1:2个工作小时内确认,2:6个工作小时内确认,3:9个工作小时内确认,4:18个工作小时内确认
func (*AlitripLocalplayProductUploadAPIRequest) SetConfirmType ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetConfirmType(_confirmType int64) error
SetConfirmType is ConfirmType Setter 可选,资源确认类型。1-即时确认,2-二次确认。不传默认1
func (*AlitripLocalplayProductUploadAPIRequest) SetDescHtml ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetDescHtml(_descHtml string) error
SetDescHtml is DescHtml Setter PC端详情描述(新发布商品时,desc_xml和desc_html二者至少填写一个),Html格式。商家自定义Html格式描述。
func (*AlitripLocalplayProductUploadAPIRequest) SetDescXml ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetDescXml(_descXml string) error
SetDescXml is DescXml Setter PC端详情描述(新发布商品时,desc_xml和desc_html二者至少填写一个),xml格式:DESC根标签必须有,每一个亮点(HIGHLIGHT)支持1个title子标签,1个txt子标签和多个img子标签。
func (*AlitripLocalplayProductUploadAPIRequest) SetFeeExclude ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetFeeExclude(_feeExclude []string) error
SetFeeExclude is FeeExclude Setter 新发布商品时必填。费用不含。列表中每一个元素 对应一点描述,所有描述合起来必须小于1500个中文字符。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripLocalplayProductUploadAPIRequest) SetFromLocations ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetFromLocations(_fromLocations string) error
SetFromLocations is FromLocations Setter 新发布商品时必填。出发地,多个出发地用英文逗号分隔。使用说明同“目的地”
func (*AlitripLocalplayProductUploadAPIRequest) SetHasDiscount ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetHasDiscount(_hasDiscount bool) error
SetHasDiscount is HasDiscount Setter 是否支持会员打折。可选值:true,false;默认值:false(不打折)。不传的话默认为false
func (*AlitripLocalplayProductUploadAPIRequest) SetIsOverseasTour ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetIsOverseasTour(_isOverseasTour int64) error
SetIsOverseasTour is IsOverseasTour Setter 新发布商品时必填。是否出境游,0-不是,1-是。
func (*AlitripLocalplayProductUploadAPIRequest) SetItemCustomTag ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetItemCustomTag(_itemCustomTag string) error
SetItemCustomTag is ItemCustomTag Setter 可选,商家自定义标签(最多4个字,超长则自动截断,会进行违禁词校验)
func (*AlitripLocalplayProductUploadAPIRequest) SetItemId ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 可选,淘系商品id,用于将out_product_id关联到已经存在的商品,并且修改该商品外部商家编码为out_product_id。
func (*AlitripLocalplayProductUploadAPIRequest) SetOrderInfo ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetOrderInfo(_orderInfo []string) error
SetOrderInfo is OrderInfo Setter 新发布商品时必填。预定须知。列表中每一个元素 对应一点描述,所有描述合起来必须小于1500个中文字符。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripLocalplayProductUploadAPIRequest) SetOutProductId ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商家自定义商品编码。注:商品基本信息维护、价格库存维护,商品查询都以该编码为主键。
func (*AlitripLocalplayProductUploadAPIRequest) SetPicUrls ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetPicUrls(_picUrls []string) error
SetPicUrls is PicUrls Setter 新发布商品时必填。商品图片路径。最多支持5张,第一张为主图,必填,其余四张可选填。图片链接支持外链图片(即商家系统中图片链接,必须外网可访问,且格式为jpg或jpeg,大小在500k以内),或者用户淘宝空间内的图片链接。对于外链图片,将自动下载并上传用户淘宝图片空间,上传失败的外链图片将自动忽略不计。。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripLocalplayProductUploadAPIRequest) SetRefundRegulationsJson ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetRefundRegulationsJson(_refundRegulationsJson string) error
SetRefundRegulationsJson is RefundRegulationsJson Setter 特殊可选,退款规则(json数组格式)。自定义退改时需填写(与refund_regulations字段二选一)。示例中一共包含4条规则(3条平日规则,1条节假日规则),按照顺序每条规则含义如下:出行前5日及以上,买家违约收取总费用的50,卖家违约收取总费用的20;出行前4日至1日,买家违约收取总费用的80,卖家违约收取总费用的50;行程开始当天,买家违约收取总费用的100,卖家违约收取总费用的70;如果行程日期包含节假日,则节假日条款为买家违约收取总费用的100,卖家违约收取总费用的90
func (*AlitripLocalplayProductUploadAPIRequest) SetRefundType ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetRefundType(_refundType int64) error
SetRefundType is RefundType Setter 可选,退改规则类型。0-平台标准退改规则,1-自定义退改规则,2-不支持退改(已废弃,勿用),7-线路商品(跟团、自由行等)新版自定义退改规则。不传默认为0
func (*AlitripLocalplayProductUploadAPIRequest) SetReserveLimit ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetReserveLimit(_reserveLimit string) error
SetReserveLimit is ReserveLimit Setter 可选,该商品提前预定时间限制。格式:1_18_00,含义:该商品必须提前1天预定,且在18:00之前完成预定
func (*AlitripLocalplayProductUploadAPIRequest) SetSecondKill ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetSecondKill(_secondKill string) error
SetSecondKill is SecondKill Setter 商品秒杀,商品秒杀三个值:可选类型web_only(只能通过web网络秒杀),wap_only(只能通过wap网络秒杀),web_and_wap(既能通过web秒杀也能通过wap秒杀)
func (*AlitripLocalplayProductUploadAPIRequest) SetSellerCids ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetSellerCids(_sellerCids []string) error
SetSellerCids is SellerCids Setter 关联商品与店铺类目 结构:"cid1,cid2,...,"。如何获取卖家店铺类目具体参见:http://open.taobao.com/doc2/apiDetail.htm?apiId=65
func (*AlitripLocalplayProductUploadAPIRequest) SetSubStock ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetSubStock(_subStock int64) error
SetSubStock is SubStock Setter 可选,减库存方式。0-拍下减库存。1-付款减库存。不传默认为0
func (*AlitripLocalplayProductUploadAPIRequest) SetSubTitles ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetSubTitles(_subTitles []string) error
SetSubTitles is SubTitles Setter 可选,商品亮点,最多支持4个亮点。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripLocalplayProductUploadAPIRequest) SetTitle ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 新发布商品时必填。商品标题,30个中文字符以内
func (*AlitripLocalplayProductUploadAPIRequest) SetToLocations ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetToLocations(_toLocations string) error
SetToLocations is ToLocations Setter 新发布商品时必填。目的地,多个目的地用英文逗号分隔。地址可以使用飞猪标准地址名称,也可以使用商家系统中目的地地址(支持商家目的地id和商家目的地名称)。如果需要使用商家目的地地址,必须在目的地关联页(https://sell.alitrip.com/icenter/main.htm#/widgets/api-adaptor?_k=n61ii0)配置映射关系(一次性批量上传建立映射关系,之后度假所有类目、API接口共用该映射关系)。 商家目的地地址使用示例1:东京,大阪。示例2:123,124。说明:商家目的地id(123,124)会根据映射关系自动转换成飞猪标准地址
func (*AlitripLocalplayProductUploadAPIRequest) SetTouristServiceProvider ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetTouristServiceProvider(_touristServiceProvider string) error
SetTouristServiceProvider is TouristServiceProvider Setter 代订服务说明(请填写真实的旅游服务提供商)
func (*AlitripLocalplayProductUploadAPIRequest) SetTravellerTemplateId ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetTravellerTemplateId(_travellerTemplateId int64) error
SetTravellerTemplateId is TravellerTemplateId Setter 可选,出行人模板id。模板id需要商家以店铺账号身份登录飞猪商家工作台,从卖家工具->出行人管理中获取。注意:如果传0则代表设置为不需要出行人模板或使用飞猪平台默认的类目模板。
func (*AlitripLocalplayProductUploadAPIRequest) SetTripDay ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetTripDay(_tripDay int64) error
SetTripDay is TripDay Setter 新发布商品时必填。旅游天数
func (*AlitripLocalplayProductUploadAPIRequest) SetTripNight ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetTripNight(_tripNight int64) error
SetTripNight is TripNight Setter 可选,旅游晚数,不传默认旅游天数-1
func (*AlitripLocalplayProductUploadAPIRequest) SetWapDesc ¶
func (r *AlitripLocalplayProductUploadAPIRequest) SetWapDesc(_wapDesc string) error
SetWapDesc is WapDesc Setter 可选,手机端详情描述,xml格式,格式详见示例。
type AlitripLocalplayProductUploadAPIResponse ¶
type AlitripLocalplayProductUploadAPIResponse struct { model.CommonResponse AlitripLocalplayProductUploadAPIResponseModel }
AlitripLocalplayProductUploadAPIResponse 当地玩乐 产品维护接口 API返回值 alitrip.localplay.product.upload
当地玩乐(境内当地玩乐/境外玩乐套餐) 产品维护接口。 接口同时支持新商品发布 和 现有商品编辑: 1)只上传out_product_id的情况:如果out_product_id已经关联过某个商品id,则认为是编辑现有商品,否则认为是新发布一个商品。 2)同时上传out_product_id和item_id,则认为是将out_product_id与item_id进行关联,同时对该商品进行编辑。
func GetAlitripLocalplayProductUploadAPIResponse ¶ added in v1.3.4
func GetAlitripLocalplayProductUploadAPIResponse() *AlitripLocalplayProductUploadAPIResponse
GetAlitripLocalplayProductUploadAPIResponse 从 sync.Pool 获取 AlitripLocalplayProductUploadAPIResponse
func (*AlitripLocalplayProductUploadAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripLocalplayProductUploadAPIResponse) Reset()
Reset 清空结构体
type AlitripLocalplayProductUploadAPIResponseModel ¶
type AlitripLocalplayProductUploadAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_localplay_product_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品发布/更新结果 FirstResult *TopTravelItem `json:"first_result,omitempty" xml:"first_result,omitempty"` }
AlitripLocalplayProductUploadAPIResponseModel is 当地玩乐 产品维护接口 成功返回结果
func (*AlitripLocalplayProductUploadAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripLocalplayProductUploadAPIResponseModel) Reset()
Reset 清空结构体
type AlitripTravelGereralitemUpdateAPIRequest ¶
type AlitripTravelGereralitemUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelGereralitemUpdateAPIRequest 除度假线路、门票以外的其他类目商品维护接口(商品ID重复将自动更新) API请求 alitrip.travel.gereralitem.update
除度假线路、门票以外的商品维护接口;目前该接口支持以下类目; (123740001:客栈周边交通服务、125038002:旅行设备/GPS/相机租赁、50018298:船票、124084006:酒店商品升级差价、125228016:预约卡券、50011954:旅游服务、50012913:酒店优惠券、50214003:旅游会员卡/酒店会员卡、50012917:巴士/地铁/交通卡/一卡通、50134002:代客烧香/还愿、50026091:境外火车票、123742001:客栈周边餐饮服务、50019817:海外套餐(该类目已废弃)、125210016:团建/outing、124212017:其他预定、50025888:机场行李托运取送寄存、50025831:旅游年票/年卡、124142009:旅游商品升级差价/押金、123744001:客栈周边其他服务、50012762:广深口岸港澳送关服务、50025880:旅行拍照/婚纱摄影、123166001:酒店餐饮美食(该类目已废弃)、50668002:手绘地图/明信片、50024210:旅游购物/纪念品、50024208:酒店用品、50024215:购物折扣卡券、50025878:酒店SPA/足浴/温泉、50024212:旅游必备品、123738001:客栈周边票务服务、123164002:游泳健身(该类目已废弃)、50686003:机票增值产品、123164001:酒店SPA(该类目已废弃)、124832008:美食卡券/酒店餐饮卡券、125408001:旅游定制服务、50018112:旅行社/网站优惠券、124258004:酒店客房优惠券(该类目已废弃)、50104001:机场周边停车位、124730002:内机机场/火车站送关服务、124090010:其他)
func GetAlitripTravelGereralitemUpdateAPIRequest ¶ added in v1.3.4
func GetAlitripTravelGereralitemUpdateAPIRequest() *AlitripTravelGereralitemUpdateAPIRequest
GetAlitripTravelGereralitemUpdateRequest 从 sync.Pool 获取 AlitripTravelGereralitemUpdateAPIRequest
func NewAlitripTravelGereralitemUpdateRequest ¶
func NewAlitripTravelGereralitemUpdateRequest() *AlitripTravelGereralitemUpdateAPIRequest
NewAlitripTravelGereralitemUpdateRequest 初始化AlitripTravelGereralitemUpdateAPIRequest对象
func (AlitripTravelGereralitemUpdateAPIRequest) GetApiMethodName ¶
func (r AlitripTravelGereralitemUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelGereralitemUpdateAPIRequest) GetApiParams ¶
func (r AlitripTravelGereralitemUpdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelGereralitemUpdateAPIRequest) GetBaseInfo ¶
func (r AlitripTravelGereralitemUpdateAPIRequest) GetBaseInfo() *BaseInfo
GetBaseInfo BaseInfo Getter
func (AlitripTravelGereralitemUpdateAPIRequest) GetBookingRules ¶
func (r AlitripTravelGereralitemUpdateAPIRequest) GetBookingRules() []BookingRuleInfo
GetBookingRules BookingRules Getter
func (AlitripTravelGereralitemUpdateAPIRequest) GetCommonSkuList ¶
func (r AlitripTravelGereralitemUpdateAPIRequest) GetCommonSkuList() []NoDateSkuInfo
GetCommonSkuList CommonSkuList Getter
func (AlitripTravelGereralitemUpdateAPIRequest) GetDateSkuInfoList ¶
func (r AlitripTravelGereralitemUpdateAPIRequest) GetDateSkuInfoList() []DateSkuInfo
GetDateSkuInfoList DateSkuInfoList Getter
func (AlitripTravelGereralitemUpdateAPIRequest) GetItemEleCertInfo ¶
func (r AlitripTravelGereralitemUpdateAPIRequest) GetItemEleCertInfo() *ItemEleCertInfo
GetItemEleCertInfo ItemEleCertInfo Getter
func (AlitripTravelGereralitemUpdateAPIRequest) GetItemRefundInfo ¶
func (r AlitripTravelGereralitemUpdateAPIRequest) GetItemRefundInfo() *ItemRefundInfo
GetItemRefundInfo ItemRefundInfo Getter
func (AlitripTravelGereralitemUpdateAPIRequest) GetPoi ¶
func (r AlitripTravelGereralitemUpdateAPIRequest) GetPoi() *Poi
GetPoi Poi Getter
func (AlitripTravelGereralitemUpdateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelGereralitemUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripTravelGereralitemUpdateAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripTravelGereralitemUpdateAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripTravelGereralitemUpdateAPIRequest) SetBaseInfo ¶
func (r *AlitripTravelGereralitemUpdateAPIRequest) SetBaseInfo(_baseInfo *BaseInfo) error
SetBaseInfo is BaseInfo Setter 必填,商品基本信息
func (*AlitripTravelGereralitemUpdateAPIRequest) SetBookingRules ¶
func (r *AlitripTravelGereralitemUpdateAPIRequest) SetBookingRules(_bookingRules []BookingRuleInfo) error
SetBookingRules is BookingRules Setter 必填,预定规则结构。示例: [{ "rule_type": "fee_excluded", "rule_desc": "费用包含描述"},{ "rule_type": "fee_included", "rule_desc": "费用不含描述"},{ "rule_type": "order_info", "rule_desc": "预定须知描述"}]
func (*AlitripTravelGereralitemUpdateAPIRequest) SetCommonSkuList ¶
func (r *AlitripTravelGereralitemUpdateAPIRequest) SetCommonSkuList(_commonSkuList []NoDateSkuInfo) error
SetCommonSkuList is CommonSkuList Setter 更新sku信息,仅限非日历(普通)商品使用
func (*AlitripTravelGereralitemUpdateAPIRequest) SetDateSkuInfoList ¶
func (r *AlitripTravelGereralitemUpdateAPIRequest) SetDateSkuInfoList(_dateSkuInfoList []DateSkuInfo) error
SetDateSkuInfoList is DateSkuInfoList Setter 更新sku信息,仅限日历商品使用
func (*AlitripTravelGereralitemUpdateAPIRequest) SetItemEleCertInfo ¶
func (r *AlitripTravelGereralitemUpdateAPIRequest) SetItemEleCertInfo(_itemEleCertInfo *ItemEleCertInfo) error
SetItemEleCertInfo is ItemEleCertInfo Setter 新版电子凭证信息。如果传递了此参数,则sales_info中旧版电子凭证信息将被忽略,否则电子凭证信息将以旧版电子凭证参数为准。如果新、旧版参数都没传,则该商品不支持电子凭证
func (*AlitripTravelGereralitemUpdateAPIRequest) SetItemRefundInfo ¶
func (r *AlitripTravelGereralitemUpdateAPIRequest) SetItemRefundInfo(_itemRefundInfo *ItemRefundInfo) error
SetItemRefundInfo is ItemRefundInfo Setter 选填,退款规则结构
func (*AlitripTravelGereralitemUpdateAPIRequest) SetPoi ¶
func (r *AlitripTravelGereralitemUpdateAPIRequest) SetPoi(_poi *Poi) error
SetPoi is Poi Setter poi信息,个别类目必填,如演艺类目下场馆信息
type AlitripTravelGereralitemUpdateAPIResponse ¶
type AlitripTravelGereralitemUpdateAPIResponse struct { model.CommonResponse AlitripTravelGereralitemUpdateAPIResponseModel }
AlitripTravelGereralitemUpdateAPIResponse 除度假线路、门票以外的其他类目商品维护接口(商品ID重复将自动更新) API返回值 alitrip.travel.gereralitem.update
除度假线路、门票以外的商品维护接口;目前该接口支持以下类目; (123740001:客栈周边交通服务、125038002:旅行设备/GPS/相机租赁、50018298:船票、124084006:酒店商品升级差价、125228016:预约卡券、50011954:旅游服务、50012913:酒店优惠券、50214003:旅游会员卡/酒店会员卡、50012917:巴士/地铁/交通卡/一卡通、50134002:代客烧香/还愿、50026091:境外火车票、123742001:客栈周边餐饮服务、50019817:海外套餐(该类目已废弃)、125210016:团建/outing、124212017:其他预定、50025888:机场行李托运取送寄存、50025831:旅游年票/年卡、124142009:旅游商品升级差价/押金、123744001:客栈周边其他服务、50012762:广深口岸港澳送关服务、50025880:旅行拍照/婚纱摄影、123166001:酒店餐饮美食(该类目已废弃)、50668002:手绘地图/明信片、50024210:旅游购物/纪念品、50024208:酒店用品、50024215:购物折扣卡券、50025878:酒店SPA/足浴/温泉、50024212:旅游必备品、123738001:客栈周边票务服务、123164002:游泳健身(该类目已废弃)、50686003:机票增值产品、123164001:酒店SPA(该类目已废弃)、124832008:美食卡券/酒店餐饮卡券、125408001:旅游定制服务、50018112:旅行社/网站优惠券、124258004:酒店客房优惠券(该类目已废弃)、50104001:机场周边停车位、124730002:内机机场/火车站送关服务、124090010:其他)
func GetAlitripTravelGereralitemUpdateAPIResponse ¶ added in v1.3.4
func GetAlitripTravelGereralitemUpdateAPIResponse() *AlitripTravelGereralitemUpdateAPIResponse
GetAlitripTravelGereralitemUpdateAPIResponse 从 sync.Pool 获取 AlitripTravelGereralitemUpdateAPIResponse
func (*AlitripTravelGereralitemUpdateAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripTravelGereralitemUpdateAPIResponse) Reset()
Reset 清空结构体
type AlitripTravelGereralitemUpdateAPIResponseModel ¶
type AlitripTravelGereralitemUpdateAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_gereralitem_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品发布结果 TravelItem *TopTravelItem `json:"travel_item,omitempty" xml:"travel_item,omitempty"` }
AlitripTravelGereralitemUpdateAPIResponseModel is 除度假线路、门票以外的其他类目商品维护接口(商品ID重复将自动更新) 成功返回结果
func (*AlitripTravelGereralitemUpdateAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripTravelGereralitemUpdateAPIResponseModel) Reset()
Reset 清空结构体
type AlitripTravelGereralproductUpdateAPIRequest ¶
type AlitripTravelGereralproductUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelGereralproductUpdateAPIRequest 通用类目产品发布编辑 API请求 alitrip.travel.gereralproduct.update
提供给飞猪供销平台供应商发布编辑通用类目产品的API
func GetAlitripTravelGereralproductUpdateAPIRequest ¶ added in v1.3.4
func GetAlitripTravelGereralproductUpdateAPIRequest() *AlitripTravelGereralproductUpdateAPIRequest
GetAlitripTravelGereralproductUpdateRequest 从 sync.Pool 获取 AlitripTravelGereralproductUpdateAPIRequest
func NewAlitripTravelGereralproductUpdateRequest ¶
func NewAlitripTravelGereralproductUpdateRequest() *AlitripTravelGereralproductUpdateAPIRequest
NewAlitripTravelGereralproductUpdateRequest 初始化AlitripTravelGereralproductUpdateAPIRequest对象
func (AlitripTravelGereralproductUpdateAPIRequest) GetApiMethodName ¶
func (r AlitripTravelGereralproductUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelGereralproductUpdateAPIRequest) GetApiParams ¶
func (r AlitripTravelGereralproductUpdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelGereralproductUpdateAPIRequest) GetBaseInfo ¶
func (r AlitripTravelGereralproductUpdateAPIRequest) GetBaseInfo() *GeneralProductBaseInfo
GetBaseInfo BaseInfo Getter
func (AlitripTravelGereralproductUpdateAPIRequest) GetBookingRules ¶
func (r AlitripTravelGereralproductUpdateAPIRequest) GetBookingRules() []BookingRuleInfo
GetBookingRules BookingRules Getter
func (AlitripTravelGereralproductUpdateAPIRequest) GetDateSkuInfoList ¶
func (r AlitripTravelGereralproductUpdateAPIRequest) GetDateSkuInfoList() []DateSkuInfo
GetDateSkuInfoList DateSkuInfoList Getter
func (AlitripTravelGereralproductUpdateAPIRequest) GetProductSaleInfo ¶
func (r AlitripTravelGereralproductUpdateAPIRequest) GetProductSaleInfo() *ProductSaleInfo
GetProductSaleInfo ProductSaleInfo Getter
func (AlitripTravelGereralproductUpdateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelGereralproductUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripTravelGereralproductUpdateAPIRequest) GetRefundInfo ¶
func (r AlitripTravelGereralproductUpdateAPIRequest) GetRefundInfo() *ItemRefundInfo
GetRefundInfo RefundInfo Getter
func (*AlitripTravelGereralproductUpdateAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripTravelGereralproductUpdateAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripTravelGereralproductUpdateAPIRequest) SetBaseInfo ¶
func (r *AlitripTravelGereralproductUpdateAPIRequest) SetBaseInfo(_baseInfo *GeneralProductBaseInfo) error
SetBaseInfo is BaseInfo Setter 产品基本信息
func (*AlitripTravelGereralproductUpdateAPIRequest) SetBookingRules ¶
func (r *AlitripTravelGereralproductUpdateAPIRequest) SetBookingRules(_bookingRules []BookingRuleInfo) error
SetBookingRules is BookingRules Setter 必填,预定规则结构。示例: [{ "rule_type": "fee_excluded", "rule_desc": "费用包含描述"},{ "rule_type": "fee_included", "rule_desc": "费用不含描述"},{ "rule_type": "order_info", "rule_desc": "预定须知描述"}]
func (*AlitripTravelGereralproductUpdateAPIRequest) SetDateSkuInfoList ¶
func (r *AlitripTravelGereralproductUpdateAPIRequest) SetDateSkuInfoList(_dateSkuInfoList []DateSkuInfo) error
SetDateSkuInfoList is DateSkuInfoList Setter 更新sku信息,仅限日历商品使用
func (*AlitripTravelGereralproductUpdateAPIRequest) SetProductSaleInfo ¶
func (r *AlitripTravelGereralproductUpdateAPIRequest) SetProductSaleInfo(_productSaleInfo *ProductSaleInfo) error
SetProductSaleInfo is ProductSaleInfo Setter 产品销售信息
func (*AlitripTravelGereralproductUpdateAPIRequest) SetRefundInfo ¶
func (r *AlitripTravelGereralproductUpdateAPIRequest) SetRefundInfo(_refundInfo *ItemRefundInfo) error
SetRefundInfo is RefundInfo Setter 退款规则结构
type AlitripTravelGereralproductUpdateAPIResponse ¶
type AlitripTravelGereralproductUpdateAPIResponse struct { model.CommonResponse AlitripTravelGereralproductUpdateAPIResponseModel }
AlitripTravelGereralproductUpdateAPIResponse 通用类目产品发布编辑 API返回值 alitrip.travel.gereralproduct.update
提供给飞猪供销平台供应商发布编辑通用类目产品的API
func GetAlitripTravelGereralproductUpdateAPIResponse ¶ added in v1.3.4
func GetAlitripTravelGereralproductUpdateAPIResponse() *AlitripTravelGereralproductUpdateAPIResponse
GetAlitripTravelGereralproductUpdateAPIResponse 从 sync.Pool 获取 AlitripTravelGereralproductUpdateAPIResponse
func (*AlitripTravelGereralproductUpdateAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripTravelGereralproductUpdateAPIResponse) Reset()
Reset 清空结构体
type AlitripTravelGereralproductUpdateAPIResponseModel ¶
type AlitripTravelGereralproductUpdateAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_gereralproduct_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // firstResult FirstResult *TopTravelItem `json:"first_result,omitempty" xml:"first_result,omitempty"` }
AlitripTravelGereralproductUpdateAPIResponseModel is 通用类目产品发布编辑 成功返回结果
func (*AlitripTravelGereralproductUpdateAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripTravelGereralproductUpdateAPIResponseModel) Reset()
Reset 清空结构体
type AlitripTravelGereralskuUpdateAPIRequest ¶
type AlitripTravelGereralskuUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelGereralskuUpdateAPIRequest 发布SKU信息(如果properties重复 则更新) API请求 alitrip.travel.gereralsku.update
发布SKU信息(如果properties重复 则更新)
func GetAlitripTravelGereralskuUpdateAPIRequest ¶ added in v1.3.4
func GetAlitripTravelGereralskuUpdateAPIRequest() *AlitripTravelGereralskuUpdateAPIRequest
GetAlitripTravelGereralskuUpdateRequest 从 sync.Pool 获取 AlitripTravelGereralskuUpdateAPIRequest
func NewAlitripTravelGereralskuUpdateRequest ¶
func NewAlitripTravelGereralskuUpdateRequest() *AlitripTravelGereralskuUpdateAPIRequest
NewAlitripTravelGereralskuUpdateRequest 初始化AlitripTravelGereralskuUpdateAPIRequest对象
func (AlitripTravelGereralskuUpdateAPIRequest) GetAlias ¶
func (r AlitripTravelGereralskuUpdateAPIRequest) GetAlias() []PropertyAliasInfo
GetAlias Alias Getter
func (AlitripTravelGereralskuUpdateAPIRequest) GetApiMethodName ¶
func (r AlitripTravelGereralskuUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelGereralskuUpdateAPIRequest) GetApiParams ¶
func (r AlitripTravelGereralskuUpdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelGereralskuUpdateAPIRequest) GetDateList ¶
func (r AlitripTravelGereralskuUpdateAPIRequest) GetDateList() []DateInventoryAndPrice
GetDateList DateList Getter
func (AlitripTravelGereralskuUpdateAPIRequest) GetItemId ¶
func (r AlitripTravelGereralskuUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripTravelGereralskuUpdateAPIRequest) GetOuterId ¶
func (r AlitripTravelGereralskuUpdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (AlitripTravelGereralskuUpdateAPIRequest) GetPrice ¶
func (r AlitripTravelGereralskuUpdateAPIRequest) GetPrice() int64
GetPrice Price Getter
func (AlitripTravelGereralskuUpdateAPIRequest) GetProperties ¶
func (r AlitripTravelGereralskuUpdateAPIRequest) GetProperties() []CatPropInfo
GetProperties Properties Getter
func (AlitripTravelGereralskuUpdateAPIRequest) GetQuantity ¶
func (r AlitripTravelGereralskuUpdateAPIRequest) GetQuantity() int64
GetQuantity Quantity Getter
func (AlitripTravelGereralskuUpdateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelGereralskuUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripTravelGereralskuUpdateAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripTravelGereralskuUpdateAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripTravelGereralskuUpdateAPIRequest) SetAlias ¶
func (r *AlitripTravelGereralskuUpdateAPIRequest) SetAlias(_alias []PropertyAliasInfo) error
SetAlias is Alias Setter sku销售属性别名;如套餐1 需要调整成其他 需要在这里修改
func (*AlitripTravelGereralskuUpdateAPIRequest) SetDateList ¶
func (r *AlitripTravelGereralskuUpdateAPIRequest) SetDateList(_dateList []DateInventoryAndPrice) error
SetDateList is DateList Setter SKU的销售价格库存,日历商品使用
func (*AlitripTravelGereralskuUpdateAPIRequest) SetItemId ¶
func (r *AlitripTravelGereralskuUpdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 淘宝商品ID
func (*AlitripTravelGereralskuUpdateAPIRequest) SetOuterId ¶
func (r *AlitripTravelGereralskuUpdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 商家编码
func (*AlitripTravelGereralskuUpdateAPIRequest) SetPrice ¶
func (r *AlitripTravelGereralskuUpdateAPIRequest) SetPrice(_price int64) error
SetPrice is Price Setter Sku的销售价格,普通商品使用。精确到2位小数;单位:分。如:20007,表示:200元7分。修改后的sku价格要保证商品的价格在所有sku价格所形成的价格区间内(例如:商品价格为6元,sku价格有5元、10元两种,如果要修改5元sku的价格,那么修改的范围只能是0-6元之间;如果要修改10元的sku,那么修改的范围只能是6到无穷大的区间中)
func (*AlitripTravelGereralskuUpdateAPIRequest) SetProperties ¶
func (r *AlitripTravelGereralskuUpdateAPIRequest) SetProperties(_properties []CatPropInfo) error
SetProperties is Properties Setter 商品属性列表;由类目的属性PID和VID组成,属性的pid调用taobao.itemprops.get取得,属性值的vid用taobao.itempropvalues.get取得vid。如果该类目下面没有属性,可以不用填写。如果有属性,必选属性必填,其他非必选属性可以选择不填写.属性不能超过35对
func (*AlitripTravelGereralskuUpdateAPIRequest) SetQuantity ¶
func (r *AlitripTravelGereralskuUpdateAPIRequest) SetQuantity(_quantity int64) error
SetQuantity is Quantity Setter Sku的库存数量,普通商品使用。sku的总数量应该小于等于商品总数量(Item的NUM),sku数量变化后item的总数量也会随着变化。取值范围:大于等于零的整数
type AlitripTravelGereralskuUpdateAPIResponse ¶
type AlitripTravelGereralskuUpdateAPIResponse struct { model.CommonResponse AlitripTravelGereralskuUpdateAPIResponseModel }
AlitripTravelGereralskuUpdateAPIResponse 发布SKU信息(如果properties重复 则更新) API返回值 alitrip.travel.gereralsku.update
发布SKU信息(如果properties重复 则更新)
func GetAlitripTravelGereralskuUpdateAPIResponse ¶ added in v1.3.4
func GetAlitripTravelGereralskuUpdateAPIResponse() *AlitripTravelGereralskuUpdateAPIResponse
GetAlitripTravelGereralskuUpdateAPIResponse 从 sync.Pool 获取 AlitripTravelGereralskuUpdateAPIResponse
func (*AlitripTravelGereralskuUpdateAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripTravelGereralskuUpdateAPIResponse) Reset()
Reset 清空结构体
type AlitripTravelGereralskuUpdateAPIResponseModel ¶
type AlitripTravelGereralskuUpdateAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_gereralsku_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 FirstResult *TopTravelItem `json:"first_result,omitempty" xml:"first_result,omitempty"` }
AlitripTravelGereralskuUpdateAPIResponseModel is 发布SKU信息(如果properties重复 则更新) 成功返回结果
func (*AlitripTravelGereralskuUpdateAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripTravelGereralskuUpdateAPIResponseModel) Reset()
Reset 清空结构体
type AlitripTravelPoiSearchAPIRequest ¶
type AlitripTravelPoiSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelPoiSearchAPIRequest POI信息查询 API请求 alitrip.travel.poi.search
POI信息查询,用于商品更新使用
func GetAlitripTravelPoiSearchAPIRequest ¶ added in v1.3.4
func GetAlitripTravelPoiSearchAPIRequest() *AlitripTravelPoiSearchAPIRequest
GetAlitripTravelPoiSearchRequest 从 sync.Pool 获取 AlitripTravelPoiSearchAPIRequest
func NewAlitripTravelPoiSearchRequest ¶
func NewAlitripTravelPoiSearchRequest() *AlitripTravelPoiSearchAPIRequest
NewAlitripTravelPoiSearchRequest 初始化AlitripTravelPoiSearchAPIRequest对象
func (AlitripTravelPoiSearchAPIRequest) GetApiMethodName ¶
func (r AlitripTravelPoiSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelPoiSearchAPIRequest) GetApiParams ¶
func (r AlitripTravelPoiSearchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelPoiSearchAPIRequest) GetId ¶
func (r AlitripTravelPoiSearchAPIRequest) GetId() int64
GetId Id Getter
func (AlitripTravelPoiSearchAPIRequest) GetName ¶
func (r AlitripTravelPoiSearchAPIRequest) GetName() string
GetName Name Getter
func (AlitripTravelPoiSearchAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelPoiSearchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripTravelPoiSearchAPIRequest) GetType ¶
func (r AlitripTravelPoiSearchAPIRequest) GetType() int64
GetType Type Getter
func (*AlitripTravelPoiSearchAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripTravelPoiSearchAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripTravelPoiSearchAPIRequest) SetId ¶
func (r *AlitripTravelPoiSearchAPIRequest) SetId(_id int64) error
SetId is Id Setter POI信息ID;
func (*AlitripTravelPoiSearchAPIRequest) SetName ¶
func (r *AlitripTravelPoiSearchAPIRequest) SetName(_name string) error
SetName is Name Setter POI信息名称
func (*AlitripTravelPoiSearchAPIRequest) SetType ¶
func (r *AlitripTravelPoiSearchAPIRequest) SetType(_type int64) error
SetType is Type Setter POI类型;1->机场,2->火车站,3->汽车站,4->酒店,5->景点,6->购物,7->美食,9->玩乐,10->阿里旅行服务站,11->服务,100->其他
type AlitripTravelPoiSearchAPIResponse ¶
type AlitripTravelPoiSearchAPIResponse struct { model.CommonResponse AlitripTravelPoiSearchAPIResponseModel }
AlitripTravelPoiSearchAPIResponse POI信息查询 API返回值 alitrip.travel.poi.search
POI信息查询,用于商品更新使用
func GetAlitripTravelPoiSearchAPIResponse ¶ added in v1.3.4
func GetAlitripTravelPoiSearchAPIResponse() *AlitripTravelPoiSearchAPIResponse
GetAlitripTravelPoiSearchAPIResponse 从 sync.Pool 获取 AlitripTravelPoiSearchAPIResponse
func (*AlitripTravelPoiSearchAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripTravelPoiSearchAPIResponse) Reset()
Reset 清空结构体
type AlitripTravelPoiSearchAPIResponseModel ¶
type AlitripTravelPoiSearchAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_poi_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // POI详情 Results []Poi `json:"results,omitempty" xml:"results>poi,omitempty"` }
AlitripTravelPoiSearchAPIResponseModel is POI信息查询 成功返回结果
func (*AlitripTravelPoiSearchAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripTravelPoiSearchAPIResponseModel) Reset()
Reset 清空结构体
type AlitripTravelProductGereralskuUpdateAPIRequest ¶
type AlitripTravelProductGereralskuUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelProductGereralskuUpdateAPIRequest (供销)船票通用类目sku新增&编辑API API请求 alitrip.travel.product.gereralsku.update
发布SKU信息(如果properties重复 则更新)
func GetAlitripTravelProductGereralskuUpdateAPIRequest ¶ added in v1.3.4
func GetAlitripTravelProductGereralskuUpdateAPIRequest() *AlitripTravelProductGereralskuUpdateAPIRequest
GetAlitripTravelProductGereralskuUpdateRequest 从 sync.Pool 获取 AlitripTravelProductGereralskuUpdateAPIRequest
func NewAlitripTravelProductGereralskuUpdateRequest ¶
func NewAlitripTravelProductGereralskuUpdateRequest() *AlitripTravelProductGereralskuUpdateAPIRequest
NewAlitripTravelProductGereralskuUpdateRequest 初始化AlitripTravelProductGereralskuUpdateAPIRequest对象
func (AlitripTravelProductGereralskuUpdateAPIRequest) GetAlias ¶
func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetAlias() []PropertyAliasInfo
GetAlias Alias Getter
func (AlitripTravelProductGereralskuUpdateAPIRequest) GetApiMethodName ¶
func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelProductGereralskuUpdateAPIRequest) GetApiParams ¶
func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelProductGereralskuUpdateAPIRequest) GetDateList ¶
func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetDateList() []DateInventoryAndPrice
GetDateList DateList Getter
func (AlitripTravelProductGereralskuUpdateAPIRequest) GetItemId ¶
func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripTravelProductGereralskuUpdateAPIRequest) GetOuterId ¶
func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (AlitripTravelProductGereralskuUpdateAPIRequest) GetPrice ¶
func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetPrice() int64
GetPrice Price Getter
func (AlitripTravelProductGereralskuUpdateAPIRequest) GetProperties ¶
func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetProperties() []CatPropInfo
GetProperties Properties Getter
func (AlitripTravelProductGereralskuUpdateAPIRequest) GetQuantity ¶
func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetQuantity() int64
GetQuantity Quantity Getter
func (AlitripTravelProductGereralskuUpdateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelProductGereralskuUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripTravelProductGereralskuUpdateAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripTravelProductGereralskuUpdateAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripTravelProductGereralskuUpdateAPIRequest) SetAlias ¶
func (r *AlitripTravelProductGereralskuUpdateAPIRequest) SetAlias(_alias []PropertyAliasInfo) error
SetAlias is Alias Setter sku销售属性别名;如套餐1 需要调整成其他 需要在这里修改
func (*AlitripTravelProductGereralskuUpdateAPIRequest) SetDateList ¶
func (r *AlitripTravelProductGereralskuUpdateAPIRequest) SetDateList(_dateList []DateInventoryAndPrice) error
SetDateList is DateList Setter SKU的销售价格库存,日历商品使用
func (*AlitripTravelProductGereralskuUpdateAPIRequest) SetItemId ¶
func (r *AlitripTravelProductGereralskuUpdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 淘宝商品ID
func (*AlitripTravelProductGereralskuUpdateAPIRequest) SetOuterId ¶
func (r *AlitripTravelProductGereralskuUpdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 商家编码
func (*AlitripTravelProductGereralskuUpdateAPIRequest) SetPrice ¶
func (r *AlitripTravelProductGereralskuUpdateAPIRequest) SetPrice(_price int64) error
SetPrice is Price Setter Sku的销售价格。精确到2位小数;单位:分。如:20007,表示:200元7分。修改后的sku价格要保证商品的价格在所有sku价格所形成的价格区间内(例如:商品价格为6元,sku价格有5元、10元两种,如果要修改5元sku的价格,那么修改的范围只能是0-6元之间;如果要修改10元的sku,那么修改的范围只能是6到无穷大的区间中)
func (*AlitripTravelProductGereralskuUpdateAPIRequest) SetProperties ¶
func (r *AlitripTravelProductGereralskuUpdateAPIRequest) SetProperties(_properties []CatPropInfo) error
SetProperties is Properties Setter 商品属性列表;由类目的属性PID和VID组成,属性的pid调用taobao.itemprops.get取得,属性值的vid用taobao.itempropvalues.get取得vid。如果该类目下面没有属性,可以不用填写。如果有属性,必选属性必填,其他非必选属性可以选择不填写.属性不能超过35对
func (*AlitripTravelProductGereralskuUpdateAPIRequest) SetQuantity ¶
func (r *AlitripTravelProductGereralskuUpdateAPIRequest) SetQuantity(_quantity int64) error
SetQuantity is Quantity Setter Sku的库存数量。sku的总数量应该小于等于商品总数量(Item的NUM),sku数量变化后item的总数量也会随着变化。取值范围:大于等于零的整数
type AlitripTravelProductGereralskuUpdateAPIResponse ¶
type AlitripTravelProductGereralskuUpdateAPIResponse struct { model.CommonResponse AlitripTravelProductGereralskuUpdateAPIResponseModel }
AlitripTravelProductGereralskuUpdateAPIResponse (供销)船票通用类目sku新增&编辑API API返回值 alitrip.travel.product.gereralsku.update
发布SKU信息(如果properties重复 则更新)
func GetAlitripTravelProductGereralskuUpdateAPIResponse ¶ added in v1.3.4
func GetAlitripTravelProductGereralskuUpdateAPIResponse() *AlitripTravelProductGereralskuUpdateAPIResponse
GetAlitripTravelProductGereralskuUpdateAPIResponse 从 sync.Pool 获取 AlitripTravelProductGereralskuUpdateAPIResponse
func (*AlitripTravelProductGereralskuUpdateAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripTravelProductGereralskuUpdateAPIResponse) Reset()
Reset 清空结构体
type AlitripTravelProductGereralskuUpdateAPIResponseModel ¶
type AlitripTravelProductGereralskuUpdateAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_product_gereralsku_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 FirstResult *TopTravelItem `json:"first_result,omitempty" xml:"first_result,omitempty"` }
AlitripTravelProductGereralskuUpdateAPIResponseModel is (供销)船票通用类目sku新增&编辑API 成功返回结果
func (*AlitripTravelProductGereralskuUpdateAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripTravelProductGereralskuUpdateAPIResponseModel) Reset()
Reset 清空结构体
type BaseInfo ¶
type BaseInfo struct { // 品图片路径。最多支持5张,第一张为主图 必填,其余四张可选填(多张图片间使用英文逗号分隔)。图片链接支持外链图片(即商家系统中图片链接,必须外网可访问,且格式为png、jpg或jpeg,大小在500k以内),或者用户淘宝空间内的图片链接。对于外链图片,将自动下载并上传用户淘宝图片空间,上传失败的外链图片将自动忽略不计。 PicUrls []string `json:"pic_urls,omitempty" xml:"pic_urls>string,omitempty"` // 商品属性列表;由类目的属性PID和VID组成,属性的pid调用taobao.itemprops.get取得,属性值的vid用taobao.itempropvalues.get取得vid。如果该类目下面没有属性,可以不用填写。如果有属性,必选属性必填,其他非必选属性可以选择不填写.属性不能超过35对。 Props []CatPropInfo `json:"props,omitempty" xml:"props>cat_prop_info,omitempty"` // 宝贝店铺分类 SellerCids []string `json:"seller_cids,omitempty" xml:"seller_cids>string,omitempty"` // 商品亮点。1)目前最多支持4个亮点,超过4个的亮点描述不会被保存 2)每个亮点描述35个字符以内 3)每个亮点间用英文逗号分隔 SubTitles []string `json:"sub_titles,omitempty" xml:"sub_titles>string,omitempty"` // 宝贝所在市。不填默认设置 杭州 City string `json:"city,omitempty" xml:"city,omitempty"` // 商品描述 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 商品的补充描述,不同类目所设置值不一样,根据类目配置模版来决定传值;目前仅演艺类目使用,模版:145632032=showStart#演出开始时间#3#20@showEnd#演出结束时间#3#20 ExtsMap string `json:"exts_map,omitempty" xml:"exts_map,omitempty"` // 商品标签 提高曝光率 Label string `json:"label,omitempty" xml:"label,omitempty"` // 上架时间。大于当前时间则宝贝会下架进入定时上架的宝贝中。 OnlineTime string `json:"online_time,omitempty" xml:"online_time,omitempty"` // 商家编码 OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"` // 宝贝所在地省,后台通过用户输入城市去获取该城市对应省份 Prov string `json:"prov,omitempty" xml:"prov,omitempty"` // 商品秒杀,商品秒杀三个值:可选类型web_only(只能通过web网络秒杀),wap_only(只能通过wap网络秒杀),web_and_wap(既能通过web秒杀也能通过wap秒杀) SecondKill string `json:"second_kill,omitempty" xml:"second_kill,omitempty"` // 必填,商品标题。30个字符以内 【重要-此字段会作为搜索条件】 Title string `json:"title,omitempty" xml:"title,omitempty"` // 手机描述 格式:标题 描述图片路径 WapDesc string `json:"wap_desc,omitempty" xml:"wap_desc,omitempty"` // 出发地(城市),填写中文,如果接口报错提示出发地不存在,则可登录商家基础信息映射管理后台(https://sell.alitrip.com/sell/basicdata/BasicDataMapping.htm)修正并生效映射关系,映射关系生效后,无法识别的出发地将自动替换为映射值 【重要提示-此属性会作为搜索/筛选条件】 FromLocations string `json:"from_locations,omitempty" xml:"from_locations,omitempty"` // 目的地,填写中文,以英文逗号分隔,最多可填12个,如果国家底下还有城市,则必须精确到城市。如果接口报错提示目的地不存在,则可登录商家基础信息映射管理后台(https://sell.alitrip.com/sell/basicdata/BasicDataMapping.htm)修正并生效映射关系,映射关系生效后,无法识别的目的地将自动替换为映射值 【重要提示-此字段会作为搜索/筛选条件】 ToLocations string `json:"to_locations,omitempty" xml:"to_locations,omitempty"` // 用户指定的上下架操作:0-下架,1-上架(立即上架,定时上架),2-从未上架。注意,已失效,默认下架状态。如需上架请调用taobao.alitrip.travel.item.shelve接口操作。 ApproveStatus int64 `json:"approve_status,omitempty" xml:"approve_status,omitempty"` // 商品类目id,发布商品必填,编辑选填;支持的线上类目ID: 123740001, 125038002, 50018298, 124084006, 125228016, 50011954, 50012913, 50214003, 50012917, 50134002, 50026091, 123742001, 50019817, 125210016, 124212017, 50025888, 50025831, 124142009, 123744001, 50012762, 50025880, 123166001, 50668002, 50024210, 50024208, 50024215, 50025878, 50024212, 123738001, 123164002, 50686003, 123164001, 124832008, 125408001, 50018112, 124258004, 50104001, 124730002, 124090010;支持的测试类目ID: 145732013, 145632040, 145632038, 145632039, 50018322, 145632036, 145632037, 145632034, 145632035, 145632032, 145632033, 145632031, 50019817, 146476005 CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 淘宝平台商品ID 商品更新时使用 ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 库存计数方式,默认采用拍下减库存,不支持用户选择。0拍下减库存,1付款减库存; SubStock int64 `json:"sub_stock,omitempty" xml:"sub_stock,omitempty"` // 可选,资源确认类型。1-即时确认,2-二次确认。不传默认1 ConfirmType int64 `json:"confirm_type,omitempty" xml:"confirm_type,omitempty"` // 可选,资源确认时长,当confirm_type=2时必填。1:2个工作小时内确认,2:6个工作小时内确认,3:9个工作小时内确认,4:18个工作小时内确认 ConfirmTime int64 `json:"confirm_time,omitempty" xml:"confirm_time,omitempty"` // 至少提前天数,最晚成团提前天数,最小0天,最大为300天;不传则为0 Duration int64 `json:"duration,omitempty" xml:"duration,omitempty"` // 最晚收客时间:小时。仅个别类目支持 ReserveDeadlineHours int64 `json:"reserve_deadline_hours,omitempty" xml:"reserve_deadline_hours,omitempty"` // 最晚收客时间:分钟。仅个别类目支持 ReserveDeadlineMinutes int64 `json:"reserve_deadline_minutes,omitempty" xml:"reserve_deadline_minutes,omitempty"` // 是否支持会员打折。可选值:true,false;默认值:false(不打折)。不传的话默认为false HasDiscount bool `json:"has_discount,omitempty" xml:"has_discount,omitempty"` // 是否橱窗推荐,可选值:true,false;默认值:false(不推荐) HasShowcase bool `json:"has_showcase,omitempty" xml:"has_showcase,omitempty"` }
BaseInfo 结构体
type BookingRuleInfo ¶
type BookingRuleInfo struct { // 规则说明,1500个字符 RuleList []string `json:"rule_list,omitempty" xml:"rule_list>string,omitempty"` // 1500个字 RuleDesc string `json:"rule_desc,omitempty" xml:"rule_desc,omitempty"` // fee_included:费用包含,跟团游必填; fee_excluded:费用不含,所有类目必填; order_info:预定须知; extra_cost:其他费用,预留; RuleType string `json:"rule_type,omitempty" xml:"rule_type,omitempty"` }
BookingRuleInfo 结构体
func GetBookingRuleInfo ¶ added in v1.3.4
func GetBookingRuleInfo() *BookingRuleInfo
GetBookingRuleInfo() 从对象池中获取BookingRuleInfo
type CatPropInfo ¶
type CatPropInfo struct { // 属性PID,调用taobao.itemprops.get取得 Pid string `json:"pid,omitempty" xml:"pid,omitempty"` // 属性VID,调用taobao.itempropvalues.get取得 Vid string `json:"vid,omitempty" xml:"vid,omitempty"` }
CatPropInfo 结构体
func GetCatPropInfo ¶ added in v1.3.4
func GetCatPropInfo() *CatPropInfo
GetCatPropInfo() 从对象池中获取CatPropInfo
type CruiseItemExt ¶
type CruiseItemExt struct { // 邮轮费用包含 ShipFeeInclude string `json:"ship_fee_include,omitempty" xml:"ship_fee_include,omitempty"` // 邮轮船名 ShipName string `json:"ship_name,omitempty" xml:"ship_name,omitempty"` // 邮轮公司 CruiseCompany string `json:"cruise_company,omitempty" xml:"cruise_company,omitempty"` // 邮轮线路 CruiseLine string `json:"cruise_line,omitempty" xml:"cruise_line,omitempty"` // 下船地点 ShipDown string `json:"ship_down,omitempty" xml:"ship_down,omitempty"` // 上船地点 ShipUp string `json:"ship_up,omitempty" xml:"ship_up,omitempty"` // 邮轮数据版本 CruiseItemVersion string `json:"cruise_item_version,omitempty" xml:"cruise_item_version,omitempty"` // 邮轮具体航线 CruiseSubLine string `json:"cruise_sub_line,omitempty" xml:"cruise_sub_line,omitempty"` }
CruiseItemExt 结构体
func GetCruiseItemExt ¶ added in v1.3.4
func GetCruiseItemExt() *CruiseItemExt
GetCruiseItemExt() 从对象池中获取CruiseItemExt
type CruiseProductExt ¶
type CruiseProductExt struct { // 选填,邮轮相关小费包含选项。境内邮轮: 1-"船票" 2-"岸上观光费" 3-"导游" 4-"其他费用" ...... 国际邮轮 1-"船票" 2-"港务费、邮轮税费" 3-"岸上观光费" 4-"签证费用" 5-"小费" 6-"领队费" 7-"其他费用" ShipFeeInclude []string `json:"ship_fee_include,omitempty" xml:"ship_fee_include>string,omitempty"` // 必填,邮轮船名 ShipName string `json:"ship_name,omitempty" xml:"ship_name,omitempty"` // 必填,邮轮下船地点 ShipDown string `json:"ship_down,omitempty" xml:"ship_down,omitempty"` // 必填,邮轮上船地点 ShipUp string `json:"ship_up,omitempty" xml:"ship_up,omitempty"` // 必填,邮轮线路 CruiseLine string `json:"cruise_line,omitempty" xml:"cruise_line,omitempty"` // 必填,邮轮公司 CruiseCompany string `json:"cruise_company,omitempty" xml:"cruise_company,omitempty"` }
CruiseProductExt 结构体
func GetCruiseProductExt ¶ added in v1.3.4
func GetCruiseProductExt() *CruiseProductExt
GetCruiseProductExt() 从对象池中获取CruiseProductExt
type DateInventoryAndPrice ¶
type DateInventoryAndPrice struct { // 销售日期 Date string `json:"date,omitempty" xml:"date,omitempty"` // Sku的销售价格。单位:分。如:20007,表示:200元7分。修改后的sku价格要保证商品的价格在所有sku价格所形成的价格区间内(例如:商品价格为6元,sku价格有5元、10元两种,如果要修改5元sku的价格,那么修改的范围只能是0-6元之间;如果要修改10元的sku,那么修改的范围只能是6到无穷大的区间中) Price int64 `json:"price,omitempty" xml:"price,omitempty"` // Sku的库存数量。sku的总数量应该小于等于商品总数量(Item的NUM),sku数量变化后item的总数量也会随着变化。取值范围:大于等于零的整数 Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"` }
DateInventoryAndPrice 结构体
func GetDateInventoryAndPrice ¶ added in v1.3.4
func GetDateInventoryAndPrice() *DateInventoryAndPrice
GetDateInventoryAndPrice() 从对象池中获取DateInventoryAndPrice
type DateSkuInfo ¶
type DateSkuInfo struct { // sku销售属性别名;如套餐1 需要调整成其他 需要在这里修改 Alias []PropertyAliasInfo `json:"alias,omitempty" xml:"alias>property_alias_info,omitempty"` // SKU的销售价格库存,日历商品使用 DateList []DateInventoryAndPrice `json:"date_list,omitempty" xml:"date_list>date_inventory_and_price,omitempty"` // SKU销售属性列表,若未填写,其他sku信息不会生效;由类目的属性PID和VID组成,属性的pid调用taobao.itemprops.get取得,属性值的vid用taobao.itempropvalues.get取得vid。如果该类目下面没有属性,可以不用填写。如果有属性,必选属性必填,其他非必选属性可以选择不填写.属性不能超过35对。 Properties []CatPropInfo `json:"properties,omitempty" xml:"properties>cat_prop_info,omitempty"` // sku商品编码 OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` }
DateSkuInfo 结构体
func GetDateSkuInfo ¶ added in v1.3.4
func GetDateSkuInfo() *DateSkuInfo
GetDateSkuInfo() 从对象池中获取DateSkuInfo
type ElectronContract ¶
type ElectronContract struct { // 不成团约定,多选,英文逗号分隔。1-委托其他旅行社履行合同,2-延期出团,3-改签其他线路出行,4-解除合同 GroupFailArrange string `json:"group_fail_arrange,omitempty" xml:"group_fail_arrange,omitempty"` // 拼团约定。0-不会采取拼团,1-可能采取拼团 WillJoinGroup int64 `json:"will_join_group,omitempty" xml:"will_join_group,omitempty"` // 是否支持电子合同。0-不支持,1-支持。新发布商品时不填默认为0 SupportElectron int64 `json:"support_electron,omitempty" xml:"support_electron,omitempty"` }
ElectronContract 结构体
func GetElectronContract ¶ added in v1.3.4
func GetElectronContract() *ElectronContract
GetElectronContract() 从对象池中获取ElectronContract
type FreeTourHotelInfo ¶
type FreeTourHotelInfo struct { // 酒店描述 HotelDesc string `json:"hotel_desc,omitempty" xml:"hotel_desc,omitempty"` // 新发布商品必填,最多三张,图片链接支持外链图片(即商家系统中图片链接,必须外网可访问,且格式为jpg或jpeg,大小在500k以内),或者用户淘宝空间内的图片链接。对于外链图片,将自动下载并上传用户淘宝图片空间,上传失败的外链图片将自动忽略不计。。注:在SDK中数组多个元素间以英文逗号分隔 PicUrls string `json:"pic_urls,omitempty" xml:"pic_urls,omitempty"` // 酒店所在城市 City string `json:"city,omitempty" xml:"city,omitempty"` // 必填,酒店房型 HouseType string `json:"house_type,omitempty" xml:"house_type,omitempty"` // 酒店档次(与下面的酒店星级二选一,只能填一个):经济连锁;舒适;高档;豪华;二星及以下 HotelLevel string `json:"hotel_level,omitempty" xml:"hotel_level,omitempty"` // 酒店星级(与上面的酒店档次二选一,只能填一个) HotelStar string `json:"hotel_star,omitempty" xml:"hotel_star,omitempty"` // 酒店名称 CnName string `json:"cn_name,omitempty" xml:"cn_name,omitempty"` }
FreeTourHotelInfo 结构体
func GetFreeTourHotelInfo ¶ added in v1.3.4
func GetFreeTourHotelInfo() *FreeTourHotelInfo
GetFreeTourHotelInfo() 从对象池中获取FreeTourHotelInfo
type FreeTourPackageInfo ¶
type FreeTourPackageInfo struct { // 包含元素-景区门票,如果该套餐包含景区门票,则需要传这个参数 FreeTourScenicInfoList []FreeTourScenicInfo `json:"free_tour_scenic_info_list,omitempty" xml:"free_tour_scenic_info_list>free_tour_scenic_info,omitempty"` // 返程交通,交通工具必须与商品上的返程交通一致 BackTrafficInfoList []FreeTourTrafficInfo `json:"back_traffic_info_list,omitempty" xml:"back_traffic_info_list>free_tour_traffic_info,omitempty"` // 新发布商品时必填。费用不含。列表中每一个元素 对应一点描述,所有描述合起来必须小于1500个中文字符。注:在SDK中数组多个元素间以英文逗号分隔 FeeExclude []string `json:"fee_exclude,omitempty" xml:"fee_exclude>string,omitempty"` // 去程交通,交通工具的类型必须与商品上的去程交通一致 GoTrafficInfoList []FreeTourTrafficInfo `json:"go_traffic_info_list,omitempty" xml:"go_traffic_info_list>free_tour_traffic_info,omitempty"` // 买家预定须知 OrderInfo []string `json:"order_info,omitempty" xml:"order_info>string,omitempty"` // 当包含元素选择了餐饮,自驾租车,保险服务,其他费用时,该项必填 ItemResourceInfoList []ItemResourceInfo `json:"item_resource_info_list,omitempty" xml:"item_resource_info_list>item_resource_info,omitempty"` // 新发布商品时必填。费用包含。列表中每一个元素 对应一点描述,所有描述合起来必须小于1500个中文字符。注:在SDK中数组多个元素间以英文逗号分隔 FeeInclude []string `json:"fee_include,omitempty" xml:"fee_include>string,omitempty"` // 当包含元素选择了酒店的时候,该项必填 FreeTourHotelInfoList []FreeTourHotelInfo `json:"free_tour_hotel_info_list,omitempty" xml:"free_tour_hotel_info_list>free_tour_hotel_info,omitempty"` // 必须传,套餐对应的商家编码 OutProductId string `json:"out_product_id,omitempty" xml:"out_product_id,omitempty"` // 必填,套餐名称 PackageName string `json:"package_name,omitempty" xml:"package_name,omitempty"` // 发布商品时必填。套餐对应的目的地,套餐对应的目的地必须是商品的目的地的子集,多个目的地用英文逗号分隔。地址可以使用飞猪标准地址名称,也可以使用商家系统中目的地地址(支持商家目的地id和商家目的地名称 )。如果需要使用商家目的地地址,必须在目的地关联页(https://sell.alitrip.com/icenter/main.htm#/widgets/api-adaptor?_k=n61ii0)配置映射关系(一次性 批量上传建立映射关系,之后度假所有类目、API接口共用该映射关系)。 商家目的地地址使用示例1:东京,大阪。示例2:123,124。说明:商家目的地id(123,124>)会根据映射关系自动转换成飞猪标准地址 ToLocations string `json:"to_locations,omitempty" xml:"to_locations,omitempty"` // 门票说明 ScenicDesc string `json:"scenic_desc,omitempty" xml:"scenic_desc,omitempty"` // 套餐对应的出发地,是商品出发地的子集 FromLocations string `json:"from_locations,omitempty" xml:"from_locations,omitempty"` // 套餐操作类型,(0:套餐覆盖修改,1:增加套餐,2:删除套餐)===默认为0=== PackageOperation int64 `json:"package_operation,omitempty" xml:"package_operation,omitempty"` }
FreeTourPackageInfo 结构体
func GetFreeTourPackageInfo ¶ added in v1.3.4
func GetFreeTourPackageInfo() *FreeTourPackageInfo
GetFreeTourPackageInfo() 从对象池中获取FreeTourPackageInfo
type FreeTourScenicInfo ¶
type FreeTourScenicInfo struct { // 必填,景点名称 CnName string `json:"cn_name,omitempty" xml:"cn_name,omitempty"` // 必填,门票类型 TicketType string `json:"ticket_type,omitempty" xml:"ticket_type,omitempty"` // 必填,景点所在城市 City string `json:"city,omitempty" xml:"city,omitempty"` }
FreeTourScenicInfo 结构体
func GetFreeTourScenicInfo ¶ added in v1.3.4
func GetFreeTourScenicInfo() *FreeTourScenicInfo
GetFreeTourScenicInfo() 从对象池中获取FreeTourScenicInfo
type FreeTourTrafficInfo ¶
type FreeTourTrafficInfo struct { // 参考班次号,飞机需要填航班号,火车需要填车次号,汽车和船可不填 TrafficNo string `json:"traffic_no,omitempty" xml:"traffic_no,omitempty"` // 交通公司名,飞机选填 Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"` // 飞机机型,飞机选填 PlaneType string `json:"plane_type,omitempty" xml:"plane_type,omitempty"` // 出发城市 Departure string `json:"departure,omitempty" xml:"departure,omitempty"` // 到达城市 Destination string `json:"destination,omitempty" xml:"destination,omitempty"` // 出发时间,当地时间HH:mm DepartureTime string `json:"departure_time,omitempty" xml:"departure_time,omitempty"` // 到达时间,当地时间HH:mm ArrivalTime string `json:"arrival_time,omitempty" xml:"arrival_time,omitempty"` // 交通说明,针对交通类型是汽车,轮船和其他 TrafficDesc string `json:"traffic_desc,omitempty" xml:"traffic_desc,omitempty"` // 经停城市 StopCity string `json:"stop_city,omitempty" xml:"stop_city,omitempty"` // 第几天 Day int64 `json:"day,omitempty" xml:"day,omitempty"` // 是否直飞,飞机选填,1-直飞;0-不是直飞 NonStop int64 `json:"non_stop,omitempty" xml:"non_stop,omitempty"` // 第几组交通信息,请必传,不传可能导致商品详情页交通信息不展示。每一组交通信息包含一组去程交通和返程交通,当在页> 面上点击【添加交通信息】按钮后,就会出现第二组交通信息,第一组交>通信息group=1,第二组交通信息group取值为2,以此类推 Group int64 `json:"group,omitempty" xml:"group,omitempty"` // 是否经停 StopOver bool `json:"stop_over,omitempty" xml:"stop_over,omitempty"` }
FreeTourTrafficInfo 结构体
func GetFreeTourTrafficInfo ¶ added in v1.3.4
func GetFreeTourTrafficInfo() *FreeTourTrafficInfo
GetFreeTourTrafficInfo() 从对象池中获取FreeTourTrafficInfo
type FreedomItemExt ¶
type FreedomItemExt struct { // 其他资源信息 OtherInfos []ItemResourceInfo `json:"other_infos,omitempty" xml:"other_infos>item_resource_info,omitempty"` // 自由行交通信息详细描述 TrafficDesc string `json:"traffic_desc,omitempty" xml:"traffic_desc,omitempty"` // 回程交通信息 BackTrafficInfo *ItemTrafficInfo `json:"back_traffic_info,omitempty" xml:"back_traffic_info,omitempty"` // 去程交通信息 GoTrafficInfo *ItemTrafficInfo `json:"go_traffic_info,omitempty" xml:"go_traffic_info,omitempty"` // 酒店信息 HotelInfos *ItemHotelInfo `json:"hotel_infos,omitempty" xml:"hotel_infos,omitempty"` // 景点信息 ScenicInfos *ItemScenicInfo `json:"scenic_infos,omitempty" xml:"scenic_infos,omitempty"` }
FreedomItemExt 结构体
func GetFreedomItemExt ¶ added in v1.3.4
func GetFreedomItemExt() *FreedomItemExt
GetFreedomItemExt() 从对象池中获取FreedomItemExt
type FullTravelItem ¶
type FullTravelItem struct { // 预定规则 BookingRules []BookingRuleInfo `json:"booking_rules,omitempty" xml:"booking_rules>booking_rule_info,omitempty"` // 行程信息 Itineraries []ItemItineraryInfo `json:"itineraries,omitempty" xml:"itineraries>item_itinerary_info,omitempty"` // sku信息 SkuInfos []ItemSkuInfo `json:"sku_infos,omitempty" xml:"sku_infos>item_sku_info,omitempty"` // 产品亮点 HighLights []ProductHighLights `json:"high_lights,omitempty" xml:"high_lights>product_high_lights,omitempty"` // 创建时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 修改时间 Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 商品特征数据 Features string `json:"features,omitempty" xml:"features,omitempty"` // 新版行程信息 RefTrip string `json:"ref_trip,omitempty" xml:"ref_trip,omitempty"` // 商品基本信息 BaseInfo *ItemBaseInfo `json:"base_info,omitempty" xml:"base_info,omitempty"` // 自由行相关信息 FreedomItemExt *FreedomItemExt `json:"freedom_item_ext,omitempty" xml:"freedom_item_ext,omitempty"` // 跟团游相关信息 GroupItemExt *GroupItemExt `json:"group_item_ext,omitempty" xml:"group_item_ext,omitempty"` // 商品类型 ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"` // 商品状态。0,1正常;-1:用户删除;-2:用户下架;-3 小二下架;-4 小二删除;-5 从未上架;-9 被处罚 ItemStatus int64 `json:"item_status,omitempty" xml:"item_status,omitempty"` // 商品id1 ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 退改规则信息 RefundInfo *ItemRefundInfo `json:"refund_info,omitempty" xml:"refund_info,omitempty"` // 销售属性信息 SaleInfo *ItemSaleInfo `json:"sale_info,omitempty" xml:"sale_info,omitempty"` // 卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 同城活动商品相关信息 TcwlItemExt *TcwlItemExt `json:"tcwl_item_ext,omitempty" xml:"tcwl_item_ext,omitempty"` // 航旅度假TOP API3.0 邮轮扩展信息结构 CruiseItemExt *CruiseItemExt `json:"cruise_item_ext,omitempty" xml:"cruise_item_ext,omitempty"` }
FullTravelItem 结构体
func GetFullTravelItem ¶ added in v1.3.4
func GetFullTravelItem() *FullTravelItem
GetFullTravelItem() 从对象池中获取FullTravelItem
type GatherPlaceInfo ¶
type GatherPlaceInfo struct { // 集合地点名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 集合地经纬度,英文逗号分隔。经度在前,纬度在后,英文逗号分隔最多支持6位小数,如120.111222,30.111222 Poi string `json:"poi,omitempty" xml:"poi,omitempty"` // AMAP/GOOGLE/OTHERS。高德(AMAP),GOOGLE,其他(OTHERS) PoiResource string `json:"poi_resource,omitempty" xml:"poi_resource,omitempty"` }
GatherPlaceInfo 结构体
func GetGatherPlaceInfo ¶ added in v1.3.4
func GetGatherPlaceInfo() *GatherPlaceInfo
GetGatherPlaceInfo() 从对象池中获取GatherPlaceInfo
type GeneralProductBaseInfo ¶
type GeneralProductBaseInfo struct { // 品图片路径。最多支持5张,第一张为主图 必填,其余四张可选填(多张图片间使用英文逗号分隔)。图片链接支持外链图片(即商家系统中图片链接,必须外网可访问,且格式为png、jpg或jpeg,大小在500k以内),或者用户淘宝空间内的图片链接。对于外链图片,将自动下载并上传用户淘宝图片空间,上传失败的外链图片将自动忽略不计。 PicUrls []string `json:"pic_urls,omitempty" xml:"pic_urls>string,omitempty"` // 商品亮点。1)目前最多支持4个亮点,超过4个的亮点描述不会被保存 2)每个亮点描述35个字符以内 3)每个亮点间用英文逗号分隔 SubTitles []string `json:"sub_titles,omitempty" xml:"sub_titles>string,omitempty"` // 商品属性列表;由类目的属性PID和VID组成,属性的pid调用taobao.itemprops.get取得,属性值的vid用taobao.itempropvalues.get取得vid。如果该类目下面没有属性,可以不用填写。如果有属性,必选属性必填,其他非必选属性可以选择不填写.属性不能超过35对。 Props []CatPropInfo `json:"props,omitempty" xml:"props>cat_prop_info,omitempty"` // 商品描述 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 手机描述 格式:标题 描述图片路径 WapDesc string `json:"wap_desc,omitempty" xml:"wap_desc,omitempty"` // 商家编码 OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"` // 目的地,填写中文,以英文逗号分隔,最多可填12个,如果国家底下还有城市,则必须精确到城市。如果接口报错提示目的地不存在,则可登录商家基础信息映射管理后台(https://sell.alitrip.com/sell/basicdata/BasicDataMapping.htm)修正并生效映射关系,映射关系生效后,无法识别的目的地将自动替换为映射值 【重要提示-此字段会作为搜索/筛选条件】 ToLocations string `json:"to_locations,omitempty" xml:"to_locations,omitempty"` // 必填,商品标题。30个字符以内 【重要-此字段会作为搜索条件】 Title string `json:"title,omitempty" xml:"title,omitempty"` // 最晚收客时间:分钟。仅个别类目支持 ReserveDeadlineMinutes int64 `json:"reserve_deadline_minutes,omitempty" xml:"reserve_deadline_minutes,omitempty"` // 商品类目id,发布商品必填,编辑选填;支持的线上类目ID,船票:50018298 CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 淘宝平台商品ID 产品更新时使用 ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 可选,资源确认时长,当confirm_type=2时必填。1:2个工作小时内确认,2:6个工作小时内确认,3:9个工作小时内确认,4:18个工作小时内确认 ConfirmTime int64 `json:"confirm_time,omitempty" xml:"confirm_time,omitempty"` // 至少提前天数,最晚成团提前天数,最小0天,最大为300天;不传则为0 Duration int64 `json:"duration,omitempty" xml:"duration,omitempty"` // 最晚收客时间:小时。仅个别类目支持 ReserveDeadlineHours int64 `json:"reserve_deadline_hours,omitempty" xml:"reserve_deadline_hours,omitempty"` // 可选,资源确认类型。1-即时确认,2-二次确认。不传默认1 ConfirmType int64 `json:"confirm_type,omitempty" xml:"confirm_type,omitempty"` }
GeneralProductBaseInfo 结构体
func GetGeneralProductBaseInfo ¶ added in v1.3.4
func GetGeneralProductBaseInfo() *GeneralProductBaseInfo
GetGeneralProductBaseInfo() 从对象池中获取GeneralProductBaseInfo
type GroupItemExt ¶
type GroupItemExt struct { // 集合地信息 GatherPlaces []GatherPlaceInfo `json:"gather_places,omitempty" xml:"gather_places>gather_place_info,omitempty"` // 必填,回程交通信息 BackTrafficInfo *ItemTrafficInfo `json:"back_traffic_info,omitempty" xml:"back_traffic_info,omitempty"` // 必填,去程交通信息 GoTrafficInfo *ItemTrafficInfo `json:"go_traffic_info,omitempty" xml:"go_traffic_info,omitempty"` // 必填,线路类型,0 为目的地参团 1为出发地参团 RouteType int64 `json:"route_type,omitempty" xml:"route_type,omitempty"` // 是否支持电子合同,默认不支持 Electronic bool `json:"electronic,omitempty" xml:"electronic,omitempty"` }
GroupItemExt 结构体
func GetGroupItemExt ¶ added in v1.3.4
func GetGroupItemExt() *GroupItemExt
GetGroupItemExt() 从对象池中获取GroupItemExt
type GroupTourPackageInfo ¶
type GroupTourPackageInfo struct { // 行程信息,新发布商品必填,数据,可以一次提交多天的行程信息 TripElementList []GroupTourTripElement `json:"trip_element_list,omitempty" xml:"trip_element_list>group_tour_trip_element,omitempty"` // 返程交通,交通工具的类型必须与商品上的去程交通一致 BackTrafficInfoList []GroupTourTrafficInfo `json:"back_traffic_info_list,omitempty" xml:"back_traffic_info_list>group_tour_traffic_info,omitempty"` // 去程交通,交通工具的类型必须与商品上的去程交通一致 GoTrafficInfoList []GroupTourTrafficInfo `json:"go_traffic_info_list,omitempty" xml:"go_traffic_info_list>group_tour_traffic_info,omitempty"` // 新发布商品时必填。自费项目。列表中每一个元素 对应一点描述,所有描述合起来必须小于1500个中文字符。注:在SDK中数组多个元素间以英文逗号分隔 SelfExplanation []string `json:"self_explanation,omitempty" xml:"self_explanation>string,omitempty"` // 新发布商品时必填。买家预定须知。列表中每一个元素 对应一点描述,所有描述合起来必须小于1500个中文字符。注:在SDK中数组多个元素间以英文逗号分隔 OrderInfo []string `json:"order_info,omitempty" xml:"order_info>string,omitempty"` // 新发布商品时必填。费用不含。列表中每一个元素 对应一点描述,所有描述合起来必须小于1500个中文字符。注:在SDK中数组多个元素间以英文逗号分隔 FeeExclude []string `json:"fee_exclude,omitempty" xml:"fee_exclude>string,omitempty"` // 新发布商品时必填。费用包含。列表中每一个元素 对应一点描述,所有描述合起来必须小于1500个中文字符。注:在SDK中数组多个元素间以英文逗号分隔 FeeInclude []string `json:"fee_include,omitempty" xml:"fee_include>string,omitempty"` // 套餐对应的出发地,是商品出发地的子集 FromLocations string `json:"from_locations,omitempty" xml:"from_locations,omitempty"` // 必填,跟团游套餐对应的商家编码 OutProductId string `json:"out_product_id,omitempty" xml:"out_product_id,omitempty"` // 新发布商品必填,跟团游套餐名 PackageName string `json:"package_name,omitempty" xml:"package_name,omitempty"` // 套餐操作类型(0:套餐覆盖修改,1:增加套餐,2:删除套餐)===默认为0=== PackageOperation int64 `json:"package_operation,omitempty" xml:"package_operation,omitempty"` // 套餐级别行程天数,必填。 TripDays int64 `json:"trip_days,omitempty" xml:"trip_days,omitempty"` // 套餐级别行程晚数,必填。 AccomNights int64 `json:"accom_nights,omitempty" xml:"accom_nights,omitempty"` }
GroupTourPackageInfo 结构体
func GetGroupTourPackageInfo ¶ added in v1.3.4
func GetGroupTourPackageInfo() *GroupTourPackageInfo
GetGroupTourPackageInfo() 从对象池中获取GroupTourPackageInfo
type GroupTourTrafficInfo ¶
type GroupTourTrafficInfo struct { // 交通说明,针对交通类型是汽车,轮船和其他 TrafficDesc string `json:"traffic_desc,omitempty" xml:"traffic_desc,omitempty"` // 到达时间,当地时间HH:mm ArrivalTime string `json:"arrival_time,omitempty" xml:"arrival_time,omitempty"` // 出发时间,当地时间HH:mm DepartureTime string `json:"departure_time,omitempty" xml:"departure_time,omitempty"` // 到达城市 Destination string `json:"destination,omitempty" xml:"destination,omitempty"` // 出发城市 Departure string `json:"departure,omitempty" xml:"departure,omitempty"` // 飞机机型,飞机选填 PlaneType string `json:"plane_type,omitempty" xml:"plane_type,omitempty"` // 交通公司名,飞机选填 Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"` // 参考班次号,飞机需要填航班号,火车需要填车次号,汽车和船可不填 TrafficNo string `json:"traffic_no,omitempty" xml:"traffic_no,omitempty"` // 经停城市 StopCity string `json:"stop_city,omitempty" xml:"stop_city,omitempty"` // 交通类型 1:飞机, 2:火车,3:汽车,4:轮船 TransportWay int64 `json:"transport_way,omitempty" xml:"transport_way,omitempty"` // 第几组交通信息,每一组交通信息包含一组去程交通和返程交通,当在页> 面上点击【添加交通信息】按钮后,就会出现第二组交通信息,第一组交>通信息group=1,第二组交通信息group取值为2,以此类推 Group int64 `json:"group,omitempty" xml:"group,omitempty"` // 是否直飞,飞机选填,1-直飞;0-不是直飞 NonStop int64 `json:"non_stop,omitempty" xml:"non_stop,omitempty"` // 第几天 Day int64 `json:"day,omitempty" xml:"day,omitempty"` // 是否经停 StopOver bool `json:"stop_over,omitempty" xml:"stop_over,omitempty"` // 是否是"非红眼航班"。【红眼航班】定义:凌晨一点至六点起飞,且飞行时间少于少于正常睡眠需求(8小时)的航班。 IsNonRedEyeFlight bool `json:"is_non_red_eye_flight,omitempty" xml:"is_non_red_eye_flight,omitempty"` }
GroupTourTrafficInfo 结构体
func GetGroupTourTrafficInfo ¶ added in v1.3.4
func GetGroupTourTrafficInfo() *GroupTourTrafficInfo
GetGroupTourTrafficInfo() 从对象池中获取GroupTourTrafficInfo
type GroupTourTripElement ¶
type GroupTourTripElement struct { // 具体的行程信息,根据type字段,将对象序列化成json串,以字符串的形式赋值给json_str,传到后端,每一个json_str都只能是对应单个对象,不能对应数组 当type=1时: json_str = { "type":1, //包含元素类型,1:住宿信息,2:景点,3:餐饮信息,4:购物信息 "hotelType”:1,//住宿方式,1:酒店/客栈 2:住在交通工具上 3:住宿自理 4:露营 "hotelStarType":1, //1:酒店星级 2:酒店档次 "hotelStar":"三星级", //如果hotelStarType =1:酒店星级,hotelStar取值范围(一星级,二星级,三星级,四星级,五星级);如果hotelStarType =1:酒店星级,hotelStar取值范围(舒适,高档,豪华,经济连锁,二星及以下) "hotelCityName":"北京市", //酒店所在城市名称 "hotelName":"如家快捷北京北太平庄店”,//酒店名称 "roomType":"大床房”, //房型 "tripContentDetails":{ //该字段选填,imageList为数组类型,住宿图片,desc为住宿说明 "imageList":[ "https://img.daily.taobaocdn.net/imgextra/i2/2024098454/TB2.BJ9XEw7LKJjyzdKXXaShXXa_!!2024098454.jpg", "https://img.daily.taobaocdn.net/imgextra/i1/2024098454/TB2Ui4yXEw7LKJjyzdKXXaShXXa_!!2024098454.jpg" ], "desc”:”住宿说明” } } 当type=2时: json_str = { "type”:2, //包含元素类型,1:住宿信息,2:景点,3:餐饮信息,4:购物信息 "activityHour":10, //活动时间-小时 "activityMinute":30,//活动时间-分钟,这里是10个小时30分钟 "scenicName":"八达岭长城”,//景点名称 "scenicCity":"北京市” //景点所在城市,”classicScenic”:true, "tripContentDetails":{ //该字段选填,imageList为数组类型,景点图片,desc为景点详细说明 "imageList":[ "https://img.daily.taobaocdn.net/imgextra/i2/2024098454/TB2.BJ9XEw7LKJjyzdKXXaShXXa_!!2024098454.jpg", "https://img.daily.taobaocdn.net/imgextra/i1/2024098454/TB2Ui4yXEw7LKJjyzdKXXaShXXa_!!2024098454.jpg" ], "desc”:”景点详情” } } 当type=3时: json_str ={ "type":3, //包含元素类型,1:住宿信息,2:景点,3:餐饮信息,4:购物信息 "foodInclude":false,//true:包含餐饮,false:不包含餐饮信息 "specialIllustrate":" 餐饮说明”,//餐饮说明 "foodType":[ //1:早餐,2:中餐,3:晚餐 1, 2, 3 ] } 当type=4时: json_str ={ "type":4, //包含元素类型,1:住宿信息,2:景点,3:餐饮信息,4:购物信息 "activityHour":1,//活动时间-小时 "activityMinute":5,//活动时间-分钟,这里是1个小时5分钟 "shoppingPlace":"家乐福”,//购物店名称 "shoppingProduct":"啥都有”//营业产品 }。当type=5时: json_str ={ "type":5, //包含元素类型,1:住宿信息,2:景点,3:餐饮信息,4:购物信息,5:自由活动 ,"activityHour":1,//活动时间-小时 "activityMinute":5,//活动时间-分钟,这里是1个小时5分钟 "scenicCity":"杭州”,//活动城市, "activityContent":"啥都有”//活动推荐 } JsonStr string `json:"json_str,omitempty" xml:"json_str,omitempty"` // 必填,第几天的行程信息 Day int64 `json:"day,omitempty" xml:"day,omitempty"` // 必填,包含元素类型,1:住宿信息,2:景点,3:餐饮信息,4:购物信息,5:自由活动 Type int64 `json:"type,omitempty" xml:"type,omitempty"` }
GroupTourTripElement 结构体
func GetGroupTourTripElement ¶ added in v1.3.4
func GetGroupTourTripElement() *GroupTourTripElement
GetGroupTourTripElement() 从对象池中获取GroupTourTripElement
type HighLights ¶
type HighLights struct { // 图片列表 PicUrls []string `json:"pic_urls,omitempty" xml:"pic_urls>string,omitempty"` // 亮点标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 亮点描述 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` }
HighLights 结构体
func GetHighLights ¶ added in v1.3.4
func GetHighLights() *HighLights
GetHighLights() 从对象池中获取HighLights
type ItemBaseInfo ¶
type ItemBaseInfo struct { // 商品亮点 SubTitles []string `json:"sub_titles,omitempty" xml:"sub_titles>string,omitempty"` // ["xxxx","xxxxx"] PicUrls []string `json:"pic_urls,omitempty" xml:"pic_urls>string,omitempty"` // 商品标签 ItemTagContent string `json:"item_tag_content,omitempty" xml:"item_tag_content,omitempty"` // 手机端商品描述 WapDesc string `json:"wap_desc,omitempty" xml:"wap_desc,omitempty"` // 目的地 ToLocations string `json:"to_locations,omitempty" xml:"to_locations,omitempty"` // 商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 宝贝所在地省 Prov string `json:"prov,omitempty" xml:"prov,omitempty"` // 商家备注 OuterTitle string `json:"outer_title,omitempty" xml:"outer_title,omitempty"` // 商户的商品编码 OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"` // 出发地 FromLocations string `json:"from_locations,omitempty" xml:"from_locations,omitempty"` // 商品描述(PC描述) Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 宝贝所在地市 City string `json:"city,omitempty" xml:"city,omitempty"` // 最小出行天数 TripMinDays int64 `json:"trip_min_days,omitempty" xml:"trip_min_days,omitempty"` // 最大出行天数 TripMaxDays int64 `json:"trip_max_days,omitempty" xml:"trip_max_days,omitempty"` // 商品类型:1-国内跟团游 2-国内自由行 3-出境跟团游 4-出境自由行 5-境外当地玩乐 6-国际邮轮 7-国内当地玩乐 9-国内邮轮 10-同城玩乐 ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"` // 商品类目id CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 行程晚数 AccomNights int64 `json:"accom_nights,omitempty" xml:"accom_nights,omitempty"` }
ItemBaseInfo 结构体
func GetItemBaseInfo ¶ added in v1.3.4
func GetItemBaseInfo() *ItemBaseInfo
GetItemBaseInfo() 从对象池中获取ItemBaseInfo
type ItemEleCertInfo ¶
type ItemEleCertInfo struct { // 殊必填(expiryDateType为1或2时必填),电子凭证 有效期 结束时间 ExpiryDateEnd string `json:"expiry_date_end,omitempty" xml:"expiry_date_end,omitempty"` // 特殊必填(expiryDateType为1时必填),电子凭证 有效期 开始时间 ExpiryDateStart string `json:"expiry_date_start,omitempty" xml:"expiry_date_start,omitempty"` // 可选,售中自动退款比例,0~100。默认为0,即不支持售中自动退款;当值为1~100时表示售中自动退款的比例 AutoRefundRate int64 `json:"auto_refund_rate,omitempty" xml:"auto_refund_rate,omitempty"` // 可选,过期自动退款比例,0~100。默认为0,即不支持过期自动退款比例;当值为1~100时表示过期自动退款的比例 ExpiredRefundRate int64 `json:"expired_refund_rate,omitempty" xml:"expired_refund_rate,omitempty"` // 必填,电子凭证有效期 过期类型。1:xxxx-xx-xx 到 xxxx-xx-xx; 2:购买成功日 至 xxxx-xx-xx; 3:购买成功 xx 天内有效 ExpiryDateType int64 `json:"expiry_date_type,omitempty" xml:"expiry_date_type,omitempty"` // 特殊必填(expiryDateType为3时必填),电子凭证 有效期 天数 ExpiryDays int64 `json:"expiry_days,omitempty" xml:"expiry_days,omitempty"` // 必填,核销门店库id PackageId int64 `json:"package_id,omitempty" xml:"package_id,omitempty"` }
ItemEleCertInfo 结构体
func GetItemEleCertInfo ¶ added in v1.3.4
func GetItemEleCertInfo() *ItemEleCertInfo
GetItemEleCertInfo() 从对象池中获取ItemEleCertInfo
type ItemHotel ¶
type ItemHotel struct { // 酒店描述 HotelDesc string `json:"hotel_desc,omitempty" xml:"hotel_desc,omitempty"` // POI来源,AMAP/GOOGLE。境内为高德(AMAP) 境外为GOOGLE PoiResource string `json:"poi_resource,omitempty" xml:"poi_resource,omitempty"` // 酒店的经纬度信息,经度在前,纬度在后,英文逗号分隔 最多支持6位小数,如120.111222,30.111222 Poi string `json:"poi,omitempty" xml:"poi,omitempty"` // 必填,酒店房型 HouseType string `json:"house_type,omitempty" xml:"house_type,omitempty"` // 必填,酒店等级 HotelLevel string `json:"hotel_level,omitempty" xml:"hotel_level,omitempty"` // 必填,酒店名称 CnName string `json:"cn_name,omitempty" xml:"cn_name,omitempty"` // 必填,所在城市 City string `json:"city,omitempty" xml:"city,omitempty"` // 关联的套餐id RelatedPackageId int64 `json:"related_package_id,omitempty" xml:"related_package_id,omitempty"` // 晚数 HotelDays int64 `json:"hotel_days,omitempty" xml:"hotel_days,omitempty"` }
ItemHotel 结构体
type ItemHotelInfo ¶
type ItemHotelInfo struct { // 结构化酒店信息 酒店结构化信息和文本描述二选一 HotelList []ItemHotel `json:"hotel_list,omitempty" xml:"hotel_list>item_hotel,omitempty"` }
ItemHotelInfo 结构体
func GetItemHotelInfo ¶ added in v1.3.4
func GetItemHotelInfo() *ItemHotelInfo
GetItemHotelInfo() 从对象池中获取ItemHotelInfo
type ItemItineraryInfo ¶
type ItemItineraryInfo struct { // 小于等于30字 Title string `json:"title,omitempty" xml:"title,omitempty"` // 必填,1.可选择纯文本 2.使用xml标签(img和txt)进行图文混排,目前仅支持一段文字和多张图片,如果文件有多段,将会被合并 3.每段行程文字总和小于1500字 Content string `json:"content,omitempty" xml:"content,omitempty"` // 行程编号,第一天行程为1,第二天行程为2 ItineraryNo int64 `json:"itinerary_no,omitempty" xml:"itinerary_no,omitempty"` }
ItemItineraryInfo 结构体
func GetItemItineraryInfo ¶ added in v1.3.4
func GetItemItineraryInfo() *ItemItineraryInfo
GetItemItineraryInfo() 从对象池中获取ItemItineraryInfo
type ItemRefundInfo ¶
type ItemRefundInfo struct { // 退改规则 1)格式:标准规则 或 自定义规则:a_a_num,a_b_num,b-1_c_num,c-1_c-1_num 2)规则:自定义规则里最多可含5组规则 RefundRegulations []string `json:"refund_regulations,omitempty" xml:"refund_regulations>string,omitempty"` // 退款规则(json数组格式)。自定义退改时需填写(与refund_regulations字段二选一)。示例中一共包含4条规则(3条平日规则,1条节假日规则),按照顺序每条规则含义如下:出行前5日及以上,买家违约收取总费用的50,卖家违约收取总费用的20;出行前4日至1日,买家违约收取总费用的80,卖家违约收取总费用的50;行程开始当天,买家违约收取总费用的100,卖家违约收取总费用的70;如果行程日期包含节假日,则节假日条款为买家违约收取总费用的100,卖家违约收取总费用的90 RefundRegulationsJson string `json:"refund_regulations_json,omitempty" xml:"refund_regulations_json,omitempty"` // 退改规则类型,0为标准,1为自定义 2为不支持退改规则。不传默认为0 RefundType int64 `json:"refund_type,omitempty" xml:"refund_type,omitempty"` }
ItemRefundInfo 结构体
func GetItemRefundInfo ¶ added in v1.3.4
func GetItemRefundInfo() *ItemRefundInfo
GetItemRefundInfo() 从对象池中获取ItemRefundInfo
type ItemResourceInfo ¶
type ItemResourceInfo struct { // 对应的说明 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 1-保险 2-餐饮 3-租车 4-签证 5-购物点,预留 6-赠品,预留 7-券,预留 8-其他费用 Type int64 `json:"type,omitempty" xml:"type,omitempty"` // 关联的套餐id RelatedPackageId int64 `json:"related_package_id,omitempty" xml:"related_package_id,omitempty"` }
ItemResourceInfo 结构体
func GetItemResourceInfo ¶ added in v1.3.4
func GetItemResourceInfo() *ItemResourceInfo
GetItemResourceInfo() 从对象池中获取ItemResourceInfo
type ItemSaleInfo ¶
type ItemSaleInfo struct { // 关联商品与店铺类目 结构:",cid1,cid2,...,",如果店铺类目存在二级类目,必须传入子类目cids。 支持的最大列表长度为:256; 关于如何获取cid,请参考该接口:http://open.taobao.com/doc2/apiDetail.htm?apiId=65 SellerCids []string `json:"seller_cids,omitempty" xml:"seller_cids>string,omitempty"` // 预约商品必填,普通商品可不填。可选出发开始日期,格式:yyyy-MM-dd。对于普通商品,根据日历库存的最早时间来自动计算。对于预约商品则为必填字段 StartComboDate string `json:"start_combo_date,omitempty" xml:"start_combo_date,omitempty"` // 商品秒杀,商品秒杀三个值:可选类型web_only(只能通过web网络秒杀),wap_only(只能通过wap网络秒杀),web_and_wap(既能通过web秒杀也能通过wap秒杀) SecondKill string `json:"second_kill,omitempty" xml:"second_kill,omitempty"` // 电子凭证网点ID NetworkId string `json:"network_id,omitempty" xml:"network_id,omitempty"` // 电子凭证码商,格式为:码商id:码商nick。电子凭证的卖家规则详见:http://bangpai.taobao.com/group/thread/14051111-283426841.htm Merchant string `json:"merchant,omitempty" xml:"merchant,omitempty"` // 预约商品必填,普通商品可不填。可选出发结束日期,格式:年-月-日 日期必须是最近300天内的,最早和最晚日期跨度最大为180天。对于普通商品,根据日历库存的最晚时间来自动计算;对于预约商品则为必填字段 EndComboDate string `json:"end_combo_date,omitempty" xml:"end_combo_date,omitempty"` // 预约商品必填,普通商品不填。预约商品开始时间,格式:yyyy-MM-dd HH:mm BcStartDate string `json:"bc_start_date,omitempty" xml:"bc_start_date,omitempty"` // 新版电子凭证参数结构 ItemEleCertInfo *ItemEleCertInfo `json:"item_ele_cert_info,omitempty" xml:"item_ele_cert_info,omitempty"` // 资源确认时长。1:2个工作小时内确认,2:6个工作小时内确认,3:9个工作小时内确认,4:18个工作小时内确认(只有境外目的地商品支持18小时确认,境内商品最长9小时) ConfirmTime int64 `json:"confirm_time,omitempty" xml:"confirm_time,omitempty"` // 资源确认方式。1:即时确认,2:二次确认 ConfirmType int64 `json:"confirm_type,omitempty" xml:"confirm_type,omitempty"` // 扣库存方式。1:拍下减库存,2:付款减库存 SubStock int64 `json:"sub_stock,omitempty" xml:"sub_stock,omitempty"` // 商品售卖类型,1. 普通商品 2. 预约商品 3. 拍卖商品 4. 非日历商品;默认为1。 SaleType int64 `json:"sale_type,omitempty" xml:"sale_type,omitempty"` // 至少提前天数,最晚成团提前天数,最小0天,最大为300天;不传则为0 Duration int64 `json:"duration,omitempty" xml:"duration,omitempty"` // 电子凭证是否支持系统自动退款,true则表示支持 SupportOnsaleAutoRefund bool `json:"support_onsale_auto_refund,omitempty" xml:"support_onsale_auto_refund,omitempty"` // 是否橱窗推荐,可选值:true,false;默认值:false(不推荐) HasShowcase bool `json:"has_showcase,omitempty" xml:"has_showcase,omitempty"` // 已废弃。是否提供发票 默认为false 仅C商家需要设置该值 B商家强制提供发票 HasInvoice bool `json:"has_invoice,omitempty" xml:"has_invoice,omitempty"` // 是否支持会员打折。可选值:true,false;默认值:false(不打折)。不传的话默认为false HasDiscount bool `json:"has_discount,omitempty" xml:"has_discount,omitempty"` }
ItemSaleInfo 结构体
func GetItemSaleInfo ¶ added in v1.3.4
func GetItemSaleInfo() *ItemSaleInfo
GetItemSaleInfo() 从对象池中获取ItemSaleInfo
type ItemScenic ¶
type ItemScenic struct { // 关联的套餐id RelatedPackageId string `json:"related_package_id,omitempty" xml:"related_package_id,omitempty"` // 必填,门票类型 TicketType string `json:"ticket_type,omitempty" xml:"ticket_type,omitempty"` // POI来源,AMAP/GOOGLE。境内为高德(AMAP) 境外为GOOGLE PoiResource string `json:"poi_resource,omitempty" xml:"poi_resource,omitempty"` // 景点的经纬度信息,经度在前,纬度在后,英文逗号分隔 最多支持6位小数,如120.111222,30.111222 Poi string `json:"poi,omitempty" xml:"poi,omitempty"` // 必填,景点名称 CnName string `json:"cn_name,omitempty" xml:"cn_name,omitempty"` // 必填,景点所在城市 City string `json:"city,omitempty" xml:"city,omitempty"` }
ItemScenic 结构体
func GetItemScenic ¶ added in v1.3.4
func GetItemScenic() *ItemScenic
GetItemScenic() 从对象池中获取ItemScenic
type ItemScenicInfo ¶
type ItemScenicInfo struct { // 结构化景点信息 景点结构化信息和文本描述二选一 ScenicList []ItemScenic `json:"scenic_list,omitempty" xml:"scenic_list>item_scenic,omitempty"` }
ItemScenicInfo 结构体
func GetItemScenicInfo ¶ added in v1.3.4
func GetItemScenicInfo() *ItemScenicInfo
GetItemScenicInfo() 从对象池中获取ItemScenicInfo
type ItemSkuInfo ¶
type ItemSkuInfo struct { // 套餐关联的产品元素信息 Products []Product `json:"products,omitempty" xml:"products>product,omitempty"` // 套餐的日历价格库存。如果是预约商品,只需要填写一个Price,并且,不需要填写Price中的date字段不填,且预约商品只有成人价格和库存。 Prices []Prices `json:"prices,omitempty" xml:"prices>prices,omitempty"` // 套餐下面对应商品元素信息 仅针对新版商品 Combos string `json:"combos,omitempty" xml:"combos,omitempty"` // 套餐名称 PackageName string `json:"package_name,omitempty" xml:"package_name,omitempty"` // 套餐描述 PackageDesc string `json:"package_desc,omitempty" xml:"package_desc,omitempty"` // 映射到具体日历价格套餐的外部商家编码 OuterSkuId string `json:"outer_sku_id,omitempty" xml:"outer_sku_id,omitempty"` // 邮轮房型名称 RoomTypeName string `json:"room_type_name,omitempty" xml:"room_type_name,omitempty"` // 套餐id PackageId int64 `json:"package_id,omitempty" xml:"package_id,omitempty"` // 邮轮房型ID RoomTypeId int64 `json:"room_type_id,omitempty" xml:"room_type_id,omitempty"` // 邮轮房型类型 RoomType int64 `json:"room_type,omitempty" xml:"room_type,omitempty"` // 邮轮房型人数 PeopleNumber int64 `json:"people_number,omitempty" xml:"people_number,omitempty"` // 必填,套餐操作:1-增加一个套餐,2-删除一个套餐(根据outer_sku_id定位该套餐),3-覆盖修改一个套餐(根据outer_sku_id定位该套餐) PackageOperation int64 `json:"package_operation,omitempty" xml:"package_operation,omitempty"` // 邮轮下单是否限制人数和房型人数一致 OrderCountMatch bool `json:"order_count_match,omitempty" xml:"order_count_match,omitempty"` }
ItemSkuInfo 结构体
func GetItemSkuInfo ¶ added in v1.3.4
func GetItemSkuInfo() *ItemSkuInfo
GetItemSkuInfo() 从对象池中获取ItemSkuInfo
type ItemTraffic ¶
type ItemTraffic struct { // 交通公司名,飞机选填 Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"` // 参考班次号,飞机需要填航班号,火车需要填车次号,汽车和船可不填 TrafficNo string `json:"traffic_no,omitempty" xml:"traffic_no,omitempty"` // 飞机机型,飞机选填 PlaneType string `json:"plane_type,omitempty" xml:"plane_type,omitempty"` // 到达城市 Destination string `json:"destination,omitempty" xml:"destination,omitempty"` // 出发时间,当地时间HH:mm DepartureTime string `json:"departure_time,omitempty" xml:"departure_time,omitempty"` // 出发城市 Departure string `json:"departure,omitempty" xml:"departure,omitempty"` // 到达时间,当地时间HH:mm ArrivalTime string `json:"arrival_time,omitempty" xml:"arrival_time,omitempty"` // 关联的套餐id RelatedPackageId int64 `json:"related_package_id,omitempty" xml:"related_package_id,omitempty"` }
ItemTraffic 结构体
func GetItemTraffic ¶ added in v1.3.4
func GetItemTraffic() *ItemTraffic
GetItemTraffic() 从对象池中获取ItemTraffic
type ItemTrafficInfo ¶
type ItemTrafficInfo struct { // 详细交通信息结构。【注意】当traffic_type选择飞机或火车时,该字段为必填,汽车或轮船时该字段不用填。 Traffics []ItemTraffic `json:"traffics,omitempty" xml:"traffics>item_traffic,omitempty"` // 必填,交通类型。1/2/3/4 分别对应 飞机/火车/汽车/船 TrafficType int64 `json:"traffic_type,omitempty" xml:"traffic_type,omitempty"` }
ItemTrafficInfo 结构体
func GetItemTrafficInfo ¶ added in v1.3.4
func GetItemTrafficInfo() *ItemTrafficInfo
GetItemTrafficInfo() 从对象池中获取ItemTrafficInfo
type ItineraryActivity ¶
type ItineraryActivity struct { // 活动图片列表,多个图片以英文逗号分隔 Images []string `json:"images,omitempty" xml:"images>string,omitempty"` // 活动标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 活动内容文本描述 Txt string `json:"txt,omitempty" xml:"txt,omitempty"` // 活动预计时长,小时数 Hour int64 `json:"hour,omitempty" xml:"hour,omitempty"` // 活动预计时长,分钟数 Minute int64 `json:"minute,omitempty" xml:"minute,omitempty"` }
ItineraryActivity 结构体
func GetItineraryActivity ¶ added in v1.3.4
func GetItineraryActivity() *ItineraryActivity
GetItineraryActivity() 从对象池中获取ItineraryActivity
type NoDateSkuInfo ¶
type NoDateSkuInfo struct { // sku销售属性别名;如套餐1 需要调整成其他 需要在这里修改 Alias []PropertyAliasInfo `json:"alias,omitempty" xml:"alias>property_alias_info,omitempty"` // SKU销售属性列表,若未填写,其他sku信息不会生效;由类目的属性PID和VID组成,属性的pid调用taobao.itemprops.get取得,属性值的vid用taobao.itempropvalues.get取得vid。如果该类目下面没有属性,可以不用填写。如果有属性,必选属性必填,其他非必选属性可以选择不填写.属性不能超过35对。 Properties []CatPropInfo `json:"properties,omitempty" xml:"properties>cat_prop_info,omitempty"` // sku商家编码 OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // Sku的销售价格。单位:分。如:20007,表示:200元7分。修改后的sku价格要保证商品的价格在所有sku价格所形成的价格区间内(例如:商品价格为6元,sku价格有5元、10元两种,如果要修改5元sku的价格,那么修改的范围只能是0-6元之间;如果要修改10元的sku,那么修改的范围只能是6到无穷大的区间中) Price int64 `json:"price,omitempty" xml:"price,omitempty"` // Sku的库存数量。sku的总数量应该小于等于商品总数量(Item的NUM),sku数量变化后item的总数量也会随着变化。取值范围:大于等于零的整数 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` }
NoDateSkuInfo 结构体
func GetNoDateSkuInfo ¶ added in v1.3.4
func GetNoDateSkuInfo() *NoDateSkuInfo
GetNoDateSkuInfo() 从对象池中获取NoDateSkuInfo
type Poi ¶
type Poi struct { // POI对应的名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // POI对应ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
Poi 结构体
type PontusTravelBookingRuleInfo ¶
type PontusTravelBookingRuleInfo struct { // 分点组织的规则说明 RuleList []string `json:"rule_list,omitempty" xml:"rule_list>string,omitempty"` // 规则说明,1500个字符 RuleDesc string `json:"rule_desc,omitempty" xml:"rule_desc,omitempty"` // Fee_Included:费用包含,跟团游必填; Fee_Excluded:费用不含,所有类目必填; Order_Info:预定须知; Extra_Cost:其他费用,预留; Shopping:购物说明,预留 RuleType string `json:"rule_type,omitempty" xml:"rule_type,omitempty"` }
PontusTravelBookingRuleInfo 结构体
func GetPontusTravelBookingRuleInfo ¶ added in v1.3.4
func GetPontusTravelBookingRuleInfo() *PontusTravelBookingRuleInfo
GetPontusTravelBookingRuleInfo() 从对象池中获取PontusTravelBookingRuleInfo
type PontusTravelFreedomItemExt ¶
type PontusTravelFreedomItemExt struct { // 其他资源信息 OtherInfos []PontusTravelItemResourceInfo `json:"other_infos,omitempty" xml:"other_infos>pontus_travel_item_resource_info,omitempty"` // 自由行交通信息详细描述 TrafficDesc string `json:"traffic_desc,omitempty" xml:"traffic_desc,omitempty"` // 回程交通信息 BackTrafficInfo *PontusTravelItemTrafficInfo `json:"back_traffic_info,omitempty" xml:"back_traffic_info,omitempty"` // 去程交通信息 GoTrafficInfo *PontusTravelItemTrafficInfo `json:"go_traffic_info,omitempty" xml:"go_traffic_info,omitempty"` // 酒店信息 HotelInfos *PontusTravelItemHotelInfo `json:"hotel_infos,omitempty" xml:"hotel_infos,omitempty"` // 景点信息 ScenicInfos *PontusTravelItemScenicInfo `json:"scenic_infos,omitempty" xml:"scenic_infos,omitempty"` }
PontusTravelFreedomItemExt 结构体
func GetPontusTravelFreedomItemExt ¶ added in v1.3.4
func GetPontusTravelFreedomItemExt() *PontusTravelFreedomItemExt
GetPontusTravelFreedomItemExt() 从对象池中获取PontusTravelFreedomItemExt
type PontusTravelFullTravelItem ¶
type PontusTravelFullTravelItem struct { // 预定规则 BookingRules []PontusTravelBookingRuleInfo `json:"booking_rules,omitempty" xml:"booking_rules>pontus_travel_booking_rule_info,omitempty"` // 行程信息 Itineraries []PontusTravelItemItineraryInfo `json:"itineraries,omitempty" xml:"itineraries>pontus_travel_item_itinerary_info,omitempty"` // sku信息 SkuInfos []PontusTravelItemSkuInfo `json:"sku_infos,omitempty" xml:"sku_infos>pontus_travel_item_sku_info,omitempty"` // 产品亮点 HighLights []HighLights `json:"high_lights,omitempty" xml:"high_lights>high_lights,omitempty"` // 创建时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 修改时间 Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 商品特征数据 Features string `json:"features,omitempty" xml:"features,omitempty"` // 新版行程信息 RefTrip string `json:"ref_trip,omitempty" xml:"ref_trip,omitempty"` // 商品基本信息 BaseInfo *PontusTravelItemBaseInfo `json:"base_info,omitempty" xml:"base_info,omitempty"` // 自由行相关信息 FreedomItemExt *PontusTravelFreedomItemExt `json:"freedom_item_ext,omitempty" xml:"freedom_item_ext,omitempty"` // 跟团游相关信息 GroupItemExt *PontusTravelGroupItemExt `json:"group_item_ext,omitempty" xml:"group_item_ext,omitempty"` // 商品id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品状态。0,1正常;-1:用户删除;-2:用户下架;-3 小二下架;-4 小二删除;-5 从未上架;-9 被处罚 ItemStatus int64 `json:"item_status,omitempty" xml:"item_status,omitempty"` // 商品类型 ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"` // 退改规则信息 RefundInfo *PontusTravelItemRefundInfo `json:"refund_info,omitempty" xml:"refund_info,omitempty"` // 销售属性信息 SaleInfo *PontusTravelItemSaleInfo `json:"sale_info,omitempty" xml:"sale_info,omitempty"` // 卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 同城活动商品相关信息 TcwlItemExt *TcwlItemExt `json:"tcwl_item_ext,omitempty" xml:"tcwl_item_ext,omitempty"` // 航旅度假TOP API3.0 邮轮扩展信息结构 CruiseItemExt *CruiseItemExt `json:"cruise_item_ext,omitempty" xml:"cruise_item_ext,omitempty"` }
PontusTravelFullTravelItem 结构体
func GetPontusTravelFullTravelItem ¶ added in v1.3.4
func GetPontusTravelFullTravelItem() *PontusTravelFullTravelItem
GetPontusTravelFullTravelItem() 从对象池中获取PontusTravelFullTravelItem
type PontusTravelGatherPlaceInfo ¶
type PontusTravelGatherPlaceInfo struct { // 地点名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 集合地经纬度,英文逗号分隔。经度在前,纬度在后,英文逗号分隔最多支持6位小数,如120.111222,30.111222 Poi string `json:"poi,omitempty" xml:"poi,omitempty"` // POI来源,AMAP/GOOGLE。境内为高德(AMAP) 境外为GOOGLE PoiResource string `json:"poi_resource,omitempty" xml:"poi_resource,omitempty"` }
PontusTravelGatherPlaceInfo 结构体
func GetPontusTravelGatherPlaceInfo ¶ added in v1.3.4
func GetPontusTravelGatherPlaceInfo() *PontusTravelGatherPlaceInfo
GetPontusTravelGatherPlaceInfo() 从对象池中获取PontusTravelGatherPlaceInfo
type PontusTravelGroupItemExt ¶
type PontusTravelGroupItemExt struct { // 集合地信息 GatherPlaces []PontusTravelGatherPlaceInfo `json:"gather_places,omitempty" xml:"gather_places>pontus_travel_gather_place_info,omitempty"` // 必填,回程交通信息 BackTrafficInfo *PontusTravelItemTrafficInfo `json:"back_traffic_info,omitempty" xml:"back_traffic_info,omitempty"` // 必填,去程交通信息 GoTrafficInfo *PontusTravelItemTrafficInfo `json:"go_traffic_info,omitempty" xml:"go_traffic_info,omitempty"` // 必填,线路类型,0 为目的地参团 1为出发地参团 RouteType int64 `json:"route_type,omitempty" xml:"route_type,omitempty"` // 是否支持电子合同,默认不支持 Electronic bool `json:"electronic,omitempty" xml:"electronic,omitempty"` }
PontusTravelGroupItemExt 结构体
func GetPontusTravelGroupItemExt ¶ added in v1.3.4
func GetPontusTravelGroupItemExt() *PontusTravelGroupItemExt
GetPontusTravelGroupItemExt() 从对象池中获取PontusTravelGroupItemExt
type PontusTravelItemBaseInfo ¶
type PontusTravelItemBaseInfo struct { // 商品主图 PicUrls []string `json:"pic_urls,omitempty" xml:"pic_urls>string,omitempty"` // 商品亮点 SubTitles []string `json:"sub_titles,omitempty" xml:"sub_titles>string,omitempty"` // 宝贝所在地市 City string `json:"city,omitempty" xml:"city,omitempty"` // 商品描述(PC描述) Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 出发地 FromLocations string `json:"from_locations,omitempty" xml:"from_locations,omitempty"` // 商户的商品编码 OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"` // 商家备注 OuterTitle string `json:"outer_title,omitempty" xml:"outer_title,omitempty"` // 宝贝所在地省 Prov string `json:"prov,omitempty" xml:"prov,omitempty"` // 商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 目的地 ToLocations string `json:"to_locations,omitempty" xml:"to_locations,omitempty"` // 手机端商品描述 WapDesc string `json:"wap_desc,omitempty" xml:"wap_desc,omitempty"` // 商品标签 ItemTagContent string `json:"item_tag_content,omitempty" xml:"item_tag_content,omitempty"` // 行程晚数 AccomNights int64 `json:"accom_nights,omitempty" xml:"accom_nights,omitempty"` // 商品类目id CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 商品类型:1-国内跟团游 2-国内自由行 3-出境跟团游 4-出境自由行 5-境外当地玩乐 6-国际邮轮 7-国内当地玩乐 9-国内邮轮 10-同城玩乐 ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"` // 最大出行天数 TripMaxDays int64 `json:"trip_max_days,omitempty" xml:"trip_max_days,omitempty"` // 最小出行天数 TripMinDays int64 `json:"trip_min_days,omitempty" xml:"trip_min_days,omitempty"` }
PontusTravelItemBaseInfo 结构体
func GetPontusTravelItemBaseInfo ¶ added in v1.3.4
func GetPontusTravelItemBaseInfo() *PontusTravelItemBaseInfo
GetPontusTravelItemBaseInfo() 从对象池中获取PontusTravelItemBaseInfo
type PontusTravelItemEleCertInfo ¶
type PontusTravelItemEleCertInfo struct { // 电子凭证 有效期 开始时间 ExpiryDateStart string `json:"expiry_date_start,omitempty" xml:"expiry_date_start,omitempty"` // 电子凭证 有效期 结束时间 ExpiryDateEnd string `json:"expiry_date_end,omitempty" xml:"expiry_date_end,omitempty"` // 电子凭证有效期 过期类型。1:xxxx-xx-xx 到 xxxx-xx-xx; 2:购买成功日 至 xxxx-xx-xx; 3:购买成功 xx 天内有效 ExpiryDateType int64 `json:"expiry_date_type,omitempty" xml:"expiry_date_type,omitempty"` // 电子凭证 有效期 天数 ExpiryDays int64 `json:"expiry_days,omitempty" xml:"expiry_days,omitempty"` // 核销门店库id PackageId int64 `json:"package_id,omitempty" xml:"package_id,omitempty"` // 售中自动退款比例 AutoRefundRate int64 `json:"auto_refund_rate,omitempty" xml:"auto_refund_rate,omitempty"` // 过期自动退款比例 ExpiredRefundRate int64 `json:"expired_refund_rate,omitempty" xml:"expired_refund_rate,omitempty"` }
PontusTravelItemEleCertInfo 结构体
func GetPontusTravelItemEleCertInfo ¶ added in v1.3.4
func GetPontusTravelItemEleCertInfo() *PontusTravelItemEleCertInfo
GetPontusTravelItemEleCertInfo() 从对象池中获取PontusTravelItemEleCertInfo
type PontusTravelItemHotel ¶
type PontusTravelItemHotel struct { // 必填,所在城市 City string `json:"city,omitempty" xml:"city,omitempty"` // 必填,酒店名称 CnName string `json:"cn_name,omitempty" xml:"cn_name,omitempty"` // 必填,酒店等级 HotelLevel string `json:"hotel_level,omitempty" xml:"hotel_level,omitempty"` // 必填,酒店房型 HouseType string `json:"house_type,omitempty" xml:"house_type,omitempty"` // 酒店的经纬度信息,经度在前,纬度在后,英文逗号分隔 最多支持6位小数,如120.111222,30.111222 Poi string `json:"poi,omitempty" xml:"poi,omitempty"` // POI来源,AMAP/GOOGLE。境内为高德(AMAP) 境外为GOOGLE PoiResource string `json:"poi_resource,omitempty" xml:"poi_resource,omitempty"` }
PontusTravelItemHotel 结构体
func GetPontusTravelItemHotel ¶ added in v1.3.4
func GetPontusTravelItemHotel() *PontusTravelItemHotel
GetPontusTravelItemHotel() 从对象池中获取PontusTravelItemHotel
type PontusTravelItemHotelInfo ¶
type PontusTravelItemHotelInfo struct { // 结构化酒店信息 酒店结构化信息和文本描述二选一 HotelList []PontusTravelItemHotel `json:"hotel_list,omitempty" xml:"hotel_list>pontus_travel_item_hotel,omitempty"` // 酒店描述文本,<1500字符 酒店结构化信息和文本描述二选一 HotelDesc string `json:"hotel_desc,omitempty" xml:"hotel_desc,omitempty"` // 必填,默认为0 必须大于等于0, 且小于或等于行程晚数 HotelDays int64 `json:"hotel_days,omitempty" xml:"hotel_days,omitempty"` }
PontusTravelItemHotelInfo 结构体
func GetPontusTravelItemHotelInfo ¶ added in v1.3.4
func GetPontusTravelItemHotelInfo() *PontusTravelItemHotelInfo
GetPontusTravelItemHotelInfo() 从对象池中获取PontusTravelItemHotelInfo
type PontusTravelItemItineraryInfo ¶
type PontusTravelItemItineraryInfo struct { // 必填,1.可选择纯文本 2.使用xml标签(img和txt)进行图文混排,目前仅支持一段文字和多张图片,如果文件有多段,将会被合并 3.每段行程文字总和小于1500字 Content string `json:"content,omitempty" xml:"content,omitempty"` // 小于等于30字 Title string `json:"title,omitempty" xml:"title,omitempty"` // 行程编号,第一天行程为1,第二天行程为2 ItineraryNo int64 `json:"itinerary_no,omitempty" xml:"itinerary_no,omitempty"` }
PontusTravelItemItineraryInfo 结构体
func GetPontusTravelItemItineraryInfo ¶ added in v1.3.4
func GetPontusTravelItemItineraryInfo() *PontusTravelItemItineraryInfo
GetPontusTravelItemItineraryInfo() 从对象池中获取PontusTravelItemItineraryInfo
type PontusTravelItemRefundInfo ¶
type PontusTravelItemRefundInfo struct { // 退改规则 1)格式:标准规则 或 自定义规则:a_a_num 2)规则:自定义规则里最多可含5组规则 RefundRegulations []string `json:"refund_regulations,omitempty" xml:"refund_regulations>string,omitempty"` // 退改规则类型,0为标准,1为自定义,2为不支持退改规则。不传默认为0 RefundType int64 `json:"refund_type,omitempty" xml:"refund_type,omitempty"` }
PontusTravelItemRefundInfo 结构体
func GetPontusTravelItemRefundInfo ¶ added in v1.3.4
func GetPontusTravelItemRefundInfo() *PontusTravelItemRefundInfo
GetPontusTravelItemRefundInfo() 从对象池中获取PontusTravelItemRefundInfo
type PontusTravelItemResourceInfo ¶
type PontusTravelItemResourceInfo struct { // 小于1500字符 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 1-保险2-餐饮3-租车4-签证5-购物点6-赠品7-券99-其他 Type int64 `json:"type,omitempty" xml:"type,omitempty"` }
PontusTravelItemResourceInfo 结构体
func GetPontusTravelItemResourceInfo ¶ added in v1.3.4
func GetPontusTravelItemResourceInfo() *PontusTravelItemResourceInfo
GetPontusTravelItemResourceInfo() 从对象池中获取PontusTravelItemResourceInfo
type PontusTravelItemSaleInfo ¶
type PontusTravelItemSaleInfo struct { // 关联商品与店铺类目 结构:",cid1,cid2,...,",如果店铺类目存在二级类目,必须传入子类目cids。 支持的最大列表长度为:256; 关于如何获取cid,请参考该接口:http://open.taobao.com/doc2/apiDetail.htm?apiId=65 SellerCids []string `json:"seller_cids,omitempty" xml:"seller_cids>string,omitempty"` // 预约商品必填,普通商品不填。预约商品开始时间,格式:yyyy-MM-dd HH:mm BcStartDate string `json:"bc_start_date,omitempty" xml:"bc_start_date,omitempty"` // 预约商品必填,普通商品可不填。可选出发结束日期,格式:年-月-日 日期必须是最近300天内的,最早和最晚日期跨度最大为180天。对于普通商品,根据日历库存的最晚时间来自动计算;对于预约商品则为必填字段 EndComboDate string `json:"end_combo_date,omitempty" xml:"end_combo_date,omitempty"` // 电子凭证码商,格式为:码商id:码商nick。电子凭证的卖家规则详见:http://bangpai.taobao.com/group/thread/14051111-283426841.htm Merchant string `json:"merchant,omitempty" xml:"merchant,omitempty"` // 电子凭证网点ID NetworkId string `json:"network_id,omitempty" xml:"network_id,omitempty"` // 商品秒杀,商品秒杀三个值:可选类型web_only(只能通过web网络秒杀),wap_only(只能通过wap网络秒杀),web_and_wap(既能通过web秒杀也能通过wap秒杀) SecondKill string `json:"second_kill,omitempty" xml:"second_kill,omitempty"` // 预约商品必填,普通商品可不填。可选出发开始日期,格式:yyyy-MM-dd。对于普通商品,根据日历库存的最早时间来自动计算。对于预约商品则为必填字段 StartComboDate string `json:"start_combo_date,omitempty" xml:"start_combo_date,omitempty"` // 至少提前天数,最晚成团提前天数,最小0天,最大为300天;不传则为0 Duration int64 `json:"duration,omitempty" xml:"duration,omitempty"` // 商品售卖类型,1. 普通商品 2. 预约商品 3. 拍卖商品 4. 非日历商品;默认为1。 SaleType int64 `json:"sale_type,omitempty" xml:"sale_type,omitempty"` // 扣库存方式。1:拍下减库存,2:付款减库存 SubStock int64 `json:"sub_stock,omitempty" xml:"sub_stock,omitempty"` // 新版电子凭证参数结构 ItemEleCertInfo *PontusTravelItemEleCertInfo `json:"item_ele_cert_info,omitempty" xml:"item_ele_cert_info,omitempty"` // 资源确认方式。1:即时确认,2:二次确认 ConfirmType int64 `json:"confirm_type,omitempty" xml:"confirm_type,omitempty"` // 资源确认时长。1:2个工作小时内确认,2:6个工作小时内确认,3:9个工作小时内确认,4:18个工作小时内确认(只有境外目的地商品支持18小时确认,境内商品最长9小时) ConfirmTime int64 `json:"confirm_time,omitempty" xml:"confirm_time,omitempty"` // 是否支持会员打折。可选值:true,false;默认值:false(不打折)。不传的话默认为false HasDiscount bool `json:"has_discount,omitempty" xml:"has_discount,omitempty"` // 已废弃。是否提供发票 默认为false 仅C商家需要设置该值 B商家强制提供发票 HasInvoice bool `json:"has_invoice,omitempty" xml:"has_invoice,omitempty"` // 是否橱窗推荐,可选值:true,false;默认值:false(不推荐) HasShowcase bool `json:"has_showcase,omitempty" xml:"has_showcase,omitempty"` // 电子凭证是否支持系统自动退款,true则表示支持 SupportOnsaleAutoRefund bool `json:"support_onsale_auto_refund,omitempty" xml:"support_onsale_auto_refund,omitempty"` }
PontusTravelItemSaleInfo 结构体
func GetPontusTravelItemSaleInfo ¶ added in v1.3.4
func GetPontusTravelItemSaleInfo() *PontusTravelItemSaleInfo
GetPontusTravelItemSaleInfo() 从对象池中获取PontusTravelItemSaleInfo
type PontusTravelItemScenic ¶
type PontusTravelItemScenic struct { // 必填,景点所在城市 City string `json:"city,omitempty" xml:"city,omitempty"` // 必填,景点名称 CnName string `json:"cn_name,omitempty" xml:"cn_name,omitempty"` // 景点的经纬度信息,经度在前,纬度在后,英文逗号分隔 最多支持6位小数,如120.111222,30.111222 Poi string `json:"poi,omitempty" xml:"poi,omitempty"` // POI来源,AMAP/GOOGLE。境内为高德(AMAP) 境外为GOOGLE PoiResource string `json:"poi_resource,omitempty" xml:"poi_resource,omitempty"` // 必填,门票类型 TicketType string `json:"ticket_type,omitempty" xml:"ticket_type,omitempty"` }
PontusTravelItemScenic 结构体
func GetPontusTravelItemScenic ¶ added in v1.3.4
func GetPontusTravelItemScenic() *PontusTravelItemScenic
GetPontusTravelItemScenic() 从对象池中获取PontusTravelItemScenic
type PontusTravelItemScenicInfo ¶
type PontusTravelItemScenicInfo struct { // 结构化景点信息 景点结构化信息和文本描述二选一 ScenicList []PontusTravelItemScenic `json:"scenic_list,omitempty" xml:"scenic_list>pontus_travel_item_scenic,omitempty"` // 景点描述文本,<1500字符 景点结构化信息和文本描述二选一 ScenicDesc string `json:"scenic_desc,omitempty" xml:"scenic_desc,omitempty"` // 门票套餐名称 TicketPackageName string `json:"ticket_package_name,omitempty" xml:"ticket_package_name,omitempty"` }
PontusTravelItemScenicInfo 结构体
func GetPontusTravelItemScenicInfo ¶ added in v1.3.4
func GetPontusTravelItemScenicInfo() *PontusTravelItemScenicInfo
GetPontusTravelItemScenicInfo() 从对象池中获取PontusTravelItemScenicInfo
type PontusTravelItemSkuInfo ¶
type PontusTravelItemSkuInfo struct { // 套餐的日历价格库存。如果是预约商品,只需要填写一个Price,并且,不需要填写Price中的date字段不填,且预约商品只有成人价格和库存。 Prices []PontusTravelPrices `json:"prices,omitempty" xml:"prices>pontus_travel_prices,omitempty"` // 套餐关联的产品元素信息 Products []PontusTravelProduct `json:"products,omitempty" xml:"products>pontus_travel_product,omitempty"` // 映射到具体日历价格套餐的外部商家编码 OuterSkuId string `json:"outer_sku_id,omitempty" xml:"outer_sku_id,omitempty"` // 套餐描述 PackageDesc string `json:"package_desc,omitempty" xml:"package_desc,omitempty"` // 套餐名称 PackageName string `json:"package_name,omitempty" xml:"package_name,omitempty"` // 套餐下面对应商品元素信息 仅针对新版商品 Combos string `json:"combos,omitempty" xml:"combos,omitempty"` // 邮轮房型名称 RoomTypeName string `json:"room_type_name,omitempty" xml:"room_type_name,omitempty"` // 邮轮房型ID,新版本有值 RoomTypeId int64 `json:"room_type_id,omitempty" xml:"room_type_id,omitempty"` // 邮轮房型类型 RoomType int64 `json:"room_type,omitempty" xml:"room_type,omitempty"` // 人数 PeopleNumber int64 `json:"people_number,omitempty" xml:"people_number,omitempty"` // 下单人数是否与房型人数一致 OrderCountMatch bool `json:"order_count_match,omitempty" xml:"order_count_match,omitempty"` }
PontusTravelItemSkuInfo 结构体
func GetPontusTravelItemSkuInfo ¶ added in v1.3.4
func GetPontusTravelItemSkuInfo() *PontusTravelItemSkuInfo
GetPontusTravelItemSkuInfo() 从对象池中获取PontusTravelItemSkuInfo
type PontusTravelItemTraffic ¶
type PontusTravelItemTraffic struct { // 到达时间,当地时间HH:mm ArrivalTime string `json:"arrival_time,omitempty" xml:"arrival_time,omitempty"` // 出发城市 Departure string `json:"departure,omitempty" xml:"departure,omitempty"` // 出发时间,当地时间HH:mm DepartureTime string `json:"departure_time,omitempty" xml:"departure_time,omitempty"` // 到达城市 Destination string `json:"destination,omitempty" xml:"destination,omitempty"` // 飞机机型,飞机选填 PlaneType string `json:"plane_type,omitempty" xml:"plane_type,omitempty"` // 参考班次号,飞机需要填航班号,火车需要填车次号,汽车和船可不填 TrafficNo string `json:"traffic_no,omitempty" xml:"traffic_no,omitempty"` // 交通公司名,飞机选填 Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"` }
PontusTravelItemTraffic 结构体
func GetPontusTravelItemTraffic ¶ added in v1.3.4
func GetPontusTravelItemTraffic() *PontusTravelItemTraffic
GetPontusTravelItemTraffic() 从对象池中获取PontusTravelItemTraffic
type PontusTravelItemTrafficInfo ¶
type PontusTravelItemTrafficInfo struct { // 详细交通信息结构。【注意】当traffic_type选择飞机或火车时,该字段为必填,汽车或轮船时该字段不用填。 Traffics []PontusTravelItemTraffic `json:"traffics,omitempty" xml:"traffics>pontus_travel_item_traffic,omitempty"` // 必填,交通类型。1/2/3/4 分别对应 飞机/火车/汽车/船 TrafficType int64 `json:"traffic_type,omitempty" xml:"traffic_type,omitempty"` }
PontusTravelItemTrafficInfo 结构体
func GetPontusTravelItemTrafficInfo ¶ added in v1.3.4
func GetPontusTravelItemTrafficInfo() *PontusTravelItemTrafficInfo
GetPontusTravelItemTrafficInfo() 从对象池中获取PontusTravelItemTrafficInfo
type PontusTravelPrices ¶
type PontusTravelPrices struct { // 外部商家团期ID OuterPriceId string `json:"outer_price_id,omitempty" xml:"outer_price_id,omitempty"` // 日期。对于普通商品必填,对于预约商品该字段不填 Date string `json:"date,omitempty" xml:"date,omitempty"` // 价格类型。price_type 取:1-成人价,2-儿童价,3-单房差 PriceType int64 `json:"price_type,omitempty" xml:"price_type,omitempty"` // 库存 Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"` // 价格 Price int64 `json:"price,omitempty" xml:"price,omitempty"` // 日历价格库存的操作有以下三种:1-新增;2-增量更新;3-覆盖更新;4-删除。其中新增时成人价格和库存都必须大于0;增量更新只能对库存数进行修改,表示对某一天的成人或儿童新增或减少几个库存。覆盖更新能对库存和价格进行修改,表示用传入的值覆盖原有的库存和价格。删除支持删除单房差、儿童价格库存、成人价格库存,如果删除成人价格库存,则同时会把单房差和儿童价格库存也删除。 Operation int64 `json:"operation,omitempty" xml:"operation,omitempty"` }
PontusTravelPrices 结构体
func GetPontusTravelPrices ¶ added in v1.3.4
func GetPontusTravelPrices() *PontusTravelPrices
GetPontusTravelPrices() 从对象池中获取PontusTravelPrices
type PontusTravelProduct ¶
type PontusTravelProduct struct { // 资源元素的外部商家编码 ElementId string `json:"element_id,omitempty" xml:"element_id,omitempty"` // 元素份数 Num int64 `json:"num,omitempty" xml:"num,omitempty"` }
PontusTravelProduct 结构体
func GetPontusTravelProduct ¶ added in v1.3.4
func GetPontusTravelProduct() *PontusTravelProduct
GetPontusTravelProduct() 从对象池中获取PontusTravelProduct
type Prices ¶
type Prices struct { // 日期 Date string `json:"date,omitempty" xml:"date,omitempty"` // 外部商家团期ID OuterPriceId string `json:"outer_price_id,omitempty" xml:"outer_price_id,omitempty"` // 价格 Price int64 `json:"price,omitempty" xml:"price,omitempty"` // 库存 Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"` // 价格类型。price_type 取:1-成人价,2-儿童价,3-单房差 PriceType int64 `json:"price_type,omitempty" xml:"price_type,omitempty"` }
Prices 结构体
type Product ¶
type Product struct { // 描述 Descr string `json:"descr,omitempty" xml:"descr,omitempty"` // 资源元素的外部商家编码 ElementId string `json:"element_id,omitempty" xml:"element_id,omitempty"` // 关联的套餐id PackageId int64 `json:"package_id,omitempty" xml:"package_id,omitempty"` // 数量 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 是否主元素 MainProduct bool `json:"main_product,omitempty" xml:"main_product,omitempty"` }
Product 结构体
type ProductBaseInfo ¶
type ProductBaseInfo struct { // 商品图片路径。最多支持5张,第一张为主图 必填,其余四张可选填(多张图片间使用英文逗号分隔)。图片链接支持外链图片(即商家系统中图片链接,必须外网可访问,且格式为png、jpg或jpeg,大小在500k以内),或者用户淘宝空间内的图片链接。对于外链图片,将自动下载并上传用户淘宝图片空间,上传失败的外链图片将自动忽略不计。 PicUrls []string `json:"pic_urls,omitempty" xml:"pic_urls>string,omitempty"` // 商品亮点。1)目前最多支持4个亮点,超过4个的亮点描述不会被保存 2)每个亮点描述35个字符以内 3)每个亮点间用英文逗号分隔 SubTitles []string `json:"sub_titles,omitempty" xml:"sub_titles>string,omitempty"` // pc端商品描述,不超过50000个字符。详情描述支持纯文本描述,也支持html格式的详情描述。html格式的详情描述中 图片链接支持外链图片(必须外网可访问, 且格式为png、jpg或jpeg,大小在500k以内)和淘宝图片空间链接。 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 手机端描述。格式: 使用xml标签(shortDesc,txt和img)进行图文混排,shortDesc标签表示添加小标题,txt标签表示添加文本描述,img标签表示添加一张图片。 注意: 1)shortDesc,txt和img三个xml标签独立,可以乱序使用,但不能嵌套; 2)图片链接支持外链图片(必须外网可访问, 且格式为png、jpg或jpeg,大小在500k以内)和淘宝图片空间链接;3)手机端描述内容以wapDesc标签标示开始和结束 WapDesc string `json:"wap_desc,omitempty" xml:"wap_desc,omitempty"` // 目的地,所有商品必填,填写中文,以英文逗号分隔,最多可填12个,如果国家底下还有城市,则必须精确到城市。如果接口报错提示目的地不存在,则可登录商家基础信息映射管理后台(https://sell.alitrip.com/sell/basicdata/BasicDataMapping.htm)修正并生效映射关系,映射关系生效后,无法识别的目的地将自动替换为映射值 【重要提示-此字段会作为搜索/筛选条件】 ToLocations string `json:"to_locations,omitempty" xml:"to_locations,omitempty"` // 必填,商品标题。30个字符以内 【重要-此字段会作为搜索条件】 Title string `json:"title,omitempty" xml:"title,omitempty"` // 出发地(城市),填写中文,如果接口报错提示出发地不存在,则可登录商家基础信息映射管理后台(https://sell.alitrip.com/sell/basicdata/BasicDataMapping.htm)修正并生效映射关系,映射关系生效后,无法识别的出发地将自动替换为映射值 【重要提示-此属性会作为搜索/筛选条件】 FromLocations string `json:"from_locations,omitempty" xml:"from_locations,omitempty"` // 商家编码 OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"` // 旅游日程-天数 TripMaxDays int64 `json:"trip_max_days,omitempty" xml:"trip_max_days,omitempty"` // 必填,产品类型。目前仅支持 6-国际邮轮 9-境内邮轮 ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"` // 旅游日程-晚数,必须大于等于0,且小于等于旅游日程-天数。 这里注意下,trip_max_days(旅游日程-天数)>=accom_nights(旅游日程-晚数)>=hotel_days(住宿晚数) AccomNights int64 `json:"accom_nights,omitempty" xml:"accom_nights,omitempty"` // 可选,出行人模板id。模板id需要商家以店铺账号身份登录飞猪商家工作台,从卖家工具->出行人管理中获取。注意:如果传0则代表设置为不需要出行人模板或使用飞猪平台默认的类目模板。 TravellerTemplateId int64 `json:"traveller_template_id,omitempty" xml:"traveller_template_id,omitempty"` }
ProductBaseInfo 结构体
func GetProductBaseInfo ¶ added in v1.3.4
func GetProductBaseInfo() *ProductBaseInfo
GetProductBaseInfo() 从对象池中获取ProductBaseInfo
type ProductHighLights ¶
type ProductHighLights struct { // 产品亮点图片 PicUrls []string `json:"pic_urls,omitempty" xml:"pic_urls>string,omitempty"` // 产品亮点标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 产品亮点描述 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` }
ProductHighLights 结构体
func GetProductHighLights ¶ added in v1.3.4
func GetProductHighLights() *ProductHighLights
GetProductHighLights() 从对象池中获取ProductHighLights
type ProductSaleInfo ¶
type ProductSaleInfo struct { // 建议零售价上限,单位:元 PriceUpper string `json:"price_upper,omitempty" xml:"price_upper,omitempty"` // 建议零售价下限,单位:元 PriceLower string `json:"price_lower,omitempty" xml:"price_lower,omitempty"` // 可选出发结束日期,格式:yyyy-MM-dd EndComboDate string `json:"end_combo_date,omitempty" xml:"end_combo_date,omitempty"` // 可选出发开始日期,格式:yyyy-MM-dd StartComboDate string `json:"start_combo_date,omitempty" xml:"start_combo_date,omitempty"` // 可选,资源确认时长,当confirm_type=2时必填。1:2个工作小时内确认,2:6个工作小时内确认,3:9个工作小时内确认,4:18个工作小时内确认 ConfirmTime int64 `json:"confirm_time,omitempty" xml:"confirm_time,omitempty"` // 至少提前天数,最晚成团提前天数,最小0天,最大为300天;不传则为0 Duration int64 `json:"duration,omitempty" xml:"duration,omitempty"` // 产品线 ProductLine int64 `json:"product_line,omitempty" xml:"product_line,omitempty"` // 可选,资源确认类型。1-即时确认,2-二次确认。不传默认1 ConfirmType int64 `json:"confirm_type,omitempty" xml:"confirm_type,omitempty"` // 商品售卖类型,0为日历商品,1为预约商品,2为非日历商品;默认为0 SaleType int64 `json:"sale_type,omitempty" xml:"sale_type,omitempty"` // 是否支持经销 Distribute bool `json:"distribute,omitempty" xml:"distribute,omitempty"` // 是否支持代销 Agent bool `json:"agent,omitempty" xml:"agent,omitempty"` }
ProductSaleInfo 结构体
func GetProductSaleInfo ¶ added in v1.3.4
func GetProductSaleInfo() *ProductSaleInfo
GetProductSaleInfo() 从对象池中获取ProductSaleInfo
type PropertyAliasInfo ¶
type PropertyAliasInfo struct { // 销售属性的pid和vid,属性的pid调用taobao.itemprops.get取得,属性值的vid用taobao.itempropvalues.get取得vid Properties string `json:"properties,omitempty" xml:"properties,omitempty"` // 属性具体别名值 Value string `json:"value,omitempty" xml:"value,omitempty"` }
PropertyAliasInfo 结构体
func GetPropertyAliasInfo ¶ added in v1.3.4
func GetPropertyAliasInfo() *PropertyAliasInfo
GetPropertyAliasInfo() 从对象池中获取PropertyAliasInfo
type StructItinerary ¶
type StructItinerary struct { // 必填,当天行程包含的多个活动信息 Activities []ItineraryActivity `json:"activities,omitempty" xml:"activities>itinerary_activity,omitempty"` // 必填,行程序号,标识是第几天的行程 DayOrder int64 `json:"day_order,omitempty" xml:"day_order,omitempty"` }
StructItinerary 结构体
func GetStructItinerary ¶ added in v1.3.4
func GetStructItinerary() *StructItinerary
GetStructItinerary() 从对象池中获取StructItinerary
type TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest ¶
type TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest 【API3.0】度假线路商品发布时基础信息获取接口:地址数据查询 API请求 taobao.alitrip.travel.baseinfo.cities.get
旅行度假新商品发布时可用的扩展接口,用于获取可用的出发地或目的地城市列表。
func GetTaobaoAlitripTravelBaseinfoCitiesGetAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripTravelBaseinfoCitiesGetAPIRequest() *TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest
GetTaobaoAlitripTravelBaseinfoCitiesGetRequest 从 sync.Pool 获取 TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest
func NewTaobaoAlitripTravelBaseinfoCitiesGetRequest ¶
func NewTaobaoAlitripTravelBaseinfoCitiesGetRequest() *TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest
NewTaobaoAlitripTravelBaseinfoCitiesGetRequest 初始化TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest对象
func (TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) GetApiMethodName ¶
func (r TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) GetApiParams ¶
func (r TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) GetCatType ¶
func (r TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) GetCatType() int64
GetCatType CatType Getter
func (TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) GetIocType ¶
func (r TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) GetIocType() int64
GetIocType IocType Getter
func (TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) SetCatType ¶
func (r *TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) SetCatType(_catType int64) error
SetCatType is CatType Setter 1-境内跟团游 2-境内自由行 3-出境跟团游 4-出境自由行 5-境外当地玩乐 6-国际邮轮 9-境内邮轮
func (*TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) SetIocType ¶
func (r *TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest) SetIocType(_iocType int64) error
SetIocType is IocType Setter 1-获取目的地城市列表 2-获取出发地城市列表
type TaobaoAlitripTravelBaseinfoCitiesGetAPIResponse ¶
type TaobaoAlitripTravelBaseinfoCitiesGetAPIResponse struct { model.CommonResponse TaobaoAlitripTravelBaseinfoCitiesGetAPIResponseModel }
TaobaoAlitripTravelBaseinfoCitiesGetAPIResponse 【API3.0】度假线路商品发布时基础信息获取接口:地址数据查询 API返回值 taobao.alitrip.travel.baseinfo.cities.get
旅行度假新商品发布时可用的扩展接口,用于获取可用的出发地或目的地城市列表。
func GetTaobaoAlitripTravelBaseinfoCitiesGetAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripTravelBaseinfoCitiesGetAPIResponse() *TaobaoAlitripTravelBaseinfoCitiesGetAPIResponse
GetTaobaoAlitripTravelBaseinfoCitiesGetAPIResponse 从 sync.Pool 获取 TaobaoAlitripTravelBaseinfoCitiesGetAPIResponse
func (*TaobaoAlitripTravelBaseinfoCitiesGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelBaseinfoCitiesGetAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripTravelBaseinfoCitiesGetAPIResponseModel ¶
type TaobaoAlitripTravelBaseinfoCitiesGetAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_baseinfo_cities_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 地区级联城市列表,返回数据为json数组结构的字符串 IocInfos string `json:"ioc_infos,omitempty" xml:"ioc_infos,omitempty"` }
TaobaoAlitripTravelBaseinfoCitiesGetAPIResponseModel is 【API3.0】度假线路商品发布时基础信息获取接口:地址数据查询 成功返回结果
func (*TaobaoAlitripTravelBaseinfoCitiesGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelBaseinfoCitiesGetAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest ¶
type TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest 【API3.0】度假线路商品发布时基础信息获取接口:邮轮扩展信息获取 API请求 taobao.alitrip.travel.baseinfo.cruise.get
旅行度假新商品发布时可用的扩展接口,用于获取邮轮类目相关扩展信息。
func GetTaobaoAlitripTravelBaseinfoCruiseGetAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripTravelBaseinfoCruiseGetAPIRequest() *TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest
GetTaobaoAlitripTravelBaseinfoCruiseGetRequest 从 sync.Pool 获取 TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest
func NewTaobaoAlitripTravelBaseinfoCruiseGetRequest ¶
func NewTaobaoAlitripTravelBaseinfoCruiseGetRequest() *TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest
NewTaobaoAlitripTravelBaseinfoCruiseGetRequest 初始化TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest对象
func (TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) GetApiMethodName ¶
func (r TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) GetApiParams ¶
func (r TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) GetIsOverseas ¶
func (r TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) GetIsOverseas() bool
GetIsOverseas IsOverseas Getter
func (TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) SetIsOverseas ¶
func (r *TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest) SetIsOverseas(_isOverseas bool) error
SetIsOverseas is IsOverseas Setter true-获取国际邮轮类目扩展信息;false-获取国内邮轮类目扩展信息
type TaobaoAlitripTravelBaseinfoCruiseGetAPIResponse ¶
type TaobaoAlitripTravelBaseinfoCruiseGetAPIResponse struct { model.CommonResponse TaobaoAlitripTravelBaseinfoCruiseGetAPIResponseModel }
TaobaoAlitripTravelBaseinfoCruiseGetAPIResponse 【API3.0】度假线路商品发布时基础信息获取接口:邮轮扩展信息获取 API返回值 taobao.alitrip.travel.baseinfo.cruise.get
旅行度假新商品发布时可用的扩展接口,用于获取邮轮类目相关扩展信息。
func GetTaobaoAlitripTravelBaseinfoCruiseGetAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripTravelBaseinfoCruiseGetAPIResponse() *TaobaoAlitripTravelBaseinfoCruiseGetAPIResponse
GetTaobaoAlitripTravelBaseinfoCruiseGetAPIResponse 从 sync.Pool 获取 TaobaoAlitripTravelBaseinfoCruiseGetAPIResponse
func (*TaobaoAlitripTravelBaseinfoCruiseGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelBaseinfoCruiseGetAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripTravelBaseinfoCruiseGetAPIResponseModel ¶
type TaobaoAlitripTravelBaseinfoCruiseGetAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_baseinfo_cruise_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 邮轮类目扩展信息的json格式字符串 CruiseExtInfos string `json:"cruise_ext_infos,omitempty" xml:"cruise_ext_infos,omitempty"` }
TaobaoAlitripTravelBaseinfoCruiseGetAPIResponseModel is 【API3.0】度假线路商品发布时基础信息获取接口:邮轮扩展信息获取 成功返回结果
func (*TaobaoAlitripTravelBaseinfoCruiseGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelBaseinfoCruiseGetAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest ¶
type TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest 【API3.0】基础信息获取接口:景点数据查询 API请求 taobao.alitrip.travel.baseinfo.scenics.get
商品发布辅助接口,用于飞猪度假或门票商品发布时 获取可用的景点(及景点下收费项目)信息列表。
func GetTaobaoAlitripTravelBaseinfoScenicsGetAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripTravelBaseinfoScenicsGetAPIRequest() *TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest
GetTaobaoAlitripTravelBaseinfoScenicsGetRequest 从 sync.Pool 获取 TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest
func NewTaobaoAlitripTravelBaseinfoScenicsGetRequest ¶
func NewTaobaoAlitripTravelBaseinfoScenicsGetRequest() *TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest
NewTaobaoAlitripTravelBaseinfoScenicsGetRequest 初始化TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest对象
func (TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetApiMethodName ¶
func (r TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetApiParams ¶
func (r TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetCity ¶
func (r TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetCity() string
GetCity City Getter
func (TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetScenic ¶
func (r TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetScenic() string
GetScenic Scenic Getter
func (TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetScenicId ¶
func (r TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) GetScenicId() int64
GetScenicId ScenicId Getter
func (*TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) SetCity ¶
func (r *TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) SetCity(_city string) error
SetCity is City Setter 城市名称
func (*TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) SetScenic ¶
func (r *TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) SetScenic(_scenic string) error
SetScenic is Scenic Setter 景点简称
func (*TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) SetScenicId ¶
func (r *TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest) SetScenicId(_scenicId int64) error
SetScenicId is ScenicId Setter 景点id,可选。若传了该值,则查询结果中只会保留该id的景点,其余景点信息将被过滤
type TaobaoAlitripTravelBaseinfoScenicsGetAPIResponse ¶
type TaobaoAlitripTravelBaseinfoScenicsGetAPIResponse struct { model.CommonResponse TaobaoAlitripTravelBaseinfoScenicsGetAPIResponseModel }
TaobaoAlitripTravelBaseinfoScenicsGetAPIResponse 【API3.0】基础信息获取接口:景点数据查询 API返回值 taobao.alitrip.travel.baseinfo.scenics.get
商品发布辅助接口,用于飞猪度假或门票商品发布时 获取可用的景点(及景点下收费项目)信息列表。
func GetTaobaoAlitripTravelBaseinfoScenicsGetAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripTravelBaseinfoScenicsGetAPIResponse() *TaobaoAlitripTravelBaseinfoScenicsGetAPIResponse
GetTaobaoAlitripTravelBaseinfoScenicsGetAPIResponse 从 sync.Pool 获取 TaobaoAlitripTravelBaseinfoScenicsGetAPIResponse
func (*TaobaoAlitripTravelBaseinfoScenicsGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelBaseinfoScenicsGetAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripTravelBaseinfoScenicsGetAPIResponseModel ¶
type TaobaoAlitripTravelBaseinfoScenicsGetAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_baseinfo_scenics_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回详细景点信息,返回数据为json数组结构的字符串 ScenicInfos string `json:"scenic_infos,omitempty" xml:"scenic_infos,omitempty"` }
TaobaoAlitripTravelBaseinfoScenicsGetAPIResponseModel is 【API3.0】基础信息获取接口:景点数据查询 成功返回结果
func (*TaobaoAlitripTravelBaseinfoScenicsGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelBaseinfoScenicsGetAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripTravelItemElementManageAPIRequest ¶
type TaobaoAlitripTravelItemElementManageAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelItemElementManageAPIRequest 【API3.0】资源元素管理接口 API请求 taobao.alitrip.travel.item.element.manage
资源元素管理接口:提供商家管理(增删改)基本资源元素信息。基本资源元素可供多个商品共享
func GetTaobaoAlitripTravelItemElementManageAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripTravelItemElementManageAPIRequest() *TaobaoAlitripTravelItemElementManageAPIRequest
GetTaobaoAlitripTravelItemElementManageRequest 从 sync.Pool 获取 TaobaoAlitripTravelItemElementManageAPIRequest
func NewTaobaoAlitripTravelItemElementManageRequest ¶
func NewTaobaoAlitripTravelItemElementManageRequest() *TaobaoAlitripTravelItemElementManageAPIRequest
NewTaobaoAlitripTravelItemElementManageRequest 初始化TaobaoAlitripTravelItemElementManageAPIRequest对象
func (TaobaoAlitripTravelItemElementManageAPIRequest) GetApiMethodName ¶
func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelItemElementManageAPIRequest) GetApiParams ¶
func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelItemElementManageAPIRequest) GetCity ¶
func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetCity() string
GetCity City Getter
func (TaobaoAlitripTravelItemElementManageAPIRequest) GetDesc ¶
func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetDesc() string
GetDesc Desc Getter
func (TaobaoAlitripTravelItemElementManageAPIRequest) GetElementType ¶
func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetElementType() int64
GetElementType ElementType Getter
func (TaobaoAlitripTravelItemElementManageAPIRequest) GetName ¶
func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetName() string
GetName Name Getter
func (TaobaoAlitripTravelItemElementManageAPIRequest) GetOperation ¶
func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetOperation() int64
GetOperation Operation Getter
func (TaobaoAlitripTravelItemElementManageAPIRequest) GetOuterId ¶
func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoAlitripTravelItemElementManageAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripTravelItemElementManageAPIRequest) GetType ¶
func (r TaobaoAlitripTravelItemElementManageAPIRequest) GetType() string
GetType Type Getter
func (*TaobaoAlitripTravelItemElementManageAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripTravelItemElementManageAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripTravelItemElementManageAPIRequest) SetCity ¶
func (r *TaobaoAlitripTravelItemElementManageAPIRequest) SetCity(_city string) error
SetCity is City Setter 元素所在城市,景点、酒店在新增时必填
func (*TaobaoAlitripTravelItemElementManageAPIRequest) SetDesc ¶
func (r *TaobaoAlitripTravelItemElementManageAPIRequest) SetDesc(_desc string) error
SetDesc is Desc Setter 当新增“交通接驳、餐饮、特色活动、其他”资源类型时 必填
func (*TaobaoAlitripTravelItemElementManageAPIRequest) SetElementType ¶
func (r *TaobaoAlitripTravelItemElementManageAPIRequest) SetElementType(_elementType int64) error
SetElementType is ElementType Setter 资源元素类型,新增时必填:1-景点,2-酒店,5-交通接驳,6-WIFI库,7-电话卡,8-餐饮,9-签证库,11-特色活动,999-其他
func (*TaobaoAlitripTravelItemElementManageAPIRequest) SetName ¶
func (r *TaobaoAlitripTravelItemElementManageAPIRequest) SetName(_name string) error
SetName is Name Setter 元素名称,新增时必填; 注意:Wifi库的使用地和签证库所在国家均适用这个字段
func (*TaobaoAlitripTravelItemElementManageAPIRequest) SetOperation ¶
func (r *TaobaoAlitripTravelItemElementManageAPIRequest) SetOperation(_operation int64) error
SetOperation is Operation Setter 必填,操作类型:1-新增,2-修改,3-删除。。特别注意:删除 为逻辑删除,即该outer_id所对应的元素还存在但是会置为无效状态,重新编辑修改即可恢复为有效状态。因此该id一旦使用将不可重复
func (*TaobaoAlitripTravelItemElementManageAPIRequest) SetOuterId ¶
func (r *TaobaoAlitripTravelItemElementManageAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 必填,元素的外部商家编码,必须唯一。编辑、删除时将根据该编码找到对应元素。
func (*TaobaoAlitripTravelItemElementManageAPIRequest) SetType ¶
func (r *TaobaoAlitripTravelItemElementManageAPIRequest) SetType(_type string) error
SetType is Type Setter 元素的子类型,新增时必填。景点指门票类型,酒店指房型信息,交通接驳(接送机、接驳车、租车、船票、其他)选其一,餐饮(早餐、晚餐、午餐、下午茶及其他)选其一;签证(旅游签证、商务签证、工作签证、留学签证、探亲访友签证、入台证、其他)
type TaobaoAlitripTravelItemElementManageAPIResponse ¶
type TaobaoAlitripTravelItemElementManageAPIResponse struct { model.CommonResponse TaobaoAlitripTravelItemElementManageAPIResponseModel }
TaobaoAlitripTravelItemElementManageAPIResponse 【API3.0】资源元素管理接口 API返回值 taobao.alitrip.travel.item.element.manage
资源元素管理接口:提供商家管理(增删改)基本资源元素信息。基本资源元素可供多个商品共享
func GetTaobaoAlitripTravelItemElementManageAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripTravelItemElementManageAPIResponse() *TaobaoAlitripTravelItemElementManageAPIResponse
GetTaobaoAlitripTravelItemElementManageAPIResponse 从 sync.Pool 获取 TaobaoAlitripTravelItemElementManageAPIResponse
func (*TaobaoAlitripTravelItemElementManageAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelItemElementManageAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripTravelItemElementManageAPIResponseModel ¶
type TaobaoAlitripTravelItemElementManageAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_item_element_manage_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // firstResult FirstResult *TopElementResult `json:"first_result,omitempty" xml:"first_result,omitempty"` }
TaobaoAlitripTravelItemElementManageAPIResponseModel is 【API3.0】资源元素管理接口 成功返回结果
func (*TaobaoAlitripTravelItemElementManageAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelItemElementManageAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripTravelItemElementQueryAPIRequest ¶
type TaobaoAlitripTravelItemElementQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelItemElementQueryAPIRequest 【API3.0】资源元素查询接口 API请求 taobao.alitrip.travel.item.element.query
提供资源元素查询接口,支持商家查询已经发布过的资源元素
func GetTaobaoAlitripTravelItemElementQueryAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripTravelItemElementQueryAPIRequest() *TaobaoAlitripTravelItemElementQueryAPIRequest
GetTaobaoAlitripTravelItemElementQueryRequest 从 sync.Pool 获取 TaobaoAlitripTravelItemElementQueryAPIRequest
func NewTaobaoAlitripTravelItemElementQueryRequest ¶
func NewTaobaoAlitripTravelItemElementQueryRequest() *TaobaoAlitripTravelItemElementQueryAPIRequest
NewTaobaoAlitripTravelItemElementQueryRequest 初始化TaobaoAlitripTravelItemElementQueryAPIRequest对象
func (TaobaoAlitripTravelItemElementQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoAlitripTravelItemElementQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelItemElementQueryAPIRequest) GetApiParams ¶
func (r TaobaoAlitripTravelItemElementQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelItemElementQueryAPIRequest) GetOuterIds ¶
func (r TaobaoAlitripTravelItemElementQueryAPIRequest) GetOuterIds() []string
GetOuterIds OuterIds Getter
func (TaobaoAlitripTravelItemElementQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripTravelItemElementQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoAlitripTravelItemElementQueryAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripTravelItemElementQueryAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripTravelItemElementQueryAPIRequest) SetOuterIds ¶
func (r *TaobaoAlitripTravelItemElementQueryAPIRequest) SetOuterIds(_outerIds []string) error
SetOuterIds is OuterIds Setter 需要查询的资源元素列表,最大列表长度为50
type TaobaoAlitripTravelItemElementQueryAPIResponse ¶
type TaobaoAlitripTravelItemElementQueryAPIResponse struct { model.CommonResponse TaobaoAlitripTravelItemElementQueryAPIResponseModel }
TaobaoAlitripTravelItemElementQueryAPIResponse 【API3.0】资源元素查询接口 API返回值 taobao.alitrip.travel.item.element.query
提供资源元素查询接口,支持商家查询已经发布过的资源元素
func GetTaobaoAlitripTravelItemElementQueryAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripTravelItemElementQueryAPIResponse() *TaobaoAlitripTravelItemElementQueryAPIResponse
GetTaobaoAlitripTravelItemElementQueryAPIResponse 从 sync.Pool 获取 TaobaoAlitripTravelItemElementQueryAPIResponse
func (*TaobaoAlitripTravelItemElementQueryAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelItemElementQueryAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripTravelItemElementQueryAPIResponseModel ¶
type TaobaoAlitripTravelItemElementQueryAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_item_element_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 资源元素列表 Results []TopElementParam `json:"results,omitempty" xml:"results>top_element_param,omitempty"` }
TaobaoAlitripTravelItemElementQueryAPIResponseModel is 【API3.0】资源元素查询接口 成功返回结果
func (*TaobaoAlitripTravelItemElementQueryAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelItemElementQueryAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripTravelItemNewQueryAPIRequest ¶
type TaobaoAlitripTravelItemNewQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelItemNewQueryAPIRequest 【API3.0】新版度假单个商品查询接口 API请求 taobao.alitrip.travel.item.new.query
新版旅行度假新商品查询接口(单个商品查询)
func GetTaobaoAlitripTravelItemNewQueryAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripTravelItemNewQueryAPIRequest() *TaobaoAlitripTravelItemNewQueryAPIRequest
GetTaobaoAlitripTravelItemNewQueryRequest 从 sync.Pool 获取 TaobaoAlitripTravelItemNewQueryAPIRequest
func NewTaobaoAlitripTravelItemNewQueryRequest ¶
func NewTaobaoAlitripTravelItemNewQueryRequest() *TaobaoAlitripTravelItemNewQueryAPIRequest
NewTaobaoAlitripTravelItemNewQueryRequest 初始化TaobaoAlitripTravelItemNewQueryAPIRequest对象
func (TaobaoAlitripTravelItemNewQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoAlitripTravelItemNewQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelItemNewQueryAPIRequest) GetApiParams ¶
func (r TaobaoAlitripTravelItemNewQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelItemNewQueryAPIRequest) GetItemId ¶
func (r TaobaoAlitripTravelItemNewQueryAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoAlitripTravelItemNewQueryAPIRequest) GetOutProductId ¶
func (r TaobaoAlitripTravelItemNewQueryAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (TaobaoAlitripTravelItemNewQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripTravelItemNewQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoAlitripTravelItemNewQueryAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripTravelItemNewQueryAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripTravelItemNewQueryAPIRequest) SetItemId ¶
func (r *TaobaoAlitripTravelItemNewQueryAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id。itemId和outProductId至少填写一个
func (*TaobaoAlitripTravelItemNewQueryAPIRequest) SetOutProductId ¶
func (r *TaobaoAlitripTravelItemNewQueryAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商品 外部商家编码。itemId和outProductId至少填写一个
type TaobaoAlitripTravelItemNewQueryAPIResponse ¶
type TaobaoAlitripTravelItemNewQueryAPIResponse struct { model.CommonResponse TaobaoAlitripTravelItemNewQueryAPIResponseModel }
TaobaoAlitripTravelItemNewQueryAPIResponse 【API3.0】新版度假单个商品查询接口 API返回值 taobao.alitrip.travel.item.new.query
新版旅行度假新商品查询接口(单个商品查询)
func GetTaobaoAlitripTravelItemNewQueryAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripTravelItemNewQueryAPIResponse() *TaobaoAlitripTravelItemNewQueryAPIResponse
GetTaobaoAlitripTravelItemNewQueryAPIResponse 从 sync.Pool 获取 TaobaoAlitripTravelItemNewQueryAPIResponse
func (*TaobaoAlitripTravelItemNewQueryAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelItemNewQueryAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripTravelItemNewQueryAPIResponseModel ¶
type TaobaoAlitripTravelItemNewQueryAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_item_new_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品查询结果 TravelItem *FullTravelItem `json:"travel_item,omitempty" xml:"travel_item,omitempty"` }
TaobaoAlitripTravelItemNewQueryAPIResponseModel is 【API3.0】新版度假单个商品查询接口 成功返回结果
func (*TaobaoAlitripTravelItemNewQueryAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelItemNewQueryAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripTravelItemShelveAPIRequest ¶
type TaobaoAlitripTravelItemShelveAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelItemShelveAPIRequest 【API3.0】度假线路商品上下架接口 API请求 taobao.alitrip.travel.item.shelve
旅行度假新商品发布接口 第三版:度假商品上下架接口 注意:定时上下架功能,目前只支持接送、租车类目。
func GetTaobaoAlitripTravelItemShelveAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripTravelItemShelveAPIRequest() *TaobaoAlitripTravelItemShelveAPIRequest
GetTaobaoAlitripTravelItemShelveRequest 从 sync.Pool 获取 TaobaoAlitripTravelItemShelveAPIRequest
func NewTaobaoAlitripTravelItemShelveRequest ¶
func NewTaobaoAlitripTravelItemShelveRequest() *TaobaoAlitripTravelItemShelveAPIRequest
NewTaobaoAlitripTravelItemShelveRequest 初始化TaobaoAlitripTravelItemShelveAPIRequest对象
func (TaobaoAlitripTravelItemShelveAPIRequest) GetApiMethodName ¶
func (r TaobaoAlitripTravelItemShelveAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelItemShelveAPIRequest) GetApiParams ¶
func (r TaobaoAlitripTravelItemShelveAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelItemShelveAPIRequest) GetItemId ¶
func (r TaobaoAlitripTravelItemShelveAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoAlitripTravelItemShelveAPIRequest) GetItemStatus ¶
func (r TaobaoAlitripTravelItemShelveAPIRequest) GetItemStatus() int64
GetItemStatus ItemStatus Getter
func (TaobaoAlitripTravelItemShelveAPIRequest) GetOnlineTime ¶
func (r TaobaoAlitripTravelItemShelveAPIRequest) GetOnlineTime() string
GetOnlineTime OnlineTime Getter
func (TaobaoAlitripTravelItemShelveAPIRequest) GetOutProductId ¶
func (r TaobaoAlitripTravelItemShelveAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (TaobaoAlitripTravelItemShelveAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripTravelItemShelveAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoAlitripTravelItemShelveAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripTravelItemShelveAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripTravelItemShelveAPIRequest) SetItemId ¶
func (r *TaobaoAlitripTravelItemShelveAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id。itemId和outProductId至少填写一个
func (*TaobaoAlitripTravelItemShelveAPIRequest) SetItemStatus ¶
func (r *TaobaoAlitripTravelItemShelveAPIRequest) SetItemStatus(_itemStatus int64) error
SetItemStatus is ItemStatus Setter 1-上架 0-下架
func (*TaobaoAlitripTravelItemShelveAPIRequest) SetOnlineTime ¶
func (r *TaobaoAlitripTravelItemShelveAPIRequest) SetOnlineTime(_onlineTime string) error
SetOnlineTime is OnlineTime Setter 指定定时上架时间,格式:yyyy-MM-dd HH:mm:ss。若不设置该值且item_status为1,则表示立即上架。
func (*TaobaoAlitripTravelItemShelveAPIRequest) SetOutProductId ¶
func (r *TaobaoAlitripTravelItemShelveAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商品 外部商家编码。itemId和outProductId至少填写一个
type TaobaoAlitripTravelItemShelveAPIResponse ¶
type TaobaoAlitripTravelItemShelveAPIResponse struct { model.CommonResponse TaobaoAlitripTravelItemShelveAPIResponseModel }
TaobaoAlitripTravelItemShelveAPIResponse 【API3.0】度假线路商品上下架接口 API返回值 taobao.alitrip.travel.item.shelve
旅行度假新商品发布接口 第三版:度假商品上下架接口 注意:定时上下架功能,目前只支持接送、租车类目。
func GetTaobaoAlitripTravelItemShelveAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripTravelItemShelveAPIResponse() *TaobaoAlitripTravelItemShelveAPIResponse
GetTaobaoAlitripTravelItemShelveAPIResponse 从 sync.Pool 获取 TaobaoAlitripTravelItemShelveAPIResponse
func (*TaobaoAlitripTravelItemShelveAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelItemShelveAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripTravelItemShelveAPIResponseModel ¶
type TaobaoAlitripTravelItemShelveAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_item_shelve_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品上下架操作是否成功 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoAlitripTravelItemShelveAPIResponseModel is 【API3.0】度假线路商品上下架接口 成功返回结果
func (*TaobaoAlitripTravelItemShelveAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelItemShelveAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripTravelItemSingleQueryAPIRequest ¶
type TaobaoAlitripTravelItemSingleQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelItemSingleQueryAPIRequest 【API3.0】度假单个商品查询接口 API请求 taobao.alitrip.travel.item.single.query
旅行度假新商品查询接口(单个商品查询) 第三版
func GetTaobaoAlitripTravelItemSingleQueryAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripTravelItemSingleQueryAPIRequest() *TaobaoAlitripTravelItemSingleQueryAPIRequest
GetTaobaoAlitripTravelItemSingleQueryRequest 从 sync.Pool 获取 TaobaoAlitripTravelItemSingleQueryAPIRequest
func NewTaobaoAlitripTravelItemSingleQueryRequest ¶
func NewTaobaoAlitripTravelItemSingleQueryRequest() *TaobaoAlitripTravelItemSingleQueryAPIRequest
NewTaobaoAlitripTravelItemSingleQueryRequest 初始化TaobaoAlitripTravelItemSingleQueryAPIRequest对象
func (TaobaoAlitripTravelItemSingleQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoAlitripTravelItemSingleQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelItemSingleQueryAPIRequest) GetApiParams ¶
func (r TaobaoAlitripTravelItemSingleQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelItemSingleQueryAPIRequest) GetItemId ¶
func (r TaobaoAlitripTravelItemSingleQueryAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoAlitripTravelItemSingleQueryAPIRequest) GetOutProductId ¶
func (r TaobaoAlitripTravelItemSingleQueryAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (TaobaoAlitripTravelItemSingleQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripTravelItemSingleQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoAlitripTravelItemSingleQueryAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripTravelItemSingleQueryAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripTravelItemSingleQueryAPIRequest) SetItemId ¶
func (r *TaobaoAlitripTravelItemSingleQueryAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id。itemId和outProductId至少填写一个
func (*TaobaoAlitripTravelItemSingleQueryAPIRequest) SetOutProductId ¶
func (r *TaobaoAlitripTravelItemSingleQueryAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商品 外部商家编码。itemId和outProductId至少填写一个
type TaobaoAlitripTravelItemSingleQueryAPIResponse ¶
type TaobaoAlitripTravelItemSingleQueryAPIResponse struct { model.CommonResponse TaobaoAlitripTravelItemSingleQueryAPIResponseModel }
TaobaoAlitripTravelItemSingleQueryAPIResponse 【API3.0】度假单个商品查询接口 API返回值 taobao.alitrip.travel.item.single.query
旅行度假新商品查询接口(单个商品查询) 第三版
func GetTaobaoAlitripTravelItemSingleQueryAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripTravelItemSingleQueryAPIResponse() *TaobaoAlitripTravelItemSingleQueryAPIResponse
GetTaobaoAlitripTravelItemSingleQueryAPIResponse 从 sync.Pool 获取 TaobaoAlitripTravelItemSingleQueryAPIResponse
func (*TaobaoAlitripTravelItemSingleQueryAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelItemSingleQueryAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripTravelItemSingleQueryAPIResponseModel ¶
type TaobaoAlitripTravelItemSingleQueryAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_item_single_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品查询结果 TravelItem *PontusTravelFullTravelItem `json:"travel_item,omitempty" xml:"travel_item,omitempty"` }
TaobaoAlitripTravelItemSingleQueryAPIResponseModel is 【API3.0】度假单个商品查询接口 成功返回结果
func (*TaobaoAlitripTravelItemSingleQueryAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelItemSingleQueryAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripTravelItemSkuOverrideAPIRequest ¶
type TaobaoAlitripTravelItemSkuOverrideAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelItemSkuOverrideAPIRequest 【API3.0】商品级别日历价格库存修改,全量覆盖 API请求 taobao.alitrip.travel.item.sku.override
旅行度假新商品日历价格库存信息修改接口 第三版。提供商家通过TOP API方式修改商品sku信息。
func GetTaobaoAlitripTravelItemSkuOverrideAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripTravelItemSkuOverrideAPIRequest() *TaobaoAlitripTravelItemSkuOverrideAPIRequest
GetTaobaoAlitripTravelItemSkuOverrideRequest 从 sync.Pool 获取 TaobaoAlitripTravelItemSkuOverrideAPIRequest
func NewTaobaoAlitripTravelItemSkuOverrideRequest ¶
func NewTaobaoAlitripTravelItemSkuOverrideRequest() *TaobaoAlitripTravelItemSkuOverrideAPIRequest
NewTaobaoAlitripTravelItemSkuOverrideRequest 初始化TaobaoAlitripTravelItemSkuOverrideAPIRequest对象
func (TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetApiMethodName ¶
func (r TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetApiParams ¶
func (r TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetItemId ¶
func (r TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetOutProductId ¶
func (r TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetSkus ¶
func (r TaobaoAlitripTravelItemSkuOverrideAPIRequest) GetSkus() []PontusTravelItemSkuInfo
GetSkus Skus Getter
func (*TaobaoAlitripTravelItemSkuOverrideAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripTravelItemSkuOverrideAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripTravelItemSkuOverrideAPIRequest) SetItemId ¶
func (r *TaobaoAlitripTravelItemSkuOverrideAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id。itemId和outProductId至少填写一个
func (*TaobaoAlitripTravelItemSkuOverrideAPIRequest) SetOutProductId ¶
func (r *TaobaoAlitripTravelItemSkuOverrideAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商品 外部商家编码。itemId和outProductId至少填写一个
func (*TaobaoAlitripTravelItemSkuOverrideAPIRequest) SetSkus ¶
func (r *TaobaoAlitripTravelItemSkuOverrideAPIRequest) SetSkus(_skus []PontusTravelItemSkuInfo) error
SetSkus is Skus Setter 商品日历价格库存套餐
type TaobaoAlitripTravelItemSkuOverrideAPIResponse ¶
type TaobaoAlitripTravelItemSkuOverrideAPIResponse struct { model.CommonResponse TaobaoAlitripTravelItemSkuOverrideAPIResponseModel }
TaobaoAlitripTravelItemSkuOverrideAPIResponse 【API3.0】商品级别日历价格库存修改,全量覆盖 API返回值 taobao.alitrip.travel.item.sku.override
旅行度假新商品日历价格库存信息修改接口 第三版。提供商家通过TOP API方式修改商品sku信息。
func GetTaobaoAlitripTravelItemSkuOverrideAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripTravelItemSkuOverrideAPIResponse() *TaobaoAlitripTravelItemSkuOverrideAPIResponse
GetTaobaoAlitripTravelItemSkuOverrideAPIResponse 从 sync.Pool 获取 TaobaoAlitripTravelItemSkuOverrideAPIResponse
func (*TaobaoAlitripTravelItemSkuOverrideAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelItemSkuOverrideAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripTravelItemSkuOverrideAPIResponseModel ¶
type TaobaoAlitripTravelItemSkuOverrideAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_item_sku_override_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品sku修改结果 TravelItem *TopTravelItem `json:"travel_item,omitempty" xml:"travel_item,omitempty"` }
TaobaoAlitripTravelItemSkuOverrideAPIResponseModel is 【API3.0】商品级别日历价格库存修改,全量覆盖 成功返回结果
func (*TaobaoAlitripTravelItemSkuOverrideAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelItemSkuOverrideAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripTravelItemSkuPackageModifyAPIRequest ¶
type TaobaoAlitripTravelItemSkuPackageModifyAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelItemSkuPackageModifyAPIRequest 【API3.0】套餐级别日历价格库存增删操作 API请求 taobao.alitrip.travel.item.sku.package.modify
【API3.0】套餐级别日历价格库存增删操作
func GetTaobaoAlitripTravelItemSkuPackageModifyAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripTravelItemSkuPackageModifyAPIRequest() *TaobaoAlitripTravelItemSkuPackageModifyAPIRequest
GetTaobaoAlitripTravelItemSkuPackageModifyRequest 从 sync.Pool 获取 TaobaoAlitripTravelItemSkuPackageModifyAPIRequest
func NewTaobaoAlitripTravelItemSkuPackageModifyRequest ¶
func NewTaobaoAlitripTravelItemSkuPackageModifyRequest() *TaobaoAlitripTravelItemSkuPackageModifyAPIRequest
NewTaobaoAlitripTravelItemSkuPackageModifyRequest 初始化TaobaoAlitripTravelItemSkuPackageModifyAPIRequest对象
func (TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetApiMethodName ¶
func (r TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetApiParams ¶
func (r TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetItemId ¶
func (r TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetOutProductId ¶
func (r TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetSkus ¶
func (r TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) GetSkus() []ItemSkuInfo
GetSkus Skus Getter
func (*TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) SetItemId ¶
func (r *TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id。itemId和outProductId至少填写一个
func (*TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) SetOutProductId ¶
func (r *TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商品 外部商家编码。itemId和outProductId至少填写一个
func (*TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) SetSkus ¶
func (r *TaobaoAlitripTravelItemSkuPackageModifyAPIRequest) SetSkus(_skus []ItemSkuInfo) error
SetSkus is Skus Setter 商品日历价格库存套餐
type TaobaoAlitripTravelItemSkuPackageModifyAPIResponse ¶
type TaobaoAlitripTravelItemSkuPackageModifyAPIResponse struct { model.CommonResponse TaobaoAlitripTravelItemSkuPackageModifyAPIResponseModel }
TaobaoAlitripTravelItemSkuPackageModifyAPIResponse 【API3.0】套餐级别日历价格库存增删操作 API返回值 taobao.alitrip.travel.item.sku.package.modify
【API3.0】套餐级别日历价格库存增删操作
func GetTaobaoAlitripTravelItemSkuPackageModifyAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripTravelItemSkuPackageModifyAPIResponse() *TaobaoAlitripTravelItemSkuPackageModifyAPIResponse
GetTaobaoAlitripTravelItemSkuPackageModifyAPIResponse 从 sync.Pool 获取 TaobaoAlitripTravelItemSkuPackageModifyAPIResponse
func (*TaobaoAlitripTravelItemSkuPackageModifyAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelItemSkuPackageModifyAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripTravelItemSkuPackageModifyAPIResponseModel ¶
type TaobaoAlitripTravelItemSkuPackageModifyAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_item_sku_package_modify_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品sku修改结果 TravelItem *TopTravelItem `json:"travel_item,omitempty" xml:"travel_item,omitempty"` }
TaobaoAlitripTravelItemSkuPackageModifyAPIResponseModel is 【API3.0】套餐级别日历价格库存增删操作 成功返回结果
func (*TaobaoAlitripTravelItemSkuPackageModifyAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelItemSkuPackageModifyAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripTravelItemSkuPriceModifyAPIRequest ¶
type TaobaoAlitripTravelItemSkuPriceModifyAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelItemSkuPriceModifyAPIRequest 【API3.0】日期级别日历价格库存修改,增量维护 API请求 taobao.alitrip.travel.item.sku.price.modify
【API3.0】日期级别日历价格库存增量维护
func GetTaobaoAlitripTravelItemSkuPriceModifyAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripTravelItemSkuPriceModifyAPIRequest() *TaobaoAlitripTravelItemSkuPriceModifyAPIRequest
GetTaobaoAlitripTravelItemSkuPriceModifyRequest 从 sync.Pool 获取 TaobaoAlitripTravelItemSkuPriceModifyAPIRequest
func NewTaobaoAlitripTravelItemSkuPriceModifyRequest ¶
func NewTaobaoAlitripTravelItemSkuPriceModifyRequest() *TaobaoAlitripTravelItemSkuPriceModifyAPIRequest
NewTaobaoAlitripTravelItemSkuPriceModifyRequest 初始化TaobaoAlitripTravelItemSkuPriceModifyAPIRequest对象
func (TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetApiMethodName ¶
func (r TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetApiParams ¶
func (r TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetItemId ¶
func (r TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetModifyType ¶ added in v1.2.5
func (r TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetModifyType() int64
GetModifyType ModifyType Getter
func (TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetOutProductId ¶
func (r TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetSkus ¶
func (r TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) GetSkus() []PontusTravelItemSkuInfo
GetSkus Skus Getter
func (*TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) SetItemId ¶
func (r *TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id。itemId和outProductId至少填写一个
func (*TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) SetModifyType ¶ added in v1.2.5
func (r *TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) SetModifyType(_modifyType int64) error
SetModifyType is ModifyType Setter 商品价库变更类型,0=价格库存均变更,1=价格变更,2=库存变更
func (*TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) SetOutProductId ¶
func (r *TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商品 外部商家编码。itemId和outProductId至少填写一个
func (*TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) SetSkus ¶
func (r *TaobaoAlitripTravelItemSkuPriceModifyAPIRequest) SetSkus(_skus []PontusTravelItemSkuInfo) error
SetSkus is Skus Setter 商品日历价格库存套餐
type TaobaoAlitripTravelItemSkuPriceModifyAPIResponse ¶
type TaobaoAlitripTravelItemSkuPriceModifyAPIResponse struct { model.CommonResponse TaobaoAlitripTravelItemSkuPriceModifyAPIResponseModel }
TaobaoAlitripTravelItemSkuPriceModifyAPIResponse 【API3.0】日期级别日历价格库存修改,增量维护 API返回值 taobao.alitrip.travel.item.sku.price.modify
【API3.0】日期级别日历价格库存增量维护
func GetTaobaoAlitripTravelItemSkuPriceModifyAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripTravelItemSkuPriceModifyAPIResponse() *TaobaoAlitripTravelItemSkuPriceModifyAPIResponse
GetTaobaoAlitripTravelItemSkuPriceModifyAPIResponse 从 sync.Pool 获取 TaobaoAlitripTravelItemSkuPriceModifyAPIResponse
func (*TaobaoAlitripTravelItemSkuPriceModifyAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelItemSkuPriceModifyAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripTravelItemSkuPriceModifyAPIResponseModel ¶
type TaobaoAlitripTravelItemSkuPriceModifyAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_item_sku_price_modify_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 日期级别日历价格库存增量维护 TravelItem *TopTravelItem `json:"travel_item,omitempty" xml:"travel_item,omitempty"` }
TaobaoAlitripTravelItemSkuPriceModifyAPIResponseModel is 【API3.0】日期级别日历价格库存修改,增量维护 成功返回结果
func (*TaobaoAlitripTravelItemSkuPriceModifyAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelItemSkuPriceModifyAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripTravelProductBaseAddAPIRequest ¶
type TaobaoAlitripTravelProductBaseAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelProductBaseAddAPIRequest 供应商新增产品API API请求 taobao.alitrip.travel.product.base.add
飞猪供销平台供应商可通过该API发布新产品
func GetTaobaoAlitripTravelProductBaseAddAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripTravelProductBaseAddAPIRequest() *TaobaoAlitripTravelProductBaseAddAPIRequest
GetTaobaoAlitripTravelProductBaseAddRequest 从 sync.Pool 获取 TaobaoAlitripTravelProductBaseAddAPIRequest
func NewTaobaoAlitripTravelProductBaseAddRequest ¶
func NewTaobaoAlitripTravelProductBaseAddRequest() *TaobaoAlitripTravelProductBaseAddAPIRequest
NewTaobaoAlitripTravelProductBaseAddRequest 初始化TaobaoAlitripTravelProductBaseAddAPIRequest对象
func (TaobaoAlitripTravelProductBaseAddAPIRequest) GetApiMethodName ¶
func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelProductBaseAddAPIRequest) GetApiParams ¶
func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelProductBaseAddAPIRequest) GetBaseInfo ¶
func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetBaseInfo() *ProductBaseInfo
GetBaseInfo BaseInfo Getter
func (TaobaoAlitripTravelProductBaseAddAPIRequest) GetBookingRules ¶
func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetBookingRules() []BookingRuleInfo
GetBookingRules BookingRules Getter
func (TaobaoAlitripTravelProductBaseAddAPIRequest) GetCruiseProductExt ¶
func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetCruiseProductExt() *CruiseProductExt
GetCruiseProductExt CruiseProductExt Getter
func (TaobaoAlitripTravelProductBaseAddAPIRequest) GetItineraries ¶
func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetItineraries() []ItemItineraryInfo
GetItineraries Itineraries Getter
func (TaobaoAlitripTravelProductBaseAddAPIRequest) GetProductSaleInfo ¶
func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetProductSaleInfo() *ProductSaleInfo
GetProductSaleInfo ProductSaleInfo Getter
func (TaobaoAlitripTravelProductBaseAddAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripTravelProductBaseAddAPIRequest) GetRefundInfo ¶
func (r TaobaoAlitripTravelProductBaseAddAPIRequest) GetRefundInfo() *ItemRefundInfo
GetRefundInfo RefundInfo Getter
func (*TaobaoAlitripTravelProductBaseAddAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripTravelProductBaseAddAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripTravelProductBaseAddAPIRequest) SetBaseInfo ¶
func (r *TaobaoAlitripTravelProductBaseAddAPIRequest) SetBaseInfo(_baseInfo *ProductBaseInfo) error
SetBaseInfo is BaseInfo Setter 产品基本信息
func (*TaobaoAlitripTravelProductBaseAddAPIRequest) SetBookingRules ¶
func (r *TaobaoAlitripTravelProductBaseAddAPIRequest) SetBookingRules(_bookingRules []BookingRuleInfo) error
SetBookingRules is BookingRules Setter 必填,预定规则结构。示例: [{ "rule_type": "fee_excluded", "rule_desc": "费用包含描述"},{ "rule_type": "fee_included", "rule_desc": "费用不含描述"},{ "rule_type": "order_info", "rule_desc": "预定须知描述"}]
func (*TaobaoAlitripTravelProductBaseAddAPIRequest) SetCruiseProductExt ¶
func (r *TaobaoAlitripTravelProductBaseAddAPIRequest) SetCruiseProductExt(_cruiseProductExt *CruiseProductExt) error
SetCruiseProductExt is CruiseProductExt Setter 特殊选填(当发布邮轮商品时必填,其他情况不填)邮轮商品相关信息,发布邮轮商品时必填
func (*TaobaoAlitripTravelProductBaseAddAPIRequest) SetItineraries ¶
func (r *TaobaoAlitripTravelProductBaseAddAPIRequest) SetItineraries(_itineraries []ItemItineraryInfo) error
SetItineraries is Itineraries Setter 选填,详细行程描述结构
func (*TaobaoAlitripTravelProductBaseAddAPIRequest) SetProductSaleInfo ¶
func (r *TaobaoAlitripTravelProductBaseAddAPIRequest) SetProductSaleInfo(_productSaleInfo *ProductSaleInfo) error
SetProductSaleInfo is ProductSaleInfo Setter 选填,商品的销售属性相关信息
func (*TaobaoAlitripTravelProductBaseAddAPIRequest) SetRefundInfo ¶
func (r *TaobaoAlitripTravelProductBaseAddAPIRequest) SetRefundInfo(_refundInfo *ItemRefundInfo) error
SetRefundInfo is RefundInfo Setter 选填,退款规则结构
type TaobaoAlitripTravelProductBaseAddAPIResponse ¶
type TaobaoAlitripTravelProductBaseAddAPIResponse struct { model.CommonResponse TaobaoAlitripTravelProductBaseAddAPIResponseModel }
TaobaoAlitripTravelProductBaseAddAPIResponse 供应商新增产品API API返回值 taobao.alitrip.travel.product.base.add
飞猪供销平台供应商可通过该API发布新产品
func GetTaobaoAlitripTravelProductBaseAddAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripTravelProductBaseAddAPIResponse() *TaobaoAlitripTravelProductBaseAddAPIResponse
GetTaobaoAlitripTravelProductBaseAddAPIResponse 从 sync.Pool 获取 TaobaoAlitripTravelProductBaseAddAPIResponse
func (*TaobaoAlitripTravelProductBaseAddAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelProductBaseAddAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripTravelProductBaseAddAPIResponseModel ¶
type TaobaoAlitripTravelProductBaseAddAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_product_base_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品发布结果 TravelItem *TopTravelItem `json:"travel_item,omitempty" xml:"travel_item,omitempty"` }
TaobaoAlitripTravelProductBaseAddAPIResponseModel is 供应商新增产品API 成功返回结果
func (*TaobaoAlitripTravelProductBaseAddAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelProductBaseAddAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripTravelProductBaseModifyAPIRequest ¶
type TaobaoAlitripTravelProductBaseModifyAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelProductBaseModifyAPIRequest 供应商编辑产品API API请求 taobao.alitrip.travel.product.base.modify
飞猪供销平台供应商可通过该API编辑产品
func GetTaobaoAlitripTravelProductBaseModifyAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripTravelProductBaseModifyAPIRequest() *TaobaoAlitripTravelProductBaseModifyAPIRequest
GetTaobaoAlitripTravelProductBaseModifyRequest 从 sync.Pool 获取 TaobaoAlitripTravelProductBaseModifyAPIRequest
func NewTaobaoAlitripTravelProductBaseModifyRequest ¶
func NewTaobaoAlitripTravelProductBaseModifyRequest() *TaobaoAlitripTravelProductBaseModifyAPIRequest
NewTaobaoAlitripTravelProductBaseModifyRequest 初始化TaobaoAlitripTravelProductBaseModifyAPIRequest对象
func (TaobaoAlitripTravelProductBaseModifyAPIRequest) GetApiMethodName ¶
func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelProductBaseModifyAPIRequest) GetApiParams ¶
func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelProductBaseModifyAPIRequest) GetBaseInfo ¶
func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetBaseInfo() *ProductBaseInfo
GetBaseInfo BaseInfo Getter
func (TaobaoAlitripTravelProductBaseModifyAPIRequest) GetBookingRules ¶
func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetBookingRules() []BookingRuleInfo
GetBookingRules BookingRules Getter
func (TaobaoAlitripTravelProductBaseModifyAPIRequest) GetCruiseProductExt ¶
func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetCruiseProductExt() *CruiseProductExt
GetCruiseProductExt CruiseProductExt Getter
func (TaobaoAlitripTravelProductBaseModifyAPIRequest) GetItemId ¶
func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoAlitripTravelProductBaseModifyAPIRequest) GetItineraries ¶
func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetItineraries() []ItemItineraryInfo
GetItineraries Itineraries Getter
func (TaobaoAlitripTravelProductBaseModifyAPIRequest) GetProductSaleInfo ¶
func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetProductSaleInfo() *ProductSaleInfo
GetProductSaleInfo ProductSaleInfo Getter
func (TaobaoAlitripTravelProductBaseModifyAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripTravelProductBaseModifyAPIRequest) GetRefundInfo ¶
func (r TaobaoAlitripTravelProductBaseModifyAPIRequest) GetRefundInfo() *ItemRefundInfo
GetRefundInfo RefundInfo Getter
func (*TaobaoAlitripTravelProductBaseModifyAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripTravelProductBaseModifyAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripTravelProductBaseModifyAPIRequest) SetBaseInfo ¶
func (r *TaobaoAlitripTravelProductBaseModifyAPIRequest) SetBaseInfo(_baseInfo *ProductBaseInfo) error
SetBaseInfo is BaseInfo Setter 产品基本信息
func (*TaobaoAlitripTravelProductBaseModifyAPIRequest) SetBookingRules ¶
func (r *TaobaoAlitripTravelProductBaseModifyAPIRequest) SetBookingRules(_bookingRules []BookingRuleInfo) error
SetBookingRules is BookingRules Setter 预定规则结构。示例: [{ "rule_type": "fee_excluded", "rule_desc": "费用包含描述"},{ "rule_type": "fee_included", "rule_desc": "费用不含描述"},{ "rule_type": "order_info", "rule_desc": "预定须知描述"}]
func (*TaobaoAlitripTravelProductBaseModifyAPIRequest) SetCruiseProductExt ¶
func (r *TaobaoAlitripTravelProductBaseModifyAPIRequest) SetCruiseProductExt(_cruiseProductExt *CruiseProductExt) error
SetCruiseProductExt is CruiseProductExt Setter 邮轮商品相关信息
func (*TaobaoAlitripTravelProductBaseModifyAPIRequest) SetItemId ¶
func (r *TaobaoAlitripTravelProductBaseModifyAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 产品id
func (*TaobaoAlitripTravelProductBaseModifyAPIRequest) SetItineraries ¶
func (r *TaobaoAlitripTravelProductBaseModifyAPIRequest) SetItineraries(_itineraries []ItemItineraryInfo) error
SetItineraries is Itineraries Setter 详细行程描述结构
func (*TaobaoAlitripTravelProductBaseModifyAPIRequest) SetProductSaleInfo ¶
func (r *TaobaoAlitripTravelProductBaseModifyAPIRequest) SetProductSaleInfo(_productSaleInfo *ProductSaleInfo) error
SetProductSaleInfo is ProductSaleInfo Setter 商品的销售属性相关信息
func (*TaobaoAlitripTravelProductBaseModifyAPIRequest) SetRefundInfo ¶
func (r *TaobaoAlitripTravelProductBaseModifyAPIRequest) SetRefundInfo(_refundInfo *ItemRefundInfo) error
SetRefundInfo is RefundInfo Setter 退款规则结构
type TaobaoAlitripTravelProductBaseModifyAPIResponse ¶
type TaobaoAlitripTravelProductBaseModifyAPIResponse struct { model.CommonResponse TaobaoAlitripTravelProductBaseModifyAPIResponseModel }
TaobaoAlitripTravelProductBaseModifyAPIResponse 供应商编辑产品API API返回值 taobao.alitrip.travel.product.base.modify
飞猪供销平台供应商可通过该API编辑产品
func GetTaobaoAlitripTravelProductBaseModifyAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripTravelProductBaseModifyAPIResponse() *TaobaoAlitripTravelProductBaseModifyAPIResponse
GetTaobaoAlitripTravelProductBaseModifyAPIResponse 从 sync.Pool 获取 TaobaoAlitripTravelProductBaseModifyAPIResponse
func (*TaobaoAlitripTravelProductBaseModifyAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelProductBaseModifyAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripTravelProductBaseModifyAPIResponseModel ¶
type TaobaoAlitripTravelProductBaseModifyAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_product_base_modify_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品修改结果 TravelItem *TopTravelItem `json:"travel_item,omitempty" xml:"travel_item,omitempty"` }
TaobaoAlitripTravelProductBaseModifyAPIResponseModel is 供应商编辑产品API 成功返回结果
func (*TaobaoAlitripTravelProductBaseModifyAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelProductBaseModifyAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripTravelProductSkuOverrideAPIRequest ¶
type TaobaoAlitripTravelProductSkuOverrideAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelProductSkuOverrideAPIRequest (供销)产品级别日历价格库存修改,全量覆盖 API请求 taobao.alitrip.travel.product.sku.override
(供销)产品级别日历价格库存修改,全量覆盖
func GetTaobaoAlitripTravelProductSkuOverrideAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripTravelProductSkuOverrideAPIRequest() *TaobaoAlitripTravelProductSkuOverrideAPIRequest
GetTaobaoAlitripTravelProductSkuOverrideRequest 从 sync.Pool 获取 TaobaoAlitripTravelProductSkuOverrideAPIRequest
func NewTaobaoAlitripTravelProductSkuOverrideRequest ¶
func NewTaobaoAlitripTravelProductSkuOverrideRequest() *TaobaoAlitripTravelProductSkuOverrideAPIRequest
NewTaobaoAlitripTravelProductSkuOverrideRequest 初始化TaobaoAlitripTravelProductSkuOverrideAPIRequest对象
func (TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetApiMethodName ¶
func (r TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetApiParams ¶
func (r TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetItemId ¶
func (r TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetOutProductId ¶
func (r TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetSkus ¶
func (r TaobaoAlitripTravelProductSkuOverrideAPIRequest) GetSkus() []ItemSkuInfo
GetSkus Skus Getter
func (*TaobaoAlitripTravelProductSkuOverrideAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripTravelProductSkuOverrideAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripTravelProductSkuOverrideAPIRequest) SetItemId ¶
func (r *TaobaoAlitripTravelProductSkuOverrideAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id。itemId和outProductId至少填写一个
func (*TaobaoAlitripTravelProductSkuOverrideAPIRequest) SetOutProductId ¶
func (r *TaobaoAlitripTravelProductSkuOverrideAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商品 外部商家编码。itemId和outProductId至少填写一个
func (*TaobaoAlitripTravelProductSkuOverrideAPIRequest) SetSkus ¶
func (r *TaobaoAlitripTravelProductSkuOverrideAPIRequest) SetSkus(_skus []ItemSkuInfo) error
SetSkus is Skus Setter 商品日历价格库存套餐
type TaobaoAlitripTravelProductSkuOverrideAPIResponse ¶
type TaobaoAlitripTravelProductSkuOverrideAPIResponse struct { model.CommonResponse TaobaoAlitripTravelProductSkuOverrideAPIResponseModel }
TaobaoAlitripTravelProductSkuOverrideAPIResponse (供销)产品级别日历价格库存修改,全量覆盖 API返回值 taobao.alitrip.travel.product.sku.override
(供销)产品级别日历价格库存修改,全量覆盖
func GetTaobaoAlitripTravelProductSkuOverrideAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripTravelProductSkuOverrideAPIResponse() *TaobaoAlitripTravelProductSkuOverrideAPIResponse
GetTaobaoAlitripTravelProductSkuOverrideAPIResponse 从 sync.Pool 获取 TaobaoAlitripTravelProductSkuOverrideAPIResponse
func (*TaobaoAlitripTravelProductSkuOverrideAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelProductSkuOverrideAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripTravelProductSkuOverrideAPIResponseModel ¶
type TaobaoAlitripTravelProductSkuOverrideAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_product_sku_override_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品sku修改结果 TravelItem *TopTravelItem `json:"travel_item,omitempty" xml:"travel_item,omitempty"` }
TaobaoAlitripTravelProductSkuOverrideAPIResponseModel is (供销)产品级别日历价格库存修改,全量覆盖 成功返回结果
func (*TaobaoAlitripTravelProductSkuOverrideAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripTravelProductSkuOverrideAPIResponseModel) Reset()
Reset 清空结构体
type TcwlItemExt ¶
type TcwlItemExt struct { // 集合地信息 GatherPlaces []GatherPlaceInfo `json:"gather_places,omitempty" xml:"gather_places>gather_place_info,omitempty"` // 活动时间 ActivityTime string `json:"activity_time,omitempty" xml:"activity_time,omitempty"` // 活动地点 ActivityPlace string `json:"activity_place,omitempty" xml:"activity_place,omitempty"` // 组织者旺旺 OrgWangwang string `json:"org_wangwang,omitempty" xml:"org_wangwang,omitempty"` // 组织者电话 OrgTel string `json:"org_tel,omitempty" xml:"org_tel,omitempty"` // 组织者介绍 OrgIntroduce string `json:"org_introduce,omitempty" xml:"org_introduce,omitempty"` // 组织者名称 Organization string `json:"organization,omitempty" xml:"organization,omitempty"` // 主题玩法 TcwlThemePlay string `json:"tcwl_theme_play,omitempty" xml:"tcwl_theme_play,omitempty"` // 活动强度。1:底,2:中,3:高 ActivityStrength int64 `json:"activity_strength,omitempty" xml:"activity_strength,omitempty"` // 玩乐主题 TcwlTheme int64 `json:"tcwl_theme,omitempty" xml:"tcwl_theme,omitempty"` }
TcwlItemExt 结构体
func GetTcwlItemExt ¶ added in v1.3.4
func GetTcwlItemExt() *TcwlItemExt
GetTcwlItemExt() 从对象池中获取TcwlItemExt
type TopElementParam ¶
type TopElementParam struct { // 元素所在城市 City string `json:"city,omitempty" xml:"city,omitempty"` // 元素名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 元素的子类型 Type string `json:"type,omitempty" xml:"type,omitempty"` // 元素的外部商家编码 OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 元素的说明描述 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 资源元素类型。1-景点,2-酒店,999-其他 ElementType int64 `json:"element_type,omitempty" xml:"element_type,omitempty"` }
TopElementParam 结构体
func GetTopElementParam ¶ added in v1.3.4
func GetTopElementParam() *TopElementParam
GetTopElementParam() 从对象池中获取TopElementParam
type TopElementResult ¶
type TopElementResult struct { // 元素的外部商家编码 ElementOuterId string `json:"element_outer_id,omitempty" xml:"element_outer_id,omitempty"` // 创建时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 修改时间 Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 删除时间 Deleted string `json:"deleted,omitempty" xml:"deleted,omitempty"` }
TopElementResult 结构体
func GetTopElementResult ¶ added in v1.3.4
func GetTopElementResult() *TopElementResult
GetTopElementResult() 从对象池中获取TopElementResult
type TopTravelItem ¶
type TopTravelItem struct { // 商家自定义商品编码 OutProductId string `json:"out_product_id,omitempty" xml:"out_product_id,omitempty"` // 商品修改时间 Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 扩展信息 Extend string `json:"extend,omitempty" xml:"extend,omitempty"` // 商品创建时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // outerId OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 商品id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // skuId SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` }
TopTravelItem 结构体
func GetTopTravelItem ¶ added in v1.3.4
func GetTopTravelItem() *TopTravelItem
GetTopTravelItem() 从对象池中获取TopTravelItem
Source Files ¶
- AlitripDaytoursProductUploadAPIRequest.go
- AlitripDaytoursProductUploadAPIResponse.go
- AlitripFreetourProductUploadAPIRequest.go
- AlitripFreetourProductUploadAPIResponse.go
- AlitripGrouptourProductUploadAPIRequest.go
- AlitripGrouptourProductUploadAPIResponse.go
- AlitripGrouptoursProductUploadAPIRequest.go
- AlitripGrouptoursProductUploadAPIResponse.go
- AlitripItemAddSchemaGetAPIRequest.go
- AlitripItemAddSchemaGetAPIResponse.go
- AlitripItemSchemaAddAPIRequest.go
- AlitripItemSchemaAddAPIResponse.go
- AlitripItemSchemaUpdateAPIRequest.go
- AlitripItemSchemaUpdateAPIResponse.go
- AlitripItemUpdateSchemaGetAPIRequest.go
- AlitripItemUpdateSchemaGetAPIResponse.go
- AlitripLocalplayProductUploadAPIRequest.go
- AlitripLocalplayProductUploadAPIResponse.go
- AlitripTravelGereralitemUpdateAPIRequest.go
- AlitripTravelGereralitemUpdateAPIResponse.go
- AlitripTravelGereralproductUpdateAPIRequest.go
- AlitripTravelGereralproductUpdateAPIResponse.go
- AlitripTravelGereralskuUpdateAPIRequest.go
- AlitripTravelGereralskuUpdateAPIResponse.go
- AlitripTravelPoiSearchAPIRequest.go
- AlitripTravelPoiSearchAPIResponse.go
- AlitripTravelProductGereralskuUpdateAPIRequest.go
- AlitripTravelProductGereralskuUpdateAPIResponse.go
- BaseInfo.go
- BookingRuleInfo.go
- CatPropInfo.go
- CruiseItemExt.go
- CruiseProductExt.go
- DateInventoryAndPrice.go
- DateSkuInfo.go
- ElectronContract.go
- FreeTourHotelInfo.go
- FreeTourPackageInfo.go
- FreeTourScenicInfo.go
- FreeTourTrafficInfo.go
- FreedomItemExt.go
- FullTravelItem.go
- GatherPlaceInfo.go
- GeneralProductBaseInfo.go
- GroupItemExt.go
- GroupTourPackageInfo.go
- GroupTourTrafficInfo.go
- GroupTourTripElement.go
- HighLights.go
- ItemBaseInfo.go
- ItemEleCertInfo.go
- ItemHotel.go
- ItemHotelInfo.go
- ItemItineraryInfo.go
- ItemRefundInfo.go
- ItemResourceInfo.go
- ItemSaleInfo.go
- ItemScenic.go
- ItemScenicInfo.go
- ItemSkuInfo.go
- ItemTraffic.go
- ItemTrafficInfo.go
- ItineraryActivity.go
- NoDateSkuInfo.go
- Poi.go
- PontusTravelBookingRuleInfo.go
- PontusTravelFreedomItemExt.go
- PontusTravelFullTravelItem.go
- PontusTravelGatherPlaceInfo.go
- PontusTravelGroupItemExt.go
- PontusTravelItemBaseInfo.go
- PontusTravelItemEleCertInfo.go
- PontusTravelItemHotel.go
- PontusTravelItemHotelInfo.go
- PontusTravelItemItineraryInfo.go
- PontusTravelItemRefundInfo.go
- PontusTravelItemResourceInfo.go
- PontusTravelItemSaleInfo.go
- PontusTravelItemScenic.go
- PontusTravelItemScenicInfo.go
- PontusTravelItemSkuInfo.go
- PontusTravelItemTraffic.go
- PontusTravelItemTrafficInfo.go
- PontusTravelPrices.go
- PontusTravelProduct.go
- Prices.go
- Product.go
- ProductBaseInfo.go
- ProductHighLights.go
- ProductSaleInfo.go
- PropertyAliasInfo.go
- StructItinerary.go
- TaobaoAlitripTravelBaseinfoCitiesGetAPIRequest.go
- TaobaoAlitripTravelBaseinfoCitiesGetAPIResponse.go
- TaobaoAlitripTravelBaseinfoCruiseGetAPIRequest.go
- TaobaoAlitripTravelBaseinfoCruiseGetAPIResponse.go
- TaobaoAlitripTravelBaseinfoScenicsGetAPIRequest.go
- TaobaoAlitripTravelBaseinfoScenicsGetAPIResponse.go
- TaobaoAlitripTravelItemElementManageAPIRequest.go
- TaobaoAlitripTravelItemElementManageAPIResponse.go
- TaobaoAlitripTravelItemElementQueryAPIRequest.go
- TaobaoAlitripTravelItemElementQueryAPIResponse.go
- TaobaoAlitripTravelItemNewQueryAPIRequest.go
- TaobaoAlitripTravelItemNewQueryAPIResponse.go
- TaobaoAlitripTravelItemShelveAPIRequest.go
- TaobaoAlitripTravelItemShelveAPIResponse.go
- TaobaoAlitripTravelItemSingleQueryAPIRequest.go
- TaobaoAlitripTravelItemSingleQueryAPIResponse.go
- TaobaoAlitripTravelItemSkuOverrideAPIRequest.go
- TaobaoAlitripTravelItemSkuOverrideAPIResponse.go
- TaobaoAlitripTravelItemSkuPackageModifyAPIRequest.go
- TaobaoAlitripTravelItemSkuPackageModifyAPIResponse.go
- TaobaoAlitripTravelItemSkuPriceModifyAPIRequest.go
- TaobaoAlitripTravelItemSkuPriceModifyAPIResponse.go
- TaobaoAlitripTravelProductBaseAddAPIRequest.go
- TaobaoAlitripTravelProductBaseAddAPIResponse.go
- TaobaoAlitripTravelProductBaseModifyAPIRequest.go
- TaobaoAlitripTravelProductBaseModifyAPIResponse.go
- TaobaoAlitripTravelProductSkuOverrideAPIRequest.go
- TaobaoAlitripTravelProductSkuOverrideAPIResponse.go
- TcwlItemExt.go
- TopElementParam.go
- TopElementResult.go
- TopTravelItem.go
- doc.go