Documentation ¶
Overview ¶
Package tuanhotel 包含酒店团购套餐API相关结构体
Index ¶
- type AlitripTuanHotelAdaptStoreGetAPIRequest
- func (r AlitripTuanHotelAdaptStoreGetAPIRequest) GetApiMethodName() string
- func (r AlitripTuanHotelAdaptStoreGetAPIRequest) GetApiParams() url.Values
- func (r AlitripTuanHotelAdaptStoreGetAPIRequest) GetHidList() []int64
- func (r AlitripTuanHotelAdaptStoreGetAPIRequest) GetShidList() []int64
- func (r *AlitripTuanHotelAdaptStoreGetAPIRequest) SetHidList(_hidList []int64) error
- func (r *AlitripTuanHotelAdaptStoreGetAPIRequest) SetShidList(_shidList []int64) error
- type AlitripTuanHotelAdaptStoreGetAPIResponse
- type AlitripTuanHotelAdaptStoreGetAPIResponseModel
- type AlitripTuanHotelImageUploadAPIRequest
- func (r AlitripTuanHotelImageUploadAPIRequest) GetApiMethodName() string
- func (r AlitripTuanHotelImageUploadAPIRequest) GetApiParams() url.Values
- func (r AlitripTuanHotelImageUploadAPIRequest) GetImageInfoList() []ImageInfoVOList
- func (r *AlitripTuanHotelImageUploadAPIRequest) SetImageInfoList(_imageInfoList []ImageInfoVOList) error
- type AlitripTuanHotelImageUploadAPIResponse
- type AlitripTuanHotelImageUploadAPIResponseModel
- type AlitripTuanHotelItemInfoGetAPIRequest
- type AlitripTuanHotelItemInfoGetAPIResponse
- type AlitripTuanHotelItemInfoGetAPIResponseModel
- type AlitripTuanHotelItemSkuCalendarUpdateAPIRequest
- func (r AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetApiMethodName() string
- func (r AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetApiParams() url.Values
- func (r AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetCatId() int64
- func (r AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetItemId() int64
- func (r AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetItemSkuList() []TopTuanItemSkuVo
- func (r *AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) SetCatId(_catId int64) error
- func (r *AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) SetItemId(_itemId int64) error
- func (r *AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) SetItemSkuList(_itemSkuList []TopTuanItemSkuVo) error
- type AlitripTuanHotelItemSkuCalendarUpdateAPIResponse
- type AlitripTuanHotelItemSkuCalendarUpdateAPIResponseModel
- type AlitripTuanHotelItemSkuDeleteAPIRequest
- func (r AlitripTuanHotelItemSkuDeleteAPIRequest) GetApiMethodName() string
- func (r AlitripTuanHotelItemSkuDeleteAPIRequest) GetApiParams() url.Values
- func (r AlitripTuanHotelItemSkuDeleteAPIRequest) GetCatId() int64
- func (r AlitripTuanHotelItemSkuDeleteAPIRequest) GetItemDeletedSkuIdList() []int64
- func (r AlitripTuanHotelItemSkuDeleteAPIRequest) GetItemId() int64
- func (r *AlitripTuanHotelItemSkuDeleteAPIRequest) SetCatId(_catId int64) error
- func (r *AlitripTuanHotelItemSkuDeleteAPIRequest) SetItemDeletedSkuIdList(_itemDeletedSkuIdList []int64) error
- func (r *AlitripTuanHotelItemSkuDeleteAPIRequest) SetItemId(_itemId int64) error
- type AlitripTuanHotelItemSkuDeleteAPIResponse
- type AlitripTuanHotelItemSkuDeleteAPIResponseModel
- type AlitripTuanHotelItemSkuUpdateAPIRequest
- func (r AlitripTuanHotelItemSkuUpdateAPIRequest) GetApiMethodName() string
- func (r AlitripTuanHotelItemSkuUpdateAPIRequest) GetApiParams() url.Values
- func (r AlitripTuanHotelItemSkuUpdateAPIRequest) GetCatId() int64
- func (r AlitripTuanHotelItemSkuUpdateAPIRequest) GetItemId() int64
- func (r AlitripTuanHotelItemSkuUpdateAPIRequest) GetItemSkuList() []TopTuanItemSkuVo
- func (r *AlitripTuanHotelItemSkuUpdateAPIRequest) SetCatId(_catId int64) error
- func (r *AlitripTuanHotelItemSkuUpdateAPIRequest) SetItemId(_itemId int64) error
- func (r *AlitripTuanHotelItemSkuUpdateAPIRequest) SetItemSkuList(_itemSkuList []TopTuanItemSkuVo) error
- type AlitripTuanHotelItemSkuUpdateAPIResponse
- type AlitripTuanHotelItemSkuUpdateAPIResponseModel
- type AlitripTuanHotelShopCategoryGetAPIRequest
- type AlitripTuanHotelShopCategoryGetAPIResponse
- type AlitripTuanHotelShopCategoryGetAPIResponseModel
- type AppointPhoneVoList
- type ImageInfoVOList
- type ImagePathResultVoList
- type RelatedPoiDetailVo
- type RoomTypeVoList
- type ShopCategoryVoList
- type StoreDetailVoList
- type TopAppointPhoneVo
- type TopItemSkuBaseInfo
- type TopItemSkuBaseInfoList
- type TopRoomTypeVo
- type TopRootShopCategoryVoList
- type TopSkuCalendarInfo
- type TopSkuDailyInfo
- type TopStoreVo
- type TopTuanItemSkuVOList
- type TopTuanItemSkuVo
- type TuanEticketPackageVo
- type TuanItemRelateGiftVo
- type TuanItemSellParamVo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTuanHotelAdaptStoreGetAPIRequest) GetHidList ¶ added in v1.2.0
func (r AlitripTuanHotelAdaptStoreGetAPIRequest) GetHidList() []int64
GetHidList HidList Getter
func (AlitripTuanHotelAdaptStoreGetAPIRequest) GetShidList ¶ added in v1.2.0
func (r AlitripTuanHotelAdaptStoreGetAPIRequest) GetShidList() []int64
GetShidList ShidList Getter
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,返回关联门店详情信息
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 酒店团购套餐关联适用门店 成功返回结果
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 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTuanHotelImageUploadAPIRequest) GetImageInfoList ¶ added in v1.2.0
func (r AlitripTuanHotelImageUploadAPIRequest) GetImageInfoList() []ImageInfoVOList
GetImageInfoList ImageInfoList Getter
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
用户调用此接口完成外网图片上传至卖家图片中心,此接口返回图片中心的图片地址
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 图片上传接口 成功返回结果
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 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTuanHotelItemInfoGetAPIRequest) GetItemId ¶ added in v1.2.0
func (r AlitripTuanHotelItemInfoGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
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
商家查询发布的宝贝详情信息
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 宝贝信息查询接口 成功返回结果
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 NewAlitripTuanHotelItemSkuCalendarUpdateRequest ¶
func NewAlitripTuanHotelItemSkuCalendarUpdateRequest() *AlitripTuanHotelItemSkuCalendarUpdateAPIRequest
NewAlitripTuanHotelItemSkuCalendarUpdateRequest 初始化AlitripTuanHotelItemSkuCalendarUpdateAPIRequest对象
func (AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetCatId ¶ added in v1.2.0
func (r AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetItemId ¶ added in v1.2.0
func (r AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetItemSkuList ¶ added in v1.2.0
func (r AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) GetItemSkuList() []TopTuanItemSkuVo
GetItemSkuList ItemSkuList Getter
func (*AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) SetCatId ¶ added in v1.2.0
func (r *AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 宝贝所属类目
func (*AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) SetItemId ¶ added in v1.2.0
func (r *AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 宝贝ID
func (*AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) SetItemSkuList ¶ added in v1.2.0
func (r *AlitripTuanHotelItemSkuCalendarUpdateAPIRequest) SetItemSkuList(_itemSkuList []TopTuanItemSkuVo) error
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功能,对于日历库存若传递日期信息,参数中若包含某一日期的价格和库存,则对此日期的数据进行覆盖更新,若不传递则保留此日期的价格库存信息。
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更新接口 成功返回结果
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 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTuanHotelItemSkuDeleteAPIRequest) GetCatId ¶ added in v1.2.0
func (r AlitripTuanHotelItemSkuDeleteAPIRequest) GetCatId() int64
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
func (r AlitripTuanHotelItemSkuDeleteAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (*AlitripTuanHotelItemSkuDeleteAPIRequest) SetCatId ¶ added in v1.2.0
func (r *AlitripTuanHotelItemSkuDeleteAPIRequest) SetCatId(_catId int64) error
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
商户对发布的宝贝套餐价格库存信息进行删除
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删除 成功返回结果
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 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTuanHotelItemSkuUpdateAPIRequest) GetCatId ¶ added in v1.2.0
func (r AlitripTuanHotelItemSkuUpdateAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (AlitripTuanHotelItemSkuUpdateAPIRequest) GetItemId ¶ added in v1.2.0
func (r AlitripTuanHotelItemSkuUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripTuanHotelItemSkuUpdateAPIRequest) GetItemSkuList ¶ added in v1.2.0
func (r AlitripTuanHotelItemSkuUpdateAPIRequest) GetItemSkuList() []TopTuanItemSkuVo
GetItemSkuList ItemSkuList Getter
func (*AlitripTuanHotelItemSkuUpdateAPIRequest) SetCatId ¶ added in v1.2.0
func (r *AlitripTuanHotelItemSkuUpdateAPIRequest) SetCatId(_catId int64) error
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
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更新和新增 成功返回结果
type AlitripTuanHotelShopCategoryGetAPIRequest ¶ added in v1.2.0
AlitripTuanHotelShopCategoryGetAPIRequest 商家店铺类目查询 API请求 alitrip.tuan.hotel.shop.category.get
查询商家店铺类目信息
func NewAlitripTuanHotelShopCategoryGetRequest ¶
func NewAlitripTuanHotelShopCategoryGetRequest() *AlitripTuanHotelShopCategoryGetAPIRequest
NewAlitripTuanHotelShopCategoryGetRequest 初始化AlitripTuanHotelShopCategoryGetAPIRequest对象
func (AlitripTuanHotelShopCategoryGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripTuanHotelShopCategoryGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTuanHotelShopCategoryGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripTuanHotelShopCategoryGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
type AlitripTuanHotelShopCategoryGetAPIResponse ¶
type AlitripTuanHotelShopCategoryGetAPIResponse struct { model.CommonResponse AlitripTuanHotelShopCategoryGetAPIResponseModel }
AlitripTuanHotelShopCategoryGetAPIResponse 商家店铺类目查询 API返回值 alitrip.tuan.hotel.shop.category.get
查询商家店铺类目信息
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 商家店铺类目查询 成功返回结果
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
Source Files ¶
- AlitripTuanHotelAdaptStoreGetAPIRequest.go
- AlitripTuanHotelAdaptStoreGetAPIResponse.go
- AlitripTuanHotelImageUploadAPIRequest.go
- AlitripTuanHotelImageUploadAPIResponse.go
- AlitripTuanHotelItemInfoGetAPIRequest.go
- AlitripTuanHotelItemInfoGetAPIResponse.go
- AlitripTuanHotelItemSkuCalendarUpdateAPIRequest.go
- AlitripTuanHotelItemSkuCalendarUpdateAPIResponse.go
- AlitripTuanHotelItemSkuDeleteAPIRequest.go
- AlitripTuanHotelItemSkuDeleteAPIResponse.go
- AlitripTuanHotelItemSkuUpdateAPIRequest.go
- AlitripTuanHotelItemSkuUpdateAPIResponse.go
- AlitripTuanHotelShopCategoryGetAPIRequest.go
- AlitripTuanHotelShopCategoryGetAPIResponse.go
- AppointPhoneVoList.go
- ImageInfoVOList.go
- ImagePathResultVoList.go
- RelatedPoiDetailVo.go
- RoomTypeVoList.go
- ShopCategoryVoList.go
- StoreDetailVoList.go
- TopAppointPhoneVo.go
- TopItemSkuBaseInfo.go
- TopItemSkuBaseInfoList.go
- TopRoomTypeVo.go
- TopRootShopCategoryVoList.go
- TopSkuCalendarInfo.go
- TopSkuDailyInfo.go
- TopStoreVo.go
- TopTuanItemSkuVOList.go
- TopTuanItemSkuVo.go
- TuanEticketPackageVo.go
- TuanItemRelateGiftVo.go
- TuanItemSellParamVo.go
- doc.go