Documentation ¶
Index ¶
- type OrderLogisticsAddSinglePackParam
- type OrderLogisticsAddSinglePackRequest
- func (c *OrderLogisticsAddSinglePackRequest) Execute(accessToken *doudian_sdk.AccessToken) (*order_logisticsAddSinglePack_response.OrderLogisticsAddSinglePackResponse, ...)
- func (c *OrderLogisticsAddSinglePackRequest) GetParamObject() interface{}
- func (c *OrderLogisticsAddSinglePackRequest) GetParams() *OrderLogisticsAddSinglePackParam
- func (c *OrderLogisticsAddSinglePackRequest) GetUrlPath() string
- type OrderSerialNumberItem
- type ShippedOrderInfoItem
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 New ¶
func New() *OrderLogisticsAddSinglePackRequest
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 (c *OrderLogisticsAddSinglePackRequest) GetParams() *OrderLogisticsAddSinglePackParam
func (*OrderLogisticsAddSinglePackRequest) GetUrlPath ¶
func (c *OrderLogisticsAddSinglePackRequest) GetUrlPath() string
type OrderSerialNumberItem ¶
type ShippedOrderInfoItem ¶
Click to show internal directories.
Click to hide internal directories.