This commit is contained in:
Zeeshaun
2026-04-20 14:47:24 -05:00
parent 89057eceea
commit 8b3ea92501
485 changed files with 71042 additions and 0 deletions
@@ -0,0 +1,113 @@
using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using LCU.Shared.Collections.RepoApiLib.WebServices.AutoIMS;
namespace LCU.API.Collections.RepoApi.MockServices
{
// Excluded from code coverage because this service is a mock.
[ExcludeFromCodeCoverage]
public class MockAutoImsWebService : IAutoImsWebService
{
public async Task<WebServiceResponse> AddAuctionNote(string vin, string customerNumber, string note, string writer)
{
return await Task.FromResult(new WebServiceResponse()
{
Status = new WebServiceResponseStatus()
{
Code = 1,
Description = "Auction note added"
}
});
}
public string GetCollateralImage(string conditionReporUrl)
{
return "";
}
public async Task<WebServiceResponse> PlaceHold(string VIN, int holdCode, DateTime holdUntil)
{
return await Task.FromResult(new WebServiceResponse()
{
Status = new WebServiceResponseStatus()
{
Code = 1,
Description = "Vehicle placed on hold"
}
});
}
public async Task<WebServiceResponse> PostVehicleAsync<T>(T vehicle)
{
return await Task.FromResult(new WebServiceResponse()
{
Status = new WebServiceResponseStatus()
{
Code = 1,
Description = "Vehicle posted to auction"
}
});
}
public async Task<WebServiceResponse> Redeem(string VIN)
{
return await Task.FromResult(new WebServiceResponse()
{
Status = new WebServiceResponseStatus()
{
Code = 1,
Description = "Vehicle set to redeemed"
}
});
}
public async Task<WebServiceResponse> RemoveAuction(string VIN, string customerNumber)
{
return await Task.FromResult(new WebServiceResponse()
{
Status = new WebServiceResponseStatus()
{
Code = 1,
Description = "Auction removed"
}
});
}
public async Task<WebServiceResponse> RemoveFromAuction(string vin, string clientStockNumber)
{
return await Task.FromResult(new WebServiceResponse()
{
Status = new WebServiceResponseStatus()
{
Code = 1,
Description = "Vehicle removed from auction"
}
});
}
public async Task<WebServiceResponse> TitleSent(string VIN)
{
return await Task.FromResult(new WebServiceResponse()
{
Status = new WebServiceResponseStatus()
{
Code = 1,
Description = "Floor price updated"
}
});
}
public async Task<WebServiceResponse> UpdateAuctionIdentifyingValuesAsync(string customerNum, string vin, string auctionAssignmentId)
{
return await Task.FromResult(new WebServiceResponse()
{
Status = new WebServiceResponseStatus()
{
Code = 1,
Description = "Identifying values updated"
}
});
}
}
}