Closed HottieHotton closed 5 months ago
6.4.0
8.0.201
OS 14.4.1
Code
Customers are supposed to utilize the Code field for their customsItems objects.
using Newtonsoft.Json; using EasyPost; using EasyPost.Models.API; namespace EasyPostExamples { public class Examples { public static async Task Main() { var client = new Client(new ClientConfiguration("")); EasyPost.Parameters.CustomsItem.Create parameters = new() { Description = "T-shirt", Quantity = 1, Weight = 5, Value = 10, Code = "23", <----- doesn't work HsTariffNumber = "123456", OriginCountry = "US" }; CustomsItem customsItem = await client.CustomsItem.Create(parameters); Console.WriteLine(JsonConvert.SerializeObject(customsItem, Formatting.Indented)); } } }
The error displays on the line `Code` as: 'Create' does not contain a definition for 'Code'
Software Version
6.4.0
Language Version
8.0.201
Operating System
OS 14.4.1
What happened?
Code
fieldWhat was expected?
Customers are supposed to utilize the
Code
field for their customsItems objects.Sample Code
Relevant logs