Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

ItemClassificationModel.cs

using Newtonsoft.Json;

namespace Nop.Plugin.Tax.Avalara.ItemClassificationAPI;

public class ItemClassificationModel
{

    public ItemClassificationModel()
    {
        ClassificationParameters = new List();
        Parameters = new List();
    }

    /// 
    /// A unique id generated by Avalara Classification System
    /// 
    [JsonProperty(PropertyName = "id", NullValueHandling = NullValueHandling.Ignore)]
    public int? Id { get; set; }

    /// 
    /// The unique ID number of the company that owns this item
    /// 
    /// 
    /// Required
    /// 
    [JsonProperty(PropertyName = "companyId")]
    public int CompanyId { get; set; }

    /// 
    /// A unique code representing this item. It’s recommended to use the SKU number
    /// 
    /// 
    /// Required
    /// 
    [JsonProperty(PropertyName = "itemCode")]
    public string ItemCode { get; set; }

    /// 
    /// Use the parentCode to group product variants. Variants are a group of similar items that only differ from one another by product details like size, color, material, pattern, age group or size
    /// 
    [JsonProperty(PropertyName = "parentCode")]
    public string ParentCode { get; set; }

    /// 
    /// A short description of the product. It’s also referred as product title or name
    /// 
    /// 
    /// Required
    /// 
    [JsonProperty(PropertyName = "description")]
    public string Description { get; set; }

    /// 
    /// A long description of the product
    /// 
    [JsonProperty(PropertyName = "summary")]
    public string Summary { get; set; }

    /// 
    /// Product category breadcrumbs. This is the full path to the category where item is included. Categories should be separated by >
    /// 
    /// 
    /// Required
    /// 
    [JsonProperty(PropertyName = "itemGroup")]
    public string ItemGroup { get; set; }

    /// 
    /// classificationParameters
    /// 
    [JsonProperty(PropertyName = "classificationParameters")]
    public List ClassificationParameters { get; set; }

    /// 
    /// parameters
    /// 
    [JsonProperty(PropertyName = "parameters")]
    public List Parameters { get; set; }
}