public VendorWebClient.BusinessEntity.InventoryLevel CheckInventory(string partNumber) { VendorWebClient.BusinessEntity.CheckInventoryRequest inValue = new VendorWebClient.BusinessEntity.CheckInventoryRequest(); inValue.Body = new VendorWebClient.BusinessEntity.CheckInventoryRequestBody(); inValue.Body.partNumber = partNumber; VendorWebClient.BusinessEntity.CheckInventoryResponse retVal = ((VendorWebClient.BusinessEntity.InventoryServiceSoap)(this)).CheckInventory(inValue); return(retVal.Body.CheckInventoryResult); }
public VendorWebClient.BusinessEntity.InventoryLevel EndCheckInventory(System.IAsyncResult result) { VendorWebClient.BusinessEntity.CheckInventoryResponse retVal = ((VendorWebClient.BusinessEntity.InventoryServiceSoap)(this)).EndCheckInventory(result); return(retVal.Body.CheckInventoryResult); }