mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-21 23:37:16 +00:00
Feature repricing min max (#10)
amazon settlement import/export improvements
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
35
src/bnhtrade.Core/Model/SKU/SkuConditionInfo.cs
Normal file
35
src/bnhtrade.Core/Model/SKU/SkuConditionInfo.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user