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:
Bobbie Hodgetts
2024-04-17 13:23:33 +01:00
committed by GitHub
parent a7bc00e73a
commit f1d7119306
19 changed files with 355 additions and 44 deletions

View 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; }
}
}

View 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; }
}
}