Class CustomsItem
Class representing an EasyPost customs item.
Inherited Members
Namespace: EasyPost.Models.API
Assembly: EasyPost.dll
Syntax
public class CustomsItem : EasyPostObject, IEasyPostObject, ICustomsItemParameter, IParameter
Properties
| Improve this Doc View SourceCode
The SKU, UPC or other product identifier.
Declaration
public string? Code { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Currency
The three-letter ISO 4217 currency code. Defaults to "USD".
Declaration
public string? Currency { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Description
The description of the item being shipped.
Declaration
public string? Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
HsTariffNumber
The Harmonized Tariff Schedule (HTS) code for the item. See https://hts.usitc.gov/ for more information.
Declaration
public string? HsTariffNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
OriginCountry
The two-letter ISO 3166 country code where the item is being shipped from.
Declaration
public string? OriginCountry { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Quantity
The quantity of the item being shipped.
Declaration
public int? Quantity { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Value
The value of the item being shipped, in US Dollars. Total value should equal unit value multiplied by the Quantity.
Declaration
public double? Value { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Double> |
Weight
The weight of the item being shipped, in ounces.
Declaration
public double? Weight { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Double> |