order_merge_request

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MergeListItem

type MergeListItem struct {
	// 店铺订单id,不可重复。不支持售后单
	OrderId string `json:"order_id"`
	// 收件人唯一id,订单列表、订单详情及售后详情API会返回,长度256以内
	OpenAddressId string `json:"open_address_id"`
}

type OrderMergeParam

type OrderMergeParam struct {
	// 合并需求列表,最少支持2个,最多支持100个。order_id和open_address_id必须一一对应,不可传错
	MergeList []MergeListItem `json:"merge_list"`
}

type OrderMergeRequest

type OrderMergeRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *OrderMergeParam
}

func New

func New() *OrderMergeRequest

func (*OrderMergeRequest) Execute

func (c *OrderMergeRequest) Execute(accessToken *doudian_sdk.AccessToken) (*order_merge_response.OrderMergeResponse, error)

func (*OrderMergeRequest) GetParamObject

func (c *OrderMergeRequest) GetParamObject() interface{}

func (*OrderMergeRequest) GetParams

func (c *OrderMergeRequest) GetParams() *OrderMergeParam

func (*OrderMergeRequest) GetUrlPath

func (c *OrderMergeRequest) GetUrlPath() string

Jump to

Keyboard shortcuts

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