Documentation ¶
Index ¶
- type OrderLogisticsAddParam
- type OrderLogisticsAddRequest
- func (c *OrderLogisticsAddRequest) Execute(accessToken *doudian_sdk.AccessToken) (*order_logisticsAdd_response.OrderLogisticsAddResponse, error)
- func (c *OrderLogisticsAddRequest) GetParamObject() interface{}
- func (c *OrderLogisticsAddRequest) GetParams() *OrderLogisticsAddParam
- func (c *OrderLogisticsAddRequest) GetUrlPath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderLogisticsAddParam ¶
type OrderLogisticsAddParam struct { // 订单ID OrderId string `json:"order_id"` // 【已废弃】物流公司ID。请使用company_code字段。 LogisticsId int64 `json:"logistics_id"` // 物流公司名称 Company string `json:"company"` // (必填)物流公司code,可从/order/logisticsCompanyList接口获取。 CompanyCode string `json:"company_code"` // (必填)快递单号 LogisticsCode string `json:"logistics_code"` // 是否拒绝退款申请(true表示拒绝退款,并继续发货;不传或为false表示有退款需要处理,拒绝发货),is_refund_reject和is_reject_refund随机使用一个即可 IsRefundReject bool `json:"is_refund_reject"` // 是否拒绝退款申请(true表示拒绝退款,并继续发货;不传或为false表示有退款需要处理,拒绝发货),is_refund_reject和is_reject_refund随机使用一个即可 IsRejectRefund bool `json:"is_reject_refund"` // 商品序列号,15-17位数字 SerialNumberList []string `json:"serial_number_list"` // 发货地址ID,通过地址库列表【/address/list】接口查询 AddressId int64 `json:"address_id"` // 门店ID;抖超小时达店铺需要填写; StoreId int64 `json:"store_id"` // 退货地址ID,通过地址库列表【/address/list】接口查询 AfterSaleAddressId int64 `json:"after_sale_address_id"` }
type OrderLogisticsAddRequest ¶
type OrderLogisticsAddRequest struct { doudian_sdk.BaseDoudianOpApiRequest Param *OrderLogisticsAddParam }
func New ¶
func New() *OrderLogisticsAddRequest
func (*OrderLogisticsAddRequest) Execute ¶
func (c *OrderLogisticsAddRequest) Execute(accessToken *doudian_sdk.AccessToken) (*order_logisticsAdd_response.OrderLogisticsAddResponse, error)
func (*OrderLogisticsAddRequest) GetParamObject ¶
func (c *OrderLogisticsAddRequest) GetParamObject() interface{}
func (*OrderLogisticsAddRequest) GetParams ¶
func (c *OrderLogisticsAddRequest) GetParams() *OrderLogisticsAddParam
func (*OrderLogisticsAddRequest) GetUrlPath ¶
func (c *OrderLogisticsAddRequest) GetUrlPath() string
Click to show internal directories.
Click to hide internal directories.