order

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrderBonusQueryReq added in v1.0.5

type OrderBonusQueryReq struct {
	// OptType 时间类型(1.下单时间拉取、2.更新时间拉取)
	OptType int `json:"optType,omitempty"`
	// StartTime 订单开始时间,时间戳(毫秒),与endTime间隔不超过10分钟
	StartTime int64 `json:"startTime,omitempty"`
	// EndTime 订单结束时间,时间戳(毫秒),与startTime间隔不超过10分钟
	EndTime int64 `json:"endTime,omitempty"`
	// PageNo 页码,默认值为1
	PageNo int `json:"pageNo,omitempty"`
	// PageSize 每页数量,上限100
	PageSize int `json:"pageSize,omitempty"`
	// SortValue 与pageNo、pageSize组合使用。获取当前页最后一条记录的sortValue,下一页请求传入该值
	SortValue string `json:"sortValue,omitempty"`
	// ActivityID 奖励活动ID
	ActivityID uint64 `json:"activityId,omitempty"`
}

type OrderReq

type OrderReq struct {
	PageNo       uint   `json:"pageNo"`
	PageSize     uint   `json:"pageSize"`
	Type         uint   `json:"type"`
	Time         string `json:"time"`
	ChildUnionId string `json:"childUnionId,omitempty"`
	Key          string `json:"key,omitempty"`
}

type OrderRowReq

type OrderRowReq struct {
	PageIndex    uint   `json:"pageIndex"`
	PageSize     uint   `json:"pageSize"`               // 每页包含条数,上限为500
	Type         uint   `json:"type"`                   // 订单时间查询类型(1:下单时间,2:完成时间(购买用户确认收货时间),3:更新时间
	StartTime    string `json:"startTime"`              // 开始时间 格式yyyy-MM-dd HH:mm:ss,与endTime间隔不超过1小时
	EndTime      string `json:"endTime"`                // 结束时间 格式yyyy-MM-dd HH:mm:ss,与startTime间隔不超过1小时
	ChildUnionId string `json:"childUnionId,omitempty"` // 子推客unionID,传入该值可查询子推客的订单,注意不可和key同时传入。(需联系运营开通PID权限才能拿到数据)
	Key          string `json:"key,omitempty"`          // 工具商传入推客的授权key,可帮助该推客查询订单,注意不可和childUnionid同时传入。(需联系运营开通工具商权限才能拿到数据)
	Fields       string `json:"fields,omitempty"`       // 支持出参数据筛选,逗号','分隔,目前可用:goodsInfo(商品信息),categoryInfo(类目信息)
	OrderId      uint64 `json:"orderId,omitempty"`      // 订单号,当orderId不为空时,其他参数非必填
}

type UnionOrderBonusQueryRequest added in v1.0.5

type UnionOrderBonusQueryRequest struct {
	Request *sdk.Request
}

func NewUnionOrderBonusQueryRequest added in v1.0.5

func NewUnionOrderBonusQueryRequest() (req *UnionOrderBonusQueryRequest)

create new request

func (*UnionOrderBonusQueryRequest) GetOrderReq added in v1.0.5

func (req *UnionOrderBonusQueryRequest) GetOrderReq() *OrderBonusQueryReq

func (*UnionOrderBonusQueryRequest) SetOrderReq added in v1.0.5

func (req *UnionOrderBonusQueryRequest) SetOrderReq(orderReq *OrderBonusQueryReq)

type UnionOrderQueryRequest

type UnionOrderQueryRequest struct {
	Request *sdk.Request
}

func NewUnionOrderQueryRequest

func NewUnionOrderQueryRequest() (req *UnionOrderQueryRequest)

create new request

func (*UnionOrderQueryRequest) GetOrderReq

func (req *UnionOrderQueryRequest) GetOrderReq() *OrderReq

func (*UnionOrderQueryRequest) SetOrderReq

func (req *UnionOrderQueryRequest) SetOrderReq(orderReq *OrderReq)

type UnionOrderQueryRowRequest

type UnionOrderQueryRowRequest struct {
	Request *sdk.Request
}

func NewUnionOrderQueryRowRequest

func NewUnionOrderQueryRowRequest() (req *UnionOrderQueryRowRequest)

create new request

func (*UnionOrderQueryRowRequest) GetOrderRowReq

func (req *UnionOrderQueryRowRequest) GetOrderRowReq() *OrderRowReq

func (*UnionOrderQueryRowRequest) SetOrderRowReq

func (req *UnionOrderQueryRowRequest) SetOrderRowReq(orderRowReq *OrderRowReq)

Jump to

Keyboard shortcuts

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