From 8146020304207cd2183e9595693a33ede2f2f131 Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Fri, 24 Jul 2026 11:58:26 -0600 Subject: [PATCH] feat: add missing CustomsItems properties (closes #666) --- CHANGELOG.md | 4 ++++ EasyPost.nuspec | 2 +- EasyPost/Models/API/CustomsItem.cs | 18 ++++++++++++++++++ EasyPost/Properties/VersionInfo.cs | 6 +++--- 4 files changed, 26 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 242639fe8..b83937231 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## v7.10.0 (2026-07-24) + +- Adds missing `Eccn`, `Manufacturer`, and `PrintedCommodityIdentifier` properties to the `CustomsItem` API model + ## v7.9.0 (2026-07-01) - Adds `PaymentMode` to carrier account create params diff --git a/EasyPost.nuspec b/EasyPost.nuspec index 3aa9235bb..d88b1e8b0 100644 --- a/EasyPost.nuspec +++ b/EasyPost.nuspec @@ -3,7 +3,7 @@ EasyPost-Official EasyPost (Official) - 7.9.0 + 7.10.0 EasyPost EasyPost https://www.easypost.com diff --git a/EasyPost/Models/API/CustomsItem.cs b/EasyPost/Models/API/CustomsItem.cs index dce4fae6c..01e6d485b 100644 --- a/EasyPost/Models/API/CustomsItem.cs +++ b/EasyPost/Models/API/CustomsItem.cs @@ -24,6 +24,12 @@ public class CustomsItem : EasyPostObject, Parameters.ICustomsItemParameter [JsonProperty("currency")] public string? Currency { get; set; } + /// + /// Export Control Classification Number (ECCN) for the item. + /// + [JsonProperty("eccn")] + public string? Eccn { get; set; } + /// /// The description of the item being shipped. /// @@ -37,12 +43,24 @@ public class CustomsItem : EasyPostObject, Parameters.ICustomsItemParameter [JsonProperty("hs_tariff_number")] public string? HsTariffNumber { get; set; } + /// + /// Manufacturer of the item. + /// + [JsonProperty("manufacturer")] + public string? Manufacturer { get; set; } + /// /// The two-letter ISO 3166 country code where the item is being shipped from. /// [JsonProperty("origin_country")] public string? OriginCountry { get; set; } + /// + /// Commodity identifier for the item. + /// + [JsonProperty("printed_commodity_identifier")] + public string? PrintedCommodityIdentifier { get; set; } + /// /// The quantity of the item being shipped. /// diff --git a/EasyPost/Properties/VersionInfo.cs b/EasyPost/Properties/VersionInfo.cs index e9045c550..b09370659 100644 --- a/EasyPost/Properties/VersionInfo.cs +++ b/EasyPost/Properties/VersionInfo.cs @@ -2,6 +2,6 @@ // Version information for an assembly must follow semantic versioning // When releasing a release candidate, append a 4th digit being the number of the release candidate -[assembly: AssemblyVersion("7.9.0")] -[assembly: AssemblyFileVersion("7.9.0")] -[assembly: AssemblyInformationalVersion("7.9.0")] +[assembly: AssemblyVersion("7.10.0")] +[assembly: AssemblyFileVersion("7.10.0")] +[assembly: AssemblyInformationalVersion("7.10.0")]