suningnetallianceorderget

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetOrder

type GetOrder struct {
	OrderInfo []OrderInfo `json:"orderInfo"`
	OrderCode string      `json:"orderCode"`
}

type OrderInfo

type OrderInfo struct {
	GoodsGroupCatalog         string `json:"goodsGroupCatalog"`
	OrderType                 string `json:"orderType"`
	SellName                  string `json:"sellName"`
	PayTime                   string `json:"payTime"`
	ProductThirdCatalog       string `json:"productThirdCatalog"`
	ProductSecondCatalog      string `json:"productSecondCatalog"`
	SaleNum                   string `json:"saleNum"`
	OrderLineStatusDesc       string `json:"orderLineStatusDesc"`
	ProductName               string `json:"productName"`
	OrderLineFlag             string `json:"orderLineFlag"`
	CommissionRatio           string `json:"commissionRatio"`
	SellerCode                string `json:"sellerCode"`
	PayAmount                 string `json:"payAmount"`
	PrePayCommission          string `json:"prePayCommission"`
	OrderLineOrigin           string `json:"orderLineOrigin"`
	OrderSubmitTime           string `json:"orderSubmitTime"`
	ProductFirstCatalog       string `json:"productFirstCatalog"`
	OrderLineNumber           string `json:"orderLineNumber"`
	GoodsNum                  string `json:"goodsNum"`
	OrderLineStatusChangeTime string `json:"orderLineStatusChangeTime"`
	Promotion                 int64  `json:"promotion"`
	ChildAccountID            string `json:"childAccountId"`
}

type Response

type Response struct {
	response2.TopResponse
	SnResponseContent SnResponseContent `json:"sn_responseContent"`
}

suning.netalliance.order.get 网盟订单信息单独查询

func (*Response) WrapResult

func (t *Response) WrapResult(result string)

解析输出结果

type SnBody

type SnBody struct {
	GetOrder GetOrder `json:"getOrder"`
}

type SnError

type SnError struct {
	ErrorMsg  string `json:"error_msg"`
	ErrorCode string `json:"error_code"`
}

type SnResponseContent

type SnResponseContent struct {
	SnBody  SnBody   `json:"sn_body"`
	SnError *SnError `json:"sn_error"`
}

Jump to

Keyboard shortcuts

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