mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-21 15:27:15 +00:00
Migration from Amazon MWS to Selling Partner API
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user