You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
using BBWYB.Common.Http;
|
|
|
|
using QuanTan.SDK.Model;
|
|
|
|
using QuanTan.SDK.Models.Supplier;
|
|
|
|
|
|
|
|
namespace QuanTan.SDK.Client.Supplier
|
|
|
|
{
|
|
|
|
public class QuanTan_Supplier_OrderClient : BaseClient
|
|
|
|
{
|
|
|
|
public QuanTan_Supplier_OrderClient(RestApiService restApiService) : base(restApiService)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public QuanTanResponse<QuanTan_Supplier_QueryOrderListResponse> GetOrderList(QuanTan_Supplier_QueryOrderReuqest request, string appId, string appSecret)
|
|
|
|
{
|
|
|
|
return SendRequest<QuanTan_Supplier_QueryOrderListResponse>("api/platform/supply/order/list", request, appId, appSecret);
|
|
|
|
}
|
|
|
|
|
|
|
|
public QuanTanResponse<object> OutStock(QuanTan_Supplier_OutStockRequest request, string appId, string appSecret)
|
|
|
|
{
|
|
|
|
return SendRequest<object>("api/platform/supply/order/delivery", request, appId, appSecret);
|
|
|
|
}
|
|
|
|
|
|
|
|
public QuanTanResponse<object> CancelOrder(QuanTan_Supplier_CancelOrderRequest request, string appId, string appSecret)
|
|
|
|
{
|
|
|
|
return SendRequest<object>("api/platform/supply/order/cancel", request, appId, appSecret);
|
|
|
|
}
|
|
|
|
|
|
|
|
public QuanTanResponse<QuanTan_Supplier_EditPriceResponse> EditPrice(QuanTan_Supplier_EditPriceRequest request, string appId, string appSecret)
|
|
|
|
{
|
|
|
|
return SendRequest<QuanTan_Supplier_EditPriceResponse>("api/platform/supply/order/edit/price", request, appId, appSecret);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|