mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-21 23:37:16 +00:00
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
This commit is contained in:
53
src/bnhtrade.Core/Model/SKU/Price/SkuPriceParameter.cs
Normal file
53
src/bnhtrade.Core/Model/SKU/Price/SkuPriceParameter.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace bnhtrade.Core.Model.Sku.Price
|
||||
{
|
||||
public class SkuPriceParameter
|
||||
{
|
||||
public int SkuId { get; set; }
|
||||
|
||||
public string SkuNumber { get; set; }
|
||||
|
||||
public int TotalQuantity { get; set; }
|
||||
|
||||
public decimal UnitCostAverage { get; set; }
|
||||
|
||||
public int ProductId { get; set; }
|
||||
|
||||
public int ConditionId { get; set; }
|
||||
|
||||
public string TaxCode { get; set; }
|
||||
|
||||
public decimal ProfitMargin { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Agent fee as ratio of selling price (i.e. 0.25)
|
||||
/// </summary>
|
||||
public decimal AgentFeeMargin { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Total of agent fixed fees
|
||||
/// </summary>
|
||||
public decimal AgentFeeFixed { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Amazon margin as a ratio of 1 (i.e. 0.2)
|
||||
/// </summary>
|
||||
public decimal VatMargin { get; set; }
|
||||
|
||||
public string TaxRateName { get; set; }
|
||||
|
||||
public bool IsFixedPrice { get; set; }
|
||||
|
||||
public decimal CompetitivePriceMultiplierNew { get; set; }
|
||||
|
||||
public decimal TotalCost { get; set; }
|
||||
|
||||
public decimal PriceMinProfit { get; set; }
|
||||
}
|
||||
}
|
||||
53
src/bnhtrade.Core/Model/SKU/Price/SkuRepriceInfo.cs
Normal file
53
src/bnhtrade.Core/Model/SKU/Price/SkuRepriceInfo.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace bnhtrade.Core.Model.Sku.Price
|
||||
{
|
||||
public class SkuRepriceInfo
|
||||
{
|
||||
public int SkuId { get; set; }
|
||||
|
||||
public string SkuNumber { get; set; }
|
||||
|
||||
public int TotalQuantity { get; set; }
|
||||
|
||||
public decimal UnitCostAverage { get; set; }
|
||||
|
||||
public int ProductId { get; set; }
|
||||
|
||||
public int ConditionId { get; set; }
|
||||
|
||||
public string TaxCode { get; set; }
|
||||
|
||||
public decimal ProfitMargin { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Agent fee as ratio of selling price (i.e. 20% = 0.2)
|
||||
/// </summary>
|
||||
public decimal AgentFeeMargin { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Total of agent fixed fees
|
||||
/// </summary>
|
||||
public decimal AgentFeeFixed { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Tax margin as a ratio of 1 (i.e. 20% = 0.2)
|
||||
/// </summary>
|
||||
public decimal VatMargin { get; set; }
|
||||
|
||||
public string TaxRateName { get; set; }
|
||||
|
||||
public bool IsFixedPrice { get; set; }
|
||||
|
||||
public decimal CompetitivePriceMultiplierNew { get; set; }
|
||||
|
||||
public decimal TotalCost { get; set; }
|
||||
|
||||
public decimal PriceMinProfit { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user