Webiant Logo Webiant Logo
  1. No results found.

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

GetHSClassificationRequest.cs

using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;

namespace Nop.Plugin.Tax.Avalara.ItemClassificationAPI;

public class GetHSClassificationRequestc : Request
{
    public GetHSClassificationRequestc(string hsClassificationId, string companyId)
    {
        HSClassificationId = hsClassificationId;
        CompanyId = companyId;
    }

    /// 
    /// Gets or sets the HS classification Id
    /// 
    [JsonIgnore]
    public string HSClassificationId { get; }

    /// 
    /// Gets or sets the company Id
    /// 
    [JsonIgnore]
    public string CompanyId { get; }

    /// 
    /// Gets the request path
    /// 
    public override string Path => $"api/v2/companies/{CompanyId}/classifications/hs/{HSClassificationId}";

    /// 
    /// Gets the request method
    /// 
    public override string Method => HttpMethods.Get;
}