request

package
v3.4.27 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrderKey

type OrderKey struct {
	OrderNumberType int8   `json:"order_number_type"`
	TransactionID   string `json:"transaction_id"`
	MchID           string `json:"mchid,omitempty"`
	OutTradeNo      string `json:"out_trade_no,omitempty"`
}

type PayTimeRange

type PayTimeRange struct {
	BeginTime int `json:"begin_time,omitempty"`
	EndTime   int `json:"end_time,omitempty"`
}

type RequestGetOrder

type RequestGetOrder struct {
	TransactionID   string `json:"transaction_id,omitempty"`
	MerchantID      string `json:"merchant_id,omitempty"`
	SubMerchantID   string `json:"sub_merchant_id,omitempty"`
	MerchantTradeNo string `json:"merchant_trade_no,omitempty"`
}

type RequestGetOrderList

type RequestGetOrderList struct {
	PayTimeRange *PayTimeRange `json:"pay_time_range,omitempty"`
	OrderState   int8          `json:"order_state,omitempty"`
	OpenID       string        `json:"openid,omitempty"`
	LastIndex    string        `json:"last_index,omitempty"`
	PageSize     int           `json:"page_size,omitempty"`
}

type RequestIsTradeManaged

type RequestIsTradeManaged struct {
	AppID string `json:"appid"`
}

type RequestIsTradeManagementConfirmationCompleted

type RequestIsTradeManagementConfirmationCompleted struct {
	AppID string `json:"appid"`
}

type RequestNotifyConfirmReceive

type RequestNotifyConfirmReceive struct {
	TransactionID   string `json:"transaction_id,omitempty"`
	MerchantID      string `json:"merchant_id,omitempty"`
	SubMerchantID   string `json:"sub_merchant_id,omitempty"`
	MerchantTradeNo string `json:"merchant_trade_no,omitempty"`
	ReceivedTime    int    `json:"received_time,omitempty"`
}

type RequestOpSpecialOrder

type RequestOpSpecialOrder struct {
	OrderID string `json:"order_id"`
	Types   int8   `json:"type"`
	DelayTo int    `json:"delay_to,omitempty"`
}

type RequestSetMsgJumpPath

type RequestSetMsgJumpPath struct {
	Path string `json:"path"`
}

type RequestUploadCombinedShippingInfo

type RequestUploadCombinedShippingInfo struct {
	OrderKey   OrderKey   `json:"order_key"`
	SubOrders  []SubOrder `json:"sub_orders"`
	UploadTime string     `json:"upload_time"`
	Payer      struct {
		OpenID string `json:"openid"`
	}
}

type RequestUploadShippingInfo

type RequestUploadShippingInfo struct {
	OrderKey       OrderKey       `json:"order_key"`
	LogisticsType  int8           `json:"logistics_type"`
	DeliveryMode   int8           `json:"delivery_mode"`
	IsAllDelivered bool           `json:"is_all_delivered,omitempty"`
	ShippingList   []ShippingList `json:"shipping_list"`
	UploadTime     string         `json:"upload_time"`
	Payer          struct {
		OpenID string `json:"openid"`
	} `json:"payer"`
}

type ShippingList

type ShippingList struct {
	TrackingNo     string `json:"tracking_no"`
	ExpressCompany string `json:"express_company"`
	ItemDesc       string `json:"item_desc"`
	Contact        struct {
		ConsignorContact string `json:"consignor_contact,omitempty"`
		ReceiverContact  string `json:"receiver_contact,omitempty"`
	} `json:"contact"`
}

type SubOrder

type SubOrder struct {
	OrderKey       OrderKey       `json:"order_key"`
	LogisticsType  int8           `json:"logistics_type"`
	DeliveryMode   int8           `json:"delivery_mode"`
	IsAllDelivered bool           `json:"is_all_delivered"`
	ShippingList   []ShippingList `json:"shipping_list"`
}

Jump to

Keyboard shortcuts

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