Documentation ¶
Index ¶
- type PromiseSetSkuShipTimeParam
- type PromiseSetSkuShipTimeRequest
- func (c *PromiseSetSkuShipTimeRequest) Execute(accessToken *doudian_sdk.AccessToken) (*promise_setSkuShipTime_response.PromiseSetSkuShipTimeResponse, error)
- func (c *PromiseSetSkuShipTimeRequest) GetParamObject() interface{}
- func (c *PromiseSetSkuShipTimeRequest) GetParams() *PromiseSetSkuShipTimeParam
- func (c *PromiseSetSkuShipTimeRequest) GetUrlPath() string
- type RulesItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PromiseSetSkuShipTimeParam ¶
type PromiseSetSkuShipTimeParam struct { // sku发货时效规则 Rules []RulesItem `json:"rules"` }
type PromiseSetSkuShipTimeRequest ¶
type PromiseSetSkuShipTimeRequest struct { doudian_sdk.BaseDoudianOpApiRequest Param *PromiseSetSkuShipTimeParam }
func New ¶
func New() *PromiseSetSkuShipTimeRequest
func (*PromiseSetSkuShipTimeRequest) Execute ¶
func (c *PromiseSetSkuShipTimeRequest) Execute(accessToken *doudian_sdk.AccessToken) (*promise_setSkuShipTime_response.PromiseSetSkuShipTimeResponse, error)
func (*PromiseSetSkuShipTimeRequest) GetParamObject ¶
func (c *PromiseSetSkuShipTimeRequest) GetParamObject() interface{}
func (*PromiseSetSkuShipTimeRequest) GetParams ¶
func (c *PromiseSetSkuShipTimeRequest) GetParams() *PromiseSetSkuShipTimeParam
func (*PromiseSetSkuShipTimeRequest) GetUrlPath ¶
func (c *PromiseSetSkuShipTimeRequest) GetUrlPath() string
type RulesItem ¶
type RulesItem struct { // skuid SkuId string `json:"sku_id"` // 外部仓库id OutWarehouseId string `json:"out_warehouse_id"` // 0表示现货模式,1表示全款预售模式 PreSellType int16 `json:"pre_sell_type"` // 发货延迟时间:0表示当天发货,1表示24小时发货;当全款预售时,需传入值为(2,15),即2-15中的任意值 DelayDay int16 `json:"delay_day"` // 全款预售截止时间,和PreSellType=1时组合使用 PreSellEndTime int64 `json:"pre_sell_end_time"` }
Click to show internal directories.
Click to hide internal directories.