Files
bnhtrade/src/bnhtrade.Core/Data/Database/Constants.cs
Bobbie Hodgetts f1d7119306 the abandoned fba repricing feature
* Merge master into branch (#15)

* Bug fix

* Bug fix when retriving shipment stock status id

* Various bug fixs and improvements to stock SKU reconciliation

* Last MWS report import date time saved

* master into branch (#16)

* Bug fix

* Bug fix when retriving shipment stock status id

* Various bug fixs and improvements to stock SKU reconciliation

* Last MWS report import date time saved

* wip

* wip

* wip

* wip

* wip

* some extra tidying up to get it to complie and the main merge is complete

* wip
2024-04-17 13:23:33 +01:00

61 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace bnhtrade.Core.Data.Database
{
public static class Constants
{
/// <summary>
/// Gets the date bnhtrade started trading.
/// </summary>
/// <returns>Date and time</returns>
public static DateTime GetBusinessStartUtc()
{
DateTime businessStart = new DateTime(2014, 09, 01);
return DateTime.SpecifyKind(businessStart, DateTimeKind.Utc);
}
/// <summary>
///
/// </summary>
/// <returns></returns>
public static string GetMarginSchemeTaxCode()
{
return "T190";
}
public static string GetOrderChannelAmazonUk()
{
return "Amazon.co.uk";
}
/// <summary>
/// Returns the sql table ID for a condition type
/// </summary>
public enum SkuCondition
{
New = 10,
LikeNew = 11,
VeryGood = 12,
Good = 13,
Acceptable = 14,
// add the rest as needed
}
/// <summary>
/// Returns the sql table ID for a stock status type
/// </summary>
public enum StockStatusType
{
FbaInventoryActive = 3,
FbaShipment = 4,
FbaShippingPlan = 5,
// add the rest as needed
}
}
}