order

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 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 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(类目信息)
}

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