Documentation ¶
Index ¶
- type CreateFullCouponParam
- type CreateFullCouponParamBusiPlatform
- type CreateFullCouponParamMember
- type CreateFullCouponParamOrderModes
- type CreateFullCouponParamOrderModesCouponInfo
- type CreateFullCouponRequest
- type FullCouponGetFlowPromoInfoRequest
- type FullCouponGetLastDataRequest
- func (req *FullCouponGetLastDataRequest) GetAppKey() string
- func (req *FullCouponGetLastDataRequest) GetDate() string
- func (req *FullCouponGetLastDataRequest) GetPromoId() uint64
- func (req *FullCouponGetLastDataRequest) GetShopId() uint64
- func (req *FullCouponGetLastDataRequest) SetAppKey(appKey string)
- func (req *FullCouponGetLastDataRequest) SetDate(date string)
- func (req *FullCouponGetLastDataRequest) SetPromoId(promoId uint64)
- func (req *FullCouponGetLastDataRequest) SetShopId(shopId uint64)
- type FullCouponGetPromoDetailInfoRequest
- type FullCouponGetPromoListInfoRequest
- func (req *FullCouponGetPromoListInfoRequest) GetAppKey() string
- func (req *FullCouponGetPromoListInfoRequest) GetEndTime() string
- func (req *FullCouponGetPromoListInfoRequest) GetEvtName() string
- func (req *FullCouponGetPromoListInfoRequest) GetEvtStatus() int
- func (req *FullCouponGetPromoListInfoRequest) GetPageIndex() int
- func (req *FullCouponGetPromoListInfoRequest) GetPageSize() int
- func (req *FullCouponGetPromoListInfoRequest) GetPromoId() uint64
- func (req *FullCouponGetPromoListInfoRequest) GetSkuId() uint64
- func (req *FullCouponGetPromoListInfoRequest) GetStartTime() string
- func (req *FullCouponGetPromoListInfoRequest) GetWareId() uint64
- func (req *FullCouponGetPromoListInfoRequest) SetAppKey(appKey string)
- func (req *FullCouponGetPromoListInfoRequest) SetEndTime(endTime string)
- func (req *FullCouponGetPromoListInfoRequest) SetEvtName(evtName string)
- func (req *FullCouponGetPromoListInfoRequest) SetEvtStatus(evtStatus int)
- func (req *FullCouponGetPromoListInfoRequest) SetPageIndex(pageIndex int)
- func (req *FullCouponGetPromoListInfoRequest) SetPageSize(pageSize int)
- func (req *FullCouponGetPromoListInfoRequest) SetPromoId(promoId uint64)
- func (req *FullCouponGetPromoListInfoRequest) SetSkuId(skuId uint64)
- func (req *FullCouponGetPromoListInfoRequest) SetStartTime(startTime string)
- func (req *FullCouponGetPromoListInfoRequest) SetWareId(wareId uint64)
- type FullCouponGetPromoSkusRequest
- func (req *FullCouponGetPromoSkusRequest) GetAppKey() string
- func (req *FullCouponGetPromoSkusRequest) GetPromoId() uint64
- func (req *FullCouponGetPromoSkusRequest) GetWareId() uint64
- func (req *FullCouponGetPromoSkusRequest) SetAppKey(appKey string)
- func (req *FullCouponGetPromoSkusRequest) SetPromoId(promoId uint64)
- func (req *FullCouponGetPromoSkusRequest) SetWareId(wareId uint64)
- type FullCouponGetPromoWaresRequest
- func (req *FullCouponGetPromoWaresRequest) GetAppKey() string
- func (req *FullCouponGetPromoWaresRequest) GetPageIndex() uint
- func (req *FullCouponGetPromoWaresRequest) GetPromoId() uint64
- func (req *FullCouponGetPromoWaresRequest) SetAppKey(appKey string)
- func (req *FullCouponGetPromoWaresRequest) SetPageIndex(pageIndex uint)
- func (req *FullCouponGetPromoWaresRequest) SetPromoId(promoId uint64)
- type FullCouponGetTrendDataRequest
- func (req *FullCouponGetTrendDataRequest) GetAppKey() string
- func (req *FullCouponGetTrendDataRequest) GetEndDate() string
- func (req *FullCouponGetTrendDataRequest) GetPromoId() uint64
- func (req *FullCouponGetTrendDataRequest) GetShopId() uint64
- func (req *FullCouponGetTrendDataRequest) GetStartDate() string
- func (req *FullCouponGetTrendDataRequest) SetAppKey(appKey string)
- func (req *FullCouponGetTrendDataRequest) SetEndDate(endDate string)
- func (req *FullCouponGetTrendDataRequest) SetPromoId(promoId uint64)
- func (req *FullCouponGetTrendDataRequest) SetShopId(shopId uint64)
- func (req *FullCouponGetTrendDataRequest) SetStartDate(startDate string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateFullCouponParam ¶
type CreateFullCouponParam struct { AppKey string `json:"appKey"` // ISV渠道Key Name string `json:"name"` // 促销名称 StartTime string `json:"startTime"` // 开始时间 EndTime string `json:"endTime"` // 结束时间 Link string `json:"link,omitempty"` // 推广链接 SkuIds []uint64 `json:"skuIds"` // 主商品ID列表 BusiCode string `json:"busiCode,omitempty"` // busiCode BusiPlatform *CreateFullCouponParamBusiPlatform `json:"busiPlatform,omitempty"` // 推广平台 Member *CreateFullCouponParamMember `json:"member,omitempty"` // 会员模型 1-普通会员 2-PLUS 3-PLUS+普通 6-企业会员 30-品牌会员 31-店铺粉丝 OrderModes []CreateFullCouponParamOrderModes `json:"orderModes"` // 促销规则信息 }
type CreateFullCouponParamBusiPlatform ¶
type CreateFullCouponParamBusiPlatform struct { SelectType int `json:"selectType"` // 一级推广平台的选择方式:0全部1限选(非全部渠道) ChannelList []int `json:"channelList,omitempty"` // 一级推广平台,对应的code值:可传多个渠道 ChannelSelectType int `json:"channelSelectType"` // 二级推广平台选择方式:0全部 1限选,目前只有限选1 Platform []string `json:"platform,omitempty"` // 推广平台:细分平台的code值 }
type CreateFullCouponParamOrderModes ¶
type CreateFullCouponParamOrderModes struct { Quota uint `json:"quota"` CouponInfo *CreateFullCouponParamOrderModesCouponInfo `json:"couponInfo"` }
type CreateFullCouponParamOrderModesCouponInfo ¶
type CreateFullCouponParamOrderModesCouponInfo struct { Quota uint `json:"quota"` // 满减额度 Discount uint `json:"discount"` // 减免金额 ValidateDays uint `json:"validateDays,omitempty"` // 有效天数 CouponType int `json:"couponType"` // 0-商品券 1-店铺券 OrderDoneTime string `json:"orderDoneTime"` // 完成订单时间 LimitFirstOrder int `json:"limitFirstOrder"` // 是否首单返券 1-是 2-否 OrderDayLimit uint `json:"orderDayLimit"` // 订单完成多少天内有效 ValidityType int `json:"validityType"` // 有效期类型,必传,传5为绝对时间类型,传1为相对时间类型,兼容目前不传时则默认赋值为1相对时间类型 ValidBeginTime string `json:"validBeginTime,omitempty"` // 券开始时间 ValidEndTime string `json:"validEndTime,omitempty"` // 券结束时间 StoreNum uint `json:"storeNum"` // 库存数量 }
type CreateFullCouponRequest ¶
func NewCreateFullCouponRequest ¶
func NewCreateFullCouponRequest() (req *CreateFullCouponRequest)
create new request
func (*CreateFullCouponRequest) GetParam ¶
func (req *CreateFullCouponRequest) GetParam() *CreateFullCouponParam
func (*CreateFullCouponRequest) SetParam ¶
func (req *CreateFullCouponRequest) SetParam(param *CreateFullCouponParam)
type FullCouponGetFlowPromoInfoRequest ¶
func NewFullCouponGetFlowPromoInfoRequest ¶
func NewFullCouponGetFlowPromoInfoRequest() (req *FullCouponGetFlowPromoInfoRequest)
create new request
func (*FullCouponGetFlowPromoInfoRequest) GetAppKey ¶
func (req *FullCouponGetFlowPromoInfoRequest) GetAppKey() string
func (*FullCouponGetFlowPromoInfoRequest) GetPromoId ¶
func (req *FullCouponGetFlowPromoInfoRequest) GetPromoId() uint64
func (*FullCouponGetFlowPromoInfoRequest) SetAppKey ¶
func (req *FullCouponGetFlowPromoInfoRequest) SetAppKey(appKey string)
func (*FullCouponGetFlowPromoInfoRequest) SetPromoId ¶
func (req *FullCouponGetFlowPromoInfoRequest) SetPromoId(promoId uint64)
type FullCouponGetLastDataRequest ¶
func NewFullCouponGetLastDataRequest ¶
func NewFullCouponGetLastDataRequest() (req *FullCouponGetLastDataRequest)
create new request
func (*FullCouponGetLastDataRequest) GetAppKey ¶
func (req *FullCouponGetLastDataRequest) GetAppKey() string
func (*FullCouponGetLastDataRequest) GetDate ¶
func (req *FullCouponGetLastDataRequest) GetDate() string
func (*FullCouponGetLastDataRequest) GetPromoId ¶
func (req *FullCouponGetLastDataRequest) GetPromoId() uint64
func (*FullCouponGetLastDataRequest) GetShopId ¶
func (req *FullCouponGetLastDataRequest) GetShopId() uint64
func (*FullCouponGetLastDataRequest) SetAppKey ¶
func (req *FullCouponGetLastDataRequest) SetAppKey(appKey string)
func (*FullCouponGetLastDataRequest) SetDate ¶
func (req *FullCouponGetLastDataRequest) SetDate(date string)
func (*FullCouponGetLastDataRequest) SetPromoId ¶
func (req *FullCouponGetLastDataRequest) SetPromoId(promoId uint64)
func (*FullCouponGetLastDataRequest) SetShopId ¶
func (req *FullCouponGetLastDataRequest) SetShopId(shopId uint64)
type FullCouponGetPromoDetailInfoRequest ¶
func NewFullCouponGetPromoDetailInfoRequest ¶
func NewFullCouponGetPromoDetailInfoRequest() (req *FullCouponGetPromoDetailInfoRequest)
create new request
func (*FullCouponGetPromoDetailInfoRequest) GetAppKey ¶
func (req *FullCouponGetPromoDetailInfoRequest) GetAppKey() string
func (*FullCouponGetPromoDetailInfoRequest) GetPromoId ¶
func (req *FullCouponGetPromoDetailInfoRequest) GetPromoId() uint64
func (*FullCouponGetPromoDetailInfoRequest) SetAppKey ¶
func (req *FullCouponGetPromoDetailInfoRequest) SetAppKey(appKey string)
func (*FullCouponGetPromoDetailInfoRequest) SetPromoId ¶
func (req *FullCouponGetPromoDetailInfoRequest) SetPromoId(promoId uint64)
type FullCouponGetPromoListInfoRequest ¶
func NewFullCouponGetPromoListInfoRequest ¶
func NewFullCouponGetPromoListInfoRequest() (req *FullCouponGetPromoListInfoRequest)
create new request
func (*FullCouponGetPromoListInfoRequest) GetAppKey ¶
func (req *FullCouponGetPromoListInfoRequest) GetAppKey() string
func (*FullCouponGetPromoListInfoRequest) GetEndTime ¶
func (req *FullCouponGetPromoListInfoRequest) GetEndTime() string
func (*FullCouponGetPromoListInfoRequest) GetEvtName ¶
func (req *FullCouponGetPromoListInfoRequest) GetEvtName() string
func (*FullCouponGetPromoListInfoRequest) GetEvtStatus ¶
func (req *FullCouponGetPromoListInfoRequest) GetEvtStatus() int
func (*FullCouponGetPromoListInfoRequest) GetPageIndex ¶
func (req *FullCouponGetPromoListInfoRequest) GetPageIndex() int
func (*FullCouponGetPromoListInfoRequest) GetPageSize ¶
func (req *FullCouponGetPromoListInfoRequest) GetPageSize() int
func (*FullCouponGetPromoListInfoRequest) GetPromoId ¶
func (req *FullCouponGetPromoListInfoRequest) GetPromoId() uint64
func (*FullCouponGetPromoListInfoRequest) GetSkuId ¶
func (req *FullCouponGetPromoListInfoRequest) GetSkuId() uint64
func (*FullCouponGetPromoListInfoRequest) GetStartTime ¶
func (req *FullCouponGetPromoListInfoRequest) GetStartTime() string
func (*FullCouponGetPromoListInfoRequest) GetWareId ¶
func (req *FullCouponGetPromoListInfoRequest) GetWareId() uint64
func (*FullCouponGetPromoListInfoRequest) SetAppKey ¶
func (req *FullCouponGetPromoListInfoRequest) SetAppKey(appKey string)
func (*FullCouponGetPromoListInfoRequest) SetEndTime ¶
func (req *FullCouponGetPromoListInfoRequest) SetEndTime(endTime string)
func (*FullCouponGetPromoListInfoRequest) SetEvtName ¶
func (req *FullCouponGetPromoListInfoRequest) SetEvtName(evtName string)
func (*FullCouponGetPromoListInfoRequest) SetEvtStatus ¶
func (req *FullCouponGetPromoListInfoRequest) SetEvtStatus(evtStatus int)
func (*FullCouponGetPromoListInfoRequest) SetPageIndex ¶
func (req *FullCouponGetPromoListInfoRequest) SetPageIndex(pageIndex int)
func (*FullCouponGetPromoListInfoRequest) SetPageSize ¶
func (req *FullCouponGetPromoListInfoRequest) SetPageSize(pageSize int)
func (*FullCouponGetPromoListInfoRequest) SetPromoId ¶
func (req *FullCouponGetPromoListInfoRequest) SetPromoId(promoId uint64)
func (*FullCouponGetPromoListInfoRequest) SetSkuId ¶
func (req *FullCouponGetPromoListInfoRequest) SetSkuId(skuId uint64)
func (*FullCouponGetPromoListInfoRequest) SetStartTime ¶
func (req *FullCouponGetPromoListInfoRequest) SetStartTime(startTime string)
func (*FullCouponGetPromoListInfoRequest) SetWareId ¶
func (req *FullCouponGetPromoListInfoRequest) SetWareId(wareId uint64)
type FullCouponGetPromoSkusRequest ¶
func NewFullCouponGetPromoSkusRequest ¶
func NewFullCouponGetPromoSkusRequest() (req *FullCouponGetPromoSkusRequest)
create new request
func (*FullCouponGetPromoSkusRequest) GetAppKey ¶
func (req *FullCouponGetPromoSkusRequest) GetAppKey() string
func (*FullCouponGetPromoSkusRequest) GetPromoId ¶
func (req *FullCouponGetPromoSkusRequest) GetPromoId() uint64
func (*FullCouponGetPromoSkusRequest) GetWareId ¶
func (req *FullCouponGetPromoSkusRequest) GetWareId() uint64
func (*FullCouponGetPromoSkusRequest) SetAppKey ¶
func (req *FullCouponGetPromoSkusRequest) SetAppKey(appKey string)
func (*FullCouponGetPromoSkusRequest) SetPromoId ¶
func (req *FullCouponGetPromoSkusRequest) SetPromoId(promoId uint64)
func (*FullCouponGetPromoSkusRequest) SetWareId ¶
func (req *FullCouponGetPromoSkusRequest) SetWareId(wareId uint64)
type FullCouponGetPromoWaresRequest ¶
func NewFullCouponGetPromoWaresRequest ¶
func NewFullCouponGetPromoWaresRequest() (req *FullCouponGetPromoWaresRequest)
create new request
func (*FullCouponGetPromoWaresRequest) GetAppKey ¶
func (req *FullCouponGetPromoWaresRequest) GetAppKey() string
func (*FullCouponGetPromoWaresRequest) GetPageIndex ¶
func (req *FullCouponGetPromoWaresRequest) GetPageIndex() uint
func (*FullCouponGetPromoWaresRequest) GetPromoId ¶
func (req *FullCouponGetPromoWaresRequest) GetPromoId() uint64
func (*FullCouponGetPromoWaresRequest) SetAppKey ¶
func (req *FullCouponGetPromoWaresRequest) SetAppKey(appKey string)
func (*FullCouponGetPromoWaresRequest) SetPageIndex ¶
func (req *FullCouponGetPromoWaresRequest) SetPageIndex(pageIndex uint)
func (*FullCouponGetPromoWaresRequest) SetPromoId ¶
func (req *FullCouponGetPromoWaresRequest) SetPromoId(promoId uint64)
type FullCouponGetTrendDataRequest ¶
func NewFullCouponGetTrendDataRequest ¶
func NewFullCouponGetTrendDataRequest() (req *FullCouponGetTrendDataRequest)
create new request
func (*FullCouponGetTrendDataRequest) GetAppKey ¶
func (req *FullCouponGetTrendDataRequest) GetAppKey() string
func (*FullCouponGetTrendDataRequest) GetEndDate ¶
func (req *FullCouponGetTrendDataRequest) GetEndDate() string
func (*FullCouponGetTrendDataRequest) GetPromoId ¶
func (req *FullCouponGetTrendDataRequest) GetPromoId() uint64
func (*FullCouponGetTrendDataRequest) GetShopId ¶
func (req *FullCouponGetTrendDataRequest) GetShopId() uint64
func (*FullCouponGetTrendDataRequest) GetStartDate ¶
func (req *FullCouponGetTrendDataRequest) GetStartDate() string
func (*FullCouponGetTrendDataRequest) SetAppKey ¶
func (req *FullCouponGetTrendDataRequest) SetAppKey(appKey string)
func (*FullCouponGetTrendDataRequest) SetEndDate ¶
func (req *FullCouponGetTrendDataRequest) SetEndDate(endDate string)
func (*FullCouponGetTrendDataRequest) SetPromoId ¶
func (req *FullCouponGetTrendDataRequest) SetPromoId(promoId uint64)
func (*FullCouponGetTrendDataRequest) SetShopId ¶
func (req *FullCouponGetTrendDataRequest) SetShopId(shopId uint64)
func (*FullCouponGetTrendDataRequest) SetStartDate ¶
func (req *FullCouponGetTrendDataRequest) SetStartDate(startDate string)
Click to show internal directories.
Click to hide internal directories.