order_logisticsAddSinglePack_request

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: MulanPSL-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 OrderLogisticsAddSinglePackParam

type OrderLogisticsAddSinglePackParam struct {
	// 父订单ID列表
	OrderIdList []string `json:"order_id_list"`
	// 需要发货的子订单信息
	ShippedOrderInfo []ShippedOrderInfoItem `json:"shipped_order_info"`
	// 运单号
	LogisticsCode string `json:"logistics_code"`
	// 物流公司名字
	Company string `json:"company"`
	// 请求唯一标识,相同request_id多次请求,第一次请求成功后,后续的请求会触发幂等,会直接返回第一次请求成功的结果,不会实际触发发货。
	RequestId string `json:"request_id"`
	// 是否拒绝退款申请(true表示拒绝退款,并继续发货;不传或为false表示有退款需要处理,拒绝发货),is_refund_reject和is_reject_refund随机使用一个即可
	IsRejectRefund bool `json:"is_reject_refund"`
	// 已废弃。物流公司ID。请使用company_code字段。
	LogisticsId string `json:"logistics_id"`
	// 物流公司Code,由接口/order/logisticsCompanyLis查询物流公司列表获得,必填
	CompanyCode string `json:"company_code"`
	// 发货地址id
	AddressId string `json:"address_id"`
	// 是否拒绝退款申请(true表示拒绝退款,并继续发货;不传或为false表示有退款需要处理,拒绝发货),is_refund_reject和is_reject_refund随机使用一个即可
	IsRefundReject bool `json:"is_refund_reject"`
	// 订单序列号
	OrderSerialNumber []OrderSerialNumberItem `json:"order_serial_number"`
	// 门店ID
	StoreId int64 `json:"store_id"`
	// 退货地址ID,通过地址库列表【/address/list】接口查询
	AfterSaleAddressId int64 `json:"after_sale_address_id"`
}

type OrderLogisticsAddSinglePackRequest

type OrderLogisticsAddSinglePackRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *OrderLogisticsAddSinglePackParam
}

func (*OrderLogisticsAddSinglePackRequest) Execute

func (c *OrderLogisticsAddSinglePackRequest) Execute(accessToken *doudian_sdk.AccessToken) (*order_logisticsAddSinglePack_response.OrderLogisticsAddSinglePackResponse, error)

func (*OrderLogisticsAddSinglePackRequest) GetParamObject

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

func (*OrderLogisticsAddSinglePackRequest) GetParams

func (*OrderLogisticsAddSinglePackRequest) GetUrlPath

type OrderSerialNumberItem

type OrderSerialNumberItem struct {
	// 父订单号
	OrderId string `json:"order_id"`
	// 商品序列号,单个序列号长度不能超过30位字符,其中手机序列号仅支持填写15~17位数字
	SerialNumberList []string `json:"serial_number_list"`
}

type ShippedOrderInfoItem

type ShippedOrderInfoItem struct {
	// 需要发货的子订单号
	ShippedOrderId string `json:"shipped_order_id"`
	// 上述子订单的待发货数
	ShippedNum int64 `json:"shipped_num"`
	// 已废弃
	ShippedItemIds []string `json:"shipped_item_ids"`
}

Jump to

Keyboard shortcuts

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