Show / Hide Table of Contents

Class CustomsItem

Class representing an EasyPost customs item.

Inheritance
System.Object
EphemeralEasyPostObject
EasyPostObject
CustomsItem
Implements
IEasyPostObject
ICustomsItemParameter
IParameter
Inherited Members
EasyPostObject.CreatedAt
EasyPostObject.Id
EasyPostObject.UpdatedAt
EasyPostObject.Prefix
EasyPostObject.AsDictionary()
EasyPostObject.ToString()
EasyPostObject.Equals(Nullable<Object>)
EasyPostObject.GetHashCode()
EphemeralEasyPostObject.Mode
EphemeralEasyPostObject.AsJson()
Namespace: EasyPost.Models.API
Assembly: EasyPost.dll
Syntax
public class CustomsItem : EasyPostObject, IEasyPostObject, ICustomsItemParameter, IParameter

Properties

| Improve this Doc View Source

Code

The SKU, UPC or other product identifier.

Declaration
public string? Code { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

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>
| Improve this Doc View Source

Description

The description of the item being shipped.

Declaration
public string? Description { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

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>
| Improve this Doc View Source

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>
| Improve this Doc View Source

Quantity

The quantity of the item being shipped.

Declaration
public int? Quantity { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

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>
| Improve this Doc View Source

Weight

The weight of the item being shipped, in ounces.

Declaration
public double? Weight { get; set; }
Property Value
Type Description
System.Nullable<System.Double>

Implements

IEasyPostObject
ICustomsItemParameter
IParameter
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX