tuanhotel

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package tuanhotel 包含酒店团购套餐API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAlitripTuanHotelAdaptStoreGetAPIRequest added in v1.3.4

func ReleaseAlitripTuanHotelAdaptStoreGetAPIRequest(v *AlitripTuanHotelAdaptStoreGetAPIRequest)

ReleaseAlitripTuanHotelAdaptStoreGetAPIRequest 将 AlitripTuanHotelAdaptStoreGetAPIRequest 放入 sync.Pool

func ReleaseAlitripTuanHotelAdaptStoreGetAPIResponse added in v1.3.4

func ReleaseAlitripTuanHotelAdaptStoreGetAPIResponse(v *AlitripTuanHotelAdaptStoreGetAPIResponse)

ReleaseAlitripTuanHotelAdaptStoreGetAPIResponse 将 AlitripTuanHotelAdaptStoreGetAPIResponse 保存到 sync.Pool

func ReleaseAlitripTuanHotelImageUploadAPIRequest added in v1.3.4

func ReleaseAlitripTuanHotelImageUploadAPIRequest(v *AlitripTuanHotelImageUploadAPIRequest)

ReleaseAlitripTuanHotelImageUploadAPIRequest 将 AlitripTuanHotelImageUploadAPIRequest 放入 sync.Pool

func ReleaseAlitripTuanHotelImageUploadAPIResponse added in v1.3.4

func ReleaseAlitripTuanHotelImageUploadAPIResponse(v *AlitripTuanHotelImageUploadAPIResponse)

ReleaseAlitripTuanHotelImageUploadAPIResponse 将 AlitripTuanHotelImageUploadAPIResponse 保存到 sync.Pool

func ReleaseAlitripTuanHotelItemInfoGetAPIRequest added in v1.3.4

func ReleaseAlitripTuanHotelItemInfoGetAPIRequest(v *AlitripTuanHotelItemInfoGetAPIRequest)

ReleaseAlitripTuanHotelItemInfoGetAPIRequest 将 AlitripTuanHotelItemInfoGetAPIRequest 放入 sync.Pool

func ReleaseAlitripTuanHotelItemInfoGetAPIResponse added in v1.3.4

func ReleaseAlitripTuanHotelItemInfoGetAPIResponse(v *AlitripTuanHotelItemInfoGetAPIResponse)

ReleaseAlitripTuanHotelItemInfoGetAPIResponse 将 AlitripTuanHotelItemInfoGetAPIResponse 保存到 sync.Pool

func ReleaseAlitripTuanHotelItemSkuCalendarUpdateAPIRequest added in v1.3.4

func ReleaseAlitripTuanHotelItemSkuCalendarUpdateAPIRequest(v *AlitripTuanHotelItemSkuCalendarUpdateAPIRequest)

ReleaseAlitripTuanHotelItemSkuCalendarUpdateAPIRequest 将 AlitripTuanHotelItemSkuCalendarUpdateAPIRequest 放入 sync.Pool

func ReleaseAlitripTuanHotelItemSkuCalendarUpdateAPIResponse added in v1.3.4

func ReleaseAlitripTuanHotelItemSkuCalendarUpdateAPIResponse(v *AlitripTuanHotelItemSkuCalendarUpdateAPIResponse)

ReleaseAlitripTuanHotelItemSkuCalendarUpdateAPIResponse 将 AlitripTuanHotelItemSkuCalendarUpdateAPIResponse 保存到 sync.Pool

func ReleaseAlitripTuanHotelItemSkuDeleteAPIRequest added in v1.3.4

func ReleaseAlitripTuanHotelItemSkuDeleteAPIRequest(v *AlitripTuanHotelItemSkuDeleteAPIRequest)

ReleaseAlitripTuanHotelItemSkuDeleteAPIRequest 将 AlitripTuanHotelItemSkuDeleteAPIRequest 放入 sync.Pool

func ReleaseAlitripTuanHotelItemSkuDeleteAPIResponse added in v1.3.4

func ReleaseAlitripTuanHotelItemSkuDeleteAPIResponse(v *AlitripTuanHotelItemSkuDeleteAPIResponse)

ReleaseAlitripTuanHotelItemSkuDeleteAPIResponse 将 AlitripTuanHotelItemSkuDeleteAPIResponse 保存到 sync.Pool

func ReleaseAlitripTuanHotelItemSkuUpdateAPIRequest added in v1.3.4

func ReleaseAlitripTuanHotelItemSkuUpdateAPIRequest(v *AlitripTuanHotelItemSkuUpdateAPIRequest)

ReleaseAlitripTuanHotelItemSkuUpdateAPIRequest 将 AlitripTuanHotelItemSkuUpdateAPIRequest 放入 sync.Pool

func ReleaseAlitripTuanHotelItemSkuUpdateAPIResponse added in v1.3.4

func ReleaseAlitripTuanHotelItemSkuUpdateAPIResponse(v *AlitripTuanHotelItemSkuUpdateAPIResponse)

ReleaseAlitripTuanHotelItemSkuUpdateAPIResponse 将 AlitripTuanHotelItemSkuUpdateAPIResponse 保存到 sync.Pool

func ReleaseAlitripTuanHotelShopCategoryGetAPIRequest added in v1.3.4

func ReleaseAlitripTuanHotelShopCategoryGetAPIRequest(v *AlitripTuanHotelShopCategoryGetAPIRequest)

ReleaseAlitripTuanHotelShopCategoryGetAPIRequest 将 AlitripTuanHotelShopCategoryGetAPIRequest 放入 sync.Pool

func ReleaseAlitripTuanHotelShopCategoryGetAPIResponse added in v1.3.4

func ReleaseAlitripTuanHotelShopCategoryGetAPIResponse(v *AlitripTuanHotelShopCategoryGetAPIResponse)

ReleaseAlitripTuanHotelShopCategoryGetAPIResponse 将 AlitripTuanHotelShopCategoryGetAPIResponse 保存到 sync.Pool

func ReleaseAppointPhoneVoList added in v1.3.4

func ReleaseAppointPhoneVoList(v *AppointPhoneVoList)

ReleaseAppointPhoneVoList 释放AppointPhoneVoList

func ReleaseImageInfoVOList added in v1.3.4

func ReleaseImageInfoVOList(v *ImageInfoVOList)

ReleaseImageInfoVOList 释放ImageInfoVOList

func ReleaseImagePathResultVoList added in v1.3.4

func ReleaseImagePathResultVoList(v *ImagePathResultVoList)

ReleaseImagePathResultVoList 释放ImagePathResultVoList

func ReleaseItemInfoListResult added in v1.3.4

func ReleaseItemInfoListResult(v *ItemInfoListResult)

ReleaseItemInfoListResult 释放ItemInfoListResult

func ReleaseRelatedPoiDetailVo added in v1.3.4

func ReleaseRelatedPoiDetailVo(v *RelatedPoiDetailVo)

ReleaseRelatedPoiDetailVo 释放RelatedPoiDetailVo

func ReleaseRoomTypeVoList added in v1.3.4

func ReleaseRoomTypeVoList(v *RoomTypeVoList)

ReleaseRoomTypeVoList 释放RoomTypeVoList

func ReleaseShopCategoryVoList added in v1.3.4

func ReleaseShopCategoryVoList(v *ShopCategoryVoList)

ReleaseShopCategoryVoList 释放ShopCategoryVoList

func ReleaseStoreDetailVoList added in v1.3.4

func ReleaseStoreDetailVoList(v *StoreDetailVoList)

ReleaseStoreDetailVoList 释放StoreDetailVoList

func ReleaseTaobaoXhotelComboOffshelfAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelComboOffshelfAPIRequest(v *TaobaoXhotelComboOffshelfAPIRequest)

ReleaseTaobaoXhotelComboOffshelfAPIRequest 将 TaobaoXhotelComboOffshelfAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelComboOffshelfAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelComboOffshelfAPIResponse(v *TaobaoXhotelComboOffshelfAPIResponse)

ReleaseTaobaoXhotelComboOffshelfAPIResponse 将 TaobaoXhotelComboOffshelfAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelComboReviewAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelComboReviewAPIRequest(v *TaobaoXhotelComboReviewAPIRequest)

ReleaseTaobaoXhotelComboReviewAPIRequest 将 TaobaoXhotelComboReviewAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelComboReviewAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelComboReviewAPIResponse(v *TaobaoXhotelComboReviewAPIResponse)

ReleaseTaobaoXhotelComboReviewAPIResponse 将 TaobaoXhotelComboReviewAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelComboStatusGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelComboStatusGetAPIRequest(v *TaobaoXhotelComboStatusGetAPIRequest)

ReleaseTaobaoXhotelComboStatusGetAPIRequest 将 TaobaoXhotelComboStatusGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelComboStatusGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelComboStatusGetAPIResponse(v *TaobaoXhotelComboStatusGetAPIResponse)

ReleaseTaobaoXhotelComboStatusGetAPIResponse 将 TaobaoXhotelComboStatusGetAPIResponse 保存到 sync.Pool

func ReleaseTopAppointPhoneVo added in v1.3.4

func ReleaseTopAppointPhoneVo(v *TopAppointPhoneVo)

ReleaseTopAppointPhoneVo 释放TopAppointPhoneVo

func ReleaseTopItemSkuBaseInfo added in v1.3.4

func ReleaseTopItemSkuBaseInfo(v *TopItemSkuBaseInfo)

ReleaseTopItemSkuBaseInfo 释放TopItemSkuBaseInfo

func ReleaseTopItemSkuBaseInfoList added in v1.3.4

func ReleaseTopItemSkuBaseInfoList(v *TopItemSkuBaseInfoList)

ReleaseTopItemSkuBaseInfoList 释放TopItemSkuBaseInfoList

func ReleaseTopRoomTypeVo added in v1.3.4

func ReleaseTopRoomTypeVo(v *TopRoomTypeVo)

ReleaseTopRoomTypeVo 释放TopRoomTypeVo

func ReleaseTopRootShopCategoryVoList added in v1.3.4

func ReleaseTopRootShopCategoryVoList(v *TopRootShopCategoryVoList)

ReleaseTopRootShopCategoryVoList 释放TopRootShopCategoryVoList

func ReleaseTopSkuCalendarInfo added in v1.3.4

func ReleaseTopSkuCalendarInfo(v *TopSkuCalendarInfo)

ReleaseTopSkuCalendarInfo 释放TopSkuCalendarInfo

func ReleaseTopSkuDailyInfo added in v1.3.4

func ReleaseTopSkuDailyInfo(v *TopSkuDailyInfo)

ReleaseTopSkuDailyInfo 释放TopSkuDailyInfo

func ReleaseTopStoreVo added in v1.3.4

func ReleaseTopStoreVo(v *TopStoreVo)

ReleaseTopStoreVo 释放TopStoreVo

func ReleaseTopTuanItemSkuVOList added in v1.3.4

func ReleaseTopTuanItemSkuVOList(v *TopTuanItemSkuVOList)

ReleaseTopTuanItemSkuVOList 释放TopTuanItemSkuVOList

func ReleaseTopTuanItemSkuVo added in v1.3.4

func ReleaseTopTuanItemSkuVo(v *TopTuanItemSkuVo)

ReleaseTopTuanItemSkuVo 释放TopTuanItemSkuVo

func ReleaseTuanEticketPackageVo added in v1.3.4

func ReleaseTuanEticketPackageVo(v *TuanEticketPackageVo)

ReleaseTuanEticketPackageVo 释放TuanEticketPackageVo

func ReleaseTuanItemOnlineManagerVo added in v1.3.4

func ReleaseTuanItemOnlineManagerVo(v *TuanItemOnlineManagerVo)

ReleaseTuanItemOnlineManagerVo 释放TuanItemOnlineManagerVo

func ReleaseTuanItemOnlineSkuManagerVo added in v1.3.4

func ReleaseTuanItemOnlineSkuManagerVo(v *TuanItemOnlineSkuManagerVo)

ReleaseTuanItemOnlineSkuManagerVo 释放TuanItemOnlineSkuManagerVo

func ReleaseTuanItemRelateGiftVo added in v1.3.4

func ReleaseTuanItemRelateGiftVo(v *TuanItemRelateGiftVo)

ReleaseTuanItemRelateGiftVo 释放TuanItemRelateGiftVo

func ReleaseTuanItemSellParamVo added in v1.3.4

func ReleaseTuanItemSellParamVo(v *TuanItemSellParamVo)

ReleaseTuanItemSellParamVo 释放TuanItemSellParamVo

Types

type AlitripTuanHotelAdaptStoreGetAPIRequest added in v1.2.0

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

AlitripTuanHotelAdaptStoreGetAPIRequest 酒店团购套餐关联适用门店 API请求 alitrip.tuan.hotel.adapt.store.get

输入shid,返回关联门店详情信息

func GetAlitripTuanHotelAdaptStoreGetAPIRequest added in v1.3.4

func GetAlitripTuanHotelAdaptStoreGetAPIRequest() *AlitripTuanHotelAdaptStoreGetAPIRequest

GetAlitripTuanHotelAdaptStoreGetRequest 从 sync.Pool 获取 AlitripTuanHotelAdaptStoreGetAPIRequest

func NewAlitripTuanHotelAdaptStoreGetRequest

func NewAlitripTuanHotelAdaptStoreGetRequest() *AlitripTuanHotelAdaptStoreGetAPIRequest

NewAlitripTuanHotelAdaptStoreGetRequest 初始化AlitripTuanHotelAdaptStoreGetAPIRequest对象

func (AlitripTuanHotelAdaptStoreGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlitripTuanHotelAdaptStoreGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripTuanHotelAdaptStoreGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripTuanHotelAdaptStoreGetAPIRequest) GetHidList added in v1.2.0

GetHidList HidList Getter

func (AlitripTuanHotelAdaptStoreGetAPIRequest) GetRawParams added in v1.2.8

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

func (AlitripTuanHotelAdaptStoreGetAPIRequest) GetShidList added in v1.2.0

GetShidList ShidList Getter

func (*AlitripTuanHotelAdaptStoreGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlitripTuanHotelAdaptStoreGetAPIRequest) SetHidList added in v1.2.0

func (r *AlitripTuanHotelAdaptStoreGetAPIRequest) SetHidList(_hidList []int64) error

SetHidList is HidList Setter 物理酒店ID列表,逗号分割。与shid_list二者只能选一

func (*AlitripTuanHotelAdaptStoreGetAPIRequest) SetShidList added in v1.2.0

func (r *AlitripTuanHotelAdaptStoreGetAPIRequest) SetShidList(_shidList []int64) error

SetShidList is ShidList Setter 标准酒店ID列表,逗号分割。与hid_list二者只能选一

type AlitripTuanHotelAdaptStoreGetAPIResponse

type AlitripTuanHotelAdaptStoreGetAPIResponse struct {
	model.CommonResponse
	AlitripTuanHotelAdaptStoreGetAPIResponseModel
}

AlitripTuanHotelAdaptStoreGetAPIResponse 酒店团购套餐关联适用门店 API返回值 alitrip.tuan.hotel.adapt.store.get

输入shid,返回关联门店详情信息

func GetAlitripTuanHotelAdaptStoreGetAPIResponse added in v1.3.4

func GetAlitripTuanHotelAdaptStoreGetAPIResponse() *AlitripTuanHotelAdaptStoreGetAPIResponse

GetAlitripTuanHotelAdaptStoreGetAPIResponse 从 sync.Pool 获取 AlitripTuanHotelAdaptStoreGetAPIResponse

func (*AlitripTuanHotelAdaptStoreGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlitripTuanHotelAdaptStoreGetAPIResponseModel added in v1.2.0

type AlitripTuanHotelAdaptStoreGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_tuan_hotel_adapt_store_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 关联门店列表
	StoreDetailList []StoreDetailVoList `json:"store_detail_list,omitempty" xml:"store_detail_list>store_detail_vo_list,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 操作状态
	Status bool `json:"status,omitempty" xml:"status,omitempty"`
}

AlitripTuanHotelAdaptStoreGetAPIResponseModel is 酒店团购套餐关联适用门店 成功返回结果

func (*AlitripTuanHotelAdaptStoreGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlitripTuanHotelImageUploadAPIRequest added in v1.2.0

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

AlitripTuanHotelImageUploadAPIRequest 图片上传接口 API请求 alitrip.tuan.hotel.image.upload

用户调用此接口完成外网图片上传至卖家图片中心,此接口返回图片中心的图片地址

func GetAlitripTuanHotelImageUploadAPIRequest added in v1.3.4

func GetAlitripTuanHotelImageUploadAPIRequest() *AlitripTuanHotelImageUploadAPIRequest

GetAlitripTuanHotelImageUploadRequest 从 sync.Pool 获取 AlitripTuanHotelImageUploadAPIRequest

func NewAlitripTuanHotelImageUploadRequest

func NewAlitripTuanHotelImageUploadRequest() *AlitripTuanHotelImageUploadAPIRequest

NewAlitripTuanHotelImageUploadRequest 初始化AlitripTuanHotelImageUploadAPIRequest对象

func (AlitripTuanHotelImageUploadAPIRequest) GetApiMethodName added in v1.2.0

func (r AlitripTuanHotelImageUploadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripTuanHotelImageUploadAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripTuanHotelImageUploadAPIRequest) GetImageInfoList added in v1.2.0

GetImageInfoList ImageInfoList Getter

func (AlitripTuanHotelImageUploadAPIRequest) GetRawParams added in v1.2.8

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

func (*AlitripTuanHotelImageUploadAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlitripTuanHotelImageUploadAPIRequest) SetImageInfoList added in v1.2.0

func (r *AlitripTuanHotelImageUploadAPIRequest) SetImageInfoList(_imageInfoList []ImageInfoVOList) error

SetImageInfoList is ImageInfoList Setter 上传图片信息列表,最多一次支持5张图片上传。单张图片大小限制为1M

type AlitripTuanHotelImageUploadAPIResponse

type AlitripTuanHotelImageUploadAPIResponse struct {
	model.CommonResponse
	AlitripTuanHotelImageUploadAPIResponseModel
}

AlitripTuanHotelImageUploadAPIResponse 图片上传接口 API返回值 alitrip.tuan.hotel.image.upload

用户调用此接口完成外网图片上传至卖家图片中心,此接口返回图片中心的图片地址

func GetAlitripTuanHotelImageUploadAPIResponse added in v1.3.4

func GetAlitripTuanHotelImageUploadAPIResponse() *AlitripTuanHotelImageUploadAPIResponse

GetAlitripTuanHotelImageUploadAPIResponse 从 sync.Pool 获取 AlitripTuanHotelImageUploadAPIResponse

func (*AlitripTuanHotelImageUploadAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlitripTuanHotelImageUploadAPIResponseModel added in v1.2.0

type AlitripTuanHotelImageUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_tuan_hotel_image_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 上传图片结果返回列表
	ImagePathResultList []ImagePathResultVoList `json:"image_path_result_list,omitempty" xml:"image_path_result_list>image_path_result_vo_list,omitempty"`
	// 上传操作错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 上传操作异常信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 上传操作是否成功
	Status bool `json:"status,omitempty" xml:"status,omitempty"`
}

AlitripTuanHotelImageUploadAPIResponseModel is 图片上传接口 成功返回结果

func (*AlitripTuanHotelImageUploadAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlitripTuanHotelItemInfoGetAPIRequest added in v1.2.0

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

AlitripTuanHotelItemInfoGetAPIRequest 宝贝信息查询接口 API请求 alitrip.tuan.hotel.item.info.get

商家查询发布的宝贝详情信息

func GetAlitripTuanHotelItemInfoGetAPIRequest added in v1.3.4

func GetAlitripTuanHotelItemInfoGetAPIRequest() *AlitripTuanHotelItemInfoGetAPIRequest

GetAlitripTuanHotelItemInfoGetRequest 从 sync.Pool 获取 AlitripTuanHotelItemInfoGetAPIRequest

func NewAlitripTuanHotelItemInfoGetRequest

func NewAlitripTuanHotelItemInfoGetRequest() *AlitripTuanHotelItemInfoGetAPIRequest

NewAlitripTuanHotelItemInfoGetRequest 初始化AlitripTuanHotelItemInfoGetAPIRequest对象

func (AlitripTuanHotelItemInfoGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlitripTuanHotelItemInfoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripTuanHotelItemInfoGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripTuanHotelItemInfoGetAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (AlitripTuanHotelItemInfoGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlitripTuanHotelItemInfoGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlitripTuanHotelItemInfoGetAPIRequest) SetItemId added in v1.2.0

func (r *AlitripTuanHotelItemInfoGetAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 宝贝ID

type AlitripTuanHotelItemInfoGetAPIResponse

type AlitripTuanHotelItemInfoGetAPIResponse struct {
	model.CommonResponse
	AlitripTuanHotelItemInfoGetAPIResponseModel
}

AlitripTuanHotelItemInfoGetAPIResponse 宝贝信息查询接口 API返回值 alitrip.tuan.hotel.item.info.get

商家查询发布的宝贝详情信息

func GetAlitripTuanHotelItemInfoGetAPIResponse added in v1.3.4

func GetAlitripTuanHotelItemInfoGetAPIResponse() *AlitripTuanHotelItemInfoGetAPIResponse

GetAlitripTuanHotelItemInfoGetAPIResponse 从 sync.Pool 获取 AlitripTuanHotelItemInfoGetAPIResponse

func (*AlitripTuanHotelItemInfoGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlitripTuanHotelItemInfoGetAPIResponseModel added in v1.2.0

type AlitripTuanHotelItemInfoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_tuan_hotel_item_info_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// sku列表
	TuanItemSkuList []TopTuanItemSkuVOList `json:"tuan_item_sku_list,omitempty" xml:"tuan_item_sku_list>top_tuan_item_sku_vo_list,omitempty"`
	// 关联门店列表
	Stores []TopStoreVo `json:"stores,omitempty" xml:"stores>top_store_vo,omitempty"`
	// 关联POI列表
	RelatedPoiDetailVOList []RelatedPoiDetailVo `json:"related_poi_detail_v_o_list,omitempty" xml:"related_poi_detail_v_o_list>related_poi_detail_vo,omitempty"`
	// 关联礼包列表
	TuanItemRelateGiftList []TuanItemRelateGiftVo `json:"tuan_item_relate_gift_list,omitempty" xml:"tuan_item_relate_gift_list>tuan_item_relate_gift_vo,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 宝贝基本信息
	ItemInfo *TuanItemSellParamVo `json:"item_info,omitempty" xml:"item_info,omitempty"`
	// 电子核销库信息,日历库存和国际套餐暂不支持电子凭证,则无数值返回
	TuanEticketPackage *TuanEticketPackageVo `json:"tuan_eticket_package,omitempty" xml:"tuan_eticket_package,omitempty"`
	// 操作状态
	Status bool `json:"status,omitempty" xml:"status,omitempty"`
}

AlitripTuanHotelItemInfoGetAPIResponseModel is 宝贝信息查询接口 成功返回结果

func (*AlitripTuanHotelItemInfoGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlitripTuanHotelItemSkuCalendarUpdateAPIRequest added in v1.2.0

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

AlitripTuanHotelItemSkuCalendarUpdateAPIRequest 酒店非标套餐商品日历库存宝贝SKU更新接口 API请求 alitrip.tuan.hotel.item.sku.calendar.update

商户对发布的日历库存类型的宝贝套餐价格库存信息进行更新,仅提供日历库存的宝贝SKU的更新功能,skuId须传递商品已存在的skuId,若想进行SKU新增操作,请选择使用alitrip.tuan.hotel.item.sku.update接口。提供增量更新SKU功能,对于日历库存若传递日期信息,参数中若包含某一日期的价格和库存,则对此日期的数据进行覆盖更新,若不传递则保留此日期的价格库存信息。

func GetAlitripTuanHotelItemSkuCalendarUpdateAPIRequest added in v1.3.4

func GetAlitripTuanHotelItemSkuCalendarUpdateAPIRequest() *AlitripTuanHotelItemSkuCalendarUpdateAPIRequest

GetAlitripTuanHotelItemSkuCalendarUpdateRequest 从 sync.Pool 获取 AlitripTuanHotelItemSkuCalendarUpdateAPIRequest

func NewAlitripTuanHotelItemSkuCalendarUpdateRequest

func NewAlitripTuanHotelItemSkuCalendarUpdateRequest() *AlitripTuanHotelItemSkuCalendarUpdateAPIRequest

NewAlitripTuanHotelItemSkuCalendarUpdateRequest 初始化AlitripTuanHotelItemSkuCalendarUpdateAPIRequest对象

func (AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetCatId added in v1.2.0

GetCatId CatId Getter

func (AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetItemSkuList added in v1.2.0

GetItemSkuList ItemSkuList Getter

func (AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) SetCatId added in v1.2.0

SetCatId is CatId Setter 宝贝所属类目

func (*AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) SetItemId added in v1.2.0

SetItemId is ItemId Setter 宝贝ID

func (*AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) SetItemSkuList added in v1.2.0

SetItemSkuList is ItemSkuList Setter 暂不支持此接口对SKU的部分属性进行更新,包括以下属性: 套餐名称、价格、原价、库存、间夜、商家编码、人数、使用次数等

type AlitripTuanHotelItemSkuCalendarUpdateAPIResponse

type AlitripTuanHotelItemSkuCalendarUpdateAPIResponse struct {
	model.CommonResponse
	AlitripTuanHotelItemSkuCalendarUpdateAPIResponseModel
}

AlitripTuanHotelItemSkuCalendarUpdateAPIResponse 酒店非标套餐商品日历库存宝贝SKU更新接口 API返回值 alitrip.tuan.hotel.item.sku.calendar.update

商户对发布的日历库存类型的宝贝套餐价格库存信息进行更新,仅提供日历库存的宝贝SKU的更新功能,skuId须传递商品已存在的skuId,若想进行SKU新增操作,请选择使用alitrip.tuan.hotel.item.sku.update接口。提供增量更新SKU功能,对于日历库存若传递日期信息,参数中若包含某一日期的价格和库存,则对此日期的数据进行覆盖更新,若不传递则保留此日期的价格库存信息。

func GetAlitripTuanHotelItemSkuCalendarUpdateAPIResponse added in v1.3.4

func GetAlitripTuanHotelItemSkuCalendarUpdateAPIResponse() *AlitripTuanHotelItemSkuCalendarUpdateAPIResponse

GetAlitripTuanHotelItemSkuCalendarUpdateAPIResponse 从 sync.Pool 获取 AlitripTuanHotelItemSkuCalendarUpdateAPIResponse

func (*AlitripTuanHotelItemSkuCalendarUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlitripTuanHotelItemSkuCalendarUpdateAPIResponseModel added in v1.2.0

type AlitripTuanHotelItemSkuCalendarUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_tuan_hotel_item_sku_calendar_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 商品的sku列表
	TopItemSkuBaseInfoList []TopItemSkuBaseInfo `json:"top_item_sku_base_info_list,omitempty" xml:"top_item_sku_base_info_list>top_item_sku_base_info,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 宝贝ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 卖家ID
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 操作状态
	Status bool `json:"status,omitempty" xml:"status,omitempty"`
}

AlitripTuanHotelItemSkuCalendarUpdateAPIResponseModel is 酒店非标套餐商品日历库存宝贝SKU更新接口 成功返回结果

func (*AlitripTuanHotelItemSkuCalendarUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlitripTuanHotelItemSkuDeleteAPIRequest added in v1.2.0

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

AlitripTuanHotelItemSkuDeleteAPIRequest 酒店团购套餐商品SKU删除 API请求 alitrip.tuan.hotel.item.sku.delete

商户对发布的宝贝套餐价格库存信息进行删除

func GetAlitripTuanHotelItemSkuDeleteAPIRequest added in v1.3.4

func GetAlitripTuanHotelItemSkuDeleteAPIRequest() *AlitripTuanHotelItemSkuDeleteAPIRequest

GetAlitripTuanHotelItemSkuDeleteRequest 从 sync.Pool 获取 AlitripTuanHotelItemSkuDeleteAPIRequest

func NewAlitripTuanHotelItemSkuDeleteRequest

func NewAlitripTuanHotelItemSkuDeleteRequest() *AlitripTuanHotelItemSkuDeleteAPIRequest

NewAlitripTuanHotelItemSkuDeleteRequest 初始化AlitripTuanHotelItemSkuDeleteAPIRequest对象

func (AlitripTuanHotelItemSkuDeleteAPIRequest) GetApiMethodName added in v1.2.0

func (r AlitripTuanHotelItemSkuDeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripTuanHotelItemSkuDeleteAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripTuanHotelItemSkuDeleteAPIRequest) GetCatId added in v1.2.0

GetCatId CatId Getter

func (AlitripTuanHotelItemSkuDeleteAPIRequest) GetItemDeletedSkuIdList added in v1.2.0

func (r AlitripTuanHotelItemSkuDeleteAPIRequest) GetItemDeletedSkuIdList() []int64

GetItemDeletedSkuIdList ItemDeletedSkuIdList Getter

func (AlitripTuanHotelItemSkuDeleteAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (AlitripTuanHotelItemSkuDeleteAPIRequest) GetRawParams added in v1.2.8

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

func (*AlitripTuanHotelItemSkuDeleteAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlitripTuanHotelItemSkuDeleteAPIRequest) SetCatId added in v1.2.0

SetCatId is CatId Setter 宝贝所属类目

func (*AlitripTuanHotelItemSkuDeleteAPIRequest) SetItemDeletedSkuIdList added in v1.2.0

func (r *AlitripTuanHotelItemSkuDeleteAPIRequest) SetItemDeletedSkuIdList(_itemDeletedSkuIdList []int64) error

SetItemDeletedSkuIdList is ItemDeletedSkuIdList Setter 要删除的skuId列表

func (*AlitripTuanHotelItemSkuDeleteAPIRequest) SetItemId added in v1.2.0

func (r *AlitripTuanHotelItemSkuDeleteAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 宝贝ID

type AlitripTuanHotelItemSkuDeleteAPIResponse

type AlitripTuanHotelItemSkuDeleteAPIResponse struct {
	model.CommonResponse
	AlitripTuanHotelItemSkuDeleteAPIResponseModel
}

AlitripTuanHotelItemSkuDeleteAPIResponse 酒店团购套餐商品SKU删除 API返回值 alitrip.tuan.hotel.item.sku.delete

商户对发布的宝贝套餐价格库存信息进行删除

func GetAlitripTuanHotelItemSkuDeleteAPIResponse added in v1.3.4

func GetAlitripTuanHotelItemSkuDeleteAPIResponse() *AlitripTuanHotelItemSkuDeleteAPIResponse

GetAlitripTuanHotelItemSkuDeleteAPIResponse 从 sync.Pool 获取 AlitripTuanHotelItemSkuDeleteAPIResponse

func (*AlitripTuanHotelItemSkuDeleteAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlitripTuanHotelItemSkuDeleteAPIResponseModel added in v1.2.0

type AlitripTuanHotelItemSkuDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_tuan_hotel_item_sku_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// sku列表
	TopItemSkuBaseInfoList []TopItemSkuBaseInfoList `json:"top_item_sku_base_info_list,omitempty" xml:"top_item_sku_base_info_list>top_item_sku_base_info_list,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 宝贝ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 卖家ID
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 操作状态
	Status bool `json:"status,omitempty" xml:"status,omitempty"`
}

AlitripTuanHotelItemSkuDeleteAPIResponseModel is 酒店团购套餐商品SKU删除 成功返回结果

func (*AlitripTuanHotelItemSkuDeleteAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlitripTuanHotelItemSkuUpdateAPIRequest added in v1.2.0

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

AlitripTuanHotelItemSkuUpdateAPIRequest 酒店团购套餐商品SKU更新和新增 API请求 alitrip.tuan.hotel.item.sku.update

商户对发布的宝贝套餐价格库存信息进行更新,对于已存在的sku,未进行传递则不会进行覆盖。skuId必须为已存在的skuId,暂不支持库存类型的更改。因发布页改造升级,2020.03.05将下线此接口的新增SKU功能,更新SKU功能将保留,但商户2020.03.05后须前往发布页进行宝贝更新后,方可调用本接口。对于日历库存宝贝日历维度的价格和库存数据的更新,此接口存在调用超时的问题,不推荐使用,若有诉求,请使用alitrip.tuan.hotel.item.sku.calendar.update接口(该接口提供增量更新能力),接口地址为https://open.taobao.com/api.htm?docId=48160&docType=2&scopeId=12326

func GetAlitripTuanHotelItemSkuUpdateAPIRequest added in v1.3.4

func GetAlitripTuanHotelItemSkuUpdateAPIRequest() *AlitripTuanHotelItemSkuUpdateAPIRequest

GetAlitripTuanHotelItemSkuUpdateRequest 从 sync.Pool 获取 AlitripTuanHotelItemSkuUpdateAPIRequest

func NewAlitripTuanHotelItemSkuUpdateRequest

func NewAlitripTuanHotelItemSkuUpdateRequest() *AlitripTuanHotelItemSkuUpdateAPIRequest

NewAlitripTuanHotelItemSkuUpdateRequest 初始化AlitripTuanHotelItemSkuUpdateAPIRequest对象

func (AlitripTuanHotelItemSkuUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlitripTuanHotelItemSkuUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripTuanHotelItemSkuUpdateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripTuanHotelItemSkuUpdateAPIRequest) GetCatId added in v1.2.0

GetCatId CatId Getter

func (AlitripTuanHotelItemSkuUpdateAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (AlitripTuanHotelItemSkuUpdateAPIRequest) GetItemSkuList added in v1.2.0

GetItemSkuList ItemSkuList Getter

func (AlitripTuanHotelItemSkuUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlitripTuanHotelItemSkuUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlitripTuanHotelItemSkuUpdateAPIRequest) SetCatId added in v1.2.0

SetCatId is CatId Setter 宝贝所属类目

func (*AlitripTuanHotelItemSkuUpdateAPIRequest) SetItemId added in v1.2.0

func (r *AlitripTuanHotelItemSkuUpdateAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 宝贝ID

func (*AlitripTuanHotelItemSkuUpdateAPIRequest) SetItemSkuList added in v1.2.0

func (r *AlitripTuanHotelItemSkuUpdateAPIRequest) SetItemSkuList(_itemSkuList []TopTuanItemSkuVo) error

SetItemSkuList is ItemSkuList Setter 关于sku(价格策略)的字段填写的说明 国内酒店套餐类目(日历库存必填选项:套餐名称、原价、间夜;普通库存必填选项:套餐名称、价格、原价、库存、间夜)。 国际酒店套餐类目(日历库存必填选型:套餐名称、原价、间夜、人数;普通库存必填选项:套餐名称、价格、原件、库存、间夜、人数)。 酒店餐饮美食类目(日历库存必填选项:套餐名称、原价、人数、次数;普通库存必填选项:套餐名称、价格、原价、库存、人数,次数)。 酒店服务类目(日历库存必填选项:套餐名称、原价、使用次数;普通库存必填选项:套餐名称、价格、原价、库存、使用次数)。 酒店客房优惠券类目(无sku(价格策略)选项,不填写)。

type AlitripTuanHotelItemSkuUpdateAPIResponse

type AlitripTuanHotelItemSkuUpdateAPIResponse struct {
	model.CommonResponse
	AlitripTuanHotelItemSkuUpdateAPIResponseModel
}

AlitripTuanHotelItemSkuUpdateAPIResponse 酒店团购套餐商品SKU更新和新增 API返回值 alitrip.tuan.hotel.item.sku.update

商户对发布的宝贝套餐价格库存信息进行更新,对于已存在的sku,未进行传递则不会进行覆盖。skuId必须为已存在的skuId,暂不支持库存类型的更改。因发布页改造升级,2020.03.05将下线此接口的新增SKU功能,更新SKU功能将保留,但商户2020.03.05后须前往发布页进行宝贝更新后,方可调用本接口。对于日历库存宝贝日历维度的价格和库存数据的更新,此接口存在调用超时的问题,不推荐使用,若有诉求,请使用alitrip.tuan.hotel.item.sku.calendar.update接口(该接口提供增量更新能力),接口地址为https://open.taobao.com/api.htm?docId=48160&docType=2&scopeId=12326

func GetAlitripTuanHotelItemSkuUpdateAPIResponse added in v1.3.4

func GetAlitripTuanHotelItemSkuUpdateAPIResponse() *AlitripTuanHotelItemSkuUpdateAPIResponse

GetAlitripTuanHotelItemSkuUpdateAPIResponse 从 sync.Pool 获取 AlitripTuanHotelItemSkuUpdateAPIResponse

func (*AlitripTuanHotelItemSkuUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlitripTuanHotelItemSkuUpdateAPIResponseModel added in v1.2.0

type AlitripTuanHotelItemSkuUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_tuan_hotel_item_sku_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 商品的sku列表
	TopItemSkuBaseInfoList []TopItemSkuBaseInfo `json:"top_item_sku_base_info_list,omitempty" xml:"top_item_sku_base_info_list>top_item_sku_base_info,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 宝贝ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 卖家ID
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 操作状态
	Status bool `json:"status,omitempty" xml:"status,omitempty"`
}

AlitripTuanHotelItemSkuUpdateAPIResponseModel is 酒店团购套餐商品SKU更新和新增 成功返回结果

func (*AlitripTuanHotelItemSkuUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlitripTuanHotelShopCategoryGetAPIRequest added in v1.2.0

type AlitripTuanHotelShopCategoryGetAPIRequest struct {
	model.Params
}

AlitripTuanHotelShopCategoryGetAPIRequest 商家店铺类目查询 API请求 alitrip.tuan.hotel.shop.category.get

查询商家店铺类目信息

func GetAlitripTuanHotelShopCategoryGetAPIRequest added in v1.3.4

func GetAlitripTuanHotelShopCategoryGetAPIRequest() *AlitripTuanHotelShopCategoryGetAPIRequest

GetAlitripTuanHotelShopCategoryGetRequest 从 sync.Pool 获取 AlitripTuanHotelShopCategoryGetAPIRequest

func NewAlitripTuanHotelShopCategoryGetRequest

func NewAlitripTuanHotelShopCategoryGetRequest() *AlitripTuanHotelShopCategoryGetAPIRequest

NewAlitripTuanHotelShopCategoryGetRequest 初始化AlitripTuanHotelShopCategoryGetAPIRequest对象

func (AlitripTuanHotelShopCategoryGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripTuanHotelShopCategoryGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripTuanHotelShopCategoryGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlitripTuanHotelShopCategoryGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

type AlitripTuanHotelShopCategoryGetAPIResponse

type AlitripTuanHotelShopCategoryGetAPIResponse struct {
	model.CommonResponse
	AlitripTuanHotelShopCategoryGetAPIResponseModel
}

AlitripTuanHotelShopCategoryGetAPIResponse 商家店铺类目查询 API返回值 alitrip.tuan.hotel.shop.category.get

查询商家店铺类目信息

func GetAlitripTuanHotelShopCategoryGetAPIResponse added in v1.3.4

func GetAlitripTuanHotelShopCategoryGetAPIResponse() *AlitripTuanHotelShopCategoryGetAPIResponse

GetAlitripTuanHotelShopCategoryGetAPIResponse 从 sync.Pool 获取 AlitripTuanHotelShopCategoryGetAPIResponse

func (*AlitripTuanHotelShopCategoryGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlitripTuanHotelShopCategoryGetAPIResponseModel added in v1.2.0

type AlitripTuanHotelShopCategoryGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_tuan_hotel_shop_category_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 一级类目列表
	TopRootShopCategoryList []TopRootShopCategoryVoList `json:"top_root_shop_category_list,omitempty" xml:"top_root_shop_category_list>top_root_shop_category_vo_list,omitempty"`
	// code
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 是否成功
	Status bool `json:"status,omitempty" xml:"status,omitempty"`
}

AlitripTuanHotelShopCategoryGetAPIResponseModel is 商家店铺类目查询 成功返回结果

func (*AlitripTuanHotelShopCategoryGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AppointPhoneVoList

type AppointPhoneVoList struct {
	// ext
	Ext string `json:"ext,omitempty" xml:"ext,omitempty"`
	// 地区
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 手机
	Mobil string `json:"mobil,omitempty" xml:"mobil,omitempty"`
	// 国家
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 电话
	Fix string `json:"fix,omitempty" xml:"fix,omitempty"`
	// p400
	P400 string `json:"p400,omitempty" xml:"p400,omitempty"`
	// 固话或者移动电话
	Type string `json:"type,omitempty" xml:"type,omitempty"`
}

AppointPhoneVoList 结构体

func GetAppointPhoneVoList added in v1.3.4

func GetAppointPhoneVoList() *AppointPhoneVoList

GetAppointPhoneVoList() 从对象池中获取AppointPhoneVoList

type ImageInfoVOList

type ImageInfoVOList struct {
	// 图片ID
	ImageUid string `json:"image_uid,omitempty" xml:"image_uid,omitempty"`
	// 图片URL地址
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
	// false
	IsPhone bool `json:"is_phone,omitempty" xml:"is_phone,omitempty"`
}

ImageInfoVOList 结构体

func GetImageInfoVOList added in v1.3.4

func GetImageInfoVOList() *ImageInfoVOList

GetImageInfoVOList() 从对象池中获取ImageInfoVOList

type ImagePathResultVoList

type ImagePathResultVoList struct {
	// 图片id
	ImageUid string `json:"image_uid,omitempty" xml:"image_uid,omitempty"`
	// 在图片中心的地址路径
	ImagePath string `json:"image_path,omitempty" xml:"image_path,omitempty"`
	// 异常信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

ImagePathResultVoList 结构体

func GetImagePathResultVoList added in v1.3.4

func GetImagePathResultVoList() *ImagePathResultVoList

GetImagePathResultVoList() 从对象池中获取ImagePathResultVoList

type ItemInfoListResult added in v1.2.9

type ItemInfoListResult struct {
	// 宝贝信息
	TuanItemOnlines []TuanItemOnlineManagerVo `json:"tuan_item_onlines,omitempty" xml:"tuan_item_onlines>tuan_item_online_manager_vo,omitempty"`
}

ItemInfoListResult 结构体

func GetItemInfoListResult added in v1.3.4

func GetItemInfoListResult() *ItemInfoListResult

GetItemInfoListResult() 从对象池中获取ItemInfoListResult

type RelatedPoiDetailVo

type RelatedPoiDetailVo struct {
	// POI名称
	PoiName string `json:"poi_name,omitempty" xml:"poi_name,omitempty"`
	// POI ID
	PoiId int64 `json:"poi_id,omitempty" xml:"poi_id,omitempty"`
}

RelatedPoiDetailVo 结构体

func GetRelatedPoiDetailVo added in v1.3.4

func GetRelatedPoiDetailVo() *RelatedPoiDetailVo

GetRelatedPoiDetailVo() 从对象池中获取RelatedPoiDetailVo

type RoomTypeVoList

type RoomTypeVoList struct {
	// 是否无线上网
	NetworkService string `json:"network_service,omitempty" xml:"network_service,omitempty"`
	// 面积
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 床型
	Bed string `json:"bed,omitempty" xml:"bed,omitempty"`
	// 名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 最多可入住人数
	MaxOccupancy string `json:"max_occupancy,omitempty" xml:"max_occupancy,omitempty"`
	// 楼层
	Floor string `json:"floor,omitempty" xml:"floor,omitempty"`
	// rId
	Rid string `json:"rid,omitempty" xml:"rid,omitempty"`
	// 设施
	Facility string `json:"facility,omitempty" xml:"facility,omitempty"`
	// 是否标准
	Standard bool `json:"standard,omitempty" xml:"standard,omitempty"`
}

RoomTypeVoList 结构体

func GetRoomTypeVoList added in v1.3.4

func GetRoomTypeVoList() *RoomTypeVoList

GetRoomTypeVoList() 从对象池中获取RoomTypeVoList

type ShopCategoryVoList

type ShopCategoryVoList struct {
	// 二级类目名称
	CategoriesName string `json:"categories_name,omitempty" xml:"categories_name,omitempty"`
	// 二级类目ID
	CategoriesId int64 `json:"categories_id,omitempty" xml:"categories_id,omitempty"`
}

ShopCategoryVoList 结构体

func GetShopCategoryVoList added in v1.3.4

func GetShopCategoryVoList() *ShopCategoryVoList

GetShopCategoryVoList() 从对象池中获取ShopCategoryVoList

type StoreDetailVoList

type StoreDetailVoList struct {
	// 联系电话列表
	AppointPhoneList []AppointPhoneVoList `json:"appoint_phone_list,omitempty" xml:"appoint_phone_list>appoint_phone_vo_list,omitempty"`
	// 房型列表
	RoomTypeList []RoomTypeVoList `json:"room_type_list,omitempty" xml:"room_type_list>room_type_vo_list,omitempty"`
	// 物理酒店ID
	Hid string `json:"hid,omitempty" xml:"hid,omitempty"`
	// 分账描述
	BillDescs string `json:"bill_descs,omitempty" xml:"bill_descs,omitempty"`
	// 地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 核销账户
	WriteOffAccounts string `json:"write_off_accounts,omitempty" xml:"write_off_accounts,omitempty"`
	// 名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 分账信息
	BillInfos string `json:"bill_infos,omitempty" xml:"bill_infos,omitempty"`
	// 标准酒店ID
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 门店id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

StoreDetailVoList 结构体

func GetStoreDetailVoList added in v1.3.4

func GetStoreDetailVoList() *StoreDetailVoList

GetStoreDetailVoList() 从对象池中获取StoreDetailVoList

type TaobaoXhotelComboOffshelfAPIRequest added in v1.2.9

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

TaobaoXhotelComboOffshelfAPIRequest 酒店套餐下架 API请求 taobao.xhotel.combo.offshelf

酒店套餐下架

func GetTaobaoXhotelComboOffshelfAPIRequest added in v1.3.4

func GetTaobaoXhotelComboOffshelfAPIRequest() *TaobaoXhotelComboOffshelfAPIRequest

GetTaobaoXhotelComboOffshelfRequest 从 sync.Pool 获取 TaobaoXhotelComboOffshelfAPIRequest

func NewTaobaoXhotelComboOffshelfRequest added in v1.2.9

func NewTaobaoXhotelComboOffshelfRequest() *TaobaoXhotelComboOffshelfAPIRequest

NewTaobaoXhotelComboOffshelfRequest 初始化TaobaoXhotelComboOffshelfAPIRequest对象

func (TaobaoXhotelComboOffshelfAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoXhotelComboOffshelfAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelComboOffshelfAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelComboOffshelfAPIRequest) GetItemId added in v1.2.9

GetItemId ItemId Getter

func (TaobaoXhotelComboOffshelfAPIRequest) GetRawParams added in v1.2.9

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

func (*TaobaoXhotelComboOffshelfAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelComboOffshelfAPIRequest) SetItemId added in v1.2.9

func (r *TaobaoXhotelComboOffshelfAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 宝贝id

type TaobaoXhotelComboOffshelfAPIResponse added in v1.2.9

type TaobaoXhotelComboOffshelfAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelComboOffshelfAPIResponseModel
}

TaobaoXhotelComboOffshelfAPIResponse 酒店套餐下架 API返回值 taobao.xhotel.combo.offshelf

酒店套餐下架

func GetTaobaoXhotelComboOffshelfAPIResponse added in v1.3.4

func GetTaobaoXhotelComboOffshelfAPIResponse() *TaobaoXhotelComboOffshelfAPIResponse

GetTaobaoXhotelComboOffshelfAPIResponse 从 sync.Pool 获取 TaobaoXhotelComboOffshelfAPIResponse

func (*TaobaoXhotelComboOffshelfAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelComboOffshelfAPIResponseModel added in v1.2.9

type TaobaoXhotelComboOffshelfAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_combo_offshelf_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 下架状态
	Data string `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoXhotelComboOffshelfAPIResponseModel is 酒店套餐下架 成功返回结果

func (*TaobaoXhotelComboOffshelfAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelComboReviewAPIRequest added in v1.2.9

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

TaobaoXhotelComboReviewAPIRequest 套餐审核接口 API请求 taobao.xhotel.combo.review

套餐审核接口

func GetTaobaoXhotelComboReviewAPIRequest added in v1.3.4

func GetTaobaoXhotelComboReviewAPIRequest() *TaobaoXhotelComboReviewAPIRequest

GetTaobaoXhotelComboReviewRequest 从 sync.Pool 获取 TaobaoXhotelComboReviewAPIRequest

func NewTaobaoXhotelComboReviewRequest added in v1.2.9

func NewTaobaoXhotelComboReviewRequest() *TaobaoXhotelComboReviewAPIRequest

NewTaobaoXhotelComboReviewRequest 初始化TaobaoXhotelComboReviewAPIRequest对象

func (TaobaoXhotelComboReviewAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoXhotelComboReviewAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelComboReviewAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelComboReviewAPIRequest) GetItemId added in v1.2.9

GetItemId ItemId Getter

func (TaobaoXhotelComboReviewAPIRequest) GetRawParams added in v1.2.9

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

func (*TaobaoXhotelComboReviewAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelComboReviewAPIRequest) SetItemId added in v1.2.9

func (r *TaobaoXhotelComboReviewAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 宝贝id

type TaobaoXhotelComboReviewAPIResponse added in v1.2.9

type TaobaoXhotelComboReviewAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelComboReviewAPIResponseModel
}

TaobaoXhotelComboReviewAPIResponse 套餐审核接口 API返回值 taobao.xhotel.combo.review

套餐审核接口

func GetTaobaoXhotelComboReviewAPIResponse added in v1.3.4

func GetTaobaoXhotelComboReviewAPIResponse() *TaobaoXhotelComboReviewAPIResponse

GetTaobaoXhotelComboReviewAPIResponse 从 sync.Pool 获取 TaobaoXhotelComboReviewAPIResponse

func (*TaobaoXhotelComboReviewAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelComboReviewAPIResponseModel added in v1.2.9

type TaobaoXhotelComboReviewAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_combo_review_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 审核状态
	Data string `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoXhotelComboReviewAPIResponseModel is 套餐审核接口 成功返回结果

func (*TaobaoXhotelComboReviewAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelComboStatusGetAPIRequest added in v1.2.9

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

TaobaoXhotelComboStatusGetAPIRequest 酒店宝贝状态查询 API请求 taobao.xhotel.combo.status.get

酒店宝贝状态查询

func GetTaobaoXhotelComboStatusGetAPIRequest added in v1.3.4

func GetTaobaoXhotelComboStatusGetAPIRequest() *TaobaoXhotelComboStatusGetAPIRequest

GetTaobaoXhotelComboStatusGetRequest 从 sync.Pool 获取 TaobaoXhotelComboStatusGetAPIRequest

func NewTaobaoXhotelComboStatusGetRequest added in v1.2.9

func NewTaobaoXhotelComboStatusGetRequest() *TaobaoXhotelComboStatusGetAPIRequest

NewTaobaoXhotelComboStatusGetRequest 初始化TaobaoXhotelComboStatusGetAPIRequest对象

func (TaobaoXhotelComboStatusGetAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoXhotelComboStatusGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelComboStatusGetAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelComboStatusGetAPIRequest) GetCurrentPageNo added in v1.2.9

func (r TaobaoXhotelComboStatusGetAPIRequest) GetCurrentPageNo() int64

GetCurrentPageNo CurrentPageNo Getter

func (TaobaoXhotelComboStatusGetAPIRequest) GetItemId added in v1.2.9

GetItemId ItemId Getter

func (TaobaoXhotelComboStatusGetAPIRequest) GetItemTitle added in v1.2.9

GetItemTitle ItemTitle Getter

func (TaobaoXhotelComboStatusGetAPIRequest) GetPageSize added in v1.2.9

GetPageSize PageSize Getter

func (TaobaoXhotelComboStatusGetAPIRequest) GetRawParams added in v1.2.9

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

func (*TaobaoXhotelComboStatusGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelComboStatusGetAPIRequest) SetCurrentPageNo added in v1.2.9

func (r *TaobaoXhotelComboStatusGetAPIRequest) SetCurrentPageNo(_currentPageNo int64) error

SetCurrentPageNo is CurrentPageNo Setter 当前页

func (*TaobaoXhotelComboStatusGetAPIRequest) SetItemId added in v1.2.9

func (r *TaobaoXhotelComboStatusGetAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 宝贝id

func (*TaobaoXhotelComboStatusGetAPIRequest) SetItemTitle added in v1.2.9

func (r *TaobaoXhotelComboStatusGetAPIRequest) SetItemTitle(_itemTitle string) error

SetItemTitle is ItemTitle Setter 宝贝名称

func (*TaobaoXhotelComboStatusGetAPIRequest) SetPageSize added in v1.2.9

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

SetPageSize is PageSize Setter 页大小

type TaobaoXhotelComboStatusGetAPIResponse added in v1.2.9

type TaobaoXhotelComboStatusGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelComboStatusGetAPIResponseModel
}

TaobaoXhotelComboStatusGetAPIResponse 酒店宝贝状态查询 API返回值 taobao.xhotel.combo.status.get

酒店宝贝状态查询

func GetTaobaoXhotelComboStatusGetAPIResponse added in v1.3.4

func GetTaobaoXhotelComboStatusGetAPIResponse() *TaobaoXhotelComboStatusGetAPIResponse

GetTaobaoXhotelComboStatusGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelComboStatusGetAPIResponse

func (*TaobaoXhotelComboStatusGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelComboStatusGetAPIResponseModel added in v1.2.9

type TaobaoXhotelComboStatusGetAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_combo_status_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值
	Data *ItemInfoListResult `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoXhotelComboStatusGetAPIResponseModel is 酒店宝贝状态查询 成功返回结果

func (*TaobaoXhotelComboStatusGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TopAppointPhoneVo added in v1.2.7

type TopAppointPhoneVo struct {
	// 手机号
	Mobil string `json:"mobil,omitempty" xml:"mobil,omitempty"`
	// 地区
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 国家
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 固话号码
	Fix string `json:"fix,omitempty" xml:"fix,omitempty"`
	// p400
	P400 string `json:"p400,omitempty" xml:"p400,omitempty"`
	// 类型固话或手机
	Type string `json:"type,omitempty" xml:"type,omitempty"`
}

TopAppointPhoneVo 结构体

func GetTopAppointPhoneVo added in v1.3.4

func GetTopAppointPhoneVo() *TopAppointPhoneVo

GetTopAppointPhoneVo() 从对象池中获取TopAppointPhoneVo

type TopItemSkuBaseInfo

type TopItemSkuBaseInfo struct {
	// sku名称
	SkuName string `json:"sku_name,omitempty" xml:"sku_name,omitempty"`
	// 商家编码
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// skuId
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

TopItemSkuBaseInfo 结构体

func GetTopItemSkuBaseInfo added in v1.3.4

func GetTopItemSkuBaseInfo() *TopItemSkuBaseInfo

GetTopItemSkuBaseInfo() 从对象池中获取TopItemSkuBaseInfo

type TopItemSkuBaseInfoList

type TopItemSkuBaseInfoList struct {
	// sku名称
	SkuName string `json:"sku_name,omitempty" xml:"sku_name,omitempty"`
	// 商家编码
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// skuId
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

TopItemSkuBaseInfoList 结构体

func GetTopItemSkuBaseInfoList added in v1.3.4

func GetTopItemSkuBaseInfoList() *TopItemSkuBaseInfoList

GetTopItemSkuBaseInfoList() 从对象池中获取TopItemSkuBaseInfoList

type TopRoomTypeVo added in v1.2.7

type TopRoomTypeVo struct {
	// 房型名称
	TypeName string `json:"type_name,omitempty" xml:"type_name,omitempty"`
	// 房型ID
	TypeId int64 `json:"type_id,omitempty" xml:"type_id,omitempty"`
}

TopRoomTypeVo 结构体

func GetTopRoomTypeVo added in v1.3.4

func GetTopRoomTypeVo() *TopRoomTypeVo

GetTopRoomTypeVo() 从对象池中获取TopRoomTypeVo

type TopRootShopCategoryVoList

type TopRootShopCategoryVoList struct {
	// 二级类目列表
	ShopCategoryList []ShopCategoryVoList `json:"shop_category_list,omitempty" xml:"shop_category_list>shop_category_vo_list,omitempty"`
	// 一级类目名称
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 一级类目ID
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
}

TopRootShopCategoryVoList 结构体

func GetTopRootShopCategoryVoList added in v1.3.4

func GetTopRootShopCategoryVoList() *TopRootShopCategoryVoList

GetTopRootShopCategoryVoList() 从对象池中获取TopRootShopCategoryVoList

type TopSkuCalendarInfo

type TopSkuCalendarInfo struct {
	// 日历库存价格信息
	Diffs []TopSkuDailyInfo `json:"diffs,omitempty" xml:"diffs>top_sku_daily_info,omitempty"`
	// 日历库存价格信息,日历库存必填
	Diff []TopSkuDailyInfo `json:"diff,omitempty" xml:"diff>top_sku_daily_info,omitempty"`
	// 日历库存范围结束日期
	End string `json:"end,omitempty" xml:"end,omitempty"`
	// 日历库存范围开始日期
	Begin string `json:"begin,omitempty" xml:"begin,omitempty"`
}

TopSkuCalendarInfo 结构体

func GetTopSkuCalendarInfo added in v1.3.4

func GetTopSkuCalendarInfo() *TopSkuCalendarInfo

GetTopSkuCalendarInfo() 从对象池中获取TopSkuCalendarInfo

type TopSkuDailyInfo

type TopSkuDailyInfo struct {
	// 日期
	D string `json:"d,omitempty" xml:"d,omitempty"`
	// 价格
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 库存
	Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"`
}

TopSkuDailyInfo 结构体

func GetTopSkuDailyInfo added in v1.3.4

func GetTopSkuDailyInfo() *TopSkuDailyInfo

GetTopSkuDailyInfo() 从对象池中获取TopSkuDailyInfo

type TopStoreVo added in v1.2.7

type TopStoreVo struct {
	// 房型列表
	RoomTypes []TopRoomTypeVo `json:"room_types,omitempty" xml:"room_types>top_room_type_vo,omitempty"`
	// 联系电话列表
	AppointPhones []TopAppointPhoneVo `json:"appoint_phones,omitempty" xml:"appoint_phones>top_appoint_phone_vo,omitempty"`
	// 门店分账下的分账信息,数据格式(淘宝账户名称:比例或者金额:分账方式(1-按照比例的方式进行分账,2-按照固定金额的方式进行分账))
	BillInfos string `json:"bill_infos,omitempty" xml:"bill_infos,omitempty"`
	// 分账描述
	BillDescs string `json:"bill_descs,omitempty" xml:"bill_descs,omitempty"`
	// 核销账号
	WriteOffAccounts string `json:"write_off_accounts,omitempty" xml:"write_off_accounts,omitempty"`
	// 酒店名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 物理酒店ID
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// 城市
	City int64 `json:"city,omitempty" xml:"city,omitempty"`
	// 标准酒店ID
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 门店ID
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

TopStoreVo 结构体

func GetTopStoreVo added in v1.3.4

func GetTopStoreVo() *TopStoreVo

GetTopStoreVo() 从对象池中获取TopStoreVo

type TopTuanItemSkuVOList

type TopTuanItemSkuVOList struct {
	// 宝贝标题
	ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"`
	// 套餐原价
	OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"`
	// 套餐价格
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 套餐名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 商家编码
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 套餐间夜
	NightCount int64 `json:"night_count,omitempty" xml:"night_count,omitempty"`
	// 套餐库存
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 宝贝ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 卖家ID
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 套餐人数
	PeopleCount int64 `json:"people_count,omitempty" xml:"people_count,omitempty"`
	// 日历库存信息
	CalendarInfo *TopSkuCalendarInfo `json:"calendar_info,omitempty" xml:"calendar_info,omitempty"`
	// skuId
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

TopTuanItemSkuVOList 结构体

func GetTopTuanItemSkuVOList added in v1.3.4

func GetTopTuanItemSkuVOList() *TopTuanItemSkuVOList

GetTopTuanItemSkuVOList() 从对象池中获取TopTuanItemSkuVOList

type TopTuanItemSkuVo added in v1.2.7

type TopTuanItemSkuVo struct {
	// 套餐原价,单位为元,仅支持精确到分(小数点后两位)
	OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"`
	// 套餐价格。单位为元,仅支持精确到分(小数点后两位)
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 套餐名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 商家编码
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 套餐日历库存价格信息,日历库存需完整填写
	CalendarInfo *TopSkuCalendarInfo `json:"calendar_info,omitempty" xml:"calendar_info,omitempty"`
	// skuId,若更新sku信息,必填;若新增sku,此项填写为0
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 套餐间夜
	NightCount int64 `json:"night_count,omitempty" xml:"night_count,omitempty"`
	// 套餐库存
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 套餐人数
	PeopleCount int64 `json:"people_count,omitempty" xml:"people_count,omitempty"`
	// 使用次数
	UseCount int64 `json:"use_count,omitempty" xml:"use_count,omitempty"`
}

TopTuanItemSkuVo 结构体

func GetTopTuanItemSkuVo added in v1.3.4

func GetTopTuanItemSkuVo() *TopTuanItemSkuVo

GetTopTuanItemSkuVo() 从对象池中获取TopTuanItemSkuVo

type TuanEticketPackageVo

type TuanEticketPackageVo struct {
	// 核销放行码商名称
	PassMerchantUserName string `json:"pass_merchant_user_name,omitempty" xml:"pass_merchant_user_name,omitempty"`
	// 核销帐号名称
	SendMerchantUserName string `json:"send_merchant_user_name,omitempty" xml:"send_merchant_user_name,omitempty"`
	// 宝贝分账信息,宝贝分账必填。分账多个账号之间以逗号隔开。数据格式(名称:比例数值或金额:类型
	BillInfos string `json:"bill_infos,omitempty" xml:"bill_infos,omitempty"`
	// 分账描述
	BillTypeDesc string `json:"bill_type_desc,omitempty" xml:"bill_type_desc,omitempty"`
	// 门店分账是否支持资金到门店:0不支持,1支持
	IsMoneyToStore int64 `json:"is_money_to_store,omitempty" xml:"is_money_to_store,omitempty"`
	// 分账方式 0-不分账,1-门店分账 2-宝贝分账
	BillType int64 `json:"bill_type,omitempty" xml:"bill_type,omitempty"`
	// 宝贝分账是否支持子账号核销
	IsSubAccount int64 `json:"is_sub_account,omitempty" xml:"is_sub_account,omitempty"`
	// 系统自动生成
	Online int64 `json:"online,omitempty" xml:"online,omitempty"`
	// 核销帐号id。电子凭证下,返回。关于发行码商和核销放行的说明 淘宝:0 阿里旅行代金券:2395482105 第三方码商(浙江深大:1077204890、孟宽测试:112414636、子畵码商:436160339、银科环企:2811880569)
	SendMerchantUserId int64 `json:"send_merchant_user_id,omitempty" xml:"send_merchant_user_id,omitempty"`
	// 是否分次预约,0-否,1-是
	MultipleTimes int64 `json:"multiple_times,omitempty" xml:"multiple_times,omitempty"`
	// 核销放行码商id
	PassMerchantUserId int64 `json:"pass_merchant_user_id,omitempty" xml:"pass_merchant_user_id,omitempty"`
}

TuanEticketPackageVo 结构体

func GetTuanEticketPackageVo added in v1.3.4

func GetTuanEticketPackageVo() *TuanEticketPackageVo

GetTuanEticketPackageVo() 从对象池中获取TuanEticketPackageVo

type TuanItemOnlineManagerVo added in v1.2.9

type TuanItemOnlineManagerVo struct {
	// sku
	TuanItemOnlineSkus []TuanItemOnlineSkuManagerVo `json:"tuan_item_online_skus,omitempty" xml:"tuan_item_online_skus>tuan_item_online_sku_manager_vo,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 下线
	OnlineStatusDesc string `json:"online_status_desc,omitempty" xml:"online_status_desc,omitempty"`
	// itemid
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 审核状态
	OnlineStatus int64 `json:"online_status,omitempty" xml:"online_status,omitempty"`
}

TuanItemOnlineManagerVo 结构体

func GetTuanItemOnlineManagerVo added in v1.3.4

func GetTuanItemOnlineManagerVo() *TuanItemOnlineManagerVo

GetTuanItemOnlineManagerVo() 从对象池中获取TuanItemOnlineManagerVo

type TuanItemOnlineSkuManagerVo added in v1.2.9

type TuanItemOnlineSkuManagerVo struct {
	// 套餐名称
	SkuName string `json:"sku_name,omitempty" xml:"sku_name,omitempty"`
	// 价格
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// sku id
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 间夜
	Nights int64 `json:"nights,omitempty" xml:"nights,omitempty"`
}

TuanItemOnlineSkuManagerVo 结构体

func GetTuanItemOnlineSkuManagerVo added in v1.3.4

func GetTuanItemOnlineSkuManagerVo() *TuanItemOnlineSkuManagerVo

GetTuanItemOnlineSkuManagerVo() 从对象池中获取TuanItemOnlineSkuManagerVo

type TuanItemRelateGiftVo added in v1.2.7

type TuanItemRelateGiftVo struct {
	// 单位
	Unit string `json:"unit,omitempty" xml:"unit,omitempty"`
	// 描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 数量
	Num int64 `json:"num,omitempty" xml:"num,omitempty"`
	// 类别:1-温泉;2-滑雪;3-门票;4-美食;5-下午茶;6-SPA;7-礼包;8-亲子;9-交通;10-代金券;999-用户自定义
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 宝贝ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
}

TuanItemRelateGiftVo 结构体

func GetTuanItemRelateGiftVo added in v1.3.4

func GetTuanItemRelateGiftVo() *TuanItemRelateGiftVo

GetTuanItemRelateGiftVo() 从对象池中获取TuanItemRelateGiftVo

type TuanItemSellParamVo added in v1.2.7

type TuanItemSellParamVo struct {
	// PC端图片地址
	PicUrls []string `json:"pic_urls,omitempty" xml:"pic_urls>string,omitempty"`
	// 秒杀商品平台:web-电脑,wap-手机
	SecKills []string `json:"sec_kills,omitempty" xml:"sec_kills>string,omitempty"`
	// 商家店铺类目
	ShopCategoriesIdList []string `json:"shop_categories_id_list,omitempty" xml:"shop_categories_id_list>string,omitempty"`
	// 无线端图片地址
	WirelessPicUrls []string `json:"wireless_pic_urls,omitempty" xml:"wireless_pic_urls>string,omitempty"`
	// 包含元素
	ContainElements []string `json:"contain_elements,omitempty" xml:"contain_elements>string,omitempty"`
	// 免费赠品
	Gift string `json:"gift,omitempty" xml:"gift,omitempty"`
	// 预约说明,字数限制200
	AppointExplain string `json:"appoint_explain,omitempty" xml:"appoint_explain,omitempty"`
	// 当前开始到哪天结束
	DuringEndDate string `json:"during_end_date,omitempty" xml:"during_end_date,omitempty"`
	// 不可用日期(范围)
	UnavailableDates string `json:"unavailable_dates,omitempty" xml:"unavailable_dates,omitempty"`
	// 若为酒店客房优惠券类目则显示价格,其他类目则显示第一条sku的价格
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 售卖时间小时,售卖时间类型1时返回
	BeginHour string `json:"begin_hour,omitempty" xml:"begin_hour,omitempty"`
	// 确认时间,可选字段:2,6,9,18.确认类型为2时返回
	ConfirmTime string `json:"confirm_time,omitempty" xml:"confirm_time,omitempty"`
	// 售卖时间分钟,售卖时间类型1返回
	BeginMin string `json:"begin_min,omitempty" xml:"begin_min,omitempty"`
	// 自动下架时间小时
	DownShelfHour string `json:"down_shelf_hour,omitempty" xml:"down_shelf_hour,omitempty"`
	// 主图视频封面图和缩略图
	MainVideoPicUrl string `json:"main_video_pic_url,omitempty" xml:"main_video_pic_url,omitempty"`
	// 城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 若为酒店客房优惠券类目则显示价格,其他类目则显示第一条sku的原价
	OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"`
	// 预约时段结束日期,预约时段类型为1返回
	EndAvailableDate string `json:"end_available_date,omitempty" xml:"end_available_date,omitempty"`
	// 费用包含
	FeeInclude string `json:"fee_include,omitempty" xml:"fee_include,omitempty"`
	// 省份
	Prov string `json:"prov,omitempty" xml:"prov,omitempty"`
	// 卖家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 旺铺详情
	WangpuDetail string `json:"wangpu_detail,omitempty" xml:"wangpu_detail,omitempty"`
	// 亮点2
	Sub2Title string `json:"sub2_title,omitempty" xml:"sub2_title,omitempty"`
	// 预约时段结束日期,预约时段类型为1返回
	EndEffectiveDate string `json:"end_effective_date,omitempty" xml:"end_effective_date,omitempty"`
	// C卖家有效。酒店代订服务-671582076,酒店住宿服务-2773361951
	ServiceType string `json:"service_type,omitempty" xml:"service_type,omitempty"`
	// 星期几不可入住
	UnavailableWeeks string `json:"unavailable_weeks,omitempty" xml:"unavailable_weeks,omitempty"`
	// 亮点3
	Sub3Title string `json:"sub3_title,omitempty" xml:"sub3_title,omitempty"`
	// 店铺卖家ID
	StoreSellerId string `json:"store_seller_id,omitempty" xml:"store_seller_id,omitempty"`
	// 亮点4
	Sub4Title string `json:"sub4_title,omitempty" xml:"sub4_title,omitempty"`
	// 预约时段开始日期,预约时段类型为1时返回
	StartEffectiveDate string `json:"start_effective_date,omitempty" xml:"start_effective_date,omitempty"`
	// 自动下架时间分钟
	DownShelfMin string `json:"down_shelf_min,omitempty" xml:"down_shelf_min,omitempty"`
	// 确认类型,1-即时确认,2-二次确认,日历库存下返回
	ConfirmType string `json:"confirm_type,omitempty" xml:"confirm_type,omitempty"`
	// 无线端宝贝描述
	WlDescription string `json:"wl_description,omitempty" xml:"wl_description,omitempty"`
	// 门店卖家昵称
	StoreSellerNick string `json:"store_seller_nick,omitempty" xml:"store_seller_nick,omitempty"`
	// 早餐描述
	BreakfastDesc string `json:"breakfast_desc,omitempty" xml:"breakfast_desc,omitempty"`
	// PC端宝贝描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 亮点1
	Sub1Title string `json:"sub1_title,omitempty" xml:"sub1_title,omitempty"`
	// 可入住日期开始
	StartAvailableDate string `json:"start_available_date,omitempty" xml:"start_available_date,omitempty"`
	// 费用包含
	FeeExclude string `json:"fee_exclude,omitempty" xml:"fee_exclude,omitempty"`
	// 发票说明
	InvoiceExplain string `json:"invoice_explain,omitempty" xml:"invoice_explain,omitempty"`
	// 分润比例(推广费比例)
	ProfitRate string `json:"profit_rate,omitempty" xml:"profit_rate,omitempty"`
	// 自动下架时间日期
	DownShelfDate string `json:"down_shelf_date,omitempty" xml:"down_shelf_date,omitempty"`
	// 附加费用
	AdditionalPay string `json:"additional_pay,omitempty" xml:"additional_pay,omitempty"`
	// 售卖时间日期,售卖时间类型1返回
	BeginDate string `json:"begin_date,omitempty" xml:"begin_date,omitempty"`
	// 商家编码
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 购买成功后有效天数
	EffectiveDays int64 `json:"effective_days,omitempty" xml:"effective_days,omitempty"`
	// 橱窗推荐:0-不推荐,1-推荐
	PromotedStatus int64 `json:"promoted_status,omitempty" xml:"promoted_status,omitempty"`
	// 类目ID:国内酒店套餐-201189402;国际酒店套餐-201188002;酒店餐饮美食-201214101;酒店服务-201214201;酒店客房优惠券-201214301
	CatId int64 `json:"cat_id,omitempty" xml:"cat_id,omitempty"`
	// 宝贝ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 提前预约天数,数值范围为(0,1,2,3,5,7,15,30),0代表无需设置
	AdvanceDays int64 `json:"advance_days,omitempty" xml:"advance_days,omitempty"`
	// 0-无早餐,1-单份早餐,2-两份早餐,3-三份早餐,4-多份早餐。若为酒店服务或酒店餐饮美食与早餐类型无关类目,此处为-1
	Breakfast int64 `json:"breakfast,omitempty" xml:"breakfast,omitempty"`
	// 支持过期退款比率
	Refund int64 `json:"refund,omitempty" xml:"refund,omitempty"`
	// 第一条sku的间夜
	NightCount int64 `json:"night_count,omitempty" xml:"night_count,omitempty"`
	// 拍下减库存,0-否,1-是
	SubStockAtBuy int64 `json:"sub_stock_at_buy,omitempty" xml:"sub_stock_at_buy,omitempty"`
	// 预约时段类型:1-开始-结束日期,2-购买成功到哪天,3-购买成功多少天内
	EffectiveDateType int64 `json:"effective_date_type,omitempty" xml:"effective_date_type,omitempty"`
	// 售卖时间类型:0-立刻,1-设定时间,2-放入仓库
	BeginType int64 `json:"begin_type,omitempty" xml:"begin_type,omitempty"`
	// 卖家ID
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 是否电子凭证
	Etc int64 `json:"etc,omitempty" xml:"etc,omitempty"`
	// 库存类型,1-普通库存,5-日历库存
	InventoryType int64 `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// 支持过期退款比率
	AutoRefund int64 `json:"auto_refund,omitempty" xml:"auto_refund,omitempty"`
	// 拍卖点,对C卖家有效
	AuctionPoint int64 `json:"auction_point,omitempty" xml:"auction_point,omitempty"`
	// 参与会员打折 0-不参与,1-参与
	OptionPromoted int64 `json:"option_promoted,omitempty" xml:"option_promoted,omitempty"`
	// 酒店客房优惠券类目下的代金券数量
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 若为酒店客房优惠券类目则显示库存,其他类目则显示第一条sku的库存
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 是否有发票 0-没有,1-店铺提供,2-卖家提供
	Invoice int64 `json:"invoice,omitempty" xml:"invoice,omitempty"`
}

TuanItemSellParamVo 结构体

func GetTuanItemSellParamVo added in v1.3.4

func GetTuanItemSellParamVo() *TuanItemSellParamVo

GetTuanItemSellParamVo() 从对象池中获取TuanItemSellParamVo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL