C# Class Senparc.Weixin.MP.AdvancedAPIs.MerChant.StockApi

微小店库存接口
Mostra file Open project: JeffreySu/WeiXinMPSDK

Public Methods

Method Description
AddStock ( string accessToken, AddStockData addStockData ) : WxJsonResult

增加库存

AddStockAsync ( string accessToken, AddStockData addStockData ) : Task

【异步方法】增加库存

ReduceStock ( string accessToken, ReduceStockData reduceStockData ) : WxJsonResult

减少库存

ReduceStockAsync ( string accessToken, ReduceStockData reduceStockData ) : Task

【异步方法】减少库存

Method Details

AddStock() public static method

增加库存
public static AddStock ( string accessToken, AddStockData addStockData ) : WxJsonResult
accessToken string
addStockData AddStockData 增加库存需要Post的数据
return Senparc.Weixin.Entities.WxJsonResult

AddStockAsync() public static method

【异步方法】增加库存
public static AddStockAsync ( string accessToken, AddStockData addStockData ) : Task
accessToken string
addStockData AddStockData 增加库存需要Post的数据
return Task

ReduceStock() public static method

减少库存
public static ReduceStock ( string accessToken, ReduceStockData reduceStockData ) : WxJsonResult
accessToken string
reduceStockData ReduceStockData 减少库存需要Post的数据
return Senparc.Weixin.Entities.WxJsonResult

ReduceStockAsync() public static method

【异步方法】减少库存
public static ReduceStockAsync ( string accessToken, ReduceStockData reduceStockData ) : Task
accessToken string
reduceStockData ReduceStockData 减少库存需要Post的数据
return Task