Feature repricing min max (#10)

amazon settlement import/export improvements
This commit is contained in:
2020-05-01 09:08:23 +01:00
committed by GitHub
parent 56647c7648
commit 43d61c2ef8
118 changed files with 7930 additions and 3021 deletions

View File

@@ -9,60 +9,95 @@ namespace bnhtrade.Core.Model.Sku
public class Sku
{
private bool? isActive;
public string ConditionModelPlaceholder
private int? conditionId;
private int? productId;
public int ConditionId
{
get { return conditionId.GetValueOrDefault(); }
set { conditionId = value; }
}
public bool ConditionIdIsSet
{
get { return conditionId != null; }
}
public string ConditionTitle
{
get;
set;
}
public string ProductModelPlaceholder
public bool ConditionTitleIsSet
{
get { return ConditionTitle != null; }
}
public int ProductId
{
get { return productId.GetValueOrDefault(); }
set { productId = value; }
}
public bool ProductIdIsSet
{
get { return productId != null; }
}
public string ProductTitle
{
get;
set;
}
public bool ProductTitleIsSet
{
get { return ProductTitle != null; }
}
public string SkuNumber
{
get;
set;
}
public Account.TaxCode TaxCode
public bool SkuNumberIsSet
{
get { return SkuNumber != null; }
}
public string TaxCode
{
get;
set;
}
public bool TaxCodeIsSet
{
get { return TaxCode != null; }
}
public string AmazonFNSKU
{
get;
set;
}
public bool AmazonFNSKUIsSet
{
get { return AmazonFNSKU != null; }
}
public bool IsActive
{
get { return (bool)isActive; }
set { isActive = value; }
}
public bool IsSetConditionModelPlaceholder
{
get { return ConditionModelPlaceholder != null; }
}
public bool IsSetProductModelPlaceholder
{
get { return ProductModelPlaceholder != null; }
}
public bool IsSetSkuNumber
{
get { return SkuNumber != null; }
}
public bool IsSetTaxCode
{
get { return TaxCode != null; }
}
public bool IsSetAmazonFNSKU
{
get { return AmazonFNSKU != null; }
}
public bool IsSetIsActive
public bool IsActiveIsSet
{
get { return isActive != null; }
}
}
}

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace bnhtrade.Core.Model.Sku
{
public class SkuConditionInfo
{
public int SkuConditionId { get; set; }
public string SkuConditionNumber { get; set; }
public string TitleShort { get; set; }
public string Description { get; set; }
public bool IsFixedPrice { get; set; }
/// <summary>
/// Can be used to estimate a competitve price from 'New' condition competitive price
/// </summary>
public decimal CompetitivePriceMultiplier { get; set; }
public string AmazonBaseType { get; set; }
public int AmazonIdentifier { get; set; }
public string ConditionNoteDefault { get; set; }
public string RepricerStrategy { get; set; }
}
}