Migration from Amazon MWS to Selling Partner API

This commit is contained in:
Bobbie Hodgetts
2024-04-11 12:26:13 +01:00
committed by GitHub
parent e054278cdd
commit a7bc00e73a
1318 changed files with 2778105 additions and 5936 deletions

View File

@@ -8,74 +8,28 @@ namespace bnhtrade.Core.Model.Sku
{
public class Sku
{
private bool? isActive;
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 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 bool SkuNumberIsSet
{
get { return SkuNumber != null; }
}
public string TaxCode
public Model.Product.ProductInfo ProductInfo
{
get;
set;
}
public bool TaxCodeIsSet
public Model.Sku.SkuConditionInfo ConditionInfo
{
get { return TaxCode != null; }
get;
set;
}
public Model.Account.TaxCodeInfo TaxCodeInfo
{
get;
set;
}
public string AmazonFNSKU
@@ -84,20 +38,10 @@ namespace bnhtrade.Core.Model.Sku
set;
}
public bool AmazonFNSKUIsSet
public bool? IsActive
{
get { return AmazonFNSKU != null; }
}
public bool IsActive
{
get { return (bool)isActive; }
set { isActive = value; }
}
public bool IsActiveIsSet
{
get { return isActive != null; }
get;
set;
}
}
}
}

View File

@@ -8,9 +8,7 @@ namespace bnhtrade.Core.Model.Sku
{
public class SkuConditionInfo
{
public int SkuConditionId { get; set; }
public string SkuConditionNumber { get; set; }
public string SkuConditionCode { get; set; }
public string TitleShort { get; set; }