Documentation
¶
Overview ¶
Package travel 包含度假-商品管理API相关结构体
Index ¶
- 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 ¶
This section is empty.
Types ¶
type AlitripdaytoursproductuploadAPIRequest ¶ added in v1.3.1
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 NewAlitripdaytoursproductuploadRequest ¶ added in v1.3.1
func NewAlitripdaytoursproductuploadRequest() *AlitripdaytoursproductuploadAPIRequest
NewAlitripdaytoursproductuploadRequest 初始化AlitripdaytoursproductuploadAPIRequest对象
func (AlitripdaytoursproductuploadAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripdaytoursproductuploadAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripdaytoursproductuploadAPIRequest) GetBusinessLicense ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetBusinessLicense() string
GetBusinessLicense BusinessLicense Getter
func (AlitripdaytoursproductuploadAPIRequest) GetConfirmTime ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetConfirmTime() int64
GetConfirmTime ConfirmTime Getter
func (AlitripdaytoursproductuploadAPIRequest) GetConfirmType ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetConfirmType() int64
GetConfirmType ConfirmType Getter
func (AlitripdaytoursproductuploadAPIRequest) GetDescHtml ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetDescHtml() string
GetDescHtml DescHtml Getter
func (AlitripdaytoursproductuploadAPIRequest) GetDescXml ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetDescXml() string
GetDescXml DescXml Getter
func (AlitripdaytoursproductuploadAPIRequest) GetFeeExclude ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetFeeExclude() []string
GetFeeExclude FeeExclude Getter
func (AlitripdaytoursproductuploadAPIRequest) GetFeeInclude ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetFeeInclude() []string
GetFeeInclude FeeInclude Getter
func (AlitripdaytoursproductuploadAPIRequest) GetFromLocations ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetFromLocations() string
GetFromLocations FromLocations Getter
func (AlitripdaytoursproductuploadAPIRequest) GetHasDiscount ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetHasDiscount() bool
GetHasDiscount HasDiscount Getter
func (AlitripdaytoursproductuploadAPIRequest) GetHighLights ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetHighLights() []ProductHighLights
GetHighLights HighLights Getter
func (AlitripdaytoursproductuploadAPIRequest) GetItemCustomTag ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetItemCustomTag() string
GetItemCustomTag ItemCustomTag Getter
func (AlitripdaytoursproductuploadAPIRequest) GetItemId ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripdaytoursproductuploadAPIRequest) GetItineraries ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetItineraries() []string
GetItineraries Itineraries Getter
func (AlitripdaytoursproductuploadAPIRequest) GetOrderInfo ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetOrderInfo() []string
GetOrderInfo OrderInfo Getter
func (AlitripdaytoursproductuploadAPIRequest) GetOutProductId ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (AlitripdaytoursproductuploadAPIRequest) GetPicUrls ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetPicUrls() []string
GetPicUrls PicUrls Getter
func (AlitripdaytoursproductuploadAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripdaytoursproductuploadAPIRequest) GetRefundRegulationsJson ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetRefundRegulationsJson() string
GetRefundRegulationsJson RefundRegulationsJson Getter
func (AlitripdaytoursproductuploadAPIRequest) GetRefundType ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetRefundType() int64
GetRefundType RefundType Getter
func (AlitripdaytoursproductuploadAPIRequest) GetReserveLimit ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetReserveLimit() string
GetReserveLimit ReserveLimit Getter
func (AlitripdaytoursproductuploadAPIRequest) GetSecondKill ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetSecondKill() string
GetSecondKill SecondKill Getter
func (AlitripdaytoursproductuploadAPIRequest) GetSellerCids ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetSellerCids() []string
GetSellerCids SellerCids Getter
func (AlitripdaytoursproductuploadAPIRequest) GetStructItineraries ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetStructItineraries() []StructItinerary
GetStructItineraries StructItineraries Getter
func (AlitripdaytoursproductuploadAPIRequest) GetSubStock ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetSubStock() int64
GetSubStock SubStock Getter
func (AlitripdaytoursproductuploadAPIRequest) GetSubTitles ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetSubTitles() []string
GetSubTitles SubTitles Getter
func (AlitripdaytoursproductuploadAPIRequest) GetTitle ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetTitle() string
GetTitle Title Getter
func (AlitripdaytoursproductuploadAPIRequest) GetToLocations ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetToLocations() string
GetToLocations ToLocations Getter
func (AlitripdaytoursproductuploadAPIRequest) GetTouristServiceProvider ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetTouristServiceProvider() string
GetTouristServiceProvider TouristServiceProvider Getter
func (AlitripdaytoursproductuploadAPIRequest) GetTravellerTemplateId ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetTravellerTemplateId() int64
GetTravellerTemplateId TravellerTemplateId Getter
func (AlitripdaytoursproductuploadAPIRequest) GetTripDay ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetTripDay() int64
GetTripDay TripDay Getter
func (AlitripdaytoursproductuploadAPIRequest) GetTripNight ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetTripNight() int64
GetTripNight TripNight Getter
func (AlitripdaytoursproductuploadAPIRequest) GetWapDesc ¶ added in v1.3.1
func (r AlitripdaytoursproductuploadAPIRequest) GetWapDesc() string
GetWapDesc WapDesc Getter
func (*AlitripdaytoursproductuploadAPIRequest) SetBusinessLicense ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetBusinessLicense(_businessLicense string) error
SetBusinessLicense is BusinessLicense Setter 必填,营业执照图片路径。图片链接支持外链图片(即商家系统中图片链接,必须外网可访问,且格式为jpg或jpeg,大小在3M以内),或者用户淘宝空间内的图片链接。对于外链图片,将自动下载并上传用户淘宝图片空间。
func (*AlitripdaytoursproductuploadAPIRequest) SetConfirmTime ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetConfirmType(_confirmType int64) error
SetConfirmType is ConfirmType Setter 可选,资源确认类型。1-即时确认,2-二次确认。不传默认1
func (*AlitripdaytoursproductuploadAPIRequest) SetDescHtml ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetDescHtml(_descHtml string) error
SetDescHtml is DescHtml Setter PC端详情描述(新发布商品时,desc_xml和desc_html二者至少填写一个),Html格式。商家自定义Html格式描述。
func (*AlitripdaytoursproductuploadAPIRequest) SetDescXml ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetFeeExclude(_feeExclude []string) error
SetFeeExclude is FeeExclude Setter 新发布商品时必填。费用不含。列表中每一个元素 对应一点描述,每点描述小于100个中文字符。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripdaytoursproductuploadAPIRequest) SetFeeInclude ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetFeeInclude(_feeInclude []string) error
SetFeeInclude is FeeInclude Setter 新发布商品时必填。费用包含。列表中每一个元素 对应一点描述,每点描述小于100个中文字符。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripdaytoursproductuploadAPIRequest) SetFromLocations ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetFromLocations(_fromLocations string) error
SetFromLocations is FromLocations Setter 新发布商品时必填。出发地,多个出发地用英文逗号分隔。使用说明同“目的地”
func (*AlitripdaytoursproductuploadAPIRequest) SetHasDiscount ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetHasDiscount(_hasDiscount bool) error
SetHasDiscount is HasDiscount Setter 是否支持会员打折。可选值:true,false;默认值:false(不打折)。不传的话默认为false
func (*AlitripdaytoursproductuploadAPIRequest) SetHighLights ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetHighLights(_highLights []ProductHighLights) error
SetHighLights is HighLights Setter 一日游 产品亮点
func (*AlitripdaytoursproductuploadAPIRequest) SetItemCustomTag ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetItemCustomTag(_itemCustomTag string) error
SetItemCustomTag is ItemCustomTag Setter 可选,商家自定义标签(最多4个字,超长则自动截断,会进行违禁词校验)
func (*AlitripdaytoursproductuploadAPIRequest) SetItemId ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 可选,淘系商品id,用于将out_product_id关联到已经存在的商品,并且修改该商品外部商家编码为out_product_id。
func (*AlitripdaytoursproductuploadAPIRequest) SetItineraries ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetOrderInfo(_orderInfo []string) error
SetOrderInfo is OrderInfo Setter 新发布商品时必填。预定须知。列表中每一个元素 对应一点描述,每点描述小于100个中文字符。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripdaytoursproductuploadAPIRequest) SetOutProductId ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商家自定义商品编码。注:商品基本信息维护、价格库存维护,商品查询都以该编码为主键。
func (*AlitripdaytoursproductuploadAPIRequest) SetPicUrls ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetPicUrls(_picUrls []string) error
SetPicUrls is PicUrls Setter 新发布商品时必填。商品图片路径。最多支持5张,第一张为主图,必填,其余四张可选填。图片链接支持外链图片(即商家系统中图片链接,必须外网可访问,且格式为jpg或jpeg,大小在500k以内),或者用户淘宝空间内的图片链接。对于外链图片,将自动下载并上传用户淘宝图片空间,上传失败的外链图片将自动忽略不计。。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripdaytoursproductuploadAPIRequest) SetRefundRegulationsJson ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetRefundType(_refundType int64) error
SetRefundType is RefundType Setter 可选,退改规则类型。0-平台标准退改规则,1-自定义退改规则,2-不支持退改(已废弃,勿用),7-新版自定义退改规则。不传默认为0
func (*AlitripdaytoursproductuploadAPIRequest) SetReserveLimit ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetReserveLimit(_reserveLimit string) error
SetReserveLimit is ReserveLimit Setter 可选,该商品提前预定时间限制。格式:1_18_00,含义:该商品必须提前1天预定,且在18:00之前完成预定
func (*AlitripdaytoursproductuploadAPIRequest) SetSecondKill ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetStructItineraries(_structItineraries []StructItinerary) error
SetStructItineraries is StructItineraries Setter 特殊必填,行程描述(struct_itineraries与itineraries二者选填一个即可,如果两个都上传则以struct_itineraries为准)。列表中每一个元素对应一天的行程,每天行程由多个活动组成。行程描述是可选项,如果上传了行程内容 则行程序号和行程活动信息必填。
func (*AlitripdaytoursproductuploadAPIRequest) SetSubStock ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetSubStock(_subStock int64) error
SetSubStock is SubStock Setter 可选,减库存方式。0-拍下减库存。1-付款减库存。不传默认为0
func (*AlitripdaytoursproductuploadAPIRequest) SetSubTitles ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetSubTitles(_subTitles []string) error
SetSubTitles is SubTitles Setter 可选,商品亮点,最多支持4个亮点。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripdaytoursproductuploadAPIRequest) SetTitle ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 新发布商品时必填。商品标题,30个中文字符以内
func (*AlitripdaytoursproductuploadAPIRequest) SetToLocations ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetTouristServiceProvider(_touristServiceProvider string) error
SetTouristServiceProvider is TouristServiceProvider Setter 真实的旅游服务提供商
func (*AlitripdaytoursproductuploadAPIRequest) SetTravellerTemplateId ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetTravellerTemplateId(_travellerTemplateId int64) error
SetTravellerTemplateId is TravellerTemplateId Setter 可选,出行人模板id。模板id需要商家以店铺账号身份登录飞猪商家工作台,从卖家工具->出行人管理中获取。注意:如果传0则代表设置为不需要出行人模板或使用飞猪平台默认的类目模板。
func (*AlitripdaytoursproductuploadAPIRequest) SetTripDay ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetTripDay(_tripDay int64) error
SetTripDay is TripDay Setter 新发布商品时必填。旅游天数
func (*AlitripdaytoursproductuploadAPIRequest) SetTripNight ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetTripNight(_tripNight int64) error
SetTripNight is TripNight Setter 可选,旅游晚数,不传默认旅游天数-1
func (*AlitripdaytoursproductuploadAPIRequest) SetWapDesc ¶ added in v1.3.1
func (r *AlitripdaytoursproductuploadAPIRequest) SetWapDesc(_wapDesc string) error
SetWapDesc is WapDesc Setter 可选,手机端详情描述,xml格式,格式详见示例。
type AlitripdaytoursproductuploadAPIResponse ¶ added in v1.3.1
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进行关联,同时对该商品进行编辑。
type AlitripdaytoursproductuploadAPIResponseModel ¶ added in v1.3.1
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 境外一日游/多日游 产品维护接口 成功返回结果
type AlitripfreetourproductuploadAPIRequest ¶ added in v1.3.1
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 NewAlitripfreetourproductuploadRequest ¶ added in v1.3.1
func NewAlitripfreetourproductuploadRequest() *AlitripfreetourproductuploadAPIRequest
NewAlitripfreetourproductuploadRequest 初始化AlitripfreetourproductuploadAPIRequest对象
func (AlitripfreetourproductuploadAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripfreetourproductuploadAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripfreetourproductuploadAPIRequest) GetBackTrafficType ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetBackTrafficType() int64
GetBackTrafficType BackTrafficType Getter
func (AlitripfreetourproductuploadAPIRequest) GetConfirmTime ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetConfirmTime() int64
GetConfirmTime ConfirmTime Getter
func (AlitripfreetourproductuploadAPIRequest) GetConfirmType ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetConfirmType() int64
GetConfirmType ConfirmType Getter
func (AlitripfreetourproductuploadAPIRequest) GetDescHtml ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetDescHtml() string
GetDescHtml DescHtml Getter
func (AlitripfreetourproductuploadAPIRequest) GetDescXml ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetDescXml() string
GetDescXml DescXml Getter
func (AlitripfreetourproductuploadAPIRequest) GetFreeTourPackageInfo ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetFreeTourPackageInfo() []FreeTourPackageInfo
GetFreeTourPackageInfo FreeTourPackageInfo Getter
func (AlitripfreetourproductuploadAPIRequest) GetFromLocations ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetFromLocations() string
GetFromLocations FromLocations Getter
func (AlitripfreetourproductuploadAPIRequest) GetGoTrafficType ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetGoTrafficType() int64
GetGoTrafficType GoTrafficType Getter
func (AlitripfreetourproductuploadAPIRequest) GetHasDiscount ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetHasDiscount() bool
GetHasDiscount HasDiscount Getter
func (AlitripfreetourproductuploadAPIRequest) GetIsOverseasTour ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetIsOverseasTour() int64
GetIsOverseasTour IsOverseasTour Getter
func (AlitripfreetourproductuploadAPIRequest) GetItemCustomTag ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetItemCustomTag() string
GetItemCustomTag ItemCustomTag Getter
func (AlitripfreetourproductuploadAPIRequest) GetItemId ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripfreetourproductuploadAPIRequest) GetOutProductId ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (AlitripfreetourproductuploadAPIRequest) GetPackageOperation ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetPackageOperation() int64
GetPackageOperation PackageOperation Getter
func (AlitripfreetourproductuploadAPIRequest) GetPicUrls ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetPicUrls() []string
GetPicUrls PicUrls Getter
func (AlitripfreetourproductuploadAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripfreetourproductuploadAPIRequest) GetRefundRegulationsJson ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetRefundRegulationsJson() string
GetRefundRegulationsJson RefundRegulationsJson Getter
func (AlitripfreetourproductuploadAPIRequest) GetRefundType ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetRefundType() int64
GetRefundType RefundType Getter
func (AlitripfreetourproductuploadAPIRequest) GetReserveLimit ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetReserveLimit() string
GetReserveLimit ReserveLimit Getter
func (AlitripfreetourproductuploadAPIRequest) GetSecondKill ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetSecondKill() string
GetSecondKill SecondKill Getter
func (AlitripfreetourproductuploadAPIRequest) GetSellerCids ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetSellerCids() []string
GetSellerCids SellerCids Getter
func (AlitripfreetourproductuploadAPIRequest) GetSubStock ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetSubStock() int64
GetSubStock SubStock Getter
func (AlitripfreetourproductuploadAPIRequest) GetSubTitles ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetSubTitles() []string
GetSubTitles SubTitles Getter
func (AlitripfreetourproductuploadAPIRequest) GetTitle ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetTitle() string
GetTitle Title Getter
func (AlitripfreetourproductuploadAPIRequest) GetToLocations ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetToLocations() string
GetToLocations ToLocations Getter
func (AlitripfreetourproductuploadAPIRequest) GetTravellerTemplateId ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetTravellerTemplateId() int64
GetTravellerTemplateId TravellerTemplateId Getter
func (AlitripfreetourproductuploadAPIRequest) GetTripDay ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetTripDay() int64
GetTripDay TripDay Getter
func (AlitripfreetourproductuploadAPIRequest) GetTripNight ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetTripNight() int64
GetTripNight TripNight Getter
func (AlitripfreetourproductuploadAPIRequest) GetWapDesc ¶ added in v1.3.1
func (r AlitripfreetourproductuploadAPIRequest) GetWapDesc() string
GetWapDesc WapDesc Getter
func (*AlitripfreetourproductuploadAPIRequest) SetBackTrafficType ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetBackTrafficType(_backTrafficType int64) error
SetBackTrafficType is BackTrafficType Setter 新发布商品时必填。回程交通。1-飞机,2-火车,3-汽,4-船,100-其他
func (*AlitripfreetourproductuploadAPIRequest) SetConfirmTime ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetConfirmType(_confirmType int64) error
SetConfirmType is ConfirmType Setter 可选,资源确认类型。1-即时确认,2-二次确认。不传默认1
func (*AlitripfreetourproductuploadAPIRequest) SetDescHtml ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetDescHtml(_descHtml string) error
SetDescHtml is DescHtml Setter PC端详情描述(新发布商品时,desc_xml和desc_html二者至少填写一个),Html格式。商家自定义Html格式描述。
func (*AlitripfreetourproductuploadAPIRequest) SetDescXml ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetFreeTourPackageInfo(_freeTourPackageInfo []FreeTourPackageInfo) error
SetFreeTourPackageInfo is FreeTourPackageInfo Setter 套餐信息,数组类型,支持上传多个套餐信息
func (*AlitripfreetourproductuploadAPIRequest) SetFromLocations ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetFromLocations(_fromLocations string) error
SetFromLocations is FromLocations Setter 新发布商品时必填。出发地,多个出发地用英文逗号分隔。使用说明同“目的地”
func (*AlitripfreetourproductuploadAPIRequest) SetGoTrafficType ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetGoTrafficType(_goTrafficType int64) error
SetGoTrafficType is GoTrafficType Setter 新发布商品时必填。去程交通。1-飞机,2-火车,3-汽,4-船,100-其他
func (*AlitripfreetourproductuploadAPIRequest) SetHasDiscount ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetHasDiscount(_hasDiscount bool) error
SetHasDiscount is HasDiscount Setter 是否支持会员打折。可选值:true,false;默认值:false(不打折)。不传的话默认为false
func (*AlitripfreetourproductuploadAPIRequest) SetIsOverseasTour ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetIsOverseasTour(_isOverseasTour int64) error
SetIsOverseasTour is IsOverseasTour Setter 新发布商品时必填。是否出境游,0-不是,1-是。
func (*AlitripfreetourproductuploadAPIRequest) SetItemCustomTag ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetItemCustomTag(_itemCustomTag string) error
SetItemCustomTag is ItemCustomTag Setter 可选,商家自定义标签(最多4个字,超长则自动截断,会进行违禁词校验)
func (*AlitripfreetourproductuploadAPIRequest) SetItemId ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 可选,淘系商品id,用于将out_product_id关联到已经存在的商品,并且修改该商品外部商家编码为out_product_id。
func (*AlitripfreetourproductuploadAPIRequest) SetOutProductId ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商家自定义商品编码。注:商品基本信息维护、价格库存维护,商品查询都以该编码为主键。
func (*AlitripfreetourproductuploadAPIRequest) SetPackageOperation ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetPicUrls(_picUrls []string) error
SetPicUrls is PicUrls Setter 新发布商品时必填。商品图片路径。最多支持5张,第一张为主图,必填,其余四张可选填。图片链接支持外链图片(即商家系统中图片链接,必须外网可访问,且格式为jpg或jpeg,大小在500k以内),或者用户淘宝空间内的图片链接。对于外链图片,将自动下载并上传用户淘宝图片空间,上传失败的外链图片将自动忽略不计。。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripfreetourproductuploadAPIRequest) SetRefundRegulationsJson ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetRefundType(_refundType int64) error
SetRefundType is RefundType Setter 可选,退改规则类型。0-平台标准退改规则,1-自定义退改规则,2-不支持退改(已废弃,勿用),7-新版自定义退改规则。不传默认为0
func (*AlitripfreetourproductuploadAPIRequest) SetReserveLimit ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetReserveLimit(_reserveLimit string) error
SetReserveLimit is ReserveLimit Setter 可选,该商品提前预定时间限制。格式:1_18_00,含义:该商品必须提前1天预定,且在18:00之前完成预定
func (*AlitripfreetourproductuploadAPIRequest) SetSecondKill ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetSubStock(_subStock int64) error
SetSubStock is SubStock Setter 可选,减库存方式。0-拍下减库存。1-付款减库存。不传默认为0
func (*AlitripfreetourproductuploadAPIRequest) SetSubTitles ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetSubTitles(_subTitles []string) error
SetSubTitles is SubTitles Setter 可选,商品亮点,最多支持4个亮点。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripfreetourproductuploadAPIRequest) SetTitle ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 新发布商品时必填。商品标题,30个中文字符以内
func (*AlitripfreetourproductuploadAPIRequest) SetToLocations ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetTravellerTemplateId(_travellerTemplateId int64) error
SetTravellerTemplateId is TravellerTemplateId Setter 可选,出行人模板id。模板id需要商家以店铺账号身份登录飞猪商家工作台,从卖家工具->出行人管理中获取。注意:如果传0则代表设置为不需要出行人模板或使用飞猪平台默认的类目模板。
func (*AlitripfreetourproductuploadAPIRequest) SetTripDay ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetTripDay(_tripDay int64) error
SetTripDay is TripDay Setter 新发布商品时必填。旅游天数
func (*AlitripfreetourproductuploadAPIRequest) SetTripNight ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetTripNight(_tripNight int64) error
SetTripNight is TripNight Setter 可选,旅游晚数,不传默认旅游天数-1
func (*AlitripfreetourproductuploadAPIRequest) SetWapDesc ¶ added in v1.3.1
func (r *AlitripfreetourproductuploadAPIRequest) SetWapDesc(_wapDesc string) error
SetWapDesc is WapDesc Setter 可选,手机端详情描述,xml格式,格式详见示例。
type AlitripfreetourproductuploadAPIResponse ¶ added in v1.3.1
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进行关联,同时对该商品进行编辑。
type AlitripfreetourproductuploadAPIResponseModel ¶ added in v1.3.1
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 自由行商品发布及编辑接口 成功返回结果
type AlitripgrouptourproductuploadAPIRequest ¶ added in v1.3.1
type AlitripgrouptourproductuploadAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripgrouptourproductuploadAPIRequest 新版跟团游商品维护接口 API请求 alitrip.grouptour.product.upload
新版跟团游商品维护接口
func NewAlitripgrouptourproductuploadRequest ¶ added in v1.3.1
func NewAlitripgrouptourproductuploadRequest() *AlitripgrouptourproductuploadAPIRequest
NewAlitripgrouptourproductuploadRequest 初始化AlitripgrouptourproductuploadAPIRequest对象
func (AlitripgrouptourproductuploadAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripgrouptourproductuploadAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripgrouptourproductuploadAPIRequest) GetBackTrafficType ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetBackTrafficType() int64
GetBackTrafficType BackTrafficType Getter
func (AlitripgrouptourproductuploadAPIRequest) GetConfirmTime ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetConfirmTime() int64
GetConfirmTime ConfirmTime Getter
func (AlitripgrouptourproductuploadAPIRequest) GetConfirmType ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetConfirmType() int64
GetConfirmType ConfirmType Getter
func (AlitripgrouptourproductuploadAPIRequest) GetDescHtml ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetDescHtml() string
GetDescHtml DescHtml Getter
func (AlitripgrouptourproductuploadAPIRequest) GetDescXml ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetDescXml() string
GetDescXml DescXml Getter
func (AlitripgrouptourproductuploadAPIRequest) GetFromLocations ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetFromLocations() string
GetFromLocations FromLocations Getter
func (AlitripgrouptourproductuploadAPIRequest) GetGoTrafficType ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetGoTrafficType() int64
GetGoTrafficType GoTrafficType Getter
func (AlitripgrouptourproductuploadAPIRequest) GetGroupTourPackageInfo ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetGroupTourPackageInfo() []GroupTourPackageInfo
GetGroupTourPackageInfo GroupTourPackageInfo Getter
func (AlitripgrouptourproductuploadAPIRequest) GetGroupTourType ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetGroupTourType() int64
GetGroupTourType GroupTourType Getter
func (AlitripgrouptourproductuploadAPIRequest) GetHasDiscount ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetHasDiscount() bool
GetHasDiscount HasDiscount Getter
func (AlitripgrouptourproductuploadAPIRequest) GetIsOverseasTour ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetIsOverseasTour() int64
GetIsOverseasTour IsOverseasTour Getter
func (AlitripgrouptourproductuploadAPIRequest) GetItemCustomTag ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetItemCustomTag() string
GetItemCustomTag ItemCustomTag Getter
func (AlitripgrouptourproductuploadAPIRequest) GetItemId ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripgrouptourproductuploadAPIRequest) GetOutProductId ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (AlitripgrouptourproductuploadAPIRequest) GetPackageOperation ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetPackageOperation() int64
GetPackageOperation PackageOperation Getter
func (AlitripgrouptourproductuploadAPIRequest) GetPicUrls ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetPicUrls() []string
GetPicUrls PicUrls Getter
func (AlitripgrouptourproductuploadAPIRequest) GetPurePlay ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetPurePlay() int64
GetPurePlay PurePlay Getter
func (AlitripgrouptourproductuploadAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripgrouptourproductuploadAPIRequest) GetRefundRegulationsJson ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetRefundRegulationsJson() string
GetRefundRegulationsJson RefundRegulationsJson Getter
func (AlitripgrouptourproductuploadAPIRequest) GetRefundType ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetRefundType() int64
GetRefundType RefundType Getter
func (AlitripgrouptourproductuploadAPIRequest) GetReserveLimit ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetReserveLimit() string
GetReserveLimit ReserveLimit Getter
func (AlitripgrouptourproductuploadAPIRequest) GetRouteType ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetRouteType() int64
GetRouteType RouteType Getter
func (AlitripgrouptourproductuploadAPIRequest) GetSecondKill ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetSecondKill() string
GetSecondKill SecondKill Getter
func (AlitripgrouptourproductuploadAPIRequest) GetSellerCids ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetSellerCids() []string
GetSellerCids SellerCids Getter
func (AlitripgrouptourproductuploadAPIRequest) GetSubStock ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetSubStock() int64
GetSubStock SubStock Getter
func (AlitripgrouptourproductuploadAPIRequest) GetSubTitles ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetSubTitles() []string
GetSubTitles SubTitles Getter
func (AlitripgrouptourproductuploadAPIRequest) GetTitle ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetTitle() string
GetTitle Title Getter
func (AlitripgrouptourproductuploadAPIRequest) GetToLocations ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetToLocations() string
GetToLocations ToLocations Getter
func (AlitripgrouptourproductuploadAPIRequest) GetTravellerTemplateId ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetTravellerTemplateId() int64
GetTravellerTemplateId TravellerTemplateId Getter
func (AlitripgrouptourproductuploadAPIRequest) GetTripDay ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetTripDay() int64
GetTripDay TripDay Getter
func (AlitripgrouptourproductuploadAPIRequest) GetTripNight ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetTripNight() int64
GetTripNight TripNight Getter
func (AlitripgrouptourproductuploadAPIRequest) GetWapDesc ¶ added in v1.3.1
func (r AlitripgrouptourproductuploadAPIRequest) GetWapDesc() string
GetWapDesc WapDesc Getter
func (*AlitripgrouptourproductuploadAPIRequest) SetBackTrafficType ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetBackTrafficType(_backTrafficType int64) error
SetBackTrafficType is BackTrafficType Setter 新发布商品时必填。回程交通。1-飞机,2-火车,3-汽,4-船,100-其他
func (*AlitripgrouptourproductuploadAPIRequest) SetConfirmTime ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetConfirmType(_confirmType int64) error
SetConfirmType is ConfirmType Setter 可选,资源确认类型。1-即时确认,2-二次确认。不传默认1
func (*AlitripgrouptourproductuploadAPIRequest) SetDescHtml ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetDescHtml(_descHtml string) error
SetDescHtml is DescHtml Setter PC端详情描述(新发布商品时,desc_xml和desc_html二者至少填写一个),Html格式。商家自定义Html格式描述。
func (*AlitripgrouptourproductuploadAPIRequest) SetDescXml ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetFromLocations(_fromLocations string) error
SetFromLocations is FromLocations Setter 新发布商品时必填。出发地,多个出发地用英文逗号分隔。使用说明同“目的地”
func (*AlitripgrouptourproductuploadAPIRequest) SetGoTrafficType ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetGoTrafficType(_goTrafficType int64) error
SetGoTrafficType is GoTrafficType Setter 新发布商品时必填。去程交通。1-飞机,2-火车,3-汽,4-船,100-其他
func (*AlitripgrouptourproductuploadAPIRequest) SetGroupTourPackageInfo ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetGroupTourPackageInfo(_groupTourPackageInfo []GroupTourPackageInfo) error
SetGroupTourPackageInfo is GroupTourPackageInfo Setter 套餐信息,数组类型,支持上传多个套餐信息
func (*AlitripgrouptourproductuploadAPIRequest) SetGroupTourType ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetGroupTourType(_groupTourType int64) error
SetGroupTourType is GroupTourType Setter 必填,线路的“细分类型”属性:1-普通跟团游、2-半自由行、3-私家团;不填默认值设置为"1-普通跟团游"。
func (*AlitripgrouptourproductuploadAPIRequest) SetHasDiscount ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetHasDiscount(_hasDiscount bool) error
SetHasDiscount is HasDiscount Setter 是否支持会员打折。可选值:true,false;默认值:false(不打折)。不传的话默认为false
func (*AlitripgrouptourproductuploadAPIRequest) SetIsOverseasTour ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetIsOverseasTour(_isOverseasTour int64) error
SetIsOverseasTour is IsOverseasTour Setter 新发布商品时必填。是否出境游,0-不是,1-是。
func (*AlitripgrouptourproductuploadAPIRequest) SetItemCustomTag ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetItemCustomTag(_itemCustomTag string) error
SetItemCustomTag is ItemCustomTag Setter 可选,商家自定义标签(最多4个字,超长则自动截断,会进行违禁词校验)
func (*AlitripgrouptourproductuploadAPIRequest) SetItemId ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 可选,淘系商品id,用于将out_product_id关联到已经存在的商品,并且修改该商品外部商家编码为out_product_id。
func (*AlitripgrouptourproductuploadAPIRequest) SetOutProductId ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 必填,商家自定义商品编码。注:商品基本信息维护、价格库存维护,商品查询都以该编码为主键。
func (*AlitripgrouptourproductuploadAPIRequest) SetPackageOperation ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetPicUrls(_picUrls []string) error
SetPicUrls is PicUrls Setter 新发布商品时必填。商品图片路径。最多支持5张,第一张为主图,必填,其余四张可选填。图片链接支持外链图片(即商家系统中图片链接,必须外网可访问,且格式为jpg或jpeg,大小在500k以内),或者用户淘宝空间内的图片链接。对于外链图片,将自动下载并上传用户淘宝图片空间,上传失败的外链图片将自动忽略不计。。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripgrouptourproductuploadAPIRequest) SetPurePlay ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetPurePlay(_purePlay int64) error
SetPurePlay is PurePlay Setter 是否纯玩团。0-纯玩团,1-含购物团。新发布商品时不传默认为“含购物团”
func (*AlitripgrouptourproductuploadAPIRequest) SetRefundRegulationsJson ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetRefundType(_refundType int64) error
SetRefundType is RefundType Setter 可选,退改规则类型。0-平台标准退改规则,1-自定义退改规则,2-不支持退改(已废弃,勿用),7-新版自定义退改规则。不传默认为0
func (*AlitripgrouptourproductuploadAPIRequest) SetReserveLimit ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetReserveLimit(_reserveLimit string) error
SetReserveLimit is ReserveLimit Setter 可选,该商品提前预定时间限制。格式:1_18_00,含义:该商品必须提前1天预定,且在18:00之前完成预定
func (*AlitripgrouptourproductuploadAPIRequest) SetRouteType ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetRouteType(_routeType int64) error
SetRouteType is RouteType Setter 参团线路类型。0 -目的地参团,1-为出发地参团
func (*AlitripgrouptourproductuploadAPIRequest) SetSecondKill ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetSubStock(_subStock int64) error
SetSubStock is SubStock Setter 可选,减库存方式。0-拍下减库存。1-付款减库存。不传默认为0
func (*AlitripgrouptourproductuploadAPIRequest) SetSubTitles ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetSubTitles(_subTitles []string) error
SetSubTitles is SubTitles Setter 可选,商品亮点,最多支持4个亮点。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripgrouptourproductuploadAPIRequest) SetTitle ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 新发布商品时必填。商品标题,30个中文字符以内
func (*AlitripgrouptourproductuploadAPIRequest) SetToLocations ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetTravellerTemplateId(_travellerTemplateId int64) error
SetTravellerTemplateId is TravellerTemplateId Setter 可选,出行人模板id。模板id需要商家以店铺账号身份登录飞猪商家工作台,从卖家工具->出行人管理中获取。注意:如果传0则代表设置为不需要出行人模板或使用飞猪平台默认的类目模板。
func (*AlitripgrouptourproductuploadAPIRequest) SetTripDay ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetTripDay(_tripDay int64) error
SetTripDay is TripDay Setter 新发布商品时必填。旅游天数。已废弃,以套餐维度行程天数为准。
func (*AlitripgrouptourproductuploadAPIRequest) SetTripNight ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetTripNight(_tripNight int64) error
SetTripNight is TripNight Setter 可选,旅游晚数,不传默认旅游天数-1。已废弃,以套餐维度行程晚数为准。
func (*AlitripgrouptourproductuploadAPIRequest) SetWapDesc ¶ added in v1.3.1
func (r *AlitripgrouptourproductuploadAPIRequest) SetWapDesc(_wapDesc string) error
SetWapDesc is WapDesc Setter 可选,手机端详情描述,xml格式,格式详见示例。
type AlitripgrouptourproductuploadAPIResponse ¶ added in v1.3.1
type AlitripgrouptourproductuploadAPIResponse struct { model.CommonResponse AlitripgrouptourproductuploadAPIResponseModel }
AlitripgrouptourproductuploadAPIResponse 新版跟团游商品维护接口 API返回值 alitrip.grouptour.product.upload
新版跟团游商品维护接口
type AlitripgrouptourproductuploadAPIResponseModel ¶ added in v1.3.1
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 新版跟团游商品维护接口 成功返回结果
type AlitripgrouptoursproductuploadAPIRequest ¶ added in v1.3.1
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 NewAlitripgrouptoursproductuploadRequest ¶ added in v1.3.1
func NewAlitripgrouptoursproductuploadRequest() *AlitripgrouptoursproductuploadAPIRequest
NewAlitripgrouptoursproductuploadRequest 初始化AlitripgrouptoursproductuploadAPIRequest对象
func (AlitripgrouptoursproductuploadAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripgrouptoursproductuploadAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripgrouptoursproductuploadAPIRequest) GetBackTrafficType ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetBackTrafficType() int64
GetBackTrafficType BackTrafficType Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetConfirmTime ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetConfirmTime() int64
GetConfirmTime ConfirmTime Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetConfirmType ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetConfirmType() int64
GetConfirmType ConfirmType Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetDescHtml ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetDescHtml() string
GetDescHtml DescHtml Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetDescXml ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetDescXml() string
GetDescXml DescXml Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetElectronContract ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetElectronContract() *ElectronContract
GetElectronContract ElectronContract Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetFeeExclude ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetFeeExclude() []string
GetFeeExclude FeeExclude Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetFeeInclude ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetFeeInclude() []string
GetFeeInclude FeeInclude Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetFromLocations ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetFromLocations() string
GetFromLocations FromLocations Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetGatherPlaces ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetGatherPlaces() []GatherPlaceInfo
GetGatherPlaces GatherPlaces Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetGoTrafficType ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetGoTrafficType() int64
GetGoTrafficType GoTrafficType Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetIsOverseasTour ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetIsOverseasTour() int64
GetIsOverseasTour IsOverseasTour Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetItemCustomTag ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetItemCustomTag() string
GetItemCustomTag ItemCustomTag Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetItemId ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetItineraries ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetItineraries() []string
GetItineraries Itineraries Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetOrderInfo ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetOrderInfo() []string
GetOrderInfo OrderInfo Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetOutProductId ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetPicUrls ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetPicUrls() []string
GetPicUrls PicUrls Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetPurePlay ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetPurePlay() int64
GetPurePlay PurePlay Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripgrouptoursproductuploadAPIRequest) GetRefundRegulations ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetRefundRegulations() []string
GetRefundRegulations RefundRegulations Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetRefundType ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetRefundType() int64
GetRefundType RefundType Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetReserveLimit ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetReserveLimit() string
GetReserveLimit ReserveLimit Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetRouteType ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetRouteType() int64
GetRouteType RouteType Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetStructItineraries ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetStructItineraries() []StructItinerary
GetStructItineraries StructItineraries Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetSubStock ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetSubStock() int64
GetSubStock SubStock Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetSubTitles ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetSubTitles() []string
GetSubTitles SubTitles Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetTitle ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetTitle() string
GetTitle Title Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetToLocations ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetToLocations() string
GetToLocations ToLocations Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetTravellerTemplateId ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetTravellerTemplateId() int64
GetTravellerTemplateId TravellerTemplateId Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetTripDay ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetTripDay() int64
GetTripDay TripDay Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetTripNight ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetTripNight() int64
GetTripNight TripNight Getter
func (AlitripgrouptoursproductuploadAPIRequest) GetWapDesc ¶ added in v1.3.1
func (r AlitripgrouptoursproductuploadAPIRequest) GetWapDesc() string
GetWapDesc WapDesc Getter
func (*AlitripgrouptoursproductuploadAPIRequest) SetBackTrafficType ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetBackTrafficType(_backTrafficType int64) error
SetBackTrafficType is BackTrafficType Setter 新发布商品时必填。回程交通。1-飞机,2-火车,3-汽,4-船
func (*AlitripgrouptoursproductuploadAPIRequest) SetConfirmTime ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetConfirmType(_confirmType int64) error
SetConfirmType is ConfirmType Setter 可选,资源确认类型。1-即时确认,2-二次确认。不传默认1
func (*AlitripgrouptoursproductuploadAPIRequest) SetDescHtml ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetDescHtml(_descHtml string) error
SetDescHtml is DescHtml Setter PC端详情描述(新发布商品时,desc_xml和desc_html二者至少填写一个),Html格式。商家自定义Html格式描述。
func (*AlitripgrouptoursproductuploadAPIRequest) SetDescXml ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetElectronContract(_electronContract *ElectronContract) error
SetElectronContract is ElectronContract Setter 可选,电子合同信息设置。
func (*AlitripgrouptoursproductuploadAPIRequest) SetFeeExclude ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetFeeExclude(_feeExclude []string) error
SetFeeExclude is FeeExclude Setter 新发布商品时必填。费用不含。列表中每一个元素 对应一点描述,所有描述合起来必须小于1500个中文字符。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripgrouptoursproductuploadAPIRequest) SetFeeInclude ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetFeeInclude(_feeInclude []string) error
SetFeeInclude is FeeInclude Setter 新发布商品时必填。费用包含。列表中每一个元素 对应一点描述,所有描述合起来必须小于1500个中文字符。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripgrouptoursproductuploadAPIRequest) SetFromLocations ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetFromLocations(_fromLocations string) error
SetFromLocations is FromLocations Setter 新发布商品时必填。出发地,多个出发地用英文逗号分隔。使用说明同“目的地”
func (*AlitripgrouptoursproductuploadAPIRequest) SetGatherPlaces ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetGatherPlaces(_gatherPlaces []GatherPlaceInfo) error
SetGatherPlaces is GatherPlaces Setter 可选,跟团时的集合地点,列表中每一个元素对应一个集合地点
func (*AlitripgrouptoursproductuploadAPIRequest) SetGoTrafficType ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetGoTrafficType(_goTrafficType int64) error
SetGoTrafficType is GoTrafficType Setter 新发布商品时必填。去程交通。1-飞机,2-火车,3-汽,4-船
func (*AlitripgrouptoursproductuploadAPIRequest) SetIsOverseasTour ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetIsOverseasTour(_isOverseasTour int64) error
SetIsOverseasTour is IsOverseasTour Setter 新发布商品时必填。是否出境游,0-不是,1-是。
func (*AlitripgrouptoursproductuploadAPIRequest) SetItemCustomTag ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetItemCustomTag(_itemCustomTag string) error
SetItemCustomTag is ItemCustomTag Setter 可选,商家自定义标签(最多4个字,超长则自动截断,会进行违禁词校验)
func (*AlitripgrouptoursproductuploadAPIRequest) SetItemId ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 可选,淘系商品id,用于将out_product_id关联到已经存在的商品,并且修改该商品外部商家编码为out_product_id。
func (*AlitripgrouptoursproductuploadAPIRequest) SetItineraries ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetOrderInfo(_orderInfo []string) error
SetOrderInfo is OrderInfo Setter 新发布商品时必填。预定须知。列表中每一个元素 对应一点描述,所有描述合起来必须小于1500个中文字符。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripgrouptoursproductuploadAPIRequest) SetOutProductId ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商家自定义商品编码。注:商品基本信息维护、价格库存维护,商品查询都以该编码为主键。
func (*AlitripgrouptoursproductuploadAPIRequest) SetPicUrls ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetPicUrls(_picUrls []string) error
SetPicUrls is PicUrls Setter 新发布商品时必填。商品图片路径。最多支持5张,第一张为主图,必填,其余四张可选填。图片链接支持外链图片(即商家系统中图片链接,必须外网可访问,且格式为jpg或jpeg,大小在500k以内),或者用户淘宝空间内的图片链接。对于外链图片,将自动下载并上传用户淘宝图片空间,上传失败的外链图片将自动忽略不计。。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripgrouptoursproductuploadAPIRequest) SetPurePlay ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetPurePlay(_purePlay int64) error
SetPurePlay is PurePlay Setter 可选,是否纯玩团。0-纯玩团,1-含购物团。新发布商品时不传默认为“含购物团”
func (*AlitripgrouptoursproductuploadAPIRequest) SetRefundRegulations ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetRefundType(_refundType int64) error
SetRefundType is RefundType Setter 可选,退改规则类型。0-平台标准退改规则,1-自定义退改规则,2-不支持退改(已废弃,勿用),7-新版自定义退改规则。不传默认为0
func (*AlitripgrouptoursproductuploadAPIRequest) SetReserveLimit ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetReserveLimit(_reserveLimit string) error
SetReserveLimit is ReserveLimit Setter 可选,该商品提前预定时间限制。格式:1_18_00,含义:该商品必须提前1天预定,且在18:00之前完成预定
func (*AlitripgrouptoursproductuploadAPIRequest) SetRouteType ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetRouteType(_routeType int64) error
SetRouteType is RouteType Setter 新发布商品时必填。参团线路类型。0 -目的地参团,1-为出发地参团
func (*AlitripgrouptoursproductuploadAPIRequest) SetStructItineraries ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetStructItineraries(_structItineraries []StructItinerary) error
SetStructItineraries is StructItineraries Setter 行程描述(struct_itineraries与itineraries二者选填一个即可,如果两个都上传则以struct_itineraries为准)。列表中每一个元素对应一天的行程,每天行程由多个活动组成。行程描述是可选项,如果上传了行程内容 则行程序号和行程活动信息必填。
func (*AlitripgrouptoursproductuploadAPIRequest) SetSubStock ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetSubStock(_subStock int64) error
SetSubStock is SubStock Setter 可选,减库存方式。0-拍下减库存。1-付款减库存。不传默认为0
func (*AlitripgrouptoursproductuploadAPIRequest) SetSubTitles ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetSubTitles(_subTitles []string) error
SetSubTitles is SubTitles Setter 可选,商品亮点,最多支持4个亮点。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitripgrouptoursproductuploadAPIRequest) SetTitle ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 新发布商品时必填。商品标题,30个中文字符以内
func (*AlitripgrouptoursproductuploadAPIRequest) SetToLocations ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetTravellerTemplateId(_travellerTemplateId int64) error
SetTravellerTemplateId is TravellerTemplateId Setter 可选,出行人模板id,预留,暂不支持
func (*AlitripgrouptoursproductuploadAPIRequest) SetTripDay ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetTripDay(_tripDay int64) error
SetTripDay is TripDay Setter 新发布商品时必填。旅游天数
func (*AlitripgrouptoursproductuploadAPIRequest) SetTripNight ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetTripNight(_tripNight int64) error
SetTripNight is TripNight Setter 可选,旅游晚数,不传默认旅游天数-1
func (*AlitripgrouptoursproductuploadAPIRequest) SetWapDesc ¶ added in v1.3.1
func (r *AlitripgrouptoursproductuploadAPIRequest) SetWapDesc(_wapDesc string) error
SetWapDesc is WapDesc Setter 可选,手机端详情描述,xml格式,格式详见示例。
type AlitripgrouptoursproductuploadAPIResponse ¶ added in v1.3.1
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进行关联,同时对该商品进行编辑。
type AlitripgrouptoursproductuploadAPIResponseModel ¶ added in v1.3.1
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 跟团游 产品维护接口 成功返回结果
type AlitripitemaddschemagetAPIRequest ¶ added in v1.3.1
type AlitripitemaddschemagetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripitemaddschemagetAPIRequest 获取商品发布模板 API请求 alitrip.item.add.schema.get
发布飞猪度假商品时,需要先调用此接口获取商品发布的模板schema。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
func NewAlitripitemaddschemagetRequest ¶ added in v1.3.1
func NewAlitripitemaddschemagetRequest() *AlitripitemaddschemagetAPIRequest
NewAlitripitemaddschemagetRequest 初始化AlitripitemaddschemagetAPIRequest对象
func (AlitripitemaddschemagetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitripitemaddschemagetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripitemaddschemagetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitripitemaddschemagetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripitemaddschemagetAPIRequest) GetCatId ¶ added in v1.3.1
func (r AlitripitemaddschemagetAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (AlitripitemaddschemagetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitripitemaddschemagetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripitemaddschemagetAPIRequest) SetCatId ¶ added in v1.3.1
func (r *AlitripitemaddschemagetAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 类目id
type AlitripitemaddschemagetAPIResponse ¶ added in v1.3.1
type AlitripitemaddschemagetAPIResponse struct { model.CommonResponse AlitripitemaddschemagetAPIResponseModel }
AlitripitemaddschemagetAPIResponse 获取商品发布模板 API返回值 alitrip.item.add.schema.get
发布飞猪度假商品时,需要先调用此接口获取商品发布的模板schema。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
type AlitripitemaddschemagetAPIResponseModel ¶ added in v1.3.1
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 获取商品发布模板 成功返回结果
type AlitripitemschemaaddAPIRequest ¶ added in v1.3.1
type AlitripitemschemaaddAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripitemschemaaddAPIRequest 使用schema模板进行商品发布 API请求 alitrip.item.schema.add
飞猪度假商品使用schema模板进行商品发布。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
func NewAlitripitemschemaaddRequest ¶ added in v1.3.1
func NewAlitripitemschemaaddRequest() *AlitripitemschemaaddAPIRequest
NewAlitripitemschemaaddRequest 初始化AlitripitemschemaaddAPIRequest对象
func (AlitripitemschemaaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitripitemschemaaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripitemschemaaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitripitemschemaaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripitemschemaaddAPIRequest) GetCatId ¶ added in v1.3.1
func (r AlitripitemschemaaddAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (AlitripitemschemaaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitripitemschemaaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripitemschemaaddAPIRequest) GetSchemaXmlFields ¶ added in v1.3.1
func (r AlitripitemschemaaddAPIRequest) GetSchemaXmlFields() string
GetSchemaXmlFields SchemaXmlFields Getter
func (*AlitripitemschemaaddAPIRequest) SetCatId ¶ added in v1.3.1
func (r *AlitripitemschemaaddAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 类目id
func (*AlitripitemschemaaddAPIRequest) SetSchemaXmlFields ¶ added in v1.3.1
func (r *AlitripitemschemaaddAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
SetSchemaXmlFields is SchemaXmlFields Setter 商品数据
type AlitripitemschemaaddAPIResponse ¶ added in v1.3.1
type AlitripitemschemaaddAPIResponse struct { model.CommonResponse AlitripitemschemaaddAPIResponseModel }
AlitripitemschemaaddAPIResponse 使用schema模板进行商品发布 API返回值 alitrip.item.schema.add
飞猪度假商品使用schema模板进行商品发布。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
type AlitripitemschemaaddAPIResponseModel ¶ added in v1.3.1
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模板进行商品发布 成功返回结果
type AlitripitemschemaupdateAPIRequest ¶ added in v1.3.1
type AlitripitemschemaupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripitemschemaupdateAPIRequest 使用schema进行商品编辑 API请求 alitrip.item.schema.update
飞猪度假商品使用schema进行商品编辑。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
func NewAlitripitemschemaupdateRequest ¶ added in v1.3.1
func NewAlitripitemschemaupdateRequest() *AlitripitemschemaupdateAPIRequest
NewAlitripitemschemaupdateRequest 初始化AlitripitemschemaupdateAPIRequest对象
func (AlitripitemschemaupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitripitemschemaupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripitemschemaupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitripitemschemaupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripitemschemaupdateAPIRequest) GetItemId ¶ added in v1.3.1
func (r AlitripitemschemaupdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripitemschemaupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitripitemschemaupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripitemschemaupdateAPIRequest) GetSchemaXmlFields ¶ added in v1.3.1
func (r AlitripitemschemaupdateAPIRequest) GetSchemaXmlFields() string
GetSchemaXmlFields SchemaXmlFields Getter
func (*AlitripitemschemaupdateAPIRequest) SetItemId ¶ added in v1.3.1
func (r *AlitripitemschemaupdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
func (*AlitripitemschemaupdateAPIRequest) SetSchemaXmlFields ¶ added in v1.3.1
func (r *AlitripitemschemaupdateAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
SetSchemaXmlFields is SchemaXmlFields Setter 商品数据
type AlitripitemschemaupdateAPIResponse ¶ added in v1.3.1
type AlitripitemschemaupdateAPIResponse struct { model.CommonResponse AlitripitemschemaupdateAPIResponseModel }
AlitripitemschemaupdateAPIResponse 使用schema进行商品编辑 API返回值 alitrip.item.schema.update
飞猪度假商品使用schema进行商品编辑。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
type AlitripitemschemaupdateAPIResponseModel ¶ added in v1.3.1
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进行商品编辑 成功返回结果
type AlitripitemupdateschemagetAPIRequest ¶ added in v1.3.1
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 NewAlitripitemupdateschemagetRequest ¶ added in v1.3.1
func NewAlitripitemupdateschemagetRequest() *AlitripitemupdateschemagetAPIRequest
NewAlitripitemupdateschemagetRequest 初始化AlitripitemupdateschemagetAPIRequest对象
func (AlitripitemupdateschemagetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitripitemupdateschemagetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripitemupdateschemagetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitripitemupdateschemagetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripitemupdateschemagetAPIRequest) GetItemId ¶ added in v1.3.1
func (r AlitripitemupdateschemagetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripitemupdateschemagetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitripitemupdateschemagetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripitemupdateschemagetAPIRequest) GetUpdateFieldIds ¶ added in v1.3.1
func (r AlitripitemupdateschemagetAPIRequest) GetUpdateFieldIds() []string
GetUpdateFieldIds UpdateFieldIds Getter
func (*AlitripitemupdateschemagetAPIRequest) SetItemId ¶ added in v1.3.1
func (r *AlitripitemupdateschemagetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
func (*AlitripitemupdateschemagetAPIRequest) SetUpdateFieldIds ¶ added in v1.3.1
func (r *AlitripitemupdateschemagetAPIRequest) SetUpdateFieldIds(_updateFieldIds []string) error
SetUpdateFieldIds is UpdateFieldIds Setter 需要获取的编辑schema,不填默认返回全部
type AlitripitemupdateschemagetAPIResponse ¶ added in v1.3.1
type AlitripitemupdateschemagetAPIResponse struct { model.CommonResponse AlitripitemupdateschemagetAPIResponseModel }
AlitripitemupdateschemagetAPIResponse 获取编辑商品的schema模板 API返回值 alitrip.item.update.schema.get
获取编辑商品的schema模板。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
type AlitripitemupdateschemagetAPIResponseModel ¶ added in v1.3.1
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模板 成功返回结果
type AlitriplocalplayproductuploadAPIRequest ¶ added in v1.3.1
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 NewAlitriplocalplayproductuploadRequest ¶ added in v1.3.1
func NewAlitriplocalplayproductuploadRequest() *AlitriplocalplayproductuploadAPIRequest
NewAlitriplocalplayproductuploadRequest 初始化AlitriplocalplayproductuploadAPIRequest对象
func (AlitriplocalplayproductuploadAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriplocalplayproductuploadAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriplocalplayproductuploadAPIRequest) GetConfirmTime ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetConfirmTime() int64
GetConfirmTime ConfirmTime Getter
func (AlitriplocalplayproductuploadAPIRequest) GetConfirmType ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetConfirmType() int64
GetConfirmType ConfirmType Getter
func (AlitriplocalplayproductuploadAPIRequest) GetDescHtml ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetDescHtml() string
GetDescHtml DescHtml Getter
func (AlitriplocalplayproductuploadAPIRequest) GetDescXml ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetDescXml() string
GetDescXml DescXml Getter
func (AlitriplocalplayproductuploadAPIRequest) GetFeeExclude ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetFeeExclude() []string
GetFeeExclude FeeExclude Getter
func (AlitriplocalplayproductuploadAPIRequest) GetFromLocations ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetFromLocations() string
GetFromLocations FromLocations Getter
func (AlitriplocalplayproductuploadAPIRequest) GetHasDiscount ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetHasDiscount() bool
GetHasDiscount HasDiscount Getter
func (AlitriplocalplayproductuploadAPIRequest) GetIsOverseasTour ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetIsOverseasTour() int64
GetIsOverseasTour IsOverseasTour Getter
func (AlitriplocalplayproductuploadAPIRequest) GetItemCustomTag ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetItemCustomTag() string
GetItemCustomTag ItemCustomTag Getter
func (AlitriplocalplayproductuploadAPIRequest) GetItemId ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitriplocalplayproductuploadAPIRequest) GetOrderInfo ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetOrderInfo() []string
GetOrderInfo OrderInfo Getter
func (AlitriplocalplayproductuploadAPIRequest) GetOutProductId ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (AlitriplocalplayproductuploadAPIRequest) GetPicUrls ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetPicUrls() []string
GetPicUrls PicUrls Getter
func (AlitriplocalplayproductuploadAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitriplocalplayproductuploadAPIRequest) GetRefundRegulationsJson ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetRefundRegulationsJson() string
GetRefundRegulationsJson RefundRegulationsJson Getter
func (AlitriplocalplayproductuploadAPIRequest) GetRefundType ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetRefundType() int64
GetRefundType RefundType Getter
func (AlitriplocalplayproductuploadAPIRequest) GetReserveLimit ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetReserveLimit() string
GetReserveLimit ReserveLimit Getter
func (AlitriplocalplayproductuploadAPIRequest) GetSecondKill ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetSecondKill() string
GetSecondKill SecondKill Getter
func (AlitriplocalplayproductuploadAPIRequest) GetSellerCids ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetSellerCids() []string
GetSellerCids SellerCids Getter
func (AlitriplocalplayproductuploadAPIRequest) GetSubStock ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetSubStock() int64
GetSubStock SubStock Getter
func (AlitriplocalplayproductuploadAPIRequest) GetSubTitles ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetSubTitles() []string
GetSubTitles SubTitles Getter
func (AlitriplocalplayproductuploadAPIRequest) GetTitle ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetTitle() string
GetTitle Title Getter
func (AlitriplocalplayproductuploadAPIRequest) GetToLocations ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetToLocations() string
GetToLocations ToLocations Getter
func (AlitriplocalplayproductuploadAPIRequest) GetTouristServiceProvider ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetTouristServiceProvider() string
GetTouristServiceProvider TouristServiceProvider Getter
func (AlitriplocalplayproductuploadAPIRequest) GetTravellerTemplateId ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetTravellerTemplateId() int64
GetTravellerTemplateId TravellerTemplateId Getter
func (AlitriplocalplayproductuploadAPIRequest) GetTripDay ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetTripDay() int64
GetTripDay TripDay Getter
func (AlitriplocalplayproductuploadAPIRequest) GetTripNight ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetTripNight() int64
GetTripNight TripNight Getter
func (AlitriplocalplayproductuploadAPIRequest) GetWapDesc ¶ added in v1.3.1
func (r AlitriplocalplayproductuploadAPIRequest) GetWapDesc() string
GetWapDesc WapDesc Getter
func (*AlitriplocalplayproductuploadAPIRequest) SetConfirmTime ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetConfirmType(_confirmType int64) error
SetConfirmType is ConfirmType Setter 可选,资源确认类型。1-即时确认,2-二次确认。不传默认1
func (*AlitriplocalplayproductuploadAPIRequest) SetDescHtml ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetDescHtml(_descHtml string) error
SetDescHtml is DescHtml Setter PC端详情描述(新发布商品时,desc_xml和desc_html二者至少填写一个),Html格式。商家自定义Html格式描述。
func (*AlitriplocalplayproductuploadAPIRequest) SetDescXml ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetFeeExclude(_feeExclude []string) error
SetFeeExclude is FeeExclude Setter 新发布商品时必填。费用不含。列表中每一个元素 对应一点描述,所有描述合起来必须小于1500个中文字符。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitriplocalplayproductuploadAPIRequest) SetFromLocations ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetFromLocations(_fromLocations string) error
SetFromLocations is FromLocations Setter 新发布商品时必填。出发地,多个出发地用英文逗号分隔。使用说明同“目的地”
func (*AlitriplocalplayproductuploadAPIRequest) SetHasDiscount ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetHasDiscount(_hasDiscount bool) error
SetHasDiscount is HasDiscount Setter 是否支持会员打折。可选值:true,false;默认值:false(不打折)。不传的话默认为false
func (*AlitriplocalplayproductuploadAPIRequest) SetIsOverseasTour ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetIsOverseasTour(_isOverseasTour int64) error
SetIsOverseasTour is IsOverseasTour Setter 新发布商品时必填。是否出境游,0-不是,1-是。
func (*AlitriplocalplayproductuploadAPIRequest) SetItemCustomTag ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetItemCustomTag(_itemCustomTag string) error
SetItemCustomTag is ItemCustomTag Setter 可选,商家自定义标签(最多4个字,超长则自动截断,会进行违禁词校验)
func (*AlitriplocalplayproductuploadAPIRequest) SetItemId ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 可选,淘系商品id,用于将out_product_id关联到已经存在的商品,并且修改该商品外部商家编码为out_product_id。
func (*AlitriplocalplayproductuploadAPIRequest) SetOrderInfo ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetOrderInfo(_orderInfo []string) error
SetOrderInfo is OrderInfo Setter 新发布商品时必填。预定须知。列表中每一个元素 对应一点描述,所有描述合起来必须小于1500个中文字符。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitriplocalplayproductuploadAPIRequest) SetOutProductId ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商家自定义商品编码。注:商品基本信息维护、价格库存维护,商品查询都以该编码为主键。
func (*AlitriplocalplayproductuploadAPIRequest) SetPicUrls ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetPicUrls(_picUrls []string) error
SetPicUrls is PicUrls Setter 新发布商品时必填。商品图片路径。最多支持5张,第一张为主图,必填,其余四张可选填。图片链接支持外链图片(即商家系统中图片链接,必须外网可访问,且格式为jpg或jpeg,大小在500k以内),或者用户淘宝空间内的图片链接。对于外链图片,将自动下载并上传用户淘宝图片空间,上传失败的外链图片将自动忽略不计。。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitriplocalplayproductuploadAPIRequest) SetRefundRegulationsJson ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetRefundType(_refundType int64) error
SetRefundType is RefundType Setter 可选,退改规则类型。0-平台标准退改规则,1-自定义退改规则,2-不支持退改(已废弃,勿用),7-线路商品(跟团、自由行等)新版自定义退改规则。不传默认为0
func (*AlitriplocalplayproductuploadAPIRequest) SetReserveLimit ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetReserveLimit(_reserveLimit string) error
SetReserveLimit is ReserveLimit Setter 可选,该商品提前预定时间限制。格式:1_18_00,含义:该商品必须提前1天预定,且在18:00之前完成预定
func (*AlitriplocalplayproductuploadAPIRequest) SetSecondKill ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetSubStock(_subStock int64) error
SetSubStock is SubStock Setter 可选,减库存方式。0-拍下减库存。1-付款减库存。不传默认为0
func (*AlitriplocalplayproductuploadAPIRequest) SetSubTitles ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetSubTitles(_subTitles []string) error
SetSubTitles is SubTitles Setter 可选,商品亮点,最多支持4个亮点。注:在SDK中数组多个元素间以英文逗号分隔
func (*AlitriplocalplayproductuploadAPIRequest) SetTitle ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 新发布商品时必填。商品标题,30个中文字符以内
func (*AlitriplocalplayproductuploadAPIRequest) SetToLocations ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetTouristServiceProvider(_touristServiceProvider string) error
SetTouristServiceProvider is TouristServiceProvider Setter 代订服务说明(请填写真实的旅游服务提供商)
func (*AlitriplocalplayproductuploadAPIRequest) SetTravellerTemplateId ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetTravellerTemplateId(_travellerTemplateId int64) error
SetTravellerTemplateId is TravellerTemplateId Setter 可选,出行人模板id。模板id需要商家以店铺账号身份登录飞猪商家工作台,从卖家工具->出行人管理中获取。注意:如果传0则代表设置为不需要出行人模板或使用飞猪平台默认的类目模板。
func (*AlitriplocalplayproductuploadAPIRequest) SetTripDay ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetTripDay(_tripDay int64) error
SetTripDay is TripDay Setter 新发布商品时必填。旅游天数
func (*AlitriplocalplayproductuploadAPIRequest) SetTripNight ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetTripNight(_tripNight int64) error
SetTripNight is TripNight Setter 可选,旅游晚数,不传默认旅游天数-1
func (*AlitriplocalplayproductuploadAPIRequest) SetWapDesc ¶ added in v1.3.1
func (r *AlitriplocalplayproductuploadAPIRequest) SetWapDesc(_wapDesc string) error
SetWapDesc is WapDesc Setter 可选,手机端详情描述,xml格式,格式详见示例。
type AlitriplocalplayproductuploadAPIResponse ¶ added in v1.3.1
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进行关联,同时对该商品进行编辑。
type AlitriplocalplayproductuploadAPIResponseModel ¶ added in v1.3.1
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 当地玩乐 产品维护接口 成功返回结果
type AlitriptravelgereralitemupdateAPIRequest ¶ added in v1.3.1
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 NewAlitriptravelgereralitemupdateRequest ¶ added in v1.3.1
func NewAlitriptravelgereralitemupdateRequest() *AlitriptravelgereralitemupdateAPIRequest
NewAlitriptravelgereralitemupdateRequest 初始化AlitriptravelgereralitemupdateAPIRequest对象
func (AlitriptravelgereralitemupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriptravelgereralitemupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriptravelgereralitemupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriptravelgereralitemupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriptravelgereralitemupdateAPIRequest) GetBaseInfo ¶ added in v1.3.1
func (r AlitriptravelgereralitemupdateAPIRequest) GetBaseInfo() *BaseInfo
GetBaseInfo BaseInfo Getter
func (AlitriptravelgereralitemupdateAPIRequest) GetBookingRules ¶ added in v1.3.1
func (r AlitriptravelgereralitemupdateAPIRequest) GetBookingRules() []BookingRuleInfo
GetBookingRules BookingRules Getter
func (AlitriptravelgereralitemupdateAPIRequest) GetCommonSkuList ¶ added in v1.3.1
func (r AlitriptravelgereralitemupdateAPIRequest) GetCommonSkuList() []NoDateSkuInfo
GetCommonSkuList CommonSkuList Getter
func (AlitriptravelgereralitemupdateAPIRequest) GetDateSkuInfoList ¶ added in v1.3.1
func (r AlitriptravelgereralitemupdateAPIRequest) GetDateSkuInfoList() []DateSkuInfo
GetDateSkuInfoList DateSkuInfoList Getter
func (AlitriptravelgereralitemupdateAPIRequest) GetItemEleCertInfo ¶ added in v1.3.1
func (r AlitriptravelgereralitemupdateAPIRequest) GetItemEleCertInfo() *ItemEleCertInfo
GetItemEleCertInfo ItemEleCertInfo Getter
func (AlitriptravelgereralitemupdateAPIRequest) GetItemRefundInfo ¶ added in v1.3.1
func (r AlitriptravelgereralitemupdateAPIRequest) GetItemRefundInfo() *ItemRefundInfo
GetItemRefundInfo ItemRefundInfo Getter
func (AlitriptravelgereralitemupdateAPIRequest) GetPoi ¶ added in v1.3.1
func (r AlitriptravelgereralitemupdateAPIRequest) GetPoi() *Poi
GetPoi Poi Getter
func (AlitriptravelgereralitemupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriptravelgereralitemupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitriptravelgereralitemupdateAPIRequest) SetBaseInfo ¶ added in v1.3.1
func (r *AlitriptravelgereralitemupdateAPIRequest) SetBaseInfo(_baseInfo *BaseInfo) error
SetBaseInfo is BaseInfo Setter 必填,商品基本信息
func (*AlitriptravelgereralitemupdateAPIRequest) SetBookingRules ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitriptravelgereralitemupdateAPIRequest) SetCommonSkuList(_commonSkuList []NoDateSkuInfo) error
SetCommonSkuList is CommonSkuList Setter 更新sku信息,仅限非日历(普通)商品使用
func (*AlitriptravelgereralitemupdateAPIRequest) SetDateSkuInfoList ¶ added in v1.3.1
func (r *AlitriptravelgereralitemupdateAPIRequest) SetDateSkuInfoList(_dateSkuInfoList []DateSkuInfo) error
SetDateSkuInfoList is DateSkuInfoList Setter 更新sku信息,仅限日历商品使用
func (*AlitriptravelgereralitemupdateAPIRequest) SetItemEleCertInfo ¶ added in v1.3.1
func (r *AlitriptravelgereralitemupdateAPIRequest) SetItemEleCertInfo(_itemEleCertInfo *ItemEleCertInfo) error
SetItemEleCertInfo is ItemEleCertInfo Setter 新版电子凭证信息。如果传递了此参数,则sales_info中旧版电子凭证信息将被忽略,否则电子凭证信息将以旧版电子凭证参数为准。如果新、旧版参数都没传,则该商品不支持电子凭证
func (*AlitriptravelgereralitemupdateAPIRequest) SetItemRefundInfo ¶ added in v1.3.1
func (r *AlitriptravelgereralitemupdateAPIRequest) SetItemRefundInfo(_itemRefundInfo *ItemRefundInfo) error
SetItemRefundInfo is ItemRefundInfo Setter 选填,退款规则结构
func (*AlitriptravelgereralitemupdateAPIRequest) SetPoi ¶ added in v1.3.1
func (r *AlitriptravelgereralitemupdateAPIRequest) SetPoi(_poi *Poi) error
SetPoi is Poi Setter poi信息,个别类目必填,如演艺类目下场馆信息
type AlitriptravelgereralitemupdateAPIResponse ¶ added in v1.3.1
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:其他)
type AlitriptravelgereralitemupdateAPIResponseModel ¶ added in v1.3.1
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重复将自动更新) 成功返回结果
type AlitriptravelgereralproductupdateAPIRequest ¶ added in v1.3.1
type AlitriptravelgereralproductupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitriptravelgereralproductupdateAPIRequest 通用类目产品发布编辑 API请求 alitrip.travel.gereralproduct.update
提供给飞猪供销平台供应商发布编辑通用类目产品的API
func NewAlitriptravelgereralproductupdateRequest ¶ added in v1.3.1
func NewAlitriptravelgereralproductupdateRequest() *AlitriptravelgereralproductupdateAPIRequest
NewAlitriptravelgereralproductupdateRequest 初始化AlitriptravelgereralproductupdateAPIRequest对象
func (AlitriptravelgereralproductupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriptravelgereralproductupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriptravelgereralproductupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriptravelgereralproductupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriptravelgereralproductupdateAPIRequest) GetBaseInfo ¶ added in v1.3.1
func (r AlitriptravelgereralproductupdateAPIRequest) GetBaseInfo() *GeneralProductBaseInfo
GetBaseInfo BaseInfo Getter
func (AlitriptravelgereralproductupdateAPIRequest) GetBookingRules ¶ added in v1.3.1
func (r AlitriptravelgereralproductupdateAPIRequest) GetBookingRules() []BookingRuleInfo
GetBookingRules BookingRules Getter
func (AlitriptravelgereralproductupdateAPIRequest) GetDateSkuInfoList ¶ added in v1.3.1
func (r AlitriptravelgereralproductupdateAPIRequest) GetDateSkuInfoList() []DateSkuInfo
GetDateSkuInfoList DateSkuInfoList Getter
func (AlitriptravelgereralproductupdateAPIRequest) GetProductSaleInfo ¶ added in v1.3.1
func (r AlitriptravelgereralproductupdateAPIRequest) GetProductSaleInfo() *ProductSaleInfo
GetProductSaleInfo ProductSaleInfo Getter
func (AlitriptravelgereralproductupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriptravelgereralproductupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitriptravelgereralproductupdateAPIRequest) GetRefundInfo ¶ added in v1.3.1
func (r AlitriptravelgereralproductupdateAPIRequest) GetRefundInfo() *ItemRefundInfo
GetRefundInfo RefundInfo Getter
func (*AlitriptravelgereralproductupdateAPIRequest) SetBaseInfo ¶ added in v1.3.1
func (r *AlitriptravelgereralproductupdateAPIRequest) SetBaseInfo(_baseInfo *GeneralProductBaseInfo) error
SetBaseInfo is BaseInfo Setter 产品基本信息
func (*AlitriptravelgereralproductupdateAPIRequest) SetBookingRules ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitriptravelgereralproductupdateAPIRequest) SetDateSkuInfoList(_dateSkuInfoList []DateSkuInfo) error
SetDateSkuInfoList is DateSkuInfoList Setter 更新sku信息,仅限日历商品使用
func (*AlitriptravelgereralproductupdateAPIRequest) SetProductSaleInfo ¶ added in v1.3.1
func (r *AlitriptravelgereralproductupdateAPIRequest) SetProductSaleInfo(_productSaleInfo *ProductSaleInfo) error
SetProductSaleInfo is ProductSaleInfo Setter 产品销售信息
func (*AlitriptravelgereralproductupdateAPIRequest) SetRefundInfo ¶ added in v1.3.1
func (r *AlitriptravelgereralproductupdateAPIRequest) SetRefundInfo(_refundInfo *ItemRefundInfo) error
SetRefundInfo is RefundInfo Setter 退款规则结构
type AlitriptravelgereralproductupdateAPIResponse ¶ added in v1.3.1
type AlitriptravelgereralproductupdateAPIResponse struct { model.CommonResponse AlitriptravelgereralproductupdateAPIResponseModel }
AlitriptravelgereralproductupdateAPIResponse 通用类目产品发布编辑 API返回值 alitrip.travel.gereralproduct.update
提供给飞猪供销平台供应商发布编辑通用类目产品的API
type AlitriptravelgereralproductupdateAPIResponseModel ¶ added in v1.3.1
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 通用类目产品发布编辑 成功返回结果
type AlitriptravelgereralskuupdateAPIRequest ¶ added in v1.3.1
type AlitriptravelgereralskuupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitriptravelgereralskuupdateAPIRequest 发布SKU信息(如果properties重复 则更新) API请求 alitrip.travel.gereralsku.update
发布SKU信息(如果properties重复 则更新)
func NewAlitriptravelgereralskuupdateRequest ¶ added in v1.3.1
func NewAlitriptravelgereralskuupdateRequest() *AlitriptravelgereralskuupdateAPIRequest
NewAlitriptravelgereralskuupdateRequest 初始化AlitriptravelgereralskuupdateAPIRequest对象
func (AlitriptravelgereralskuupdateAPIRequest) GetAlias ¶ added in v1.3.1
func (r AlitriptravelgereralskuupdateAPIRequest) GetAlias() []PropertyAliasInfo
GetAlias Alias Getter
func (AlitriptravelgereralskuupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriptravelgereralskuupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriptravelgereralskuupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriptravelgereralskuupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriptravelgereralskuupdateAPIRequest) GetDateList ¶ added in v1.3.1
func (r AlitriptravelgereralskuupdateAPIRequest) GetDateList() []DateInventoryAndPrice
GetDateList DateList Getter
func (AlitriptravelgereralskuupdateAPIRequest) GetItemId ¶ added in v1.3.1
func (r AlitriptravelgereralskuupdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitriptravelgereralskuupdateAPIRequest) GetOuterId ¶ added in v1.3.1
func (r AlitriptravelgereralskuupdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (AlitriptravelgereralskuupdateAPIRequest) GetPrice ¶ added in v1.3.1
func (r AlitriptravelgereralskuupdateAPIRequest) GetPrice() int64
GetPrice Price Getter
func (AlitriptravelgereralskuupdateAPIRequest) GetProperties ¶ added in v1.3.1
func (r AlitriptravelgereralskuupdateAPIRequest) GetProperties() []CatPropInfo
GetProperties Properties Getter
func (AlitriptravelgereralskuupdateAPIRequest) GetQuantity ¶ added in v1.3.1
func (r AlitriptravelgereralskuupdateAPIRequest) GetQuantity() int64
GetQuantity Quantity Getter
func (AlitriptravelgereralskuupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriptravelgereralskuupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitriptravelgereralskuupdateAPIRequest) SetAlias ¶ added in v1.3.1
func (r *AlitriptravelgereralskuupdateAPIRequest) SetAlias(_alias []PropertyAliasInfo) error
SetAlias is Alias Setter sku销售属性别名;如套餐1 需要调整成其他 需要在这里修改
func (*AlitriptravelgereralskuupdateAPIRequest) SetDateList ¶ added in v1.3.1
func (r *AlitriptravelgereralskuupdateAPIRequest) SetDateList(_dateList []DateInventoryAndPrice) error
SetDateList is DateList Setter SKU的销售价格库存,日历商品使用
func (*AlitriptravelgereralskuupdateAPIRequest) SetItemId ¶ added in v1.3.1
func (r *AlitriptravelgereralskuupdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 淘宝商品ID
func (*AlitriptravelgereralskuupdateAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *AlitriptravelgereralskuupdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 商家编码
func (*AlitriptravelgereralskuupdateAPIRequest) SetPrice ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitriptravelgereralskuupdateAPIRequest) SetQuantity(_quantity int64) error
SetQuantity is Quantity Setter Sku的库存数量,普通商品使用。sku的总数量应该小于等于商品总数量(Item的NUM),sku数量变化后item的总数量也会随着变化。取值范围:大于等于零的整数
type AlitriptravelgereralskuupdateAPIResponse ¶ added in v1.3.1
type AlitriptravelgereralskuupdateAPIResponse struct { model.CommonResponse AlitriptravelgereralskuupdateAPIResponseModel }
AlitriptravelgereralskuupdateAPIResponse 发布SKU信息(如果properties重复 则更新) API返回值 alitrip.travel.gereralsku.update
发布SKU信息(如果properties重复 则更新)
type AlitriptravelgereralskuupdateAPIResponseModel ¶ added in v1.3.1
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重复 则更新) 成功返回结果
type AlitriptravelpoisearchAPIRequest ¶ added in v1.3.1
type AlitriptravelpoisearchAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitriptravelpoisearchAPIRequest POI信息查询 API请求 alitrip.travel.poi.search
POI信息查询,用于商品更新使用
func NewAlitriptravelpoisearchRequest ¶ added in v1.3.1
func NewAlitriptravelpoisearchRequest() *AlitriptravelpoisearchAPIRequest
NewAlitriptravelpoisearchRequest 初始化AlitriptravelpoisearchAPIRequest对象
func (AlitriptravelpoisearchAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriptravelpoisearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriptravelpoisearchAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriptravelpoisearchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriptravelpoisearchAPIRequest) GetId ¶ added in v1.3.1
func (r AlitriptravelpoisearchAPIRequest) GetId() int64
GetId Id Getter
func (AlitriptravelpoisearchAPIRequest) GetName ¶ added in v1.3.1
func (r AlitriptravelpoisearchAPIRequest) GetName() string
GetName Name Getter
func (AlitriptravelpoisearchAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriptravelpoisearchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitriptravelpoisearchAPIRequest) GetType ¶ added in v1.3.1
func (r AlitriptravelpoisearchAPIRequest) GetType() int64
GetType Type Getter
func (*AlitriptravelpoisearchAPIRequest) SetId ¶ added in v1.3.1
func (r *AlitriptravelpoisearchAPIRequest) SetId(_id int64) error
SetId is Id Setter POI信息ID;
func (*AlitriptravelpoisearchAPIRequest) SetName ¶ added in v1.3.1
func (r *AlitriptravelpoisearchAPIRequest) SetName(_name string) error
SetName is Name Setter POI信息名称
func (*AlitriptravelpoisearchAPIRequest) SetType ¶ added in v1.3.1
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 ¶ added in v1.3.1
type AlitriptravelpoisearchAPIResponse struct { model.CommonResponse AlitriptravelpoisearchAPIResponseModel }
AlitriptravelpoisearchAPIResponse POI信息查询 API返回值 alitrip.travel.poi.search
POI信息查询,用于商品更新使用
type AlitriptravelpoisearchAPIResponseModel ¶ added in v1.3.1
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信息查询 成功返回结果
type AlitriptravelproductgereralskuupdateAPIRequest ¶ added in v1.3.1
type AlitriptravelproductgereralskuupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitriptravelproductgereralskuupdateAPIRequest (供销)船票通用类目sku新增&编辑API API请求 alitrip.travel.product.gereralsku.update
发布SKU信息(如果properties重复 则更新)
func NewAlitriptravelproductgereralskuupdateRequest ¶ added in v1.3.1
func NewAlitriptravelproductgereralskuupdateRequest() *AlitriptravelproductgereralskuupdateAPIRequest
NewAlitriptravelproductgereralskuupdateRequest 初始化AlitriptravelproductgereralskuupdateAPIRequest对象
func (AlitriptravelproductgereralskuupdateAPIRequest) GetAlias ¶ added in v1.3.1
func (r AlitriptravelproductgereralskuupdateAPIRequest) GetAlias() []PropertyAliasInfo
GetAlias Alias Getter
func (AlitriptravelproductgereralskuupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriptravelproductgereralskuupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriptravelproductgereralskuupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriptravelproductgereralskuupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriptravelproductgereralskuupdateAPIRequest) GetDateList ¶ added in v1.3.1
func (r AlitriptravelproductgereralskuupdateAPIRequest) GetDateList() []DateInventoryAndPrice
GetDateList DateList Getter
func (AlitriptravelproductgereralskuupdateAPIRequest) GetItemId ¶ added in v1.3.1
func (r AlitriptravelproductgereralskuupdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitriptravelproductgereralskuupdateAPIRequest) GetOuterId ¶ added in v1.3.1
func (r AlitriptravelproductgereralskuupdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (AlitriptravelproductgereralskuupdateAPIRequest) GetPrice ¶ added in v1.3.1
func (r AlitriptravelproductgereralskuupdateAPIRequest) GetPrice() int64
GetPrice Price Getter
func (AlitriptravelproductgereralskuupdateAPIRequest) GetProperties ¶ added in v1.3.1
func (r AlitriptravelproductgereralskuupdateAPIRequest) GetProperties() []CatPropInfo
GetProperties Properties Getter
func (AlitriptravelproductgereralskuupdateAPIRequest) GetQuantity ¶ added in v1.3.1
func (r AlitriptravelproductgereralskuupdateAPIRequest) GetQuantity() int64
GetQuantity Quantity Getter
func (AlitriptravelproductgereralskuupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriptravelproductgereralskuupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitriptravelproductgereralskuupdateAPIRequest) SetAlias ¶ added in v1.3.1
func (r *AlitriptravelproductgereralskuupdateAPIRequest) SetAlias(_alias []PropertyAliasInfo) error
SetAlias is Alias Setter sku销售属性别名;如套餐1 需要调整成其他 需要在这里修改
func (*AlitriptravelproductgereralskuupdateAPIRequest) SetDateList ¶ added in v1.3.1
func (r *AlitriptravelproductgereralskuupdateAPIRequest) SetDateList(_dateList []DateInventoryAndPrice) error
SetDateList is DateList Setter SKU的销售价格库存,日历商品使用
func (*AlitriptravelproductgereralskuupdateAPIRequest) SetItemId ¶ added in v1.3.1
func (r *AlitriptravelproductgereralskuupdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 淘宝商品ID
func (*AlitriptravelproductgereralskuupdateAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *AlitriptravelproductgereralskuupdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 商家编码
func (*AlitriptravelproductgereralskuupdateAPIRequest) SetPrice ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *AlitriptravelproductgereralskuupdateAPIRequest) SetQuantity(_quantity int64) error
SetQuantity is Quantity Setter Sku的库存数量。sku的总数量应该小于等于商品总数量(Item的NUM),sku数量变化后item的总数量也会随着变化。取值范围:大于等于零的整数
type AlitriptravelproductgereralskuupdateAPIResponse ¶ added in v1.3.1
type AlitriptravelproductgereralskuupdateAPIResponse struct { model.CommonResponse AlitriptravelproductgereralskuupdateAPIResponseModel }
AlitriptravelproductgereralskuupdateAPIResponse (供销)船票通用类目sku新增&编辑API API返回值 alitrip.travel.product.gereralsku.update
发布SKU信息(如果properties重复 则更新)
type AlitriptravelproductgereralskuupdateAPIResponseModel ¶ added in v1.3.1
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 成功返回结果
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
type ItemScenicInfo ¶
type ItemScenicInfo struct { // 结构化景点信息 景点结构化信息和文本描述二选一 ScenicList []ItemScenic `json:"scenic_list,omitempty" xml:"scenic_list>item_scenic,omitempty"` }
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
type PontusTravelProduct ¶
type PontusTravelProduct struct { // 资源元素的外部商家编码 ElementId string `json:"element_id,omitempty" xml:"element_id,omitempty"` // 元素份数 Num int64 `json:"num,omitempty" xml:"num,omitempty"` }
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
type TaobaoalitriptravelbaseinfocitiesgetAPIRequest ¶ added in v1.3.1
type TaobaoalitriptravelbaseinfocitiesgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoalitriptravelbaseinfocitiesgetAPIRequest 【API3.0】度假线路商品发布时基础信息获取接口:地址数据查询 API请求 taobao.alitrip.travel.baseinfo.cities.get
旅行度假新商品发布时可用的扩展接口,用于获取可用的出发地或目的地城市列表。
func NewTaobaoalitriptravelbaseinfocitiesgetRequest ¶ added in v1.3.1
func NewTaobaoalitriptravelbaseinfocitiesgetRequest() *TaobaoalitriptravelbaseinfocitiesgetAPIRequest
NewTaobaoalitriptravelbaseinfocitiesgetRequest 初始化TaobaoalitriptravelbaseinfocitiesgetAPIRequest对象
func (TaobaoalitriptravelbaseinfocitiesgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoalitriptravelbaseinfocitiesgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoalitriptravelbaseinfocitiesgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoalitriptravelbaseinfocitiesgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoalitriptravelbaseinfocitiesgetAPIRequest) GetCatType ¶ added in v1.3.1
func (r TaobaoalitriptravelbaseinfocitiesgetAPIRequest) GetCatType() int64
GetCatType CatType Getter
func (TaobaoalitriptravelbaseinfocitiesgetAPIRequest) GetIocType ¶ added in v1.3.1
func (r TaobaoalitriptravelbaseinfocitiesgetAPIRequest) GetIocType() int64
GetIocType IocType Getter
func (TaobaoalitriptravelbaseinfocitiesgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoalitriptravelbaseinfocitiesgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoalitriptravelbaseinfocitiesgetAPIRequest) SetCatType ¶ added in v1.3.1
func (r *TaobaoalitriptravelbaseinfocitiesgetAPIRequest) SetCatType(_catType int64) error
SetCatType is CatType Setter 1-境内跟团游 2-境内自由行 3-出境跟团游 4-出境自由行 5-境外当地玩乐 6-国际邮轮 9-境内邮轮
func (*TaobaoalitriptravelbaseinfocitiesgetAPIRequest) SetIocType ¶ added in v1.3.1
func (r *TaobaoalitriptravelbaseinfocitiesgetAPIRequest) SetIocType(_iocType int64) error
SetIocType is IocType Setter 1-获取目的地城市列表 2-获取出发地城市列表
type TaobaoalitriptravelbaseinfocitiesgetAPIResponse ¶ added in v1.3.1
type TaobaoalitriptravelbaseinfocitiesgetAPIResponse struct { model.CommonResponse TaobaoalitriptravelbaseinfocitiesgetAPIResponseModel }
TaobaoalitriptravelbaseinfocitiesgetAPIResponse 【API3.0】度假线路商品发布时基础信息获取接口:地址数据查询 API返回值 taobao.alitrip.travel.baseinfo.cities.get
旅行度假新商品发布时可用的扩展接口,用于获取可用的出发地或目的地城市列表。
type TaobaoalitriptravelbaseinfocitiesgetAPIResponseModel ¶ added in v1.3.1
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】度假线路商品发布时基础信息获取接口:地址数据查询 成功返回结果
type TaobaoalitriptravelbaseinfocruisegetAPIRequest ¶ added in v1.3.1
type TaobaoalitriptravelbaseinfocruisegetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoalitriptravelbaseinfocruisegetAPIRequest 【API3.0】度假线路商品发布时基础信息获取接口:邮轮扩展信息获取 API请求 taobao.alitrip.travel.baseinfo.cruise.get
旅行度假新商品发布时可用的扩展接口,用于获取邮轮类目相关扩展信息。
func NewTaobaoalitriptravelbaseinfocruisegetRequest ¶ added in v1.3.1
func NewTaobaoalitriptravelbaseinfocruisegetRequest() *TaobaoalitriptravelbaseinfocruisegetAPIRequest
NewTaobaoalitriptravelbaseinfocruisegetRequest 初始化TaobaoalitriptravelbaseinfocruisegetAPIRequest对象
func (TaobaoalitriptravelbaseinfocruisegetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoalitriptravelbaseinfocruisegetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoalitriptravelbaseinfocruisegetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoalitriptravelbaseinfocruisegetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoalitriptravelbaseinfocruisegetAPIRequest) GetIsOverseas ¶ added in v1.3.1
func (r TaobaoalitriptravelbaseinfocruisegetAPIRequest) GetIsOverseas() bool
GetIsOverseas IsOverseas Getter
func (TaobaoalitriptravelbaseinfocruisegetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoalitriptravelbaseinfocruisegetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoalitriptravelbaseinfocruisegetAPIRequest) SetIsOverseas ¶ added in v1.3.1
func (r *TaobaoalitriptravelbaseinfocruisegetAPIRequest) SetIsOverseas(_isOverseas bool) error
SetIsOverseas is IsOverseas Setter true-获取国际邮轮类目扩展信息;false-获取国内邮轮类目扩展信息
type TaobaoalitriptravelbaseinfocruisegetAPIResponse ¶ added in v1.3.1
type TaobaoalitriptravelbaseinfocruisegetAPIResponse struct { model.CommonResponse TaobaoalitriptravelbaseinfocruisegetAPIResponseModel }
TaobaoalitriptravelbaseinfocruisegetAPIResponse 【API3.0】度假线路商品发布时基础信息获取接口:邮轮扩展信息获取 API返回值 taobao.alitrip.travel.baseinfo.cruise.get
旅行度假新商品发布时可用的扩展接口,用于获取邮轮类目相关扩展信息。
type TaobaoalitriptravelbaseinfocruisegetAPIResponseModel ¶ added in v1.3.1
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】度假线路商品发布时基础信息获取接口:邮轮扩展信息获取 成功返回结果
type TaobaoalitriptravelbaseinfoscenicsgetAPIRequest ¶ added in v1.3.1
type TaobaoalitriptravelbaseinfoscenicsgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoalitriptravelbaseinfoscenicsgetAPIRequest 【API3.0】基础信息获取接口:景点数据查询 API请求 taobao.alitrip.travel.baseinfo.scenics.get
商品发布辅助接口,用于飞猪度假或门票商品发布时 获取可用的景点(及景点下收费项目)信息列表。
func NewTaobaoalitriptravelbaseinfoscenicsgetRequest ¶ added in v1.3.1
func NewTaobaoalitriptravelbaseinfoscenicsgetRequest() *TaobaoalitriptravelbaseinfoscenicsgetAPIRequest
NewTaobaoalitriptravelbaseinfoscenicsgetRequest 初始化TaobaoalitriptravelbaseinfoscenicsgetAPIRequest对象
func (TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) GetCity ¶ added in v1.3.1
func (r TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) GetCity() string
GetCity City Getter
func (TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) GetScenic ¶ added in v1.3.1
func (r TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) GetScenic() string
GetScenic Scenic Getter
func (TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) GetScenicId ¶ added in v1.3.1
func (r TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) GetScenicId() int64
GetScenicId ScenicId Getter
func (*TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) SetCity ¶ added in v1.3.1
func (r *TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) SetCity(_city string) error
SetCity is City Setter 城市名称
func (*TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) SetScenic ¶ added in v1.3.1
func (r *TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) SetScenic(_scenic string) error
SetScenic is Scenic Setter 景点简称
func (*TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) SetScenicId ¶ added in v1.3.1
func (r *TaobaoalitriptravelbaseinfoscenicsgetAPIRequest) SetScenicId(_scenicId int64) error
SetScenicId is ScenicId Setter 景点id,可选。若传了该值,则查询结果中只会保留该id的景点,其余景点信息将被过滤
type TaobaoalitriptravelbaseinfoscenicsgetAPIResponse ¶ added in v1.3.1
type TaobaoalitriptravelbaseinfoscenicsgetAPIResponse struct { model.CommonResponse TaobaoalitriptravelbaseinfoscenicsgetAPIResponseModel }
TaobaoalitriptravelbaseinfoscenicsgetAPIResponse 【API3.0】基础信息获取接口:景点数据查询 API返回值 taobao.alitrip.travel.baseinfo.scenics.get
商品发布辅助接口,用于飞猪度假或门票商品发布时 获取可用的景点(及景点下收费项目)信息列表。
type TaobaoalitriptravelbaseinfoscenicsgetAPIResponseModel ¶ added in v1.3.1
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】基础信息获取接口:景点数据查询 成功返回结果
type TaobaoalitriptravelitemelementmanageAPIRequest ¶ added in v1.3.1
type TaobaoalitriptravelitemelementmanageAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoalitriptravelitemelementmanageAPIRequest 【API3.0】资源元素管理接口 API请求 taobao.alitrip.travel.item.element.manage
资源元素管理接口:提供商家管理(增删改)基本资源元素信息。基本资源元素可供多个商品共享
func NewTaobaoalitriptravelitemelementmanageRequest ¶ added in v1.3.1
func NewTaobaoalitriptravelitemelementmanageRequest() *TaobaoalitriptravelitemelementmanageAPIRequest
NewTaobaoalitriptravelitemelementmanageRequest 初始化TaobaoalitriptravelitemelementmanageAPIRequest对象
func (TaobaoalitriptravelitemelementmanageAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoalitriptravelitemelementmanageAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoalitriptravelitemelementmanageAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoalitriptravelitemelementmanageAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoalitriptravelitemelementmanageAPIRequest) GetCity ¶ added in v1.3.1
func (r TaobaoalitriptravelitemelementmanageAPIRequest) GetCity() string
GetCity City Getter
func (TaobaoalitriptravelitemelementmanageAPIRequest) GetDesc ¶ added in v1.3.1
func (r TaobaoalitriptravelitemelementmanageAPIRequest) GetDesc() string
GetDesc Desc Getter
func (TaobaoalitriptravelitemelementmanageAPIRequest) GetElementType ¶ added in v1.3.1
func (r TaobaoalitriptravelitemelementmanageAPIRequest) GetElementType() int64
GetElementType ElementType Getter
func (TaobaoalitriptravelitemelementmanageAPIRequest) GetName ¶ added in v1.3.1
func (r TaobaoalitriptravelitemelementmanageAPIRequest) GetName() string
GetName Name Getter
func (TaobaoalitriptravelitemelementmanageAPIRequest) GetOperation ¶ added in v1.3.1
func (r TaobaoalitriptravelitemelementmanageAPIRequest) GetOperation() int64
GetOperation Operation Getter
func (TaobaoalitriptravelitemelementmanageAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoalitriptravelitemelementmanageAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoalitriptravelitemelementmanageAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoalitriptravelitemelementmanageAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoalitriptravelitemelementmanageAPIRequest) GetType ¶ added in v1.3.1
func (r TaobaoalitriptravelitemelementmanageAPIRequest) GetType() string
GetType Type Getter
func (*TaobaoalitriptravelitemelementmanageAPIRequest) SetCity ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemelementmanageAPIRequest) SetCity(_city string) error
SetCity is City Setter 元素所在城市,景点、酒店在新增时必填
func (*TaobaoalitriptravelitemelementmanageAPIRequest) SetDesc ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemelementmanageAPIRequest) SetDesc(_desc string) error
SetDesc is Desc Setter 当新增“交通接驳、餐饮、特色活动、其他”资源类型时 必填
func (*TaobaoalitriptravelitemelementmanageAPIRequest) SetElementType ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemelementmanageAPIRequest) SetElementType(_elementType int64) error
SetElementType is ElementType Setter 资源元素类型,新增时必填:1-景点,2-酒店,5-交通接驳,6-WIFI库,7-电话卡,8-餐饮,9-签证库,11-特色活动,999-其他
func (*TaobaoalitriptravelitemelementmanageAPIRequest) SetName ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemelementmanageAPIRequest) SetName(_name string) error
SetName is Name Setter 元素名称,新增时必填; 注意:Wifi库的使用地和签证库所在国家均适用这个字段
func (*TaobaoalitriptravelitemelementmanageAPIRequest) SetOperation ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemelementmanageAPIRequest) SetOperation(_operation int64) error
SetOperation is Operation Setter 必填,操作类型:1-新增,2-修改,3-删除。。特别注意:删除 为逻辑删除,即该outer_id所对应的元素还存在但是会置为无效状态,重新编辑修改即可恢复为有效状态。因此该id一旦使用将不可重复
func (*TaobaoalitriptravelitemelementmanageAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemelementmanageAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 必填,元素的外部商家编码,必须唯一。编辑、删除时将根据该编码找到对应元素。
func (*TaobaoalitriptravelitemelementmanageAPIRequest) SetType ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemelementmanageAPIRequest) SetType(_type string) error
SetType is Type Setter 元素的子类型,新增时必填。景点指门票类型,酒店指房型信息,交通接驳(接送机、接驳车、租车、船票、其他)选其一,餐饮(早餐、晚餐、午餐、下午茶及其他)选其一;签证(旅游签证、商务签证、工作签证、留学签证、探亲访友签证、入台证、其他)
type TaobaoalitriptravelitemelementmanageAPIResponse ¶ added in v1.3.1
type TaobaoalitriptravelitemelementmanageAPIResponse struct { model.CommonResponse TaobaoalitriptravelitemelementmanageAPIResponseModel }
TaobaoalitriptravelitemelementmanageAPIResponse 【API3.0】资源元素管理接口 API返回值 taobao.alitrip.travel.item.element.manage
资源元素管理接口:提供商家管理(增删改)基本资源元素信息。基本资源元素可供多个商品共享
type TaobaoalitriptravelitemelementmanageAPIResponseModel ¶ added in v1.3.1
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】资源元素管理接口 成功返回结果
type TaobaoalitriptravelitemelementqueryAPIRequest ¶ added in v1.3.1
type TaobaoalitriptravelitemelementqueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoalitriptravelitemelementqueryAPIRequest 【API3.0】资源元素查询接口 API请求 taobao.alitrip.travel.item.element.query
提供资源元素查询接口,支持商家查询已经发布过的资源元素
func NewTaobaoalitriptravelitemelementqueryRequest ¶ added in v1.3.1
func NewTaobaoalitriptravelitemelementqueryRequest() *TaobaoalitriptravelitemelementqueryAPIRequest
NewTaobaoalitriptravelitemelementqueryRequest 初始化TaobaoalitriptravelitemelementqueryAPIRequest对象
func (TaobaoalitriptravelitemelementqueryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoalitriptravelitemelementqueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoalitriptravelitemelementqueryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoalitriptravelitemelementqueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoalitriptravelitemelementqueryAPIRequest) GetOuterIds ¶ added in v1.3.1
func (r TaobaoalitriptravelitemelementqueryAPIRequest) GetOuterIds() []string
GetOuterIds OuterIds Getter
func (TaobaoalitriptravelitemelementqueryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoalitriptravelitemelementqueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoalitriptravelitemelementqueryAPIRequest) SetOuterIds ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemelementqueryAPIRequest) SetOuterIds(_outerIds []string) error
SetOuterIds is OuterIds Setter 需要查询的资源元素列表,最大列表长度为50
type TaobaoalitriptravelitemelementqueryAPIResponse ¶ added in v1.3.1
type TaobaoalitriptravelitemelementqueryAPIResponse struct { model.CommonResponse TaobaoalitriptravelitemelementqueryAPIResponseModel }
TaobaoalitriptravelitemelementqueryAPIResponse 【API3.0】资源元素查询接口 API返回值 taobao.alitrip.travel.item.element.query
提供资源元素查询接口,支持商家查询已经发布过的资源元素
type TaobaoalitriptravelitemelementqueryAPIResponseModel ¶ added in v1.3.1
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】资源元素查询接口 成功返回结果
type TaobaoalitriptravelitemnewqueryAPIRequest ¶ added in v1.3.1
type TaobaoalitriptravelitemnewqueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoalitriptravelitemnewqueryAPIRequest 【API3.0】新版度假单个商品查询接口 API请求 taobao.alitrip.travel.item.new.query
新版旅行度假新商品查询接口(单个商品查询)
func NewTaobaoalitriptravelitemnewqueryRequest ¶ added in v1.3.1
func NewTaobaoalitriptravelitemnewqueryRequest() *TaobaoalitriptravelitemnewqueryAPIRequest
NewTaobaoalitriptravelitemnewqueryRequest 初始化TaobaoalitriptravelitemnewqueryAPIRequest对象
func (TaobaoalitriptravelitemnewqueryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoalitriptravelitemnewqueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoalitriptravelitemnewqueryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoalitriptravelitemnewqueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoalitriptravelitemnewqueryAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaoalitriptravelitemnewqueryAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoalitriptravelitemnewqueryAPIRequest) GetOutProductId ¶ added in v1.3.1
func (r TaobaoalitriptravelitemnewqueryAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (TaobaoalitriptravelitemnewqueryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoalitriptravelitemnewqueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoalitriptravelitemnewqueryAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemnewqueryAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id。itemId和outProductId至少填写一个
func (*TaobaoalitriptravelitemnewqueryAPIRequest) SetOutProductId ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemnewqueryAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商品 外部商家编码。itemId和outProductId至少填写一个
type TaobaoalitriptravelitemnewqueryAPIResponse ¶ added in v1.3.1
type TaobaoalitriptravelitemnewqueryAPIResponse struct { model.CommonResponse TaobaoalitriptravelitemnewqueryAPIResponseModel }
TaobaoalitriptravelitemnewqueryAPIResponse 【API3.0】新版度假单个商品查询接口 API返回值 taobao.alitrip.travel.item.new.query
新版旅行度假新商品查询接口(单个商品查询)
type TaobaoalitriptravelitemnewqueryAPIResponseModel ¶ added in v1.3.1
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】新版度假单个商品查询接口 成功返回结果
type TaobaoalitriptravelitemshelveAPIRequest ¶ added in v1.3.1
type TaobaoalitriptravelitemshelveAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoalitriptravelitemshelveAPIRequest 【API3.0】度假线路商品上下架接口 API请求 taobao.alitrip.travel.item.shelve
旅行度假新商品发布接口 第三版:度假商品上下架接口 注意:定时上下架功能,目前只支持接送、租车类目。
func NewTaobaoalitriptravelitemshelveRequest ¶ added in v1.3.1
func NewTaobaoalitriptravelitemshelveRequest() *TaobaoalitriptravelitemshelveAPIRequest
NewTaobaoalitriptravelitemshelveRequest 初始化TaobaoalitriptravelitemshelveAPIRequest对象
func (TaobaoalitriptravelitemshelveAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoalitriptravelitemshelveAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoalitriptravelitemshelveAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoalitriptravelitemshelveAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoalitriptravelitemshelveAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaoalitriptravelitemshelveAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoalitriptravelitemshelveAPIRequest) GetItemStatus ¶ added in v1.3.1
func (r TaobaoalitriptravelitemshelveAPIRequest) GetItemStatus() int64
GetItemStatus ItemStatus Getter
func (TaobaoalitriptravelitemshelveAPIRequest) GetOnlineTime ¶ added in v1.3.1
func (r TaobaoalitriptravelitemshelveAPIRequest) GetOnlineTime() string
GetOnlineTime OnlineTime Getter
func (TaobaoalitriptravelitemshelveAPIRequest) GetOutProductId ¶ added in v1.3.1
func (r TaobaoalitriptravelitemshelveAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (TaobaoalitriptravelitemshelveAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoalitriptravelitemshelveAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoalitriptravelitemshelveAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemshelveAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id。itemId和outProductId至少填写一个
func (*TaobaoalitriptravelitemshelveAPIRequest) SetItemStatus ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemshelveAPIRequest) SetItemStatus(_itemStatus int64) error
SetItemStatus is ItemStatus Setter 1-上架 0-下架
func (*TaobaoalitriptravelitemshelveAPIRequest) SetOnlineTime ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemshelveAPIRequest) SetOnlineTime(_onlineTime string) error
SetOnlineTime is OnlineTime Setter 指定定时上架时间,格式:yyyy-MM-dd HH:mm:ss。若不设置该值且item_status为1,则表示立即上架。
func (*TaobaoalitriptravelitemshelveAPIRequest) SetOutProductId ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemshelveAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商品 外部商家编码。itemId和outProductId至少填写一个
type TaobaoalitriptravelitemshelveAPIResponse ¶ added in v1.3.1
type TaobaoalitriptravelitemshelveAPIResponse struct { model.CommonResponse TaobaoalitriptravelitemshelveAPIResponseModel }
TaobaoalitriptravelitemshelveAPIResponse 【API3.0】度假线路商品上下架接口 API返回值 taobao.alitrip.travel.item.shelve
旅行度假新商品发布接口 第三版:度假商品上下架接口 注意:定时上下架功能,目前只支持接送、租车类目。
type TaobaoalitriptravelitemshelveAPIResponseModel ¶ added in v1.3.1
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】度假线路商品上下架接口 成功返回结果
type TaobaoalitriptravelitemsinglequeryAPIRequest ¶ added in v1.3.1
type TaobaoalitriptravelitemsinglequeryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoalitriptravelitemsinglequeryAPIRequest 【API3.0】度假单个商品查询接口 API请求 taobao.alitrip.travel.item.single.query
旅行度假新商品查询接口(单个商品查询) 第三版
func NewTaobaoalitriptravelitemsinglequeryRequest ¶ added in v1.3.1
func NewTaobaoalitriptravelitemsinglequeryRequest() *TaobaoalitriptravelitemsinglequeryAPIRequest
NewTaobaoalitriptravelitemsinglequeryRequest 初始化TaobaoalitriptravelitemsinglequeryAPIRequest对象
func (TaobaoalitriptravelitemsinglequeryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoalitriptravelitemsinglequeryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoalitriptravelitemsinglequeryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoalitriptravelitemsinglequeryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoalitriptravelitemsinglequeryAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaoalitriptravelitemsinglequeryAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoalitriptravelitemsinglequeryAPIRequest) GetOutProductId ¶ added in v1.3.1
func (r TaobaoalitriptravelitemsinglequeryAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (TaobaoalitriptravelitemsinglequeryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoalitriptravelitemsinglequeryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoalitriptravelitemsinglequeryAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemsinglequeryAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id。itemId和outProductId至少填写一个
func (*TaobaoalitriptravelitemsinglequeryAPIRequest) SetOutProductId ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemsinglequeryAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商品 外部商家编码。itemId和outProductId至少填写一个
type TaobaoalitriptravelitemsinglequeryAPIResponse ¶ added in v1.3.1
type TaobaoalitriptravelitemsinglequeryAPIResponse struct { model.CommonResponse TaobaoalitriptravelitemsinglequeryAPIResponseModel }
TaobaoalitriptravelitemsinglequeryAPIResponse 【API3.0】度假单个商品查询接口 API返回值 taobao.alitrip.travel.item.single.query
旅行度假新商品查询接口(单个商品查询) 第三版
type TaobaoalitriptravelitemsinglequeryAPIResponseModel ¶ added in v1.3.1
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】度假单个商品查询接口 成功返回结果
type TaobaoalitriptravelitemskuoverrideAPIRequest ¶ added in v1.3.1
type TaobaoalitriptravelitemskuoverrideAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoalitriptravelitemskuoverrideAPIRequest 【API3.0】商品级别日历价格库存修改,全量覆盖 API请求 taobao.alitrip.travel.item.sku.override
旅行度假新商品日历价格库存信息修改接口 第三版。提供商家通过TOP API方式修改商品sku信息。
func NewTaobaoalitriptravelitemskuoverrideRequest ¶ added in v1.3.1
func NewTaobaoalitriptravelitemskuoverrideRequest() *TaobaoalitriptravelitemskuoverrideAPIRequest
NewTaobaoalitriptravelitemskuoverrideRequest 初始化TaobaoalitriptravelitemskuoverrideAPIRequest对象
func (TaobaoalitriptravelitemskuoverrideAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskuoverrideAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoalitriptravelitemskuoverrideAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskuoverrideAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoalitriptravelitemskuoverrideAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskuoverrideAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoalitriptravelitemskuoverrideAPIRequest) GetOutProductId ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskuoverrideAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (TaobaoalitriptravelitemskuoverrideAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskuoverrideAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoalitriptravelitemskuoverrideAPIRequest) GetSkus ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskuoverrideAPIRequest) GetSkus() []PontusTravelItemSkuInfo
GetSkus Skus Getter
func (*TaobaoalitriptravelitemskuoverrideAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemskuoverrideAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id。itemId和outProductId至少填写一个
func (*TaobaoalitriptravelitemskuoverrideAPIRequest) SetOutProductId ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemskuoverrideAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商品 外部商家编码。itemId和outProductId至少填写一个
func (*TaobaoalitriptravelitemskuoverrideAPIRequest) SetSkus ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemskuoverrideAPIRequest) SetSkus(_skus []PontusTravelItemSkuInfo) error
SetSkus is Skus Setter 商品日历价格库存套餐
type TaobaoalitriptravelitemskuoverrideAPIResponse ¶ added in v1.3.1
type TaobaoalitriptravelitemskuoverrideAPIResponse struct { model.CommonResponse TaobaoalitriptravelitemskuoverrideAPIResponseModel }
TaobaoalitriptravelitemskuoverrideAPIResponse 【API3.0】商品级别日历价格库存修改,全量覆盖 API返回值 taobao.alitrip.travel.item.sku.override
旅行度假新商品日历价格库存信息修改接口 第三版。提供商家通过TOP API方式修改商品sku信息。
type TaobaoalitriptravelitemskuoverrideAPIResponseModel ¶ added in v1.3.1
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】商品级别日历价格库存修改,全量覆盖 成功返回结果
type TaobaoalitriptravelitemskupackagemodifyAPIRequest ¶ added in v1.3.1
type TaobaoalitriptravelitemskupackagemodifyAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoalitriptravelitemskupackagemodifyAPIRequest 【API3.0】套餐级别日历价格库存增删操作 API请求 taobao.alitrip.travel.item.sku.package.modify
【API3.0】套餐级别日历价格库存增删操作
func NewTaobaoalitriptravelitemskupackagemodifyRequest ¶ added in v1.3.1
func NewTaobaoalitriptravelitemskupackagemodifyRequest() *TaobaoalitriptravelitemskupackagemodifyAPIRequest
NewTaobaoalitriptravelitemskupackagemodifyRequest 初始化TaobaoalitriptravelitemskupackagemodifyAPIRequest对象
func (TaobaoalitriptravelitemskupackagemodifyAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskupackagemodifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoalitriptravelitemskupackagemodifyAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskupackagemodifyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoalitriptravelitemskupackagemodifyAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskupackagemodifyAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoalitriptravelitemskupackagemodifyAPIRequest) GetOutProductId ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskupackagemodifyAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (TaobaoalitriptravelitemskupackagemodifyAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskupackagemodifyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoalitriptravelitemskupackagemodifyAPIRequest) GetSkus ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskupackagemodifyAPIRequest) GetSkus() []ItemSkuInfo
GetSkus Skus Getter
func (*TaobaoalitriptravelitemskupackagemodifyAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemskupackagemodifyAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id。itemId和outProductId至少填写一个
func (*TaobaoalitriptravelitemskupackagemodifyAPIRequest) SetOutProductId ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemskupackagemodifyAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商品 外部商家编码。itemId和outProductId至少填写一个
func (*TaobaoalitriptravelitemskupackagemodifyAPIRequest) SetSkus ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemskupackagemodifyAPIRequest) SetSkus(_skus []ItemSkuInfo) error
SetSkus is Skus Setter 商品日历价格库存套餐
type TaobaoalitriptravelitemskupackagemodifyAPIResponse ¶ added in v1.3.1
type TaobaoalitriptravelitemskupackagemodifyAPIResponse struct { model.CommonResponse TaobaoalitriptravelitemskupackagemodifyAPIResponseModel }
TaobaoalitriptravelitemskupackagemodifyAPIResponse 【API3.0】套餐级别日历价格库存增删操作 API返回值 taobao.alitrip.travel.item.sku.package.modify
【API3.0】套餐级别日历价格库存增删操作
type TaobaoalitriptravelitemskupackagemodifyAPIResponseModel ¶ added in v1.3.1
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】套餐级别日历价格库存增删操作 成功返回结果
type TaobaoalitriptravelitemskupricemodifyAPIRequest ¶ added in v1.3.1
type TaobaoalitriptravelitemskupricemodifyAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoalitriptravelitemskupricemodifyAPIRequest 【API3.0】日期级别日历价格库存修改,增量维护 API请求 taobao.alitrip.travel.item.sku.price.modify
【API3.0】日期级别日历价格库存增量维护
func NewTaobaoalitriptravelitemskupricemodifyRequest ¶ added in v1.3.1
func NewTaobaoalitriptravelitemskupricemodifyRequest() *TaobaoalitriptravelitemskupricemodifyAPIRequest
NewTaobaoalitriptravelitemskupricemodifyRequest 初始化TaobaoalitriptravelitemskupricemodifyAPIRequest对象
func (TaobaoalitriptravelitemskupricemodifyAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskupricemodifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoalitriptravelitemskupricemodifyAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskupricemodifyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoalitriptravelitemskupricemodifyAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskupricemodifyAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoalitriptravelitemskupricemodifyAPIRequest) GetModifyType ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskupricemodifyAPIRequest) GetModifyType() int64
GetModifyType ModifyType Getter
func (TaobaoalitriptravelitemskupricemodifyAPIRequest) GetOutProductId ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskupricemodifyAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (TaobaoalitriptravelitemskupricemodifyAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskupricemodifyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoalitriptravelitemskupricemodifyAPIRequest) GetSkus ¶ added in v1.3.1
func (r TaobaoalitriptravelitemskupricemodifyAPIRequest) GetSkus() []PontusTravelItemSkuInfo
GetSkus Skus Getter
func (*TaobaoalitriptravelitemskupricemodifyAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemskupricemodifyAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id。itemId和outProductId至少填写一个
func (*TaobaoalitriptravelitemskupricemodifyAPIRequest) SetModifyType ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemskupricemodifyAPIRequest) SetModifyType(_modifyType int64) error
SetModifyType is ModifyType Setter 商品价库变更类型,0=价格库存均变更,1=价格变更,2=库存变更
func (*TaobaoalitriptravelitemskupricemodifyAPIRequest) SetOutProductId ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemskupricemodifyAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商品 外部商家编码。itemId和outProductId至少填写一个
func (*TaobaoalitriptravelitemskupricemodifyAPIRequest) SetSkus ¶ added in v1.3.1
func (r *TaobaoalitriptravelitemskupricemodifyAPIRequest) SetSkus(_skus []PontusTravelItemSkuInfo) error
SetSkus is Skus Setter 商品日历价格库存套餐
type TaobaoalitriptravelitemskupricemodifyAPIResponse ¶ added in v1.3.1
type TaobaoalitriptravelitemskupricemodifyAPIResponse struct { model.CommonResponse TaobaoalitriptravelitemskupricemodifyAPIResponseModel }
TaobaoalitriptravelitemskupricemodifyAPIResponse 【API3.0】日期级别日历价格库存修改,增量维护 API返回值 taobao.alitrip.travel.item.sku.price.modify
【API3.0】日期级别日历价格库存增量维护
type TaobaoalitriptravelitemskupricemodifyAPIResponseModel ¶ added in v1.3.1
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】日期级别日历价格库存修改,增量维护 成功返回结果
type TaobaoalitriptravelproductbaseaddAPIRequest ¶ added in v1.3.1
type TaobaoalitriptravelproductbaseaddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoalitriptravelproductbaseaddAPIRequest 供应商新增产品API API请求 taobao.alitrip.travel.product.base.add
飞猪供销平台供应商可通过该API发布新产品
func NewTaobaoalitriptravelproductbaseaddRequest ¶ added in v1.3.1
func NewTaobaoalitriptravelproductbaseaddRequest() *TaobaoalitriptravelproductbaseaddAPIRequest
NewTaobaoalitriptravelproductbaseaddRequest 初始化TaobaoalitriptravelproductbaseaddAPIRequest对象
func (TaobaoalitriptravelproductbaseaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbaseaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoalitriptravelproductbaseaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbaseaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoalitriptravelproductbaseaddAPIRequest) GetBaseInfo ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbaseaddAPIRequest) GetBaseInfo() *ProductBaseInfo
GetBaseInfo BaseInfo Getter
func (TaobaoalitriptravelproductbaseaddAPIRequest) GetBookingRules ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbaseaddAPIRequest) GetBookingRules() []BookingRuleInfo
GetBookingRules BookingRules Getter
func (TaobaoalitriptravelproductbaseaddAPIRequest) GetCruiseProductExt ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbaseaddAPIRequest) GetCruiseProductExt() *CruiseProductExt
GetCruiseProductExt CruiseProductExt Getter
func (TaobaoalitriptravelproductbaseaddAPIRequest) GetItineraries ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbaseaddAPIRequest) GetItineraries() []ItemItineraryInfo
GetItineraries Itineraries Getter
func (TaobaoalitriptravelproductbaseaddAPIRequest) GetProductSaleInfo ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbaseaddAPIRequest) GetProductSaleInfo() *ProductSaleInfo
GetProductSaleInfo ProductSaleInfo Getter
func (TaobaoalitriptravelproductbaseaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbaseaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoalitriptravelproductbaseaddAPIRequest) GetRefundInfo ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbaseaddAPIRequest) GetRefundInfo() *ItemRefundInfo
GetRefundInfo RefundInfo Getter
func (*TaobaoalitriptravelproductbaseaddAPIRequest) SetBaseInfo ¶ added in v1.3.1
func (r *TaobaoalitriptravelproductbaseaddAPIRequest) SetBaseInfo(_baseInfo *ProductBaseInfo) error
SetBaseInfo is BaseInfo Setter 产品基本信息
func (*TaobaoalitriptravelproductbaseaddAPIRequest) SetBookingRules ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoalitriptravelproductbaseaddAPIRequest) SetCruiseProductExt(_cruiseProductExt *CruiseProductExt) error
SetCruiseProductExt is CruiseProductExt Setter 特殊选填(当发布邮轮商品时必填,其他情况不填)邮轮商品相关信息,发布邮轮商品时必填
func (*TaobaoalitriptravelproductbaseaddAPIRequest) SetItineraries ¶ added in v1.3.1
func (r *TaobaoalitriptravelproductbaseaddAPIRequest) SetItineraries(_itineraries []ItemItineraryInfo) error
SetItineraries is Itineraries Setter 选填,详细行程描述结构
func (*TaobaoalitriptravelproductbaseaddAPIRequest) SetProductSaleInfo ¶ added in v1.3.1
func (r *TaobaoalitriptravelproductbaseaddAPIRequest) SetProductSaleInfo(_productSaleInfo *ProductSaleInfo) error
SetProductSaleInfo is ProductSaleInfo Setter 选填,商品的销售属性相关信息
func (*TaobaoalitriptravelproductbaseaddAPIRequest) SetRefundInfo ¶ added in v1.3.1
func (r *TaobaoalitriptravelproductbaseaddAPIRequest) SetRefundInfo(_refundInfo *ItemRefundInfo) error
SetRefundInfo is RefundInfo Setter 选填,退款规则结构
type TaobaoalitriptravelproductbaseaddAPIResponse ¶ added in v1.3.1
type TaobaoalitriptravelproductbaseaddAPIResponse struct { model.CommonResponse TaobaoalitriptravelproductbaseaddAPIResponseModel }
TaobaoalitriptravelproductbaseaddAPIResponse 供应商新增产品API API返回值 taobao.alitrip.travel.product.base.add
飞猪供销平台供应商可通过该API发布新产品
type TaobaoalitriptravelproductbaseaddAPIResponseModel ¶ added in v1.3.1
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 成功返回结果
type TaobaoalitriptravelproductbasemodifyAPIRequest ¶ added in v1.3.1
type TaobaoalitriptravelproductbasemodifyAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoalitriptravelproductbasemodifyAPIRequest 供应商编辑产品API API请求 taobao.alitrip.travel.product.base.modify
飞猪供销平台供应商可通过该API编辑产品
func NewTaobaoalitriptravelproductbasemodifyRequest ¶ added in v1.3.1
func NewTaobaoalitriptravelproductbasemodifyRequest() *TaobaoalitriptravelproductbasemodifyAPIRequest
NewTaobaoalitriptravelproductbasemodifyRequest 初始化TaobaoalitriptravelproductbasemodifyAPIRequest对象
func (TaobaoalitriptravelproductbasemodifyAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbasemodifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoalitriptravelproductbasemodifyAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbasemodifyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoalitriptravelproductbasemodifyAPIRequest) GetBaseInfo ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbasemodifyAPIRequest) GetBaseInfo() *ProductBaseInfo
GetBaseInfo BaseInfo Getter
func (TaobaoalitriptravelproductbasemodifyAPIRequest) GetBookingRules ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbasemodifyAPIRequest) GetBookingRules() []BookingRuleInfo
GetBookingRules BookingRules Getter
func (TaobaoalitriptravelproductbasemodifyAPIRequest) GetCruiseProductExt ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbasemodifyAPIRequest) GetCruiseProductExt() *CruiseProductExt
GetCruiseProductExt CruiseProductExt Getter
func (TaobaoalitriptravelproductbasemodifyAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbasemodifyAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoalitriptravelproductbasemodifyAPIRequest) GetItineraries ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbasemodifyAPIRequest) GetItineraries() []ItemItineraryInfo
GetItineraries Itineraries Getter
func (TaobaoalitriptravelproductbasemodifyAPIRequest) GetProductSaleInfo ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbasemodifyAPIRequest) GetProductSaleInfo() *ProductSaleInfo
GetProductSaleInfo ProductSaleInfo Getter
func (TaobaoalitriptravelproductbasemodifyAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbasemodifyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoalitriptravelproductbasemodifyAPIRequest) GetRefundInfo ¶ added in v1.3.1
func (r TaobaoalitriptravelproductbasemodifyAPIRequest) GetRefundInfo() *ItemRefundInfo
GetRefundInfo RefundInfo Getter
func (*TaobaoalitriptravelproductbasemodifyAPIRequest) SetBaseInfo ¶ added in v1.3.1
func (r *TaobaoalitriptravelproductbasemodifyAPIRequest) SetBaseInfo(_baseInfo *ProductBaseInfo) error
SetBaseInfo is BaseInfo Setter 产品基本信息
func (*TaobaoalitriptravelproductbasemodifyAPIRequest) SetBookingRules ¶ added in v1.3.1
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 ¶ added in v1.3.1
func (r *TaobaoalitriptravelproductbasemodifyAPIRequest) SetCruiseProductExt(_cruiseProductExt *CruiseProductExt) error
SetCruiseProductExt is CruiseProductExt Setter 邮轮商品相关信息
func (*TaobaoalitriptravelproductbasemodifyAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaoalitriptravelproductbasemodifyAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 产品id
func (*TaobaoalitriptravelproductbasemodifyAPIRequest) SetItineraries ¶ added in v1.3.1
func (r *TaobaoalitriptravelproductbasemodifyAPIRequest) SetItineraries(_itineraries []ItemItineraryInfo) error
SetItineraries is Itineraries Setter 详细行程描述结构
func (*TaobaoalitriptravelproductbasemodifyAPIRequest) SetProductSaleInfo ¶ added in v1.3.1
func (r *TaobaoalitriptravelproductbasemodifyAPIRequest) SetProductSaleInfo(_productSaleInfo *ProductSaleInfo) error
SetProductSaleInfo is ProductSaleInfo Setter 商品的销售属性相关信息
func (*TaobaoalitriptravelproductbasemodifyAPIRequest) SetRefundInfo ¶ added in v1.3.1
func (r *TaobaoalitriptravelproductbasemodifyAPIRequest) SetRefundInfo(_refundInfo *ItemRefundInfo) error
SetRefundInfo is RefundInfo Setter 退款规则结构
type TaobaoalitriptravelproductbasemodifyAPIResponse ¶ added in v1.3.1
type TaobaoalitriptravelproductbasemodifyAPIResponse struct { model.CommonResponse TaobaoalitriptravelproductbasemodifyAPIResponseModel }
TaobaoalitriptravelproductbasemodifyAPIResponse 供应商编辑产品API API返回值 taobao.alitrip.travel.product.base.modify
飞猪供销平台供应商可通过该API编辑产品
type TaobaoalitriptravelproductbasemodifyAPIResponseModel ¶ added in v1.3.1
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 成功返回结果
type TaobaoalitriptravelproductskuoverrideAPIRequest ¶ added in v1.3.1
type TaobaoalitriptravelproductskuoverrideAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoalitriptravelproductskuoverrideAPIRequest (供销)产品级别日历价格库存修改,全量覆盖 API请求 taobao.alitrip.travel.product.sku.override
(供销)产品级别日历价格库存修改,全量覆盖
func NewTaobaoalitriptravelproductskuoverrideRequest ¶ added in v1.3.1
func NewTaobaoalitriptravelproductskuoverrideRequest() *TaobaoalitriptravelproductskuoverrideAPIRequest
NewTaobaoalitriptravelproductskuoverrideRequest 初始化TaobaoalitriptravelproductskuoverrideAPIRequest对象
func (TaobaoalitriptravelproductskuoverrideAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoalitriptravelproductskuoverrideAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoalitriptravelproductskuoverrideAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoalitriptravelproductskuoverrideAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoalitriptravelproductskuoverrideAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaoalitriptravelproductskuoverrideAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoalitriptravelproductskuoverrideAPIRequest) GetOutProductId ¶ added in v1.3.1
func (r TaobaoalitriptravelproductskuoverrideAPIRequest) GetOutProductId() string
GetOutProductId OutProductId Getter
func (TaobaoalitriptravelproductskuoverrideAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoalitriptravelproductskuoverrideAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoalitriptravelproductskuoverrideAPIRequest) GetSkus ¶ added in v1.3.1
func (r TaobaoalitriptravelproductskuoverrideAPIRequest) GetSkus() []ItemSkuInfo
GetSkus Skus Getter
func (*TaobaoalitriptravelproductskuoverrideAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaoalitriptravelproductskuoverrideAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id。itemId和outProductId至少填写一个
func (*TaobaoalitriptravelproductskuoverrideAPIRequest) SetOutProductId ¶ added in v1.3.1
func (r *TaobaoalitriptravelproductskuoverrideAPIRequest) SetOutProductId(_outProductId string) error
SetOutProductId is OutProductId Setter 商品 外部商家编码。itemId和outProductId至少填写一个
func (*TaobaoalitriptravelproductskuoverrideAPIRequest) SetSkus ¶ added in v1.3.1
func (r *TaobaoalitriptravelproductskuoverrideAPIRequest) SetSkus(_skus []ItemSkuInfo) error
SetSkus is Skus Setter 商品日历价格库存套餐
type TaobaoalitriptravelproductskuoverrideAPIResponse ¶ added in v1.3.1
type TaobaoalitriptravelproductskuoverrideAPIResponse struct { model.CommonResponse TaobaoalitriptravelproductskuoverrideAPIResponseModel }
TaobaoalitriptravelproductskuoverrideAPIResponse (供销)产品级别日历价格库存修改,全量覆盖 API返回值 taobao.alitrip.travel.product.sku.override
(供销)产品级别日历价格库存修改,全量覆盖
type TaobaoalitriptravelproductskuoverrideAPIResponseModel ¶ added in v1.3.1
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 (供销)产品级别日历价格库存修改,全量覆盖 成功返回结果
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 结构体
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 结构体
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 结构体
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 结构体
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