Documentation ¶
Overview ¶
Package tuanhotel 包含酒店团购套餐API相关结构体
Index ¶
- type AlitriptuanhoteladaptstoregetAPIRequest
- func (r AlitriptuanhoteladaptstoregetAPIRequest) GetApiMethodName() string
- func (r AlitriptuanhoteladaptstoregetAPIRequest) GetApiParams(params url.Values)
- func (r AlitriptuanhoteladaptstoregetAPIRequest) GetHidList() []int64
- func (r AlitriptuanhoteladaptstoregetAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r AlitriptuanhotelimageuploadAPIRequest) GetImageInfoList() []ImageInfoVolist
- func (r AlitriptuanhotelimageuploadAPIRequest) GetRawParams() model.Params
- func (r *AlitriptuanhotelimageuploadAPIRequest) SetImageInfoList(_imageInfoList []ImageInfoVolist) error
- type AlitriptuanhotelimageuploadAPIResponse
- type AlitriptuanhotelimageuploadAPIResponseModel
- type AlitriptuanhoteliteminfogetAPIRequest
- func (r AlitriptuanhoteliteminfogetAPIRequest) GetApiMethodName() string
- func (r AlitriptuanhoteliteminfogetAPIRequest) GetApiParams(params url.Values)
- func (r AlitriptuanhoteliteminfogetAPIRequest) GetItemId() int64
- func (r AlitriptuanhoteliteminfogetAPIRequest) GetRawParams() model.Params
- func (r *AlitriptuanhoteliteminfogetAPIRequest) SetItemId(_itemId int64) error
- type AlitriptuanhoteliteminfogetAPIResponse
- type AlitriptuanhoteliteminfogetAPIResponseModel
- type AlitriptuanhotelitemskucalendarupdateAPIRequest
- func (r AlitriptuanhotelitemskucalendarupdateAPIRequest) GetApiMethodName() string
- func (r AlitriptuanhotelitemskucalendarupdateAPIRequest) GetApiParams(params url.Values)
- func (r AlitriptuanhotelitemskucalendarupdateAPIRequest) GetCatId() int64
- func (r AlitriptuanhotelitemskucalendarupdateAPIRequest) GetItemId() int64
- func (r AlitriptuanhotelitemskucalendarupdateAPIRequest) GetItemSkuList() []TopTuanItemSkuVo
- func (r AlitriptuanhotelitemskucalendarupdateAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r AlitriptuanhotelitemskudeleteAPIRequest) GetCatId() int64
- func (r AlitriptuanhotelitemskudeleteAPIRequest) GetItemDeletedSkuIdList() []int64
- func (r AlitriptuanhotelitemskudeleteAPIRequest) GetItemId() int64
- func (r AlitriptuanhotelitemskudeleteAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r AlitriptuanhotelitemskuupdateAPIRequest) GetCatId() int64
- func (r AlitriptuanhotelitemskuupdateAPIRequest) GetItemId() int64
- func (r AlitriptuanhotelitemskuupdateAPIRequest) GetItemSkuList() []TopTuanItemSkuVo
- func (r AlitriptuanhotelitemskuupdateAPIRequest) GetRawParams() model.Params
- 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 ItemInfoListResult
- type RelatedPoiDetailVo
- type RoomTypeVoList
- type ShopCategoryVoList
- type StoreDetailVoList
- type TaobaoxhotelcombooffshelfAPIRequest
- func (r TaobaoxhotelcombooffshelfAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelcombooffshelfAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelcombooffshelfAPIRequest) GetItemId() int64
- func (r TaobaoxhotelcombooffshelfAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelcombooffshelfAPIRequest) SetItemId(_itemId int64) error
- type TaobaoxhotelcombooffshelfAPIResponse
- type TaobaoxhotelcombooffshelfAPIResponseModel
- type TaobaoxhotelcomboreviewAPIRequest
- func (r TaobaoxhotelcomboreviewAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelcomboreviewAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelcomboreviewAPIRequest) GetItemId() int64
- func (r TaobaoxhotelcomboreviewAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelcomboreviewAPIRequest) SetItemId(_itemId int64) error
- type TaobaoxhotelcomboreviewAPIResponse
- type TaobaoxhotelcomboreviewAPIResponseModel
- type TaobaoxhotelcombostatusgetAPIRequest
- func (r TaobaoxhotelcombostatusgetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelcombostatusgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelcombostatusgetAPIRequest) GetCurrentPageNo() int64
- func (r TaobaoxhotelcombostatusgetAPIRequest) GetItemId() int64
- func (r TaobaoxhotelcombostatusgetAPIRequest) GetItemTitle() string
- func (r TaobaoxhotelcombostatusgetAPIRequest) GetPageSize() int64
- func (r TaobaoxhotelcombostatusgetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoxhotelcombostatusgetAPIRequest) SetCurrentPageNo(_currentPageNo int64) error
- func (r *TaobaoxhotelcombostatusgetAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoxhotelcombostatusgetAPIRequest) SetItemTitle(_itemTitle string) error
- func (r *TaobaoxhotelcombostatusgetAPIRequest) SetPageSize(_pageSize int64) error
- type TaobaoxhotelcombostatusgetAPIResponse
- type TaobaoxhotelcombostatusgetAPIResponseModel
- type TopAppointPhoneVo
- type TopItemSkuBaseInfo
- type TopItemSkuBaseInfoList
- type TopRoomTypeVo
- type TopRootShopCategoryVoList
- type TopSkuCalendarInfo
- type TopSkuDailyInfo
- type TopStoreVo
- type TopTuanItemSkuVo
- type TopTuanItemSkuVolist
- type TuanEticketPackageVo
- type TuanItemOnlineManagerVo
- type TuanItemOnlineSkuManagerVo
- 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.3.1
type AlitriptuanhoteladaptstoregetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitriptuanhoteladaptstoregetAPIRequest 酒店团购套餐关联适用门店 API请求 alitrip.tuan.hotel.adapt.store.get
输入shid,返回关联门店详情信息
func NewAlitriptuanhoteladaptstoregetRequest ¶ added in v1.3.1
func NewAlitriptuanhoteladaptstoregetRequest() *AlitriptuanhoteladaptstoregetAPIRequest
NewAlitriptuanhoteladaptstoregetRequest 初始化AlitriptuanhoteladaptstoregetAPIRequest对象
func (AlitriptuanhoteladaptstoregetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriptuanhoteladaptstoregetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriptuanhoteladaptstoregetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriptuanhoteladaptstoregetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriptuanhoteladaptstoregetAPIRequest) GetHidList ¶ added in v1.3.1
func (r AlitriptuanhoteladaptstoregetAPIRequest) GetHidList() []int64
GetHidList HidList Getter
func (AlitriptuanhoteladaptstoregetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriptuanhoteladaptstoregetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitriptuanhoteladaptstoregetAPIRequest) GetShidList ¶ added in v1.3.1
func (r AlitriptuanhoteladaptstoregetAPIRequest) GetShidList() []int64
GetShidList ShidList Getter
func (*AlitriptuanhoteladaptstoregetAPIRequest) SetHidList ¶ added in v1.3.1
func (r *AlitriptuanhoteladaptstoregetAPIRequest) SetHidList(_hidList []int64) error
SetHidList is HidList Setter 物理酒店ID列表,逗号分割。与shid_list二者只能选一
func (*AlitriptuanhoteladaptstoregetAPIRequest) SetShidList ¶ added in v1.3.1
func (r *AlitriptuanhoteladaptstoregetAPIRequest) SetShidList(_shidList []int64) error
SetShidList is ShidList Setter 标准酒店ID列表,逗号分割。与hid_list二者只能选一
type AlitriptuanhoteladaptstoregetAPIResponse ¶ added in v1.3.1
type AlitriptuanhoteladaptstoregetAPIResponse struct { model.CommonResponse AlitriptuanhoteladaptstoregetAPIResponseModel }
AlitriptuanhoteladaptstoregetAPIResponse 酒店团购套餐关联适用门店 API返回值 alitrip.tuan.hotel.adapt.store.get
输入shid,返回关联门店详情信息
type AlitriptuanhoteladaptstoregetAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlitriptuanhotelimageuploadAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitriptuanhotelimageuploadAPIRequest 图片上传接口 API请求 alitrip.tuan.hotel.image.upload
用户调用此接口完成外网图片上传至卖家图片中心,此接口返回图片中心的图片地址
func NewAlitriptuanhotelimageuploadRequest ¶ added in v1.3.1
func NewAlitriptuanhotelimageuploadRequest() *AlitriptuanhotelimageuploadAPIRequest
NewAlitriptuanhotelimageuploadRequest 初始化AlitriptuanhotelimageuploadAPIRequest对象
func (AlitriptuanhotelimageuploadAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriptuanhotelimageuploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriptuanhotelimageuploadAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriptuanhotelimageuploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriptuanhotelimageuploadAPIRequest) GetImageInfoList ¶ added in v1.3.1
func (r AlitriptuanhotelimageuploadAPIRequest) GetImageInfoList() []ImageInfoVolist
GetImageInfoList ImageInfoList Getter
func (AlitriptuanhotelimageuploadAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriptuanhotelimageuploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitriptuanhotelimageuploadAPIRequest) SetImageInfoList ¶ added in v1.3.1
func (r *AlitriptuanhotelimageuploadAPIRequest) SetImageInfoList(_imageInfoList []ImageInfoVolist) error
SetImageInfoList is ImageInfoList Setter 上传图片信息列表,最多一次支持5张图片上传。单张图片大小限制为1M
type AlitriptuanhotelimageuploadAPIResponse ¶ added in v1.3.1
type AlitriptuanhotelimageuploadAPIResponse struct { model.CommonResponse AlitriptuanhotelimageuploadAPIResponseModel }
AlitriptuanhotelimageuploadAPIResponse 图片上传接口 API返回值 alitrip.tuan.hotel.image.upload
用户调用此接口完成外网图片上传至卖家图片中心,此接口返回图片中心的图片地址
type AlitriptuanhotelimageuploadAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlitriptuanhoteliteminfogetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitriptuanhoteliteminfogetAPIRequest 宝贝信息查询接口 API请求 alitrip.tuan.hotel.item.info.get
商家查询发布的宝贝详情信息
func NewAlitriptuanhoteliteminfogetRequest ¶ added in v1.3.1
func NewAlitriptuanhoteliteminfogetRequest() *AlitriptuanhoteliteminfogetAPIRequest
NewAlitriptuanhoteliteminfogetRequest 初始化AlitriptuanhoteliteminfogetAPIRequest对象
func (AlitriptuanhoteliteminfogetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriptuanhoteliteminfogetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriptuanhoteliteminfogetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriptuanhoteliteminfogetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriptuanhoteliteminfogetAPIRequest) GetItemId ¶ added in v1.3.1
func (r AlitriptuanhoteliteminfogetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitriptuanhoteliteminfogetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriptuanhoteliteminfogetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitriptuanhoteliteminfogetAPIRequest) SetItemId ¶ added in v1.3.1
func (r *AlitriptuanhoteliteminfogetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 宝贝ID
type AlitriptuanhoteliteminfogetAPIResponse ¶ added in v1.3.1
type AlitriptuanhoteliteminfogetAPIResponse struct { model.CommonResponse AlitriptuanhoteliteminfogetAPIResponseModel }
AlitriptuanhoteliteminfogetAPIResponse 宝贝信息查询接口 API返回值 alitrip.tuan.hotel.item.info.get
商家查询发布的宝贝详情信息
type AlitriptuanhoteliteminfogetAPIResponseModel ¶ added in v1.3.1
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_volist,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.3.1
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 ¶ added in v1.3.1
func NewAlitriptuanhotelitemskucalendarupdateRequest() *AlitriptuanhotelitemskucalendarupdateAPIRequest
NewAlitriptuanhotelitemskucalendarupdateRequest 初始化AlitriptuanhotelitemskucalendarupdateAPIRequest对象
func (AlitriptuanhotelitemskucalendarupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriptuanhotelitemskucalendarupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriptuanhotelitemskucalendarupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriptuanhotelitemskucalendarupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriptuanhotelitemskucalendarupdateAPIRequest) GetCatId ¶ added in v1.3.1
func (r AlitriptuanhotelitemskucalendarupdateAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (AlitriptuanhotelitemskucalendarupdateAPIRequest) GetItemId ¶ added in v1.3.1
func (r AlitriptuanhotelitemskucalendarupdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitriptuanhotelitemskucalendarupdateAPIRequest) GetItemSkuList ¶ added in v1.3.1
func (r AlitriptuanhotelitemskucalendarupdateAPIRequest) GetItemSkuList() []TopTuanItemSkuVo
GetItemSkuList ItemSkuList Getter
func (AlitriptuanhotelitemskucalendarupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriptuanhotelitemskucalendarupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitriptuanhotelitemskucalendarupdateAPIRequest) SetCatId ¶ added in v1.3.1
func (r *AlitriptuanhotelitemskucalendarupdateAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 宝贝所属类目
func (*AlitriptuanhotelitemskucalendarupdateAPIRequest) SetItemId ¶ added in v1.3.1
func (r *AlitriptuanhotelitemskucalendarupdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 宝贝ID
func (*AlitriptuanhotelitemskucalendarupdateAPIRequest) SetItemSkuList ¶ added in v1.3.1
func (r *AlitriptuanhotelitemskucalendarupdateAPIRequest) SetItemSkuList(_itemSkuList []TopTuanItemSkuVo) error
SetItemSkuList is ItemSkuList Setter 暂不支持此接口对SKU的部分属性进行更新,包括以下属性: 套餐名称、价格、原价、库存、间夜、商家编码、人数、使用次数等
type AlitriptuanhotelitemskucalendarupdateAPIResponse ¶ added in v1.3.1
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.3.1
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.3.1
type AlitriptuanhotelitemskudeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitriptuanhotelitemskudeleteAPIRequest 酒店团购套餐商品SKU删除 API请求 alitrip.tuan.hotel.item.sku.delete
商户对发布的宝贝套餐价格库存信息进行删除
func NewAlitriptuanhotelitemskudeleteRequest ¶ added in v1.3.1
func NewAlitriptuanhotelitemskudeleteRequest() *AlitriptuanhotelitemskudeleteAPIRequest
NewAlitriptuanhotelitemskudeleteRequest 初始化AlitriptuanhotelitemskudeleteAPIRequest对象
func (AlitriptuanhotelitemskudeleteAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriptuanhotelitemskudeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriptuanhotelitemskudeleteAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriptuanhotelitemskudeleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriptuanhotelitemskudeleteAPIRequest) GetCatId ¶ added in v1.3.1
func (r AlitriptuanhotelitemskudeleteAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (AlitriptuanhotelitemskudeleteAPIRequest) GetItemDeletedSkuIdList ¶ added in v1.3.1
func (r AlitriptuanhotelitemskudeleteAPIRequest) GetItemDeletedSkuIdList() []int64
GetItemDeletedSkuIdList ItemDeletedSkuIdList Getter
func (AlitriptuanhotelitemskudeleteAPIRequest) GetItemId ¶ added in v1.3.1
func (r AlitriptuanhotelitemskudeleteAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitriptuanhotelitemskudeleteAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriptuanhotelitemskudeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitriptuanhotelitemskudeleteAPIRequest) SetCatId ¶ added in v1.3.1
func (r *AlitriptuanhotelitemskudeleteAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 宝贝所属类目
func (*AlitriptuanhotelitemskudeleteAPIRequest) SetItemDeletedSkuIdList ¶ added in v1.3.1
func (r *AlitriptuanhotelitemskudeleteAPIRequest) SetItemDeletedSkuIdList(_itemDeletedSkuIdList []int64) error
SetItemDeletedSkuIdList is ItemDeletedSkuIdList Setter 要删除的skuId列表
func (*AlitriptuanhotelitemskudeleteAPIRequest) SetItemId ¶ added in v1.3.1
func (r *AlitriptuanhotelitemskudeleteAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 宝贝ID
type AlitriptuanhotelitemskudeleteAPIResponse ¶ added in v1.3.1
type AlitriptuanhotelitemskudeleteAPIResponse struct { model.CommonResponse AlitriptuanhotelitemskudeleteAPIResponseModel }
AlitriptuanhotelitemskudeleteAPIResponse 酒店团购套餐商品SKU删除 API返回值 alitrip.tuan.hotel.item.sku.delete
商户对发布的宝贝套餐价格库存信息进行删除
type AlitriptuanhotelitemskudeleteAPIResponseModel ¶ added in v1.3.1
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.3.1
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 ¶ added in v1.3.1
func NewAlitriptuanhotelitemskuupdateRequest() *AlitriptuanhotelitemskuupdateAPIRequest
NewAlitriptuanhotelitemskuupdateRequest 初始化AlitriptuanhotelitemskuupdateAPIRequest对象
func (AlitriptuanhotelitemskuupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriptuanhotelitemskuupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriptuanhotelitemskuupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriptuanhotelitemskuupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriptuanhotelitemskuupdateAPIRequest) GetCatId ¶ added in v1.3.1
func (r AlitriptuanhotelitemskuupdateAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (AlitriptuanhotelitemskuupdateAPIRequest) GetItemId ¶ added in v1.3.1
func (r AlitriptuanhotelitemskuupdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitriptuanhotelitemskuupdateAPIRequest) GetItemSkuList ¶ added in v1.3.1
func (r AlitriptuanhotelitemskuupdateAPIRequest) GetItemSkuList() []TopTuanItemSkuVo
GetItemSkuList ItemSkuList Getter
func (AlitriptuanhotelitemskuupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriptuanhotelitemskuupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitriptuanhotelitemskuupdateAPIRequest) SetCatId ¶ added in v1.3.1
func (r *AlitriptuanhotelitemskuupdateAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 宝贝所属类目
func (*AlitriptuanhotelitemskuupdateAPIRequest) SetItemId ¶ added in v1.3.1
func (r *AlitriptuanhotelitemskuupdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 宝贝ID
func (*AlitriptuanhotelitemskuupdateAPIRequest) SetItemSkuList ¶ added in v1.3.1
func (r *AlitriptuanhotelitemskuupdateAPIRequest) SetItemSkuList(_itemSkuList []TopTuanItemSkuVo) error
SetItemSkuList is ItemSkuList Setter 关于sku(价格策略)的字段填写的说明 国内酒店套餐类目(日历库存必填选项:套餐名称、原价、间夜;普通库存必填选项:套餐名称、价格、原价、库存、间夜)。 国际酒店套餐类目(日历库存必填选型:套餐名称、原价、间夜、人数;普通库存必填选项:套餐名称、价格、原件、库存、间夜、人数)。 酒店餐饮美食类目(日历库存必填选项:套餐名称、原价、人数、次数;普通库存必填选项:套餐名称、价格、原价、库存、人数,次数)。 酒店服务类目(日历库存必填选项:套餐名称、原价、使用次数;普通库存必填选项:套餐名称、价格、原价、库存、使用次数)。 酒店客房优惠券类目(无sku(价格策略)选项,不填写)。
type AlitriptuanhotelitemskuupdateAPIResponse ¶ added in v1.3.1
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.3.1
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.3.1
AlitriptuanhotelshopcategorygetAPIRequest 商家店铺类目查询 API请求 alitrip.tuan.hotel.shop.category.get
查询商家店铺类目信息
func NewAlitriptuanhotelshopcategorygetRequest ¶ added in v1.3.1
func NewAlitriptuanhotelshopcategorygetRequest() *AlitriptuanhotelshopcategorygetAPIRequest
NewAlitriptuanhotelshopcategorygetRequest 初始化AlitriptuanhotelshopcategorygetAPIRequest对象
func (AlitriptuanhotelshopcategorygetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitriptuanhotelshopcategorygetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitriptuanhotelshopcategorygetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitriptuanhotelshopcategorygetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitriptuanhotelshopcategorygetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitriptuanhotelshopcategorygetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
type AlitriptuanhotelshopcategorygetAPIResponse ¶ added in v1.3.1
type AlitriptuanhotelshopcategorygetAPIResponse struct { model.CommonResponse AlitriptuanhotelshopcategorygetAPIResponseModel }
AlitriptuanhotelshopcategorygetAPIResponse 商家店铺类目查询 API返回值 alitrip.tuan.hotel.shop.category.get
查询商家店铺类目信息
type AlitriptuanhotelshopcategorygetAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 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 结构体
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 TaobaoxhotelcombooffshelfAPIRequest ¶ added in v1.3.1
type TaobaoxhotelcombooffshelfAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelcombooffshelfAPIRequest 酒店套餐下架 API请求 taobao.xhotel.combo.offshelf
酒店套餐下架
func NewTaobaoxhotelcombooffshelfRequest ¶ added in v1.3.1
func NewTaobaoxhotelcombooffshelfRequest() *TaobaoxhotelcombooffshelfAPIRequest
NewTaobaoxhotelcombooffshelfRequest 初始化TaobaoxhotelcombooffshelfAPIRequest对象
func (TaobaoxhotelcombooffshelfAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelcombooffshelfAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelcombooffshelfAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelcombooffshelfAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelcombooffshelfAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaoxhotelcombooffshelfAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoxhotelcombooffshelfAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelcombooffshelfAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelcombooffshelfAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaoxhotelcombooffshelfAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 宝贝id
type TaobaoxhotelcombooffshelfAPIResponse ¶ added in v1.3.1
type TaobaoxhotelcombooffshelfAPIResponse struct { model.CommonResponse TaobaoxhotelcombooffshelfAPIResponseModel }
TaobaoxhotelcombooffshelfAPIResponse 酒店套餐下架 API返回值 taobao.xhotel.combo.offshelf
酒店套餐下架
type TaobaoxhotelcombooffshelfAPIResponseModel ¶ added in v1.3.1
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 酒店套餐下架 成功返回结果
type TaobaoxhotelcomboreviewAPIRequest ¶ added in v1.3.1
type TaobaoxhotelcomboreviewAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelcomboreviewAPIRequest 套餐审核接口 API请求 taobao.xhotel.combo.review
套餐审核接口
func NewTaobaoxhotelcomboreviewRequest ¶ added in v1.3.1
func NewTaobaoxhotelcomboreviewRequest() *TaobaoxhotelcomboreviewAPIRequest
NewTaobaoxhotelcomboreviewRequest 初始化TaobaoxhotelcomboreviewAPIRequest对象
func (TaobaoxhotelcomboreviewAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelcomboreviewAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelcomboreviewAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelcomboreviewAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelcomboreviewAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaoxhotelcomboreviewAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoxhotelcomboreviewAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelcomboreviewAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelcomboreviewAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaoxhotelcomboreviewAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 宝贝id
type TaobaoxhotelcomboreviewAPIResponse ¶ added in v1.3.1
type TaobaoxhotelcomboreviewAPIResponse struct { model.CommonResponse TaobaoxhotelcomboreviewAPIResponseModel }
TaobaoxhotelcomboreviewAPIResponse 套餐审核接口 API返回值 taobao.xhotel.combo.review
套餐审核接口
type TaobaoxhotelcomboreviewAPIResponseModel ¶ added in v1.3.1
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 套餐审核接口 成功返回结果
type TaobaoxhotelcombostatusgetAPIRequest ¶ added in v1.3.1
type TaobaoxhotelcombostatusgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelcombostatusgetAPIRequest 酒店宝贝状态查询 API请求 taobao.xhotel.combo.status.get
酒店宝贝状态查询
func NewTaobaoxhotelcombostatusgetRequest ¶ added in v1.3.1
func NewTaobaoxhotelcombostatusgetRequest() *TaobaoxhotelcombostatusgetAPIRequest
NewTaobaoxhotelcombostatusgetRequest 初始化TaobaoxhotelcombostatusgetAPIRequest对象
func (TaobaoxhotelcombostatusgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelcombostatusgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelcombostatusgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelcombostatusgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelcombostatusgetAPIRequest) GetCurrentPageNo ¶ added in v1.3.1
func (r TaobaoxhotelcombostatusgetAPIRequest) GetCurrentPageNo() int64
GetCurrentPageNo CurrentPageNo Getter
func (TaobaoxhotelcombostatusgetAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaoxhotelcombostatusgetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoxhotelcombostatusgetAPIRequest) GetItemTitle ¶ added in v1.3.1
func (r TaobaoxhotelcombostatusgetAPIRequest) GetItemTitle() string
GetItemTitle ItemTitle Getter
func (TaobaoxhotelcombostatusgetAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaoxhotelcombostatusgetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoxhotelcombostatusgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelcombostatusgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoxhotelcombostatusgetAPIRequest) SetCurrentPageNo ¶ added in v1.3.1
func (r *TaobaoxhotelcombostatusgetAPIRequest) SetCurrentPageNo(_currentPageNo int64) error
SetCurrentPageNo is CurrentPageNo Setter 当前页
func (*TaobaoxhotelcombostatusgetAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaoxhotelcombostatusgetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 宝贝id
func (*TaobaoxhotelcombostatusgetAPIRequest) SetItemTitle ¶ added in v1.3.1
func (r *TaobaoxhotelcombostatusgetAPIRequest) SetItemTitle(_itemTitle string) error
SetItemTitle is ItemTitle Setter 宝贝名称
func (*TaobaoxhotelcombostatusgetAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaoxhotelcombostatusgetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小
type TaobaoxhotelcombostatusgetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelcombostatusgetAPIResponse struct { model.CommonResponse TaobaoxhotelcombostatusgetAPIResponseModel }
TaobaoxhotelcombostatusgetAPIResponse 酒店宝贝状态查询 API返回值 taobao.xhotel.combo.status.get
酒店宝贝状态查询
type TaobaoxhotelcombostatusgetAPIResponseModel ¶ added in v1.3.1
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 酒店宝贝状态查询 成功返回结果
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 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 TopTuanItemSkuVolist ¶ added in v1.3.1
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 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 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 结构体
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 结构体
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
- ItemInfoListResult.go
- RelatedPoiDetailVo.go
- RoomTypeVoList.go
- ShopCategoryVoList.go
- StoreDetailVoList.go
- TaobaoXhotelComboOffshelfAPIRequest.go
- TaobaoXhotelComboOffshelfAPIResponse.go
- TaobaoXhotelComboReviewAPIRequest.go
- TaobaoXhotelComboReviewAPIResponse.go
- TaobaoXhotelComboStatusGetAPIRequest.go
- TaobaoXhotelComboStatusGetAPIResponse.go
- TopAppointPhoneVo.go
- TopItemSkuBaseInfo.go
- TopItemSkuBaseInfoList.go
- TopRoomTypeVo.go
- TopRootShopCategoryVoList.go
- TopSkuCalendarInfo.go
- TopSkuDailyInfo.go
- TopStoreVo.go
- TopTuanItemSkuVOList.go
- TopTuanItemSkuVo.go
- TuanEticketPackageVo.go
- TuanItemOnlineManagerVo.go
- TuanItemOnlineSkuManagerVo.go
- TuanItemRelateGiftVo.go
- TuanItemSellParamVo.go
- doc.go