From d920942220c26a6c28c01b134e6e754f5fb5db8a Mon Sep 17 00:00:00 2001 From: wufan Date: Thu, 16 Jan 2025 09:38:15 +0800 Subject: [PATCH 1/7] :ambulance: --- .../APIClients/ShopifyApi/ShopifyAPIClient.cs | 187 ++++++++++++------ TradeManageNew/DD_OrderServiceNew.asmx.cs | 2 +- 2 files changed, 125 insertions(+), 64 deletions(-) diff --git a/TradeManageNew/APIClients/ShopifyApi/ShopifyAPIClient.cs b/TradeManageNew/APIClients/ShopifyApi/ShopifyAPIClient.cs index ce541ad..7e86c54 100644 --- a/TradeManageNew/APIClients/ShopifyApi/ShopifyAPIClient.cs +++ b/TradeManageNew/APIClients/ShopifyApi/ShopifyAPIClient.cs @@ -18,10 +18,8 @@ #pragma warning disable 8625 // Disable "CS8625 Cannot convert null literal to non-nullable reference type" #pragma warning disable 8765 // Disable "CS8765 Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes)." -namespace APIClients.ShopifyAPI +namespace TradeManageNew.APIClients.ShopifyAPI { - using System = global::System; - [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] public partial class ShopifyAPIClient { @@ -36,7 +34,7 @@ namespace APIClients.ShopifyAPI public ShopifyAPIClient() #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. { - BaseUrl = "http://192.168.1.51:3000/"; + BaseUrl = "http://192.168.1.43:3000/"; Initialize(); } @@ -458,7 +456,7 @@ namespace APIClients.ShopifyAPI /// /// 成功删除产品变体 /// A server side error occurred. - public virtual System.Threading.Tasks.Task DeleteProductVariantAsync(Body3 body) + public virtual System.Threading.Tasks.Task DeleteProductVariantAsync(Body3 body) { return DeleteProductVariantAsync(body, System.Threading.CancellationToken.None); } @@ -472,7 +470,7 @@ namespace APIClients.ShopifyAPI /// /// 成功删除产品变体 /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DeleteProductVariantAsync(Body3 body, System.Threading.CancellationToken cancellationToken) + public virtual async System.Threading.Tasks.Task DeleteProductVariantAsync(Body3 body, System.Threading.CancellationToken cancellationToken) { if (body == null) throw new System.ArgumentNullException("body"); @@ -520,7 +518,7 @@ namespace APIClients.ShopifyAPI var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ShopifyAPIException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -528,6 +526,16 @@ namespace APIClients.ShopifyAPI return objectResponse_.Object; } else + if (status_ == 400) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ShopifyAPIException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + throw new ShopifyAPIException("\u8bf7\u6c42\u53c2\u6570\u9519\u8bef", status_, objectResponse_.Text, headers_, objectResponse_.Object, null); + } + else { var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); throw new ShopifyAPIException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); @@ -555,7 +563,7 @@ namespace APIClients.ShopifyAPI /// /// 成功下载图片 /// A server side error occurred. - public virtual System.Threading.Tasks.Task DownloadAllProductsImageAsync() + public virtual System.Threading.Tasks.Task DownloadAllProductsImageAsync() { return DownloadAllProductsImageAsync(System.Threading.CancellationToken.None); } @@ -569,7 +577,7 @@ namespace APIClients.ShopifyAPI /// /// 成功下载图片 /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DownloadAllProductsImageAsync(System.Threading.CancellationToken cancellationToken) + public virtual async System.Threading.Tasks.Task DownloadAllProductsImageAsync(System.Threading.CancellationToken cancellationToken) { var client_ = new System.Net.Http.HttpClient(); var disposeClient_ = true; @@ -611,7 +619,7 @@ namespace APIClients.ShopifyAPI var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ShopifyAPIException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -646,7 +654,7 @@ namespace APIClients.ShopifyAPI /// /// 成功导出Excel文件 /// A server side error occurred. - public virtual System.Threading.Tasks.Task ExportProductsToExcelAsync() + public virtual System.Threading.Tasks.Task ExportProductsToExcelAsync() { return ExportProductsToExcelAsync(System.Threading.CancellationToken.None); } @@ -660,7 +668,7 @@ namespace APIClients.ShopifyAPI /// /// 成功导出Excel文件 /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ExportProductsToExcelAsync(System.Threading.CancellationToken cancellationToken) + public virtual async System.Threading.Tasks.Task ExportProductsToExcelAsync(System.Threading.CancellationToken cancellationToken) { var client_ = new System.Net.Http.HttpClient(); var disposeClient_ = true; @@ -702,7 +710,7 @@ namespace APIClients.ShopifyAPI var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ShopifyAPIException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -734,7 +742,7 @@ namespace APIClients.ShopifyAPI /// /// 创建结果 /// A server side error occurred. - public virtual System.Threading.Tasks.Task CreateAsync(Body4 body) + public virtual System.Threading.Tasks.Task CreateAsync(Body4 body) { return CreateAsync(body, System.Threading.CancellationToken.None); } @@ -745,7 +753,7 @@ namespace APIClients.ShopifyAPI /// /// 创建结果 /// A server side error occurred. - public virtual async System.Threading.Tasks.Task CreateAsync(Body4 body, System.Threading.CancellationToken cancellationToken) + public virtual async System.Threading.Tasks.Task CreateAsync(Body4 body, System.Threading.CancellationToken cancellationToken) { if (body == null) throw new System.ArgumentNullException("body"); @@ -793,7 +801,7 @@ namespace APIClients.ShopifyAPI var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ShopifyAPIException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -825,7 +833,7 @@ namespace APIClients.ShopifyAPI /// /// 获取成功 /// A server side error occurred. - public virtual System.Threading.Tasks.Task ListAsync() + public virtual System.Threading.Tasks.Task ListAsync() { return ListAsync(System.Threading.CancellationToken.None); } @@ -836,7 +844,7 @@ namespace APIClients.ShopifyAPI /// /// 获取成功 /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ListAsync(System.Threading.CancellationToken cancellationToken) + public virtual async System.Threading.Tasks.Task ListAsync(System.Threading.CancellationToken cancellationToken) { var client_ = new System.Net.Http.HttpClient(); var disposeClient_ = true; @@ -878,7 +886,7 @@ namespace APIClients.ShopifyAPI var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ShopifyAPIException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -910,7 +918,7 @@ namespace APIClients.ShopifyAPI /// /// 删除成功 /// A server side error occurred. - public virtual System.Threading.Tasks.Task DeleteAsync(Body5 body) + public virtual System.Threading.Tasks.Task DeleteAsync(Body5 body) { return DeleteAsync(body, System.Threading.CancellationToken.None); } @@ -921,7 +929,7 @@ namespace APIClients.ShopifyAPI /// /// 删除成功 /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DeleteAsync(Body5 body, System.Threading.CancellationToken cancellationToken) + public virtual async System.Threading.Tasks.Task DeleteAsync(Body5 body, System.Threading.CancellationToken cancellationToken) { if (body == null) throw new System.ArgumentNullException("body"); @@ -969,7 +977,7 @@ namespace APIClients.ShopifyAPI var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ShopifyAPIException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -1001,7 +1009,7 @@ namespace APIClients.ShopifyAPI /// /// 连接测试结果 /// A server side error occurred. - public virtual System.Threading.Tasks.Task TestAsync() + public virtual System.Threading.Tasks.Task TestAsync() { return TestAsync(System.Threading.CancellationToken.None); } @@ -1012,7 +1020,7 @@ namespace APIClients.ShopifyAPI /// /// 连接测试结果 /// A server side error occurred. - public virtual async System.Threading.Tasks.Task TestAsync(System.Threading.CancellationToken cancellationToken) + public virtual async System.Threading.Tasks.Task TestAsync(System.Threading.CancellationToken cancellationToken) { var client_ = new System.Net.Http.HttpClient(); var disposeClient_ = true; @@ -1053,7 +1061,7 @@ namespace APIClients.ShopifyAPI var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ShopifyAPIException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -1063,12 +1071,12 @@ namespace APIClients.ShopifyAPI else if (status_ == 500) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ShopifyAPIException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); } - throw new ShopifyAPIException("\u670d\u52a1\u5668\u9519\u8bef", status_, objectResponse_.Text, headers_, objectResponse_.Object, null); + throw new ShopifyAPIException("\u670d\u52a1\u5668\u9519\u8bef", status_, objectResponse_.Text, headers_, objectResponse_.Object, null); } else { @@ -1431,13 +1439,13 @@ namespace APIClients.ShopifyAPI /// 变体ID /// [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Id { get; set; } + public string Id { get; set; } /// /// 产品ID /// [Newtonsoft.Json.JsonProperty("product_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Product_id { get; set; } + public string Product_id { get; set; } /// /// 变体标题 @@ -1455,7 +1463,7 @@ namespace APIClients.ShopifyAPI /// 排序位置 /// [Newtonsoft.Json.JsonProperty("position", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Position { get; set; } + public decimal? Position { get; set; } /// /// 库存策略 @@ -1521,7 +1529,7 @@ namespace APIClients.ShopifyAPI /// 重量(克) /// [Newtonsoft.Json.JsonProperty("grams", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Grams { get; set; } + public decimal? Grams { get; set; } /// /// 库存管理 @@ -1545,7 +1553,7 @@ namespace APIClients.ShopifyAPI /// 重量 /// [Newtonsoft.Json.JsonProperty("weight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Weight { get; set; } + public decimal? Weight { get; set; } /// /// 重量单位 @@ -1557,19 +1565,19 @@ namespace APIClients.ShopifyAPI /// 库存项ID /// [Newtonsoft.Json.JsonProperty("inventory_item_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Inventory_item_id { get; set; } + public decimal? Inventory_item_id { get; set; } /// /// 库存数量 /// [Newtonsoft.Json.JsonProperty("inventory_quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Inventory_quantity { get; set; } + public decimal? Inventory_quantity { get; set; } /// /// 旧库存数量 /// [Newtonsoft.Json.JsonProperty("old_inventory_quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Old_inventory_quantity { get; set; } + public decimal? Old_inventory_quantity { get; set; } /// /// GraphQL API ID @@ -1581,7 +1589,7 @@ namespace APIClients.ShopifyAPI /// 图片ID /// [Newtonsoft.Json.JsonProperty("image_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Image_id { get; set; } + public decimal? Image_id { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -1601,13 +1609,13 @@ namespace APIClients.ShopifyAPI /// 选项ID /// [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Id { get; set; } + public string Id { get; set; } /// /// 产品ID /// [Newtonsoft.Json.JsonProperty("product_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Product_id { get; set; } + public string Product_id { get; set; } /// /// 选项名称 @@ -1619,7 +1627,7 @@ namespace APIClients.ShopifyAPI /// 排序位置 /// [Newtonsoft.Json.JsonProperty("position", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Position { get; set; } + public decimal? Position { get; set; } /// /// 选项值列表 @@ -1913,7 +1921,7 @@ namespace APIClients.ShopifyAPI /// 状态码 /// [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Code { get; set; } + public decimal? Code { get; set; } /// /// 响应信息 @@ -1947,6 +1955,58 @@ namespace APIClients.ShopifyAPI [Newtonsoft.Json.JsonProperty("success", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? Success { get; set; } + /// + /// 被删除的变体ID列表 + /// + [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Data { get; set; } + + /// + /// 操作结果描述 + /// + [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Message { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Response3 + { + [Newtonsoft.Json.JsonProperty("success", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Success { get; set; } + + [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Message { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Response4 + { + /// + /// 操作是否成功 + /// + [Newtonsoft.Json.JsonProperty("success", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Success { get; set; } + /// /// 响应信息 /// @@ -1957,7 +2017,7 @@ namespace APIClients.ShopifyAPI /// 下载失败的SKU数量 /// [Newtonsoft.Json.JsonProperty("totalFailedSkus", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalFailedSkus { get; set; } + public decimal? TotalFailedSkus { get; set; } /// /// 下载失败的SKU列表 @@ -1977,7 +2037,7 @@ namespace APIClients.ShopifyAPI } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Response3 + public partial class Response5 { /// /// 操作是否成功 @@ -2007,7 +2067,7 @@ namespace APIClients.ShopifyAPI /// 导出的产品总数 /// [Newtonsoft.Json.JsonProperty("totalProducts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalProducts { get; set; } + public decimal? TotalProducts { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -2021,7 +2081,7 @@ namespace APIClients.ShopifyAPI } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Response4 + public partial class Response6 { /// /// 操作是否成功 @@ -2053,7 +2113,7 @@ namespace APIClients.ShopifyAPI } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Response5 + public partial class Response7 { /// /// 操作是否成功 @@ -2068,7 +2128,7 @@ namespace APIClients.ShopifyAPI /// 脚本标签总数 /// [Newtonsoft.Json.JsonProperty("total", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Total { get; set; } + public decimal? Total { get; set; } /// /// 响应信息 @@ -2088,7 +2148,7 @@ namespace APIClients.ShopifyAPI } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Response6 + public partial class Response8 { /// /// 操作是否成功 @@ -2117,7 +2177,7 @@ namespace APIClients.ShopifyAPI } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Response7 + public partial class Response9 { /// /// 测试是否成功 @@ -2149,7 +2209,7 @@ namespace APIClients.ShopifyAPI } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Response8 + public partial class Response10 { [Newtonsoft.Json.JsonProperty("success", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? Success { get; set; } @@ -2224,6 +2284,7 @@ namespace APIClients.ShopifyAPI /// Shopify商品ID /// [Newtonsoft.Json.JsonProperty("shoifyGoodsId", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public string ShoifyGoodsId { get; set; } /// @@ -2294,7 +2355,7 @@ namespace APIClients.ShopifyAPI /// 变体ID /// [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Id { get; set; } + public string Id { get; set; } /// /// 店铺名称 @@ -2312,7 +2373,7 @@ namespace APIClients.ShopifyAPI /// 订单ID /// [Newtonsoft.Json.JsonProperty("orderid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Orderid { get; set; } + public decimal? Orderid { get; set; } /// /// 订单编号 @@ -2348,7 +2409,7 @@ namespace APIClients.ShopifyAPI /// 退货数量 /// [Newtonsoft.Json.JsonProperty("return_quantity", Required = Newtonsoft.Json.Required.Always)] - public double Return_quantity { get; set; } + public decimal Return_quantity { get; set; } /// /// 解决方案 @@ -2366,13 +2427,13 @@ namespace APIClients.ShopifyAPI /// 订单金额 /// [Newtonsoft.Json.JsonProperty("order_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Order_amount { get; set; } + public decimal? Order_amount { get; set; } /// /// 退款金额 /// [Newtonsoft.Json.JsonProperty("refund_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Refund_amount { get; set; } + public decimal? Refund_amount { get; set; } /// /// 物流跟踪号 @@ -2390,7 +2451,7 @@ namespace APIClients.ShopifyAPI /// 标签成本 /// [Newtonsoft.Json.JsonProperty("label_cost", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Label_cost { get; set; } + public decimal? Label_cost { get; set; } /// /// 订单日期 @@ -2432,7 +2493,7 @@ namespace APIClients.ShopifyAPI /// 扫描用户ID /// [Newtonsoft.Json.JsonProperty("ScanUserId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? ScanUserId { get; set; } + public decimal? ScanUserId { get; set; } /// /// 备注 @@ -2450,7 +2511,7 @@ namespace APIClients.ShopifyAPI /// 详情ID /// [Newtonsoft.Json.JsonProperty("detailid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Detailid { get; set; } + public decimal? Detailid { get; set; } /// /// 条形码 @@ -2499,13 +2560,13 @@ namespace APIClients.ShopifyAPI /// 是否上架 /// [Newtonsoft.Json.JsonProperty("IsOfferUp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? IsOfferUp { get; set; } + public decimal? IsOfferUp { get; set; } /// /// 是否市场 /// [Newtonsoft.Json.JsonProperty("IsMaketPlace", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? IsMaketPlace { get; set; } + public decimal? IsMaketPlace { get; set; } /// /// 是否二手 @@ -2523,7 +2584,7 @@ namespace APIClients.ShopifyAPI /// 二手类型 /// [Newtonsoft.Json.JsonProperty("SecondHandType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? SecondHandType { get; set; } + public decimal? SecondHandType { get; set; } /// /// 二手图片URL @@ -2559,13 +2620,13 @@ namespace APIClients.ShopifyAPI /// 店铺ID /// [Newtonsoft.Json.JsonProperty("ShopId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? ShopId { get; set; } + public decimal? ShopId { get; set; } /// /// 二手销售价格 /// [Newtonsoft.Json.JsonProperty("SecondHandSalePrice", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? SecondHandSalePrice { get; set; } + public decimal? SecondHandSalePrice { get; set; } /// /// 变体代码 @@ -2592,7 +2653,7 @@ namespace APIClients.ShopifyAPI /// 被删除的变体ID列表 /// [Newtonsoft.Json.JsonProperty("ids", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Ids { get; set; } + public System.Collections.Generic.ICollection Ids { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; diff --git a/TradeManageNew/DD_OrderServiceNew.asmx.cs b/TradeManageNew/DD_OrderServiceNew.asmx.cs index 7c07d97..4e74fb0 100644 --- a/TradeManageNew/DD_OrderServiceNew.asmx.cs +++ b/TradeManageNew/DD_OrderServiceNew.asmx.cs @@ -33,7 +33,7 @@ using Newtonsoft.Json.Serialization; using NPOI.HSSF.Record.Formula.Functions; using static NPOI.HSSF.Util.HSSFColor; using System.Linq.Expressions; -using APIClients.ShopifyAPI; +using TradeManageNew.APIClients.ShopifyAPI; using LinqToDB; using Match = System.Text.RegularExpressions.Match; using TradeManageNew.APIClients.FedexApi.Tests; From e7c785cc6454bda43c9b48b60cb4e79fcf2afd79 Mon Sep 17 00:00:00 2001 From: wufan Date: Thu, 16 Jan 2025 10:56:09 +0800 Subject: [PATCH 2/7] :memo: --- TradeManageNew/DD_OrderServiceNew.asmx.cs | 414 +++++++++++++--------- 1 file changed, 239 insertions(+), 175 deletions(-) diff --git a/TradeManageNew/DD_OrderServiceNew.asmx.cs b/TradeManageNew/DD_OrderServiceNew.asmx.cs index 4e74fb0..a69a946 100644 --- a/TradeManageNew/DD_OrderServiceNew.asmx.cs +++ b/TradeManageNew/DD_OrderServiceNew.asmx.cs @@ -29004,6 +29004,7 @@ namespace TradeManageNew [WebMethod(EnableSession = true)] public APIReturnModel PlaceShopifyUsedSaleOrderCallback(string originJson) { + PagesNew.SaveLog(0, "Shopify二手商品下单", $"原始Json:{originJson}", 0); if (string.IsNullOrWhiteSpace(originJson)) { return new APIReturnModel @@ -29013,11 +29014,14 @@ namespace TradeManageNew Datas = null }; } - var originJsonData = JsonConvert.DeserializeObject(originJson); using (var db = new TradeUsedSale.Repositories.ErpDbContext()) { + var includeUsedSale = false; + var errorMessage = string.Empty; + + //Shopify二手订单 var newDtShopifyUsedSaleOrder = new TradeUsedSale.Repositories.Models.DT_ShopifyUsedSaleOrder { OrderId = originJsonData.Order.OrderId, @@ -29050,46 +29054,36 @@ namespace TradeManageNew IsPlaceOrderSuccess = false }; - var dtShopifyUsedSaleOrderId = db.InsertWithInt32Identity(newDtShopifyUsedSaleOrder); + //Shopify二手订单明细 + var newDtShopifyUsedSaleOrderItems = + new List(); - db.BeginTransaction(); - try { foreach (var item in originJsonData.Items) { //ERP二手商品信息 - var orderUsedSalePlatform = db.DT_OrderUsedSalePlatform.FirstOrDefault(x => x.BarCode == item.ProductCode); + var orderUsedSalePlatform = + db.DT_OrderUsedSalePlatform.FirstOrDefault(x => x.BarCode == item.ProductCode); + if (orderUsedSalePlatform is null) { - throw new Exception($"未获取到编码[{item.ProductCode}]的二手商品信息"); + PagesNew.SaveLog(0, "Shopify二手商品下单", $"未获取到编码[{item.ProductCode}]的二手商品信息", 0); + continue; } - + + includeUsedSale = true; + //Shopify商品映射 - var shopifyProductGoodsMap = db.DT_ShopifyProductGoodsMap.FirstOrDefault(x => x.SkuId == orderUsedSalePlatform.SkuId); + var shopifyProductGoodsMap = + db.DT_ShopifyProductGoodsMap.FirstOrDefault(x => + x.SkuId == orderUsedSalePlatform.SkuId); if (shopifyProductGoodsMap is null) { throw new Exception($"未获取到SKU[{orderUsedSalePlatform.SkuCode}]对应的Shopify产品信息"); } - //下单后修改二手商品信息 - var statement = db.DT_OrderUsedSalePlatform.Where(x => x.BarCode == item.ProductCode) - .Set(x => x.Status, TradeUsedSale.Enums.UsedSalePlatformStatus.PendingPickup); - if (item.ShippingMethod == "SP") - { - statement = statement.Set(x => x.ShippingMethod, - TradeUsedSale.Enums.ShippingMethod.SelfPickup); - } - - if (item.ShippingMethod == "DL") - { - statement = statement.Set(x => x.ShippingMethod, - TradeUsedSale.Enums.ShippingMethod.ExpressDelivery); - } - statement.Update(); - - // Shopify客户端 - // 删除产品变体 + // Shopify客户端 删除产品变体 var shopifyApiClient = new ShopifyAPIClient(); var productVariantRes = shopifyApiClient.DeleteProductVariantAsync(new Body3 { @@ -29101,19 +29095,14 @@ namespace TradeManageNew if (productVariantRes.Success != true) { - throw new Exception(productVariantRes.Message); + throw new Exception($"删除Shopify条码[{item.ProductCode}]变体失败,{productVariantRes.Message}"); } - db.DT_ShopifyUsedSaleOrder.Where(x => x.Id == dtShopifyUsedSaleOrderId) - .Set(x => x.IsPlaceOrderSuccess, true) - .Set(x => x.PlaceOrderMessage, "更新二手订单信息成功") - .Update(); - //添加Shopify订单明细 var newDtShopifyUsedSaleOrderItem = new TradeUsedSale.Repositories.Models.DT_ShopifyUsedSaleOrderItem { - DtShopifyUsedSaleOrderId = dtShopifyUsedSaleOrderId, + DtShopifyUsedSaleOrderId = 0, OriginSku = item.OriginSku, Sku = item.Sku, ProductCode = item.ProductCode, @@ -29126,22 +29115,82 @@ namespace TradeManageNew Image = item.Image, ShippingMethod = item.ShippingMethod }; - - db.InsertWithInt32Identity(newDtShopifyUsedSaleOrderItem); + + newDtShopifyUsedSaleOrderItems.Add(newDtShopifyUsedSaleOrderItem); } - - db.CommitTransaction(); } catch (Exception ex) { - db.RollbackTransaction(); + errorMessage = ex.Message; + } - db.DT_ShopifyUsedSaleOrder.Where(x => x.Id == dtShopifyUsedSaleOrderId) - .Set(x => x.PlaceOrderMessage, $"更新二手订单信息失败,原因:{ex.Message}") - .Update(); + if (includeUsedSale) + { + if (!string.IsNullOrEmpty(errorMessage)) + { + newDtShopifyUsedSaleOrder.IsPlaceOrderSuccess = false; + newDtShopifyUsedSaleOrder.PlaceOrderMessage = $"更新二手订单信息失败,原因:{errorMessage}"; + db.InsertWithInt32Identity(newDtShopifyUsedSaleOrder); + + PagesNew.SaveLog(0, "Shopify二手商品下单", "部分执行成功", 0); + } + else + { + newDtShopifyUsedSaleOrder.IsPlaceOrderSuccess = true; + newDtShopifyUsedSaleOrder.PlaceOrderMessage = "更新二手订单信息成功"; + var dtShopifyUsedSaleOrderId = db.InsertWithInt32Identity(newDtShopifyUsedSaleOrder); + + try + { + db.BeginTransaction(); + + foreach (var newDtShopifyUsedSaleOrderItem in newDtShopifyUsedSaleOrderItems) + { + newDtShopifyUsedSaleOrderItem.DtShopifyUsedSaleOrderId = dtShopifyUsedSaleOrderId; + + db.InsertWithInt32Identity(newDtShopifyUsedSaleOrderItem); + + //下单后修改二手商品信息 + var statement = db.DT_OrderUsedSalePlatform.Where(x => + x.BarCode == newDtShopifyUsedSaleOrderItem.ProductCode) + .Set(x => x.Status, TradeUsedSale.Enums.UsedSalePlatformStatus.PendingPickup); + if (newDtShopifyUsedSaleOrderItem.ShippingMethod == "SP") + { + statement = statement.Set(x => x.ShippingMethod, + TradeUsedSale.Enums.ShippingMethod.SelfPickup); + } + + if (newDtShopifyUsedSaleOrderItem.ShippingMethod == "DL") + { + statement = statement.Set(x => x.ShippingMethod, + TradeUsedSale.Enums.ShippingMethod.ExpressDelivery); + } + + statement.Update(); + } + + PagesNew.SaveLog(0, "Shopify二手商品下单", "执行成功", 0); + + db.CommitTransaction(); + } + catch (Exception ex) + { + db.RollbackTransaction(); + + db.DT_ShopifyUsedSaleOrder.Where(x => x.Id == dtShopifyUsedSaleOrderId) + .Set(x => x.PlaceOrderMessage, $"更新二手订单信息失败,原因:{ex.Message}") + .Update(); + + PagesNew.SaveLog(0, "Shopify二手商品下单", "部分执行成功", 0); + } + } + } + else + { + PagesNew.SaveLog(0, "Shopify二手商品下单", "该订单未包含任何上传的二手商品", 0); } } - + return new APIReturnModel { Code = 1, @@ -29153,6 +29202,7 @@ namespace TradeManageNew [WebMethod(EnableSession = true)] public APIReturnModel CancelShopifyUsedSaleOrderCallback(string originJson) { + PagesNew.SaveLog(0, "Shopify二手商品取消", $"原始Json:{originJson}", 0); if (string.IsNullOrWhiteSpace(originJson)) { return new APIReturnModel @@ -29167,154 +29217,168 @@ namespace TradeManageNew using (var db = new TradeUsedSale.Repositories.ErpDbContext()) { - var shopifyUsedSaleOrder = db.DT_ShopifyUsedSaleOrder.FirstOrDefault(x => x.OrderId == originJsonData.OrderId); + var shopifyUsedSaleOrder = + db.DT_ShopifyUsedSaleOrder.FirstOrDefault(x => x.OrderId == originJsonData.OrderId); if (shopifyUsedSaleOrder is null) { - PagesNew.SaveLog(0, "Shopify二手商品取消", $"未找到ShopifyOrderId为{originJsonData.OrderId}Shopify二手订单,原始Json为:{originJson}", 0); + PagesNew.SaveLog(0, "Shopify二手商品取消", $"跳过执行,未找到ShopifyOrderId为{originJsonData.OrderId}Shopify二手订单", 0); } - - try + else { - db.BeginTransaction(); - - db.DT_ShopifyUsedSaleOrder.Where(x => x.OrderId == originJsonData.OrderId) - .Set(x => x.IsCancelled, true) - .Set(x => x.CancelReason, originJsonData.CancelReason) - .Set(x => x.CancelDate, originJsonData.CancelDate.DateTime) - .Update(); - - var shopifyUsedSaleOrderItems = db.DT_ShopifyUsedSaleOrderItem - .Where(x => x.DtShopifyUsedSaleOrderId == shopifyUsedSaleOrder.Id) - .ToList(); - - foreach (var saleOrderItem in shopifyUsedSaleOrderItems) + try { - //ERP二手商品 - var orderUsedSalePlatform = db.DT_OrderUsedSalePlatform.FirstOrDefault(x => x.BarCode == saleOrderItem.ProductCode); - if (orderUsedSalePlatform is null) - { - throw new Exception($"不存在打印条码为[{saleOrderItem.ProductCode}]的二手商品"); - } + db.BeginTransaction(); - #region 重新上传Shopify变体 + db.DT_ShopifyUsedSaleOrder.Where(x => x.OrderId == originJsonData.OrderId) + .Set(x => x.IsCancelled, true) + .Set(x => x.CancelReason, originJsonData.CancelReason) + .Set(x => x.CancelDate, originJsonData.CancelDate.DateTime) + .Update(); - //系统产品信息 - var product = db.HW_GoodsInfo.FirstOrDefault(x => x.GoodsId == orderUsedSalePlatform.ProductId); - if (product is null) - { - var message = $"系统中不存在编码为[{orderUsedSalePlatform.ProductCode}]的产品信息,无法推送至Shopify"; - throw new Exception(message); - } - - //毛重 - if (product.Weight is null || product.Weight <= 0) - { - var message = $"产品[{product.GoodsCode}]无毛重信息,无法推送至Shopify"; - throw new Exception(message); - } + var shopifyUsedSaleOrderItems = db.DT_ShopifyUsedSaleOrderItem + .Where(x => x.DtShopifyUsedSaleOrderId == shopifyUsedSaleOrder.Id) + .ToList(); - //建议售价 - if (product.JYPrice is null || product.JYPrice <= 0) + foreach (var saleOrderItem in shopifyUsedSaleOrderItems) { - var message = $"产品[{product.GoodsCode}]无建议售价,无法推送至Shopify"; - throw new Exception(message); - } - - //预估运费 - var postFee = db.HW_PostFee.FirstOrDefault(x => x.GoodsId == orderUsedSalePlatform.ProductId); - if (postFee is null) - { - throw new Exception( $"产品[{product.GoodsCode}]无预估运费,无法推送至Shopify"); - } - var fees = new List() - { - postFee.Fee1, - //postFee.Fee2, - postFee.Fee3, - postFee.Fee4, - postFee.Fee5, - //postFee.Fee6, - postFee.Fee7, - postFee.Fee8, - }.Where(x => x != null).ToList(); - var feeCost = fees.Any() ? fees.Min() : 0; + //ERP二手商品 + var orderUsedSalePlatform = + db.DT_OrderUsedSalePlatform.FirstOrDefault(x => x.BarCode == saleOrderItem.ProductCode); + if (orderUsedSalePlatform is null) + { + throw new Exception($"不存在打印条码为[{saleOrderItem.ProductCode}]的二手商品"); + } - if (feeCost <= 0) - { - throw new Exception( $"产品[{product.GoodsCode}]预估运费小于0,无法推送至Shopify"); - } - - //Shopify商品映射 - var shopifyProductGoodsMap = db.DT_ShopifyProductGoodsMap.FirstOrDefault(x => x.SkuId == orderUsedSalePlatform.SkuId); - if (shopifyProductGoodsMap is null) - { - throw new Exception($"未获取到SKU[{orderUsedSalePlatform.SkuCode}]对应的Shopify产品信息"); - } - - //获取SKU的资料信息 - var shopifyProductProfile = - db.DT_ShopifyUsedSaleProduct.FirstOrDefault(x => x.Sku == orderUsedSalePlatform.SkuCode); - - //Shopify客户端 - var shopifyApiClient = new ShopifyAPIClient(); - - var imageUrls = JsonConvert.DeserializeObject>(orderUsedSalePlatform.ImageUrls); - //在Shopify创建产品变体信息 - var createShopifyVariantParameter = new AddVariantRequest - { - ProductBaseData = new ProductBaseData2 - { - ShoifyGoodsId = shopifyProductGoodsMap.ShopifyProductId, - SKU = shopifyProductProfile?.Sku ?? orderUsedSalePlatform.SkuCode, - Title = shopifyProductProfile?.Title ?? product.GoodsEnglisgName, - ImagePath = shopifyProductProfile?.ImagePath ?? product.FirstImgUrl, - ProductType = shopifyProductProfile?.Category, - Tags = shopifyProductProfile?.Tags, - Weight = product.Weight.Value, - JYPrice = product.JYPrice.Value, - ShippingFee = feeCost.Value - }, - Variants = new Variants - { - Return_quantity = 1, - ImgUrl = imageUrls.Count > 0 ? imageUrls[0] : null, - ImgUrl2 = imageUrls.Count > 1 ? imageUrls[1] : null, - ImgUrl3 = imageUrls.Count > 2 ? imageUrls[2] : null, - ImgUrl4 = imageUrls.Count > 3 ? imageUrls[3] : null, - ImgUrl5 = imageUrls.Count > 4 ? imageUrls[4] : null, - StoreName = orderUsedSalePlatform.WarehouseLocation == - TradeUsedSale.Enums.WarehouseLocation.East - ? "E" - : "W", - Code = orderUsedSalePlatform.BarCode, - }, - }; - - var productVariantRes = shopifyApiClient.AddProductVariantAsync(createShopifyVariantParameter).ConfigureAwait(false) - .GetAwaiter() - .GetResult(); + #region 重新上传Shopify变体 - if (productVariantRes.Success != true) - { - var message = $"产品[{product.GoodsCode}]推送Shopify变体失败,原因:{productVariantRes.Message}"; - throw new Exception(message); - } + //系统产品信息 + var product = + db.HW_GoodsInfo.FirstOrDefault(x => x.GoodsId == orderUsedSalePlatform.ProductId); + if (product is null) + { + var message = $"系统中不存在编码为[{orderUsedSalePlatform.ProductCode}]的产品信息,无法推送至Shopify"; + throw new Exception(message); + } - db.DT_OrderUsedSalePlatform.Where(x => x.Id == orderUsedSalePlatform.Id) - .Set(x => x.Status, TradeUsedSale.Enums.UsedSalePlatformStatus.Listed) - .Set(x => x.ShippingMethod, value: null) - .Update(); + //毛重 + if (product.Weight is null || product.Weight <= 0) + { + var message = $"产品[{product.GoodsCode}]无毛重信息,无法推送至Shopify"; + throw new Exception(message); + } - #endregion + //建议售价 + if (product.JYPrice is null || product.JYPrice <= 0) + { + var message = $"产品[{product.GoodsCode}]无建议售价,无法推送至Shopify"; + throw new Exception(message); + } + + //预估运费 + var postFee = + db.HW_PostFee.FirstOrDefault(x => x.GoodsId == orderUsedSalePlatform.ProductId); + if (postFee is null) + { + throw new Exception($"产品[{product.GoodsCode}]无预估运费,无法推送至Shopify"); + } + + var fees = new List() + { + postFee.Fee1, + //postFee.Fee2, + postFee.Fee3, + postFee.Fee4, + postFee.Fee5, + //postFee.Fee6, + postFee.Fee7, + postFee.Fee8, + }.Where(x => x != null).ToList(); + var feeCost = fees.Any() ? fees.Min() : 0; + + if (feeCost <= 0) + { + throw new Exception($"产品[{product.GoodsCode}]预估运费小于0,无法推送至Shopify"); + } + + //Shopify商品映射 + var shopifyProductGoodsMap = + db.DT_ShopifyProductGoodsMap.FirstOrDefault(x => + x.SkuId == orderUsedSalePlatform.SkuId); + if (shopifyProductGoodsMap is null) + { + throw new Exception($"未获取到SKU[{orderUsedSalePlatform.SkuCode}]对应的Shopify产品信息"); + } + + //获取SKU的资料信息 + var shopifyProductProfile = + db.DT_ShopifyUsedSaleProduct.FirstOrDefault(x => + x.Sku == orderUsedSalePlatform.SkuCode); + + //Shopify客户端 + var shopifyApiClient = new ShopifyAPIClient(); + + var imageUrls = + JsonConvert.DeserializeObject>(orderUsedSalePlatform.ImageUrls); + //在Shopify创建产品变体信息 + var createShopifyVariantParameter = new AddVariantRequest + { + ProductBaseData = new ProductBaseData2 + { + ShoifyGoodsId = shopifyProductGoodsMap.ShopifyProductId, + SKU = shopifyProductProfile?.Sku ?? orderUsedSalePlatform.SkuCode, + Title = shopifyProductProfile?.Title ?? product.GoodsEnglisgName, + ImagePath = shopifyProductProfile?.ImagePath ?? product.FirstImgUrl, + ProductType = shopifyProductProfile?.Category, + Tags = shopifyProductProfile?.Tags, + Weight = product.Weight.Value, + JYPrice = product.JYPrice.Value, + ShippingFee = feeCost.Value + }, + Variants = new Variants + { + Return_quantity = 1, + ImgUrl = imageUrls.Count > 0 ? imageUrls[0] : null, + ImgUrl2 = imageUrls.Count > 1 ? imageUrls[1] : null, + ImgUrl3 = imageUrls.Count > 2 ? imageUrls[2] : null, + ImgUrl4 = imageUrls.Count > 3 ? imageUrls[3] : null, + ImgUrl5 = imageUrls.Count > 4 ? imageUrls[4] : null, + StoreName = orderUsedSalePlatform.WarehouseLocation == + TradeUsedSale.Enums.WarehouseLocation.East + ? "E" + : "W", + Code = orderUsedSalePlatform.BarCode, + }, + }; + + var productVariantRes = shopifyApiClient + .AddProductVariantAsync(createShopifyVariantParameter).ConfigureAwait(false) + .GetAwaiter() + .GetResult(); + + if (productVariantRes.Success != true) + { + var message = $"产品[{product.GoodsCode}]推送Shopify变体失败,原因:{productVariantRes.Message}"; + throw new Exception(message); + } + + db.DT_OrderUsedSalePlatform.Where(x => x.Id == orderUsedSalePlatform.Id) + .Set(x => x.Status, TradeUsedSale.Enums.UsedSalePlatformStatus.Listed) + .Set(x => x.ShippingMethod, value: null) + .Update(); + + #endregion + } + + PagesNew.SaveLog(0, "Shopify二手商品取消", "执行成功", 0); + + db.CommitTransaction(); } - - db.CommitTransaction(); - } - catch (Exception ex) - { - db.RollbackTransaction(); + catch (Exception ex) + { + db.RollbackTransaction(); - PagesNew.SaveLog(0, "Shopify二手商品取消", $"执行失败,原始Json为:{originJson},原因:{ex.Message}", 0); + PagesNew.SaveLog(0, "Shopify二手商品取消", $"执行失败,{ex.Message}", 0); + } } } From 32ca1dfb96fad825f33f0aba6a296530a2b7b80b Mon Sep 17 00:00:00 2001 From: wufan Date: Thu, 16 Jan 2025 14:37:23 +0800 Subject: [PATCH 3/7] :ambulance: --- .../GetPickupOrderUsedSalePlatformDto.cs | 91 +++++++++++++++++++ .../GetPickupOrderUsedSalePlatformInput.cs | 10 ++ .../SelfPickupOrderUsedSalePlatformInput.cs | 11 +++ .../OuterService/ShageService.ashx.cs | 84 +++++++++++++++++ TradeManageNew/TradeManageNew.csproj | 3 + 5 files changed, 199 insertions(+) create mode 100644 TradeManageNew/Models/Shage/GetPickupOrderUsedSalePlatformDto.cs create mode 100644 TradeManageNew/Models/Shage/GetPickupOrderUsedSalePlatformInput.cs create mode 100644 TradeManageNew/Models/Shage/SelfPickupOrderUsedSalePlatformInput.cs diff --git a/TradeManageNew/Models/Shage/GetPickupOrderUsedSalePlatformDto.cs b/TradeManageNew/Models/Shage/GetPickupOrderUsedSalePlatformDto.cs new file mode 100644 index 0000000..18e2fd0 --- /dev/null +++ b/TradeManageNew/Models/Shage/GetPickupOrderUsedSalePlatformDto.cs @@ -0,0 +1,91 @@ +using System; +using System.Collections.Generic; +using TradeUsedSale.Enums; + +namespace TradeManageNew.Models.Shage +{ + public class GetPickupOrderUsedSalePlatformDto + { + public int Id { get; set; } + + /// + /// 产品Id + /// + public int ProductId { get; set; } + + /// + /// 产品编码 + /// + public string ProductCode { get; set; } + + /// + /// 产品描述 + /// + public string ProductDescription { get; set; } + + /// + /// SKU ID + /// + public int SkuId { get; set; } + + /// + /// SKU Code + /// + public string SkuCode { get; set; } + + /// + /// 打印条码 + /// + public string BarCode { get; set; } + + /// + /// 是否已打印 + /// + public bool IsPrinted { get; set; } + + /// + /// 状态 + /// + public UsedSalePlatformStatus Status { get; set; } + + /// + /// 仓库 + /// + public WarehouseLocation WarehouseLocation { get; set; } + + /// + /// 库位Id + /// + public int WarehousePositionId { get; set; } + + /// + /// 库位编码 + /// + public string WarehousePositionCode { get; set; } + + /// + /// 图片信息 + /// + public List ImageUrls { get; set; } + + /// + /// 交易方式 + /// + public ShippingMethod? ShippingMethod { get; set; } + + /// + /// 是否全新 + /// + public bool? IsNew { get; set; } + + /// + /// 创建时间 + /// + public DateTime CreationTime { get; set; } + + /// + /// 创建人 + /// + public int CreatorId { get; set; } + } +} \ No newline at end of file diff --git a/TradeManageNew/Models/Shage/GetPickupOrderUsedSalePlatformInput.cs b/TradeManageNew/Models/Shage/GetPickupOrderUsedSalePlatformInput.cs new file mode 100644 index 0000000..2b6c136 --- /dev/null +++ b/TradeManageNew/Models/Shage/GetPickupOrderUsedSalePlatformInput.cs @@ -0,0 +1,10 @@ +namespace TradeManageNew.Models.Shage +{ + public class GetPickupOrderUsedSalePlatformInput + { + /// + /// 打印条码 + /// + public string BarCode { get; set; } + } +} \ No newline at end of file diff --git a/TradeManageNew/Models/Shage/SelfPickupOrderUsedSalePlatformInput.cs b/TradeManageNew/Models/Shage/SelfPickupOrderUsedSalePlatformInput.cs new file mode 100644 index 0000000..f0de104 --- /dev/null +++ b/TradeManageNew/Models/Shage/SelfPickupOrderUsedSalePlatformInput.cs @@ -0,0 +1,11 @@ +using System.Collections.Generic; + +namespace TradeManageNew.Models.Shage +{ + public class SelfPickupOrderUsedSalePlatformInput + { + public List Ids { get; set; } + + public int UserId { get; set; } + } +} \ No newline at end of file diff --git a/TradeManageNew/OuterService/ShageService.ashx.cs b/TradeManageNew/OuterService/ShageService.ashx.cs index 07f6b4d..27288a7 100644 --- a/TradeManageNew/OuterService/ShageService.ashx.cs +++ b/TradeManageNew/OuterService/ShageService.ashx.cs @@ -1511,6 +1511,90 @@ namespace TradeManageNew.OuterService } } } + + if (Method == "GetPickupOrderUsedSalePlatform") + { + var input = JsonConvert.DeserializeObject(ResponseContent); + + if (string.IsNullOrWhiteSpace(input.BarCode)) + { + md.Code = "400"; + md.Result = "Please enter barcode"; + md.Data = null; + } + else + { + input.BarCode = input.BarCode.Trim(); + using (var db = new ErpDbContext()) + { + var orderUsedSalePlatform = db.DT_OrderUsedSalePlatform.FirstOrDefault(x => + x.BarCode == input.BarCode + && x.Status == UsedSalePlatformStatus.PendingPickup); + + if (orderUsedSalePlatform is null) + { + throw new Exception( + $"No barcode for {input.BarCode} to be shipped used sale item exists"); + } + + var product = db.HW_GoodsInfo.FirstOrDefault(x => x.GoodsId == orderUsedSalePlatform.ProductId); + + var result = new GetPickupOrderUsedSalePlatformDto + { + Id = orderUsedSalePlatform.Id, + ProductId = orderUsedSalePlatform.ProductId, + ProductCode = orderUsedSalePlatform.ProductCode, + ProductDescription = product?.GoodsEnglisgName, + SkuId = orderUsedSalePlatform.SkuId, + SkuCode = orderUsedSalePlatform.SkuCode, + BarCode = orderUsedSalePlatform.BarCode, + IsPrinted = orderUsedSalePlatform.IsPrinted, + Status = orderUsedSalePlatform.Status, + WarehouseLocation =orderUsedSalePlatform.WarehouseLocation, + WarehousePositionId = orderUsedSalePlatform.WarehousePositionId, + WarehousePositionCode = orderUsedSalePlatform.WarehousePositionCode, + ImageUrls = JsonConvert.DeserializeObject>(orderUsedSalePlatform.ImageUrls), + ShippingMethod = orderUsedSalePlatform.ShippingMethod, + IsNew = orderUsedSalePlatform.IsNew, + CreationTime = orderUsedSalePlatform.CreationTime, + CreatorId = orderUsedSalePlatform.CreatorId + }; + + md.Code = "100"; + md.Result = "Success"; + md.Data = JsonConvert.SerializeObject(result); + } + } + } + + if (Method == "SelfPickupOrderUsedSalePlatform") + { + var input = JsonConvert.DeserializeObject(ResponseContent); + + using (var db = new ErpDbContext()) + { + var orderUsedSalePlatformList = db.DT_OrderUsedSalePlatform.Where(x => + input.Ids.Contains(x.Id) + && x.Status == UsedSalePlatformStatus.PendingPickup) + .ToList(); + + if (orderUsedSalePlatformList.Any()) + { + db.DT_OrderUsedSalePlatform.Where(x => + input.Ids.Contains(x.Id) + && x.Status == UsedSalePlatformStatus.PendingPickup) + .Set(x => x.ShippingMethod, ShippingMethod.SelfPickup) + .Set(x => x.Status, UsedSalePlatformStatus.Sold) + .Set(x => x.LastModifierId, input.UserId) + .Set(x => x.LastModificationTime, DateTime.Now) + .Update(); + } + } + + md.Code = "100"; + md.Result = "Success"; + md.Data = null; + } } } catch (Exception ex) diff --git a/TradeManageNew/TradeManageNew.csproj b/TradeManageNew/TradeManageNew.csproj index f0ed0a7..9d6d944 100644 --- a/TradeManageNew/TradeManageNew.csproj +++ b/TradeManageNew/TradeManageNew.csproj @@ -2919,7 +2919,10 @@ + + + From a5e4a673b4292bb0cee69fad2d5b97d3a14c3c62 Mon Sep 17 00:00:00 2001 From: wufan Date: Thu, 16 Jan 2025 14:45:50 +0800 Subject: [PATCH 4/7] :memo: --- TradeManageNew/DD_OrderServiceNew.asmx.cs | 37 +++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/TradeManageNew/DD_OrderServiceNew.asmx.cs b/TradeManageNew/DD_OrderServiceNew.asmx.cs index a69a946..4b0cfe6 100644 --- a/TradeManageNew/DD_OrderServiceNew.asmx.cs +++ b/TradeManageNew/DD_OrderServiceNew.asmx.cs @@ -28682,6 +28682,17 @@ namespace TradeManageNew private static readonly object _lockObject = new object(); + /// + /// 二手售卖商品分页 + /// + /// + /// + /// + /// + /// + /// + /// + /// [WebMethod(EnableSession = true)] public JsonModel> OrderUsedSalePlatformPage(string Code,string BarCode,bool? IsPrinted,TradeUsedSale.Enums.UsedSalePlatformStatus? Status,string WarehousePositionCode,int PageIndex=1,int PageSize=50) { @@ -28730,6 +28741,11 @@ namespace TradeManageNew return result; } + /// + /// 二手售卖商品打印条码 + /// + /// + /// [WebMethod(EnableSession = true)] public APIReturnModel OrderUsedSalePlatformPrint(List Ids) { @@ -28749,7 +28765,12 @@ namespace TradeManageNew }; } } - + + /// + /// 二手售卖商品推送至Shopify + /// + /// + /// [WebMethod(EnableSession = true)] public APIReturnModel OrderUsedSalePlatformPublish(List Ids) { @@ -29000,7 +29021,13 @@ namespace TradeManageNew } } } - + + /// + /// Shopify二手售卖商品下单 + /// + /// + /// + /// [WebMethod(EnableSession = true)] public APIReturnModel PlaceShopifyUsedSaleOrderCallback(string originJson) { @@ -29199,6 +29226,12 @@ namespace TradeManageNew }; } + /// + /// Shopify二手售卖商品取消 + /// + /// + /// + /// [WebMethod(EnableSession = true)] public APIReturnModel CancelShopifyUsedSaleOrderCallback(string originJson) { From 6a59c0ebd00f31d93eb580e5ce5b3b6d6ba80365 Mon Sep 17 00:00:00 2001 From: wufan Date: Thu, 16 Jan 2025 16:56:51 +0800 Subject: [PATCH 5/7] :memo: --- .../APIClients/FedexApi/FedexAPIClient.cs | 52 -- .../APIClients/FedexApi/FedexAPIClientMisc.cs | 67 --- .../APIClients/FedexApi/FedexCredential.cs | 36 -- .../FedexApi/Models/ErrorResponse.cs | 63 --- .../FedexApi/Models/FedexAPIException.cs | 37 -- .../RatesAndTransitTimes/AccountNumber.cs | 16 - .../Models/RatesAndTransitTimes/Address.cs | 49 -- .../Models/RatesAndTransitTimes/Address_1.cs | 49 -- .../Models/RatesAndTransitTimes/Address_2.cs | 39 -- .../RatesAndTransitTimes/AlcoholDetail.cs | 33 -- .../AlcoholDetailAlcoholRecipientType.cs | 14 - .../Models/RatesAndTransitTimes/Alert.cs | 38 -- .../Models/RatesAndTransitTimes/AlertType.cs | 14 - .../Alternate_Currency_Rate_Quote.cs | 17 - .../AncillaryFeesAndTaxes.cs | 34 -- .../Models/RatesAndTransitTimes/Anonymous.cs | 24 - .../BaseProcessOutputVO.cs | 43 -- .../BatteryClassificationDetail.cs | 40 -- .../BatteryClassificationDetailMaterial.cs | 14 - .../BatteryClassificationDetailPacking.cs | 14 - ...ryClassificationDetailRegulatorySubType.cs | 11 - .../RatesAndTransitTimes/BillingWeight.cs | 8 - .../RatesAndTransitTimes/BrokerDetail.cs | 33 -- .../BrokerDetailBroker.cs | 21 - .../BrokerDetailBroker_RateReply.cs | 14 - .../RatesAndTransitTimes/BrokerDetailType.cs | 14 - .../BrokerDetail_RateReply.cs | 33 -- .../BrokerDetail_RateReplyType.cs | 14 - .../RatesAndTransitTimes/Brokeraddress.cs | 79 --- .../CODTransportationChargesDetail.cs | 47 -- ...nsportationChargesDetailChargeLevelType.cs | 14 - ...ODTransportationChargesDetailChargeType.cs | 20 - ...ransportationChargesDetailRateLevelType.cs | 14 - .../CODTransportationChargesDetailRateType.cs | 35 -- .../Models/RatesAndTransitTimes/CXSError.cs | 34 -- .../RatesAndTransitTimes/CXSError401.cs | 37 -- .../RatesAndTransitTimes/CXSError403.cs | 37 -- .../RatesAndTransitTimes/CXSError404.cs | 37 -- .../RatesAndTransitTimes/CXSError500.cs | 37 -- .../RatesAndTransitTimes/CXSError503.cs | 37 -- .../RatesAndTransitTimes/CommercialInvoice.cs | 26 - .../CommercialInvoiceShipmentPurpose.cs | 35 -- .../Models/RatesAndTransitTimes/Commit.cs | 78 --- .../CommitDaysInTransit.cs | 74 --- .../CommitGuaranteedType.cs | 14 - .../Models/RatesAndTransitTimes/Commodity.cs | 79 --- .../Models/RatesAndTransitTimes/Contact.cs | 55 -- .../RatesAndTransitTimes/ContactAndAddress.cs | 25 - .../Models/RatesAndTransitTimes/Contact_2.cs | 55 -- .../CurrencyExchangeRate.cs | 37 -- .../RatesAndTransitTimes/CustomerMessage.cs | 31 -- .../DangerousGoodsContainer.cs | 63 --- .../DangerousGoodsContainerPackingType.cs | 11 - ...GoodsContainerRadioactiveContainerClass.cs | 32 -- .../DangerousGoodsDetail.cs | 45 -- .../DangerousGoodsDetailAccessibility.cs | 14 - .../DangerousGoodsDetailRegulation.cs | 20 - .../Models/RatesAndTransitTimes/DateDetail.cs | 31 -- .../RatesAndTransitTimes/DelayDetail.cs | 55 -- .../DeliveryOnInvoiceAcceptanceDetail.cs | 22 - ...iveryOnInvoiceAcceptanceDetailRecipient.cs | 13 - ...nvoiceAcceptanceDetailRecipient_address.cs | 29 - ...nvoiceAcceptanceDetailRecipient_contact.cs | 43 -- .../RatesAndTransitTimes/Dimensions_1.cs | 44 -- .../RatesAndTransitTimes/Dimensions_1Units.cs | 14 - ...MailNotificationDetail_PrintedReference.cs | 32 -- ...il_PrintedReferencePrintedReferenceType.cs | 29 - .../Models/RatesAndTransitTimes/EdtCharge.cs | 28 - .../RatesAndTransitTimes/EdtTaxDetail.cs | 61 --- .../RatesAndTransitTimes/EmailLabelDetail.cs | 31 -- .../EmailNotificationRecipient.cs | 62 --- ...ficationRecipientNotificationFormatType.cs | 14 - ...ilNotificationRecipientNotificationType.cs | 14 - .../EmailNotificationRecipientType.cs | 29 - .../EmailOptionsRequested.cs | 25 - .../RatesAndTransitTimes/EmailRecipient.cs | 39 -- .../EmailRecipientRole.cs | 14 - .../RatesAndTransitTimes/ErrorResponseVO.cs | 34 -- .../ErrorResponseVO401.cs | 25 - .../ErrorResponseVO403.cs | 25 - .../ErrorResponseVO404.cs | 25 - .../ErrorResponseVO500.cs | 31 -- .../ErrorResponseVO503.cs | 25 - .../Express_Freight_Rate_Quote.cs | 17 - ...ress_Freight_Saturday_Pickup_Rate_Quote.cs | 17 - ...lePayloadRateResourceDetailsIntraEurope.cs | 17 - ...elivery_Appointment_Delivery_Rate_Quote.cs | 17 - .../HazardousCommodityContent.cs | 34 -- .../HazardousCommodityDescription.cs | 95 ---- ...zardousCommodityDescriptionPackingGroup.cs | 20 - ...HazardousCommodityInnerReceptacleDetail.cs | 22 - .../HazardousCommodityOptionDetail.cs | 32 -- ...ousCommodityOptionDetailLabelTextOption.cs | 17 - .../HazardousCommodityPackagingDetail.cs | 31 -- .../HazardousCommodityPackingDetail.cs | 31 -- .../HazardousCommodityQuantityDetail.cs | 38 -- ...dousCommodityQuantityDetailQuantityType.cs | 14 - .../HoldAtLocationDetail.cs | 36 -- .../HoldAtLocationDetailLocationType.cs | 29 - .../HomeDeliveryPremiumDetail.cs | 34 -- ...eryPremiumDetailHomedeliveryPremiumType.cs | 17 - .../InternationalControlledExportDetail.cs | 26 - ...InternationalControlledExportDetailType.cs | 41 -- ...rnationalTrafficInArmsRegulationsDetail.cs | 25 - .../International_Dry_Ice_Rate_Quote.cs | 17 - .../International_Ground_Rate_Quote.cs | 17 - ...At_Location_with_Adult_Signature_Option.cs | 17 - .../International_Multi_Piece_Rate_Quote.cs | 17 - .../International_Priority_Rate_Quote.cs | 17 - .../International_Return_Rate_Quote.cs | 17 - .../Intra_Canada_Rate_Quote.cs | 17 - .../Intra_Europe_Rate_Quote.cs | 17 - ...Intra_India_Cash_On_Delivery_Rate_Quote.cs | 17 - .../Intra_Mexico_Express_Saver_Rate_Quote.cs | 17 - .../Models/RatesAndTransitTimes/Locale.cs | 31 -- .../Models/RatesAndTransitTimes/Money.cs | 20 - .../Models/RatesAndTransitTimes/Money_1.cs | 31 -- .../NotificationEventType.cs | 32 -- .../RatesAndTransitTimes/OperationalDetail.cs | 193 ------- .../Models/RatesAndTransitTimes/Options.cs | 26 - .../RatesAndTransitTimes/PackageRateDetail.cs | 94 ---- .../PackageSpecialServicesRequested.cs | 62 --- ...pecialServicesRequestedPackageCODDetail.cs | 29 - ...uestedPackageCODDetailCodCollectionType.cs | 23 - ...ialServicesRequestedSignatureOptionType.cs | 23 - .../Models/RatesAndTransitTimes/Parameter.cs | 31 -- .../RatesAndTransitTimes/ParsedPersonName.cs | 43 -- .../Models/RatesAndTransitTimes/Party.cs | 25 - .../Models/RatesAndTransitTimes/Party_2.cs | 28 - .../Models/RatesAndTransitTimes/Payment.cs | 29 - .../RatesAndTransitTimes/PaymentType.cs | 11 - .../Models/RatesAndTransitTimes/Payor.cs | 25 - ...ndingShipmentProcessingOptionsRequested.cs | 25 - .../RatesAndTransitTimes/PhoneNumber.cs | 51 -- .../Priority_Alert_Rate_Quote.cs | 17 - .../RatesAndTransitTimes/ProcessingOptions.cs | 11 - .../RatesAndTransitTimes/ProductName.cs | 37 -- .../RatesAndTransitTimes/RateAddress.cs | 18 - .../RateAndTransitTimesReq.cs | 26 - .../RateAndTransitTimesResp.cs | 24 - .../RatesAndTransitTimes/RateDiscount.cs | 46 -- .../RatesAndTransitTimes/RateDiscount_1.cs | 46 -- .../Models/RatesAndTransitTimes/RateParty.cs | 12 - .../RatesAndTransitTimes/RateReplyDetail.cs | 70 --- .../RateRequestControlParameters.cs | 36 -- ...teRequestControlParametersRateSortOrder.cs | 17 - ...RequestControlParametersVariableOptions.cs | 20 - .../RatesAndTransitTimes/RateRequestType.cs | 23 - .../RatedPackageDetail.cs | 31 -- .../RatedShipmentDetail.cs | 139 ----- .../RatedShipmentDetailFreightChargeBasis.cs | 17 - .../RatedShipmentDetailRateType.cs | 35 -- .../RatedShipmentDetailRatedWeightMethod.cs | 47 -- .../RecommendedDocumentSpecification.cs | 25 - .../RequestePackageLineItemDimensions.cs | 35 -- .../RequestedPackageLineItem.cs | 42 -- .../RequestedRatePackageType.cs | 39 -- .../RequestedRateServiceType.cs | 156 ------ .../RatesAndTransitTimes/RequestedShipment.cs | 116 ---- ...RequestedShipmentCustomsClearanceDetail.cs | 45 -- ...entCustomsClearanceDetailFreightOnValue.cs | 14 - .../RequestedShipmentPickupType.cs | 17 - .../RequestedShipmentSmartPostInfoDetail.cs | 46 -- ...SmartPostInfoDetailAncillaryEndorsement.cs | 23 - ...estedShipmentSmartPostInfoDetailIndicia.cs | 23 - ...pmentSmartPostInfoDetailSpecialServices.cs | 11 - ...questedShipmentSpecialServicesRequested.cs | 49 -- .../RatesAndTransitTimes/ResponsibleParty.cs | 11 - .../ServiceDescription.cs | 61 --- .../ServiceSubOptionDetail.cs | 26 - ...viceSubOptionDetailSmartPostIndiciaType.cs | 23 - .../ServiceTypeDetailVO.cs | 44 -- .../ServiceTypeDetailVOCarrierCode.cs | 26 - .../ShipmentDryIceDetail.cs | 28 - .../ShipmentLegRateDetail_1.cs | 85 --- .../ShipmentRateDetail.cs | 107 ---- .../ShipmentRateDetailRatingBasis.cs | 17 - ...ecialServicesRequestedShipmentCODDetail.cs | 48 -- ...estedShipmentCODDetailCodCollectionType.cs | 23 - ...ntCODDetailReturnReferenceIndicatorType.cs | 20 - ...lServicesRequested_returnShipmentDetail.cs | 26 - ...equested_returnShipmentDetailReturnType.cs | 26 - .../SmartPost_Rate_Quote.cs | 17 - .../Models/RatesAndTransitTimes/SmsDetail.cs | 11 - .../StandaloneBatteryDetails.cs | 23 - ...daloneBatteryDetailsBatteryMaterialType.cs | 14 - .../Models/RatesAndTransitTimes/Surcharge.cs | 49 -- .../RatesAndTransitTimes/Surcharge_1.cs | 46 -- .../Models/RatesAndTransitTimes/Tax.cs | 43 -- .../Models/RatesAndTransitTimes/Tax_1.cs | 43 -- .../RatesAndTransitTimes/TransitDays.cs | 35 -- .../TransitDaysMinimumTransitTime.cs | 74 --- .../Models/RatesAndTransitTimes/Types.cs | 86 --- .../US_Domestic_Multi_Piece_Rate_Quote.cs | 17 - ..._Domestic_Priority_Overnight_Rate_Quote.cs | 17 - .../US_Domestic_Rate_shop.cs | 17 - .../Models/RatesAndTransitTimes/UnitPrice.cs | 8 - .../UploadDocumentReferenceDetail.cs | 44 -- ...loadDocumentReferenceDetailDocumentType.cs | 29 - .../VariableHandlingChargeDetail.cs | 53 -- ...bleHandlingChargeDetailRateElementBasis.cs | 20 - ...riableHandlingChargeDetailRateLevelType.cs | 14 - .../VariableHandlingChargeDetailRateType.cs | 35 -- .../VariableHandlingCharges.cs | 31 -- .../Models/RatesAndTransitTimes/Weight.cs | 14 - .../Models/RatesAndTransitTimes/Weight_1.cs | 32 -- .../RatesAndTransitTimes/Weight_1Units.cs | 14 - .../Models/RatesAndTransitTimes/Weight_1_2.cs | 22 - .../RatesAndTransitTimes/Weight_1_2Units.cs | 14 - .../Models/RatesAndTransitTimes/Weight_2.cs | 14 - .../Models/RatesAndTransitTimes/options2.cs | 17 - .../Models/RatesAndTransitTimes/options3.cs | 11 - .../Models/Ship/AdditionalLabelsDetail.cs | 29 - .../Models/Ship/AdditionalLabelsDetailType.cs | 41 -- .../Models/Ship/AdditionalMeasures.cs | 28 - .../FedexApi/Models/Ship/Address.cs | 57 -- .../FedexApi/Models/Ship/Address2.cs | 21 - .../FedexApi/Models/Ship/Address_1.cs | 46 -- .../FedexApi/Models/Ship/AdrLicenseDetail.cs | 22 - .../FedexApi/Models/Ship/AlcoholDetail.cs | 32 -- .../Ship/AlcoholDetailAlcoholRecipientType.cs | 14 - .../APIClients/FedexApi/Models/Ship/Alert.cs | 38 -- .../FedexApi/Models/Ship/AlertType.cs | 14 - .../APIClients/FedexApi/Models/Ship/Alerts.cs | 17 - .../Models/Ship/AllowedSpecialService.cs | 14 - .../AsynchronousProcessingOptionType_1.cs | 17 - .../FedexApi/Models/Ship/Attributes.cs | 11 - .../Ship/BaseProcessOutputVO_ShipShipment.cs | 28 - .../FedexApi/Models/Ship/BatteryDetail.cs | 37 -- .../Ship/BatteryDetailBatteryMaterialType.cs | 14 - .../Ship/BatteryDetailBatteryPackingType.cs | 14 - .../BatteryDetailBatteryRegulatoryType.cs | 11 - .../FedexApi/Models/Ship/BillingDetails.cs | 55 -- .../FedexApi/Models/Ship/BinaryBarcode.cs | 31 -- .../APIClients/FedexApi/Models/Ship/Broker.cs | 21 - .../FedexApi/Models/Ship/BrokerDetail.cs | 32 -- .../FedexApi/Models/Ship/BrokerDetailType.cs | 11 - .../Ship/CODTransportationChargesDetail.cs | 47 -- ...nsportationChargesDetailChargeLevelType.cs | 14 - ...ODTransportationChargesDetailChargeType.cs | 20 - ...ransportationChargesDetailRateLevelType.cs | 14 - .../CODTransportationChargesDetailRateType.cs | 17 - .../Models/Ship/CertificateOfOriginDetail.cs | 28 - .../FedexApi/Models/Ship/CommercialInvoice.cs | 96 ---- .../Models/Ship/CommercialInvoiceDetail.cs | 28 - .../Ship/CommercialInvoiceShipmentPurpose.cs | 26 - ...alInvoiceTaxesOrMiscellaneousChargeType.cs | 26 - .../FedexApi/Models/Ship/Commodity.cs | 114 ---- .../FedexApi/Models/Ship/CommodityPurpose.cs | 14 - .../Models/Ship/CompletedEtdDetail.cs | 37 -- .../Ship/CompletedHazardousPackageDetail.cs | 61 --- .../Ship/CompletedHazardousShipmentDetail.cs | 28 - .../Ship/CompletedHazardousSummaryDetail.cs | 25 - .../Ship/CompletedHoldAtLocationDetail.cs | 31 -- .../Models/Ship/CompletedPackageDetail.cs | 61 --- .../Models/Ship/CompletedShipmentDetail.cs | 76 --- .../FedexApi/Models/Ship/Contact.cs | 49 -- .../FedexApi/Models/Ship/Contact2.cs | 28 - .../FedexApi/Models/Ship/ContactAndAddress.cs | 25 - .../Models/Ship/ContactAndAddress_1.cs | 16 - .../FedexApi/Models/Ship/Contact_1.cs | 55 -- .../FedexApi/Models/Ship/Contact_2.cs | 46 -- .../FedexApi/Models/Ship/ContentRecord.cs | 43 -- .../FedexApi/Models/Ship/CreateShipmentReq.cs | 53 -- .../Models/Ship/CreateShipmentResp.cs | 25 - .../Models/Ship/CurrencyExchangeRate.cs | 37 -- .../Models/Ship/CustomerImageUsage.cs | 40 -- .../Models/Ship/CustomerImageUsageId.cs | 23 - .../CustomerImageUsageProvidedImageType.cs | 14 - .../Models/Ship/CustomerImageUsageType.cs | 14 - .../FedexApi/Models/Ship/CustomerReference.cs | 29 - .../Models/Ship/CustomerReferenceType.cs | 26 - .../Models/Ship/CustomerReference_1.cs | 29 - ...ustomerReference_1CustomerReferenceType.cs | 26 - .../Ship/CustomerSpecifiedLabelDetail.cs | 40 -- .../Models/Ship/CustomsClearanceDetail.cs | 100 ---- .../CustomsClearanceDetailFreightOnValue.cs | 14 - .../Ship/CustomsDeclarationStatementDetail.cs | 23 - .../Models/Ship/CustomsOptionDetail.cs | 32 -- .../Models/Ship/CustomsOptionDetailType.cs | 38 -- .../FedexApi/Models/Ship/Customs_Money.cs | 31 -- .../Models/Ship/DangerousGoodsDetail.cs | 39 -- .../Ship/DangerousGoodsDetailAccessibility.cs | 14 - .../Ship/DeliveryOnInvoiceAcceptanceDetail.cs | 15 - .../Models/Ship/DestinationControlDetail.cs | 39 -- .../DestinationControlDetailStatementTypes.cs | 14 - .../FedexApi/Models/Ship/Dimensions.cs | 35 -- .../FedexApi/Models/Ship/DimensionsUnits.cs | 14 - .../FedexApi/Models/Ship/DocTabContent.cs | 32 -- .../Models/Ship/DocTabContentBarcoded.cs | 29 - .../Ship/DocTabContentBarcodedSymbology.cs | 47 -- .../FedexApi/Models/Ship/DocTabContentType.cs | 23 - .../Models/Ship/DocTabContentZone001.cs | 25 - .../Models/Ship/DocTabZoneSpecification.cs | 50 -- .../DocTabZoneSpecificationJustification.cs | 14 - .../Ship/DocumentFormatOptionsRequested.cs | 25 - .../Models/Ship/DocumentGenerationDetail.cs | 43 -- .../Models/Ship/DocumentRequirementsDetail.cs | 37 -- .../FedexApi/Models/Ship/ETDDetail.cs | 28 - .../FedexApi/Models/Ship/EmailLabelDetail.cs | 31 -- .../Models/Ship/EmailOptionsRequested.cs | 25 - .../Ship/EmailOptionsRequestedOptions.cs | 17 - .../FedexApi/Models/Ship/EmailRecipient.cs | 43 -- .../Models/Ship/EmailRecipientRole.cs | 14 - .../FedexApi/Models/Ship/ExportDetail.cs | 41 -- .../Ship/ExportDetailB13AFilingOption.cs | 23 - .../Models/Ship/ExpressFreightDetail.cs | 37 -- .../FedexApi/Models/Ship/FixedValue.cs | 20 - .../Ship/GeneralAgencyAgreementDetail.cs | 22 - .../Ship/HazardousCommodityContent001.cs | 34 -- .../Ship/HazardousCommodityDescription01.cs | 99 ---- ...rdousCommodityDescription01PackingGroup.cs | 20 - ...zardousCommodityInnerReceptacleDetail01.cs | 19 - .../Ship/HazardousCommodityOptionDetail01.cs | 34 -- ...sCommodityOptionDetail01LabelTextOption.cs | 17 - .../Ship/HazardousCommodityPackingDetail01.cs | 31 -- .../Ship/HazardousCommodityQuantityDetail.cs | 39 -- .../HazardousCommodityQuantityDetail002.cs | 39 -- ...sCommodityQuantityDetail002QuantityType.cs | 14 - ...dousCommodityQuantityDetailQuantityType.cs | 14 - .../Models/Ship/HoldAtLocationDetail.cs | 36 -- .../Ship/HoldAtLocationDetailLocationType.cs | 29 - .../Models/Ship/HomeDeliveryPremiumDetail.cs | 35 -- ...eryPremiumDetailHomedeliveryPremiumType.cs | 17 - .../InternationalControlledExportDetail.cs | 51 -- ...InternationalControlledExportDetailType.cs | 32 -- ...rnationalTrafficInArmsRegulationsDetail.cs | 17 - .../Models/Ship/JustContactAndAddress.cs | 22 - .../Models/Ship/LABELRESPONSEOPTIONS.cs | 17 - .../FedexApi/Models/Ship/LabelResponseVO.cs | 68 --- .../Models/Ship/LabelResponseVOContentType.cs | 56 -- .../Models/Ship/LabelSpecification.cs | 81 --- .../Ship/LabelSpecificationImageType.cs | 20 - .../Ship/LabelSpecificationLabelFormatType.cs | 14 - .../Ship/LabelSpecificationLabelOrder.cs | 14 - ...elSpecificationLabelPrintingOrientation.cs | 14 - .../Ship/LabelSpecificationLabelRotation.cs | 20 - .../Ship/LabelSpecificationLabelStockType.cs | 59 -- .../Models/Ship/LicenseOrPermitDetail.cs | 37 -- .../FedexApi/Models/Ship/MaskedData.cs | 35 -- .../FedexApi/Models/Ship/MasterTrackingId.cs | 43 -- .../FedexApi/Models/Ship/Message.cs | 43 -- .../FedexApi/Models/Ship/MessageParameter.cs | 28 - .../APIClients/FedexApi/Models/Ship/Money.cs | 22 - .../Models/Ship/NetExplosiveDetail.cs | 37 -- .../Models/Ship/NotificationEventType.cs | 35 -- .../FedexApi/Models/Ship/Op900Detail.cs | 34 -- .../Models/Ship/OpenShipmentAction.cs | 17 - .../Models/Ship/OperationalInstructions.cs | 28 - .../FedexApi/Models/Ship/Options.cs | 11 - .../FedexApi/Models/Ship/PackageBarcodes.cs | 31 -- .../FedexApi/Models/Ship/PackageCODDetail.cs | 25 - .../Models/Ship/PackageOperationalDetail.cs | 34 -- .../FedexApi/Models/Ship/PackageRateDetail.cs | 100 ---- .../FedexApi/Models/Ship/PackageRating.cs | 37 -- .../Ship/PackageSpecialServicesRequested.cs | 68 --- ...ialServicesRequestedSignatureOptionType.cs | 23 - .../Models/Ship/PartyAccountNumber.cs | 16 - .../FedexApi/Models/Ship/PartyAddress.cs | 50 -- .../FedexApi/Models/Ship/PartyAddress_1.cs | 61 --- .../FedexApi/Models/Ship/PartyAddress_2.cs | 50 -- .../FedexApi/Models/Ship/PartyContact.cs | 41 -- .../FedexApi/Models/Ship/PartyContact_1.cs | 55 -- .../FedexApi/Models/Ship/Party_1.cs | 32 -- .../FedexApi/Models/Ship/Party_2.cs | 34 -- .../FedexApi/Models/Ship/Party_3.cs | 28 - .../FedexApi/Models/Ship/Payment.cs | 21 - .../FedexApi/Models/Ship/PaymentType.cs | 20 - .../FedexApi/Models/Ship/Payment_1.cs | 32 -- .../Models/Ship/Payment_1PaymentType.cs | 20 - .../APIClients/FedexApi/Models/Ship/Payor.cs | 14 - .../FedexApi/Models/Ship/Payor_1.cs | 22 - .../Ship/PendingShipmentAccessDetail.cs | 25 - .../Ship/PendingShipmentAccessorDetail.cs | 43 -- .../Models/Ship/PendingShipmentDetail.cs | 40 -- ...endingShipmentDetailPendingShipmentType.cs | 11 - ...ndingShipmentProcessingOptionsRequested.cs | 16 - .../FedexApi/Models/Ship/PhoneNumber1.cs | 43 -- .../FedexApi/Models/Ship/PieceResponse.cs | 134 ----- .../Ship/PieceResponseServiceCategory.cs | 29 - .../Models/Ship/PriorityAlertDetail.cs | 31 -- .../FedexApi/Models/Ship/ProcessingOptions.cs | 11 - .../FedexApi/Models/Ship/ProductName.cs | 37 -- .../FedexApi/Models/Ship/RateDiscount.cs | 43 -- .../FedexApi/Models/Ship/RateRequestType.cs | 26 - .../FedexApi/Models/Ship/Recipient.cs | 13 - .../Models/Ship/RecipientCustomsId.cs | 32 -- .../Models/Ship/RecipientCustomsIdType.cs | 17 - .../FedexApi/Models/Ship/RecipientsParty.cs | 30 -- .../Ship/RecommendedDocumentSpecification.cs | 26 - .../Models/Ship/RegulatoryAdvisoryDetail.cs | 25 - .../Models/Ship/RegulatoryControls.cs | 20 - .../Ship/RegulatoryLabelContentDetail.cs | 30 -- ...toryLabelContentDetailGenerationOptions.cs | 17 - .../Ship/RegulatoryLabelContentDetailType.cs | 11 - .../Models/Ship/RegulatoryProhibition.cs | 58 -- .../FedexApi/Models/Ship/RegulatoryWaiver.cs | 37 -- .../Models/Ship/RequestedDocumentTypes.cs | 50 -- .../Models/Ship/RequestedPackageLineItem.cs | 74 --- .../FedexApi/Models/Ship/RequestedShipment.cs | 146 ----- .../Ship/RequestedShipmentPackageType.cs | 39 -- .../Ship/RequestedShipmentPickupType.cs | 17 - .../Ship/RequestedShipmentServiceType.cs | 156 ------ .../RequestedShipmentSpecialServiceType.cs | 240 --------- .../Models/Ship/ResponsiblePartyParty.cs | 20 - .../FedexApi/Models/Ship/RetrieveDateRange.cs | 31 -- .../Models/Ship/ReturnAssociationDetail.cs | 23 - .../FedexApi/Models/Ship/ReturnEmailDetail.cs | 24 - .../Models/Ship/ReturnInstructionsDetail.cs | 28 - .../Ship/ReturnMerchandiseAuthorization.cs | 16 - .../Models/Ship/ReturnShipmentDetail.cs | 27 - .../Ship/ReturnShipmentDetailReturnType.cs | 14 - .../Ship/ReturnShippingDocumentFormat.cs | 56 -- .../ReturnShippingDocumentFormatDocType.cs | 14 - .../ReturnShippingDocumentFormatStockType.cs | 11 - .../Models/Ship/ServiceDescription.cs | 67 --- .../Models/Ship/ShipEmailDispositionDetail.cs | 37 -- .../Models/Ship/ShipMergeLabelDocOption.cs | 17 - .../ShipShipmentEMailNotificationDetail.cs | 38 -- ...tEMailNotificationDetailAggregationType.cs | 14 - .../ShipShipmentEmailNotificationRecipient.cs | 66 --- ...RecipientEmailNotificationRecipientType.cs | 23 - ...ficationRecipientNotificationFormatType.cs | 14 - ...ilNotificationRecipientNotificationType.cs | 11 - .../Models/Ship/ShipmentAdvisoryDetails.cs | 22 - .../FedexApi/Models/Ship/ShipmentCODDetail.cs | 64 --- .../ShipmentCODDetailCodCollectionType.cs | 23 - ...ntCODDetailReturnReferenceIndicatorType.cs | 20 - .../Models/Ship/ShipmentDryIceDetail.cs | 35 -- .../Models/Ship/ShipmentDryIceDetail_1.cs | 28 - ...hipmentDryIceProcessingOptionsRequested.cs | 25 - .../Models/Ship/ShipmentLegRateDetail.cs | 178 ------ .../Models/Ship/ShipmentOperationalDetail.cs | 187 ------- .../Models/Ship/ShipmentRateDetail.cs | 172 ------ .../FedexApi/Models/Ship/ShipmentRating.cs | 31 -- .../Ship/ShipmentSpecialServicesRequested.cs | 49 -- .../Models/Ship/ShipperAccountNumber.cs | 26 - .../FedexApi/Models/Ship/ShipperParty.cs | 23 - .../Ship/ShippingDocumentDispositionDetail.cs | 29 - ...ocumentDispositionDetailDispositionType.cs | 32 -- .../Ship/ShippingDocumentEmailDetail.cs | 39 -- .../ShippingDocumentEmailDetailGrouping.cs | 14 - .../Ship/ShippingDocumentEmailRecipient.cs | 30 -- ...pingDocumentEmailRecipientRecipientType.cs | 29 - .../Models/Ship/ShippingDocumentFormat.cs | 56 -- .../Ship/ShippingDocumentFormatDocType.cs | 11 - .../Ship/ShippingDocumentFormatStockType.cs | 11 - .../Ship/ShippingDocumentSpecification.cs | 46 -- .../Models/Ship/ShippingDocumentTypes.cs | 50 -- .../Models/Ship/SignatureOptionDetail.cs | 25 - .../Models/Ship/SmartPostInfoDetail.cs | 48 -- ...SmartPostInfoDetailAncillaryEndorsement.cs | 23 - .../Models/Ship/SmartPostInfoDetailIndicia.cs | 23 - .../SmartPostInfoDetailSpecialServices.cs | 11 - .../FedexApi/Models/Ship/SoldToParty.cs | 28 - .../Models/Ship/StandaloneBatteryDetails.cs | 23 - ...daloneBatteryDetailsBatteryMaterialType.cs | 14 - .../FedexApi/Models/Ship/StringBarcode.cs | 31 -- .../FedexApi/Models/Ship/Surcharge.cs | 43 -- .../APIClients/FedexApi/Models/Ship/Tax.cs | 43 -- .../Models/Ship/TaxpayerIdentification.cs | 40 -- .../Ship/TaxpayerIdentificationTinType.cs | 26 - .../FedexApi/Models/Ship/TrackingId.cs | 43 -- .../Models/Ship/TransactionDetailVO.cs | 28 - .../Ship/TransactionShipmentOutputVO.cs | 64 --- .../APIClients/FedexApi/Models/Ship/Types.cs | 86 --- .../Ship/UploadDocumentReferenceDetail.cs | 35 -- ...loadDocumentReferenceDetailDocumentType.cs | 29 - .../Ship/UploadDocumentReferenceDetail_1.cs | 44 -- ...adDocumentReferenceDetail_1DocumentType.cs | 32 -- .../Ship/UsmcaCertificationOfOriginDetail.cs | 61 --- ...ionOfOriginDetailCertifierSpecification.cs | 17 - ...tionOfOriginDetailImporterSpecification.cs | 14 - ...tionOfOriginDetailProducerSpecification.cs | 17 - ...rcialInvoiceCertificationOfOriginDetail.cs | 58 -- ...ionOfOriginDetailCertifierSpecification.cs | 17 - ...tionOfOriginDetailImporterSpecification.cs | 14 - ...tionOfOriginDetailProducerSpecification.cs | 17 - .../FedexApi/Models/Ship/UsmcaDetail.cs | 26 - .../Models/Ship/UsmcaDetailOriginCriterion.cs | 23 - .../Ship/UsmcaLowValueStatementDetail.cs | 33 -- ...UsmcaLowValueStatementDetailCustomsRole.cs | 14 - .../ValidatedHazardousCommodityContent.cs | 40 -- .../ValidatedHazardousCommodityDescription.cs | 109 ---- .../Ship/ValidatedHazardousContainer.cs | 31 -- .../Ship/VariableHandlingChargeDetail.cs | 52 -- ...bleHandlingChargeDetailRateElementBasis.cs | 20 - ...riableHandlingChargeDetailRateLevelType.cs | 14 - .../VariableHandlingChargeDetailRateType.cs | 35 -- .../APIClients/FedexApi/Models/Ship/Weight.cs | 33 -- .../FedexApi/Models/Ship/WeightUnits.cs | 14 - .../FedexApi/Models/Ship/Weight_1.cs | 32 -- .../FedexApi/Models/Ship/Weight_1Units.cs | 14 - .../FedexApi/Models/Ship/Weight_3.cs | 33 -- .../FedexApi/Models/Ship/Weight_3Units.cs | 11 - .../FedexApi/Models/Ship/Weight_4.cs | 33 -- .../FedexApi/Models/Ship/Weight_4Units.cs | 11 - .../FedexApi/Models/Ship/options2.cs | 17 - .../FedexApi/Models/Ship/options3.cs | 26 - .../Services/RatesAndTransitTimesService.cs | 193 ------- .../FedexApi/Services/RequestService.cs | 362 ------------- .../FedexApi/Services/ShipService.cs | 193 ------- .../Tests/RatesAndTransitTimesTests.cs | 149 ----- .../APIClients/FedexApi/Tests/ShipTests.cs | 108 ---- .../APIClients/FedexApi/Tests/TestBase.cs | 21 - .../FedexApi/Utils/JsonConverters.cs | 58 -- TradeManageNew/TradeManageNew.csproj | 507 +----------------- 507 files changed, 1 insertion(+), 18806 deletions(-) delete mode 100644 TradeManageNew/APIClients/FedexApi/FedexAPIClient.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/FedexAPIClientMisc.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/FedexCredential.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/ErrorResponse.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/FedexAPIException.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AccountNumber.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address_2.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlcoholDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlcoholDetailAlcoholRecipientType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Alert.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlertType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Alternate_Currency_Rate_Quote.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AncillaryFeesAndTaxes.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Anonymous.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BaseProcessOutputVO.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailMaterial.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailPacking.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailRegulatorySubType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BillingWeight.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailBroker.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailBroker_RateReply.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail_RateReply.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail_RateReplyType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Brokeraddress.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailChargeLevelType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailChargeType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailRateLevelType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailRateType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError401.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError403.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError404.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError500.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError503.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommercialInvoice.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommercialInvoiceShipmentPurpose.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Commit.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommitDaysInTransit.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommitGuaranteedType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Commodity.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Contact.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ContactAndAddress.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Contact_2.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CurrencyExchangeRate.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CustomerMessage.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainer.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainerPackingType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainerRadioactiveContainerClass.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetailAccessibility.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetailRegulation.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DateDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DelayDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient_address.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient_contact.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Dimensions_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Dimensions_1Units.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EMailNotificationDetail_PrintedReference.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EMailNotificationDetail_PrintedReferencePrintedReferenceType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EdtCharge.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EdtTaxDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailLabelDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipient.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientNotificationFormatType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientNotificationType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailOptionsRequested.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailRecipient.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailRecipientRole.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO401.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO403.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO404.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO500.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO503.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Express_Freight_Rate_Quote.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Express_Freight_Saturday_Pickup_Rate_Quote.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/FDGSamplePayloadRateResourceDetailsIntraEurope.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Ground_Home_Delivery_Appointment_Delivery_Rate_Quote.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityContent.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityDescription.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityDescriptionPackingGroup.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityInnerReceptacleDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityOptionDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityOptionDetailLabelTextOption.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityPackagingDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityPackingDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityQuantityDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityQuantityDetailQuantityType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HoldAtLocationDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HoldAtLocationDetailLocationType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HomeDeliveryPremiumDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HomeDeliveryPremiumDetailHomedeliveryPremiumType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalControlledExportDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalControlledExportDetailType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalTrafficInArmsRegulationsDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Dry_Ice_Rate_Quote.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Ground_Rate_Quote.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Hold_At_Location_with_Adult_Signature_Option.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Multi_Piece_Rate_Quote.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Priority_Rate_Quote.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Return_Rate_Quote.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Canada_Rate_Quote.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Europe_Rate_Quote.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_India_Cash_On_Delivery_Rate_Quote.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Mexico_Express_Saver_Rate_Quote.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Locale.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Money.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Money_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/NotificationEventType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/OperationalDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Options.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageRateDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequested.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedPackageCODDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedPackageCODDetailCodCollectionType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedSignatureOptionType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Parameter.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ParsedPersonName.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Party.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Party_2.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Payment.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PaymentType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Payor.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PendingShipmentProcessingOptionsRequested.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PhoneNumber.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Priority_Alert_Rate_Quote.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ProcessingOptions.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ProductName.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAddress.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAndTransitTimesReq.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAndTransitTimesResp.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateDiscount.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateDiscount_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateParty.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateReplyDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParameters.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParametersRateSortOrder.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParametersVariableOptions.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedPackageDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailFreightChargeBasis.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailRateType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailRatedWeightMethod.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RecommendedDocumentSpecification.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestePackageLineItemDimensions.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedPackageLineItem.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedRatePackageType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedRateServiceType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipment.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentCustomsClearanceDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentCustomsClearanceDetailFreightOnValue.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentPickupType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailAncillaryEndorsement.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailIndicia.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailSpecialServices.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSpecialServicesRequested.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ResponsibleParty.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceDescription.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceSubOptionDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceSubOptionDetailSmartPostIndiciaType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceTypeDetailVO.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceTypeDetailVOCarrierCode.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentDryIceDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentLegRateDetail_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentRateDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentRateDetailRatingBasis.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetailCodCollectionType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetailReturnReferenceIndicatorType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequested_returnShipmentDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequested_returnShipmentDetailReturnType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/SmartPost_Rate_Quote.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/SmsDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/StandaloneBatteryDetails.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/StandaloneBatteryDetailsBatteryMaterialType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Surcharge.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Surcharge_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Tax.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Tax_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/TransitDays.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/TransitDaysMinimumTransitTime.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Types.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Multi_Piece_Rate_Quote.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Priority_Overnight_Rate_Quote.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Rate_shop.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UnitPrice.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UploadDocumentReferenceDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UploadDocumentReferenceDetailDocumentType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateElementBasis.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateLevelType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingCharges.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1Units.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1_2.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1_2Units.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_2.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/options2.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/options3.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalLabelsDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalLabelsDetailType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalMeasures.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Address.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Address2.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Address_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AdrLicenseDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AlcoholDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AlcoholDetailAlcoholRecipientType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Alert.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AlertType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Alerts.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AllowedSpecialService.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AsynchronousProcessingOptionType_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Attributes.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BaseProcessOutputVO_ShipShipment.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryMaterialType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryPackingType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryRegulatoryType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BillingDetails.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BinaryBarcode.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Broker.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BrokerDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BrokerDetailType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailChargeLevelType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailChargeType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailRateLevelType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailRateType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CertificateOfOriginDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoice.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceShipmentPurpose.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceTaxesOrMiscellaneousChargeType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Commodity.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CommodityPurpose.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedEtdDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousPackageDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousShipmentDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousSummaryDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHoldAtLocationDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedPackageDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedShipmentDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Contact.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Contact2.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ContactAndAddress.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ContactAndAddress_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Contact_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Contact_2.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ContentRecord.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CreateShipmentReq.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CreateShipmentResp.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CurrencyExchangeRate.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsage.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageId.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageProvidedImageType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReferenceType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference_1CustomerReferenceType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerSpecifiedLabelDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsClearanceDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsClearanceDetailFreightOnValue.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsDeclarationStatementDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsOptionDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsOptionDetailType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Customs_Money.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DangerousGoodsDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DangerousGoodsDetailAccessibility.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DeliveryOnInvoiceAcceptanceDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DestinationControlDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DestinationControlDetailStatementTypes.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Dimensions.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DimensionsUnits.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContent.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentBarcoded.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentBarcodedSymbology.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentZone001.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabZoneSpecification.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabZoneSpecificationJustification.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentFormatOptionsRequested.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentGenerationDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentRequirementsDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ETDDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/EmailLabelDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/EmailOptionsRequested.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/EmailOptionsRequestedOptions.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/EmailRecipient.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/EmailRecipientRole.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ExportDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ExportDetailB13AFilingOption.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ExpressFreightDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/FixedValue.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/GeneralAgencyAgreementDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityContent001.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityDescription01.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityDescription01PackingGroup.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityInnerReceptacleDetail01.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityOptionDetail01.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityOptionDetail01LabelTextOption.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityPackingDetail01.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail002.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail002QuantityType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetailQuantityType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HoldAtLocationDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HoldAtLocationDetailLocationType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HomeDeliveryPremiumDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HomeDeliveryPremiumDetailHomedeliveryPremiumType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalControlledExportDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalControlledExportDetailType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalTrafficInArmsRegulationsDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/JustContactAndAddress.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LABELRESPONSEOPTIONS.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelResponseVO.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelResponseVOContentType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecification.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationImageType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelFormatType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelOrder.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelPrintingOrientation.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelRotation.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelStockType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LicenseOrPermitDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/MaskedData.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/MasterTrackingId.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Message.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/MessageParameter.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Money.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/NetExplosiveDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/NotificationEventType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Op900Detail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/OpenShipmentAction.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/OperationalInstructions.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Options.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PackageBarcodes.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PackageCODDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PackageOperationalDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PackageRateDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PackageRating.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PackageSpecialServicesRequested.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PackageSpecialServicesRequestedSignatureOptionType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAccountNumber.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress_2.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PartyContact.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PartyContact_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Party_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Party_2.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Party_3.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Payment.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PaymentType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Payment_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Payment_1PaymentType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Payor.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Payor_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentAccessDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentAccessorDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentDetailPendingShipmentType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentProcessingOptionsRequested.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PhoneNumber1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PieceResponse.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PieceResponseServiceCategory.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PriorityAlertDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ProcessingOptions.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ProductName.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RateDiscount.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RateRequestType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Recipient.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientCustomsId.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientCustomsIdType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientsParty.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RecommendedDocumentSpecification.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryAdvisoryDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryControls.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetailGenerationOptions.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetailType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryProhibition.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryWaiver.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedDocumentTypes.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedPackageLineItem.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipment.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentPackageType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentPickupType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentServiceType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentSpecialServiceType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ResponsiblePartyParty.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RetrieveDateRange.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnAssociationDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnEmailDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnInstructionsDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnMerchandiseAuthorization.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShipmentDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShipmentDetailReturnType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormat.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormatDocType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormatStockType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ServiceDescription.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipEmailDispositionDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipMergeLabelDocOption.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEMailNotificationDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEMailNotificationDetailAggregationType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipient.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientEmailNotificationRecipientType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientNotificationFormatType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientNotificationType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentAdvisoryDetails.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetailCodCollectionType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetailReturnReferenceIndicatorType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceDetail_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceProcessingOptionsRequested.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentLegRateDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentOperationalDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentRateDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentRating.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentSpecialServicesRequested.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipperAccountNumber.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipperParty.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentDispositionDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentDispositionDetailDispositionType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailDetailGrouping.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailRecipient.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailRecipientRecipientType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormat.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormatDocType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormatStockType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentSpecification.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentTypes.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/SignatureOptionDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailAncillaryEndorsement.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailIndicia.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailSpecialServices.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/SoldToParty.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/StandaloneBatteryDetails.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/StandaloneBatteryDetailsBatteryMaterialType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/StringBarcode.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Surcharge.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Tax.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/TaxpayerIdentification.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/TaxpayerIdentificationTinType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/TrackingId.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/TransactionDetailVO.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/TransactionShipmentOutputVO.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Types.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetailDocumentType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail_1DocumentType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailCertifierSpecification.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailImporterSpecification.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailProducerSpecification.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailCertifierSpecification.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailImporterSpecification.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailProducerSpecification.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaDetailOriginCriterion.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaLowValueStatementDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaLowValueStatementDetailCustomsRole.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousCommodityContent.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousCommodityDescription.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousContainer.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetail.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateElementBasis.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateLevelType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateType.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Weight.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/WeightUnits.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_1.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_1Units.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_3.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_3Units.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_4.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_4Units.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/options2.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/options3.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Services/RatesAndTransitTimesService.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Services/RequestService.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Services/ShipService.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Tests/RatesAndTransitTimesTests.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Tests/ShipTests.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Tests/TestBase.cs delete mode 100644 TradeManageNew/APIClients/FedexApi/Utils/JsonConverters.cs diff --git a/TradeManageNew/APIClients/FedexApi/FedexAPIClient.cs b/TradeManageNew/APIClients/FedexApi/FedexAPIClient.cs deleted file mode 100644 index f2fc38d..0000000 --- a/TradeManageNew/APIClients/FedexApi/FedexAPIClient.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System; -using TradeManageNew.APIClients.FedexAPI; -using TradeManageNew.APIClients.FedexAPI.Services; - -namespace TradeManageNew.APIClients.FedexApi -{ - public class FedexAPIClient - { - public FedexAPIClient(FedexCredential credential) - { - if (credential is null) - { - throw new Exception("凭证信息不能为空,请检查"); - } - - if (string.IsNullOrEmpty(credential.ClientId)) - { - throw new Exception("ClientId不能为空,请检查"); - } - - if (string.IsNullOrEmpty(credential.ClientSecret)) - { - throw new Exception("ClientSecret不能为空,请检查"); - } - - Credential = credential; - - Ship = new ShipService(credential); - RatesAndTransitTimes = new RatesAndTransitTimesService(credential); - } - - public readonly FedexCredential Credential; - - #region Ship - - /// - /// 官方API文档 https://developer.fedex.com.cn/api/en-us/catalog/ship/v1/docs.html - /// - public ShipService Ship { get; } - - #endregion - - #region RatesAndTransitTimes - - /// - /// 官方API文档 https://developer.fedex.com.cn/api/en-us/catalog/rate/v1/docs.html - /// - public RatesAndTransitTimesService RatesAndTransitTimes { get; } - - #endregion - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/FedexAPIClientMisc.cs b/TradeManageNew/APIClients/FedexApi/FedexAPIClientMisc.cs deleted file mode 100644 index 5077805..0000000 --- a/TradeManageNew/APIClients/FedexApi/FedexAPIClientMisc.cs +++ /dev/null @@ -1,67 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI -{ - public static class FedexAPIClientMisc - { - /// - /// 沙箱环境地址 - /// - public const string SANDBOX_URL = "https://apis-sandbox.fedex.com"; - - /// - /// 生产环境地址 - /// - public const string PRODUCTION_URL = "https://apis.fedex.com"; - - /// - /// 设置西部仓库账户沙箱环境凭证 - /// - /// - public static FedexCredential SetWestSandBoxCredential(this FedexCredential credential) - { - credential.ClientId = "l7c3eeb4b319e94d329c6a29cd7cb4ca60"; - credential.ClientSecret = "82ab698a91244d9d80038d56b7502222"; - credential.AccountNumber = "740561073"; - - return credential; - } - - /// - /// 设置西部仓库账户正式环境凭证 - /// - /// - public static FedexCredential SetWestProductionCredential(this FedexCredential credential) - { - credential.ClientId = "l79b85927590ba4f9aa4435b6711c6a4e5"; - credential.ClientSecret = "9c81856004734312b4eea86652c89d12"; - credential.AccountNumber = "910845691"; - - return credential; - } - - /// - /// 设置东部仓库账户沙箱环境凭证 - /// - /// - public static FedexCredential SetEastSandBoxCredential(this FedexCredential credential) - { - credential.ClientId = "l7eca17acbff47442c8771431483457104"; - credential.ClientSecret = "ab05476bb62242e5bbef5ab87bfd0168"; - credential.AccountNumber = "740561073"; - - return credential; - } - - /// - /// 设置东部仓库账户正式环境凭证 - /// - /// - public static FedexCredential SetEastProductionCredential(this FedexCredential credential) - { - credential.ClientId = "l72a19b2aaee2e43b5b2eae3bd8f1055a0"; - credential.ClientSecret = "7db3f2d302b44f298e7766c781abbd73"; - credential.AccountNumber = "896756010"; - - return credential; - } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/FedexCredential.cs b/TradeManageNew/APIClients/FedexApi/FedexCredential.cs deleted file mode 100644 index 820a35c..0000000 --- a/TradeManageNew/APIClients/FedexApi/FedexCredential.cs +++ /dev/null @@ -1,36 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI -{ - public class FedexCredential - { - public string ClientId { get; set; } - - public string ClientSecret { get; set; } - - public string ChildKey { get; set; } - - public string ChildSecret { get; set; } - - public string AccountNumber { get; set; } - - public string Host { get; set; } - - public bool IsDebugMode { get; set; } - - /// - /// 是否把返回结果读取为字符串 - /// 默认不读取,直接流接收 - /// - public bool ReadResponseAsString { get; set; } - - /// - /// 初始化凭证信息 - /// - /// 是否测试模式 - public FedexCredential(bool isDebugMode = false) - { - IsDebugMode = isDebugMode; - - Host = isDebugMode ? FedexAPIClientMisc.SANDBOX_URL : FedexAPIClientMisc.PRODUCTION_URL; - } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/ErrorResponse.cs b/TradeManageNew/APIClients/FedexApi/Models/ErrorResponse.cs deleted file mode 100644 index 2ed8122..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/ErrorResponse.cs +++ /dev/null @@ -1,63 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public class ErrorResponse - { - /// - /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: bc95c0e4-b33e-42a2-80d2-334282b5d37a - /// - [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, - NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TransactionId { get; set; } - - /// - /// Indicates error details when suspicious files, potential exploits and viruses are found while scanning files, directories and user accounts. This includes code, message and error parameters. - /// - [Newtonsoft.Json.JsonProperty("errors", Required = Newtonsoft.Json.Required.Default, - NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Errors { get; set; } - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public class CXSError - { - /// - /// Indicates the error code.<br>Example: NOT.FOUND.ERROR - /// - [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, - NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Code { get; set; } - - /// - /// List of parameters which indicates the properties of the alert message. - /// - [Newtonsoft.Json.JsonProperty("parameterList", Required = Newtonsoft.Json.Required.Default, - NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection ParameterList { get; set; } - - /// - /// Indicates the API error alert message.<br>Example: We are unable to process this request. Please try again later or contact FedEx Customer Service. - /// - [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, - NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Message { get; set; } - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public class Parameter - { - /// - /// Indicates the error option to be applied. - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, - NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Value { get; set; } - - /// - /// Indicates the value associated with the key. - /// - [Newtonsoft.Json.JsonProperty("key", Required = Newtonsoft.Json.Required.Default, - NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Key { get; set; } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/FedexAPIException.cs b/TradeManageNew/APIClients/FedexApi/Models/FedexAPIException.cs deleted file mode 100644 index d80b469..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/FedexAPIException.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models -{ - [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public class FedexAPIException : System.Exception - { - public int StatusCode { get; private set; } - - public string Response { get; private set; } - - public System.Collections.Generic.IReadOnlyDictionary> Headers { get; private set; } - - public FedexAPIException(string message, int statusCode, string response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Exception innerException) - : base(message + "\n\nStatus: " + statusCode + "\nResponse: \n" + ((response == null) ? "(null)" : response.Substring(0, response.Length >= 512 ? 512 : response.Length)), innerException) - { - StatusCode = statusCode; - Response = response; - Headers = headers; - } - - public override string ToString() - { - return string.Format("HTTP Response: \n\n{0}\n\n{1}", Response, base.ToString()); - } - } - - [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public class FedexAPIException : FedexAPIException - { - public TResult Result { get; private set; } - - public FedexAPIException(string message, int statusCode, string response, System.Collections.Generic.IReadOnlyDictionary> headers, TResult result, System.Exception innerException) - : base(message, statusCode, response, headers, innerException) - { - Result = result; - } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AccountNumber.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AccountNumber.cs deleted file mode 100644 index e1602a4..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AccountNumber.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// This is the Account number details.<br><i>Note:<ul><li>If the paymentType is Sender, then the account number is optional in shippingChargesPayment.</li><li>In case if this is shipping account number, do use the account number used for creating Auth Token.</li></ul> - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", - "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public class AccountNumber - { - /// - /// This is the account number. Maximum Length is 9. <br>Example: Your account number - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Value { get; set; } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address.cs deleted file mode 100644 index ae9f620..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address.cs +++ /dev/null @@ -1,49 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// This is detailed information on physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the U.S.). - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Address - { - /// - /// This is a placeholder for City Name. <br> Example: Beverly Hills - /// - [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string City { get; set; } - - /// - /// This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2. <br> Example: CA <br><a onclick='loadDocReference("canadaprovincecodes")'>Click here to see State Or Province Code</a> - /// - [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StateOrProvinceCode { get; set; } - - /// - /// Indicate the Postal code. This is optional for non postal-aware countries. Maximum length is 10.<br> Example: 65247<br><a onclick='loadDocReference("postalawarecountries")'>Click here to see Postal aware countries</a> - /// - [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PostalCode { get; set; } - - /// - /// This is the two-letter country code. Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>Click here to see Country Codes</a> - /// - [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CountryCode { get; set; } - - /// - /// Indicate whether this address is residential (as opposed to commercial). <br> Valid values are TRUE and FALSE. - /// - [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Residential { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address_1.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address_1.cs deleted file mode 100644 index 0a0ced8..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address_1.cs +++ /dev/null @@ -1,49 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// This is detailed information on physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the US). Country code is required. Postal code is required for postal aware countries. State or province code is mandatory for Puerto Rico. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Address_1 - { - /// - /// Specify name of city, town, etc.<br> Example: Beverly Hills - /// - [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string City { get; set; } - - /// - /// Specify State or province code. Maximum length is 2.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.<br> Example: CA <br><a onclick='loadDocReference("canadaprovincecodes")'>Click here to see State Or Province Codes</a> - /// - [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StateOrProvinceCode { get; set; } - - /// - /// Specify the postal code. This is optional for non postal- aware countries. Maximum length is 10.<br> Example: 65247<br><a onclick='loadDocReference("postalawarecountries")'>Click here to see Postal aware countries</a> - /// - [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PostalCode { get; set; } - - /// - /// The two-letter country code. Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>Click here to see Country Codes</a> - /// - [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CountryCode { get; set; } - - /// - /// Indicate whether this address is residential (as opposed to commercial). - /// - [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Residential { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address_2.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address_2.cs deleted file mode 100644 index 9444fef..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address_2.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// This is detailed information on physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the U.S.). - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Address_2 - { - /// - /// This is a placeholder for City Name. <br> Example: Beverly Hills - /// - [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string City { get; set; } - - /// - /// This is a placeholder for State or Province code. State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2 .<br> Example: CA <br><a onclick='loadDocReference("canadaprovincecodes")'>Click here to see State Or Province Code</a> - /// - [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StateOrProvinceCode { get; set; } - - /// - /// Indicate the Postal code. This is optional for non postal-aware countries. Maximum length is 10.<br> Example: 65247<br><a onclick='loadDocReference("postalawarecountries")'>Click here to see Postal aware countries</a> - /// - [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PostalCode { get; set; } - - /// - /// This is the two-letter country code. Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>Click here to see Country Codes</a> - /// - [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CountryCode { get; set; } - - /// - /// Indicate whether this address is residential (as opposed to commercial). - /// - [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Residential { get; set; } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlcoholDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlcoholDetail.cs deleted file mode 100644 index 6a951ca..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlcoholDetail.cs +++ /dev/null @@ -1,33 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicate the alcohol shipment details. This object is mandatory if alcohol special service is selected. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class AlcoholDetail - { - /// - /// Specify the recipient type for the alcohol shipment. - /// - [Newtonsoft.Json.JsonProperty("alcoholRecipientType", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public AlcoholDetailAlcoholRecipientType AlcoholRecipientType { get; set; } - - /// - /// Specify the shipper entity type. <br>Example: Fulfillment house, Retailer or a Winery. - /// - [Newtonsoft.Json.JsonProperty("shipperAgreementType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ShipperAgreementType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlcoholDetailAlcoholRecipientType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlcoholDetailAlcoholRecipientType.cs deleted file mode 100644 index f9081de..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlcoholDetailAlcoholRecipientType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum AlcoholDetailAlcoholRecipientType - { - - [System.Runtime.Serialization.EnumMember(Value = @"LICENSEE")] - LICENSEE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"CONSUMER")] - CONSUMER = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Alert.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Alert.cs deleted file mode 100644 index fb1fdf1..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Alert.cs +++ /dev/null @@ -1,38 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Specifies the alerts. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Alert - { - /// - /// Specifies the alert code. - /// - [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Code { get; set; } - - /// - /// Specifies the alert type. - /// - [Newtonsoft.Json.JsonProperty("alertType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public AlertType? AlertType { get; set; } - - /// - /// Specifies the alert message. - /// - [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Message { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlertType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlertType.cs deleted file mode 100644 index e2b0b52..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlertType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum AlertType - { - - [System.Runtime.Serialization.EnumMember(Value = @"NOTE")] - NOTE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"WARNING")] - WARNING = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Alternate_Currency_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Alternate_Currency_Rate_Quote.cs deleted file mode 100644 index 7749741..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Alternate_Currency_Rate_Quote.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Alternate_Currency_Rate_Quote - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AncillaryFeesAndTaxes.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AncillaryFeesAndTaxes.cs deleted file mode 100644 index bffb1e6..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AncillaryFeesAndTaxes.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class AncillaryFeesAndTaxes - { - /// - /// Specifies the list of ancillary fees And Taxes - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } - - /// - /// Identifies the amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Anonymous.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Anonymous.cs deleted file mode 100644 index 2e18491..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Anonymous.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Anonymous - { - [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string PhoneNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("phoneNumberCountryCode", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string PhoneNumberCountryCode { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BaseProcessOutputVO.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BaseProcessOutputVO.cs deleted file mode 100644 index 2688890..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BaseProcessOutputVO.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// This is the response object for a rate quote request. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class BaseProcessOutputVO - { - /// - /// This object will hold the rate and shipment data returned for a request. - /// - [Newtonsoft.Json.JsonProperty("rateReplyDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection RateReplyDetails { get; set; } - - /// - /// The date on which the rate is quoted.<br> Example: 2019-09-18 - /// - [Newtonsoft.Json.JsonProperty("quoteDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string QuoteDate { get; set; } - - /// - /// Specifies the encoded form of the rate. <br> Example: false - /// - [Newtonsoft.Json.JsonProperty("isEncoded", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsEncoded { get; set; } - - /// - /// The alert code, alert type, and alert message obtained when a rate quote is requested. - /// - [Newtonsoft.Json.JsonProperty("alerts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Alerts { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetail.cs deleted file mode 100644 index 7de3618..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetail.cs +++ /dev/null @@ -1,40 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Describe the attributes of a battery or cell that are used for classification purposes. Typically this structure would be used to allow customers to declare batteries or cells for which full dangerous goods documentation and procedures are not required. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class BatteryClassificationDetail - { - /// - /// Describes the material composition of the battery or cell. Example: LITHIUM_METAL - /// - [Newtonsoft.Json.JsonProperty("material", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public BatteryClassificationDetailMaterial? Material { get; set; } - - /// - /// Specify the regulation specific classification for the battery or cell. - /// - [Newtonsoft.Json.JsonProperty("regulatorySubType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public BatteryClassificationDetailRegulatorySubType? RegulatorySubType { get; set; } - - /// - /// Indicate the packing arrangement of the battery or cell with respect to other items within the same package. Example: CONTAINED_IN_EQUIPMENT - /// - [Newtonsoft.Json.JsonProperty("packing", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public BatteryClassificationDetailPacking? Packing { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailMaterial.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailMaterial.cs deleted file mode 100644 index 06f623b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailMaterial.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum BatteryClassificationDetailMaterial - { - - [System.Runtime.Serialization.EnumMember(Value = @"LITHIUM_METAL")] - LITHIUM_METAL = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"LITHIUM_ION")] - LITHIUM_ION = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailPacking.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailPacking.cs deleted file mode 100644 index 94adb02..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailPacking.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum BatteryClassificationDetailPacking - { - - [System.Runtime.Serialization.EnumMember(Value = @"CONTAINED_IN_EQUIPMENT")] - CONTAINED_IN_EQUIPMENT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"PACKED_WITH_EQUIPMENT")] - PACKED_WITH_EQUIPMENT = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailRegulatorySubType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailRegulatorySubType.cs deleted file mode 100644 index afc38f9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailRegulatorySubType.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum BatteryClassificationDetailRegulatorySubType - { - - [System.Runtime.Serialization.EnumMember(Value = @"IATA_SECTION_II")] - IATA_SECTION_II = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BillingWeight.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BillingWeight.cs deleted file mode 100644 index 9a2a876..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BillingWeight.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class BillingWeight : Weight - { - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail.cs deleted file mode 100644 index 561c0ad..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail.cs +++ /dev/null @@ -1,33 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// These are Broker Detail for the rate quote. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class BrokerDetail - { - [Newtonsoft.Json.JsonProperty("broker", Required = Newtonsoft.Json.Required.Always)] - public BrokerDetailBroker Broker { get; set; } - - /// - /// This is Broker Type. - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public BrokerDetailType Type { get; set; } - - [Newtonsoft.Json.JsonProperty("brokerAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Brokeraddress BrokerAddress { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailBroker.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailBroker.cs deleted file mode 100644 index 4096bcb..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailBroker.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class BrokerDetailBroker : Party - { - /// - /// These are Broker address details. - /// - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public object Address { get; set; } - - /// - /// These are broker contact details such as Name, Email, PhoneNumber. - /// - [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public object Contact { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailBroker_RateReply.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailBroker_RateReply.cs deleted file mode 100644 index 9a2719f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailBroker_RateReply.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class BrokerDetailBroker_RateReply : Party - { - /// - /// These are Broker address details. - /// - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public object Address { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailType.cs deleted file mode 100644 index 7828d59..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum BrokerDetailType - { - - [System.Runtime.Serialization.EnumMember(Value = @"EXPORT")] - EXPORT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"IMPORT")] - IMPORT = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail_RateReply.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail_RateReply.cs deleted file mode 100644 index 5bdb404..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail_RateReply.cs +++ /dev/null @@ -1,33 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// These are Broker Detail for the rate quote. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class BrokerDetail_RateReply - { - [Newtonsoft.Json.JsonProperty("broker", Required = Newtonsoft.Json.Required.Always)] - public BrokerDetailBroker_RateReply Broker { get; set; } - - /// - /// This is Broker Type. - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public BrokerDetail_RateReplyType Type { get; set; } - - [Newtonsoft.Json.JsonProperty("brokerAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Brokeraddress BrokerAddress { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail_RateReplyType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail_RateReplyType.cs deleted file mode 100644 index 2c0dac9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail_RateReplyType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum BrokerDetail_RateReplyType - { - - [System.Runtime.Serialization.EnumMember(Value = @"EXPORT")] - EXPORT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"IMPORT")] - IMPORT = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Brokeraddress.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Brokeraddress.cs deleted file mode 100644 index 788ebfe..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Brokeraddress.cs +++ /dev/null @@ -1,79 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// This is the broker address used for this shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Brokeraddress - { - /// - /// This is the combination of number, street name, etc. <br>Note: At least one line is required and streetlines more than 3 will be ignored. Empty lines should not be included. Maximum Length per line is 35.<br>Example: [10 FedEx Parkway, Suite 302, .etc.] - /// - [Newtonsoft.Json.JsonProperty("streetLines", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection StreetLines { get; set; } - - /// - /// This is city name.<br> Example: Beverly Hills - /// - [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string City { get; set; } - - /// - /// This is the state Or Province Code. State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.<br> Example: CA<br><a onclick='loadDocReference("canadaprovincecodes")'>Click here to see State Or Province Code</a> - /// - [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StateOrProvinceCode { get; set; } - - /// - /// This is the postal code. <br> Example: 90210<br><a onclick='loadDocReference("postalawarecountries")'>Click here to see Postal aware countries</a> - /// - [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PostalCode { get; set; } - - /// - /// This is the country code.<br>US<br><a onclick='loadDocReference("countrycodes")'>Click here to see Country Codes</a> - /// - [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CountryCode { get; set; } - - /// - /// Indicate whether this address is residential (as opposed to commercial). <br> Valid values are TRUE and FALSE. - /// - [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Residential { get; set; } - - /// - /// Specify the classification of the address. <br> Example: residential - /// - [Newtonsoft.Json.JsonProperty("classification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Classification { get; set; } - - /// - /// Specify the geographic coordinates.<br> Example: geographicCoordinates - /// - [Newtonsoft.Json.JsonProperty("geographicCoordinates", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string GeographicCoordinates { get; set; } - - /// - /// Specify the urbanization code. - /// - [Newtonsoft.Json.JsonProperty("urbanizationCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string UrbanizationCode { get; set; } - - /// - /// Specify the country name.<br> Example: India - /// - [Newtonsoft.Json.JsonProperty("countryName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CountryName { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetail.cs deleted file mode 100644 index 4429cc9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetail.cs +++ /dev/null @@ -1,47 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// These are COD Transportation Charges Detail. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CODTransportationChargesDetail - { - /// - /// Specify COD Rate Type. - /// - [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CODTransportationChargesDetailRateType? RateType { get; set; } - - /// - /// Specify whether the rate applied on bundle or indiividual package. - /// - [Newtonsoft.Json.JsonProperty("rateLevelType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CODTransportationChargesDetailRateLevelType? RateLevelType { get; set; } - - /// - /// Specify whether the charges applied on current or all packages. - /// - [Newtonsoft.Json.JsonProperty("chargeLevelType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CODTransportationChargesDetailChargeLevelType? ChargeLevelType { get; set; } - - /// - /// Specify the Charges Type. - /// - [Newtonsoft.Json.JsonProperty("chargeType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CODTransportationChargesDetailChargeType? ChargeType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailChargeLevelType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailChargeLevelType.cs deleted file mode 100644 index 3e25755..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailChargeLevelType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CODTransportationChargesDetailChargeLevelType - { - - [System.Runtime.Serialization.EnumMember(Value = @"CURRENT_PACKAGE")] - CURRENT_PACKAGE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"SUM_OF_PACKAGES")] - SUM_OF_PACKAGES = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailChargeType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailChargeType.cs deleted file mode 100644 index 1b6548d..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailChargeType.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CODTransportationChargesDetailChargeType - { - - [System.Runtime.Serialization.EnumMember(Value = @"COD_SURCHARGE")] - COD_SURCHARGE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"NET_CHARGE")] - NET_CHARGE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"NET_FREIGHT")] - NET_FREIGHT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_CUSTOMER_CHARGE")] - TOTAL_CUSTOMER_CHARGE = 3, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailRateLevelType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailRateLevelType.cs deleted file mode 100644 index 3ce5bea..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailRateLevelType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CODTransportationChargesDetailRateLevelType - { - - [System.Runtime.Serialization.EnumMember(Value = @"BUNDLED_RATE")] - BUNDLED_RATE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"INDIVIDUAL_PACKAGE_RATE")] - INDIVIDUAL_PACKAGE_RATE = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailRateType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailRateType.cs deleted file mode 100644 index d911d7a..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailRateType.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CODTransportationChargesDetailRateType - { - - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT")] - ACCOUNT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"ACTUAL")] - ACTUAL = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"CURRENT")] - CURRENT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM")] - CUSTOM = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"LIST")] - LIST = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"INCENTIVE")] - INCENTIVE = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED")] - PREFERRED = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED_INCENTIVE")] - PREFERRED_INCENTIVE = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED_CURRENCY")] - PREFERRED_CURRENCY = 8, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError.cs deleted file mode 100644 index 9388cde..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CXSError - { - /// - /// Indicates the error code.<br>Example:<br>ACCOUNT.NUMBER.MISMATCH<br> - /// - [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Code { get; set; } - - /// - /// List of parameters which indicates the properties of the alert message. - /// - [Newtonsoft.Json.JsonProperty("parameterList", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection ParameterList { get; set; } - - /// - /// Indicates the description of error alert message.<br>Example: When payment Type is SENDER, ShippingChargesPayment Payor AccountNumber should match the shipper account number. - /// - [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Message { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError401.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError401.cs deleted file mode 100644 index 1fe658f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError401.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CXSError401 - { - /// - /// Indicates the error code.<br>Example: NOT.AUTHORIZED.ERROR - /// - [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Code { get; set; } - - /// - /// Specifies list of parameters. - /// - [Newtonsoft.Json.JsonProperty("parameterList", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection ParameterList { get; set; } - - /// - /// Indicates the description of API error alert message.<br>Example: Access token expired. Please modify your request and try again. - /// - [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public object Message { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError403.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError403.cs deleted file mode 100644 index 82653b7..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError403.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CXSError403 - { - /// - /// Indicates the error code.<br>Example: FORBIDDEN.ERROR - /// - [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Code { get; set; } - - /// - /// Specifies list of parameters. - /// - [Newtonsoft.Json.JsonProperty("parameterList", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection ParameterList { get; set; } - - /// - /// Indicates the description of API error alert message.<br>Example: We could not authorize your credentials. Please check your permissions and try again - /// - [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public object Message { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError404.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError404.cs deleted file mode 100644 index 74cff1b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError404.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CXSError404 - { - /// - /// Indicates the error code.<br>Example: NOT.FOUND.ERROR - /// - [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Code { get; set; } - - /// - /// Specifies list of parameters. - /// - [Newtonsoft.Json.JsonProperty("parameterList", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection ParameterList { get; set; } - - /// - /// Indicates the description of API error alert message.<br>Example: The resource you requested is no longer available. Please modify your request and try again. - /// - [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public object Message { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError500.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError500.cs deleted file mode 100644 index 7d0ce9d..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError500.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CXSError500 - { - /// - /// Indicates the error code.<br>Example: INTERNAL.SERVER.ERROR - /// - [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Code { get; set; } - - /// - /// Specifies list of parameters. - /// - [Newtonsoft.Json.JsonProperty("parameterList", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection ParameterList { get; set; } - - /// - /// Indicates the description of API error alert message.<br>Example: We encountered an unexpected error and are working to resolve the issue. We apologize for any inconvenience. Please check back at a later time. - /// - [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public object Message { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError503.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError503.cs deleted file mode 100644 index 179dd71..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError503.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CXSError503 - { - /// - /// Indicates the error code.<br>Example: SERVICE.UNAVAILABLE.ERROR - /// - [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Code { get; set; } - - /// - /// Specifies list of parameters. - /// - [Newtonsoft.Json.JsonProperty("parameterList", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection ParameterList { get; set; } - - /// - /// Indicates the description of API error alert message.<br>Example: The service is currently unavailable and we are working to resolve the issue. We apologize for any inconvenience. Please check back at a later time. - /// - [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public object Message { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommercialInvoice.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommercialInvoice.cs deleted file mode 100644 index 310805a..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommercialInvoice.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// The Commercial Invoice element is required for electronic upload of CI data. It will serve to create/transmit an electronic Commercial Invoice through the FedEx system.<br>Customers are responsible for printing their own Commercial Invoice.<br>If you would like FedEx to generate a Commercial Invoice and transmit it to Customs for clearance purposes, you need to specify that in the 'ETDDetail/RequesteDocumentCopies' element.<br> Support consists of a Maximum of 99 commodity line items. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CommercialInvoice - { - /// - /// The reason for the shipment. Note: SOLD is not a valid purpose for a Proforma Invoice. - /// - [Newtonsoft.Json.JsonProperty("shipmentPurpose", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CommercialInvoiceShipmentPurpose? ShipmentPurpose { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommercialInvoiceShipmentPurpose.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommercialInvoiceShipmentPurpose.cs deleted file mode 100644 index c1d55b5..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommercialInvoiceShipmentPurpose.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CommercialInvoiceShipmentPurpose - { - - [System.Runtime.Serialization.EnumMember(Value = @"GIFT")] - GIFT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"NOT_SOLD")] - NOT_SOLD = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_EFFECTS")] - PERSONAL_EFFECTS = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"REPAIR_AND_RETURN")] - REPAIR_AND_RETURN = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"SAMPLE")] - SAMPLE = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"SOLD")] - SOLD = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL")] - COMMERCIAL = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"RETURN_AND_REPAIR")] - RETURN_AND_REPAIR = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_USE")] - PERSONAL_USE = 8, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Commit.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Commit.cs deleted file mode 100644 index 5f48b08..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Commit.cs +++ /dev/null @@ -1,78 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// The delivery commitment details - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Commit - { - /// - /// Code indicating the number of transit days.<br> Example: EIGHTEEN_DAYS - /// - [Newtonsoft.Json.JsonProperty("daysInTransit", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CommitDaysInTransit? DaysInTransit { get; set; } - - /// - /// Indicates if there is a guaranteed delivery option applied to the rate. This is for freight rates only.<br> Valid values<br>GUARANTEED_MORNING - guaranteed delivery on morning of date specified.<br>GUARANTEED_CLOSE_OF_BUSINESS - guaranteed delivery on date specified by close of day<br> Example: GUARANTEED_MORNING - /// - [Newtonsoft.Json.JsonProperty("guaranteedType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CommitGuaranteedType? GuaranteedType { get; set; } - - /// - /// CommitTime for SmartPost shipments. - /// - [Newtonsoft.Json.JsonProperty("smartPostCommitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string SmartPostCommitTime { get; set; } - - [Newtonsoft.Json.JsonProperty("dateDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DateDetail DateDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("delayDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DelayDetail DelayDetails { get; set; } - - /// - /// Specifies the saturdayDelivery. - /// - [Newtonsoft.Json.JsonProperty("saturdayDelivery", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? SaturdayDelivery { get; set; } - - /// - /// Specifies the alternate names of commodities. - /// - [Newtonsoft.Json.JsonProperty("alternativeCommodityNames", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection AlternativeCommodityNames { get; set; } - - [Newtonsoft.Json.JsonProperty("transitDays", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TransitDays TransitDays { get; set; } - - /// - /// This is an informational message to inform client Deliverydate is unavailable. If commitTimestamp and transitTime are unavailable, then this is populated in the response in the client language.<br>Example: Deliverydate unavailable - /// - [Newtonsoft.Json.JsonProperty("label", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Label { get; set; } - - /// - /// Messages concerning the ability to provide an accurate delivery commitment on an International commit quote. These could be messages providing information about why a commitment could not be returned or a successful message. <br> Example: Message - /// - [Newtonsoft.Json.JsonProperty("commitMessageDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CommitMessageDetails { get; set; } - - /// - /// The Commodity applicable to this commitment.<br> Example: DOCUMENTS - /// - [Newtonsoft.Json.JsonProperty("commodityName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CommodityName { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommitDaysInTransit.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommitDaysInTransit.cs deleted file mode 100644 index 5b3303b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommitDaysInTransit.cs +++ /dev/null @@ -1,74 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CommitDaysInTransit - { - - [System.Runtime.Serialization.EnumMember(Value = @"EIGHT_DAYS")] - EIGHT_DAYS = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"EIGHTEEN_DAYS")] - EIGHTEEN_DAYS = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"ELEVEN_DAYS")] - ELEVEN_DAYS = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FIFTEEN_DAYS")] - FIFTEEN_DAYS = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"FIVE_DAYS")] - FIVE_DAYS = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"FOUR_DAYS")] - FOUR_DAYS = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"FOURTEEN_DAYS")] - FOURTEEN_DAYS = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"NINE_DAYS")] - NINE_DAYS = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"NINETEEN_DAYS")] - NINETEEN_DAYS = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"ONE_DAY")] - ONE_DAY = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"SEVEN_DAYS")] - SEVEN_DAYS = 10, - - [System.Runtime.Serialization.EnumMember(Value = @"SEVENTEEN_DAYS")] - SEVENTEEN_DAYS = 11, - - [System.Runtime.Serialization.EnumMember(Value = @"SIX_DAYS")] - SIX_DAYS = 12, - - [System.Runtime.Serialization.EnumMember(Value = @"SIXTEEN_DAYS")] - SIXTEEN_DAYS = 13, - - [System.Runtime.Serialization.EnumMember(Value = @"TEN_DAYS")] - TEN_DAYS = 14, - - [System.Runtime.Serialization.EnumMember(Value = @"THIRTEEN_DAYS")] - THIRTEEN_DAYS = 15, - - [System.Runtime.Serialization.EnumMember(Value = @"THREE_DAYS")] - THREE_DAYS = 16, - - [System.Runtime.Serialization.EnumMember(Value = @"TWELVE_DAYS")] - TWELVE_DAYS = 17, - - [System.Runtime.Serialization.EnumMember(Value = @"TWENTY_DAYS")] - TWENTY_DAYS = 18, - - [System.Runtime.Serialization.EnumMember(Value = @"TWO_DAYS")] - TWO_DAYS = 19, - - [System.Runtime.Serialization.EnumMember(Value = @"SMARTPOST_TRANSIT_DAYS")] - SMARTPOST_TRANSIT_DAYS = 20, - - [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] - UNKNOWN = 21, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommitGuaranteedType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommitGuaranteedType.cs deleted file mode 100644 index 1363302..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommitGuaranteedType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CommitGuaranteedType - { - - [System.Runtime.Serialization.EnumMember(Value = @"GUARANTEED_MORNING")] - GUARANTEED_MORNING = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"GUARANTEED_CLOSE_OF_BUSINESS")] - GUARANTEED_CLOSE_OF_BUSINESS = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Commodity.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Commodity.cs deleted file mode 100644 index fd323ec..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Commodity.cs +++ /dev/null @@ -1,79 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Commodity - { - /// - /// Indicate the description of the dutiable packages.<br> Maximum Length is 450. <br> Example: DOCUMENTS <br><a onclick='loadDocReference("vaguecommoditydescriptions")'>Click here to see Vague commodity descriptions</a> - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// Specify the Total weight of this commodity. This element is used to estimate duties and taxes. - /// - [Newtonsoft.Json.JsonProperty("weight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Weight_2 Weight { get; set; } - - /// - /// Specify the total number of units (using quantityUnits as the unit of measure) of this commodity present in the shipment. This element is used to estimate duties and taxes. <br>Example: 1 - /// - [Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Quantity { get; set; } - - /// - /// Specify the required Customs value for this commodity. - /// - [Newtonsoft.Json.JsonProperty("customsValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Money CustomsValue { get; set; } - - [Newtonsoft.Json.JsonProperty("unitPrice", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public UnitPrice UnitPrice { get; set; } - - /// - /// Specifies the number of pieces for this commodity.<br>Example: 10 - /// - [Newtonsoft.Json.JsonProperty("numberOfPieces", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? NumberOfPieces { get; set; } - - /// - /// This is a manufacturing country. Maximum field Length is 4<br> Example: IN - /// - [Newtonsoft.Json.JsonProperty("countryOfManufacture", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CountryOfManufacture { get; set; } - - /// - /// Indicate quantiy unit used. Used to estimate duties and taxes <br> Example: PCS<br><a onclick='loadDocReference("harmonizedsystemcodeunitofmeasure-table1")'>click here to see Commodity Unit Measures</a> - /// - [Newtonsoft.Json.JsonProperty("quantityUnits", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string QuantityUnits { get; set; } - - /// - /// Indicate the Commodity name<br>Example: DOCUMENTS - /// - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } - - /// - /// This is to specify the Harmonized Tariff System (HTS) code to meet U.S. and foreign governments' customs requirements. These are mainly used to estimate the duties and taxes.<br>Example: A six digit code for Almonds fresh or dried is 080211. The HTS code for pistachios in shell is 080251. The HTS code for fish is HS203.<br>To research the classification for your commodity, use the FedEx Global Trade Manager online at <a href='http://www.fedex.com/gtm' target='_blank'>fedex.com/gtm</a>. You can find the commodities and its respective codes by logging into FedEx and selecting harmonized code option. You will find country-specific information to determine whether your commodity is considered to be a document or non-document for your destination. <br>For additional information about harmonized code, refer to <a href='https://www.usitc.gov/documents/hts_external_guide.pdf' target='_blank'>harmonized code</a>. - /// - [Newtonsoft.Json.JsonProperty("harmonizedCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string HarmonizedCode { get; set; } - - /// - /// Specify the part number if any. Example: P1 - /// - [Newtonsoft.Json.JsonProperty("partNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PartNumber { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Contact.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Contact.cs deleted file mode 100644 index 1563cf4..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Contact.cs +++ /dev/null @@ -1,55 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicates the contact details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Contact - { - /// - /// Specifies contact name.<br>Note: Recommended Length is 70. There's no specific validation for the length.<br> Example: John Taylor - /// - [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PersonName { get; set; } - - /// - /// Specifies contact email address. Maximum length is 80. <br> Example: sample@company.com - /// - [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EmailAddress { get; set; } - - /// - /// Specifies contact phone number. Maximum length is 15. <br> Example: 1234567890 - /// - [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneNumber { get; set; } - - /// - /// Specifies contact phone extension. Maximum length is 6. <br> Example: 1234 - /// - [Newtonsoft.Json.JsonProperty("phoneExtension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneExtension { get; set; } - - /// - /// Specifies contact fax number. Maximum length is 15. <br> Example: 1234567890 - /// - [Newtonsoft.Json.JsonProperty("faxNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FaxNumber { get; set; } - - /// - /// Specifies contact company name. Maximum length is 35. - /// - [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CompanyName { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ContactAndAddress.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ContactAndAddress.cs deleted file mode 100644 index da9f800..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ContactAndAddress.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Specify the contact and address details of a location. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ContactAndAddress - { - [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Contact_2 Contact { get; set; } - - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Address_1 Address { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Contact_2.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Contact_2.cs deleted file mode 100644 index a443dae..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Contact_2.cs +++ /dev/null @@ -1,55 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicate the contact details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Contact_2 - { - /// - /// Specify contact name.<br>Note: Recommended Length is 70. There's no specific validation for the length.<br> Example: John Taylor - /// - [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PersonName { get; set; } - - /// - /// Specify contact email address. Maximum length is 80. <br> Example: sample@company.com - /// - [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EmailAddress { get; set; } - - /// - /// Specify contact phone number. Maximum length is 15. <br> Example: 1234567890 - /// - [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneNumber { get; set; } - - /// - /// Specify contact phone extension. Maximum length is 6. <br> Example: 1234 - /// - [Newtonsoft.Json.JsonProperty("phoneExtension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneExtension { get; set; } - - /// - /// Specify contact fax number. Maximum length is 15. <br> Example: 1234567890 - /// - [Newtonsoft.Json.JsonProperty("faxNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FaxNumber { get; set; } - - /// - /// Specify contact company name. Maximum length is 35. - /// - [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CompanyName { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CurrencyExchangeRate.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CurrencyExchangeRate.cs deleted file mode 100644 index 9b1ae92..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CurrencyExchangeRate.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Specifies the currency exchange performed on financial amounts for this rate. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CurrencyExchangeRate - { - /// - /// The currency code for the original (converted FROM) currency. - /// - [Newtonsoft.Json.JsonProperty("fromCurrency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FromCurrency { get; set; } - - /// - /// The currency code for the final (converted INTO) currency. - /// - [Newtonsoft.Json.JsonProperty("intoCurrency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string IntoCurrency { get; set; } - - /// - /// Multiplier used to convert fromCurrency units to intoCurrency units. - /// - [Newtonsoft.Json.JsonProperty("rate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Rate { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CustomerMessage.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CustomerMessage.cs deleted file mode 100644 index bedc603..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CustomerMessage.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// This the Customer Message returned in the reply. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CustomerMessage - { - /// - /// This is a message code.<br> Example:SERVICE.TYPE.INTERNATIONAL.MESSAGE - /// - [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Code { get; set; } - - /// - /// This is a message description.<br> Example: Rate does not include duties & taxes, clearance entry fees or other import fees. The payor of duties/taxes/fees will be responsible for any applicable Clearance Entry Fees - /// - [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Message { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainer.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainer.cs deleted file mode 100644 index 815fb6a..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainer.cs +++ /dev/null @@ -1,63 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Dangerous Goods Container - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DangerousGoodsContainer - { - /// - /// Specify the shipper name(offeror) or contact number. Required on all shipping papers. - /// - [Newtonsoft.Json.JsonProperty("offeror", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Offeror { get; set; } - - /// - /// Specify the kinds and quantities of all hazardous commodities in the current container. - /// - [Newtonsoft.Json.JsonProperty("hazardousCommodities", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection HazardousCommodities { get; set; } - - /// - /// Indicate the number of containers. - /// - [Newtonsoft.Json.JsonProperty("numberOfContainers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? NumberOfContainers { get; set; } - - /// - /// Indicate the type of container. - /// - [Newtonsoft.Json.JsonProperty("containerType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ContainerType { get; set; } - - [Newtonsoft.Json.JsonProperty("emergencyContactNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PhoneNumber EmergencyContactNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("packaging", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public HazardousCommodityPackagingDetail Packaging { get; set; } - - /// - /// Indicate the packing type used. - /// - [Newtonsoft.Json.JsonProperty("packingType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public DangerousGoodsContainerPackingType? PackingType { get; set; } - - /// - /// Indicate the packaging type of the container used to package the radioactive materials. - /// - [Newtonsoft.Json.JsonProperty("radioactiveContainerClass", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public DangerousGoodsContainerRadioactiveContainerClass? RadioactiveContainerClass { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainerPackingType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainerPackingType.cs deleted file mode 100644 index 014429e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainerPackingType.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum DangerousGoodsContainerPackingType - { - - [System.Runtime.Serialization.EnumMember(Value = @"ALL_PACKED_IN_ONE")] - ALL_PACKED_IN_ONE = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainerRadioactiveContainerClass.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainerRadioactiveContainerClass.cs deleted file mode 100644 index a0b9b2b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainerRadioactiveContainerClass.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum DangerousGoodsContainerRadioactiveContainerClass - { - - [System.Runtime.Serialization.EnumMember(Value = @"EXCEPTED_PACKAGE")] - EXCEPTED_PACKAGE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"INDUSTRIAL_IP1")] - INDUSTRIAL_IP1 = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"INDUSTRIAL_IP2")] - INDUSTRIAL_IP2 = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"INDUSTRIAL_IP3")] - INDUSTRIAL_IP3 = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"TYPE_A")] - TYPE_A = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"TYPE_B_M")] - TYPE_B_M = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"TYPE_B_U")] - TYPE_B_U = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"TYPE_C")] - TYPE_C = 7, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetail.cs deleted file mode 100644 index f5f3f01..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetail.cs +++ /dev/null @@ -1,45 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Use this object to specify Dangerous Goods shipment Detail. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DangerousGoodsDetail - { - /// - /// Indicate the Dangerous Goods Accessibility Type.<br> Inaccessible means it does not have to be accessible on the aircraft. Accessible means it must be fully accessible on the aircraft, and is more strictly controlled. - /// - [Newtonsoft.Json.JsonProperty("accessibility", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public DangerousGoodsDetailAccessibility? Accessibility { get; set; } - - /// - /// Specify the special handling requested for the package.<br> Example: BATTERY - /// - [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection Options { get; set; } - - /// - /// Indicate one or more containers used to pack dangerous goods commodities. - /// - [Newtonsoft.Json.JsonProperty("containers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Containers { get; set; } - - /// - /// The hazardous package shipment regulation type. - /// - [Newtonsoft.Json.JsonProperty("regulation", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public DangerousGoodsDetailRegulation? Regulation { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetailAccessibility.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetailAccessibility.cs deleted file mode 100644 index 1334b7b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetailAccessibility.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum DangerousGoodsDetailAccessibility - { - - [System.Runtime.Serialization.EnumMember(Value = @"ACCESSIBLE")] - ACCESSIBLE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"INACCESSIBLE")] - INACCESSIBLE = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetailRegulation.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetailRegulation.cs deleted file mode 100644 index 3a69f27..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetailRegulation.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum DangerousGoodsDetailRegulation - { - - [System.Runtime.Serialization.EnumMember(Value = @"ADR")] - ADR = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"DOT")] - DOT = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"IATA")] - IATA = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"ORMD")] - ORMD = 3, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DateDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DateDetail.cs deleted file mode 100644 index 2b5ab2d..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DateDetail.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// These are date and time details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DateDetail - { - /// - /// specific day of week in short format<br>Example: MON, TUE - /// - [Newtonsoft.Json.JsonProperty("dayOfWeek", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DayOfWeek { get; set; } - - /// - /// This is expected delivery date in format [YYYY-MM-DDTHH:mm:ss]<br>Example: 2020-07-16T10:30:00 - /// - [Newtonsoft.Json.JsonProperty("dayFormat", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DayFormat { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DelayDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DelayDetail.cs deleted file mode 100644 index e47ffc3..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DelayDetail.cs +++ /dev/null @@ -1,55 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Information about why a shipment delivery is delayed and at what level - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DelayDetail - { - /// - /// delay date. format [YYYY-MM-DD] - /// - [Newtonsoft.Json.JsonProperty("date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Date { get; set; } - - /// - /// The delay day of the week - /// - [Newtonsoft.Json.JsonProperty("dayOfWeek", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DayOfWeek { get; set; } - - /// - /// The attribute of the shipment that caused the delay(e.g. Country, City, LocationId, Zip, service area, special handling) - /// - [Newtonsoft.Json.JsonProperty("level", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Level { get; set; } - - /// - /// The point in transit where the delay is occurring (e.g. Origin, Destination, Broker location) - /// - [Newtonsoft.Json.JsonProperty("point", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Point { get; set; } - - /// - /// The reason for the delay (e.g. holiday, weekend, etc.). - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - /// - /// The name of the holiday in that country that is causing the delay. - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetail.cs deleted file mode 100644 index 1c84ecb..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetail.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicate the Delivery On Invoice Acceptance detail. Recipient is required for Delivery On Invoice Special service. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DeliveryOnInvoiceAcceptanceDetail - { - [Newtonsoft.Json.JsonProperty("recipient", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DeliveryOnInvoiceAcceptanceDetailRecipient Recipient { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient.cs deleted file mode 100644 index 107d6cd..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DeliveryOnInvoiceAcceptanceDetailRecipient : Party_2 - { - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Always)] - public DeliveryOnInvoiceAcceptanceDetailRecipient_address Address { get; set; } - - [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Always)] - public DeliveryOnInvoiceAcceptanceDetailRecipient_contact Contact { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient_address.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient_address.cs deleted file mode 100644 index 830d8b7..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient_address.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DeliveryOnInvoiceAcceptanceDetailRecipient_address - { - /// - /// This is the combination of number, street name, etc. <br>Note: At least one line is required and streetlines more than 3 will be ignored. Empty lines should not be included. Maximum Length per line is 35.<br>Example: [10 FedEx Parkway, Suite 302, .etc.] - /// - [Newtonsoft.Json.JsonProperty("streetLines", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection StreetLines { get; set; } - - /// - /// The two-letter country code. <br>Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>Click here to see Country Codes</a> - /// - [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string CountryCode { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient_contact.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient_contact.cs deleted file mode 100644 index 873a051..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient_contact.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DeliveryOnInvoiceAcceptanceDetailRecipient_contact - { - /// - /// This is a placeholder for company name. Maximum length is 35. - /// - [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string CompanyName { get; set; } - - /// - /// This is a placeholder for Fax number. Maximum length is 15. - /// - [Newtonsoft.Json.JsonProperty("faxNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FaxNumber { get; set; } - - /// - /// This is a placeholder for contact person's name. Maximum Length is 70. - /// - [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string PersonName { get; set; } - - /// - /// This is a placeholder for phone number associated with this contact. Maximum length is 15. - /// - [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string PhoneNumber { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Dimensions_1.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Dimensions_1.cs deleted file mode 100644 index b789133..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Dimensions_1.cs +++ /dev/null @@ -1,44 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicate the dimensions of the package.<br> Following conditions will apply: <ul><li>Dimensions are optional but when added, then all three dimensions must be indicated.</li><li>Dimensions are required with YOUR_PACKAGING package type.</li></ul>Note: The Maximum/minimum dimension values varies based on the services and the packaging types. Refer <a href="https://www.fedex.com/en-us/service-guide.html" target="_blank">FedEx Service Guide</a> for service details related to DIM Weighting for FedEx Express and oversize conditions for FedEx Express and FedEx Ground. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Dimensions_1 - { - /// - /// Indicate the length of the package. No implied decimal places. Maximum value: 999 <br> Example: 20 - /// - [Newtonsoft.Json.JsonProperty("length", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Length { get; set; } - - /// - /// Indicate the width of the package. No implied decimal places. Maximum value: 999 <br> Example: 10 - /// - [Newtonsoft.Json.JsonProperty("width", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Width { get; set; } - - /// - /// Indicate the height of the package. No implied decimal places. Maximum value: 999 <br> Example: 10 - /// - [Newtonsoft.Json.JsonProperty("height", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Height { get; set; } - - /// - /// Indicate the unit of measure for the provided dimensions.<br>Valid Values are:<ul><li>IN - Inches</li><li>CM - Centimeters</li></ul> - /// - [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Dimensions_1Units? Units { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Dimensions_1Units.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Dimensions_1Units.cs deleted file mode 100644 index 0f41dc9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Dimensions_1Units.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum Dimensions_1Units - { - - [System.Runtime.Serialization.EnumMember(Value = @"CM")] - CM = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"IN")] - IN = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EMailNotificationDetail_PrintedReference.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EMailNotificationDetail_PrintedReference.cs deleted file mode 100644 index 25c8b8c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EMailNotificationDetail_PrintedReference.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Specifies Printed Reference. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class EMailNotificationDetail_PrintedReference - { - /// - /// Indicates the printed reference type. - /// - [Newtonsoft.Json.JsonProperty("printedReferenceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public EMailNotificationDetail_PrintedReferencePrintedReferenceType? PrintedReferenceType { get; set; } - - /// - /// Specifies printed reference value. - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Value { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EMailNotificationDetail_PrintedReferencePrintedReferenceType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EMailNotificationDetail_PrintedReferencePrintedReferenceType.cs deleted file mode 100644 index 7ff4391..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EMailNotificationDetail_PrintedReferencePrintedReferenceType.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum EMailNotificationDetail_PrintedReferencePrintedReferenceType - { - - [System.Runtime.Serialization.EnumMember(Value = @"BILL_OF_LADING")] - BILL_OF_LADING = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"CONSIGNEE_ID_NUMBER")] - CONSIGNEE_ID_NUMBER = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"INTERLINE_PRO_NUMBER")] - INTERLINE_PRO_NUMBER = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"PO_NUMBER")] - PO_NUMBER = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"SHIPPER_ID_NUMBER")] - SHIPPER_ID_NUMBER = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"SHIPPER_ID1_NUMBER")] - SHIPPER_ID1_NUMBER = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"SHIPPER_ID2_NUMBER")] - SHIPPER_ID2_NUMBER = 6, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EdtCharge.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EdtCharge.cs deleted file mode 100644 index bdaa6fc..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EdtCharge.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// estimated duties and tax charge - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class EdtCharge - { - [Newtonsoft.Json.JsonProperty("edtTaxDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public EdtTaxDetail EdtTaxDetail { get; set; } - - /// - /// This is to specify the Harmonized Tariff System (HTS) code to meet U.S. and foreign governments' customs requirements. These are mainly used to estimate the duties and taxes.<br>Example: A six digit code for Almonds fresh or dried is 080211. The HTS code for pistachios in shell is 080251. The HTS code for fish is HS203.<br>To research the classification for your commodity, use the FedEx Global Trade Manager online at <a href='http://www.fedex.com/gtm' target='_blank'>fedex.com/gtm</a>. You can find the commodities and its respective codes by logging into FedEx and selecting harmonized code option. You will find country-specific information to determine whether your commodity is considered to be a document or non-document for your destination. <br>For additional information about harmonized code, refer to <a href='https://www.usitc.gov/documents/hts_external_guide.pdf' target='_blank'>harmonized code</a>. - /// - [Newtonsoft.Json.JsonProperty("harmonizedCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string HarmonizedCode { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EdtTaxDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EdtTaxDetail.cs deleted file mode 100644 index a16b776..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EdtTaxDetail.cs +++ /dev/null @@ -1,61 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Specifies the Estimated duties and taxes detail. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class EdtTaxDetail - { - /// - /// Specifies the Estimated duties and taxes type. <br> Example: TaxType - /// - [Newtonsoft.Json.JsonProperty("edtTaxType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EdtTaxType { get; set; } - - /// - /// Specifies the amount for the estimated duties and taxes type.<br> Example: 785.12 - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } - - /// - /// Specifies the Estimated duties and taxes taxable Value.<br> Example: 562.23 - /// - [Newtonsoft.Json.JsonProperty("taxableValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TaxableValue { get; set; } - - /// - /// Indicates the name for the Etd tax. - /// - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } - - /// - /// Indicates the description for the Etd tax. - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// Indicates the formula. - /// - [Newtonsoft.Json.JsonProperty("formula", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Formula { get; set; } - - /// - /// Specifies the Estimated duties and taxes effective date. Format [YYYY-MM-DD].<br> Example: 2019-12-06 - /// - [Newtonsoft.Json.JsonProperty("effectiveDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EffectiveDate { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailLabelDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailLabelDetail.cs deleted file mode 100644 index ab9add4..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailLabelDetail.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Describes specific information about the email label shipment.<ul><li>Message: Content of the email message</li><li>Recipients: EMailRecipient</li><li>emailAddress - email address of the recipient</li><li>role - role type of the recipient</li><li>optionsRequested</li><li>localization</li> - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class EmailLabelDetail - { - /// - /// Describes specific information about the list of email label shipment reipients. - /// - [Newtonsoft.Json.JsonProperty("recipients", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Recipients { get; set; } - - /// - /// customer specified message to be included in the email to the end-user. - /// - [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Message { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipient.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipient.cs deleted file mode 100644 index 53d8bf3..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipient.cs +++ /dev/null @@ -1,62 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Data specifying the recipient(s) of notifications related to the movement of the shipment. At a minimnum an EmailnotificationRecipientType, at least one NoficationEventType, and an EmailAddress are required. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class EmailNotificationRecipient - { - /// - /// Identifies the email address associated with this contact. - /// - [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string EmailAddress { get; set; } - - /// - /// Specifies notification event type. - /// - [Newtonsoft.Json.JsonProperty("notificationEventType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection NotificationEventType { get; set; } - - [Newtonsoft.Json.JsonProperty("smsDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public SmsDetail SmsDetail { get; set; } - - /// - /// Specifies Notification Format Type. - /// - [Newtonsoft.Json.JsonProperty("notificationFormatType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public EmailNotificationRecipientNotificationFormatType? NotificationFormatType { get; set; } - - /// - /// Required Email Notification Recipient Type. - /// - [Newtonsoft.Json.JsonProperty("emailNotificationRecipientType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public EmailNotificationRecipientType? EmailNotificationRecipientType { get; set; } - - /// - /// Specifies the type of the notification received. - /// - [Newtonsoft.Json.JsonProperty("notificationType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public EmailNotificationRecipientNotificationType? NotificationType { get; set; } - - /// - /// Specify the locale details.<br>Example: 'en_US'<br><a onclick='loadDocReference("locales")'>Click here to see the list of available locales<br></a><br>Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response. - /// - [Newtonsoft.Json.JsonProperty("locale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Locale { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientNotificationFormatType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientNotificationFormatType.cs deleted file mode 100644 index 3e5b1bd..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientNotificationFormatType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum EmailNotificationRecipientNotificationFormatType - { - - [System.Runtime.Serialization.EnumMember(Value = @"HTML")] - HTML = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"TEXT")] - TEXT = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientNotificationType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientNotificationType.cs deleted file mode 100644 index 471d128..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientNotificationType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum EmailNotificationRecipientNotificationType - { - - [System.Runtime.Serialization.EnumMember(Value = @"EMAIL")] - EMAIL = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"SMS_TEXT_MESSAGE")] - SMS_TEXT_MESSAGE = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientType.cs deleted file mode 100644 index 4434a6f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientType.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum EmailNotificationRecipientType - { - - [System.Runtime.Serialization.EnumMember(Value = @"BROKER")] - BROKER = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] - OTHER = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"RECIPIENT")] - RECIPIENT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"SHIPPER")] - SHIPPER = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"THIRD_PARTY")] - THIRD_PARTY = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"OTHER1")] - OTHER1 = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"OTHER2")] - OTHER2 = 6, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailOptionsRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailOptionsRequested.cs deleted file mode 100644 index e2333a7..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailOptionsRequested.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicates how the email notifications for the pending shipment need to be processed. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class EmailOptionsRequested - { - /// - /// Specifies the options. - /// - [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection Options { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailRecipient.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailRecipient.cs deleted file mode 100644 index 93cc1a1..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailRecipient.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Use this object to specify the recipient email information. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class EmailRecipient - { - /// - /// This is the placeholder for Email address of the end-user to be notified of the return label. Maximum length is 200 characters. - /// - [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string EmailAddress { get; set; } - - [Newtonsoft.Json.JsonProperty("optionsRequested", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public EmailOptionsRequested OptionsRequested { get; set; } - - /// - /// Specifies the role of the recipient to the pending shipment. - /// - [Newtonsoft.Json.JsonProperty("role", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public EmailRecipientRole? Role { get; set; } - - [Newtonsoft.Json.JsonProperty("locale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Locale Locale { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailRecipientRole.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailRecipientRole.cs deleted file mode 100644 index 6490c65..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailRecipientRole.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum EmailRecipientRole - { - - [System.Runtime.Serialization.EnumMember(Value = @"SHIPMENT_COMPLETOR")] - SHIPMENT_COMPLETOR = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"SHIPMENT_INITIATOR")] - SHIPMENT_INITIATOR = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO.cs deleted file mode 100644 index 2d7c4e5..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ErrorResponseVO - { - /// - /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492 - /// - [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TransactionId { get; set; } - - /// - /// This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply. <br> Example: AnyCo_order123456789 - /// - [Newtonsoft.Json.JsonProperty("customerTransactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CustomerTransactionId { get; set; } - - /// - /// Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter. - /// - [Newtonsoft.Json.JsonProperty("errors", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Errors { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO401.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO401.cs deleted file mode 100644 index b320b05..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO401.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ErrorResponseVO401 - { - /// - /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492 - /// - [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TransactionId { get; set; } - - [Newtonsoft.Json.JsonProperty("errors", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Errors { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO403.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO403.cs deleted file mode 100644 index a270581..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO403.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ErrorResponseVO403 - { - /// - /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492 - /// - [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TransactionId { get; set; } - - [Newtonsoft.Json.JsonProperty("errors", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Errors { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO404.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO404.cs deleted file mode 100644 index 6e575b8..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO404.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ErrorResponseVO404 - { - /// - /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492 - /// - [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TransactionId { get; set; } - - [Newtonsoft.Json.JsonProperty("errors", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Errors { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO500.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO500.cs deleted file mode 100644 index b87539b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO500.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ErrorResponseVO500 - { - /// - /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492 - /// - [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TransactionId { get; set; } - - /// - /// This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply. <br> Example: AnyCo_order123456789 - /// - [Newtonsoft.Json.JsonProperty("customerTransactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CustomerTransactionId { get; set; } - - [Newtonsoft.Json.JsonProperty("errors", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Errors { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO503.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO503.cs deleted file mode 100644 index d43d0ef..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO503.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ErrorResponseVO503 - { - /// - /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492 - /// - [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TransactionId { get; set; } - - [Newtonsoft.Json.JsonProperty("errors", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Errors { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Express_Freight_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Express_Freight_Rate_Quote.cs deleted file mode 100644 index f97c6fb..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Express_Freight_Rate_Quote.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Express_Freight_Rate_Quote - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Express_Freight_Saturday_Pickup_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Express_Freight_Saturday_Pickup_Rate_Quote.cs deleted file mode 100644 index 0348ae8..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Express_Freight_Saturday_Pickup_Rate_Quote.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Express_Freight_Saturday_Pickup_Rate_Quote - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/FDGSamplePayloadRateResourceDetailsIntraEurope.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/FDGSamplePayloadRateResourceDetailsIntraEurope.cs deleted file mode 100644 index ca449ca..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/FDGSamplePayloadRateResourceDetailsIntraEurope.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class FDGSamplePayloadRateResourceDetailsIntraEurope - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Ground_Home_Delivery_Appointment_Delivery_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Ground_Home_Delivery_Appointment_Delivery_Rate_Quote.cs deleted file mode 100644 index 008073b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Ground_Home_Delivery_Appointment_Delivery_Rate_Quote.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Ground_Home_Delivery_Appointment_Delivery_Rate_Quote - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityContent.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityContent.cs deleted file mode 100644 index 7500d5d..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityContent.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Documents the kind and quantity of an individual hazardous commodity in a package. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HazardousCommodityContent - { - [Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public HazardousCommodityQuantityDetail Quantity { get; set; } - - /// - /// Specifies the inner receptacles within the container. - /// - [Newtonsoft.Json.JsonProperty("innerReceptacles", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection InnerReceptacles { get; set; } - - [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public HazardousCommodityOptionDetail Options { get; set; } - - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public HazardousCommodityDescription Description { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityDescription.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityDescription.cs deleted file mode 100644 index 96ccd9b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityDescription.cs +++ /dev/null @@ -1,95 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Identifies and describes an individual hazardous commodity. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HazardousCommodityDescription - { - /// - /// In conjunction with the regulatory identifier, this field uniquely identifies a specific hazardous materials commodity. - /// - [Newtonsoft.Json.JsonProperty("sequenceNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? SequenceNumber { get; set; } - - /// - /// Indicates any special processing options to be applied to the description of the dangerous goods commodity. - /// - [Newtonsoft.Json.JsonProperty("processingOptions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection ProcessingOptions { get; set; } - - /// - /// Specifies the hazardous material subsidiary classes. - /// - [Newtonsoft.Json.JsonProperty("subsidiaryClasses", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection SubsidiaryClasses { get; set; } - - /// - /// Specifies the DOT diamond hazard label type. This element can also include limited quantity or exemption number. - /// - [Newtonsoft.Json.JsonProperty("labelText", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LabelText { get; set; } - - /// - /// Specify the technical name for the hazardous commodity. - /// - [Newtonsoft.Json.JsonProperty("technicalName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TechnicalName { get; set; } - - [Newtonsoft.Json.JsonProperty("packingDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public HazardousCommodityPackingDetail PackingDetails { get; set; } - - /// - /// Information related to quantity limitations and operator or state variations as may be applicable to the dangerous goods commodity. - /// - [Newtonsoft.Json.JsonProperty("authorization", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Authorization { get; set; } - - /// - /// The element specifies the reportable quantity of the hazardous material. - /// - [Newtonsoft.Json.JsonProperty("reportableQuantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ReportableQuantity { get; set; } - - /// - /// Indicates the percentage. - /// - [Newtonsoft.Json.JsonProperty("percentage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Percentage { get; set; } - - /// - /// Specifies the ID of label text. - /// - [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Id { get; set; } - - /// - /// Identifies IATA packing group for a hazardous commodity. - /// - [Newtonsoft.Json.JsonProperty("packingGroup", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public HazardousCommodityDescriptionPackingGroup? PackingGroup { get; set; } - - /// - /// The proper shipping name as defined by the regulation.<br>The name can also include qualifying words. - /// - [Newtonsoft.Json.JsonProperty("properShippingName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ProperShippingName { get; set; } - - /// - /// Specify hazard class for commodity. - /// - [Newtonsoft.Json.JsonProperty("hazardClass", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string HazardClass { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityDescriptionPackingGroup.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityDescriptionPackingGroup.cs deleted file mode 100644 index 8b2199d..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityDescriptionPackingGroup.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum HazardousCommodityDescriptionPackingGroup - { - - [System.Runtime.Serialization.EnumMember(Value = @"DEFAULT")] - DEFAULT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"I")] - I = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"II")] - II = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"III")] - III = 3, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityInnerReceptacleDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityInnerReceptacleDetail.cs deleted file mode 100644 index 0e9a97a..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityInnerReceptacleDetail.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// This describes information about the inner receptacles for the hazardous commodity in a particular dangerous goods container. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HazardousCommodityInnerReceptacleDetail - { - [Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public HazardousCommodityQuantityDetail Quantity { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityOptionDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityOptionDetail.cs deleted file mode 100644 index 40ff129..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityOptionDetail.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Customer-provided specifications for handling individual commodities. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HazardousCommodityOptionDetail - { - /// - /// Specifies how the customer wishes the label text to be handled for this commodity in this package. - /// - [Newtonsoft.Json.JsonProperty("labelTextOption", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public HazardousCommodityOptionDetailLabelTextOption? LabelTextOption { get; set; } - - /// - /// Text used in labeling the commodity under control of the labelTextOption field. - /// - [Newtonsoft.Json.JsonProperty("customerSuppliedLabelText", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CustomerSuppliedLabelText { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityOptionDetailLabelTextOption.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityOptionDetailLabelTextOption.cs deleted file mode 100644 index ed4ca80..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityOptionDetailLabelTextOption.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum HazardousCommodityOptionDetailLabelTextOption - { - - [System.Runtime.Serialization.EnumMember(Value = @"APPEND")] - APPEND = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"OVERRIDE")] - OVERRIDE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"STANDARD")] - STANDARD = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityPackagingDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityPackagingDetail.cs deleted file mode 100644 index a0ff4da..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityPackagingDetail.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Identifies number and type of packaging units for hazardous commodities. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HazardousCommodityPackagingDetail - { - /// - /// Indicate the number and type of packaging units for dangerous goods. - /// - [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - /// - /// Specify the unit of the package. - /// - [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Units { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityPackingDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityPackingDetail.cs deleted file mode 100644 index 258b5e7..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityPackingDetail.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Specifies documentation and limits for validation of an individual packing group/category. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HazardousCommodityPackingDetail - { - /// - /// Indicates the coded specification for how commodity is to be packed. - /// - [Newtonsoft.Json.JsonProperty("packingInstructions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PackingInstructions { get; set; } - - /// - /// Indicates the shipment is packaged/documented for movement ONLY on cargo aircraft. - /// - [Newtonsoft.Json.JsonProperty("cargoAircraftOnly", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CargoAircraftOnly { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityQuantityDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityQuantityDetail.cs deleted file mode 100644 index 1a5b505..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityQuantityDetail.cs +++ /dev/null @@ -1,38 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Specifies Hazardous Commodity Quantity Detail. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HazardousCommodityQuantityDetail - { - /// - /// Specifies type of a quantity unit. - /// - [Newtonsoft.Json.JsonProperty("quantityType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public HazardousCommodityQuantityDetailQuantityType? QuantityType { get; set; } - - /// - /// Specifies amount details. - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } - - /// - /// Specify unit details. - /// - [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Units { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityQuantityDetailQuantityType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityQuantityDetailQuantityType.cs deleted file mode 100644 index 47598fc..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityQuantityDetailQuantityType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum HazardousCommodityQuantityDetailQuantityType - { - - [System.Runtime.Serialization.EnumMember(Value = @"GROSS")] - GROSS = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"NET")] - NET = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HoldAtLocationDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HoldAtLocationDetail.cs deleted file mode 100644 index 68c5c23..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HoldAtLocationDetail.cs +++ /dev/null @@ -1,36 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Use this object to specify required information for a shipment to be held at destination FedEx location. <br><br><i>Note: This object HoldAtLocationDetail is <b>REQUIRED</b>, when HOLD_AT_LOCATION is chosen in the specialServiceTypes.</i> - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HoldAtLocationDetail - { - /// - /// This is an alphanumeric identifier used for Location/Facility Identification.<br><br>Example: YBZA<br><br>Note: <i><ul><li>For HAL Shipment, Location ID is <b>REQUIRED</b> to ensure packages are delivered to the right location.</li><li>Use endpoint [<b>Find Location</b>] in [<b>Location Search API</b>], to find the correct location ID for your shipment.</li></ul></i> - /// - [Newtonsoft.Json.JsonProperty("locationId", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string LocationId { get; set; } - - [Newtonsoft.Json.JsonProperty("locationContactAndAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ContactAndAddress LocationContactAndAddress { get; set; } - - /// - /// Specify the Location Type.<br> Example: FEDEX_ONSITE - /// - [Newtonsoft.Json.JsonProperty("locationType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public HoldAtLocationDetailLocationType? LocationType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HoldAtLocationDetailLocationType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HoldAtLocationDetailLocationType.cs deleted file mode 100644 index 6e09489..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HoldAtLocationDetailLocationType.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum HoldAtLocationDetailLocationType - { - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_AUTHORIZED_SHIP_CENTER")] - FEDEX_AUTHORIZED_SHIP_CENTER = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_OFFICE")] - FEDEX_OFFICE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_SELF_SERVICE_LOCATION")] - FEDEX_SELF_SERVICE_LOCATION = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_STAFFED")] - FEDEX_STAFFED = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"RETAIL_ALLICANCE_LOCATION")] - RETAIL_ALLICANCE_LOCATION = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_GROUND_TERMINAL")] - FEDEX_GROUND_TERMINAL = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_ONSITE")] - FEDEX_ONSITE = 6, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HomeDeliveryPremiumDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HomeDeliveryPremiumDetail.cs deleted file mode 100644 index adf9e52..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HomeDeliveryPremiumDetail.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// These are Special service elements for FedEx Ground Home Delivery shipments. If selected, element homedeliveryPremiumType is mandatory. - ///
- ///
- ///
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HomeDeliveryPremiumDetail - { - /// - /// This is shipment date. Both the date and time portions of the string are expected to be used. The date should not be a past date or a date more than 10 days in the future. The time is the local time of the shipment based on the shipper's time zone.<br>Formats: YYYY-MM-DD, YYYY-MM-DD HH:MM:SS <br> Example: 2024-06-14 19:23:51 - /// - [Newtonsoft.Json.JsonProperty("shipTimestamp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ShipTimestamp { get; set; } - - /// - /// This is Home Delivery Premium Type. It allows to specify additional premimum service options for the home delivery shipment. Can specify Evening delivery or a Date certain, or can specify appointment for the delivery. - /// - [Newtonsoft.Json.JsonProperty("homedeliveryPremiumType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public HomeDeliveryPremiumDetailHomedeliveryPremiumType? HomedeliveryPremiumType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HomeDeliveryPremiumDetailHomedeliveryPremiumType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HomeDeliveryPremiumDetailHomedeliveryPremiumType.cs deleted file mode 100644 index 19d82ea..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HomeDeliveryPremiumDetailHomedeliveryPremiumType.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum HomeDeliveryPremiumDetailHomedeliveryPremiumType - { - - [System.Runtime.Serialization.EnumMember(Value = @"APPOINTMENT")] - APPOINTMENT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"DATE_CERTAIN")] - DATE_CERTAIN = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"EVENING")] - EVENING = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalControlledExportDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalControlledExportDetail.cs deleted file mode 100644 index e38fc10..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalControlledExportDetail.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Use this object to specify International Controlled Export shipment Details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class InternationalControlledExportDetail - { - /// - /// Indicate International Controlled Export Type.<br>Example: WAREHOUSE_WITHDRAWAL - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public InternationalControlledExportDetailType? Type { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalControlledExportDetailType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalControlledExportDetailType.cs deleted file mode 100644 index 20bfa16..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalControlledExportDetailType.cs +++ /dev/null @@ -1,41 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum InternationalControlledExportDetailType - { - - [System.Runtime.Serialization.EnumMember(Value = @"DEA_036")] - DEA_036 = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"DEA_236")] - DEA_236 = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"DEA_486")] - DEA_486 = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"DSP_05")] - DSP_05 = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"DSP_61")] - DSP_61 = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"DSP_73")] - DSP_73 = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"DSP_85")] - DSP_85 = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"DSP_94")] - DSP_94 = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"DSP_LICENSE_AGREEMENT")] - DSP_LICENSE_AGREEMENT = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"FROM_FOREIGN_TRADE_ZONE")] - FROM_FOREIGN_TRADE_ZONE = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"WAREHOUSE_WITHDRAWAL")] - WAREHOUSE_WITHDRAWAL = 10, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalTrafficInArmsRegulationsDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalTrafficInArmsRegulationsDetail.cs deleted file mode 100644 index 6c26b95..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalTrafficInArmsRegulationsDetail.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// These are International Traffic In Arms Regulations shipment service Details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class InternationalTrafficInArmsRegulationsDetail - { - /// - /// The export or license number for the ITAR shipment.<br>Example: 9871234 - /// - [Newtonsoft.Json.JsonProperty("licenseOrExemptionNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LicenseOrExemptionNumber { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Dry_Ice_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Dry_Ice_Rate_Quote.cs deleted file mode 100644 index 0ab3d25..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Dry_Ice_Rate_Quote.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class International_Dry_Ice_Rate_Quote - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Ground_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Ground_Rate_Quote.cs deleted file mode 100644 index 127efdb..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Ground_Rate_Quote.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class International_Ground_Rate_Quote - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Hold_At_Location_with_Adult_Signature_Option.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Hold_At_Location_with_Adult_Signature_Option.cs deleted file mode 100644 index 8f83e26..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Hold_At_Location_with_Adult_Signature_Option.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class International_Hold_At_Location_with_Adult_Signature_Option - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Multi_Piece_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Multi_Piece_Rate_Quote.cs deleted file mode 100644 index b6cc588..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Multi_Piece_Rate_Quote.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class International_Multi_Piece_Rate_Quote - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Priority_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Priority_Rate_Quote.cs deleted file mode 100644 index b8439e5..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Priority_Rate_Quote.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class International_Priority_Rate_Quote - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Return_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Return_Rate_Quote.cs deleted file mode 100644 index 192ef85..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Return_Rate_Quote.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class International_Return_Rate_Quote - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Canada_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Canada_Rate_Quote.cs deleted file mode 100644 index 64f09a6..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Canada_Rate_Quote.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Intra_Canada_Rate_Quote - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Europe_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Europe_Rate_Quote.cs deleted file mode 100644 index 75b8a26..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Europe_Rate_Quote.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Intra_Europe_Rate_Quote - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_India_Cash_On_Delivery_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_India_Cash_On_Delivery_Rate_Quote.cs deleted file mode 100644 index 42365d4..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_India_Cash_On_Delivery_Rate_Quote.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Intra_India_Cash_On_Delivery_Rate_Quote - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Mexico_Express_Saver_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Mexico_Express_Saver_Rate_Quote.cs deleted file mode 100644 index 80d70b3..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Mexico_Express_Saver_Rate_Quote.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Intra_Mexico_Express_Saver_Rate_Quote - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Locale.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Locale.cs deleted file mode 100644 index 2a341b2..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Locale.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// These are Locale details.<br>Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Locale - { - /// - /// This is country code.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>Click here to see Country Codes</a> - /// - [Newtonsoft.Json.JsonProperty("country", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Country { get; set; } - - /// - /// This is language code.<br>Example: en<br><a onclick='loadDocReference("locales")'>Click here to see Locale</a> - /// - [Newtonsoft.Json.JsonProperty("language", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Language { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Money.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Money.cs deleted file mode 100644 index 38b702c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Money.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Money : Money_1 - { - /// - /// Indicates the declared amount value for the shipment. - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Always)] - public double Amount { get; set; } - - /// - /// Indicates the currency associated with the amount. - /// - [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Currency { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Money_1.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Money_1.cs deleted file mode 100644 index a470fef..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Money_1.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicate the amount details. This is optional, but if indicated, amount and currency must be provided. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Money_1 - { - /// - /// Indicates the amount. Example: 12.45 - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } - - /// - /// Indicate the three-character ISO currency code. <br>Example: USD<br><a onclick='loadDocReference("currencycodes")'>Click here to see Currency Codes</a> - /// - [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Currency { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/NotificationEventType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/NotificationEventType.cs deleted file mode 100644 index 33e089c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/NotificationEventType.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum NotificationEventType - { - - [System.Runtime.Serialization.EnumMember(Value = @"ON_DELIVERY")] - ON_DELIVERY = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"ON_EXCEPTION")] - ON_EXCEPTION = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"ON_SHIPMENT")] - ON_SHIPMENT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"ON_TENDER")] - ON_TENDER = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"ON_ESTIMATED_DELIVERY")] - ON_ESTIMATED_DELIVERY = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"ON_PICKUP")] - ON_PICKUP = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"ON_LABEL")] - ON_LABEL = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"ON_BILL_OF_LADING")] - ON_BILL_OF_LADING = 7, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/OperationalDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/OperationalDetail.cs deleted file mode 100644 index 3290bd9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/OperationalDetail.cs +++ /dev/null @@ -1,193 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicate the Operational Details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class OperationalDetail - { - /// - /// Indicate the location ID of the origin of shipment. <br> Example: YBZA - /// - [Newtonsoft.Json.JsonProperty("originLocationIds", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection OriginLocationIds { get; set; } - - /// - /// Indicate the delivery commitment day.<br> Example: MON - /// - [Newtonsoft.Json.JsonProperty("commitDays", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection CommitDays { get; set; } - - /// - /// Indicate the service code. <br> Example: 06 - /// - [Newtonsoft.Json.JsonProperty("serviceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ServiceCode { get; set; } - - /// - /// Specify the Airport Id. <br> Example: MEM - /// - [Newtonsoft.Json.JsonProperty("airportId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AirportId { get; set; } - - /// - /// Indicate the Standard Carrier Alpha Code (SCAC) is a privately controlled US code used to identify vessel operating common carriers (VOCC). It is typically two to four letters long. - /// - [Newtonsoft.Json.JsonProperty("scac", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Scac { get; set; } - - /// - /// Specify origin service area.<br> Example: AM - /// - [Newtonsoft.Json.JsonProperty("originServiceAreas", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection OriginServiceAreas { get; set; } - - /// - /// Specify the delivery commitment day. <br> Example: SAT - /// - [Newtonsoft.Json.JsonProperty("deliveryDay", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DeliveryDay { get; set; } - - /// - /// Specify the origin location ID.<br> Example: 6121 - /// - [Newtonsoft.Json.JsonProperty("originLocationNumbers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection OriginLocationNumbers { get; set; } - - /// - /// Indicate the destination postal code.<br> Example: 38017 - /// - [Newtonsoft.Json.JsonProperty("destinationPostalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DestinationPostalCode { get; set; } - - /// - /// Indicate the shipment Commit Date. <br> Example: 2019-07-22T08:30:00 - /// - [Newtonsoft.Json.JsonProperty("commitDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CommitDate { get; set; } - - /// - /// Indicate the ASTRA description for the label. <br> Example: XXXL1ST - /// - [Newtonsoft.Json.JsonProperty("astraDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AstraDescription { get; set; } - - /// - /// Indicate the delivery date. <br> Example: 2019-07-22T08:30:00 - /// - [Newtonsoft.Json.JsonProperty("deliveryDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DeliveryDate { get; set; } - - /// - /// Indicate the delivery eligibilities. - /// - [Newtonsoft.Json.JsonProperty("deliveryEligibilities", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection DeliveryEligibilities { get; set; } - - /// - /// indicate if ineligible For Money Back Guarantee. - /// - [Newtonsoft.Json.JsonProperty("ineligibleForMoneyBackGuarantee", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IneligibleForMoneyBackGuarantee { get; set; } - - /// - /// Specify Maximum transit time. <br> Example: THREE_DAYS - /// - [Newtonsoft.Json.JsonProperty("MaximumTransitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string MaximumTransitTime { get; set; } - - /// - /// Indicate Astra Planned Service Level. <br> Example: astraPlannedServicelevel - /// - [Newtonsoft.Json.JsonProperty("astraPlannedServiceLevel", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AstraPlannedServiceLevel { get; set; } - - /// - /// Indicate Destination Location Ids. <br> Example: HKAA - /// - [Newtonsoft.Json.JsonProperty("destinationLocationIds", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection DestinationLocationIds { get; set; } - - /// - /// Indicate destination location State Or Province code. <br> Example: TN<br><a onclick='loadDocReference("canadaprovincecodes")'>Click here to see State Or Province Code</a> - /// - [Newtonsoft.Json.JsonProperty("destinationLocationStateOrProvinceCodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection DestinationLocationStateOrProvinceCodes { get; set; } - - /// - /// Indicate the Transit Time in days. <br> Example: THREE_DAYS - /// - [Newtonsoft.Json.JsonProperty("transitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TransitTime { get; set; } - - /// - /// Indicate the Packaging Code. <br> Example: M1M1M1 - /// - [Newtonsoft.Json.JsonProperty("packagingCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PackagingCode { get; set; } - - /// - /// Indicate the Destination Location Numbers. <br> Example: 386 - /// - [Newtonsoft.Json.JsonProperty("destinationLocationNumbers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection DestinationLocationNumbers { get; set; } - - /// - /// Indicate the Published Delivery Time. <br> Example: THREE_DAYS - /// - [Newtonsoft.Json.JsonProperty("publishedDeliveryTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PublishedDeliveryTime { get; set; } - - /// - /// Indicate the Country Code.<br>Example: [ US, IN]<br><a onclick='loadDocReference("countrycodes")'>Click here to see Country Codes</a> - /// - [Newtonsoft.Json.JsonProperty("countryCodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection CountryCodes { get; set; } - - /// - /// Specifies state Or Province Code. State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2. <br> Example: TN - /// - [Newtonsoft.Json.JsonProperty("stateOrProvinceCodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection StateOrProvinceCodes { get; set; } - - /// - /// This is FedEx URSA Prefix Code. <br> Example: PrefixCode - /// - [Newtonsoft.Json.JsonProperty("ursaPrefixCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string UrsaPrefixCode { get; set; } - - /// - /// This is URSA Suffix Code. <br> Example: SuffixCode - /// - [Newtonsoft.Json.JsonProperty("ursaSuffixCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string UrsaSuffixCode { get; set; } - - /// - /// This is Destination Service Areas. <br> Example: A2 - /// - [Newtonsoft.Json.JsonProperty("destinationServiceAreas", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection DestinationServiceAreas { get; set; } - - /// - /// This is Origin Postal Codes. <br> Example: M1M1M1 - /// - [Newtonsoft.Json.JsonProperty("originPostalCodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection OriginPostalCodes { get; set; } - - /// - /// This is Custom Transit Time in days. <br> Example: THREE_DAYS - /// - [Newtonsoft.Json.JsonProperty("customTransitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CustomTransitTime { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Options.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Options.cs deleted file mode 100644 index d8c1ec0..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Options.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum Options - { - - [System.Runtime.Serialization.EnumMember(Value = @"HAZARDOUS_MATERIALS")] - HAZARDOUS_MATERIALS = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"BATTERY")] - BATTERY = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"ORM_D")] - ORM_D = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"REPORTABLE_QUANTITIES")] - REPORTABLE_QUANTITIES = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"SMALL_QUANTITY_EXCEPTION")] - SMALL_QUANTITY_EXCEPTION = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"LIMITED_QUANTITIES_COMMODITIES")] - LIMITED_QUANTITIES_COMMODITIES = 5, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageRateDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageRateDetail.cs deleted file mode 100644 index 51ab551..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageRateDetail.cs +++ /dev/null @@ -1,94 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Data for a package's rates, as calculated per a specific rate type. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PackageRateDetail - { - /// - /// Indicates which weight was used for the rate, e.g. actual or dimensional. <br> Example: dimensional - /// - [Newtonsoft.Json.JsonProperty("ratedWeightMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RatedWeightMethod { get; set; } - - /// - /// Specifies the sum of all taxes on this package.<br> Example: 1257.25 - /// - [Newtonsoft.Json.JsonProperty("totalTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalTaxes { get; set; } - - /// - /// The total discounts used in the rate calculation.<br> Example: 1257.2<br><a onclick='loadDocReference("discounts")'>Click here to see Discounts</a> - /// - [Newtonsoft.Json.JsonProperty("totalFreightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalFreightDiscounts { get; set; } - - /// - /// Identifies the manner in which the chargeRate for this line item was applied.<br> Example: 125 - /// - [Newtonsoft.Json.JsonProperty("baseCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? BaseCharge { get; set; } - - /// - /// The total sum of all rebates applied to this package.Example: 12 - /// - [Newtonsoft.Json.JsonProperty("totalRebates", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalRebates { get; set; } - - /// - /// Specifies the type used for this specific set of rate data. - /// - [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RateType { get; set; } - - [Newtonsoft.Json.JsonProperty("billingWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public BillingWeight BillingWeight { get; set; } - - /// - /// Specifies the sum of freight charges.<br> Example: 10 - /// - [Newtonsoft.Json.JsonProperty("netFreight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? NetFreight { get; set; } - - /// - /// Specifies the list of all surcharges that apply to this package. - /// - [Newtonsoft.Json.JsonProperty("surcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Surcharges { get; set; } - - /// - /// The sum of all surcharges on the package.<br> Example: 569 - /// - [Newtonsoft.Json.JsonProperty("totalSurcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalSurcharges { get; set; } - - /// - /// Specifies the sum of packages netFreight and totalSurcharges (not including totalTaxes).<br> Example: 125.32 - /// - [Newtonsoft.Json.JsonProperty("netFedExCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? NetFedExCharge { get; set; } - - /// - /// Specifies the sum of packages netFreight, totalSurcharges and totalTaxes. <br>Example: 563.98 - /// - [Newtonsoft.Json.JsonProperty("netCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? NetCharge { get; set; } - - /// - /// All rate discounts that apply to this shipment.<br><a onclick='loadDocReference("discounts")'>Click here to see Discounts</a> - /// - [Newtonsoft.Json.JsonProperty("freightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection FreightDiscounts { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequested.cs deleted file mode 100644 index 27173a4..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequested.cs +++ /dev/null @@ -1,62 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// These special services are available at the package level for some or all service types. Needs Indicated, if rate data is being requested for the special services. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PackageSpecialServicesRequested - { - /// - /// Indicate the special services requested.<br><a onclick='loadDocReference("packagelevelspecialservicetypes")'>Click here to see Package level Special Service Types</a> - /// - [Newtonsoft.Json.JsonProperty("specialServiceTypes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection SpecialServiceTypes { get; set; } - - /// - /// Type of a Signature Option. - /// - [Newtonsoft.Json.JsonProperty("signatureOptionType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public PackageSpecialServicesRequestedSignatureOptionType? SignatureOptionType { get; set; } - - [Newtonsoft.Json.JsonProperty("alcoholDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public AlcoholDetail AlcoholDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("dangerousGoodsDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DangerousGoodsDetail DangerousGoodsDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("packageCODDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PackageSpecialServicesRequestedPackageCODDetail PackageCODDetail { get; set; } - - /// - /// Provide the pieceCount or VerificationBoxCount for batteries or cells that are contained within this specific package. - /// - [Newtonsoft.Json.JsonProperty("pieceCountVerificationBoxCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? PieceCountVerificationBoxCount { get; set; } - - /// - /// Specify the details about the batteries or cells that are contained within this specific package. - /// - [Newtonsoft.Json.JsonProperty("batteryDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection BatteryDetails { get; set; } - - [Newtonsoft.Json.JsonProperty("dryIceWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Weight_1_2 DryIceWeight { get; set; } - - /// - /// Provides details about the batteries or cells that are contained within this specific package. - /// - [Newtonsoft.Json.JsonProperty("standaloneBatteryDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection StandaloneBatteryDetails { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedPackageCODDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedPackageCODDetail.cs deleted file mode 100644 index 443eaf1..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedPackageCODDetail.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicates package COD Detail. COD main information is set in shipment level. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PackageSpecialServicesRequestedPackageCODDetail - { - [Newtonsoft.Json.JsonProperty("codCollectionAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Money_1 CodCollectionAmount { get; set; } - - /// - /// Indicate the type of funds FedEx should collect upon shipment delivery. <br> Conditionally required for Ground COD rates - /// - [Newtonsoft.Json.JsonProperty("codCollectionType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public PackageSpecialServicesRequestedPackageCODDetailCodCollectionType? CodCollectionType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedPackageCODDetailCodCollectionType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedPackageCODDetailCodCollectionType.cs deleted file mode 100644 index 4441566..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedPackageCODDetailCodCollectionType.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum PackageSpecialServicesRequestedPackageCODDetailCodCollectionType - { - - [System.Runtime.Serialization.EnumMember(Value = @"ANY")] - ANY = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"CASH")] - CASH = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"COMPANY_CHECK")] - COMPANY_CHECK = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"GUARANTEED_FUNDS")] - GUARANTEED_FUNDS = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_CHECK")] - PERSONAL_CHECK = 4, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedSignatureOptionType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedSignatureOptionType.cs deleted file mode 100644 index 1c7f13b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedSignatureOptionType.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum PackageSpecialServicesRequestedSignatureOptionType - { - - [System.Runtime.Serialization.EnumMember(Value = @"SERVICE_DEFAULT")] - SERVICE_DEFAULT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"NO_SIGNATURE_REQUIRED")] - NO_SIGNATURE_REQUIRED = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"INDIRECT")] - INDIRECT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"DIRECT")] - DIRECT = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"ADULT")] - ADULT = 4, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Parameter.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Parameter.cs deleted file mode 100644 index c9bad62..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Parameter.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// List of parameters which indicates the properties of the alert message. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Parameter - { - /// - /// Identifies the error option to be applied. - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Value { get; set; } - - /// - /// Indicates the value associated with the key. - /// - [Newtonsoft.Json.JsonProperty("key", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Key { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ParsedPersonName.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ParsedPersonName.cs deleted file mode 100644 index 321cb14..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ParsedPersonName.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// This object is used to separate the person name into first and last name. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ParsedPersonName - { - /// - /// Specify the First Name. Maximum Length is 35. <br> Example: John - /// - [Newtonsoft.Json.JsonProperty("firstName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FirstName { get; set; } - - /// - /// Specify the Last Name. Maximum Length is 35. <br> Example: Mayor - /// - [Newtonsoft.Json.JsonProperty("lastName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LastName { get; set; } - - /// - /// Specify the Middle Name.<br> Example: Redmond - /// - [Newtonsoft.Json.JsonProperty("middleName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string MiddleName { get; set; } - - /// - /// Specify the Suffix.<br> Example: Jr - /// - [Newtonsoft.Json.JsonProperty("suffix", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Suffix { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Party.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Party.cs deleted file mode 100644 index 6e3c143..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Party.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicate the party to a transaction including the physical address, contact information and account number information. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Party - { - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Address Address { get; set; } - - [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public AccountNumber AccountNumber { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Party_2.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Party_2.cs deleted file mode 100644 index f111502..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Party_2.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicate the party to a transaction including the physical address, contact information and account number information. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Party_2 - { - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Address_2 Address { get; set; } - - [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Contact_2 Contact { get; set; } - - [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public AccountNumber AccountNumber { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Payment.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Payment.cs deleted file mode 100644 index 626cf46..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Payment.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// These are details about shipment payment. Value payor is optional when paymentType provided as SENDER. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Payment - { - [Newtonsoft.Json.JsonProperty("payor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Payor Payor { get; set; } - - /// - /// Indicate the payment Type. Applicable for Express and Ground rates. - /// - [Newtonsoft.Json.JsonProperty("paymentType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public PaymentType? PaymentType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PaymentType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PaymentType.cs deleted file mode 100644 index 6b6c17f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PaymentType.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum PaymentType - { - - [System.Runtime.Serialization.EnumMember(Value = @"SENDER")] - SENDER = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Payor.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Payor.cs deleted file mode 100644 index 07eedb4..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Payor.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// This is payer Information responsible for paying for the shipment.<br>Note: Optional when paymentType is SENDER. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Payor - { - /// - /// These are payer details such as address, account and contacts. - /// - [Newtonsoft.Json.JsonProperty("responsibleParty", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ResponsibleParty ResponsibleParty { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PendingShipmentProcessingOptionsRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PendingShipmentProcessingOptionsRequested.cs deleted file mode 100644 index fc36889..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PendingShipmentProcessingOptionsRequested.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Use this object to specify the processing options associated with Pending Shipment request. This is useful for the Email Label originator to specify if the completer can make modifications to editable shipment data. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PendingShipmentProcessingOptionsRequested - { - /// - /// These are Pending Shipment processing options.<br> Example: ["ALLOW_MODIFICATIONS"] - /// - [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection Options { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PhoneNumber.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PhoneNumber.cs deleted file mode 100644 index b4a505b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PhoneNumber.cs +++ /dev/null @@ -1,51 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicates the telephone number to use for contact in the event of an emergency. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PhoneNumber - { - /// - /// Indicates the area code. - /// - [Newtonsoft.Json.JsonProperty("areaCode", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string AreaCode { get; set; } - - /// - /// Indicates the Extension. - /// - [Newtonsoft.Json.JsonProperty("extension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Extension { get; set; } - - /// - /// The two-letter code used to identify a country.<br>Example: US - /// - [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string CountryCode { get; set; } - - /// - /// Indicates the Personal Identification Number. - /// - [Newtonsoft.Json.JsonProperty("personalIdentificationNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PersonalIdentificationNumber { get; set; } - - /// - /// Telephone number to use for contact in the event of an emergency. - /// - [Newtonsoft.Json.JsonProperty("localNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LocalNumber { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Priority_Alert_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Priority_Alert_Rate_Quote.cs deleted file mode 100644 index 30b132e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Priority_Alert_Rate_Quote.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Priority_Alert_Rate_Quote - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ProcessingOptions.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ProcessingOptions.cs deleted file mode 100644 index 5cffa13..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ProcessingOptions.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ProcessingOptions - { - - [System.Runtime.Serialization.EnumMember(Value = @"INCLUDE_SPECIAL_PROVISIONS")] - INCLUDE_SPECIAL_PROVISIONS = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ProductName.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ProductName.cs deleted file mode 100644 index 1328dd9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ProductName.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Provides the product details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ProductName - { - /// - /// Specifies the type of the product.<br> Example: medium - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - /// - /// Specifies the encoding standard. <br> Example: utf-8. - /// - [Newtonsoft.Json.JsonProperty("encoding", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Encoding { get; set; } - - /// - /// Specifies the value of the Product.<br> Example: FedEx International First®. - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Value { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAddress.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAddress.cs deleted file mode 100644 index 070aea7..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAddress.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Descriptive data for a physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the US). Country code is required. Postal code is required for postal aware countries. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RateAddress : Address_2 - { - [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string CountryCode { get; set; } - - [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string PostalCode { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAndTransitTimesReq.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAndTransitTimesReq.cs deleted file mode 100644 index a51ae9e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAndTransitTimesReq.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// The request elements for requesting a rate quote. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public class RateAndTransitTimesReq - { - [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public AccountNumber AccountNumber { get; set; } = new AccountNumber(); - - [Newtonsoft.Json.JsonProperty("rateRequestControlParameters", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public RateRequestControlParameters RateRequestControlParameters { get; set; } - - [Newtonsoft.Json.JsonProperty("requestedShipment", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public RequestedShipment RequestedShipment { get; set; } = new RequestedShipment(); - - /// - /// Specify the four letter code of a FedEx operating company that meets your requirements.<br> Example: FDXE<br><ul><li>FDXE - FedEx Express</li><li>FDXG - FedEx Ground</li><li>FXSP - FedEx SmartPost</li><li>FXCC - FedEx Custom Critical.</li></ul> - /// - [Newtonsoft.Json.JsonProperty("carrierCodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection CarrierCodes { get; set; } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAndTransitTimesResp.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAndTransitTimesResp.cs deleted file mode 100644 index 7a8c0f4..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAndTransitTimesResp.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// This is a wrapper class for outputVO. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public class RateAndTransitTimesResp - { - /// - /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492 - /// - [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TransactionId { get; set; } - - /// - /// This element has a unique identifier added in your request, helps you match the request to the reply.<br>Example: XXXX_XXX123XXXXX - /// - [Newtonsoft.Json.JsonProperty("customerTransactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CustomerTransactionId { get; set; } - - [Newtonsoft.Json.JsonProperty("output", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public BaseProcessOutputVO Output { get; set; } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateDiscount.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateDiscount.cs deleted file mode 100644 index ac7fb36..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateDiscount.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RateDiscount - { - /// - /// Indicates the details of the charges are to be added to the COD collect amount. <br> Example: 95 - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } - - /// - /// Specifies the name of all of the discounts that apply to the package.<br><a onclick='loadDocReference("discounts")'>Click here to see Discounts</a> - /// - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } - - /// - /// Specifies the discounts on this package. - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// Specifies the type of discount. - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - /// - /// Specifies the percentage of discount. - /// - [Newtonsoft.Json.JsonProperty("percent", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Percent { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateDiscount_1.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateDiscount_1.cs deleted file mode 100644 index 98aacef..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateDiscount_1.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RateDiscount_1 - { - /// - /// Indicates the amount for the rate discount.<br> Example: 87.5 - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } - - /// - /// Indicate the name of the discount.<a href="/developer-portal/en-us/reference-guide.html#discounts" target="_blank">Click here to see Discounts</a> <br> Example: name - /// - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } - - /// - /// Indicates the description for the rate discount.<br> Example: Description - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// Indicates the type. <br> Example: type - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - /// - /// Indicates the percentage of the rate discount. <br> Example: 10.5 - /// - [Newtonsoft.Json.JsonProperty("percent", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Percent { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateParty.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateParty.cs deleted file mode 100644 index 29f21c6..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateParty.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Specify the shipper address details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RateParty - { - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Always)] - public RateAddress Address { get; set; } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateReplyDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateReplyDetail.cs deleted file mode 100644 index f53c490..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateReplyDetail.cs +++ /dev/null @@ -1,70 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// This objcet lists the rate data by service. If a service was specified in the request, there will be a single entry; if service was omitted in the request, there will be a separate entry in this for each service being compared. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RateReplyDetail - { - /// - /// This is the service type associated with this rate (i.e. Priority Overnight, Home Delivery, etc.)<br>For Ground/SmartPost this will be a direct copy of the service specified in the request. For domestic Express, the service may have been bumped, so it may not match the value specified on the request. For International Express the service may be bumped and not mapped.<br>Example: FEDEX_GROUND<br><a onclick='loadDocReference("servicetypes")'>Click here to see Service Types</a> - /// - [Newtonsoft.Json.JsonProperty("serviceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ServiceType { get; set; } - - /// - /// This is the service name associated with this rate. <br> Example: FedEx Ground - /// - [Newtonsoft.Json.JsonProperty("serviceName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ServiceName { get; set; } - - /// - /// Packaging type associated with this particular rate. For Ground/SmartPost will always be YOUR_PACKAGING. For domestic Express, the packaging may have been bumped so it may not match the value specified on the request. For international Express the packaging may be bumped and not mapped.<br>Example: YOUR_PACKAGING <br><a href="/developer-portal/en-us/reference-guide.html#packagetypes" target="_blank">Click here to see Package Types</a> - /// - [Newtonsoft.Json.JsonProperty("packagingType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PackagingType { get; set; } - - /// - /// These are messages concerning the ability to provide an accurate delivery commitment on an International commit quote. These could be providing information about why a commitment could not be returned or a successful message<br>Example:<br><ul><li>REQUEST_COMPLETED<br>Request completed successfully</li><li>SERVICE.TYPE.INTERNATIONAL.MESSAGE:<br>Rate does not include duties & taxes, clearance entry fees or other import fees. The payor of duties/taxes/fees will be responsible for any applicable Clearance Entry Fees.</li><li>NATIONAL.HOLIDAY.OBSERVED:<br>National Holiday Observed on Ship Date.</li><li>INCONSISTENT.COMMODITY.DESCRIPTION:<br>The description and harmonized code for the specified commodity are not consistent.</li></ul> - /// - [Newtonsoft.Json.JsonProperty("customerMessages", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection CustomerMessages { get; set; } - - /// - /// This object provides the shipment and package rating data in a rate request reply. - /// - [Newtonsoft.Json.JsonProperty("ratedShipmentDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection RatedShipmentDetails { get; set; } - - [Newtonsoft.Json.JsonProperty("operationalDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public OperationalDetail OperationalDetail { get; set; } - - /// - /// Indicates the signature Option for this service. <br> Example: SERVICE_DEFAULT - /// - [Newtonsoft.Json.JsonProperty("signatureOptionType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string SignatureOptionType { get; set; } - - [Newtonsoft.Json.JsonProperty("serviceDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ServiceDescription ServiceDescription { get; set; } - - [Newtonsoft.Json.JsonProperty("brokerDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public BrokerDetail_RateReply BrokerDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("commit", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Commit Commit { get; set; } - - [Newtonsoft.Json.JsonProperty("serviceSubOptionDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ServiceSubOptionDetail ServiceSubOptionDetail { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParameters.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParameters.cs deleted file mode 100644 index 0319ebe..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParameters.cs +++ /dev/null @@ -1,36 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Specify the return transit times, services needed on rate failure, choice of variable option and order to sort rate options to filter and sort the expected response. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public class RateRequestControlParameters - { - /// - /// Indicate if the transit time and commit data are to be returned in the reply. Default value is false.<br>Valid values are TRUE and FALSE. - /// - [Newtonsoft.Json.JsonProperty("returnTransitTimes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ReturnTransitTimes { get; set; } - - /// - /// Specify the services to be requested if the rate data is not available.<br>Valid values are TRUE and FALSE. - /// - [Newtonsoft.Json.JsonProperty("servicesNeededOnRateFailure", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ServicesNeededOnRateFailure { get; set; } - - /// - /// Specify service options whose combinations are to be considered when replying with available services.<br>Example: FREIGHT_GUARANTEE</br> - /// - [Newtonsoft.Json.JsonProperty("variableOptions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RateRequestControlParametersVariableOptions? VariableOptions { get; set; } - - /// - /// This is a sort order you can specify to control the order of the response data. <br> Example: SERVICENAMETRADITIONAL</br> <br> <ul><li>SERVICENAMETRADITIONAL - data in order of highest to lowest service (Default)</li><li>COMMITASCENDING - data in order of ascending delivery committment</li><li>COMMITDESCENDING - data in order of descending delivery committment.</li></ul></br> - /// - [Newtonsoft.Json.JsonProperty("rateSortOrder", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RateRequestControlParametersRateSortOrder? RateSortOrder { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParametersRateSortOrder.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParametersRateSortOrder.cs deleted file mode 100644 index acf003a..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParametersRateSortOrder.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RateRequestControlParametersRateSortOrder - { - - [System.Runtime.Serialization.EnumMember(Value = @"COMMITASCENDING")] - COMMITASCENDING = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"SERVICENAMETRADITIONAL")] - SERVICENAMETRADITIONAL = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"COMMITDESCENDING")] - COMMITDESCENDING = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParametersVariableOptions.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParametersVariableOptions.cs deleted file mode 100644 index 55ccfb0..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParametersVariableOptions.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RateRequestControlParametersVariableOptions - { - - [System.Runtime.Serialization.EnumMember(Value = @"SATURDAY_DELIVERY")] - SATURDAY_DELIVERY = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"FREIGHT_GUARANTEE")] - FREIGHT_GUARANTEE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SMART_POST_ALLOWED_INDICIA")] - SMART_POST_ALLOWED_INDICIA = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"SMARTPOST_HUB_ID")] - SMARTPOST_HUB_ID = 3, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestType.cs deleted file mode 100644 index 90968a0..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestType.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Specifies the items. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RateRequestType - { - - [System.Runtime.Serialization.EnumMember(Value = @"LIST")] - LIST = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"INCENTIVE")] - INCENTIVE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT")] - ACCOUNT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED")] - PREFERRED = 3, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedPackageDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedPackageDetail.cs deleted file mode 100644 index 2b80982..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedPackageDetail.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RatedPackageDetail - { - /// - /// This is the list net charge minus actual net charge.<br> Example: 1.0 - /// - [Newtonsoft.Json.JsonProperty("effectiveNetDiscount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? EffectiveNetDiscount { get; set; } - - [Newtonsoft.Json.JsonProperty("packageRateDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PackageRateDetail PackageRateDetail { get; set; } - - /// - /// This is group number, used only with package groups as a unique identifier of each group of identical packages. - /// - [Newtonsoft.Json.JsonProperty("groupNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? GroupNumber { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetail.cs deleted file mode 100644 index fd94f8f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetail.cs +++ /dev/null @@ -1,139 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// This object provides the shipment and package rating data in a rate request reply. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RatedShipmentDetail - { - /// - /// Type used for this specific set of rate data.<br>Example: ACCOUNT - /// - [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RatedShipmentDetailRateType? RateType { get; set; } - - /// - /// Indicates which weight was used for the rate.<br>Example: 'ACTUAL' - /// - [Newtonsoft.Json.JsonProperty("ratedWeightMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RatedShipmentDetailRatedWeightMethod? RatedWeightMethod { get; set; } - - /// - /// The total amount of the duties and taxes plus the total ancillary fees and taxes.<br> Example: 445.54 - /// - [Newtonsoft.Json.JsonProperty("totalDutiesTaxesAndFees", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalDutiesTaxesAndFees { get; set; } - - /// - /// This is the total discount.<br> Example: 445.54<br><a href='/api/en-us/reference-guide.html#discounts' target='_blank'>Click here to see FedEx Discounts</a> - /// - [Newtonsoft.Json.JsonProperty("totalDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalDiscounts { get; set; } - - /// - /// The sum of shipment/package Duties and taxes.<br> Example: 445.54 - /// - [Newtonsoft.Json.JsonProperty("totalDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalDutiesAndTaxes { get; set; } - - [Newtonsoft.Json.JsonProperty("variableHandlingCharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public VariableHandlingCharges VariableHandlingCharges { get; set; } - - /// - /// These are the estimation and duty charges. - /// - [Newtonsoft.Json.JsonProperty("edtCharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection EdtCharges { get; set; } - - /// - /// Indicates the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. - /// - [Newtonsoft.Json.JsonProperty("totalAncillaryFeesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalAncillaryFeesAndTaxes { get; set; } - - /// - /// These are the package-level data for this rate type. - /// - [Newtonsoft.Json.JsonProperty("ratedPackages", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection RatedPackages { get; set; } - - /// - /// This shipment's totalNetFedExChargeList, which is totalNetFreight plus totalSurcharges (not including totalTaxes). - /// - [Newtonsoft.Json.JsonProperty("totalNetFedExCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalNetFedExCharge { get; set; } - - /// - /// Indicates the unique identifier for a specific rate quotation.<br> Example: XX1123XX - /// - [Newtonsoft.Json.JsonProperty("quoteNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string QuoteNumber { get; set; } - - /// - /// This is data for a single leg of a shipment's total/summary rates, as calculated per a specific rate type. - /// - [Newtonsoft.Json.JsonProperty("shipmentLegRateDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection ShipmentLegRateDetails { get; set; } - - /// - /// This identifies the manner in which the chargeRate was applied, for Freight.<br> Valid values are: <ul><li>CWT - Charge rate applies per weight.</li><li>FLAT - Charge rate is a flat-rate amount.</li><li>MINIMUM</li></ul> - /// - [Newtonsoft.Json.JsonProperty("freightChargeBasis", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RatedShipmentDetailFreightChargeBasis? FreightChargeBasis { get; set; } - - [Newtonsoft.Json.JsonProperty("totalVariableHandlingCharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public VariableHandlingCharges TotalVariableHandlingCharges { get; set; } - - /// - /// This is total value added tax charges (VAT). - /// - [Newtonsoft.Json.JsonProperty("totalVatCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalVatCharge { get; set; } - - /// - /// This is the total amount of the shipment-level fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes. - /// - [Newtonsoft.Json.JsonProperty("ancillaryFeesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection AncillaryFeesAndTaxes { get; set; } - - /// - /// Specifies the Edt charges. - /// - [Newtonsoft.Json.JsonProperty("preferredEdtCharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection PreferredEdtCharges { get; set; } - - /// - /// This is net charges for the shipment. - /// - [Newtonsoft.Json.JsonProperty("totalNetCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalNetCharge { get; set; } - - /// - /// This is total base charges for the shipment. - /// - [Newtonsoft.Json.JsonProperty("totalBaseCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalBaseCharge { get; set; } - - /// - /// This is total net Charges with Duties And Taxes for the shipment. - /// - [Newtonsoft.Json.JsonProperty("totalNetChargeWithDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalNetChargeWithDutiesAndTaxes { get; set; } - - [Newtonsoft.Json.JsonProperty("shipmentRateDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShipmentRateDetail ShipmentRateDetail { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailFreightChargeBasis.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailFreightChargeBasis.cs deleted file mode 100644 index bb7ab3a..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailFreightChargeBasis.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RatedShipmentDetailFreightChargeBasis - { - - [System.Runtime.Serialization.EnumMember(Value = @"CWT")] - CWT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"FLAT")] - FLAT = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"MINIMUM")] - MINIMUM = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailRateType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailRateType.cs deleted file mode 100644 index e4ff48f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailRateType.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RatedShipmentDetailRateType - { - - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT")] - ACCOUNT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"ACTUAL")] - ACTUAL = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"CURRENT")] - CURRENT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM")] - CUSTOM = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"LIST")] - LIST = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"INCENTIVE")] - INCENTIVE = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED")] - PREFERRED = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED_INCENTIVE")] - PREFERRED_INCENTIVE = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED_CURRENCY")] - PREFERRED_CURRENCY = 8, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailRatedWeightMethod.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailRatedWeightMethod.cs deleted file mode 100644 index dee1928..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailRatedWeightMethod.cs +++ /dev/null @@ -1,47 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RatedShipmentDetailRatedWeightMethod - { - - [System.Runtime.Serialization.EnumMember(Value = @"ACTUAL")] - ACTUAL = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"AVERAGE_PACKAGE_WEIGHT_MINIMUM")] - AVERAGE_PACKAGE_WEIGHT_MINIMUM = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"DEFAULT_WEIGHT_APPLIED")] - DEFAULT_WEIGHT_APPLIED = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"BALLOON")] - BALLOON = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"DIM")] - DIM = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"FREIGHT_MINIMUM")] - FREIGHT_MINIMUM = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"MIXED")] - MIXED = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"OVERSIZE")] - OVERSIZE = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"OVERSIZE_1")] - OVERSIZE_1 = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"OVERSIZE_2")] - OVERSIZE_2 = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"OVERSIZE_3")] - OVERSIZE_3 = 10, - - [System.Runtime.Serialization.EnumMember(Value = @"PACKAGING_MINIMUM")] - PACKAGING_MINIMUM = 11, - - [System.Runtime.Serialization.EnumMember(Value = @"WEIGHT_BREAK")] - WEIGHT_BREAK = 12, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RecommendedDocumentSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RecommendedDocumentSpecification.cs deleted file mode 100644 index 5cd492a..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RecommendedDocumentSpecification.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// These are recommended document specification which are recommended to be included with the shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RecommendedDocumentSpecification - { - /// - /// This is a document type. - /// - [Newtonsoft.Json.JsonProperty("types", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection Types { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestePackageLineItemDimensions.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestePackageLineItemDimensions.cs deleted file mode 100644 index 987f1fc..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestePackageLineItemDimensions.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicate the dimensions of the package.<br> Following conditions will apply: <ul><li>Dimensions are optional but when added, then all three dimensions must be indicated.</li><li>Dimensions are required with YOUR_PACKAGING package type.</li></ul>Note: The Maximum/minimum dimension values varies based on the services and the packaging types. Refer <a href="https://www.fedex.com/en-us/service-guide.html" target="_blank">FedEx Service Guide</a> for service details related to DIM Weighting for FedEx Express and oversize conditions for FedEx Express and FedEx Ground. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RequestePackageLineItemDimensions : Dimensions_1 - { - /// - /// Indicate the length of the package. No implied decimal places. Maximum value: 999 <br> Example: 20 - /// - [Newtonsoft.Json.JsonProperty("length", Required = Newtonsoft.Json.Required.Always)] - public int Length { get; set; } - - /// - /// Indicate the width of the package. No implied decimal places. Maximum value: 999 <br> Example: 10 - /// - [Newtonsoft.Json.JsonProperty("width", Required = Newtonsoft.Json.Required.Always)] - public int Width { get; set; } - - /// - /// Indicate the height of the package. No implied decimal places. Maximum value: 999 <br> Example: 10 - /// - [Newtonsoft.Json.JsonProperty("height", Required = Newtonsoft.Json.Required.Always)] - public int Height { get; set; } - - /// - /// Indicate the unit of measure for the provided dimensions.<br>Valid Values are:<ul><li>IN - Inches</li><li>CM - Centimeters</li></ul> - /// - [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Units { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedPackageLineItem.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedPackageLineItem.cs deleted file mode 100644 index 0dbf42b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedPackageLineItem.cs +++ /dev/null @@ -1,42 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RequestedPackageLineItem - { - /// - /// This is a physical packaging type used for the package. <br><a onclick='loadDocReference("subpackagetypes")'>Click here to see sub-packaging types</a><br>For more information on physical packaging or packaging regulatory requirements, visit fedex.com or contact your FedEx representative. - /// - [Newtonsoft.Json.JsonProperty("subPackagingType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string SubPackagingType { get; set; } - - /// - /// Indicate the grouped package count. These are number of identical package(s) each with one or more commodities. <br> Example: 2 - /// - [Newtonsoft.Json.JsonProperty("groupPackageCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? GroupPackageCount { get; set; } - - /// - /// This is the Declared Value - represents FedEx Maximum liability in connection with a shipment of that Package, including but not limited to, any loss, damage, delay, misdelivery, any failure to provide information, or misdelivery of information relating to the Shipment. - /// - [Newtonsoft.Json.JsonProperty("declaredValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Money DeclaredValue { get; set; } - - /// - /// Indicate the total weight of the requested package line items. - /// - [Newtonsoft.Json.JsonProperty("weight", Required = Newtonsoft.Json.Required.Always)] - public Weight_2 Weight { get; set; } - - [Newtonsoft.Json.JsonProperty("dimensions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public RequestePackageLineItemDimensions Dimensions { get; set; } - - [Newtonsoft.Json.JsonProperty("variableHandlingChargeDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public VariableHandlingChargeDetail VariableHandlingChargeDetail { get; set; } - - /// - /// These special services are available at the package level for some or all service types. Indicated if rate data is being requested for the special services. - /// - [Newtonsoft.Json.JsonProperty("packageSpecialServices", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PackageSpecialServicesRequested PackageSpecialServices { get; set; } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedRatePackageType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedRatePackageType.cs deleted file mode 100644 index 78243ac..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedRatePackageType.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RequestedRatePackageType - { - [System.Runtime.Serialization.EnumMember(Value = @"YOUR_PACKAGING")] - YOUR_PACKAGING = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_ENVELOPE")] - FEDEX_ENVELOPE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_BOX")] - FEDEX_BOX = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_SMALL_BOX")] - FEDEX_SMALL_BOX = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_MEDIUM_BOX")] - FEDEX_MEDIUM_BOX = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_LARGE_BOX")] - FEDEX_LARGE_BOX = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_EXTRA_LARGE_BOX")] - FEDEX_EXTRA_LARGE_BOX = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_10KG_BOX")] - FEDEX_10KG_BOX = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_25KG_BOX")] - FEDEX_25KG_BOX = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_PAK")] - FEDEX_PAK = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_TUBE")] - FEDEX_TUBE = 10 - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedRateServiceType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedRateServiceType.cs deleted file mode 100644 index 11f06eb..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedRateServiceType.cs +++ /dev/null @@ -1,156 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RequestedRateServiceType - { - /// - /// FedEx International Priority® Express - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_INTERNATIONAL_PRIORITY_EXPRESS")] - FEDEX_INTERNATIONAL_PRIORITY_EXPRESS = 0, - - /// - /// FedEx International First® - /// - [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_FIRST")] - INTERNATIONAL_FIRST = 1, - - /// - /// FedEx International Priority® - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_INTERNATIONAL_PRIORITY")] - FEDEX_INTERNATIONAL_PRIORITY = 2, - - /// - /// FedEx International Economy® - /// - [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_ECONOMY")] - INTERNATIONAL_ECONOMY = 3, - - /// - /// FedEx International Ground® and FedEx Domestic Ground® - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_GROUND")] - FEDEX_GROUND = 4, - - /// - /// FedEx First Overnight® - /// - [System.Runtime.Serialization.EnumMember(Value = @"FIRST_OVERNIGHT")] - FIRST_OVERNIGHT = 5, - - /// - /// FedEx First Overnight® Freight - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_FIRST_FREIGHT")] - FEDEX_FIRST_FREIGHT = 6, - - /// - /// FedEx 1Day® Freight - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_1_DAY_FREIGHT")] - FEDEX_1_DAY_FREIGHT = 7, - - /// - /// FedEx 2Day® Freight - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_2_DAY_FREIGHT")] - FEDEX_2_DAY_FREIGHT = 8, - - /// - /// FedEx 3Day® Freight - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_3_DAY_FREIGHT")] - FEDEX_3_DAY_FREIGHT = 9, - - /// - /// FedEx International Priority® Freight - /// - [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_PRIORITY_FREIGHT")] - INTERNATIONAL_PRIORITY_FREIGHT = 10, - - /// - /// FedEx International Economy® Freight - /// - [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_ECONOMY_FREIGHT")] - INTERNATIONAL_ECONOMY_FREIGHT = 11, - - /// - /// FedEx® International Deferred Freight - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_INTERNATIONAL_DEFERRED_FREIGHT")] - FEDEX_INTERNATIONAL_DEFERRED_FREIGHT = 12, - - /// - /// FedEx International Priority DirectDistribution® - /// - [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_PRIORITY_DISTRIBUTION")] - INTERNATIONAL_PRIORITY_DISTRIBUTION = 13, - - /// - /// FedEx International Priority DirectDistribution® Freight - /// - [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_DISTRIBUTION_FREIGHT")] - INTERNATIONAL_DISTRIBUTION_FREIGHT = 14, - - /// - /// International Ground® Distribution (IGD) - /// - [System.Runtime.Serialization.EnumMember(Value = @"INTL_GROUND_DISTRIBUTION")] - INTL_GROUND_DISTRIBUTION = 15, - - /// - /// FedEx Home Delivery® - /// - [System.Runtime.Serialization.EnumMember(Value = @"GROUND_HOME_DELIVERY")] - GROUND_HOME_DELIVERY = 16, - - /// - /// FedEx Ground® Economy (Formerly known as FedEx SmartPost®) - /// - [System.Runtime.Serialization.EnumMember(Value = @"SMART_POST")] - SMART_POST = 17, - - /// - /// FedEx Priority Overnight® - /// - [System.Runtime.Serialization.EnumMember(Value = @"PRIORITY_OVERNIGHT")] - PRIORITY_OVERNIGHT = 18, - - /// - /// FedEx Standard Overnight® (Hawaii outbound only) - /// - [System.Runtime.Serialization.EnumMember(Value = @"STANDARD_OVERNIGHT")] - STANDARD_OVERNIGHT = 19, - - /// - /// FedEx 2Day® (Except Intra-Hawaii) - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_2_DAY")] - FEDEX_2_DAY = 20, - - /// - /// FedEx 2Day® AM (Hawaii outbound only) - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_2_DAY_AM")] - FEDEX_2_DAY_AM = 21, - - /// - /// FedEx Express Saver® (Except Alaska and Hawaii) - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_EXPRESS_SAVER")] - FEDEX_EXPRESS_SAVER = 22, - - /// - /// FedEx SameDay® - /// - [System.Runtime.Serialization.EnumMember(Value = @"SAME_DAY")] - SAME_DAY = 23, - - /// - /// FedEx SameDay® City (Selected U.S. Metro Areas) - /// - [System.Runtime.Serialization.EnumMember(Value = @"SAME_DAY_CITY")] - SAME_DAY_CITY = 24 - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipment.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipment.cs deleted file mode 100644 index 488e2d3..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipment.cs +++ /dev/null @@ -1,116 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// This is shipment data for which a rate quote (or rate-shipping comparison) is requested. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RequestedShipment - { - /// - /// The descriptive data for the physical shipper location from which the shipment originates. - /// - [Newtonsoft.Json.JsonProperty("shipper", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public RateParty Shipper { get; set; } = new RateParty(); - - /// - /// Indicate the descriptive data for the recipient location to which the shipment is to be received. - /// - [Newtonsoft.Json.JsonProperty("recipient", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public RateParty Recipient { get; set; } = new RateParty(); - - /// - /// Indicate the FedEx service type used for this shipment. The results will be filtered by the service type value indicated. If no serviceType is indicated then all the applicable services and corresponding rates will be returned.<br>Example: STANDARD_OVERNIGHT<br><a onclick='loadDocReference("servicetypes")'>Click here to see Service Types</a> - /// - [Newtonsoft.Json.JsonProperty("serviceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RequestedRateServiceType? ServiceType { get; set; } - - /// - /// Indicate the currency the caller requests to have used in all returned monetary values (when a choice is possible). Used in conjunction with the rateRequestType data element. This element is used to pull Preferred rates.<br>Example: USD<br><a onclick='loadDocReference("currencycodes")'> Click here to see Currency Codes</a> - /// - [Newtonsoft.Json.JsonProperty("preferredCurrency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PreferredCurrency { get; set; } - - /// - /// Indicate the type of rates to be returned.<br>Following are values:<ul><li>LIST - Returns FedEx published list rates in addition to account-specific rates (if applicable).</li><li>PREFERRED - Returns rates in the preferred currency specified in the element preferredCurrency.</li><li>ACCOUNT - Returns account specific rates (Default).</li><li>INCENTIVE - This is one-time discount for incentivising the customer. For more information, contact your FedEx representative.</li></ul>Examples: ["LIST","PREFERRED"] - /// - [Newtonsoft.Json.JsonProperty("rateRequestType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection RateRequestType { get; set; } - - /// - /// This is shipment date. Both the date and time portions of the string are expected to be used. The date should not be a past date or a date more than 10 days in the future. The time is the local time of the shipment based on the shipper's time zone.<br>Required Format is YYYY-MM-DD<br> Example: 2019-09-05 - /// - [Newtonsoft.Json.JsonProperty("shipDateStamp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ShipDateStamp { get; set; } - - /// - /// Indicate the pickup type method by which the shipment to be tendered to FedEx.<br><a onclick='loadDocReference("pickuptypes")'>Click here for more information on Pickup Types.</a> - /// - [Newtonsoft.Json.JsonProperty("pickupType", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RequestedShipmentPickupType PickupType { get; set; } - - /// - /// These are one or more package-attribute descriptions, each of which describes an individual package, a group of identical packages, or (for the total-piece-total-weight case) common characteristics of all packages in the shipment.<ul><li>At least one instance containing the weight for at least one package is required for EXPRESS and GROUND shipments.</li><li>Not used for FREIGHT.</li><li>Single piece requests will have one RequestedPackageLineItem.</li><li>Multiple piece requests will have multiple RequestedPackageLineItems.</li><li>Maximum occurrences is 99.</li></ul> - /// - [Newtonsoft.Json.JsonProperty("requestedPackageLineItems", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public System.Collections.Generic.ICollection RequestedPackageLineItems { get; set; } = new System.Collections.ObjectModel.Collection(); - - /// - /// Indicate whether or not its a document Shipment. - /// - [Newtonsoft.Json.JsonProperty("documentShipment", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? DocumentShipment { get; set; } - - /// - /// contains the detail used to calculate a variable handling charge, a potentially non-fixed handling surcharge. Based on if there is a percent value, or a fixed amount, the charge can either be fixed or percents based. - /// - [Newtonsoft.Json.JsonProperty("variableHandlingChargeDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public VariableHandlingChargeDetail VariableHandlingChargeDetail { get; set; } - - /// - /// This is the Packaging type associated with this rate. For Ground/SmartPost,it will always be YOUR_PACKAGING. For domestic Express, the packaging may have been bumped so it may not match the value specified on the request. For International Express the packaging may be bumped and not mapped.<br><a onclick='loadDocReference("packagetypes")'>Click here to see Package Types</a> - /// - [Newtonsoft.Json.JsonProperty("packagingType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RequestedRatePackageType? PackagingType { get; set; } - - /// - /// Indicate the total number of packages in the shipment. <br>The Maximum number of packages in a rate request is 100. - /// - [Newtonsoft.Json.JsonProperty("totalPackageCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? TotalPackageCount { get; set; } - - /// - /// Specify the total weight of the shipment. <br>This is only applies to International shipments and should be used on the first package of a multiple piece shipment. This value contains 1 explicit decimal position. - /// - [Newtonsoft.Json.JsonProperty("totalWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalWeight { get; set; } - - [Newtonsoft.Json.JsonProperty("shipmentSpecialServices", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public RequestedShipmentSpecialServicesRequested ShipmentSpecialServices { get; set; } - - [Newtonsoft.Json.JsonProperty("customsClearanceDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public RequestedShipmentCustomsClearanceDetail CustomsClearanceDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("serviceTypeDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ServiceTypeDetailVO ServiceTypeDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("smartPostInfoDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public RequestedShipmentSmartPostInfoDetail SmartPostInfoDetail { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentCustomsClearanceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentCustomsClearanceDetail.cs deleted file mode 100644 index c6ea74e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentCustomsClearanceDetail.cs +++ /dev/null @@ -1,45 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// This is Customs clearance data, used for both international and intra-country shipping and rating. Customs commodity data is required for international and intra-country rating. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RequestedShipmentCustomsClearanceDetail - { - /// - /// Conditional.<br>Required if BROKER_SELECT_OPTION is specified as a shipment special service type. A country code must be specified in addition to one of the following address items: postal code, city, or location id. - /// - [Newtonsoft.Json.JsonProperty("brokers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Brokers { get; set; } - - [Newtonsoft.Json.JsonProperty("commercialInvoice", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CommercialInvoice CommercialInvoice { get; set; } - - /// - /// Indicates Freight on value for customs. - /// - [Newtonsoft.Json.JsonProperty("freightOnValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RequestedShipmentCustomsClearanceDetailFreightOnValue? FreightOnValue { get; set; } - - [Newtonsoft.Json.JsonProperty("dutiesPayment", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Payment DutiesPayment { get; set; } - - /// - /// Specify the commodity details. - /// - [Newtonsoft.Json.JsonProperty("commodities", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public System.Collections.Generic.ICollection Commodities { get; set; } = new System.Collections.ObjectModel.Collection(); - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentCustomsClearanceDetailFreightOnValue.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentCustomsClearanceDetailFreightOnValue.cs deleted file mode 100644 index 279b1c5..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentCustomsClearanceDetailFreightOnValue.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RequestedShipmentCustomsClearanceDetailFreightOnValue - { - - [System.Runtime.Serialization.EnumMember(Value = @"CARRIER_RISK")] - CARRIER_RISK = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"OWN_RISK")] - OWN_RISK = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentPickupType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentPickupType.cs deleted file mode 100644 index f160e5c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentPickupType.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RequestedShipmentPickupType - { - - [System.Runtime.Serialization.EnumMember(Value = @"CONTACT_FEDEX_TO_SCHEDULE")] - CONTACT_FEDEX_TO_SCHEDULE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"DROPOFF_AT_FEDEX_LOCATION")] - DROPOFF_AT_FEDEX_LOCATION = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"USE_SCHEDULED_PICKUP")] - USE_SCHEDULED_PICKUP = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetail.cs deleted file mode 100644 index e778b7e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetail.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Use this object to specify the smartpost shipment details. <br>Required for SMARTPOST service. If SmartPostInfoDetail is indicated, the elements below it are also required. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RequestedShipmentSmartPostInfoDetail - { - /// - /// Indicate the type of ancillary endorsement. Is required for Presorted Standard but not for returns or parcel select. Note not all are usable for all ancillary endorsements.<br>For more information, refer to the <a href = 'https://www.fedex.com/en-us/shipping/fedex-smartpost/rates-zones.html' target='_blank'>FedEx SmartPost®</a>. - /// - [Newtonsoft.Json.JsonProperty("ancillaryEndorsement", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RequestedShipmentSmartPostInfoDetailAncillaryEndorsement? AncillaryEndorsement { get; set; } - - /// - /// Specify the four-digit numeric Hub ID value used during rate quote for smartport shipments.<br><a onclick='loadDocReference("smartposthubids")'>Click here to see Hub Ids</a> - /// - [Newtonsoft.Json.JsonProperty("hubId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string HubId { get; set; } - - /// - /// Specify the indicia type.<br>Available options include:<ul><li>MEDIA_MAIL</li><li>PARCEL_SELECT (1 LB through 70 LB)</li><li>PRESORTED_BOUND_PRINTED_MATTER</li><li>PRESORTED_STANDARD (less than 1 LB)</li><li>PARCEL_RETURN</li></ul> - /// - [Newtonsoft.Json.JsonProperty("indicia", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RequestedShipmentSmartPostInfoDetailIndicia? Indicia { get; set; } - - /// - /// Specify the special handling associated with Smartpost Shipment.<br><a onclick='loadDocReference("shipmentlevelspecialservicetypes")'>Click here to see Shipment Level Special Service Types</a> - /// - [Newtonsoft.Json.JsonProperty("specialServices", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RequestedShipmentSmartPostInfoDetailSpecialServices? SpecialServices { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailAncillaryEndorsement.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailAncillaryEndorsement.cs deleted file mode 100644 index bcd0cb0..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailAncillaryEndorsement.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RequestedShipmentSmartPostInfoDetailAncillaryEndorsement - { - - [System.Runtime.Serialization.EnumMember(Value = @"ADDRESS_CORRECTION")] - ADDRESS_CORRECTION = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"CARRIER_LEAVE_IF_NO_RESPONSE")] - CARRIER_LEAVE_IF_NO_RESPONSE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"CHANGE_SERVICE")] - CHANGE_SERVICE = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FORWARDING_SERVICE")] - FORWARDING_SERVICE = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"RETURN_SERVICE")] - RETURN_SERVICE = 4, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailIndicia.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailIndicia.cs deleted file mode 100644 index 363a503..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailIndicia.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RequestedShipmentSmartPostInfoDetailIndicia - { - - [System.Runtime.Serialization.EnumMember(Value = @"MEDIA_MAIL")] - MEDIA_MAIL = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"PARCEL_RETURN")] - PARCEL_RETURN = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"PARCEL_SELECT")] - PARCEL_SELECT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"PRESORTED_BOUND_PRINTED_MATTER")] - PRESORTED_BOUND_PRINTED_MATTER = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"PRESORTED_STANDARD")] - PRESORTED_STANDARD = 4, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailSpecialServices.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailSpecialServices.cs deleted file mode 100644 index 45906cc..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailSpecialServices.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RequestedShipmentSmartPostInfoDetailSpecialServices - { - - [System.Runtime.Serialization.EnumMember(Value = @"USPS_DELIVERY_CONFIRMATION")] - USPS_DELIVERY_CONFIRMATION = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSpecialServicesRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSpecialServicesRequested.cs deleted file mode 100644 index 5d55d56..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSpecialServicesRequested.cs +++ /dev/null @@ -1,49 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicate special services for which the rate data is being requested. Special Services are available at the shipment level for some or all service types.<br>Example: [BROKER_SELECT_OPTION]<br><a onclick='loadDocReference("shipmentlevelspecialservicetypes")'>Click here to see Shipment level Special Service Types</a> - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RequestedShipmentSpecialServicesRequested - { - [Newtonsoft.Json.JsonProperty("returnShipmentDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShipmentSpecialServicesRequested_returnShipmentDetail ReturnShipmentDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("deliveryOnInvoiceAcceptanceDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DeliveryOnInvoiceAcceptanceDetail DeliveryOnInvoiceAcceptanceDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("internationalTrafficInArmsRegulationsDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public InternationalTrafficInArmsRegulationsDetail InternationalTrafficInArmsRegulationsDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("holdAtLocationDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public HoldAtLocationDetail HoldAtLocationDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("shipmentCODDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShipmentSpecialServicesRequestedShipmentCODDetail ShipmentCODDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("shipmentDryIceDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShipmentDryIceDetail ShipmentDryIceDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("internationalControlledExportDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public InternationalControlledExportDetail InternationalControlledExportDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("homeDeliveryPremiumDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public HomeDeliveryPremiumDetail HomeDeliveryPremiumDetail { get; set; } - - /// - /// Indicate special services for which the rate data is being requested. Special Services are available at the shipment level for some or all service types.<br>Example: BROKER_SELECT_OPTION <br><a onclick='loadDocReference("shipmentlevelspecialservicetypes")'>Click here to see Shipment level Special Service Types</a> - /// - [Newtonsoft.Json.JsonProperty("specialServiceTypes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection SpecialServiceTypes { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ResponsibleParty.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ResponsibleParty.cs deleted file mode 100644 index 8c28c72..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ResponsibleParty.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ResponsibleParty : Party_2 - { - [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public object AccountNumber { get; set; } = new object(); - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceDescription.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceDescription.cs deleted file mode 100644 index 296db5c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceDescription.cs +++ /dev/null @@ -1,61 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicates the provides the Service Description details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ServiceDescription - { - /// - /// This is the service type.<br>Example: INTERNATIONAL_FIRST<br><a onclick='loadDocReference("servicetypes")'>Click here to see Service Types</a> - /// - [Newtonsoft.Json.JsonProperty("serviceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ServiceType { get; set; } - - /// - /// Specifies the service code.<br> Example: 92 - /// - [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Code { get; set; } - - /// - /// Specifies the service name. - /// - [Newtonsoft.Json.JsonProperty("names", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Names { get; set; } - - /// - /// Specifies astra description. <br> Example: INTL1ST - /// - [Newtonsoft.Json.JsonProperty("astraDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AstraDescription { get; set; } - - /// - /// Specifies description of the service. <br> Example: FedEx Ground - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// Specifies the service Id. <br> Example: EP1000000135 - /// - [Newtonsoft.Json.JsonProperty("serviceId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ServiceId { get; set; } - - /// - /// Specifies service category. <br> Example: parcel - /// - [Newtonsoft.Json.JsonProperty("serviceCategory", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ServiceCategory { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceSubOptionDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceSubOptionDetail.cs deleted file mode 100644 index 1ca2ed2..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceSubOptionDetail.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// These are supporting detail for applied options identified in a rate quote. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ServiceSubOptionDetail - { - /// - /// This identifies the indicia used during rate quote. - /// - [Newtonsoft.Json.JsonProperty("smartPostIndiciaType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ServiceSubOptionDetailSmartPostIndiciaType? SmartPostIndiciaType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceSubOptionDetailSmartPostIndiciaType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceSubOptionDetailSmartPostIndiciaType.cs deleted file mode 100644 index 086a54e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceSubOptionDetailSmartPostIndiciaType.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ServiceSubOptionDetailSmartPostIndiciaType - { - - [System.Runtime.Serialization.EnumMember(Value = @"MEDIA_MAIL")] - MEDIA_MAIL = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"PARCEL_RETURN")] - PARCEL_RETURN = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"PARCEL_SELECT")] - PARCEL_SELECT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"PRESORTED_BOUND_PRINTED_MATTER")] - PRESORTED_BOUND_PRINTED_MATTER = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"PRESORTED_STANDARD")] - PRESORTED_STANDARD = 4, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceTypeDetailVO.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceTypeDetailVO.cs deleted file mode 100644 index bb33202..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceTypeDetailVO.cs +++ /dev/null @@ -1,44 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// service type information details - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ServiceTypeDetailVO - { - /// - /// Identifies which carrier is being described. - /// - [Newtonsoft.Json.JsonProperty("carrierCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ServiceTypeDetailVOCarrierCode? CarrierCode { get; set; } - - /// - /// Description - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// Service Name - /// - [Newtonsoft.Json.JsonProperty("serviceName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ServiceName { get; set; } - - /// - /// Service Category - /// - [Newtonsoft.Json.JsonProperty("serviceCategory", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ServiceCategory { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceTypeDetailVOCarrierCode.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceTypeDetailVOCarrierCode.cs deleted file mode 100644 index 7bac5c7..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceTypeDetailVOCarrierCode.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ServiceTypeDetailVOCarrierCode - { - - [System.Runtime.Serialization.EnumMember(Value = @"FDXE")] - FDXE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"FDXG")] - FDXG = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"FXSP")] - FXSP = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FXFR")] - FXFR = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"FDXC")] - FDXC = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"FXCC")] - FXCC = 5, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentDryIceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentDryIceDetail.cs deleted file mode 100644 index afd311a..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentDryIceDetail.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Use this object to indicate package count with weight for this shipment containing dry ice. Dry ice is supported in both shipment level and package level services. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipmentDryIceDetail - { - [Newtonsoft.Json.JsonProperty("totalWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Weight_1_2 TotalWeight { get; set; } - - /// - /// This is package count.<br>Example: 12 - /// - [Newtonsoft.Json.JsonProperty("packageCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? PackageCount { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentLegRateDetail_1.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentLegRateDetail_1.cs deleted file mode 100644 index 2afdbf1..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentLegRateDetail_1.cs +++ /dev/null @@ -1,85 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipmentLegRateDetail_1 - { - /// - /// Specifies the list of discounts. <br><a onclick='loadDocReference("discounts")'>Click here to see Discounts</a> - /// - [Newtonsoft.Json.JsonProperty("discounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Discounts { get; set; } - - /// - /// Identifies the type of pricing used for this shipment.<br> Example: ACTUAL - /// - [Newtonsoft.Json.JsonProperty("pricingCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PricingCode { get; set; } - - /// - /// Human-readable text describing the shipment leg.<br> Example: legDescription - /// - [Newtonsoft.Json.JsonProperty("legDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LegDescription { get; set; } - - /// - /// Specifies the list of surcharges.<br>Valid value is:<li>PEAK</li><li>PEAK_ADDTIONAL_HANDLING</li><li>PEAK_OVERSIZE</li><li>PEAK_RESIDENTIAL_DELIVERY</li> - /// - [Newtonsoft.Json.JsonProperty("surcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Surcharges { get; set; } - - /// - /// Indicates which special rating cases applied to this shipment. - /// - [Newtonsoft.Json.JsonProperty("specialRatingApplied", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection SpecialRatingApplied { get; set; } - - /// - /// Specifies the list of taxes. - /// - [Newtonsoft.Json.JsonProperty("taxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Taxes { get; set; } - - /// - /// Indicates the rate scale used. <br> Example: *USER IMS20160104 LD067110 - /// - [Newtonsoft.Json.JsonProperty("rateScale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RateScale { get; set; } - - /// - /// This shipment's totalNetCharge and totalDutiesTaxesAndFees. Some duties and taxes are only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender's account.<br> Example: 87.5 - /// - [Newtonsoft.Json.JsonProperty("totalNetCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalNetCharge { get; set; } - - /// - /// Specifies the total base charge list.<br> Example: 87.5 - /// - [Newtonsoft.Json.JsonProperty("totalBaseCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalBaseCharge { get; set; } - - [Newtonsoft.Json.JsonProperty("currencyExchangeRate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CurrencyExchangeRate CurrencyExchangeRate { get; set; } - - /// - /// Sum of billing weight for the shipment. - /// - [Newtonsoft.Json.JsonProperty("totalBillingWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Weight_1 TotalBillingWeight { get; set; } - - /// - /// Indicate the three-character ISO currency code. <br>Example: USD<br><a onclick='loadDocReference("currencycodes")'>Click here to see Currency Codes</a> - /// - [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Currency { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentRateDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentRateDetail.cs deleted file mode 100644 index 91152ab..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentRateDetail.cs +++ /dev/null @@ -1,107 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// This is shipment level rate data. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipmentRateDetail - { - [Newtonsoft.Json.JsonProperty("currencyExchangeRate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CurrencyExchangeRate CurrencyExchangeRate { get; set; } - - /// - /// Indicates the currency associated with the amount. - /// - [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Currency { get; set; } - - /// - /// Indicates the rate zone used. - /// - [Newtonsoft.Json.JsonProperty("rateZone", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RateZone { get; set; } - - /// - /// Allows clients to determine whether to add charges at the package level when Per Piece Rating details are returned.<br><ul><li>SHIPMENT_WEIGHT_BASED - Indicates shipment weight is used to calculate the rate.</li><br><li>FLAT_RATE_PER_PAK - Indicates shipment is rated based on number of packs, weight would be considered for overweight surcharge but not for calculating shipment rate.</li><br><li>PACK_WEIGHT_BASED - Indicates individual package weight would be rated and aggregated to get shipment rate weight.</li></ul> Example : SHIPMENT_WEIGHT_BASED. - /// - [Newtonsoft.Json.JsonProperty("ratingBasis", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ShipmentRateDetailRatingBasis? RatingBasis { get; set; } - - /// - /// Indicates the type of pricing code. - /// - [Newtonsoft.Json.JsonProperty("pricingCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PricingCode { get; set; } - - /// - /// Indicates the total discounts used in the rate calculation. Example: 856.32 - /// - [Newtonsoft.Json.JsonProperty("totalFreightDiscount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalFreightDiscount { get; set; } - - /// - /// Indicates which special rating cases applied to this shipment. - /// - [Newtonsoft.Json.JsonProperty("specialRatingApplied", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection SpecialRatingApplied { get; set; } - - /// - /// This is sum of all surcharges on the package. Example: 586.25 - /// - [Newtonsoft.Json.JsonProperty("totalSurcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalSurcharges { get; set; } - - /// - /// This is total discount used in the rate calculation.<br><a onclick='loadDocReference("discounts")'>Click here to see Discounts</a> - /// - [Newtonsoft.Json.JsonProperty("freightDiscount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection FreightDiscount { get; set; } - - /// - /// This is fuel surcharge percentage. - /// - [Newtonsoft.Json.JsonProperty("fuelSurchargePercent", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? FuelSurchargePercent { get; set; } - - /// - /// This is total of billing weight for the shipment. - /// - [Newtonsoft.Json.JsonProperty("totalBillingWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Weight_1 TotalBillingWeight { get; set; } - - /// - /// This is total of dimensional weight for the shipment. - /// - [Newtonsoft.Json.JsonProperty("totalDimWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Weight_1 TotalDimWeight { get; set; } - - /// - /// Identifies the type of divisor that was applied.<br> Example: 10 - /// - [Newtonsoft.Json.JsonProperty("dimDivisor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? DimDivisor { get; set; } - - /// - /// Indicates the surcharges applied to this shipment. - /// - [Newtonsoft.Json.JsonProperty("surCharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection SurCharges { get; set; } - - /// - /// List of taxes. - /// - [Newtonsoft.Json.JsonProperty("taxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Taxes { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentRateDetailRatingBasis.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentRateDetailRatingBasis.cs deleted file mode 100644 index 61b36c8..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentRateDetailRatingBasis.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ShipmentRateDetailRatingBasis - { - - [System.Runtime.Serialization.EnumMember(Value = @"SHIPMENT_WEIGHT_BASED")] - SHIPMENT_WEIGHT_BASED = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"FLAT_RATE_PER_PACK")] - FLAT_RATE_PER_PACK = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"PACK_WEIGHT_BASED")] - PACK_WEIGHT_BASED = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetail.cs deleted file mode 100644 index 359f7e6..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetail.cs +++ /dev/null @@ -1,48 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Specifies Shipment COD Detail - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipmentSpecialServicesRequestedShipmentCODDetail - { - [Newtonsoft.Json.JsonProperty("addTransportationChargesDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CODTransportationChargesDetail AddTransportationChargesDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("codRecipient", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Party_2 CodRecipient { get; set; } - - /// - /// Specifies the name of person or company receiving the secured or unsecured payment.<br>Example: FedEx - /// - [Newtonsoft.Json.JsonProperty("remitToName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RemitToName { get; set; } - - /// - /// Indicate the type of funds FedEx should collect upon shipment delivery. - /// - [Newtonsoft.Json.JsonProperty("codCollectionType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ShipmentSpecialServicesRequestedShipmentCODDetailCodCollectionType? CodCollectionType { get; set; } - - [Newtonsoft.Json.JsonProperty("financialInstitutionContactAndAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ContactAndAddress FinancialInstitutionContactAndAddress { get; set; } - - /// - /// Indicate the type of reference information to include on the COD return shipping label. - /// - [Newtonsoft.Json.JsonProperty("returnReferenceIndicatorType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ShipmentSpecialServicesRequestedShipmentCODDetailReturnReferenceIndicatorType? ReturnReferenceIndicatorType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetailCodCollectionType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetailCodCollectionType.cs deleted file mode 100644 index 419d67c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetailCodCollectionType.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ShipmentSpecialServicesRequestedShipmentCODDetailCodCollectionType - { - - [System.Runtime.Serialization.EnumMember(Value = @"ANY")] - ANY = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"CASH")] - CASH = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"COMPANY_CHECK")] - COMPANY_CHECK = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"GUARANTEED_FUNDS")] - GUARANTEED_FUNDS = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_CHECK")] - PERSONAL_CHECK = 4, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetailReturnReferenceIndicatorType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetailReturnReferenceIndicatorType.cs deleted file mode 100644 index 0214245..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetailReturnReferenceIndicatorType.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ShipmentSpecialServicesRequestedShipmentCODDetailReturnReferenceIndicatorType - { - - [System.Runtime.Serialization.EnumMember(Value = @"INVOICE")] - INVOICE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"PO")] - PO = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"REFERENCE")] - REFERENCE = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"TRACKING")] - TRACKING = 3, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequested_returnShipmentDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequested_returnShipmentDetail.cs deleted file mode 100644 index 095f5e5..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequested_returnShipmentDetail.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Details for the Return Shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipmentSpecialServicesRequested_returnShipmentDetail - { - /// - /// The type of return shipment being requested. - /// - [Newtonsoft.Json.JsonProperty("returnType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ShipmentSpecialServicesRequested_returnShipmentDetailReturnType? ReturnType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequested_returnShipmentDetailReturnType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequested_returnShipmentDetailReturnType.cs deleted file mode 100644 index d2ba0a9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequested_returnShipmentDetailReturnType.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ShipmentSpecialServicesRequested_returnShipmentDetailReturnType - { - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_TAG")] - FEDEX_TAG = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"PENDING")] - PENDING = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"PRINT_RETURN_LABEL")] - PRINT_RETURN_LABEL = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"EMAIL_LABEL")] - EMAIL_LABEL = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"NET_RETURN")] - NET_RETURN = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"VOICE_CALL_TAG")] - VOICE_CALL_TAG = 5, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/SmartPost_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/SmartPost_Rate_Quote.cs deleted file mode 100644 index b61d159..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/SmartPost_Rate_Quote.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class SmartPost_Rate_Quote - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/SmsDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/SmsDetail.cs deleted file mode 100644 index 04d5532..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/SmsDetail.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Specifies the SMS notification details.<br>Conditionally required for SMS notifications. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class SmsDetail : Anonymous - { - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/StandaloneBatteryDetails.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/StandaloneBatteryDetails.cs deleted file mode 100644 index 48d638d..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/StandaloneBatteryDetails.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class StandaloneBatteryDetails - { - /// - /// Describes the material composition of the battery or cell. - /// - [Newtonsoft.Json.JsonProperty("batteryMaterialType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public StandaloneBatteryDetailsBatteryMaterialType? BatteryMaterialType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/StandaloneBatteryDetailsBatteryMaterialType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/StandaloneBatteryDetailsBatteryMaterialType.cs deleted file mode 100644 index 99a89b7..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/StandaloneBatteryDetailsBatteryMaterialType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum StandaloneBatteryDetailsBatteryMaterialType - { - - [System.Runtime.Serialization.EnumMember(Value = @"LITHIUM_METAL")] - LITHIUM_METAL = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"LITHIUM_ION")] - LITHIUM_ION = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Surcharge.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Surcharge.cs deleted file mode 100644 index bd1a359..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Surcharge.cs +++ /dev/null @@ -1,49 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Specifies the surcharges. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Surcharge - { - /// - /// Specifies the surcharge type.<br>Example: FUEL <br><a onclick='loadDocReference("surcharges")'>Click here to see more on Surcharges.</a> - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - /// - /// Specifies the description of the surcharge. Indicates delivery and returns information for FedEx Ground Economy services.<br>Example: Fuel Surcharge - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// Specify the declared monetary value/amount of the shipment.<br> Example: 5.42 - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } - - /// - /// Specifies the level of surcharge. <br> Example: level - /// - [Newtonsoft.Json.JsonProperty("level", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Level { get; set; } - - /// - /// The localized name of the surcharge. <br> Example: name - /// - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Surcharge_1.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Surcharge_1.cs deleted file mode 100644 index c10389e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Surcharge_1.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Surcharge_1 - { - /// - /// Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. <br> Example: 87.5 - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } - - /// - /// The level of surcharge. <br> Example: level - /// - [Newtonsoft.Json.JsonProperty("level", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Level { get; set; } - - /// - /// The localized name of the surcharge. <br> Example: name - /// - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } - - /// - /// The description of the surcharge. <br> Example: description - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// The type of surcharge. <br> Example: type - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Tax.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Tax.cs deleted file mode 100644 index 290ba22..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Tax.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Tax surcharge details - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Tax - { - /// - /// Tax amount. <br> Example: 408.97 - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } - - /// - /// The localized name of the tax. <br> Example: Denmark VAT - /// - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } - - /// - /// The description of the Surcharge/Tax. <br> Example: Denmark VAT - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// The type of Surcharge/Tax. <br> Example: VAT - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Tax_1.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Tax_1.cs deleted file mode 100644 index fb43424..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Tax_1.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Specifies the Tax surcharge details - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Tax_1 - { - /// - /// Specifies the list of tax amounts. <br> Example : 87.5 - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } - - /// - /// Specifies the localized name of the tax.<br> Example: Name - /// - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } - - /// - /// Specifies the description of the Surcharge/Tax. <br> Example: description - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// Specifies the type of Surcharge/Tax.<br> Example: type - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/TransitDays.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/TransitDays.cs deleted file mode 100644 index 67b3024..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/TransitDays.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// These are number of days the package/shipment is to be in transit. Applies to Ground and LTL Freight; indicates minimum transit time for SmartPost. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class TransitDays - { - /// - /// Specifies the number of days the package/shipment is to be in transit. <br> Example: 2 Business Days - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// Code indicating the number of transit days.<br> Example: TW0_DAYS - /// - [Newtonsoft.Json.JsonProperty("minimumTransitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TransitDaysMinimumTransitTime? MinimumTransitTime { get; set; } - - [Newtonsoft.Json.JsonProperty("maximumTransitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string MaximumTransitTime { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/TransitDaysMinimumTransitTime.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/TransitDaysMinimumTransitTime.cs deleted file mode 100644 index fa4a7ab..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/TransitDaysMinimumTransitTime.cs +++ /dev/null @@ -1,74 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum TransitDaysMinimumTransitTime - { - - [System.Runtime.Serialization.EnumMember(Value = @"EIGHT_DAYS")] - EIGHT_DAYS = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"EIGHTEEN_DAYS")] - EIGHTEEN_DAYS = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"ELEVEN_DAYS")] - ELEVEN_DAYS = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FIFTEEN_DAYS")] - FIFTEEN_DAYS = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"FIVE_DAYS")] - FIVE_DAYS = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"FOUR_DAYS")] - FOUR_DAYS = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"FOURTEEN_DAYS")] - FOURTEEN_DAYS = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"NINE_DAYS")] - NINE_DAYS = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"NINETEEN_DAYS")] - NINETEEN_DAYS = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"ONE_DAY")] - ONE_DAY = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"SEVEN_DAYS")] - SEVEN_DAYS = 10, - - [System.Runtime.Serialization.EnumMember(Value = @"SEVENTEEN_DAYS")] - SEVENTEEN_DAYS = 11, - - [System.Runtime.Serialization.EnumMember(Value = @"SIX_DAYS")] - SIX_DAYS = 12, - - [System.Runtime.Serialization.EnumMember(Value = @"SIXTEEN_DAYS")] - SIXTEEN_DAYS = 13, - - [System.Runtime.Serialization.EnumMember(Value = @"TEN_DAYS")] - TEN_DAYS = 14, - - [System.Runtime.Serialization.EnumMember(Value = @"THIRTEEN_DAYS")] - THIRTEEN_DAYS = 15, - - [System.Runtime.Serialization.EnumMember(Value = @"THREE_DAYS")] - THREE_DAYS = 16, - - [System.Runtime.Serialization.EnumMember(Value = @"TWELVE_DAYS")] - TWELVE_DAYS = 17, - - [System.Runtime.Serialization.EnumMember(Value = @"TWENTY_DAYS")] - TWENTY_DAYS = 18, - - [System.Runtime.Serialization.EnumMember(Value = @"TWO_DAYS")] - TWO_DAYS = 19, - - [System.Runtime.Serialization.EnumMember(Value = @"SMARTPOST_TRANSIT_DAYS")] - SMARTPOST_TRANSIT_DAYS = 20, - - [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] - UNKNOWN = 21, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Types.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Types.cs deleted file mode 100644 index 9bd6ccc..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Types.cs +++ /dev/null @@ -1,86 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum Types - { - - [System.Runtime.Serialization.EnumMember(Value = @"ANTIQUE_STATEMENT_EUROPEAN_UNION")] - ANTIQUE_STATEMENT_EUROPEAN_UNION = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"ANTIQUE_STATEMENT_UNITED_STATES")] - ANTIQUE_STATEMENT_UNITED_STATES = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"ASSEMBLER_DECLARATION")] - ASSEMBLER_DECLARATION = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"BEARING_WORKSHEET")] - BEARING_WORKSHEET = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"CERTIFICATE_OF_SHIPMENTS_TO_SYRIA")] - CERTIFICATE_OF_SHIPMENTS_TO_SYRIA = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_INVOICE_FOR_THE_CARIBBEAN_COMMON_MARKET")] - COMMERCIAL_INVOICE_FOR_THE_CARIBBEAN_COMMON_MARKET = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"CONIFEROUS_SOLID_WOOD_PACKAGING_MATERIAL_TO_THE_PEOPLES_REPUBLIC_OF_CHINA")] - CONIFEROUS_SOLID_WOOD_PACKAGING_MATERIAL_TO_THE_PEOPLES_REPUBLIC_OF_CHINA = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"DECLARATION_FOR_FREE_ENTRY_OF_RETURNED_AMERICAN_PRODUCTS")] - DECLARATION_FOR_FREE_ENTRY_OF_RETURNED_AMERICAN_PRODUCTS = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"DECLARATION_OF_BIOLOGICAL_STANDARDS")] - DECLARATION_OF_BIOLOGICAL_STANDARDS = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"DECLARATION_OF_IMPORTED_ELECTRONIC_PRODUCTS_SUBJECT_TO_RADIATION_CONTROL_STANDARD")] - DECLARATION_OF_IMPORTED_ELECTRONIC_PRODUCTS_SUBJECT_TO_RADIATION_CONTROL_STANDARD = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET")] - ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET = 10, - - [System.Runtime.Serialization.EnumMember(Value = @"FILM_AND_VIDEO_CERTIFICATE")] - FILM_AND_VIDEO_CERTIFICATE = 11, - - [System.Runtime.Serialization.EnumMember(Value = @"INTERIM_FOOTWEAR_INVOICE")] - INTERIM_FOOTWEAR_INVOICE = 12, - - [System.Runtime.Serialization.EnumMember(Value = @"NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_ENGLISH")] - NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_ENGLISH = 13, - - [System.Runtime.Serialization.EnumMember(Value = @"NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_FRENCH")] - NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_FRENCH = 14, - - [System.Runtime.Serialization.EnumMember(Value = @"NAFTA_CERTIFICATE_OF_ORIGIN_SPANISH")] - NAFTA_CERTIFICATE_OF_ORIGIN_SPANISH = 15, - - [System.Runtime.Serialization.EnumMember(Value = @"NAFTA_CERTIFICATE_OF_ORIGIN_UNITED_STATES")] - NAFTA_CERTIFICATE_OF_ORIGIN_UNITED_STATES = 16, - - [System.Runtime.Serialization.EnumMember(Value = @"PACKING_LIST")] - PACKING_LIST = 17, - - [System.Runtime.Serialization.EnumMember(Value = @"PRINTED_CIRCUIT_BOARD_WORKSHEET")] - PRINTED_CIRCUIT_BOARD_WORKSHEET = 18, - - [System.Runtime.Serialization.EnumMember(Value = @"REPAIRED_WATCH_BREAKOUT_WORKSHEET")] - REPAIRED_WATCH_BREAKOUT_WORKSHEET = 19, - - [System.Runtime.Serialization.EnumMember(Value = @"STATEMENT_REGARDING_THE_IMPORT_OF_RADIO_FREQUENCY_DEVICES")] - STATEMENT_REGARDING_THE_IMPORT_OF_RADIO_FREQUENCY_DEVICES = 20, - - [System.Runtime.Serialization.EnumMember(Value = @"TOXIC_SUBSTANCES_CONTROL_ACT")] - TOXIC_SUBSTANCES_CONTROL_ACT = 21, - - [System.Runtime.Serialization.EnumMember(Value = @"UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES")] - UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES = 22, - - [System.Runtime.Serialization.EnumMember(Value = @"UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_NON_TEXTILES")] - UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_NON_TEXTILES = 23, - - [System.Runtime.Serialization.EnumMember(Value = @"UNITED_STATES_NEW_WATCH_WORKSHEET")] - UNITED_STATES_NEW_WATCH_WORKSHEET = 24, - - [System.Runtime.Serialization.EnumMember(Value = @"UNITED_STATES_WATCH_REPAIR_DECLARATION")] - UNITED_STATES_WATCH_REPAIR_DECLARATION = 25, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Multi_Piece_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Multi_Piece_Rate_Quote.cs deleted file mode 100644 index f30dde0..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Multi_Piece_Rate_Quote.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class US_Domestic_Multi_Piece_Rate_Quote - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Priority_Overnight_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Priority_Overnight_Rate_Quote.cs deleted file mode 100644 index a7a79c4..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Priority_Overnight_Rate_Quote.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class US_Domestic_Priority_Overnight_Rate_Quote - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Rate_shop.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Rate_shop.cs deleted file mode 100644 index 7b98b02..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Rate_shop.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class US_Domestic_Rate_shop - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UnitPrice.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UnitPrice.cs deleted file mode 100644 index 3c17e3c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UnitPrice.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class UnitPrice : Money - { - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UploadDocumentReferenceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UploadDocumentReferenceDetail.cs deleted file mode 100644 index 33080b6..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UploadDocumentReferenceDetail.cs +++ /dev/null @@ -1,44 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Upload document details provided by the initator of the shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class UploadDocumentReferenceDetail - { - /// - /// These are the type of document specified in the PendingShipment request. - /// - [Newtonsoft.Json.JsonProperty("documentType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public UploadDocumentReferenceDetailDocumentType? DocumentType { get; set; } - - /// - /// Customer Reference - /// - [Newtonsoft.Json.JsonProperty("customerReference", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CustomerReference { get; set; } - - /// - /// Indicate description of the shipping documents produced for the shipper by FedEx (see ShippingDocumentSpecification) which should be copied back to the shipper in the shipment result data. - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// Specify the document ID for the uploaded document. - /// - [Newtonsoft.Json.JsonProperty("documentId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DocumentId { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UploadDocumentReferenceDetailDocumentType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UploadDocumentReferenceDetailDocumentType.cs deleted file mode 100644 index e12ecdc..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UploadDocumentReferenceDetailDocumentType.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum UploadDocumentReferenceDetailDocumentType - { - - [System.Runtime.Serialization.EnumMember(Value = @"CERTIFICATE_OF_ORIGIN")] - CERTIFICATE_OF_ORIGIN = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_INVOICE")] - COMMERCIAL_INVOICE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"ETD_LABEL")] - ETD_LABEL = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"NAFTA_CERTIFICATE_OF_ORIGIN")] - NAFTA_CERTIFICATE_OF_ORIGIN = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"NET_RATE_SHEET")] - NET_RATE_SHEET = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] - OTHER = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"PRO_FORMA_INVOICE")] - PRO_FORMA_INVOICE = 6, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetail.cs deleted file mode 100644 index c6cd7d9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetail.cs +++ /dev/null @@ -1,53 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// Indicate the details on how to calculate variable handling charges at the package level. If indicated, element rateLevelType is required. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class VariableHandlingChargeDetail - { - /// - /// The rate type indicates what type of rate request is being returned; account, preferred, incentive, etc. - /// - [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public VariableHandlingChargeDetailRateType? RateType { get; set; } - - /// - /// Indicate the variable handling percentage. Actual percentage (10 means 10%, which is a mutiplier of 0.1). - /// - [Newtonsoft.Json.JsonProperty("percentValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? PercentValue { get; set; } - - /// - /// indicates whether or not the rating is being done at the package level, or if the packages are bundled together. At the package level, charges are applied based on the details of each individual package. If they are bundled, one package is chosen as the parent and charges are applied based on that one package. - /// - [Newtonsoft.Json.JsonProperty("rateLevelType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public VariableHandlingChargeDetailRateLevelType? RateLevelType { get; set; } - - /// - /// Indicate the Fixed value. <br>If you choose FIXED_AMOUNT as the ChargeType, this element allows you to enter the fixed value of the handling charge. The element allows entry of 7 characters before the decimal and 2 characters following the decimal. <br>Example - 5.00. - /// - [Newtonsoft.Json.JsonProperty("fixedValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Money FixedValue { get; set; } - - /// - /// Indicate the rate charge on which, the variable handling amount is calculated. - /// - [Newtonsoft.Json.JsonProperty("rateElementBasis", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public VariableHandlingChargeDetailRateElementBasis RateElementBasis { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateElementBasis.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateElementBasis.cs deleted file mode 100644 index 10b48be..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateElementBasis.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum VariableHandlingChargeDetailRateElementBasis - { - - [System.Runtime.Serialization.EnumMember(Value = @"NET_CHARGE")] - NET_CHARGE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"NET_FREIGHT")] - NET_FREIGHT = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"BASE_CHARGE")] - BASE_CHARGE = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"NET_CHARGE_EXCLUDING_TAXES")] - NET_CHARGE_EXCLUDING_TAXES = 3, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateLevelType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateLevelType.cs deleted file mode 100644 index 9f2fbd9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateLevelType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum VariableHandlingChargeDetailRateLevelType - { - - [System.Runtime.Serialization.EnumMember(Value = @"BUNDLED_RATE")] - BUNDLED_RATE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"INDIVIDUAL_PACKAGE_RATE")] - INDIVIDUAL_PACKAGE_RATE = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateType.cs deleted file mode 100644 index 620598a..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateType.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum VariableHandlingChargeDetailRateType - { - - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT")] - ACCOUNT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"ACTUAL")] - ACTUAL = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"CURRENT")] - CURRENT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM")] - CUSTOM = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"LIST")] - LIST = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"INCENTIVE")] - INCENTIVE = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED")] - PREFERRED = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED_INCENTIVE")] - PREFERRED_INCENTIVE = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED_CURRENCY")] - PREFERRED_CURRENCY = 8, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingCharges.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingCharges.cs deleted file mode 100644 index 1e31ccc..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingCharges.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// The variable handling charge amount calculated based on the requested variable handling charge detail. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class VariableHandlingCharges - { - /// - /// Specifies the total customer assessed handling charges.<br> Example: 445.54 - /// - [Newtonsoft.Json.JsonProperty("totalCustomerCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalCustomerCharge { get; set; } - - /// - /// The variable handling charge amount calculated based on the requested variable handling charge detail. <br> Example: 403.2 - /// - [Newtonsoft.Json.JsonProperty("variableHandlingCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? VariableHandlingCharge { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight.cs deleted file mode 100644 index 7c39c51..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Weight : Weight_1 - { - [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Units { get; set; } - - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Always)] - public double Value { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1.cs deleted file mode 100644 index 441bf63..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// These are the weight details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Weight_1 - { - /// - /// Specifies the package weight unit. For Dry Ice the unit of measure is KG. - /// - [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Weight_1Units? Units { get; set; } - - /// - /// Specifies the package weight.<br> Example: 68.25 - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Value { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1Units.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1Units.cs deleted file mode 100644 index 6713392..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1Units.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum Weight_1Units - { - - [System.Runtime.Serialization.EnumMember(Value = @"KG")] - KG = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"LB")] - LB = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1_2.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1_2.cs deleted file mode 100644 index a39fef8..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1_2.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - /// - /// These are the weight details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Weight_1_2 - { - /// - /// Specifies the package weight unit. For Dry Ice the unit of measure is KG. - /// - [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Weight_1_2Units? Units { get; set; } - - /// - /// Specifies the package weight.<br> Example: 68.25 - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Value { get; set; } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1_2Units.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1_2Units.cs deleted file mode 100644 index b168647..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1_2Units.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum Weight_1_2Units - { - - [System.Runtime.Serialization.EnumMember(Value = @"KG")] - KG = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"LB")] - LB = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_2.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_2.cs deleted file mode 100644 index 9d7b847..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_2.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Weight_2 : Weight_1_2 - { - [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public Weight_1_2Units Units { get; set; } - - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Always)] - public decimal Value { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/options2.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/options2.cs deleted file mode 100644 index ddf241d..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/options2.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum options2 - { - - [System.Runtime.Serialization.EnumMember(Value = @"PRODUCE_PAPERLESS_SHIPPING_FORMAT")] - PRODUCE_PAPERLESS_SHIPPING_FORMAT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"SUPPRESS_ADDITIONAL_LANGUAGES")] - SUPPRESS_ADDITIONAL_LANGUAGES = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SUPPRESS_ACCESS_EMAILS")] - SUPPRESS_ACCESS_EMAILS = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/options3.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/options3.cs deleted file mode 100644 index c948b56..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/options3.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum options3 - { - - [System.Runtime.Serialization.EnumMember(Value = @"ALLOW_MODIFICATIONS")] - ALLOW_MODIFICATIONS = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalLabelsDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalLabelsDetail.cs deleted file mode 100644 index 647857c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalLabelsDetail.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class AdditionalLabelsDetail - { - /// - /// Specify the type of additional details to be added on the label.<br>Example:MANIFEST - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public AdditionalLabelsDetailType? Type { get; set; } - - /// - /// Specifies the count of label to return.<br>Example:1 - /// - [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalLabelsDetailType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalLabelsDetailType.cs deleted file mode 100644 index 896856b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalLabelsDetailType.cs +++ /dev/null @@ -1,41 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum AdditionalLabelsDetailType - { - - [System.Runtime.Serialization.EnumMember(Value = @"BROKER")] - BROKER = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"CONSIGNEE")] - CONSIGNEE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMS")] - CUSTOMS = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"DESTINATION")] - DESTINATION = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"DESTINATION_CONTROL_STATEMENT")] - DESTINATION_CONTROL_STATEMENT = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"FREIGHT_REFERENCE")] - FREIGHT_REFERENCE = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"MANIFEST")] - MANIFEST = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"ORIGIN")] - ORIGIN = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"RECIPIENT")] - RECIPIENT = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"SECOND_ADDRESS")] - SECOND_ADDRESS = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"SHIPPER")] - SHIPPER = 10, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalMeasures.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalMeasures.cs deleted file mode 100644 index efcc6dd..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalMeasures.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class AdditionalMeasures - { - /// - /// Specify commodity quantity. - /// - [Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Quantity { get; set; } - - /// - /// Unit of measure used to express the quantity of this commodity line item. - /// - [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Units { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Address.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Address.cs deleted file mode 100644 index 5c75b57..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Address.cs +++ /dev/null @@ -1,57 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Descriptive data for a physical location. May be used as an actual physical address (place to which one could go), or as a container of "address parts" which should be handled as a unit (such as a city-state-ZIP combination within the US). - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Address - { - /// - /// This is the combination of number, street name, etc. <br>Note: At least one line is required and streetlines more than 3 will be ignored. Empty lines should not be included. Maximum length per line is 35.<br>Example: [10 FedEx Parkway, Suite 302, .etc.] - /// - [Newtonsoft.Json.JsonProperty("streetLines", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public System.Collections.Generic.ICollection StreetLines { get; set; } = new System.Collections.ObjectModel.Collection(); - - /// - /// This is a placeholder for City Name.<br>Note: This is conditional and not required in all the requests.<br>Note: It is recommended for Express shipments for the most accurate ODA and OPA surcharges.<br>Example: Beverly Hills - /// - [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string City { get; set; } - - /// - /// This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.<br>Example: CA<br><a onclick='loadDocReference("canadaprovincecodes")'>click here to see State or Province Code</a> - /// - [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StateOrProvinceCode { get; set; } - - /// - /// Indicate the Postal code. This is Optional for non postal-aware countries. Maximum length is 10.<br> Example: 65247<br><a onclick='loadDocReference("postalawarecountries")'>click here to see Postal aware countries</a> - /// - [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PostalCode { get; set; } - - /// - /// This is the two-letter country code.<br>Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> - /// - [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string CountryCode { get; set; } - - /// - /// Indicate whether this address is residential (as opposed to commercial). - /// - [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Residential { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Address2.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Address2.cs deleted file mode 100644 index 9de9577..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Address2.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Address2 - { - /// - /// This is the combination of number, street name, etc. <br>Note: At least one line is required and streetlines more than 3 will be ignored. Empty lines should not be included. Maximum length per line is 35.<br>Example: [10 FedEx Parkway, Suite 302, .etc.] - /// - [Newtonsoft.Json.JsonProperty("streetLines", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public System.Collections.Generic.ICollection StreetLines { get; set; } = new System.Collections.ObjectModel.Collection(); - - /// - /// The two-letter code used to identify a country. Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> - /// - [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string CountryCode { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Address_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Address_1.cs deleted file mode 100644 index 8ea72ed..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Address_1.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This is detailed information on physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the U.S.). - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Address_1 - { - /// - /// This is the combination of number, street name, etc. <br>Note: At least one line is required and streetlines more than 3 will be ignored. Empty lines should not be included. Maximum length per line is 35.<br>Example: [10 FedEx Parkway, Suite 302, .etc.] - /// - [Newtonsoft.Json.JsonProperty("streetLines", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection StreetLines { get; set; } - - /// - /// This is a placeholder for City Name.<br>Note: This is conditional and not required in all the requests.<br>Note: It is recommended for Express shipments for the most accurate ODA and OPA surcharges.<br>Example: Beverly Hills - /// - [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string City { get; set; } - - /// - /// This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.<br>Example: CA<br><a onclick='loadDocReference("canadaprovincecodes")'>click here to see State or Province Code</a> - /// - [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StateOrProvinceCode { get; set; } - - /// - /// Indicate the Postal code. This is Optional for non postal-aware countries. Maximum length is 10.<br> Example: 65247<br><a onclick='loadDocReference("postalawarecountries")'>click here to see Postal aware countries</a> - /// - [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PostalCode { get; set; } - - /// - /// This is the two-letter country code.<br>Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> - /// - [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CountryCode { get; set; } - - /// - /// Indicates whether this address is residential (as opposed to commercial).<br> Example: false - /// - [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Residential { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AdrLicenseDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AdrLicenseDetail.cs deleted file mode 100644 index 59765f0..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/AdrLicenseDetail.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies the details around the ADR license required for shipping. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class AdrLicenseDetail - { - [Newtonsoft.Json.JsonProperty("licenseOrPermitDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public LicenseOrPermitDetail LicenseOrPermitDetail { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AlcoholDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AlcoholDetail.cs deleted file mode 100644 index d8fe51f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/AlcoholDetail.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are detcontentails for the package containing alcohol. This is required for alcohol special service. The alcoholRecipientType is required. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class AlcoholDetail - { - /// - /// Specify the Alcohol Recipient Type of the shipment. <br> Example: LICENSEE - /// - [Newtonsoft.Json.JsonProperty("alcoholRecipientType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public AlcoholDetailAlcoholRecipientType? AlcoholRecipientType { get; set; } - - /// - /// Specify the type of entity, the shipper for alcohol shipment is registered such as fulfillment house, retailer or a winery. - /// - [Newtonsoft.Json.JsonProperty("shipperAgreementType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ShipperAgreementType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AlcoholDetailAlcoholRecipientType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AlcoholDetailAlcoholRecipientType.cs deleted file mode 100644 index 809f360..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/AlcoholDetailAlcoholRecipientType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum AlcoholDetailAlcoholRecipientType - { - - [System.Runtime.Serialization.EnumMember(Value = @"LICENSEE")] - LICENSEE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"CONSUMER")] - CONSUMER = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Alert.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Alert.cs deleted file mode 100644 index 02797d6..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Alert.cs +++ /dev/null @@ -1,38 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are alert details received in the response. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Alert - { - /// - /// Specifies the api alert code.<br>Example: SHIPMENT.VALIDATION.SUCCESS - /// - [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Code { get; set; } - - /// - /// Specifies the api alert type. - /// - [Newtonsoft.Json.JsonProperty("alertType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public AlertType? AlertType { get; set; } - - /// - /// Specifies the api alert message.<br>Example: Shipment validated successfully. No errors found. - /// - [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Message { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AlertType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AlertType.cs deleted file mode 100644 index ad857c5..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/AlertType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum AlertType - { - - [System.Runtime.Serialization.EnumMember(Value = @"NOTE")] - NOTE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"WARNING")] - WARNING = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Alerts.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Alerts.cs deleted file mode 100644 index ad1a16f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Alerts.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Alerts - { - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AllowedSpecialService.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AllowedSpecialService.cs deleted file mode 100644 index 6d8ef72..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/AllowedSpecialService.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum AllowedSpecialService - { - - [System.Runtime.Serialization.EnumMember(Value = @"SATURDAY_DELIVERY")] - SATURDAY_DELIVERY = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"SATURDAY_PICKUP")] - SATURDAY_PICKUP = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AsynchronousProcessingOptionType_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AsynchronousProcessingOptionType_1.cs deleted file mode 100644 index bbe62c4..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/AsynchronousProcessingOptionType_1.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicate the processing option for submitting a Single shot MPS shipment. The value indicates if the MPS to be processed synchronously or asynchronously.<br>Note: <ul><li>Default value is SYNCHRONOUS_ONLY.</li><li>Value or element is not needed when groupPackageCount is less than or equal to 40.</li><li>Must provide element with value ALLOW_ASYNCHRONOUS when groupPackageCount is greater than 40.</li></ul> <br>Example:ALLOW_ASYNCHRONUS - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum AsynchronousProcessingOptionType_1 - { - - [System.Runtime.Serialization.EnumMember(Value = @"SYNCHRONOUS_ONLY")] - SYNCHRONOUS_ONLY = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"ALLOW_ASYNCHRONOUS")] - ALLOW_ASYNCHRONOUS = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Attributes.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Attributes.cs deleted file mode 100644 index 19851d5..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Attributes.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum Attributes - { - - [System.Runtime.Serialization.EnumMember(Value = @"POST_SHIPMENT_UPLOAD_REQUESTED")] - POST_SHIPMENT_UPLOAD_REQUESTED = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BaseProcessOutputVO_ShipShipment.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BaseProcessOutputVO_ShipShipment.cs deleted file mode 100644 index 2e474c7..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/BaseProcessOutputVO_ShipShipment.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This is the response received when a shipment is requested. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class BaseProcessOutputVO_ShipShipment - { - /// - /// These are shipping transaction details, such as master tracking number, service type, and ship date and time. - /// - [Newtonsoft.Json.JsonProperty("transactionShipments", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection TransactionShipments { get; set; } - - /// - /// The alerts received when processing a shipment request. - /// - [Newtonsoft.Json.JsonProperty("alerts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Alerts { get; set; } - - /// - /// Unique identifier for a Job. Example: abc123456 - /// - [Newtonsoft.Json.JsonProperty("jobId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string JobId { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetail.cs deleted file mode 100644 index 049941c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetail.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class BatteryDetail - { - /// - /// Describe the packing arrangement of the battery or cell with respect to other items within the same package. - /// - [Newtonsoft.Json.JsonProperty("batteryPackingType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public BatteryDetailBatteryPackingType? BatteryPackingType { get; set; } - - /// - /// This is a regulation specific classification for the battery or the cell. - /// - [Newtonsoft.Json.JsonProperty("batteryRegulatoryType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public BatteryDetailBatteryRegulatoryType? BatteryRegulatoryType { get; set; } - - /// - /// Indicate the material composition of the battery or cell. - /// - [Newtonsoft.Json.JsonProperty("batteryMaterialType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public BatteryDetailBatteryMaterialType? BatteryMaterialType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryMaterialType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryMaterialType.cs deleted file mode 100644 index a1e0d68..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryMaterialType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum BatteryDetailBatteryMaterialType - { - - [System.Runtime.Serialization.EnumMember(Value = @"LITHIUM_METAL")] - LITHIUM_METAL = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"LITHIUM_ION")] - LITHIUM_ION = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryPackingType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryPackingType.cs deleted file mode 100644 index fbc32c6..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryPackingType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum BatteryDetailBatteryPackingType - { - - [System.Runtime.Serialization.EnumMember(Value = @"CONTAINED_IN_EQUIPMENT")] - CONTAINED_IN_EQUIPMENT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"PACKED_WITH_EQUIPMENT")] - PACKED_WITH_EQUIPMENT = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryRegulatoryType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryRegulatoryType.cs deleted file mode 100644 index 0c3e2c9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryRegulatoryType.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum BatteryDetailBatteryRegulatoryType - { - - [System.Runtime.Serialization.EnumMember(Value = @"IATA_SECTION_II")] - IATA_SECTION_II = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BillingDetails.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BillingDetails.cs deleted file mode 100644 index a923252..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/BillingDetails.cs +++ /dev/null @@ -1,55 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are billing details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class BillingDetails - { - /// - /// Indicates a billing code. - /// - [Newtonsoft.Json.JsonProperty("billingCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string BillingCode { get; set; } - - /// - /// These are duties and taxes billing type. - /// - [Newtonsoft.Json.JsonProperty("billingType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string BillingType { get; set; } - - /// - /// This is bill to alias identifier. - /// - [Newtonsoft.Json.JsonProperty("aliasId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AliasId { get; set; } - - /// - /// This is account nick name. - /// - [Newtonsoft.Json.JsonProperty("accountNickname", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AccountNickname { get; set; } - - /// - /// This is bill to account number. - /// - [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AccountNumber { get; set; } - - /// - /// This is the country code of the account number.<br>Example: CA - /// - [Newtonsoft.Json.JsonProperty("accountNumberCountryCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AccountNumberCountryCode { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BinaryBarcode.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BinaryBarcode.cs deleted file mode 100644 index da375fc..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/BinaryBarcode.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Each instance of this data type represents a barcode whose content must be represented as binary data (i.e. not ASCII text). - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class BinaryBarcode - { - /// - /// The kind of barcode data in this instance.<br> Example: COMMON-2D - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - /// - /// This is the value. - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public byte[] Value { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Broker.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Broker.cs deleted file mode 100644 index fd144f4..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Broker.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Broker : Party_1 - { - /// - /// Specifies broker address details. - /// - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public object Address { get; set; } - - /// - /// Specifies broker contact details. - /// - [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public object Contact { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BrokerDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BrokerDetail.cs deleted file mode 100644 index ce3038e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/BrokerDetail.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are broker details for the shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class BrokerDetail - { - /// - /// These are broker details for the shipment with physical address, contact and account number information. - /// - [Newtonsoft.Json.JsonProperty("broker", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Broker Broker { get; set; } - - /// - /// Identifies the type of Broker.<br>Example: IMPORT - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public BrokerDetailType? Type { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BrokerDetailType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BrokerDetailType.cs deleted file mode 100644 index c7999e1..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/BrokerDetailType.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum BrokerDetailType - { - - [System.Runtime.Serialization.EnumMember(Value = @"IMPORT")] - IMPORT = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetail.cs deleted file mode 100644 index b665225..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetail.cs +++ /dev/null @@ -1,47 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Use this object to specify C.O.D. transportation charges. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CODTransportationChargesDetail - { - /// - /// Specify the Rate Type used. - /// - [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CODTransportationChargesDetailRateType? RateType { get; set; } - - /// - /// Specify which level the rate to be applied. - /// - [Newtonsoft.Json.JsonProperty("rateLevelType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CODTransportationChargesDetailRateLevelType? RateLevelType { get; set; } - - /// - /// Specify which level the charges to be applied. - /// - [Newtonsoft.Json.JsonProperty("chargeLevelType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CODTransportationChargesDetailChargeLevelType? ChargeLevelType { get; set; } - - /// - /// Specify Charge type. - /// - [Newtonsoft.Json.JsonProperty("chargeType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CODTransportationChargesDetailChargeType? ChargeType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailChargeLevelType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailChargeLevelType.cs deleted file mode 100644 index 3c27afd..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailChargeLevelType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CODTransportationChargesDetailChargeLevelType - { - - [System.Runtime.Serialization.EnumMember(Value = @"CURRENT_PACKAGE")] - CURRENT_PACKAGE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"SUM_OF_PACKAGES")] - SUM_OF_PACKAGES = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailChargeType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailChargeType.cs deleted file mode 100644 index 83c0a5f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailChargeType.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CODTransportationChargesDetailChargeType - { - - [System.Runtime.Serialization.EnumMember(Value = @"COD_SURCHARGE")] - COD_SURCHARGE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"NET_CHARGE")] - NET_CHARGE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"NET_FREIGHT")] - NET_FREIGHT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_CUSTOMER_CHARGE")] - TOTAL_CUSTOMER_CHARGE = 3, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailRateLevelType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailRateLevelType.cs deleted file mode 100644 index 477c79d..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailRateLevelType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CODTransportationChargesDetailRateLevelType - { - - [System.Runtime.Serialization.EnumMember(Value = @"BUNDLED_RATE")] - BUNDLED_RATE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"INDIVIDUAL_PACKAGE_RATE")] - INDIVIDUAL_PACKAGE_RATE = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailRateType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailRateType.cs deleted file mode 100644 index cd3c377..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailRateType.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CODTransportationChargesDetailRateType - { - - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT")] - ACCOUNT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"CURRENT")] - CURRENT = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM")] - CUSTOM = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CertificateOfOriginDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CertificateOfOriginDetail.cs deleted file mode 100644 index 1057345..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CertificateOfOriginDetail.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// The instructions indicating how to print the Certificate of Origin ( e.g. whether or not to include the instructions, image type, etc ...) - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CertificateOfOriginDetail - { - /// - /// Specifies the usage and identification of customer supplied images to be used on this document. - /// - [Newtonsoft.Json.JsonProperty("customerImageUsages", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection CustomerImageUsages { get; set; } - - [Newtonsoft.Json.JsonProperty("documentFormat", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShippingDocumentFormat DocumentFormat { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoice.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoice.cs deleted file mode 100644 index e1abaf2..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoice.cs +++ /dev/null @@ -1,96 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Use this object to provide Commercial Invoice details. This element is required for electronic upload of CI data. It will serve to create/transmit an electronic Commercial Invoice through the FedEx system.<br>Customers are responsible for printing their own Commercial Invoice.<br>If you would like FedEx to generate a Commercial Invoice and transmit it to Customs for clearance purposes, you need to specify that in the ETDDetail/RequestedDocumentCopies element.<br>Supports maximum of 99 commodity line items. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CommercialInvoice - { - /// - /// The originatorName that will populate the Commercial Invoice (or Pro Forma).<br>Example: originator name - /// - [Newtonsoft.Json.JsonProperty("originatorName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OriginatorName { get; set; } - - /// - /// The comments that will populate the Commercial Invoice (or Pro Forma). Only the comments specified in the first two indexes of the array will be printed on the invoice and other comments would be ignored as the limitation is set for only two indexes. It considers the comment which is in the first index as a Special Instructions, Hence the comment at first index will be printed under special instructions and the other will be printed at comments section in the Commercial Invoice Document. <br>Example: comments - /// - [Newtonsoft.Json.JsonProperty("comments", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Comments { get; set; } - - /// - /// These are additional customer reference data for commercial invoice. - /// - [Newtonsoft.Json.JsonProperty("customerReferences", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection CustomerReferences { get; set; } - - /// - /// Indicate the taxes or miscellaneous charges(other than freight charges or insurance charges) that are associated with the shipment. - /// - [Newtonsoft.Json.JsonProperty("taxesOrMiscellaneousCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Money TaxesOrMiscellaneousCharge { get; set; } - - /// - /// Specifies the Taxes Or Miscellaneous Charge Type<br>Example: COMMISSIONS - /// - [Newtonsoft.Json.JsonProperty("taxesOrMiscellaneousChargeType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CommercialInvoiceTaxesOrMiscellaneousChargeType? TaxesOrMiscellaneousChargeType { get; set; } - - /// - /// Indicates the freight charge added by the shipper/customer for shipping the package. Optional to the customer. - /// - [Newtonsoft.Json.JsonProperty("freightCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Money FreightCharge { get; set; } - - /// - /// Indicates the packing cost added by the shipper/customer for shipping the package. Optional to the customer. - /// - [Newtonsoft.Json.JsonProperty("packingCosts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Money PackingCosts { get; set; } - - /// - /// Indicates the packing cost added by the shipper/customer for shipping the package. Optional to the customer. - /// - [Newtonsoft.Json.JsonProperty("handlingCosts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Money HandlingCosts { get; set; } - - /// - /// This is the declaration statement which will populate the Commercial Invoice (or Pro Forma).<br>Maximum length is 554.<br>Example: declarationStatement - /// - [Newtonsoft.Json.JsonProperty("declarationStatement", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DeclarationStatement { get; set; } - - /// - /// The termsOfSale that will populate the Commercial Invoice (or Pro Forma). Max length is 3<br>Example: FCA - /// - [Newtonsoft.Json.JsonProperty("termsOfSale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TermsOfSale { get; set; } - - /// - /// These are special instructions that will be populated on the Commercial Invoice (or Pro Forma).<br>Example: specialInstructions - /// - [Newtonsoft.Json.JsonProperty("specialInstructions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string SpecialInstructions { get; set; } - - /// - /// The reason for the shipment. Note: SOLD is not a valid purpose for a Proforma Invoice.<br>Example: REPAIR_AND_RETURN - /// - [Newtonsoft.Json.JsonProperty("shipmentPurpose", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CommercialInvoiceShipmentPurpose? ShipmentPurpose { get; set; } - - [Newtonsoft.Json.JsonProperty("emailNotificationDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShipEmailDispositionDetail EmailNotificationDetail { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceDetail.cs deleted file mode 100644 index 42649ac..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceDetail.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// The instructions indicating how to print the Commercial Invoice( e.g. image type) Specifies characteristics of a shipping document to be produced. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CommercialInvoiceDetail - { - /// - /// Specifies the usage and identification of customer supplied images to be used on this document. - /// - [Newtonsoft.Json.JsonProperty("customerImageUsages", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection CustomerImageUsages { get; set; } - - [Newtonsoft.Json.JsonProperty("documentFormat", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShippingDocumentFormat DocumentFormat { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceShipmentPurpose.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceShipmentPurpose.cs deleted file mode 100644 index e03f847..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceShipmentPurpose.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CommercialInvoiceShipmentPurpose - { - - [System.Runtime.Serialization.EnumMember(Value = @"GIFT")] - GIFT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"NOT_SOLD")] - NOT_SOLD = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_EFFECTS")] - PERSONAL_EFFECTS = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"REPAIR_AND_RETURN")] - REPAIR_AND_RETURN = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"SAMPLE")] - SAMPLE = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"SOLD")] - SOLD = 5, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceTaxesOrMiscellaneousChargeType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceTaxesOrMiscellaneousChargeType.cs deleted file mode 100644 index 5ffd597..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceTaxesOrMiscellaneousChargeType.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CommercialInvoiceTaxesOrMiscellaneousChargeType - { - - [System.Runtime.Serialization.EnumMember(Value = @"COMMISSIONS")] - COMMISSIONS = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"DISCOUNTS")] - DISCOUNTS = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"HANDLING_FEES")] - HANDLING_FEES = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] - OTHER = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"ROYALTIES_AND_LICENSE_FEES")] - ROYALTIES_AND_LICENSE_FEES = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"TAXES")] - TAXES = 5, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Commodity.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Commodity.cs deleted file mode 100644 index 5a9f71b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Commodity.cs +++ /dev/null @@ -1,114 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Commodity - { - /// - /// This is the unit price. - /// - [Newtonsoft.Json.JsonProperty("unitPrice", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Money UnitPrice { get; set; } - - /// - /// This object contains additional quantitative information other than weight and quantity to calculate duties and taxes. - /// - [Newtonsoft.Json.JsonProperty("additionalMeasures", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection AdditionalMeasures { get; set; } - - /// - /// Indicate the number of pieces associated with the commodity. The value can neither be negative nor exceed 9,999.<br>Example: 12 - /// - [Newtonsoft.Json.JsonProperty("numberOfPieces", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? NumberOfPieces { get; set; } - - /// - /// This is the units quantity (using quantityUnits as the unit of measure) per commodity. This is used to estimate duties and taxes.<br> Example: 125 - /// - [Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Quantity { get; set; } - - /// - /// This is the unit of measure for the units quantity. This is used to estimate duties and taxes.<br>Example: EA<br><a onclick='loadDocReference("harmonizedsystemcodeunitofmeasure-table1")'>click here to see Commodity Unit Measures</a> - /// - [Newtonsoft.Json.JsonProperty("quantityUnits", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string QuantityUnits { get; set; } - - /// - /// This customs value is applicable for all items(or units) under the specified commodity. - /// - [Newtonsoft.Json.JsonProperty("customsValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Customs_Money CustomsValue { get; set; } - - /// - /// This is commodity country of manufacture. This is required for International shipments. Maximum allowed length is 4.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> - /// - [Newtonsoft.Json.JsonProperty("countryOfManufacture", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CountryOfManufacture { get; set; } - - /// - /// This is an identifying mark or number used on the packaging of a shipment to help customers identify a particular shipment<br>Example: 87123 - /// - [Newtonsoft.Json.JsonProperty("cIMarksAndNumbers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CIMarksAndNumbers { get; set; } - - /// - /// This is to specify the Harmonized Tariff System (HTS) code to meet U.S. and foreign governments' customs requirements. These are mainly used to estimate the duties and taxes.<br>Example: 0613<br>To research the classification for your commodity, use the FedEx Global Trade Manager online at <a href='http://www.fedex.com/gtm' target='_blank'>fedex.com/gtm</a>. You will find country-specific information to determine whether your commodity is considered to be a document or non-document for your destination. - /// - [Newtonsoft.Json.JsonProperty("harmonizedCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string HarmonizedCode { get; set; } - - /// - /// Required<br>ScrewsMaximum allowed 450 characters.<br>Example: description - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Description { get; set; } - - /// - /// This is Commodity name.<br>Example: Non-Threaded Rivets - /// - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } - - [Newtonsoft.Json.JsonProperty("weight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Weight_4 Weight { get; set; } - - /// - /// This is the export license number for the shipment.<br>Example: 26456 - /// - [Newtonsoft.Json.JsonProperty("exportLicenseNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ExportLicenseNumber { get; set; } - - /// - /// Specify the export license expiration date for the shipment.<br>Format YYYY-MM-DD<br>Example : 2009-04-12 - /// - [Newtonsoft.Json.JsonProperty("exportLicenseExpirationDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? ExportLicenseExpirationDate { get; set; } - - /// - /// This is a part number.<br>Example: 167 - /// - [Newtonsoft.Json.JsonProperty("partNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PartNumber { get; set; } - - /// - /// This field is used for calculation of duties and taxes.<br><br> Valid values are : BUSINESS and CONSUMER. <br>Example:BUSINESS - /// - [Newtonsoft.Json.JsonProperty("purpose", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CommodityPurpose? Purpose { get; set; } - - [Newtonsoft.Json.JsonProperty("usmcaDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public UsmcaDetail UsmcaDetail { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CommodityPurpose.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CommodityPurpose.cs deleted file mode 100644 index 9e5f935..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CommodityPurpose.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CommodityPurpose - { - - [System.Runtime.Serialization.EnumMember(Value = @"BUSINESS")] - BUSINESS = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"CONSUMER")] - CONSUMER = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedEtdDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedEtdDetail.cs deleted file mode 100644 index 80ac117..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedEtdDetail.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are completed ETD details when ELECTRONIC_TRADE_DOCUMENTS Special service type is requested - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CompletedEtdDetail - { - /// - /// Returns the folder id where the documents is uploaded <br> Example: "0b0493e580dc1a1b" - /// - [Newtonsoft.Json.JsonProperty("folderId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FolderId { get; set; } - - /// - /// Returns the type of the document that is being uploaded <br> Example: "COMMERCIAL_INVOICE" - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - /// - /// Specify the document upload reference details. - /// - [Newtonsoft.Json.JsonProperty("uploadDocumentReferenceDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection UploadDocumentReferenceDetails { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousPackageDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousPackageDetail.cs deleted file mode 100644 index c89fba7..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousPackageDetail.cs +++ /dev/null @@ -1,61 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Complete package-level hazardous commodity information for a single package. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CompletedHazardousPackageDetail - { - /// - /// Specifies the hazardous package regulation type.<br>Example: IATA - /// - [Newtonsoft.Json.JsonProperty("regulation", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Regulation { get; set; } - - /// - /// Specifies the hazardous package accessibility.<br>Example: ACCESSIBLE - /// - [Newtonsoft.Json.JsonProperty("accessibility", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Accessibility { get; set; } - - /// - /// Specifies the label type of hazardous package.<br>Example: II_YELLOW - /// - [Newtonsoft.Json.JsonProperty("labelType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LabelType { get; set; } - - /// - /// Indicates one or more approved containers used to pack dangerous goods commodities. This does not describe any individual inner receptacles that may be within this container. - /// - [Newtonsoft.Json.JsonProperty("containers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Containers { get; set; } - - /// - /// When TRUE-indicates that the package can be transported only on a cargo aircraft.<br>Example: true - /// - [Newtonsoft.Json.JsonProperty("cargoAircraftOnly", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CargoAircraftOnly { get; set; } - - /// - /// A unique reference id that matches the package to a package configuration. This is populated if the client provided a package configuration for several packages that have the exact same dangerous goods content.<br>Example: 123456 - /// - [Newtonsoft.Json.JsonProperty("referenceId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ReferenceId { get; set; } - - /// - /// Specifies the maximum radiation level from the package (measured in microSieverts per hour at a distance of one meter from the external surface of the package, divided by 10).<br>Example: 2.45 - /// - [Newtonsoft.Json.JsonProperty("radioactiveTransportIndex", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? RadioactiveTransportIndex { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousShipmentDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousShipmentDetail.cs deleted file mode 100644 index 0d61ca1..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousShipmentDetail.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Completed shipment level hazardous commodity information. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CompletedHazardousShipmentDetail - { - [Newtonsoft.Json.JsonProperty("hazardousSummaryDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CompletedHazardousSummaryDetail HazardousSummaryDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("adrLicense", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public AdrLicenseDetail AdrLicense { get; set; } - - [Newtonsoft.Json.JsonProperty("dryIceDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShipmentDryIceDetail DryIceDetail { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousSummaryDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousSummaryDetail.cs deleted file mode 100644 index c4917f7..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousSummaryDetail.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies Completed Hazardous Summary Detail. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CompletedHazardousSummaryDetail - { - /// - /// Specifies the total number of packages containing hazardous commodities in small exceptions.<br>Example: 10 - /// - [Newtonsoft.Json.JsonProperty("smallQuantityExceptionPackageCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? SmallQuantityExceptionPackageCount { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHoldAtLocationDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHoldAtLocationDetail.cs deleted file mode 100644 index 0c19275..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHoldAtLocationDetail.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This is default holding location information when HOLD_AT_LOCATION special service is requested and the client does not specify the hold location address. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CompletedHoldAtLocationDetail - { - /// - /// Indicates the type of the FedEx holding location <br>Example: FEDEX_STAFFED - /// - [Newtonsoft.Json.JsonProperty("holdingLocationType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string HoldingLocationType { get; set; } - - /// - /// Indicate the physical address of the FedEx holding location. - /// - [Newtonsoft.Json.JsonProperty("holdingLocation", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public JustContactAndAddress HoldingLocation { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedPackageDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedPackageDetail.cs deleted file mode 100644 index 60a7aeb..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedPackageDetail.cs +++ /dev/null @@ -1,61 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CompletedPackageDetail - { - /// - /// This is package sequence number. No negative value or decimals are allowed.<br>Example: 256 - /// - [Newtonsoft.Json.JsonProperty("sequenceNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? SequenceNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("operationalDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PackageOperationalDetail OperationalDetail { get; set; } - - /// - /// It specifies the signature option applied, to allow cases in which the value requested conflicted with other service features in the shipment. <br>Example: DIRECT - /// - [Newtonsoft.Json.JsonProperty("signatureOption", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string SignatureOption { get; set; } - - /// - /// Tracking details of the package. - /// - [Newtonsoft.Json.JsonProperty("trackingIds", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection TrackingIds { get; set; } - - /// - /// This is group shipment number. Used with request containing PACKAGE_GROUPS, to identify which group of identical packages was used to produce a reply item.<br>Example: 10 - /// - [Newtonsoft.Json.JsonProperty("groupNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? GroupNumber { get; set; } - - /// - /// Indicates the oversize classification.<br>Example: OVERSIZE_1 - /// - [Newtonsoft.Json.JsonProperty("oversizeClass", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OversizeClass { get; set; } - - [Newtonsoft.Json.JsonProperty("packageRating", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PackageRating PackageRating { get; set; } - - /// - /// Descriptive data required for a FedEx shipment containing dry ice. Includes weight and units. This element is required when SpecialServiceType DRY_ICE is present in the SpecialServiceTypes collection at the package level. - /// - [Newtonsoft.Json.JsonProperty("dryIceWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Weight DryIceWeight { get; set; } - - [Newtonsoft.Json.JsonProperty("hazardousPackageDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CompletedHazardousPackageDetail HazardousPackageDetail { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedShipmentDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedShipmentDetail.cs deleted file mode 100644 index 7c46719..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedShipmentDetail.cs +++ /dev/null @@ -1,76 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Returns the result of processing the desired package as a single-package shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CompletedShipmentDetail - { - /// - /// Indicates the completed package details. - /// - [Newtonsoft.Json.JsonProperty("completedPackageDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection CompletedPackageDetails { get; set; } - - [Newtonsoft.Json.JsonProperty("operationalDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShipmentOperationalDetail OperationalDetail { get; set; } - - /// - /// Specify the four letter code of a FedEx operating company that meets your requirements<br>Examples of FedEx Operating Companies are:<ul><li>FDXE - FedEx Express</li><li>FDXG - FedEx Ground</li><li>FXSP - FedEx SmartPost</li><li>FXCC - FedEx Custom Critical.</li></ul> - /// - [Newtonsoft.Json.JsonProperty("carrierCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CarrierCode { get; set; } - - [Newtonsoft.Json.JsonProperty("completedHoldAtLocationDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CompletedHoldAtLocationDetail CompletedHoldAtLocationDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("completedEtdDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CompletedEtdDetail CompletedEtdDetail { get; set; } - - /// - /// Specifies packaging description<br>Example: Customer Packaging - /// - [Newtonsoft.Json.JsonProperty("packagingDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PackagingDescription { get; set; } - - [Newtonsoft.Json.JsonProperty("masterTrackingId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TrackingId MasterTrackingId { get; set; } - - [Newtonsoft.Json.JsonProperty("serviceDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ServiceDescription ServiceDescription { get; set; } - - /// - /// Indicates whether or not this is an intra-U.S. shipment. - /// - [Newtonsoft.Json.JsonProperty("usDomestic", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? UsDomestic { get; set; } - - [Newtonsoft.Json.JsonProperty("hazardousShipmentDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CompletedHazardousShipmentDetail HazardousShipmentDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("shipmentRating", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShipmentRating ShipmentRating { get; set; } - - [Newtonsoft.Json.JsonProperty("documentRequirements", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DocumentRequirementsDetail DocumentRequirements { get; set; } - - /// - /// For US export shipments requiring an EEI, enter the ITN number received from AES when you filed your shipment or the FTR (Foreign Trade Regulations) exemption number.The proper format for an ITN number is AES XYYYYMMDDNNNNNN where YYYYMMDD is date and NNNNNN are numbers generated by the AES.<br> Example: AESX20220714987654<br>Note: The ITN or FTR exemption number you submit in the ship request prints on the international shipping label.<br><br>For CA export shipments,it can be Proof of report number(15-32 alphanumeric) , Summary proof of report number(7-32 alphanumeric) or Exemption number(2 digit) based on the selected b13AFilingOption.<br>Example: 98765432107654321(POR number), 7654321(Summary POR number) and 02(Exemption number).<br>For FTR exemption number you need provide a predefined value as NO_EEI_30_37_A. - /// - [Newtonsoft.Json.JsonProperty("exportComplianceStatement", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ExportComplianceStatement { get; set; } - - [Newtonsoft.Json.JsonProperty("accessDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PendingShipmentAccessDetail AccessDetail { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact.cs deleted file mode 100644 index 8519083..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact.cs +++ /dev/null @@ -1,49 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specify the contact information. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Contact - { - /// - /// Specify person name.<br>Example: John Taylor - /// - [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PersonName { get; set; } - - /// - /// Specify email address.<br>Example: sample@company.com - /// - [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EmailAddress { get; set; } - - /// - /// The shippers phone number. <br>Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.<br>Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of 1 or +1.<br>Example: 918xxxxx890 - /// - [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneNumber { get; set; } - - /// - /// The shipper's phone extension. Max length is 6.<br>Example: 91 - /// - [Newtonsoft.Json.JsonProperty("phoneExtension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneExtension { get; set; } - - /// - /// Specify company name. - /// - [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CompanyName { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact2.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact2.cs deleted file mode 100644 index c233b50..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact2.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Contact2 - { - /// - /// Identifies the company this contact is associated with. Maximum length is 35. - /// - [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string CompanyName { get; set; } - - /// - /// Specify Person Name.<br>Example: John Taylor - /// - [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string PersonName { get; set; } - - /// - /// Identifies the phone number associated with this contact. Maximum length is 10. - /// - [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string PhoneNumber { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ContactAndAddress.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ContactAndAddress.cs deleted file mode 100644 index ec3d2db..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ContactAndAddress.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies the contact and address details of a location. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ContactAndAddress - { - [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Contact_1 Contact { get; set; } - - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Address_1 Address { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ContactAndAddress_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ContactAndAddress_1.cs deleted file mode 100644 index 7bf0a16..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ContactAndAddress_1.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies the contact and address details of a location. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ContactAndAddress_1 - { - [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Contact_2 Contact { get; set; } - - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Address_1 Address { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact_1.cs deleted file mode 100644 index 06f7be5..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact_1.cs +++ /dev/null @@ -1,55 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicate the contact details of the shipper. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Contact_1 - { - /// - /// Specify contact person name.<br>Recommended length is 70. <br>Note: There's no specific validation for the person name.<br> Example: John Taylor - /// - [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PersonName { get; set; } - - /// - /// Specify contact email address. Maximum length is 80. <br> Example: sample@company.com - /// - [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EmailAddress { get; set; } - - /// - /// Contact person's phone number. <br>Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.<br>Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.<br>Example: 918xxxxx890 - /// - [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneNumber { get; set; } - - /// - /// Specify contact phone extension. <br>Note: Recommended length is 6. There's no specific validation for the phone extension. <br> Example: 1234 - /// - [Newtonsoft.Json.JsonProperty("phoneExtension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneExtension { get; set; } - - /// - /// Specify contact fax number.<br>Note: Recommended length is 15. There's no specific validation for the fax number.<br> Example: 1234567890 - /// - [Newtonsoft.Json.JsonProperty("faxNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FaxNumber { get; set; } - - /// - /// Contact person's company name.<br>Note: Recommended Length is 35. There's no specific validation for the company name.<br>Example: FedEx - /// - [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CompanyName { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact_2.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact_2.cs deleted file mode 100644 index 04bef4e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact_2.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicate the contact details of the shipper. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Contact_2 - { - /// - /// Specify contact person name.<br>Recommended length is 70. <br>Note: There's no specific validation for the person name.<br> Example: John Taylor - /// - [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PersonName { get; set; } - - /// - /// Specify contact email address. Maximum length is 80. <br> Example: sample@company.com - /// - [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EmailAddress { get; set; } - - /// - /// Specify contact phone number. <br>Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers. <br>Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number. <br> Example: 918xxxxx890 - /// - [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneNumber { get; set; } - - /// - /// Specify contact phone extension. <br>Note: Recommended length is 6. There's no specific validation for the phone extension. <br> Example: 1234 - /// - [Newtonsoft.Json.JsonProperty("phoneExtension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneExtension { get; set; } - - /// - /// Specify contact fax number.<br>Note: Recommended length is 15. There's no specific validation for the fax number.<br> Example: 1234567890 - /// - [Newtonsoft.Json.JsonProperty("faxNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FaxNumber { get; set; } - - /// - /// Specify contact company name.<br>Recommended length is 35.<br>Note: There's no specific validation for the company name.<br>Example: FedEx - /// - [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CompanyName { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ContentRecord.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ContentRecord.cs deleted file mode 100644 index 5fc7aec..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ContentRecord.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Use this object to specify package content details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ContentRecord - { - /// - /// This is a package item number. - /// - [Newtonsoft.Json.JsonProperty("itemNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ItemNumber { get; set; } - - /// - /// This is the package item quantity. - /// - [Newtonsoft.Json.JsonProperty("receivedQuantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? ReceivedQuantity { get; set; } - - /// - /// This is the description of the package item. - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// This is the part number. - /// - [Newtonsoft.Json.JsonProperty("partNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PartNumber { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CreateShipmentReq.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CreateShipmentReq.cs deleted file mode 100644 index ab483b5..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CreateShipmentReq.cs +++ /dev/null @@ -1,53 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// The request elements required to create a shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CreateShipmentReq - { - /// - /// It specifies the content of the merged pdf URL in the response. The merged pdf URL is generated only if the labelResponseOption is indicated as URL_ONLY.<ul><li>If the value is 'LABELS_AND_DOCS', then merged (all shipping labels and shipping documents) pdf URL will be returned.</li><li>If the value is 'LABELS_ONLY', merged (all shipping labels only) pdf URL will be returned.</li><li>If the value is 'NONE', then no merged pdf URL will be returned.</li></ul><br>This is optional field and will default to LABELS_AND_DOCS.<br>Note: If the value is 'LABELS_ONLY', then the returned merged pdf label will not be in the Base64 encoded format. - /// - [Newtonsoft.Json.JsonProperty("mergeLabelDocOption", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ShipMergeLabelDocOption? MergeLabelDocOption { get; set; } - - [Newtonsoft.Json.JsonProperty("requestedShipment", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public RequestedShipment RequestedShipment { get; set; } = new RequestedShipment(); - - [Newtonsoft.Json.JsonProperty("labelResponseOptions", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public LABELRESPONSEOPTIONS LabelResponseOptions { get; set; } - - [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public ShipperAccountNumber AccountNumber { get; set; } = new ShipperAccountNumber(); - - [Newtonsoft.Json.JsonProperty("shipAction", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public OpenShipmentAction? ShipAction { get; set; } - - [Newtonsoft.Json.JsonProperty("processingOptionType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public AsynchronousProcessingOptionType_1? ProcessingOptionType { get; set; } - - /// - /// This flag is used to specify if the shipment is singleshot mps or one Label at a time, piece by piece shipment. Default is false. If true, one label at a time is processed. - /// - [Newtonsoft.Json.JsonProperty("oneLabelAtATime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? OneLabelAtATime { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CreateShipmentResp.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CreateShipmentResp.cs deleted file mode 100644 index b096ec0..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CreateShipmentResp.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Wrapper class for ShipShipmentOutputVO. It holds transactionId and output. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CreateShipmentResp - { - /// - /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492 - /// - [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TransactionId { get; set; } - - /// - /// This element has a unique identifier added in your request, helps you match the request to the reply.<br>Example: XXXX_XXX123XXXXX - /// - [Newtonsoft.Json.JsonProperty("customerTransactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CustomerTransactionId { get; set; } - - [Newtonsoft.Json.JsonProperty("output", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public BaseProcessOutputVO_ShipShipment Output { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CurrencyExchangeRate.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CurrencyExchangeRate.cs deleted file mode 100644 index 6cbc785..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CurrencyExchangeRate.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies the currency exchange performed on financial amounts on this rate. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CurrencyExchangeRate - { - /// - /// Multiplier used to convert from Currency units to into Currency units.<br>Example: 25.6 - /// - [Newtonsoft.Json.JsonProperty("rate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Rate { get; set; } - - /// - /// The currency code for the original (converted FROM) currency.<br>Example: Rupee<br><a onclick='loadDocReference("currencycodes")'>click here to see Currency codes</a> - /// - [Newtonsoft.Json.JsonProperty("fromCurrency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FromCurrency { get; set; } - - /// - /// The currency code for the final(converted INTO) currency.<br>Example: USD<br><a onclick='loadDocReference("currencycodes")'>click here to see currencycodes</a> - /// - [Newtonsoft.Json.JsonProperty("intoCurrency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string IntoCurrency { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsage.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsage.cs deleted file mode 100644 index 8e5cd41..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsage.cs +++ /dev/null @@ -1,40 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specify the usse and identification of supplied images to be used on this document. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CustomerImageUsage - { - /// - /// Specify the Image ID.<br>Example:IMAGE_5 - /// - [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CustomerImageUsageId? Id { get; set; } - - /// - /// Specify Customer Image Type.<br>Example:SIGNATURE - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CustomerImageUsageType? Type { get; set; } - - /// - /// Provided Image Type<br>Example: SIGNATURE - /// - [Newtonsoft.Json.JsonProperty("providedImageType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CustomerImageUsageProvidedImageType? ProvidedImageType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageId.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageId.cs deleted file mode 100644 index 5aef395..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageId.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CustomerImageUsageId - { - - [System.Runtime.Serialization.EnumMember(Value = @"IMAGE_1")] - IMAGE_1 = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"IMAGE_2")] - IMAGE_2 = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"IMAGE_3")] - IMAGE_3 = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"IMAGE_4")] - IMAGE_4 = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"IMAGE_5")] - IMAGE_5 = 4, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageProvidedImageType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageProvidedImageType.cs deleted file mode 100644 index f25b4b8..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageProvidedImageType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CustomerImageUsageProvidedImageType - { - - [System.Runtime.Serialization.EnumMember(Value = @"LETTER_HEAD")] - LETTER_HEAD = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"SIGNATURE")] - SIGNATURE = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageType.cs deleted file mode 100644 index ac2a708..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CustomerImageUsageType - { - - [System.Runtime.Serialization.EnumMember(Value = @"SIGNATURE")] - SIGNATURE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"LETTER_HEAD")] - LETTER_HEAD = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference.cs deleted file mode 100644 index 542c5f8..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CustomerReference - { - /// - /// This is a customer reference type. Note: Use type Type, RMA_ASSOCIATION and value as the RMA Number to associate Ground Call Tag shipments to the outbound shipment.<br>Example: DEPARTMENT_NUMBER - /// - [Newtonsoft.Json.JsonProperty("customerReferenceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CustomerReferenceType? CustomerReferenceType { get; set; } - - /// - /// This is a customer reference type value.<br>Example: 3686 <ul><li>The P_O_NUMBER value must be specified in customerReferences under requestedPackageLineItems</li><li>The INVOICE_NUMBER value that is printed on the FedEx-supplied invoice must be specified in customerReferences under commercialInvoice. Value defined in this section will print on the label that is attached to the package</li><li>The RMA value sent by the customer is returned on the label in human readable form but also as a barcode. RMA_ASSOCIATION only prints on the label as a barcode for a Return shipment.</ul>NOTE:<ul><li> INTRACOUNTRY_REGULATORY_REFERENCE is applicable only in Intra-Brazil.</li><li> Maximum length varies for value field depending on customerReferenceType.</li></ul> Maximum length for value is as follows: <ul><li>CUSTOMER_REFERENCE - 40(Express), 30(Ground)</li><li>DEPARTMENT_NUMBER - 30</li><li>INVOICE_NUMBER - 30</li><li>P_O_NUMBER - 30</li><li>INTRACOUNTRY_REGULATORY_REFERENCE - 30</li><li>RMA_ASSOCIATION - 20</li> - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Value { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReferenceType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReferenceType.cs deleted file mode 100644 index 087e396..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReferenceType.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CustomerReferenceType - { - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMER_REFERENCE")] - CUSTOMER_REFERENCE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"DEPARTMENT_NUMBER")] - DEPARTMENT_NUMBER = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"INVOICE_NUMBER")] - INVOICE_NUMBER = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"P_O_NUMBER")] - P_O_NUMBER = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"INTRACOUNTRY_REGULATORY_REFERENCE")] - INTRACOUNTRY_REGULATORY_REFERENCE = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"RMA_ASSOCIATION")] - RMA_ASSOCIATION = 5, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference_1.cs deleted file mode 100644 index c0744a2..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference_1.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CustomerReference_1 - { - /// - /// This is a customer reference type. The value specified here for the element is printed on the Commercial Invoice only for tracking and label information.<p>Note: <ul><li>The P_O_NUMBER value must be specified in customerReferences under requestedPackageLineItems</li><li>The INVOICE_NUMBER value that is printed on the FedEx-supplied invoice must be specified in customerReferences under commercialInvoice. Value defined in this section will print on the label that is attached to the package</li><li>The RMA_ASSOCIATION value sent by the customer is returned on the label in human readable form but also as a barcode.</li></ul>Note: INTRACOUNTRY_REGULATORY_REFERENCE is applicable only in Intra-Brazil.<br><a onclick='loadDocReference("customerreferencetypes")'>For more information, click here for Customer References</a>.<br>Example: DEPARTMENT_NUMBER - /// - [Newtonsoft.Json.JsonProperty("customerReferenceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CustomerReference_1CustomerReferenceType? CustomerReferenceType { get; set; } - - /// - /// This is a customer reference type value.<br>Example: 3686 <ul><li>The P_O_NUMBER value must be specified in customerReferences under requestedPackageLineItems</li><li>The INVOICE_NUMBER value that is printed on the FedEx-supplied invoice must be specified in customerReferences under commercialInvoice. Value defined in this section will print on the label that is attached to the package</li><li>The RMA value sent by the customer is returned on the label in human readable form but also as a barcode. RMA_ASSOCIATION only prints on the label as a barcode for a Return shipment.</ul>NOTE:<ul><li> INTRACOUNTRY_REGULATORY_REFERENCE is applicable only in Intra-Brazil.</li><li> Maximum length varies for value field depending on customerReferenceType.</li></ul> Maximum length for value is as follows: <ul><li>CUSTOMER_REFERENCE - 40(Express), 30(Ground)</li><li>DEPARTMENT_NUMBER - 30</li><li>INVOICE_NUMBER - 30</li><li>P_O_NUMBER - 30</li><li>INTRACOUNTRY_REGULATORY_REFERENCE - 30</li><li>RMA_ASSOCIATION - 20</li> - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Value { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference_1CustomerReferenceType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference_1CustomerReferenceType.cs deleted file mode 100644 index 3dca5d1..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference_1CustomerReferenceType.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CustomerReference_1CustomerReferenceType - { - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMER_REFERENCE")] - CUSTOMER_REFERENCE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"DEPARTMENT_NUMBER")] - DEPARTMENT_NUMBER = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"INVOICE_NUMBER")] - INVOICE_NUMBER = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"P_O_NUMBER")] - P_O_NUMBER = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"INTRACOUNTRY_REGULATORY_REFERENCE")] - INTRACOUNTRY_REGULATORY_REFERENCE = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"RMA_ASSOCIATION")] - RMA_ASSOCIATION = 5, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerSpecifiedLabelDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerSpecifiedLabelDetail.cs deleted file mode 100644 index db15b56..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerSpecifiedLabelDetail.cs +++ /dev/null @@ -1,40 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This object allows the control of label content for customization. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CustomerSpecifiedLabelDetail - { - /// - /// Controls which data/sections will be suppressed.<br>Example: TOTAL_WEIGHT - /// - [Newtonsoft.Json.JsonProperty("maskedData", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection MaskedData { get; set; } - - /// - /// Specify how the regulatory details to be provided on the labels. - /// - [Newtonsoft.Json.JsonProperty("regulatoryLabels", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection RegulatoryLabels { get; set; } - - /// - /// Specify how the additional details to be provided on the labels. - /// - [Newtonsoft.Json.JsonProperty("additionalLabels", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection AdditionalLabels { get; set; } - - [Newtonsoft.Json.JsonProperty("docTabContent", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DocTabContent DocTabContent { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsClearanceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsClearanceDetail.cs deleted file mode 100644 index 61aeb98..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsClearanceDetail.cs +++ /dev/null @@ -1,100 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are customs clearance details. Required for International and intra-country Shipments. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CustomsClearanceDetail - { - /// - /// These are the regulatory controls applicable to the shipment.<br> Example:USMCA,FOOD_OR_PERISHABLE - /// - [Newtonsoft.Json.JsonProperty("regulatoryControls", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection RegulatoryControls { get; set; } - - /// - /// Specify broker information. Use this option only if you are using Broker Select Option for your shipment. A country code must be specified in addition to one of the following address items: postal code, city, or location id. - /// - [Newtonsoft.Json.JsonProperty("brokers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Brokers { get; set; } - - [Newtonsoft.Json.JsonProperty("commercialInvoice", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public CommercialInvoice CommercialInvoice { get; set; } = new CommercialInvoice(); - - /// - /// Specify the risk owner for the Freight shipment.This element is only mandatory or valid for Intra India shipments.<br>Example: OWN_RISK - /// - [Newtonsoft.Json.JsonProperty("freightOnValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CustomsClearanceDetailFreightOnValue? FreightOnValue { get; set; } - - [Newtonsoft.Json.JsonProperty("dutiesPayment", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Payment_1 DutiesPayment { get; set; } - - /// - /// Indicates the details about the dutiable packages. Maximum upto 999 commodities per shipment. - /// - [Newtonsoft.Json.JsonProperty("commodities", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public System.Collections.Generic.ICollection Commodities { get; set; } = new System.Collections.ObjectModel.Collection(); - - /// - /// Defaults to false. Only used for international Express requests to indicate if just documents are being shipped or not. A valude of DERIVED will cause the value to be determined by PMIS based on the specified commodities information<br>Example: false - /// - [Newtonsoft.Json.JsonProperty("isDocumentOnly", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsDocumentOnly { get; set; } - - [Newtonsoft.Json.JsonProperty("recipientCustomsId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public RecipientCustomsId RecipientCustomsId { get; set; } - - [Newtonsoft.Json.JsonProperty("customsOption", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CustomsOptionDetail CustomsOption { get; set; } - - /// - /// The descriptive data for the importer of Record for the shipment and their physical address, contact and account number information. - /// - [Newtonsoft.Json.JsonProperty("importerOfRecord", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Party_1 ImporterOfRecord { get; set; } - - /// - /// This is the locale for generated document.<br>Example: en_US<br><a onclick='loadDocReference("locales")'>click here to see Locales</a><br>Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response. - /// - [Newtonsoft.Json.JsonProperty("generatedDocumentLocale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string GeneratedDocumentLocale { get; set; } - - [Newtonsoft.Json.JsonProperty("exportDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ExportDetail ExportDetail { get; set; } - - /// - /// This is the total customs value. - /// - [Newtonsoft.Json.JsonProperty("totalCustomsValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Money TotalCustomsValue { get; set; } - - /// - /// Specify if the transacting parties are related. - /// - [Newtonsoft.Json.JsonProperty("partiesToTransactionAreRelated", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? PartiesToTransactionAreRelated { get; set; } - - [Newtonsoft.Json.JsonProperty("declarationStatementDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CustomsDeclarationStatementDetail DeclarationStatementDetail { get; set; } - - /// - /// Specify insurance charges if applicable. <br><i>Note: FedEx does not provide insurance of any kind.</i> - /// - [Newtonsoft.Json.JsonProperty("insuranceCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Money InsuranceCharge { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsClearanceDetailFreightOnValue.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsClearanceDetailFreightOnValue.cs deleted file mode 100644 index 9ca51ca..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsClearanceDetailFreightOnValue.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CustomsClearanceDetailFreightOnValue - { - - [System.Runtime.Serialization.EnumMember(Value = @"CARRIER_RISK")] - CARRIER_RISK = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"OWN_RISK")] - OWN_RISK = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsDeclarationStatementDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsDeclarationStatementDetail.cs deleted file mode 100644 index 5e76d28..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsDeclarationStatementDetail.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies about the statements to be declared for Customs. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CustomsDeclarationStatementDetail - { - [Newtonsoft.Json.JsonProperty("usmcaLowValueStatementDetail", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public UsmcaLowValueStatementDetail UsmcaLowValueStatementDetail { get; set; } = new UsmcaLowValueStatementDetail(); - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsOptionDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsOptionDetail.cs deleted file mode 100644 index 9bed5e2..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsOptionDetail.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are customs Option Detail, type must be indicated for each occurrence. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class CustomsOptionDetail - { - /// - /// Specify additional description about customs options. This is a required field when the Type is OTHER. - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// Specify the reason for a global return, as recognized by Customs. Valid values:<ul><li>COURTESY_RETURN_LABEL: Applicable for Outbound shipments.</li><li>EXHIBITION_TRADE_SHOW: For exhibition or trade-show, outbound and inbound.</li><li>FAULTY_ITEM: For faulty item being returned, inbound only.</li><li>FOLLOWING_REPAIR: For repaired or processed item being sent, outbound only.</li><li>FOR_REPAIR: For repair or processing, outbound and inbound.</li><li>ITEM_FOR_LOAN: For loan item, outbound and inbound.</li><li>OTHER: Other reason, outbound and inbound. This type requires a description.</li><li>REJECTED: For rejected merchandise being returned, inbound.</li><li>REPLACEMENT: For replacement being sent, outbound only.</li><li>TRIAL: For use in a trial, outbound and inbound.</li></ul> - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CustomsOptionDetailType? Type { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsOptionDetailType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsOptionDetailType.cs deleted file mode 100644 index 9e16184..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsOptionDetailType.cs +++ /dev/null @@ -1,38 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum CustomsOptionDetailType - { - - [System.Runtime.Serialization.EnumMember(Value = @"COURTESY_RETURN_LABEL")] - COURTESY_RETURN_LABEL = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"EXHIBITION_TRADE_SHOW")] - EXHIBITION_TRADE_SHOW = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"FAULTY_ITEM")] - FAULTY_ITEM = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FOLLOWING_REPAIR")] - FOLLOWING_REPAIR = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"FOR_REPAIR")] - FOR_REPAIR = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"ITEM_FOR_LOAN")] - ITEM_FOR_LOAN = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] - OTHER = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"REJECTED")] - REJECTED = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"REPLACEMENT")] - REPLACEMENT = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"TRIAL")] - TRIAL = 9, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Customs_Money.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Customs_Money.cs deleted file mode 100644 index ff64a9f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Customs_Money.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This customs value is applicable for all items(or units) under the specified commodity. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Customs_Money - { - /// - /// This is commodity value in amount used for Customs declaration.<br>Max limit: 11 digits before decimal.<br>Example: 1,55,6457.25 - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } - - /// - /// This is the currency code for the amount.<br>Example: USD<br><a onclick='loadDocReference("currencycodes")'>Click here to see Currency codes</a> - /// - [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Currency { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DangerousGoodsDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DangerousGoodsDetail.cs deleted file mode 100644 index 0f65018..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/DangerousGoodsDetail.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Provide dangerous goods shipment details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DangerousGoodsDetail - { - /// - /// A Boolean value that, when True, specifies the mode of shipment transportation should be Cargo Aircraft for Dangerous Goods. Its default value is set as False.<br>Note: An identifier DGD-CAO is added in AWB for cargo aircraft shipments. - /// - [Newtonsoft.Json.JsonProperty("cargoAircraftOnly", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CargoAircraftOnly { get; set; } - - /// - /// Specify Dangerous Goods Accessibility Type. <ul><li>Inaccessible &ndash; it does not have to be accessable on the aircraft.</li><li>Accessible &ndash; it must be fully accessible on the aircraft, and is more strictly controlled.</li></ul><i>Note: Accessibility is only required for IATA controlled DG shipments. It is not required for ADR regulated DG shipments.</i> - /// - [Newtonsoft.Json.JsonProperty("accessibility", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public DangerousGoodsDetailAccessibility Accessibility { get; set; } - - /// - /// Indicate type of DG being reported.<br> - SMALL_QUANTITY_EXCEPTION : It is applicable for only One Piece shipment. - /// - [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection Options { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DangerousGoodsDetailAccessibility.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DangerousGoodsDetailAccessibility.cs deleted file mode 100644 index 71380a7..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/DangerousGoodsDetailAccessibility.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum DangerousGoodsDetailAccessibility - { - - [System.Runtime.Serialization.EnumMember(Value = @"ACCESSIBLE")] - ACCESSIBLE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"INACCESSIBLE")] - INACCESSIBLE = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DeliveryOnInvoiceAcceptanceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DeliveryOnInvoiceAcceptanceDetail.cs deleted file mode 100644 index a60714c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/DeliveryOnInvoiceAcceptanceDetail.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicate the Delivery On Invoice Acceptance detail. Recipient is required for Delivery On Invoice Special service. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DeliveryOnInvoiceAcceptanceDetail - { - /// - /// The descriptive data for the recipient of the shipment and the physical location for the shipment destination. - /// - [Newtonsoft.Json.JsonProperty("recipient", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Recipient Recipient { get; set; } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DestinationControlDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DestinationControlDetail.cs deleted file mode 100644 index 9d072f6..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/DestinationControlDetail.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Use this object to specify the appropriate destination control statement type(s). Also make sure to specify destination country and end user. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DestinationControlDetail - { - /// - /// Specify End User name. Its is required if StatementTypes is entered as DEPARTMENT_OF_STATE. <br>Example: John Wick - /// - [Newtonsoft.Json.JsonProperty("endUser", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EndUser { get; set; } - - /// - /// Specify appropriate destination control statement type(s), Also make sure to specify destination country and end user. - /// - [Newtonsoft.Json.JsonProperty("statementTypes", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public DestinationControlDetailStatementTypes StatementTypes { get; set; } - - /// - /// Specify DCS shipment destination country. You may enter up to four country codes in this element. Up to 11 alphanumeric characters are allowed.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> - /// - [Newtonsoft.Json.JsonProperty("destinationCountries", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection DestinationCountries { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DestinationControlDetailStatementTypes.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DestinationControlDetailStatementTypes.cs deleted file mode 100644 index 47f76e2..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/DestinationControlDetailStatementTypes.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum DestinationControlDetailStatementTypes - { - - [System.Runtime.Serialization.EnumMember(Value = @"DEPARTMENT_OF_COMMERCE")] - DEPARTMENT_OF_COMMERCE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"DEPARTMENT_OF_STATE")] - DEPARTMENT_OF_STATE = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Dimensions.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Dimensions.cs deleted file mode 100644 index 2249b47..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Dimensions.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicate the dimensions of the package.<br> Following conditions will apply: <ul><li>Dimensions are optional but when added, then all three dimensions must be indicated.</li><li>Dimensions are required with YOUR_PACKAGING package type.</li></ul>Note: The maximum/minimum dimension values varies based on the services and the packaging types. Refer <a href="https://www.fedex.com/en-us/service-guide.html" target="_blank">FedEx Service Guide</a> for service details related to DIM Weighting for FedEx Express and oversize conditions for FedEx Express and FedEx Ground. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Dimensions - { - /// - /// Indicate the length of the package. No implied decimal places. Maximum value: 999 <br> Example: 20 - /// - [Newtonsoft.Json.JsonProperty("length", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Length { get; set; } - - /// - /// Indicate the width of the package. No implied decimal places. Maximum value: 999 <br> Example: 10 - /// - [Newtonsoft.Json.JsonProperty("width", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Width { get; set; } - - /// - /// Indicate the height of the package. No implied decimal places. Maximum value: 999 <br> Example: 10 - /// - [Newtonsoft.Json.JsonProperty("height", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Height { get; set; } - - /// - /// Indicate the Unit of measure for the provided dimensions.<br>Valid Values are:<li>IN - inches</li><li>CM - centimeters</li>Note: Any value other than CM including blank/null will default to IN. - /// - [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public DimensionsUnits? Units { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DimensionsUnits.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DimensionsUnits.cs deleted file mode 100644 index 615a435..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/DimensionsUnits.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum DimensionsUnits - { - - [System.Runtime.Serialization.EnumMember(Value = @"CM")] - CM = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"IN")] - IN = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContent.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContent.cs deleted file mode 100644 index c4b7a1a..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContent.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies details of doc tab content.It is only applicable only with imageType as ZPLII. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DocTabContent - { - /// - /// Indicates the content type of the doc tab. - /// - [Newtonsoft.Json.JsonProperty("docTabContentType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public DocTabContentType? DocTabContentType { get; set; } - - [Newtonsoft.Json.JsonProperty("zone001", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DocTabContentZone001 Zone001 { get; set; } - - [Newtonsoft.Json.JsonProperty("barcoded", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DocTabContentBarcoded Barcoded { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentBarcoded.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentBarcoded.cs deleted file mode 100644 index 701da5b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentBarcoded.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// It is a doc tab content type which is in barcoded format. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DocTabContentBarcoded - { - /// - /// Indicates the type of barcode symbology used on FedEx documents and labels. - /// - [Newtonsoft.Json.JsonProperty("symbology", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public DocTabContentBarcodedSymbology? Symbology { get; set; } - - [Newtonsoft.Json.JsonProperty("specification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DocTabZoneSpecification Specification { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentBarcodedSymbology.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentBarcodedSymbology.cs deleted file mode 100644 index 0ae6431..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentBarcodedSymbology.cs +++ /dev/null @@ -1,47 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum DocTabContentBarcodedSymbology - { - - [System.Runtime.Serialization.EnumMember(Value = @"CODABAR")] - CODABAR = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"CODE128")] - CODE128 = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"CODE128_WIDEBAR")] - CODE128_WIDEBAR = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"CODE128B")] - CODE128B = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"CODE128C")] - CODE128C = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"CODE39")] - CODE39 = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"CODE93")] - CODE93 = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"I2OF5")] - I2OF5 = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"MANUAL")] - MANUAL = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"PDF417")] - PDF417 = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"POSTNET")] - POSTNET = 10, - - [System.Runtime.Serialization.EnumMember(Value = @"QR_CODE")] - QR_CODE = 11, - - [System.Runtime.Serialization.EnumMember(Value = @"UCC128")] - UCC128 = 12, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentType.cs deleted file mode 100644 index 6b83d16..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentType.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum DocTabContentType - { - - [System.Runtime.Serialization.EnumMember(Value = @"BARCODED")] - BARCODED = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM")] - CUSTOM = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"MINIMUM")] - MINIMUM = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"STANDARD")] - STANDARD = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"ZONE001")] - ZONE001 = 4, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentZone001.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentZone001.cs deleted file mode 100644 index c6ad5ea..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentZone001.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicate the doc tab specification for different zones on the label. The specification includes zone number, header and data field to be displayed on the label. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DocTabContentZone001 - { - /// - /// Indicate the doc tab specifications for the individual doc tab zone on the label. - /// - [Newtonsoft.Json.JsonProperty("docTabZoneSpecifications", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection DocTabZoneSpecifications { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabZoneSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabZoneSpecification.cs deleted file mode 100644 index b279408..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabZoneSpecification.cs +++ /dev/null @@ -1,50 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicates the doc tab zone specification. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DocTabZoneSpecification - { - /// - /// It is a non-negative integer that represents the portion of doc-tab in a label.<br>Example: 1 - /// - [Newtonsoft.Json.JsonProperty("zoneNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? ZoneNumber { get; set; } - - /// - /// Indicates the parameter name in the header for the doc tab zone. The maximum charater limit is 7.<br>Example: WHT - /// - [Newtonsoft.Json.JsonProperty("header", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Header { get; set; } - - /// - /// Indicate the path request/reply element to be printed on doc tab.<br>Example: <ul><li> REQUEST/PACKAGE/weight/Value</li><li> REQUEST/PACKAGE/weight/Value</li><li> REQUEST/PACKAGE/InsuredValue/Amount</li><li> REQUEST/SHIPMENT/SpecialServicesRequested/CodDetail/CodCollectionAmount/Amount</li><li>REQUEST/SHIPMENT/Shipper/Address/StreetLines[1]CLIENT/MeterNumber</li><li> TRANSACTION/CustomerTransactionId</li><li> REQUEST/SHIPMENT/TotalWeight/Value</li><li> REQUEST/SHIPMENT/ShipTimestamp</li><li> REQUEST/SHIPMENT/Recipient/Contact/PersonName</li><li> REPLY/SHIPMENT/OperationalDetail/DeliveryDate</li><li> REPLY/SHIPMENT/RATES/ACTUAL/totalBaseCharge/Amount</li><li> REPLY/SHIPMENT/RATES/ACTUAL/totalFreightDiscounts/Amount</li><li> REPLY/SHIPMENT/RATES/ACTUAL/totalSurcharges/Amount</li><li> REPLY/SHIPMENT/RATES/ACTUAL/totalNetCharge/Amount</li><li> REPLY/SHIPMENT/RATES/PAYOR_ACCOUNT_PACKAGE/totalSurcharges/Amount</li></ul> - /// - [Newtonsoft.Json.JsonProperty("dataField", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DataField { get; set; } - - /// - /// Indicates the actual data to be printed in the label<br> - /// - [Newtonsoft.Json.JsonProperty("literalValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LiteralValue { get; set; } - - /// - /// Indicates the justification format for the string. - /// - [Newtonsoft.Json.JsonProperty("justification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public DocTabZoneSpecificationJustification? Justification { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabZoneSpecificationJustification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabZoneSpecificationJustification.cs deleted file mode 100644 index 71e455e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabZoneSpecificationJustification.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum DocTabZoneSpecificationJustification - { - - [System.Runtime.Serialization.EnumMember(Value = @"LEFT")] - LEFT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"RIGHT")] - RIGHT = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentFormatOptionsRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentFormatOptionsRequested.cs deleted file mode 100644 index 8c9bf81..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentFormatOptionsRequested.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicate the requested options for document format. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DocumentFormatOptionsRequested - { - /// - /// Indicates the format options. SUPPRESS_ADDITIONAL_LANGUAGES value will suppress English language if another language is specified in the language code field. - /// - [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection Options { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentGenerationDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentGenerationDetail.cs deleted file mode 100644 index 616cfe5..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentGenerationDetail.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicates the document generation detail information. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DocumentGenerationDetail - { - /// - /// Indicates the letterhead requirement type.<br>Example: OPTIONAL - /// - [Newtonsoft.Json.JsonProperty("letterhead", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Letterhead { get; set; } - - /// - /// Indicates electronic signature requirement type.<br>Example: OPTIONAL - /// - [Newtonsoft.Json.JsonProperty("electronicSignature", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ElectronicSignature { get; set; } - - /// - /// It is a non-Negative Integer.<br>Example: 3 - /// - [Newtonsoft.Json.JsonProperty("minimumCopiesRequired", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? MinimumCopiesRequired { get; set; } - - /// - /// It is an Enterprise Document Type.<br>Example: COMMERCIAL_INVOICE - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentRequirementsDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentRequirementsDetail.cs deleted file mode 100644 index 0bfea1c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentRequirementsDetail.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicates the document requirements detail. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class DocumentRequirementsDetail - { - /// - /// Indicates the required documents information.<br>Example: ["COMMERCIAL_OR_PRO_FORMA_INVOICE","AIR_WAYBILL"] - /// - [Newtonsoft.Json.JsonProperty("requiredDocuments", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection RequiredDocuments { get; set; } - - /// - /// Indicates the prohibited Documents info.<br>Example: ["CERTIFICATE_OF_ORIGIN "] - /// - [Newtonsoft.Json.JsonProperty("prohibitedDocuments", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection ProhibitedDocuments { get; set; } - - /// - /// Specifies the generation details. - /// - [Newtonsoft.Json.JsonProperty("generationDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection GenerationDetails { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ETDDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ETDDetail.cs deleted file mode 100644 index cb127b8..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ETDDetail.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Use this object to specify all information on how the electronic Trade document references used with the shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ETDDetail - { - /// - /// Specifies the Post Document Upload <br> Example: POST_SHIPMENT_UPLOAD_REQUESTED - /// - [Newtonsoft.Json.JsonProperty("attributes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection Attributes { get; set; } - - /// - /// Use this object to specify the details regarding already uploded document(s). This object is required if the documents are uploaded Pre-Shipment uploaded documents. It is recommended to provide values for all elements under this object. - /// - [Newtonsoft.Json.JsonProperty("attachedDocuments", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection AttachedDocuments { get; set; } - - /// - /// Indicates the types of shipping documents requested by the shipper.<br>Example: CERTIFICATE_OF_ORIGIN, COMMERCIAL_INVOICE etc. - /// - [Newtonsoft.Json.JsonProperty("requestedDocumentTypes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection RequestedDocumentTypes { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailLabelDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailLabelDetail.cs deleted file mode 100644 index 8f08780..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailLabelDetail.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are specific information about the pending email label.<br>Required when PendingShipmentType is EMAIL.<br>Not applicable for CreateTag. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class EmailLabelDetail - { - /// - /// This is Email label recipient email address, shipment role, & language locale details. Atleast one entry must be specified. - /// - [Newtonsoft.Json.JsonProperty("recipients", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Recipients { get; set; } - - /// - /// Specifies an optional personalized message to be included in the email to the email label recipient.<br>Example: YOUR OPTIONAL MESSAGE - /// - [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Message { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailOptionsRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailOptionsRequested.cs deleted file mode 100644 index 6a1bb75..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailOptionsRequested.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are to indicate how the email notifications for the pending shipment to be processed. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class EmailOptionsRequested - { - /// - /// These are the processing options. - /// - [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection Options { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailOptionsRequestedOptions.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailOptionsRequestedOptions.cs deleted file mode 100644 index d9d2fdd..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailOptionsRequestedOptions.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum EmailOptionsRequestedOptions - { - - [System.Runtime.Serialization.EnumMember(Value = @"PRODUCE_PAPERLESS_SHIPPING_FORMAT")] - PRODUCE_PAPERLESS_SHIPPING_FORMAT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"SUPPRESS_ADDITIONAL_LANGUAGES")] - SUPPRESS_ADDITIONAL_LANGUAGES = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SUPPRESS_ACCESS_EMAILS")] - SUPPRESS_ACCESS_EMAILS = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailRecipient.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailRecipient.cs deleted file mode 100644 index 25ea697..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailRecipient.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are the recipient details for the online email return label. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class EmailRecipient - { - /// - /// This is recipient email address for notifying the return label. Maximum length 200 characters.<br> Example: neenaaaaa@abc.com - /// - [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string EmailAddress { get; set; } - - [Newtonsoft.Json.JsonProperty("optionsRequested", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public EmailOptionsRequested OptionsRequested { get; set; } - - /// - /// Relationship that the emailRecipient has to the pending email return label shipments.<br> Valid Values: SHIPMENT_COMPLETOR,SHIPMENT_INITIATOR<br>Example: SHIPMENT_COMPLETOR - /// - [Newtonsoft.Json.JsonProperty("role", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public EmailRecipientRole Role { get; set; } - - /// - /// These are locale details.<br>Example: 'en_US'<br><a onclick='loadDocReference("locales")'>click here to see locales</a><br>Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response. - /// - [Newtonsoft.Json.JsonProperty("locale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Locale { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailRecipientRole.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailRecipientRole.cs deleted file mode 100644 index 810036f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailRecipientRole.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum EmailRecipientRole - { - - [System.Runtime.Serialization.EnumMember(Value = @"SHIPMENT_COMPLETOR")] - SHIPMENT_COMPLETOR = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"SHIPMENT_INITIATOR")] - SHIPMENT_INITIATOR = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ExportDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ExportDetail.cs deleted file mode 100644 index 577c797..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ExportDetail.cs +++ /dev/null @@ -1,41 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are export Detail used for US or CA exports. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ExportDetail - { - [Newtonsoft.Json.JsonProperty("destinationControlDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DestinationControlDetail DestinationControlDetail { get; set; } - - /// - /// Specify the filing option being exercised. Required for non-document shipments originating in Canada destinated for any country other than Canada, the United States, Puerto Rico, or the U.S. Virgin Islands. - /// - [Newtonsoft.Json.JsonProperty("b13AFilingOption", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ExportDetailB13AFilingOption? B13AFilingOption { get; set; } - - /// - /// For US export shipments requiring an EEI, enter the ITN number received from AES when you filed your shipment or the FTR (Foreign Trade Regulations) exemption number.The proper format for an ITN number is AES XYYYYMMDDNNNNNN where YYYYMMDD is date and NNNNNN are numbers generated by the AES.<br> Example: AESX20220714987654<br>Note: The ITN or FTR exemption number you submit in the ship request prints on the international shipping label.<br><br>For CA export shipments,it can be Proof of report number(15-32 alphanumeric) , Summary proof of report number(7-32 alphanumeric) or Exemption number(2 digit) based on the selected b13AFilingOption.<br>Example: 98765432107654321(POR number), 7654321(Summary POR number) and 02(Exemption number). <br>For FTR exemption number you need provide a predefined value as NO_EEI_30_37_A. - /// - [Newtonsoft.Json.JsonProperty("exportComplianceStatement", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ExportComplianceStatement { get; set; } - - /// - /// This is a Permit Number. This field is applicable only to Canada export non-document shipments of any value to any destination. No special characters are allowed.<br> Example: 12345 - /// - [Newtonsoft.Json.JsonProperty("permitNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PermitNumber { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ExportDetailB13AFilingOption.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ExportDetailB13AFilingOption.cs deleted file mode 100644 index d81b1dc..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ExportDetailB13AFilingOption.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ExportDetailB13AFilingOption - { - - [System.Runtime.Serialization.EnumMember(Value = @"NOT_REQUIRED")] - NOT_REQUIRED = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"MANUALLY_ATTACHED")] - MANUALLY_ATTACHED = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"FILED_ELECTRONICALLY")] - FILED_ELECTRONICALLY = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"SUMMARY_REPORTING")] - SUMMARY_REPORTING = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_TO_STAMP")] - FEDEX_TO_STAMP = 4, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ExpressFreightDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ExpressFreightDetail.cs deleted file mode 100644 index e98903d..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ExpressFreightDetail.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicates the advance booking number, shipper load /count and packing list details. This details must be provided by the user during freight shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ExpressFreightDetail - { - /// - /// This is an advanced booking number that must be acquired through the appropriate channel in the shipment origin country. Without the booking number pickup and space allocation for the Express Freight shipment are not guaranteed. <br>Minimum length: 5 digits <br> Maximum length: 12 digits <br>Example: XXXX56789812 - /// - [Newtonsoft.Json.JsonProperty("bookingConfirmationNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string BookingConfirmationNumber { get; set; } - - /// - /// Indicates the content of a container were loaded and counted by the shipper.<br>Minimum length: 1 digits <br> Maximum length: 5 digits <br>Example: If a skid has 32 small boxes on it that are shrinkwrapped, the shippersLoadAndCount should be “32” - /// - [Newtonsoft.Json.JsonProperty("shippersLoadAndCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? ShippersLoadAndCount { get; set; } - - /// - /// This indicates whether or not the Packing List is enclosed with the shipment. A packing list is a document that includes details about the contents of a package. <br> Example: true - /// - [Newtonsoft.Json.JsonProperty("packingListEnclosed", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? PackingListEnclosed { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/FixedValue.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/FixedValue.cs deleted file mode 100644 index a242557..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/FixedValue.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class FixedValue : Money - { - /// - /// fixed variable handling charge amount - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Always)] - public double Amount { get; set; } - - /// - /// fixed variable handling charge currency type<br><a onclick='loadDocReference("currencycodes")'>click here to see Currency codes</a> - /// - [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Currency { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/GeneralAgencyAgreementDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/GeneralAgencyAgreementDetail.cs deleted file mode 100644 index 9c22f21..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/GeneralAgencyAgreementDetail.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Use this object to specify details to generate general agency agreement detail. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class GeneralAgencyAgreementDetail - { - [Newtonsoft.Json.JsonProperty("documentFormat", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShippingDocumentFormat DocumentFormat { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityContent001.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityContent001.cs deleted file mode 100644 index c75404e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityContent001.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Customer-provided specifications for handling individual commodities. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HazardousCommodityContent001 - { - [Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public HazardousCommodityQuantityDetail Quantity { get; set; } - - /// - /// Specifies the inner receptacles within the container. - /// - [Newtonsoft.Json.JsonProperty("innerReceptacles", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection InnerReceptacles { get; set; } - - [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public HazardousCommodityOptionDetail01 Options { get; set; } - - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public HazardousCommodityDescription01 Description { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityDescription01.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityDescription01.cs deleted file mode 100644 index 3e125c2..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityDescription01.cs +++ /dev/null @@ -1,99 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Required<br>Details of hazardous commodity description. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HazardousCommodityDescription01 - { - /// - /// Required<br>Specify the sequence number.<br>Example: 9812 - /// - [Newtonsoft.Json.JsonProperty("sequenceNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? SequenceNumber { get; set; } - - /// - /// Indicates any special processing options to be applied to the description of the dangerous goods commodity <br> Example: ["INCLUDE_SPECIAL_PROVISIONS"] - /// - [Newtonsoft.Json.JsonProperty("processingOptions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection ProcessingOptions { get; set; } - - /// - /// Required - ///
- ///
Indicates list of subsidiary classes<br>Example: ["Subsidiary Classes"] - ///
- [Newtonsoft.Json.JsonProperty("subsidiaryClasses", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection SubsidiaryClasses { get; set; } - - /// - /// Specifies the text for the label. - /// - [Newtonsoft.Json.JsonProperty("labelText", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LabelText { get; set; } - - /// - /// Specifies the technical name for the hazardous material. - /// - [Newtonsoft.Json.JsonProperty("technicalName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TechnicalName { get; set; } - - [Newtonsoft.Json.JsonProperty("packingDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public HazardousCommodityPackingDetail01 PackingDetails { get; set; } - - /// - /// Information related to quantity limitations and operator or state variations as may be applicable to the dangerous goods commodity. - /// - [Newtonsoft.Json.JsonProperty("authorization", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Authorization { get; set; } - - /// - /// Reportable Quantity - /// - [Newtonsoft.Json.JsonProperty("reportableQuantity", Required = Newtonsoft.Json.Required.Always)] - public bool ReportableQuantity { get; set; } - - /// - /// Percentage<br>Example: 12.45 - /// - [Newtonsoft.Json.JsonProperty("percentage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Percentage { get; set; } - - /// - /// ID<br>Example: 123 - /// - [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Id { get; set; } - - /// - /// Identifies DOT packing group for a hazardous commodity - /// - [Newtonsoft.Json.JsonProperty("packingGroup", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public HazardousCommodityDescription01PackingGroup PackingGroup { get; set; } - - /// - /// The proper shipping name as defined by the regulation. The name can also include qualifying words<br>Example: properShippingName - /// - [Newtonsoft.Json.JsonProperty("properShippingName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ProperShippingName { get; set; } - - /// - /// Specifies the hazard class for the commodity<br>Example: hazard Class - ///
- ///
- [Newtonsoft.Json.JsonProperty("hazardClass", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string HazardClass { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityDescription01PackingGroup.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityDescription01PackingGroup.cs deleted file mode 100644 index 5441548..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityDescription01PackingGroup.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum HazardousCommodityDescription01PackingGroup - { - - [System.Runtime.Serialization.EnumMember(Value = @"DEFAULT")] - DEFAULT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"I")] - I = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"II")] - II = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"III")] - III = 3, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityInnerReceptacleDetail01.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityInnerReceptacleDetail01.cs deleted file mode 100644 index af5183d..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityInnerReceptacleDetail01.cs +++ /dev/null @@ -1,19 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HazardousCommodityInnerReceptacleDetail01 - { - [Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public HazardousCommodityQuantityDetail002 Quantity { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityOptionDetail01.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityOptionDetail01.cs deleted file mode 100644 index 3233041..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityOptionDetail01.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicates details of hazardous commodity option detail. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HazardousCommodityOptionDetail01 - { - /// - /// Indicates the label text option. - /// - [Newtonsoft.Json.JsonProperty("labelTextOption", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public HazardousCommodityOptionDetail01LabelTextOption? LabelTextOption { get; set; } - - /// - /// 'DG Data Upload Mode:- Optional.,DG Full Validation Mode:- Optional,Text used in labeling the commodity under control of the LabelTextOption field<br>Example:Customer Supplied Label Text' - ///
- ///
- ///
- [Newtonsoft.Json.JsonProperty("customerSuppliedLabelText", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CustomerSuppliedLabelText { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityOptionDetail01LabelTextOption.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityOptionDetail01LabelTextOption.cs deleted file mode 100644 index e3e8062..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityOptionDetail01LabelTextOption.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum HazardousCommodityOptionDetail01LabelTextOption - { - - [System.Runtime.Serialization.EnumMember(Value = @"APPEND")] - APPEND = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"OVERRIDE")] - OVERRIDE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"STANDARD")] - STANDARD = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityPackingDetail01.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityPackingDetail01.cs deleted file mode 100644 index 9ae62a1..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityPackingDetail01.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies documentation and limits for validation of an individual packing group/category. DG Data Upload Mode: Required (IATA), Optional (Other), DG Full Validation Mode: Required (IATA), Optional (Other), - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HazardousCommodityPackingDetail01 - { - /// - /// Coded specification for how commodity is to be packed.<br>Example: packing Instructions - /// - [Newtonsoft.Json.JsonProperty("packingInstructions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PackingInstructions { get; set; } - - /// - /// A Boolean value that, when True, specifies the mode of shipment transportation should be Cargo Aircraft for Dangerous Goods. <br>Note: An identifier DGD-CAO is added in AWB for cargo aircraft shipments.Example: true - /// - [Newtonsoft.Json.JsonProperty("cargoAircraftOnly", Required = Newtonsoft.Json.Required.Always)] - public bool CargoAircraftOnly { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail.cs deleted file mode 100644 index 61014be..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specify the Hazardous commodity quantity details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HazardousCommodityQuantityDetail - { - /// - /// Specifies which measure of quantity is to be validated.<br>Example:GROSS - /// - [Newtonsoft.Json.JsonProperty("quantityType", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public HazardousCommodityQuantityDetailQuantityType QuantityType { get; set; } - - /// - /// Indicate the amount of the commodity in alternate units.<br>Example: 24.56 - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Always)] - public double Amount { get; set; } - - /// - /// Indicate the unit of measure.<br>Example: KG - /// - [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Units { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail002.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail002.cs deleted file mode 100644 index afebe65..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail002.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicates the Hazardous Commodity Quantity Detail. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HazardousCommodityQuantityDetail002 - { - /// - /// Specifies which measure of quantity is to be validated. - /// - [Newtonsoft.Json.JsonProperty("quantityType", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public HazardousCommodityQuantityDetail002QuantityType QuantityType { get; set; } - - /// - /// Number of units of the type below.<br>Example: 34.56 - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Always)] - public double Amount { get; set; } - - /// - /// Specifies the units.<br>Example: KG - /// - [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Units { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail002QuantityType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail002QuantityType.cs deleted file mode 100644 index f3b58d9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail002QuantityType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum HazardousCommodityQuantityDetail002QuantityType - { - - [System.Runtime.Serialization.EnumMember(Value = @"GROSS")] - GROSS = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"NET")] - NET = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetailQuantityType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetailQuantityType.cs deleted file mode 100644 index 078a8d4..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetailQuantityType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum HazardousCommodityQuantityDetailQuantityType - { - - [System.Runtime.Serialization.EnumMember(Value = @"GROSS")] - GROSS = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"NET")] - NET = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HoldAtLocationDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HoldAtLocationDetail.cs deleted file mode 100644 index 57df7d3..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/HoldAtLocationDetail.cs +++ /dev/null @@ -1,36 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Use this object to specify required information for a shipment to be held at destination FedEx location.<br><i>Note: This object HoldAtLocationDetail is Required, when HOLD_AT_LOCATION is chosen in the specialServiceTypes.</i> - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HoldAtLocationDetail - { - /// - /// This is an alphanumeric identifier used for Location/Facility Identification.<br>Example: YBZA<br>Note: <ul><li>For HAL Shipment, Location ID is <b>REQUIRED</b> to ensure packages are delivered to the right location.</li><li>Use endpoint [<b>Find Location</b>] in [<b>Location Search API</b>], to find the correct location ID for your shipment.</li></ul> - /// - [Newtonsoft.Json.JsonProperty("locationId", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string LocationId { get; set; } - - [Newtonsoft.Json.JsonProperty("locationContactAndAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ContactAndAddress LocationContactAndAddress { get; set; } - - /// - /// Type of facility at which package/shipment is to be held.<br> Example: FEDEX_ONSITE - /// - [Newtonsoft.Json.JsonProperty("locationType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public HoldAtLocationDetailLocationType? LocationType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HoldAtLocationDetailLocationType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HoldAtLocationDetailLocationType.cs deleted file mode 100644 index c40c553..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/HoldAtLocationDetailLocationType.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum HoldAtLocationDetailLocationType - { - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_AUTHORIZED_SHIP_CENTER")] - FEDEX_AUTHORIZED_SHIP_CENTER = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_OFFICE")] - FEDEX_OFFICE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_SELF_SERVICE_LOCATION")] - FEDEX_SELF_SERVICE_LOCATION = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_STAFFED")] - FEDEX_STAFFED = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"RETAIL_ALLICANCE_LOCATION")] - RETAIL_ALLICANCE_LOCATION = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_GROUND_TERMINAL")] - FEDEX_GROUND_TERMINAL = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_ONSITE")] - FEDEX_ONSITE = 6, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HomeDeliveryPremiumDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HomeDeliveryPremiumDetail.cs deleted file mode 100644 index 75c2d50..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/HomeDeliveryPremiumDetail.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are Special service elements for FedEx Ground Home Delivery shipments. If selected, element homedeliveryPremiumType is mandatory. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class HomeDeliveryPremiumDetail - { - [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PhoneNumber1 PhoneNumber { get; set; } - - /// - /// This is delivery date. Required for FedEx Date Certain Home Delivery. Valid dates are Monday to Sunday. <br>There may be a delay in delivery on Sundays to locations that are geographically difficult to access.<br>Example: 2019-06-26 - /// - [Newtonsoft.Json.JsonProperty("deliveryDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DeliveryDate { get; set; } - - /// - /// Home Delivery Premium Type. Allows the user to specify additional premimum service options for their home delivery shipment. Customer can specify Evening delivery or a Date certain, or can specify they would like to make an appointment for the delivery.<br>Example: APPOINTMENT - /// - [Newtonsoft.Json.JsonProperty("homedeliveryPremiumType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public HomeDeliveryPremiumDetailHomedeliveryPremiumType? HomedeliveryPremiumType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HomeDeliveryPremiumDetailHomedeliveryPremiumType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HomeDeliveryPremiumDetailHomedeliveryPremiumType.cs deleted file mode 100644 index 2ea1114..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/HomeDeliveryPremiumDetailHomedeliveryPremiumType.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum HomeDeliveryPremiumDetailHomedeliveryPremiumType - { - - [System.Runtime.Serialization.EnumMember(Value = @"APPOINTMENT")] - APPOINTMENT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"DATE_CERTAIN")] - DATE_CERTAIN = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"EVENING")] - EVENING = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalControlledExportDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalControlledExportDetail.cs deleted file mode 100644 index ed8bbe2..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalControlledExportDetail.cs +++ /dev/null @@ -1,51 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Use this object to specify International Controlled Export shipment Details.<br>Note: licenseOrPermitExpirationDate and licenseOrPermitNumber are not required when type is WAREHOUSE_WITHDRAWAL. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class InternationalControlledExportDetail - { - /// - /// Indicate the expiration date for the license or permit. The format is YYYY-MM-DD.<br>Example: "2019-12-03" - /// - [Newtonsoft.Json.JsonProperty("licenseOrPermitExpirationDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LicenseOrPermitExpirationDate { get; set; } - - /// - /// Indicate License Or Permit Number for the commodity being exported.<br>Example: 11 - /// - [Newtonsoft.Json.JsonProperty("licenseOrPermitNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LicenseOrPermitNumber { get; set; } - - /// - /// Indicate Entry Number for the export.<br>Example: 125 - /// - [Newtonsoft.Json.JsonProperty("entryNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EntryNumber { get; set; } - - /// - /// Indicate the Foreign Trade Zone Code.<br>Example: US - /// - [Newtonsoft.Json.JsonProperty("foreignTradeZoneCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ForeignTradeZoneCode { get; set; } - - /// - /// International Controlled Export Type<br>Example: WAREHOUSE_WITHDRAWAL - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public InternationalControlledExportDetailType Type { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalControlledExportDetailType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalControlledExportDetailType.cs deleted file mode 100644 index 780fb02..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalControlledExportDetailType.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum InternationalControlledExportDetailType - { - - [System.Runtime.Serialization.EnumMember(Value = @"DEA_036")] - DEA_036 = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"DEA_236")] - DEA_236 = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"DSP_05")] - DSP_05 = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"DSP_61")] - DSP_61 = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"DSP_73")] - DSP_73 = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"DSP_85")] - DSP_85 = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"DSP_LICENSE_AGREEMENT")] - DSP_LICENSE_AGREEMENT = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"WAREHOUSE_WITHDRAWAL")] - WAREHOUSE_WITHDRAWAL = 7, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalTrafficInArmsRegulationsDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalTrafficInArmsRegulationsDetail.cs deleted file mode 100644 index 04421ea..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalTrafficInArmsRegulationsDetail.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are International Traffic In Arms Regulations shipment service details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class InternationalTrafficInArmsRegulationsDetail - { - /// - /// The export or license number for the ITAR shipment.<br>Minimum length is 5 characters.<br>Maximum length is 21 characters.<br>Example: 9871234 - /// - [Newtonsoft.Json.JsonProperty("licenseOrExemptionNumber", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string LicenseOrExemptionNumber { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/JustContactAndAddress.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/JustContactAndAddress.cs deleted file mode 100644 index 98f0ade..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/JustContactAndAddress.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class JustContactAndAddress - { - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Address Address { get; set; } - - [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Contact Contact { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LABELRESPONSEOPTIONS.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LABELRESPONSEOPTIONS.cs deleted file mode 100644 index febe32b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/LABELRESPONSEOPTIONS.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// LabelResponseOptions specifies the label generation format.<br>Example:URL_ONLY - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum LABELRESPONSEOPTIONS - { - - [System.Runtime.Serialization.EnumMember(Value = @"URL_ONLY")] - URL_ONLY = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"LABEL")] - LABEL = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelResponseVO.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelResponseVO.cs deleted file mode 100644 index b01d070..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelResponseVO.cs +++ /dev/null @@ -1,68 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are shipping document/label specific information. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class LabelResponseVO - { - /// - /// This is the content key of the document/label.<br>Example: content key - /// - [Newtonsoft.Json.JsonProperty("contentKey", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ContentKey { get; set; } - - /// - /// These are the number of copies to print for the specific document type.<br>Example: 10 - /// - [Newtonsoft.Json.JsonProperty("copiesToPrint", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? CopiesToPrint { get; set; } - - /// - /// Indicates the type of document/label. - /// - [Newtonsoft.Json.JsonProperty("contentType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public LabelResponseVOContentType? ContentType { get; set; } - - /// - /// This is the tracking number of the package. <br>Example: 49XXX0000XXX20032835<br> - /// - [Newtonsoft.Json.JsonProperty("trackingNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TrackingNumber { get; set; } - - /// - /// This is the document type.<br>Example: PDF - /// - [Newtonsoft.Json.JsonProperty("docType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DocType { get; set; } - - /// - /// These are alerts received in the label response. - /// - [Newtonsoft.Json.JsonProperty("alerts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Alerts { get; set; } - - /// - /// Specifies if the document is encoded.<br>Example: encoded label - /// - [Newtonsoft.Json.JsonProperty("encodedLabel", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EncodedLabel { get; set; } - - /// - /// The URL of the shipping document/label<br>Example: https://.../document/v2/document/retrieve/SH,794816968200_Merge/isLabel=true&autoPrint=false<br><i>Note: The URL once created will be active for 24 hours.</i> - /// - [Newtonsoft.Json.JsonProperty("url", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelResponseVOContentType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelResponseVOContentType.cs deleted file mode 100644 index 68c8476..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelResponseVOContentType.cs +++ /dev/null @@ -1,56 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum LabelResponseVOContentType - { - - [System.Runtime.Serialization.EnumMember(Value = @"LABEL")] - LABEL = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"BILL_OF_LADING")] - BILL_OF_LADING = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"GAA_FORM")] - GAA_FORM = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"HAZMAT_LABEL")] - HAZMAT_LABEL = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"END_OF_DAY_HAZMAT_REPORT")] - END_OF_DAY_HAZMAT_REPORT = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"MANIFEST_REPORT")] - MANIFEST_REPORT = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"MULTIWEIGHT_REPORT")] - MULTIWEIGHT_REPORT = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"MERGED_LABEL_DOCUMENTS")] - MERGED_LABEL_DOCUMENTS = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"AUXILIARY")] - AUXILIARY = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"RETURN_INSTRUCTIONS")] - RETURN_INSTRUCTIONS = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"ACCEPTANCE_LABEL")] - ACCEPTANCE_LABEL = 10, - - [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_INVOICE")] - COMMERCIAL_INVOICE = 11, - - [System.Runtime.Serialization.EnumMember(Value = @"PROFORMA_INVOICE")] - PROFORMA_INVOICE = 12, - - [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN")] - USMCA_CERTIFICATION_OF_ORIGIN = 13, - - [System.Runtime.Serialization.EnumMember(Value = @"CERTIFICATE_OF_ORIGIN")] - CERTIFICATE_OF_ORIGIN = 14, - - [System.Runtime.Serialization.EnumMember(Value = @"MERGED_LABELS_ONLY")] - MERGED_LABELS_ONLY = 15, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecification.cs deleted file mode 100644 index 90f8095..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecification.cs +++ /dev/null @@ -1,81 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are label specification details includes the image type, printer format, and label stock for label. Can also specify specific details such as doc-tab content, regulatory labels, and masking data on the label. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class LabelSpecification - { - /// - /// Specifies the label Format Type<br>Example: COMMON2D - /// - [Newtonsoft.Json.JsonProperty("labelFormatType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public LabelSpecificationLabelFormatType? LabelFormatType { get; set; } - - /// - /// This is the order of the Shipping label/documents to be generated. - /// - [Newtonsoft.Json.JsonProperty("labelOrder", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public LabelSpecificationLabelOrder? LabelOrder { get; set; } - - [Newtonsoft.Json.JsonProperty("customerSpecifiedDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CustomerSpecifiedLabelDetail CustomerSpecifiedDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("printedLabelOrigin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ContactAndAddress PrintedLabelOrigin { get; set; } - - /// - /// Label Stock Type.<br>Example: PAPER_7X475 - /// - [Newtonsoft.Json.JsonProperty("labelStockType", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public LabelSpecificationLabelStockType LabelStockType { get; set; } - - /// - /// This is applicable only to documents produced on thermal printers with roll stock. - /// - [Newtonsoft.Json.JsonProperty("labelRotation", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public LabelSpecificationLabelRotation? LabelRotation { get; set; } - - /// - /// Specifies the image type of this shipping document.<br>Example:PDF - /// - [Newtonsoft.Json.JsonProperty("imageType", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public LabelSpecificationImageType ImageType { get; set; } - - /// - /// This is applicable only to documents produced on thermal printers with roll stock. - /// - [Newtonsoft.Json.JsonProperty("labelPrintingOrientation", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public LabelSpecificationLabelPrintingOrientation? LabelPrintingOrientation { get; set; } - - /// - /// Specifies a particular way in which a kind of shipping document is to be produced and provided<br>Example:RETURNED - /// - [Newtonsoft.Json.JsonProperty("returnedDispositionDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ReturnedDispositionDetail { get; set; } - - /// - /// Specifies the image resolution in DPI (Dots Per Inch). Valid values are 203 & 300. If not provided or for any other value, system will default it to 203.Note: 300 DPI resolution is only allowed for ZPLII image type. - /// - [Newtonsoft.Json.JsonProperty("resolution", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Resolution { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationImageType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationImageType.cs deleted file mode 100644 index f7d5224..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationImageType.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum LabelSpecificationImageType - { - - [System.Runtime.Serialization.EnumMember(Value = @"ZPLII")] - ZPLII = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"EPL2")] - EPL2 = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"PDF")] - PDF = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"PNG")] - PNG = 3, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelFormatType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelFormatType.cs deleted file mode 100644 index 11ed5e6..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelFormatType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum LabelSpecificationLabelFormatType - { - - [System.Runtime.Serialization.EnumMember(Value = @"COMMON2D")] - COMMON2D = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"LABEL_DATA_ONLY")] - LABEL_DATA_ONLY = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelOrder.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelOrder.cs deleted file mode 100644 index 1036612..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelOrder.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum LabelSpecificationLabelOrder - { - - [System.Runtime.Serialization.EnumMember(Value = @"SHIPPING_LABEL_FIRST")] - SHIPPING_LABEL_FIRST = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"SHIPPING_LABEL_LAST")] - SHIPPING_LABEL_LAST = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelPrintingOrientation.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelPrintingOrientation.cs deleted file mode 100644 index c4bfec5..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelPrintingOrientation.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum LabelSpecificationLabelPrintingOrientation - { - - [System.Runtime.Serialization.EnumMember(Value = @"BOTTOM_EDGE_OF_TEXT_FIRST")] - BOTTOM_EDGE_OF_TEXT_FIRST = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"TOP_EDGE_OF_TEXT_FIRST")] - TOP_EDGE_OF_TEXT_FIRST = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelRotation.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelRotation.cs deleted file mode 100644 index d2ff089..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelRotation.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum LabelSpecificationLabelRotation - { - - [System.Runtime.Serialization.EnumMember(Value = @"LEFT")] - LEFT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"RIGHT")] - RIGHT = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"UPSIDE_DOWN")] - UPSIDE_DOWN = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"NONE")] - NONE = 3, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelStockType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelStockType.cs deleted file mode 100644 index 0610541..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelStockType.cs +++ /dev/null @@ -1,59 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum LabelSpecificationLabelStockType - { - - [System.Runtime.Serialization.EnumMember(Value = @"PAPER_4X6")] - PAPER_4X6 = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"PAPER_4X675")] - PAPER_4X675 = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"PAPER_4X8")] - PAPER_4X8 = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"PAPER_4X9")] - PAPER_4X9 = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"PAPER_7X475")] - PAPER_7X475 = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"PAPER_85X11_BOTTOM_HALF_LABEL")] - PAPER_85X11_BOTTOM_HALF_LABEL = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"PAPER_85X11_TOP_HALF_LABEL")] - PAPER_85X11_TOP_HALF_LABEL = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"PAPER_LETTER")] - PAPER_LETTER = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X675_LEADING_DOC_TAB")] - STOCK_4X675_LEADING_DOC_TAB = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X8")] - STOCK_4X8 = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X9_LEADING_DOC_TAB")] - STOCK_4X9_LEADING_DOC_TAB = 10, - - [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X6")] - STOCK_4X6 = 11, - - [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X675_TRAILING_DOC_TAB")] - STOCK_4X675_TRAILING_DOC_TAB = 12, - - [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X9_TRAILING_DOC_TAB")] - STOCK_4X9_TRAILING_DOC_TAB = 13, - - [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X9")] - STOCK_4X9 = 14, - - [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X85_TRAILING_DOC_TAB")] - STOCK_4X85_TRAILING_DOC_TAB = 15, - - [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X105_TRAILING_DOC_TAB")] - STOCK_4X105_TRAILING_DOC_TAB = 16, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LicenseOrPermitDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LicenseOrPermitDetail.cs deleted file mode 100644 index 138ee9d..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/LicenseOrPermitDetail.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This contains the ADR license information, which identifies the license number, the effective date and the expiration date under which the customer is allowed to ship. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class LicenseOrPermitDetail - { - /// - /// Specifies license or permit detail number.<br>Example: 12345 - /// - [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Number { get; set; } - - /// - /// Specifies the effective date of the license.<br>The format is [YYYY-MM-DD].<br>Example: 2019-08-09 - /// - [Newtonsoft.Json.JsonProperty("effectiveDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EffectiveDate { get; set; } - - /// - /// Specifies the expiration date of the license.<br>The format is [YYYY-MM-DD].<br>Example: 2019-04-09 - /// - [Newtonsoft.Json.JsonProperty("expirationDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ExpirationDate { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/MaskedData.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/MaskedData.cs deleted file mode 100644 index 09b1f61..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/MaskedData.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum MaskedData - { - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMS_VALUE")] - CUSTOMS_VALUE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"DIMENSIONS")] - DIMENSIONS = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"DUTIES_AND_TAXES_PAYOR_ACCOUNT_NUMBER")] - DUTIES_AND_TAXES_PAYOR_ACCOUNT_NUMBER = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"INSURED_VALUE")] - INSURED_VALUE = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"SECONDARY_BARCODE")] - SECONDARY_BARCODE = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"SHIPPER_INFORMATION")] - SHIPPER_INFORMATION = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"TERMS_AND_CONDITIONS")] - TERMS_AND_CONDITIONS = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_WEIGHT")] - TOTAL_WEIGHT = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"TRANSPORTATION_CHARGES_PAYOR_ACCOUNT_NUMBER")] - TRANSPORTATION_CHARGES_PAYOR_ACCOUNT_NUMBER = 8, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/MasterTrackingId.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/MasterTrackingId.cs deleted file mode 100644 index 87033e3..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/MasterTrackingId.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicates the tracking details of the package.Required for child shipments of an oneLabelAtATime shipments - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class MasterTrackingId - { - /// - /// This is FedEx tracking Identifier associated with the package.<br>Example: 8600 - /// - [Newtonsoft.Json.JsonProperty("formId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FormId { get; set; } - - /// - /// Specify the FedEx transportation type. <br>Example: EXPRESS - /// - [Newtonsoft.Json.JsonProperty("trackingIdType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TrackingIdType { get; set; } - - /// - /// Specify the USPS tracking Identifier associated with FedEx SmartPost shipment.<br>Example: 92 - /// - [Newtonsoft.Json.JsonProperty("uspsApplicationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string UspsApplicationId { get; set; } - - /// - /// This is the number associated with the package that is used to track it.For child shipment of an oneLabelAtATime shipments,this should be same as the masterTrackingNumber of the parent shipment. <br>Example: 49XXX0000XXX20032835 - /// - [Newtonsoft.Json.JsonProperty("trackingNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TrackingNumber { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Message.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Message.cs deleted file mode 100644 index 9f3aeea..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Message.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies the advisory details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Message - { - /// - /// Specifies the message code for the tag created.<br>Example: code - /// - [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Code { get; set; } - - /// - /// Specifies the text message for the tag created.<br>Example: Text - /// - [Newtonsoft.Json.JsonProperty("text", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Text { get; set; } - - /// - /// Specifies the message parameters list. - /// - [Newtonsoft.Json.JsonProperty("parameters", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Parameters { get; set; } - - /// - /// Specifies the message ID and value.<br>Example: localizedText - /// - [Newtonsoft.Json.JsonProperty("localizedText", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LocalizedText { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/MessageParameter.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/MessageParameter.cs deleted file mode 100644 index 85e08b9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/MessageParameter.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class MessageParameter - { - /// - /// Specifies the message parameter code.<br>Example: message ID - /// - [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Id { get; set; } - - /// - /// Specifies the message parameter value of the code.<br>Example: value - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Value { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Money.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Money.cs deleted file mode 100644 index 8ce5400..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Money.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This customs value is applicable for all items(or units) under the specified commodity - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Money - { - /// - /// This is the amount. Maximum limit is 5 digits before decimal.<br>Example: 12.45 - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Amount { get; set; } - - /// - /// This is the currency code for the amount.<br>Example: USD<br><a onclick='loadDocReference("currencycodes")'>Click here to see Currency codes</a> - /// - [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Currency { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/NetExplosiveDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/NetExplosiveDetail.cs deleted file mode 100644 index 26b9056..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/NetExplosiveDetail.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies the total mass of the contained explosive substances, without the mass of any casings, bullets, shells, etc. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class NetExplosiveDetail - { - /// - /// Specifies amount.<br>Example: 10.0 - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } - - /// - /// Specifies net explosive units.<br>Example: units - /// - [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Units { get; set; } - - /// - /// Specifies net explosive classification type.<br>Example: NET_EXPLOSIVE_WEIGHT - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/NotificationEventType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/NotificationEventType.cs deleted file mode 100644 index 6b32135..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/NotificationEventType.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum NotificationEventType - { - - [System.Runtime.Serialization.EnumMember(Value = @"ON_DELIVERY")] - ON_DELIVERY = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"ON_EXCEPTION")] - ON_EXCEPTION = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"ON_SHIPMENT")] - ON_SHIPMENT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"ON_TENDER")] - ON_TENDER = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"ON_ESTIMATED_DELIVERY")] - ON_ESTIMATED_DELIVERY = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"ON_PICKUP_DRIVER_ARRIVED")] - ON_PICKUP_DRIVER_ARRIVED = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"ON_PICKUP_DRIVER_ASSIGNED")] - ON_PICKUP_DRIVER_ASSIGNED = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"ON_PICKUP_DRIVER_DEPARTED")] - ON_PICKUP_DRIVER_DEPARTED = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"ON_PICKUP_DRIVER_EN_ROUTE")] - ON_PICKUP_DRIVER_EN_ROUTE = 8, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Op900Detail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Op900Detail.cs deleted file mode 100644 index 06f07c9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Op900Detail.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Use this object to specify details to generate the OP-900 document for hazardous material packages. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Op900Detail - { - /// - /// Specify the use and identification of supplied images to be used on document. - /// - [Newtonsoft.Json.JsonProperty("customerImageUsages", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection CustomerImageUsages { get; set; } - - /// - /// Indicates the name to be printed as signature on the document instead of (or in addition to) a signature image.<br>Example: John Hill - /// - [Newtonsoft.Json.JsonProperty("signatureName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string SignatureName { get; set; } - - [Newtonsoft.Json.JsonProperty("documentFormat", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShippingDocumentFormat DocumentFormat { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/OpenShipmentAction.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/OpenShipmentAction.cs deleted file mode 100644 index 99fdf0c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/OpenShipmentAction.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicate shipment action for the Shipment. <ul><li>CONFIRM &ndash; used in case of shipment submission</li><li>TRANSFER &ndash; used in case of Email Label Shipment or Pending Shipment submission. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum OpenShipmentAction - { - - [System.Runtime.Serialization.EnumMember(Value = @"CONFIRM")] - CONFIRM = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFER")] - TRANSFER = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/OperationalInstructions.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/OperationalInstructions.cs deleted file mode 100644 index 41a1ca0..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/OperationalInstructions.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class OperationalInstructions - { - /// - /// Specifies the number of operational instructions returned for this shipment.<br>Example: 17 - /// - [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Number { get; set; } - - /// - /// This is an operational instruction printed or available on the shipping document.<br>Example: SECURED - /// - [Newtonsoft.Json.JsonProperty("content", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Content { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Options.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Options.cs deleted file mode 100644 index f20fcb7..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Options.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum Options - { - - [System.Runtime.Serialization.EnumMember(Value = @"ALLOW_MODIFICATIONS")] - ALLOW_MODIFICATIONS = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageBarcodes.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageBarcodes.cs deleted file mode 100644 index a9dbd8d..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageBarcodes.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are package barcode details. Each instance of this data type represents the set of barcodes (of all types) which are associated with a specific package. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PackageBarcodes - { - /// - /// This is binary-style barcodes used for the package identification. - /// - [Newtonsoft.Json.JsonProperty("binaryBarcodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection BinaryBarcodes { get; set; } - - /// - /// This is string-style barcodes used for package identification. - /// - [Newtonsoft.Json.JsonProperty("stringBarcodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection StringBarcodes { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageCODDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageCODDetail.cs deleted file mode 100644 index 3af2bee..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageCODDetail.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are COD package details. For use with FedEx Ground services only; COD must be present in shipments special services. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PackageCODDetail - { - /// - /// Indicate the COD collection amount. - /// - [Newtonsoft.Json.JsonProperty("codCollectionAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Money CodCollectionAmount { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageOperationalDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageOperationalDetail.cs deleted file mode 100644 index 5c6e3ab..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageOperationalDetail.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Package-level data required for labeling and/or movement. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PackageOperationalDetail - { - /// - /// Human-readable text for pre-January 2011 clients.<br>Example: astraHandlingText - /// - [Newtonsoft.Json.JsonProperty("astraHandlingText", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AstraHandlingText { get; set; } - - [Newtonsoft.Json.JsonProperty("barcodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PackageBarcodes Barcodes { get; set; } - - /// - /// These are operational instruction such as Ground Information printed on a given area of the label, one-dimensional barcode with only x-axis that contains the details of the shipment in encrypted form, COD Return operational instructions data such as COD amount, SECURED or UNSECURED. - /// - [Newtonsoft.Json.JsonProperty("operationalInstructions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection OperationalInstructions { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageRateDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageRateDetail.cs deleted file mode 100644 index 6d9e7a3..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageRateDetail.cs +++ /dev/null @@ -1,100 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are package rate details, as calculated per a specific rate type. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PackageRateDetail - { - /// - /// Indicates the weight types used in calculating this rate, such as actual weight or dimensional weight.<br> Example: DIM - /// - [Newtonsoft.Json.JsonProperty("ratedWeightMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RatedWeightMethod { get; set; } - - /// - /// The sum of all freight discounts for this package.<br>Example: 44.55 - /// - [Newtonsoft.Json.JsonProperty("totalFreightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalFreightDiscounts { get; set; } - - /// - /// The sum of all taxes on this package.<br>Example: 3.45 - /// - [Newtonsoft.Json.JsonProperty("totalTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalTaxes { get; set; } - - /// - /// Indicates the minumum charge type. INTERNAL FEDEX USE ONLY.Example: minimumChargeType - /// - [Newtonsoft.Json.JsonProperty("minimumChargeType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string MinimumChargeType { get; set; } - - /// - /// The package transportation charge(prior to any discounts applied).<br>Example: 45.67 - /// - [Newtonsoft.Json.JsonProperty("baseCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? BaseCharge { get; set; } - - /// - /// Specifies total rebates on this package.<br>Example: 4.56 - /// - [Newtonsoft.Json.JsonProperty("totalRebates", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalRebates { get; set; } - - /// - /// This is the rate type used.<br>Example: PAYOR_RETAIL_PACKAGE - /// - [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RateType { get; set; } - - [Newtonsoft.Json.JsonProperty("billingWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Weight BillingWeight { get; set; } - - /// - /// This is the net freight charges. i.e. base charge minus total freight discounts for a package.<br>Example: 4.89 - /// - [Newtonsoft.Json.JsonProperty("netFreight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? NetFreight { get; set; } - - /// - /// These are all surcharges on this package.<br><a onclick='loadDocReference("surcharges")'>click here to see Surcharges</a> - /// - [Newtonsoft.Json.JsonProperty("surcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Surcharges { get; set; } - - /// - /// The sum of all surcharges on this package.<br>Example: 22.56 - /// - [Newtonsoft.Json.JsonProperty("totalSurcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalSurcharges { get; set; } - - /// - /// This is sum of net freight and total surcharges (not including totalTaxes) for this package.<br>Example: 12.56 - /// - [Newtonsoft.Json.JsonProperty("netFedExCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? NetFedExCharge { get; set; } - - /// - /// This is the sum of net freight, total surcharges and total taxes for a package.<br>Example: 121.56 - /// - [Newtonsoft.Json.JsonProperty("netCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? NetCharge { get; set; } - - /// - /// This is the currency code. <br>Example: USD<br><a onclick='loadDocReference("currencycodes")'>click here to see Currency codes</a> - /// - [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Currency { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageRating.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageRating.cs deleted file mode 100644 index 673a5ce..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageRating.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This class groups together all package-level rate data for a single package (across all rate types) as part of the response to a shipping request, which groups shipment-level data together and groups package-level data by package. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PackageRating - { - /// - /// This is the difference between the list and account net charge.<br>Example: 0.0 - /// - [Newtonsoft.Json.JsonProperty("effectiveNetDiscount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? EffectiveNetDiscount { get; set; } - - /// - /// This is the actual rate type. It identifies which entry in the following array is considered as presenting the actual rates for the package.<br>Example: PAYOR_ACCOUNT_PACKAGE - /// - [Newtonsoft.Json.JsonProperty("actualRateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ActualRateType { get; set; } - - /// - /// Data for a package's rates, as calculated per a specific rate type. - /// - [Newtonsoft.Json.JsonProperty("packageRateDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection PackageRateDetails { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageSpecialServicesRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageSpecialServicesRequested.cs deleted file mode 100644 index 753d7bf..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageSpecialServicesRequested.cs +++ /dev/null @@ -1,68 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are special services that are available at the package level for some or all service types. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PackageSpecialServicesRequested - { - /// - /// The list of all special services requested for the package.<br><a href="/developer-portal/en-us/reference-guide.html#packagespecialservicetypes" target="_blank">Click here to see Package Special Service Types</a><br>Example:ALCOHOL - /// - [Newtonsoft.Json.JsonProperty("specialServiceTypes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection SpecialServiceTypes { get; set; } - - /// - /// Signature Option Type<br/>ADULT - Adult signature required, at recipient''s address.<br/>DIRECT - Signature required, at recipient''s address.<br>INDIRECT - Signature required, alternate address is accepted.<br/>NO_SIGNATURE_REQUIRED - Signature is not required.<br/>SERVICE_DEFAULT - Signature handled as per current Service Guide.<br>Example:ADULT - /// - [Newtonsoft.Json.JsonProperty("signatureOptionType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public PackageSpecialServicesRequestedSignatureOptionType? SignatureOptionType { get; set; } - - [Newtonsoft.Json.JsonProperty("priorityAlertDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PriorityAlertDetail PriorityAlertDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("signatureOptionDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public SignatureOptionDetail SignatureOptionDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("alcoholDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public AlcoholDetail AlcoholDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("dangerousGoodsDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DangerousGoodsDetail DangerousGoodsDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("packageCODDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PackageCODDetail PackageCODDetail { get; set; } - - /// - /// Provide the pieceCount or VerificationBoxCount for batteries or cells that are contained within this specific package.<br>Example:1 - /// - [Newtonsoft.Json.JsonProperty("pieceCountVerificationBoxCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? PieceCountVerificationBoxCount { get; set; } - - /// - /// Provide details about the batteries or cells that are contained within this specific package. - /// - [Newtonsoft.Json.JsonProperty("batteryDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection BatteryDetails { get; set; } - - [Newtonsoft.Json.JsonProperty("dryIceWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Weight_3 DryIceWeight { get; set; } - - /// - /// Provide details about the batteries or cells that are contained within this specific package. - /// - [Newtonsoft.Json.JsonProperty("standaloneBatteryDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection StandaloneBatteryDetails { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageSpecialServicesRequestedSignatureOptionType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageSpecialServicesRequestedSignatureOptionType.cs deleted file mode 100644 index 0f15b73..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageSpecialServicesRequestedSignatureOptionType.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum PackageSpecialServicesRequestedSignatureOptionType - { - - [System.Runtime.Serialization.EnumMember(Value = @"SERVICE_DEFAULT")] - SERVICE_DEFAULT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"NO_SIGNATURE_REQUIRED")] - NO_SIGNATURE_REQUIRED = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"INDIRECT")] - INDIRECT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"DIRECT")] - DIRECT = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"ADULT")] - ADULT = 4, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAccountNumber.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAccountNumber.cs deleted file mode 100644 index ecadeb7..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAccountNumber.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This is FedEx Account number details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PartyAccountNumber - { - /// - /// Conditional.<br> The account number value.<br> Max Length is 9.<br>Example: 12XXXXX89 - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Value { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress.cs deleted file mode 100644 index 8e011ab..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress.cs +++ /dev/null @@ -1,50 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This is detailed information on physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the US). - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PartyAddress - { - /// - /// Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included. Max Length is 35.<br>Example: [1550 Union Blvd,Suite 302] - /// - [Newtonsoft.Json.JsonProperty("streetLines", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public System.Collections.Generic.ICollection StreetLines { get; set; } = new System.Collections.ObjectModel.Collection(); - - /// - /// The name of city, town of the recipient.Max length is 35.<br>Example: Beverly Hills - /// - [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [System.ComponentModel.DataAnnotations.StringLength(35)] - public string City { get; set; } - - /// - /// The US States,Canada and Puerto Rico Province codes of the recipient. The Format and presence of this field may vary depending on the country.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.<br>Example: CA - /// - [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StateOrProvinceCode { get; set; } - - /// - /// This is the postal code.<br>Note: This is Optional for non postal-aware countries. Maximum length is 10.<br>Example: 65247<br><a onclick='loadDocReference("postalawarecountries")'>click here to see Postal aware countries</a> - /// - [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PostalCode { get; set; } - - /// - /// This is the two-letter country code.<br>Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> - /// - [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string CountryCode { get; set; } - - /// - /// Indicates whether this address is residential (as opposed to commercial).<br>Example: false - /// - [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Residential { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress_1.cs deleted file mode 100644 index 33f7449..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress_1.cs +++ /dev/null @@ -1,61 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This is detailed information on physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the US). - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PartyAddress_1 - { - /// - /// This is the combination of number, street name, etc. Maximum length per line is 35.<br>Example: 10 FedEx Parkway, Suite 302.<p><i>Note:<ul><li>At least one line is required.</li><li>Streetlines more than 3 will be ignored.</li><li>Empty lines should not be included</li><li>For SmartPost Shipments, only 30 characters from the individual street lines will be printed on the labels.</li></ul></i></p> - /// - [Newtonsoft.Json.JsonProperty("streetLines", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection StreetLines { get; set; } - - /// - /// This is a placeholder for City Name. <br>Example: Beverly Hills - /// - [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string City { get; set; } - - /// - /// This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.<br>Example: CA.<br><a onclick='loadDocReference("canadaprovincecodes")'>click here to see State or Province Code</a> - /// - [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StateOrProvinceCode { get; set; } - - /// - /// This is the Postal code.<br>This is Optional for non postal-aware countries.<br>Maximum length is 10.<br>Example: 65247<br><a onclick='loadDocReference("postalawarecountries")'>click here to see Postal aware countries</a> - /// - [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PostalCode { get; set; } - - /// - /// This is the two-letter country code.<br>Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> - /// - [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CountryCode { get; set; } - - /// - /// Indicate whether this address is residential (as opposed to commercial). - /// - [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Residential { get; set; } - - /// - /// Indicates the geographic coordinates. <br> example: geographicCoordinates - /// - [Newtonsoft.Json.JsonProperty("geographicCoordinates", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string GeographicCoordinates { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress_2.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress_2.cs deleted file mode 100644 index 3c45008..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress_2.cs +++ /dev/null @@ -1,50 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This is detailed information on physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the US). - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PartyAddress_2 - { - /// - /// Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included. Max Length is 35.<br>Example: [1550 Union Blvd,Suite 302] - /// - [Newtonsoft.Json.JsonProperty("streetLines", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public System.Collections.Generic.ICollection StreetLines { get; set; } = new System.Collections.ObjectModel.Collection(); - - /// - /// The name of city, town of the recipient.Max length is 35.<br>Example: Beverly Hills - /// - [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [System.ComponentModel.DataAnnotations.StringLength(35)] - public string City { get; set; } - - /// - /// It is used to identify the principal subdivisions (e.g., provinces or states) of countries. The Format and presence of this field may vary depending on the country. Note: For specific countries, such as the United States and Canada, and Puerto Rico, there is a two-character state, province, codes limit . Example: TX - /// - [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StateOrProvinceCode { get; set; } - - /// - /// This is the postal code.<br>Note: This is Optional for non postal-aware countries. Maximum length is 10.<br>Example: 65247<br><a onclick='loadDocReference("postalawarecountries")'>click here to see Postal aware countries</a> - /// - [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PostalCode { get; set; } - - /// - /// This is the two-letter country code.<br>Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> - /// - [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string CountryCode { get; set; } - - /// - /// Indicates whether this address is residential (as opposed to commercial).<br>Example: false - /// - [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Residential { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyContact.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyContact.cs deleted file mode 100644 index 3d3180f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyContact.cs +++ /dev/null @@ -1,41 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicate the contact details for this shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PartyContact - { - /// - /// Specify contact name. Maximum length is 70. <br>Note: Either the companyName or personName is mandatory.<br> Example: John Taylor - /// - [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PersonName { get; set; } - - /// - /// Specify contact email address. Maximum length is 80. <br> Example: sample@company.com - /// - [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EmailAddress { get; set; } - - /// - /// Specify contact phone extension. Maximum length is 6. <br> Example: 1234 - /// - [Newtonsoft.Json.JsonProperty("phoneExtension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneExtension { get; set; } - - /// - /// The shipper's phone number. <br>Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.<br>Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.<br>Example: 918xxxxx890 - /// - [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string PhoneNumber { get; set; } - - /// - /// The shipper's company name. Max length is 35.<br>Example: FedEx - /// - [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CompanyName { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyContact_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyContact_1.cs deleted file mode 100644 index a8f073d..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyContact_1.cs +++ /dev/null @@ -1,55 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicate the contact details for this shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PartyContact_1 - { - /// - /// Specify contact name. Maximum length is 70. <br> Example: John Taylor - /// - [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PersonName { get; set; } - - /// - /// Specify contact email address. Maximum length is 80. <br> Example: sample@company.com - /// - [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EmailAddress { get; set; } - - /// - /// Specify contact phone extension. Maximum length is 6. <br> Example: 1234 - /// - [Newtonsoft.Json.JsonProperty("phoneExtension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneExtension { get; set; } - - /// - /// Specify contact phone number. <br>Minimum length is 10 and supports Maximum as 15 for certain countries using longer phone numbers. <br>Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number. <br> Example: 918xxxxx890 - /// - [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneNumber { get; set; } - - /// - /// Specify contact company name.<br>Recommended length is 35.<br>Note: There's no specific validation of the company name. - /// - [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CompanyName { get; set; } - - /// - /// Specify contact person's fax number. Maximum length is 15. - /// - [Newtonsoft.Json.JsonProperty("faxNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FaxNumber { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_1.cs deleted file mode 100644 index 52f4b57..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_1.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Party_1 - { - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PartyAddress Address { get; set; } - - [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public PartyContact Contact { get; set; } = new PartyContact(); - - [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PartyAccountNumber AccountNumber { get; set; } - - /// - /// This is the tax identification number details. - /// - [Newtonsoft.Json.JsonProperty("tins", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Tins { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_2.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_2.cs deleted file mode 100644 index 5ac14b0..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_2.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Use this object to provide the attributes such as physical address, contact information and account number information. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Party_2 - { - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Address_1 Address { get; set; } - - [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Contact_1 Contact { get; set; } - - [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PartyAccountNumber AccountNumber { get; set; } - - /// - /// This is the tax identification number details. - /// - [Newtonsoft.Json.JsonProperty("tins", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Tins { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_3.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_3.cs deleted file mode 100644 index 53ccb9b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_3.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Party_3 - { - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PartyAddress_1 Address { get; set; } - - [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PartyContact_1 Contact { get; set; } - - /// - /// This is the tax identification number details. - /// - [Newtonsoft.Json.JsonProperty("tins", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Tins { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment.cs deleted file mode 100644 index a04005e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies the payment details specifying the method and means of payment to FedEx for providing shipping services. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Payment - { - /// - /// Indicates who and how the shipment will be paid for.Required for Express and Ground.<br>Example: SENDER - /// - [Newtonsoft.Json.JsonProperty("paymentType", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public PaymentType PaymentType { get; set; } - - [Newtonsoft.Json.JsonProperty("payor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Payor Payor { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PaymentType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PaymentType.cs deleted file mode 100644 index a625a18..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PaymentType.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum PaymentType - { - - [System.Runtime.Serialization.EnumMember(Value = @"SENDER")] - SENDER = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"RECIPIENT")] - RECIPIENT = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"THIRD_PARTY")] - THIRD_PARTY = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"COLLECT")] - COLLECT = 3, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment_1.cs deleted file mode 100644 index aecffca..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment_1.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This is a payment type, basically indicates who is the payor for the shipment.Conditional required for International Shipments - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Payment_1 - { - [Newtonsoft.Json.JsonProperty("payor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Payor_1 Payor { get; set; } - - [Newtonsoft.Json.JsonProperty("billingDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public BillingDetails BillingDetails { get; set; } - - /// - /// Indicates who and how the shipment will be paid for.Required for Express and Ground.<br>Example: SENDER - /// - [Newtonsoft.Json.JsonProperty("paymentType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Payment_1PaymentType? PaymentType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment_1PaymentType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment_1PaymentType.cs deleted file mode 100644 index e019193..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment_1PaymentType.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum Payment_1PaymentType - { - - [System.Runtime.Serialization.EnumMember(Value = @"SENDER")] - SENDER = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"RECIPIENT")] - RECIPIENT = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"THIRD_PARTY")] - THIRD_PARTY = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"COLLECT")] - COLLECT = 3, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Payor.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Payor.cs deleted file mode 100644 index bdf3f54..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Payor.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY or COLLECT. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Payor - { - [Newtonsoft.Json.JsonProperty("responsibleParty", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public ResponsiblePartyParty ResponsibleParty { get; set; } = new ResponsiblePartyParty(); - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Payor_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Payor_1.cs deleted file mode 100644 index 25760f7..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Payor_1.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Information about the person who is paying for the shipment. Not applicable for credit card payment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Payor_1 - { - [Newtonsoft.Json.JsonProperty("responsibleParty", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Party_2 ResponsibleParty { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentAccessDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentAccessDetail.cs deleted file mode 100644 index 21c25b0..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentAccessDetail.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This information describes how and when a online email return label shipment may be accessed for completion. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PendingShipmentAccessDetail - { - /// - /// Indicates the details about the users who can access the shipment. - /// - [Newtonsoft.Json.JsonProperty("accessorDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection AccessorDetails { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentAccessorDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentAccessorDetail.cs deleted file mode 100644 index d63536a..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentAccessorDetail.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies details for how to access the pending email return label. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PendingShipmentAccessorDetail - { - /// - /// Specifies the accessor password.<br>Example: password - /// - [Newtonsoft.Json.JsonProperty("password", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Password { get; set; } - - /// - /// Specifies the accessor role.<br>Example: role - /// - [Newtonsoft.Json.JsonProperty("role", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Role { get; set; } - - /// - /// Specifies the URL for the email label.<br>Example: emailLabelUrl - /// - [Newtonsoft.Json.JsonProperty("emailLabelUrl", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EmailLabelUrl { get; set; } - - /// - /// Specifies the accessor User ID.<br>Example: userId - /// - [Newtonsoft.Json.JsonProperty("userId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string UserId { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentDetail.cs deleted file mode 100644 index 0160e30..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentDetail.cs +++ /dev/null @@ -1,40 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This object is used to specify the Pending Shipment Type for Email label. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PendingShipmentDetail - { - /// - /// Specifies the pending shipment type. Must include the value: EMAIL for email return shipments. <br>Not applicable for other types of shipments<br>Example: EMAIL - /// - [Newtonsoft.Json.JsonProperty("pendingShipmentType", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public PendingShipmentDetailPendingShipmentType PendingShipmentType { get; set; } - - [Newtonsoft.Json.JsonProperty("processingOptions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PendingShipmentProcessingOptionsRequested ProcessingOptions { get; set; } - - [Newtonsoft.Json.JsonProperty("recommendedDocumentSpecification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public RecommendedDocumentSpecification RecommendedDocumentSpecification { get; set; } - - [Newtonsoft.Json.JsonProperty("emailLabelDetail", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public EmailLabelDetail EmailLabelDetail { get; set; } = new EmailLabelDetail(); - - /// - /// These are the reference document details with the shipment. - /// - [Newtonsoft.Json.JsonProperty("attachedDocuments", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection AttachedDocuments { get; set; } - - /// - /// Specifies the Email Label expiration date. The maximum expiration date for an Email Return Label must be greater of equal to the day of the label request and not greater than 2 years in the future. Format[YYYY-MM-DD] <br>Example: 2020-01-01 - /// - [Newtonsoft.Json.JsonProperty("expirationTimeStamp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ExpirationTimeStamp { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentDetailPendingShipmentType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentDetailPendingShipmentType.cs deleted file mode 100644 index 91cbe4f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentDetailPendingShipmentType.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum PendingShipmentDetailPendingShipmentType - { - - [System.Runtime.Serialization.EnumMember(Value = @"EMAIL")] - EMAIL = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentProcessingOptionsRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentProcessingOptionsRequested.cs deleted file mode 100644 index b3787cc..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentProcessingOptionsRequested.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Use this object to allow the Email Label shipment originator, specify if the Email label shipment completer can make modifications to editable shipment data. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PendingShipmentProcessingOptionsRequested - { - /// - /// Pending Shipment Processing Option Type<br>Example: ALLOW_MODIFICATIONS - /// - [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection Options { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PhoneNumber1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PhoneNumber1.cs deleted file mode 100644 index 0ba3ee3..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PhoneNumber1.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicate the phone number. Only numeric values allowed.<br> Note that phoneNumber is mandatory when homedeliveryPremiumType is DATE_CERTAIN or EVENING. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PhoneNumber1 - { - /// - /// Area-Code<br>Example: 901 - /// - [Newtonsoft.Json.JsonProperty("areaCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AreaCode { get; set; } - - /// - /// Local Number<br>Example: 3575012 - /// - [Newtonsoft.Json.JsonProperty("localNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LocalNumber { get; set; } - - /// - /// Extension<br>Example: 200 - /// - [Newtonsoft.Json.JsonProperty("extension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Extension { get; set; } - - /// - /// Personal Identification Number<br>Example: 98712345 - /// - [Newtonsoft.Json.JsonProperty("personalIdentificationNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PersonalIdentificationNumber { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PieceResponse.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PieceResponse.cs deleted file mode 100644 index 9a931d7..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PieceResponse.cs +++ /dev/null @@ -1,134 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Piece Response information. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PieceResponse - { - /// - /// Indicates the net charges amount.<br>Example: 21.45 - /// - [Newtonsoft.Json.JsonProperty("netChargeAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? NetChargeAmount { get; set; } - - /// - /// Indicates data received that governs data payload language/translations. The TransactionDetail from the request is echoed back to the caller in the corresponding reply. - /// - [Newtonsoft.Json.JsonProperty("transactionDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection TransactionDetails { get; set; } - - /// - /// These are package documents returned in the response. - /// - [Newtonsoft.Json.JsonProperty("packageDocuments", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection PackageDocuments { get; set; } - - /// - /// Indicates the acceptance tracking number.<br>Example: 7949XXXXX5000 - /// - [Newtonsoft.Json.JsonProperty("acceptanceTrackingNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AcceptanceTrackingNumber { get; set; } - - /// - /// Indicates the service category. - /// - [Newtonsoft.Json.JsonProperty("serviceCategory", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public PieceResponseServiceCategory? ServiceCategory { get; set; } - - /// - /// Indicates total charges applicable to the customer.<br>Example: listCustomerTotalCharge - /// - [Newtonsoft.Json.JsonProperty("listCustomerTotalCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ListCustomerTotalCharge { get; set; } - - /// - /// Indicates delivery date with timestamp.<br>Example: 2012-09-23 - /// - [Newtonsoft.Json.JsonProperty("deliveryTimestamp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DeliveryTimestamp { get; set; } - - /// - /// Indicates the type of the tracking identifier. - /// - [Newtonsoft.Json.JsonProperty("trackingIdType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TrackingIdType { get; set; } - - /// - /// These are additional charges or discounts.<br>Example: 621.45 - /// - [Newtonsoft.Json.JsonProperty("additionalChargesDiscount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? AdditionalChargesDiscount { get; set; } - - /// - /// Indicates the net List rate amount.<br>Example: 1.45 - /// - [Newtonsoft.Json.JsonProperty("netListRateAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? NetListRateAmount { get; set; } - - /// - /// Specifies the base rate amount.<br>Example: 321.45 - /// - [Newtonsoft.Json.JsonProperty("baseRateAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? BaseRateAmount { get; set; } - - /// - /// Indicates package sequence number.<br>Example: 215 - /// - [Newtonsoft.Json.JsonProperty("packageSequenceNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? PackageSequenceNumber { get; set; } - - /// - /// Specifies the net discount amount.<br>Example: 121.45 - /// - [Newtonsoft.Json.JsonProperty("netDiscountAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? NetDiscountAmount { get; set; } - - /// - /// Specifies the Collect on Delivery collection amount.<br>Example: 231.45 - /// - [Newtonsoft.Json.JsonProperty("codCollectionAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? CodCollectionAmount { get; set; } - - /// - /// This is a master tracking number of the shipment (must be unique for stand-alone open shipments, or unique within consolidation if consolidation key is provided).<br>Example: 794XXXXX5000 - /// - [Newtonsoft.Json.JsonProperty("masterTrackingNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string MasterTrackingNumber { get; set; } - - /// - /// Indicates acceptance type.<br>Example: acceptanceType<br>Example:acceptanceType - /// - [Newtonsoft.Json.JsonProperty("acceptanceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AcceptanceType { get; set; } - - /// - /// This is the tracking number associated with this package. <br>Example: 49XXX0000XXX20032835 - /// - [Newtonsoft.Json.JsonProperty("trackingNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TrackingNumber { get; set; } - - /// - /// Returns true if the responses are successful otherwise false. - /// - [Newtonsoft.Json.JsonProperty("successful", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Successful { get; set; } - - /// - /// These are additional customer reference data.<br>Note: The groupPackageCount must be specified to retrieve customer references. - /// - [Newtonsoft.Json.JsonProperty("customerReferences", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection CustomerReferences { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PieceResponseServiceCategory.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PieceResponseServiceCategory.cs deleted file mode 100644 index ba0d1dc..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PieceResponseServiceCategory.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum PieceResponseServiceCategory - { - - [System.Runtime.Serialization.EnumMember(Value = @"EXPRESS")] - EXPRESS = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"GROUND")] - GROUND = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"EXPRESS_FREIGHT")] - EXPRESS_FREIGHT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FREIGHT")] - FREIGHT = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"SMARTPOST")] - SMARTPOST = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"EXPRESS_PARCEL")] - EXPRESS_PARCEL = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"NULL")] - NULL = 6, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PriorityAlertDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PriorityAlertDetail.cs deleted file mode 100644 index cbbaa90..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/PriorityAlertDetail.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies the Priority Alert Detail. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class PriorityAlertDetail - { - /// - /// The types of all enhancement for the Priority Alert.<br>Example: PRIORITY_ALERT_PLUS - /// - [Newtonsoft.Json.JsonProperty("enhancementTypes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection EnhancementTypes { get; set; } - - /// - /// Specifies Content for the Priority Alert Detail.<br>Example:string - /// - [Newtonsoft.Json.JsonProperty("content", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Content { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ProcessingOptions.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ProcessingOptions.cs deleted file mode 100644 index a9d334d..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ProcessingOptions.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ProcessingOptions - { - - [System.Runtime.Serialization.EnumMember(Value = @"INCLUDE_SPECIAL_PROVISIONS")] - INCLUDE_SPECIAL_PROVISIONS = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ProductName.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ProductName.cs deleted file mode 100644 index 9a7f0b3..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ProductName.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Product Name information. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ProductName - { - /// - /// The type of name (long, medium, short, etc.) to which this value refers.<br>Example: long - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - /// - /// The character encoding used to represent this product name. <br>Example: UTF-8 - /// - [Newtonsoft.Json.JsonProperty("encoding", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Encoding { get; set; } - - /// - /// Specifies the value of the Product.<br>Example: F-2 - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Value { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RateDiscount.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RateDiscount.cs deleted file mode 100644 index f694c98..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RateDiscount.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies discount Rate for Shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RateDiscount - { - /// - /// Specifies the amount.<br>Example: 8.9 - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } - - /// - /// The type of rate discount. <br/> Valid Values are BONUS, COUPON,EARNED,OTHER,VOLUME.<br>Example: COUPON - /// - [Newtonsoft.Json.JsonProperty("rateDiscountType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RateDiscountType { get; set; } - - /// - /// Specifies the percentage of Rate discount.<br>Example: 28.9 - /// - [Newtonsoft.Json.JsonProperty("percent", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Percent { get; set; } - - /// - /// Specifies the description of the discounted rate.<br>Example: description - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RateRequestType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RateRequestType.cs deleted file mode 100644 index 18837f2..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RateRequestType.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RateRequestType - { - - [System.Runtime.Serialization.EnumMember(Value = @"LIST")] - LIST = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"NONE")] - NONE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED")] - PREFERRED = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT")] - ACCOUNT = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"INCENTIVE")] - INCENTIVE = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"RETAIL")] - RETAIL = 5, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Recipient.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Recipient.cs deleted file mode 100644 index 0e2c359..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Recipient.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Recipient : RecipientsParty - { - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Always)] - public Address2 Address { get; set; } - - [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Always)] - public Contact2 Contact { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientCustomsId.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientCustomsId.cs deleted file mode 100644 index 1c1300d..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientCustomsId.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Use this element to provide valid identification details. Used for populating brazil tax id. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RecipientCustomsId - { - /// - /// This is ID Type. - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RecipientCustomsIdType? Type { get; set; } - - /// - /// This is the ID number. - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Value { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientCustomsIdType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientCustomsIdType.cs deleted file mode 100644 index 34bc1d6..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientCustomsIdType.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RecipientCustomsIdType - { - - [System.Runtime.Serialization.EnumMember(Value = @"COMPANY")] - COMPANY = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"INDIVIDUAL")] - INDIVIDUAL = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"PASSPORT")] - PASSPORT = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientsParty.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientsParty.cs deleted file mode 100644 index 8d05469..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientsParty.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// The descriptive information of the recipient for the shipment and the physical location for the package destination. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RecipientsParty - { - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public PartyAddress_2 Address { get; set; } = new PartyAddress_2(); - - [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public PartyContact Contact { get; set; } = new PartyContact(); - - /// - /// This is the tax identification number details. - /// - [Newtonsoft.Json.JsonProperty("tins", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Tins { get; set; } - - /// - /// Specify the delivery instructions to be added with the shipment. Use with Ground Home Delivery.<br>Example: Delivery Instructions - /// - [Newtonsoft.Json.JsonProperty("deliveryInstructions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DeliveryInstructions { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RecommendedDocumentSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RecommendedDocumentSpecification.cs deleted file mode 100644 index a4251f2..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RecommendedDocumentSpecification.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are documents that are recommended to be included with the shipment.<br>Example:ANTIQUE_STATEMENT_EUROPEAN_UNION - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RecommendedDocumentSpecification - { - /// - /// This is the recommended document Type.<br><a onclick='loadDocReference("shipmentdocumenttype")'>click here to see shipment document type</a> - /// - [Newtonsoft.Json.JsonProperty("types", Required = Newtonsoft.Json.Required.Always, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - [System.ComponentModel.DataAnnotations.Required] - public System.Collections.Generic.ICollection Types { get; set; } = new System.Collections.ObjectModel.Collection(); - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryAdvisoryDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryAdvisoryDetail.cs deleted file mode 100644 index 1ad2972..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryAdvisoryDetail.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicates the regulatory advisory details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RegulatoryAdvisoryDetail - { - /// - /// It is a regulatory probitions. - /// - [Newtonsoft.Json.JsonProperty("prohibitions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Prohibitions { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryControls.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryControls.cs deleted file mode 100644 index 97b5934..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryControls.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RegulatoryControls - { - - [System.Runtime.Serialization.EnumMember(Value = @"FOOD_OR_PERISHABLE")] - FOOD_OR_PERISHABLE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"USMCA")] - USMCA = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"NOT_APPLICABLE_FOR_LOW_VALUE_CUSTOMS_EXCEPTIONS")] - NOT_APPLICABLE_FOR_LOW_VALUE_CUSTOMS_EXCEPTIONS = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"NOT_IN_FREE_CIRCULATION")] - NOT_IN_FREE_CIRCULATION = 3, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetail.cs deleted file mode 100644 index 49a947e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetail.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RegulatoryLabelContentDetail - { - /// - /// Specify the regulatory content preference to be displayed on the label. - /// - [Newtonsoft.Json.JsonProperty("generationOptions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RegulatoryLabelContentDetailGenerationOptions? GenerationOptions { get; set; } - - /// - /// Specify the type of regulatory content to be added on the label. - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RegulatoryLabelContentDetailType? Type { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetailGenerationOptions.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetailGenerationOptions.cs deleted file mode 100644 index 7f2c7ad..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetailGenerationOptions.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RegulatoryLabelContentDetailGenerationOptions - { - - [System.Runtime.Serialization.EnumMember(Value = @"CONTENT_ON_SHIPPING_LABEL_PREFERRED")] - CONTENT_ON_SHIPPING_LABEL_PREFERRED = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"CONTENT_ON_SUPPLEMENTAL_LABEL_ONLY")] - CONTENT_ON_SUPPLEMENTAL_LABEL_ONLY = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"CONTENT_ON_SHIPPING_LABEL_ONLY")] - CONTENT_ON_SHIPPING_LABEL_ONLY = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetailType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetailType.cs deleted file mode 100644 index 525cc6e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetailType.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RegulatoryLabelContentDetailType - { - - [System.Runtime.Serialization.EnumMember(Value = @"ALCOHOL_SHIPMENT_LABEL")] - ALCOHOL_SHIPMENT_LABEL = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryProhibition.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryProhibition.cs deleted file mode 100644 index 8c47290..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryProhibition.cs +++ /dev/null @@ -1,58 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RegulatoryProhibition - { - /// - /// Indicates the derived harmonized code value<br>Example: 01 - /// - [Newtonsoft.Json.JsonProperty("derivedHarmonizedCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DerivedHarmonizedCode { get; set; } - - [Newtonsoft.Json.JsonProperty("advisory", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Message Advisory { get; set; } - - /// - /// Indicates one based index identifying the associated commodity.<br>Example: 12 - /// - [Newtonsoft.Json.JsonProperty("commodityIndex", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? CommodityIndex { get; set; } - - /// - /// Indicates the prohibition source type.<br>Example: source - /// - [Newtonsoft.Json.JsonProperty("source", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Source { get; set; } - - /// - /// Indicate the shipment rule type.<br>Example: ["categories"] - /// - [Newtonsoft.Json.JsonProperty("categories", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Categories { get; set; } - - /// - /// Indicates the prohibition type.<br>Example: type - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - [Newtonsoft.Json.JsonProperty("waiver", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public RegulatoryWaiver Waiver { get; set; } - - /// - /// Indicates the prohibitory status.<br>Example: status - /// - [Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Status { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryWaiver.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryWaiver.cs deleted file mode 100644 index 7273385..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryWaiver.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicates the regulatory waiver. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RegulatoryWaiver - { - /// - /// Indicates the advisories list. - /// - [Newtonsoft.Json.JsonProperty("advisories", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Advisories { get; set; } - - /// - /// Indicates the regulatory prohibitions description.<br>Example: description - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// Indicates the prohibitory ID.<br>Example: id - /// - [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Id { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedDocumentTypes.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedDocumentTypes.cs deleted file mode 100644 index f2c5e4f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedDocumentTypes.cs +++ /dev/null @@ -1,50 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RequestedDocumentTypes - { - - [System.Runtime.Serialization.EnumMember(Value = @"CERTIFICATE_OF_ORIGIN")] - CERTIFICATE_OF_ORIGIN = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_INVOICE")] - COMMERCIAL_INVOICE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM_PACKAGE_DOCUMENT")] - CUSTOM_PACKAGE_DOCUMENT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM_SHIPMENT_DOCUMENT")] - CUSTOM_SHIPMENT_DOCUMENT = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMER_SPECIFIED_LABELS")] - CUSTOMER_SPECIFIED_LABELS = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"EXPORT_DECLARATION")] - EXPORT_DECLARATION = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"GENERAL_AGENCY_AGREEMENT")] - GENERAL_AGENCY_AGREEMENT = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"LABEL")] - LABEL = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN")] - USMCA_CERTIFICATION_OF_ORIGIN = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"OP_900")] - OP_900 = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"PENDING_SHIPMENT_EMAIL_NOTIFICATION")] - PENDING_SHIPMENT_EMAIL_NOTIFICATION = 10, - - [System.Runtime.Serialization.EnumMember(Value = @"PRO_FORMA_INVOICE")] - PRO_FORMA_INVOICE = 11, - - [System.Runtime.Serialization.EnumMember(Value = @"RETURN_INSTRUCTIONS")] - RETURN_INSTRUCTIONS = 12, - - [System.Runtime.Serialization.EnumMember(Value = @"USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN")] - USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 13, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedPackageLineItem.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedPackageLineItem.cs deleted file mode 100644 index e06c1b9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedPackageLineItem.cs +++ /dev/null @@ -1,74 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are one or more package-attribute descriptions, each of which describes an individual package, a group of identical packages, or (for the total-piece-total-weight case) common characteristics of all packages in the shipment.<ul><li>At least one instance containing the weight for at least one package is required for EXPRESS and GROUND shipments.</li><li>Single piece requests will have one RequestedPackageLineItem.</li><li>Multiple piece requests will have multiple RequestedPackageLineItems.</li><li>Maximum occurrences is 30.</li></ul> - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RequestedPackageLineItem - { - /// - /// Optional. Used only with individual packages as a unique identifier of each requested package. Will be adjusted at the shipment level as pieces are added.<br>Example: 1 - /// - [Newtonsoft.Json.JsonProperty("sequenceNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? SequenceNumber { get; set; } - - /// - /// Indicate the subPackagingType, if you are using your own packaging for the shipment. Use it for all shipments inbound to Canada (CA) and inbound shipments to the U.S. and Puerto Rico (PR) from Canada and Mexico (MX).subPackagingType is mandatory for shipments to Canada.<br>Example: TUBE, CARTON, CONTAINER. etc.<br>Note: If the value is TUBE, a non-machinable surcharge will be applicable for SmartPost shipments.<br><a onclick='loadDocReference("subpackagetypes")'>click here to see Sub-Packaging Types</a><br>For more information on physical packaging or packaging regulatory requirements, contact your FedEx representative. - /// - [Newtonsoft.Json.JsonProperty("subPackagingType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string SubPackagingType { get; set; } - - /// - /// This object lists the customer references provided with the package. - /// - [Newtonsoft.Json.JsonProperty("customerReferences", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection CustomerReferences { get; set; } - - /// - /// This is the Declared Value of any shipment which represents FedEx maximum liability associated with a shipment. This is including, but not limited to any loss, damage, delay, misdelivery, any failure to provide information, or misdelivery of information related to the Shipment. - /// - [Newtonsoft.Json.JsonProperty("declaredValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Money DeclaredValue { get; set; } - - [Newtonsoft.Json.JsonProperty("weight", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public Weight Weight { get; set; } = new Weight(); - - /// - /// Indicate the dimensions of the package.<br> Following conditions will apply: <ul><li>Dimensions are optional but when added, then all three dimensions must be indicated.</li><li>Dimensions are required when using a Express freight service.</li></ul>Note: The maximum/minimum dimension values varies based on the services and the packaging types. Refer <a href='https://www.fedex.com/en-us/service-guide.html' target='_blank'>FedEx Service Guide</a> for service details related to DIM Weighting for FedEx Express and oversize conditions for FedEx Express and FedEx Ground. - /// - [Newtonsoft.Json.JsonProperty("dimensions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Dimensions Dimensions { get; set; } - - /// - /// Indicate the grouped package count. These are number of identical package(s) each with one or more commodities. <br> Example: 2 - /// - [Newtonsoft.Json.JsonProperty("groupPackageCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? GroupPackageCount { get; set; } - - /// - /// Package description used for clearance. The value is required for intra-UAE. and is optional for intra-EU.<br>Example:description - /// - [Newtonsoft.Json.JsonProperty("itemDescriptionForClearance", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ItemDescriptionForClearance { get; set; } - - /// - /// Use this object to specify package content details. - /// - [Newtonsoft.Json.JsonProperty("contentRecord", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection ContentRecord { get; set; } - - /// - /// This the item description for the package.<br>Note: Item description is required for Email Label return shipments and ground Create tag.<br>Example: Item description<br> Maximum limit is 50 characters - /// - [Newtonsoft.Json.JsonProperty("itemDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ItemDescription { get; set; } - - [Newtonsoft.Json.JsonProperty("variableHandlingChargeDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public VariableHandlingChargeDetail VariableHandlingChargeDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("packageSpecialServices", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PackageSpecialServicesRequested PackageSpecialServices { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipment.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipment.cs deleted file mode 100644 index c933acc..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipment.cs +++ /dev/null @@ -1,146 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// The descriptive data of the requested shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RequestedShipment - { - /// - /// This is the shipment date. Default value is current date in case the date is not provided or a past date is provided.<br>Format [YYYY-MM-DD].<br>Example: 2019-10-14 - /// - [Newtonsoft.Json.JsonProperty("shipDatestamp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ShipDatestamp { get; set; } - - /// - /// It is the sum of all declared values of all packages in a shipment. The amount of totalDeclaredValue must be equal to the sum of all the individual declaredValues in the shipment. The declaredValue and totalDeclaredValue must match in all currencies in one shipment. This value represents FedEx maximum liability associated with a shipment. This is including, but not limited to any loss, damage, delay, misdelivery, any failure to provide information, or misdelivery of information related to the Shipment.<br><i>Note: The totalDeclaredValue should not exceed customsValue.</i> - /// - [Newtonsoft.Json.JsonProperty("totalDeclaredValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Money TotalDeclaredValue { get; set; } - - /// - /// Indicate the Shipper contact details for this shipment. - /// - [Newtonsoft.Json.JsonProperty("shipper", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public ShipperParty Shipper { get; set; } = new ShipperParty(); - - /// - /// Will indicate the party responsible for purchasing the goods shipped from the shipper to the recipient. The sold to party is not necessarily the recipient or the importer of record. The sold to party is relevant when the purchaser, rather than the recipient determines when certain customs regulations apply. - /// - [Newtonsoft.Json.JsonProperty("soldTo", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public SoldToParty SoldTo { get; set; } - - /// - /// Indicate the descriptive data for the recipient location to which the shipment is to be received. - /// - [Newtonsoft.Json.JsonProperty("recipients", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public System.Collections.Generic.ICollection Recipients { get; set; } = new System.Collections.ObjectModel.Collection(); - - /// - /// A unique identifier for a recipient location.<br>Example:1234567 - /// - [Newtonsoft.Json.JsonProperty("recipientLocationNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RecipientLocationNumber { get; set; } - - /// - /// Indicates if shipment is being dropped off at a FedEx location or being picked up by FedEx or if it's a regularly scheduled pickup for this shipment. Required for FedEx Express and Ground Shipment.<br>Example: USE_SCHEDULED_PICKUP - /// - [Newtonsoft.Json.JsonProperty("pickupType", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RequestedShipmentPickupType PickupType { get; set; } - - /// - /// Indicate the FedEx service type used for this shipment.<br>Example: STANDARD_OVERNIGHT<br><a onclick='loadDocReference("servicetypes")'>click here to see Service Types</a> - /// - [Newtonsoft.Json.JsonProperty("serviceType", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RequestedShipmentServiceType ServiceType { get; set; } - - /// - /// Specify the packaging used.<br>Note: For Express Freight shipments, the packaging will default to YOUR_PACKAGING irrespective of the user provided package type in the request.<br>Example: FEDEX_PAK<br><a onclick='loadDocReference("packagetypes")'>click here to see Package Types</a> - /// - [Newtonsoft.Json.JsonProperty("packagingType", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RequestedShipmentPackageType PackagingType { get; set; } - - /// - /// Indicate the shipment total weight in pounds.<br>Example: 10.6<br>Note: <ul><li>This only applies to International shipments and should be used on the first package of a multiple piece shipment.</li><li>This value contains 1 explicit decimal position.</li><li>For one Label at a time shipments, the unit of totalWeight is considered same as the unit of weight provided in requestedPackageLineItem field.</li></ul> - /// - [Newtonsoft.Json.JsonProperty("totalWeight", Required = Newtonsoft.Json.Required.Always)] - public double TotalWeight { get; set; } - - /// - /// Indicate shipment origin address information, if it is different from the shipper address. - /// - [Newtonsoft.Json.JsonProperty("origin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ContactAndAddress_1 Origin { get; set; } - - [Newtonsoft.Json.JsonProperty("shippingChargesPayment", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public Payment ShippingChargesPayment { get; set; } = new Payment(); - - [Newtonsoft.Json.JsonProperty("shipmentSpecialServices", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShipmentSpecialServicesRequested ShipmentSpecialServices { get; set; } - - [Newtonsoft.Json.JsonProperty("emailNotificationDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShipShipmentEMailNotificationDetail EmailNotificationDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("expressFreightDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ExpressFreightDetail ExpressFreightDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("variableHandlingChargeDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public VariableHandlingChargeDetail VariableHandlingChargeDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("customsClearanceDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CustomsClearanceDetail CustomsClearanceDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("smartPostInfoDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public SmartPostInfoDetail SmartPostInfoDetail { get; set; } - - /// - /// If true, only the shipper/payer will have visibility of this shipment.<br>Valid Value : true, false.<br> Default:false<br>Example: true - /// - [Newtonsoft.Json.JsonProperty("blockInsightVisibility", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? BlockInsightVisibility { get; set; } - - [Newtonsoft.Json.JsonProperty("labelSpecification", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public LabelSpecification LabelSpecification { get; set; } = new LabelSpecification(); - - [Newtonsoft.Json.JsonProperty("shippingDocumentSpecification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShippingDocumentSpecification ShippingDocumentSpecification { get; set; } - - /// - /// Indicate the type of rates to be returned. The account specific rates are returned by default if the account number is specified in the request.<br>Following are values:<ul><li>LIST - Returns FedEx published list rates in addition to account-specific rates (if applicable).</li><li>INCENTIVE - This is one-time discount for incentivising the customer. For more information, contact your FedEx representative.</li><li>ACCOUNT - Returns account specific rates (Default).</li><li>PREFERRED - Returns rates in the preferred currency specified in the element preferredCurrency.</li><li>RETAIL - Returns customer rate from one of retail FedEx service centers.</li></ul>Examples: ["ACCOUNT", "PREFERRED"] - /// - [Newtonsoft.Json.JsonProperty("rateRequestType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection RateRequestType { get; set; } - - /// - /// Indicate the currency the caller requests to have used in all returned monetary values. Should be Used in conjunction with the element RateRequestType.<br>Example: USD<br><a onclick='loadDocReference("currencycodes")'>click here to see available Currency codes</a><br>Note: Incorrect currency codes should not be supplied. The system ignores the incorrect currency code. - /// - [Newtonsoft.Json.JsonProperty("preferredCurrency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PreferredCurrency { get; set; } - - /// - /// For an MPS, this is the total number of packages in the shipment.Applicable for parent shipment for one label at a time shipments. <br>Example: 25 - /// - [Newtonsoft.Json.JsonProperty("totalPackageCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? TotalPackageCount { get; set; } - - [Newtonsoft.Json.JsonProperty("masterTrackingId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public MasterTrackingId MasterTrackingId { get; set; } - - /// - /// These are one or more package-attribute descriptions, each of which describes an individual package, a group of identical packages, or (for the total-piece-total-weight case) common characteristics of all packages in the shipment.<ul><li>At least one instance containing the weight for at least one package is required for EXPRESS and GROUND shipments.</li><li>Single piece requests will have one RequestedPackageLineItem.</li><li>Multiple piece requests will have multiple RequestedPackageLineItems.</li><li>Maximum occurrences is 30.</li></ul> - /// - [Newtonsoft.Json.JsonProperty("requestedPackageLineItems", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public System.Collections.Generic.ICollection RequestedPackageLineItems { get; set; } = new System.Collections.ObjectModel.Collection(); - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentPackageType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentPackageType.cs deleted file mode 100644 index 56bddc2..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentPackageType.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RequestedShipmentPackageType - { - [System.Runtime.Serialization.EnumMember(Value = @"YOUR_PACKAGING")] - YOUR_PACKAGING = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_ENVELOPE")] - FEDEX_ENVELOPE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_BOX")] - FEDEX_BOX = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_SMALL_BOX")] - FEDEX_SMALL_BOX = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_MEDIUM_BOX")] - FEDEX_MEDIUM_BOX = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_LARGE_BOX")] - FEDEX_LARGE_BOX = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_EXTRA_LARGE_BOX")] - FEDEX_EXTRA_LARGE_BOX = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_10KG_BOX")] - FEDEX_10KG_BOX = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_25KG_BOX")] - FEDEX_25KG_BOX = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_PAK")] - FEDEX_PAK = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_TUBE")] - FEDEX_TUBE = 10 - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentPickupType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentPickupType.cs deleted file mode 100644 index 80ad37c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentPickupType.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RequestedShipmentPickupType - { - - [System.Runtime.Serialization.EnumMember(Value = @"CONTACT_FEDEX_TO_SCHEDULE")] - CONTACT_FEDEX_TO_SCHEDULE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"DROPOFF_AT_FEDEX_LOCATION")] - DROPOFF_AT_FEDEX_LOCATION = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"USE_SCHEDULED_PICKUP")] - USE_SCHEDULED_PICKUP = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentServiceType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentServiceType.cs deleted file mode 100644 index e95a3c5..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentServiceType.cs +++ /dev/null @@ -1,156 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RequestedShipmentServiceType - { - /// - /// FedEx International Priority® Express - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_INTERNATIONAL_PRIORITY_EXPRESS")] - FEDEX_INTERNATIONAL_PRIORITY_EXPRESS = 0, - - /// - /// FedEx International First® - /// - [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_FIRST")] - INTERNATIONAL_FIRST = 1, - - /// - /// FedEx International Priority® - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_INTERNATIONAL_PRIORITY")] - FEDEX_INTERNATIONAL_PRIORITY = 2, - - /// - /// FedEx International Economy® - /// - [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_ECONOMY")] - INTERNATIONAL_ECONOMY = 3, - - /// - /// FedEx International Ground® and FedEx Domestic Ground® - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_GROUND")] - FEDEX_GROUND = 4, - - /// - /// FedEx First Overnight® - /// - [System.Runtime.Serialization.EnumMember(Value = @"FIRST_OVERNIGHT")] - FIRST_OVERNIGHT = 5, - - /// - /// FedEx First Overnight® Freight - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_FIRST_FREIGHT")] - FEDEX_FIRST_FREIGHT = 6, - - /// - /// FedEx 1Day® Freight - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_1_DAY_FREIGHT")] - FEDEX_1_DAY_FREIGHT = 7, - - /// - /// FedEx 2Day® Freight - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_2_DAY_FREIGHT")] - FEDEX_2_DAY_FREIGHT = 8, - - /// - /// FedEx 3Day® Freight - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_3_DAY_FREIGHT")] - FEDEX_3_DAY_FREIGHT = 9, - - /// - /// FedEx International Priority® Freight - /// - [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_PRIORITY_FREIGHT")] - INTERNATIONAL_PRIORITY_FREIGHT = 10, - - /// - /// FedEx International Economy® Freight - /// - [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_ECONOMY_FREIGHT")] - INTERNATIONAL_ECONOMY_FREIGHT = 11, - - /// - /// FedEx® International Deferred Freight - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_INTERNATIONAL_DEFERRED_FREIGHT")] - FEDEX_INTERNATIONAL_DEFERRED_FREIGHT = 12, - - /// - /// FedEx International Priority DirectDistribution® - /// - [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_PRIORITY_DISTRIBUTION")] - INTERNATIONAL_PRIORITY_DISTRIBUTION = 13, - - /// - /// FedEx International Priority DirectDistribution® Freight - /// - [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_DISTRIBUTION_FREIGHT")] - INTERNATIONAL_DISTRIBUTION_FREIGHT = 14, - - /// - /// International Ground® Distribution (IGD) - /// - [System.Runtime.Serialization.EnumMember(Value = @"INTL_GROUND_DISTRIBUTION")] - INTL_GROUND_DISTRIBUTION = 15, - - /// - /// FedEx Home Delivery® - /// - [System.Runtime.Serialization.EnumMember(Value = @"GROUND_HOME_DELIVERY")] - GROUND_HOME_DELIVERY = 16, - - /// - /// FedEx Ground® Economy (Formerly known as FedEx SmartPost®) - /// - [System.Runtime.Serialization.EnumMember(Value = @"SMART_POST")] - SMART_POST = 17, - - /// - /// FedEx Priority Overnight® - /// - [System.Runtime.Serialization.EnumMember(Value = @"PRIORITY_OVERNIGHT")] - PRIORITY_OVERNIGHT = 18, - - /// - /// FedEx Standard Overnight® (Hawaii outbound only) - /// - [System.Runtime.Serialization.EnumMember(Value = @"STANDARD_OVERNIGHT")] - STANDARD_OVERNIGHT = 19, - - /// - /// FedEx 2Day® (Except Intra-Hawaii) - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_2_DAY")] - FEDEX_2_DAY = 20, - - /// - /// FedEx 2Day® AM (Hawaii outbound only) - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_2_DAY_AM")] - FEDEX_2_DAY_AM = 21, - - /// - /// FedEx Express Saver® (Except Alaska and Hawaii) - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_EXPRESS_SAVER")] - FEDEX_EXPRESS_SAVER = 22, - - /// - /// FedEx SameDay® - /// - [System.Runtime.Serialization.EnumMember(Value = @"SAME_DAY")] - SAME_DAY = 23, - - /// - /// FedEx SameDay® City (Selected U.S. Metro Areas) - /// - [System.Runtime.Serialization.EnumMember(Value = @"SAME_DAY_CITY")] - SAME_DAY_CITY = 24 - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentSpecialServiceType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentSpecialServiceType.cs deleted file mode 100644 index 4d32a94..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentSpecialServiceType.cs +++ /dev/null @@ -1,240 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum RequestedShipmentSpecialServiceType - { - /// - /// FedEx Appointment Home Delivery® - /// - [System.Runtime.Serialization.EnumMember(Value = @"APPOINTMENT")] - APPOINTMENT = 0, - - /// - /// Broker Select Option - /// - [System.Runtime.Serialization.EnumMember(Value = @"BROKER_SELECT_OPTION")] - BROKER_SELECT_OPTION = 1, - - /// - /// Call Before Delivery - /// - [System.Runtime.Serialization.EnumMember(Value = @"CALL_BEFORE_DELIVERY")] - CALL_BEFORE_DELIVERY = 2, - - /// - /// Collect on Delivery (COD) - /// - [System.Runtime.Serialization.EnumMember(Value = @"COD")] - COD = 3, - - /// - /// Custom Delivery Window - /// - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM_DELIVERY_WINDOW")] - CUSTOM_DELIVERY_WINDOW = 4, - - /// - /// Cut Flowers - /// - [System.Runtime.Serialization.EnumMember(Value = @"CUT_FLOWERS")] - CUT_FLOWERS = 5, - - /// - /// Do Not Break Down Pallets - /// - [System.Runtime.Serialization.EnumMember(Value = @"DO_NOT_BREAK_DOWN_PALLETS")] - DO_NOT_BREAK_DOWN_PALLETS = 6, - - /// - /// Do Not Stack Pallets - /// - [System.Runtime.Serialization.EnumMember(Value = @"DO_NOT_STACK_PALLETS")] - DO_NOT_STACK_PALLETS = 7, - - /// - /// Dry Ice - /// - [System.Runtime.Serialization.EnumMember(Value = @"DRY_ICE")] - DRY_ICE = 8, - - /// - /// East Coast Special Service - /// - [System.Runtime.Serialization.EnumMember(Value = @"EAST_COAST_SPECIAL")] - EAST_COAST_SPECIAL = 9, - - /// - /// Exclude From Consolidation - /// - [System.Runtime.Serialization.EnumMember(Value = @"EXCLUDE_FROM_CONSOLIDATION")] - EXCLUDE_FROM_CONSOLIDATION = 10, - - /// - /// Extreme Length - /// - [System.Runtime.Serialization.EnumMember(Value = @"EXTREME_LENGTH")] - EXTREME_LENGTH = 11, - - /// - /// FedEx Inside Delivery - /// - [System.Runtime.Serialization.EnumMember(Value = @"INSIDE_DELIVERY")] - INSIDE_DELIVERY = 12, - - /// - /// FedEx Inside Pickup - /// - [System.Runtime.Serialization.EnumMember(Value = @"INSIDE_PICKUP")] - INSIDE_PICKUP = 13, - - /// - /// FedEx International Controlled Export - /// - [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_CONTROLLED_EXPORT_SERVICE")] - INTERNATIONAL_CONTROLLED_EXPORT_SERVICE = 14, - - /// - /// FedEx One Rate® - /// - [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_ONE_RATE")] - FEDEX_ONE_RATE = 15, - - /// - /// FedEx Third Party Consignee International Priority service (TPC) - /// - [System.Runtime.Serialization.EnumMember(Value = @"THIRD_PARTY_CONSIGNEE")] - THIRD_PARTY_CONSIGNEE = 16, - - /// - /// FedEx® Electronic Trade Documents - /// - [System.Runtime.Serialization.EnumMember(Value = @"ELECTRONIC_TRADE_DOCUMENTS")] - ELECTRONIC_TRADE_DOCUMENTS = 17, - - /// - /// Food - /// - [System.Runtime.Serialization.EnumMember(Value = @"FOOD")] - FOOD = 18, - - /// - /// Hold At Location - /// - [System.Runtime.Serialization.EnumMember(Value = @"HOLD_AT_LOCATION")] - HOLD_AT_LOCATION = 19, - - /// - /// International Traffic in Arms Regulations (ITAR) - /// - [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_TRAFFIC_IN_ARMS_REGULATIONS")] - INTERNATIONAL_TRAFFIC_IN_ARMS_REGULATIONS = 20, - - /// - /// LiftGate Delivery - /// - [System.Runtime.Serialization.EnumMember(Value = @"LIFTGATE_DELIVERY")] - LIFTGATE_DELIVERY = 21, - - /// - /// LiftGate Pickup - /// - [System.Runtime.Serialization.EnumMember(Value = @"LIFTGATE_PICKUP")] - LIFTGATE_PICKUP = 22, - - /// - /// Limited Access Delivery - /// - [System.Runtime.Serialization.EnumMember(Value = @"LIMITED_ACCESS_DELIVERY")] - LIMITED_ACCESS_DELIVERY = 23, - - /// - /// Limited Access Pickup - /// - [System.Runtime.Serialization.EnumMember(Value = @"LIMITED_ACCESS_PICKUP")] - LIMITED_ACCESS_PICKUP = 24, - - /// - /// Over Length - /// - [System.Runtime.Serialization.EnumMember(Value = @"OVER_LENGTH")] - OVER_LENGTH = 25, - - /// - /// Pending Shipment - /// - [System.Runtime.Serialization.EnumMember(Value = @"PENDING_SHIPMENT")] - PENDING_SHIPMENT = 26, - - /// - /// Pharmacy Delivery - /// - [System.Runtime.Serialization.EnumMember(Value = @"PHARMACY_DELIVERY")] - PHARMACY_DELIVERY = 27, - - /// - /// Poison - /// - [System.Runtime.Serialization.EnumMember(Value = @"POISON")] - POISON = 28, - - /// - /// Premium Home Delivery - /// - [System.Runtime.Serialization.EnumMember(Value = @"HOME_DELIVERY_PREMIUM")] - HOME_DELIVERY_PREMIUM = 29, - - /// - /// Protection From Freezing - /// - [System.Runtime.Serialization.EnumMember(Value = @"PROTECTION_FROM_FREEZING")] - PROTECTION_FROM_FREEZING = 30, - - /// - /// Return Clearance - /// - [System.Runtime.Serialization.EnumMember(Value = @"RETURNS_CLEARANCE")] - RETURNS_CLEARANCE = 31, - - /// - /// Return Shipment - /// - [System.Runtime.Serialization.EnumMember(Value = @"RETURN_SHIPMENT")] - RETURN_SHIPMENT = 32, - - /// - /// Saturday Delivery - /// - [System.Runtime.Serialization.EnumMember(Value = @"SATURDAY_DELIVERY")] - SATURDAY_DELIVERY = 33, - - /// - /// Saturday Pickup - /// - [System.Runtime.Serialization.EnumMember(Value = @"SATURDAY_PICKUP")] - SATURDAY_PICKUP = 34, - - /// - /// Shipment Event Notification - /// - [System.Runtime.Serialization.EnumMember(Value = @"EVENT_NOTIFICATION")] - EVENT_NOTIFICATION = 35, - - /// - /// Delivery on Invoice Acceptance - /// - [System.Runtime.Serialization.EnumMember(Value = @"DELIVERY_ON_INVOICE_ACCEPTANCE")] - DELIVERY_ON_INVOICE_ACCEPTANCE = 36, - - /// - /// Top Load - /// - [System.Runtime.Serialization.EnumMember(Value = @"TOP_LOAD")] - TOP_LOAD = 37, - - /// - /// Freight Guarantee - /// - [System.Runtime.Serialization.EnumMember(Value = @"FREIGHT_GUARANTEE")] - FREIGHT_GUARANTEE = 38 - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ResponsiblePartyParty.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ResponsiblePartyParty.cs deleted file mode 100644 index 949a111..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ResponsiblePartyParty.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicate the payer Information responsible for paying for the shipment. <br>Note: ResponsibleParty accountNumber is required for ACCOUNT based services. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ResponsiblePartyParty - { - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PartyAddress Address { get; set; } - - [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PartyContact Contact { get; set; } - - [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public PartyAccountNumber AccountNumber { get; set; } = new PartyAccountNumber(); - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RetrieveDateRange.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RetrieveDateRange.cs deleted file mode 100644 index 9f0ea3c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/RetrieveDateRange.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Date Range for custom delivery request; only used if type is BETWEEN. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class RetrieveDateRange - { - /// - /// Indicates the start date. - /// - [Newtonsoft.Json.JsonProperty("begins", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Begins { get; set; } - - /// - /// Indicates the end date. - /// - [Newtonsoft.Json.JsonProperty("ends", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Ends { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnAssociationDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnAssociationDetail.cs deleted file mode 100644 index e647be9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnAssociationDetail.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies the details of an outbound shipment in order to associate the return shipment to it. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ReturnAssociationDetail - { - /// - /// This is the ship date for the outbound shipment associated with a return shipment. The format is YYYY-MM-DD.<br> Example: 2019-10-01 - /// - [Newtonsoft.Json.JsonProperty("shipDatestamp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ShipDatestamp { get; set; } - - /// - /// This is the tracking number associated with this package.<br>Example: 49XXX0000XXX20032835 - /// - [Newtonsoft.Json.JsonProperty("trackingNumber", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string TrackingNumber { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnEmailDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnEmailDetail.cs deleted file mode 100644 index e24d90c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnEmailDetail.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are email details for the return shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ReturnEmailDetail - { - /// - /// This is the merchant phone number and required for Email Return Labels.<br>Example: 19012635656 - /// - [Newtonsoft.Json.JsonProperty("merchantPhoneNumber", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string MerchantPhoneNumber { get; set; } - - /// - /// Indicate the allowed (merchant-authorized) special services which may be selected when the subsequent shipment is created.<br>Only services represented in EmailLabelAllowedSpecialServiceType will be controlled by this list. - /// - [Newtonsoft.Json.JsonProperty("allowedSpecialService", Required = Newtonsoft.Json.Required.Always, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - [System.ComponentModel.DataAnnotations.Required] - public System.Collections.Generic.ICollection AllowedSpecialService { get; set; } = new System.Collections.ObjectModel.Collection(); - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnInstructionsDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnInstructionsDetail.cs deleted file mode 100644 index 512a425..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnInstructionsDetail.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are return instruction details which will be returned in the transaction to be printed on Return Label. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ReturnInstructionsDetail - { - /// - /// Specify additional information (text) to be inserted into the return document.<br>Example: This is additional text printed on Return Label - /// - [Newtonsoft.Json.JsonProperty("customText", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CustomText { get; set; } - - [Newtonsoft.Json.JsonProperty("documentFormat", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ReturnShippingDocumentFormat DocumentFormat { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnMerchandiseAuthorization.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnMerchandiseAuthorization.cs deleted file mode 100644 index 7beec54..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnMerchandiseAuthorization.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This is a Return Merchant Authorization (RMA) for the return shipment.<br> Reason for the requirement is mandatory. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ReturnMerchandiseAuthorization - { - /// - /// Specify the reason for the return.<br> Note: There is no validation for reason. Recommended length is 60 alpha-numeric characters<br>Example: Wrong color or size. - /// - [Newtonsoft.Json.JsonProperty("reason", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Reason { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShipmentDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShipmentDetail.cs deleted file mode 100644 index 63aef06..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShipmentDetail.cs +++ /dev/null @@ -1,27 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Use this object for specifying return shipment details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ReturnShipmentDetail - { - [Newtonsoft.Json.JsonProperty("returnEmailDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ReturnEmailDetail ReturnEmailDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("rma", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ReturnMerchandiseAuthorization Rma { get; set; } - - [Newtonsoft.Json.JsonProperty("returnAssociationDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ReturnAssociationDetail ReturnAssociationDetail { get; set; } - - /// - /// This specifies the return Type. Required to be set to PRINT_RETURN_LABEL for printed return label shipments.For email return label shipments returnType must be set to PENDING and pendingShipmentDetail must be set to EMAIL.<br>Valid Values : PENDING, PRINT_RETURN_LABEL<br>Example: PRINT_RETURN_LABEL - /// - [Newtonsoft.Json.JsonProperty("returnType", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ReturnShipmentDetailReturnType ReturnType { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShipmentDetailReturnType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShipmentDetailReturnType.cs deleted file mode 100644 index c405249..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShipmentDetailReturnType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ReturnShipmentDetailReturnType - { - - [System.Runtime.Serialization.EnumMember(Value = @"PENDING")] - PENDING = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"PRINT_RETURN_LABEL")] - PRINT_RETURN_LABEL = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormat.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormat.cs deleted file mode 100644 index a01aafc..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormat.cs +++ /dev/null @@ -1,56 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are characteristics of a shipping document to be produced. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ReturnShippingDocumentFormat - { - /// - /// For those shipping document types which have both a "form" and "instructions" component (e.g General Agency Agreement), this field indicates whether to provide the instructions.<br>Example: true - /// - [Newtonsoft.Json.JsonProperty("provideInstructions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ProvideInstructions { get; set; } - - [Newtonsoft.Json.JsonProperty("optionsRequested", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DocumentFormatOptionsRequested OptionsRequested { get; set; } - - /// - /// Specifies the label stock type. Lists the correct type of paper for the Freight address label option.Specify valid value PAPER_4_PER_PAGE_PORTRAIT<br>Example:PAPER_LETTER - /// - [Newtonsoft.Json.JsonProperty("stockType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ReturnShippingDocumentFormatStockType? StockType { get; set; } - - /// - /// Details on creating, organizing, and returning the document. - ///
- ///
- ///
- [Newtonsoft.Json.JsonProperty("dispositions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Dispositions { get; set; } - - /// - /// These are locale details.<br>example: 'en_US'<br><a onclick='loadDocReference("locales")'>click here to see Locales</a><br>Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response. - /// - [Newtonsoft.Json.JsonProperty("locale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Locale { get; set; } - - /// - /// Specify the image format used for a shipping document.<br>Example:PNG - /// - [Newtonsoft.Json.JsonProperty("docType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ReturnShippingDocumentFormatDocType? DocType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormatDocType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormatDocType.cs deleted file mode 100644 index 4618ff6..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormatDocType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ReturnShippingDocumentFormatDocType - { - - [System.Runtime.Serialization.EnumMember(Value = @"PNG")] - PNG = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"PDF")] - PDF = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormatStockType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormatStockType.cs deleted file mode 100644 index b6b62f0..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormatStockType.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ReturnShippingDocumentFormatStockType - { - - [System.Runtime.Serialization.EnumMember(Value = @"PAPER_LETTER")] - PAPER_LETTER = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ServiceDescription.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ServiceDescription.cs deleted file mode 100644 index 349537c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ServiceDescription.cs +++ /dev/null @@ -1,67 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Descriptions for a service. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ServiceDescription - { - /// - /// Indicate the FedEx serviceType used for this shipment. The results will be filtered by the serviceType value indicated.<br>Example: STANDARD_OVERNIGHT<br><a onclick='loadDocReference("servicetypes")'>click here to see Service Types</a> - /// - [Newtonsoft.Json.JsonProperty("serviceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ServiceType { get; set; } - - /// - /// Specifies code of the Service.<br>example: 80 - /// - [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Code { get; set; } - - /// - /// Branded, translated, and/or localized names for this service. - /// - [Newtonsoft.Json.JsonProperty("names", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Names { get; set; } - - /// - /// FOR FEDEX INTERNAL USE ONLY. The operating org code in a service.<br>Example: ["FXE", "FXE"] - /// - [Newtonsoft.Json.JsonProperty("operatingOrgCodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection OperatingOrgCodes { get; set; } - - /// - /// Specifies astra Description.<br>Example: 2 DAY FRT - /// - [Newtonsoft.Json.JsonProperty("astraDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AstraDescription { get; set; } - - /// - /// specifies the description.<br>Example:description - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// FOR FEDEX INTERNAL USE ONLY, Designates the service ID.<br>Example: EP1000000027 - /// - [Newtonsoft.Json.JsonProperty("serviceId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ServiceId { get; set; } - - /// - /// FOR FEDEX INTERNAL USE ONLY. This is tied to the Product EFS interface definition which will currently contain the values of parcel.<br>Example: EXPRESS_PARCEL - /// - [Newtonsoft.Json.JsonProperty("serviceCategory", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ServiceCategory { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipEmailDispositionDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipEmailDispositionDetail.cs deleted file mode 100644 index 157b34b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipEmailDispositionDetail.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are email disposition details. Provides the type and email addresses of e-mail recipients. If returnedDispositionDetail in labelSpecification is set as true then email will be send with label and documents copy. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipEmailDispositionDetail - { - /// - /// This is email Address.<br>Example: xxxx@xxx.com - /// - [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EmailAddress { get; set; } - - /// - /// Specify the email status.<br>Example: EMAILED - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - /// - /// Specify the recipient Type.<br>Example: SHIPPER/BROKER - /// - [Newtonsoft.Json.JsonProperty("recipientType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RecipientType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipMergeLabelDocOption.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipMergeLabelDocOption.cs deleted file mode 100644 index ee2e778..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipMergeLabelDocOption.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ShipMergeLabelDocOption - { - - [System.Runtime.Serialization.EnumMember(Value = @"NONE")] - NONE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"LABELS_AND_DOCS")] - LABELS_AND_DOCS = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"LABELS_ONLY")] - LABELS_ONLY = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEMailNotificationDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEMailNotificationDetail.cs deleted file mode 100644 index f32c56b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEMailNotificationDetail.cs +++ /dev/null @@ -1,38 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This is used to provide eMail notification information.. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipShipmentEMailNotificationDetail - { - /// - /// Shipment Notification Aggregation Type.<br>Example:PER_PACKAGE - /// - [Newtonsoft.Json.JsonProperty("aggregationType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ShipShipmentEMailNotificationDetailAggregationType? AggregationType { get; set; } - - /// - /// These are email notification recipient details. - /// - [Newtonsoft.Json.JsonProperty("emailNotificationRecipients", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection EmailNotificationRecipients { get; set; } - - /// - /// This is your personal message for the email.<br>Note: The maximum personal message character limit depends on the element notificationFormatType values:<ul><li>If notificationFormatType is TEXT, then only 120 characters printed on the email</li><li>If notificationFormatType is HTML, then 500 characters printed on the email</li></ul><br>Example: This is concerning the order 123456 of 26 July 2021 - art no 34324-23 Teddy Bear, brown - /// - [Newtonsoft.Json.JsonProperty("personalMessage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PersonalMessage { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEMailNotificationDetailAggregationType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEMailNotificationDetailAggregationType.cs deleted file mode 100644 index 93bcc18..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEMailNotificationDetailAggregationType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ShipShipmentEMailNotificationDetailAggregationType - { - - [System.Runtime.Serialization.EnumMember(Value = @"PER_PACKAGE")] - PER_PACKAGE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"PER_SHIPMENT")] - PER_SHIPMENT = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipient.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipient.cs deleted file mode 100644 index cb8c146..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipient.cs +++ /dev/null @@ -1,66 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are recipient details for receiving email notification. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipShipmentEmailNotificationRecipient - { - /// - /// Specify the recipient name.<br>Example: Joe Smith - /// - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } - - /// - /// This is the email notification recipient type.<br>Example: SHIPPER - /// - [Newtonsoft.Json.JsonProperty("emailNotificationRecipientType", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ShipShipmentEmailNotificationRecipientEmailNotificationRecipientType EmailNotificationRecipientType { get; set; } - - /// - /// Specify the recipient email address.<br>Example: xyz@aol.com - /// - [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string EmailAddress { get; set; } - - /// - /// This is the format for the email notification. Either HTML or plain text can be provided.<br>Example: TEXT - /// - [Newtonsoft.Json.JsonProperty("notificationFormatType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ShipShipmentEmailNotificationRecipientNotificationFormatType? NotificationFormatType { get; set; } - - /// - /// Indicate the type of notification that will be sent as an email<br>Example: EMAIL - /// - [Newtonsoft.Json.JsonProperty("notificationType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ShipShipmentEmailNotificationRecipientNotificationType? NotificationType { get; set; } - - /// - /// These are the locale details for email.<br>Example: en_US, fr_CA, es_MX,.etc.<br><a onclick='loadDocReference("locales")'>click here to see Locales</a><br>Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response. - /// - [Newtonsoft.Json.JsonProperty("locale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Locale { get; set; } - - /// - /// These are to specify the notification event types.<br> Example: [ON_PICKUP_DRIVER_ARRIVED, ON_SHIPMENT]<br><a onclick='loadDocReference("notificationeventtypes")'>Click here for more information on Notification Event Types.</a> - /// - [Newtonsoft.Json.JsonProperty("notificationEventType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection NotificationEventType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientEmailNotificationRecipientType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientEmailNotificationRecipientType.cs deleted file mode 100644 index 3ef9807..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientEmailNotificationRecipientType.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ShipShipmentEmailNotificationRecipientEmailNotificationRecipientType - { - - [System.Runtime.Serialization.EnumMember(Value = @"BROKER")] - BROKER = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] - OTHER = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"RECIPIENT")] - RECIPIENT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"SHIPPER")] - SHIPPER = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"THIRD_PARTY")] - THIRD_PARTY = 4, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientNotificationFormatType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientNotificationFormatType.cs deleted file mode 100644 index 09c6ac9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientNotificationFormatType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ShipShipmentEmailNotificationRecipientNotificationFormatType - { - - [System.Runtime.Serialization.EnumMember(Value = @"HTML")] - HTML = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"TEXT")] - TEXT = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientNotificationType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientNotificationType.cs deleted file mode 100644 index b8306d8..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientNotificationType.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ShipShipmentEmailNotificationRecipientNotificationType - { - - [System.Runtime.Serialization.EnumMember(Value = @"EMAIL")] - EMAIL = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentAdvisoryDetails.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentAdvisoryDetails.cs deleted file mode 100644 index bbf0827..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentAdvisoryDetails.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are shipment advisory details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipmentAdvisoryDetails - { - [Newtonsoft.Json.JsonProperty("regulatoryAdvisory", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public RegulatoryAdvisoryDetail RegulatoryAdvisory { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetail.cs deleted file mode 100644 index 480ad7f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetail.cs +++ /dev/null @@ -1,64 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This is the shipment level COD detail. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipmentCODDetail - { - [Newtonsoft.Json.JsonProperty("addTransportationChargesDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CODTransportationChargesDetail AddTransportationChargesDetail { get; set; } - - /// - /// Descriptive data of the Cash On Delivery along with their details of the physical location. - /// - [Newtonsoft.Json.JsonProperty("codRecipient", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Party_1 CodRecipient { get; set; } - - /// - /// Specify the name of the person or company receiving the secured/unsecured funds payment<br>Example: remitToName - /// - [Newtonsoft.Json.JsonProperty("remitToName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RemitToName { get; set; } - - /// - /// Identifies the type of funds FedEx should collect upon shipment delivery<br>Example: CASH - /// - [Newtonsoft.Json.JsonProperty("codCollectionType", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ShipmentCODDetailCodCollectionType CodCollectionType { get; set; } - - [Newtonsoft.Json.JsonProperty("financialInstitutionContactAndAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ContactAndAddress FinancialInstitutionContactAndAddress { get; set; } - - /// - /// Indicate the COD collection amount. - /// - [Newtonsoft.Json.JsonProperty("codCollectionAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Money CodCollectionAmount { get; set; } - - /// - /// Indicates which type of reference information to include on the COD return shipping label.<br>Example: INVOICE - /// - [Newtonsoft.Json.JsonProperty("returnReferenceIndicatorType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ShipmentCODDetailReturnReferenceIndicatorType? ReturnReferenceIndicatorType { get; set; } - - /// - /// Indicate the COD amount for this shipment. - /// - [Newtonsoft.Json.JsonProperty("shipmentCodAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Money ShipmentCodAmount { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetailCodCollectionType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetailCodCollectionType.cs deleted file mode 100644 index 22d1eb4..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetailCodCollectionType.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ShipmentCODDetailCodCollectionType - { - - [System.Runtime.Serialization.EnumMember(Value = @"ANY")] - ANY = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"CASH")] - CASH = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"GUARANTEED_FUNDS")] - GUARANTEED_FUNDS = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"COMPANY_CHECK")] - COMPANY_CHECK = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_CHECK")] - PERSONAL_CHECK = 4, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetailReturnReferenceIndicatorType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetailReturnReferenceIndicatorType.cs deleted file mode 100644 index 4099445..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetailReturnReferenceIndicatorType.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ShipmentCODDetailReturnReferenceIndicatorType - { - - [System.Runtime.Serialization.EnumMember(Value = @"INVOICE")] - INVOICE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"PO")] - PO = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"REFERENCE")] - REFERENCE = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"TRACKING")] - TRACKING = 3, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceDetail.cs deleted file mode 100644 index d6a27b0..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceDetail.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies the shipment level totals of dry ice data across all packages. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipmentDryIceDetail - { - /// - /// Specify total dry ice weight for the shipment. - /// - [Newtonsoft.Json.JsonProperty("totalWeight", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public Weight TotalWeight { get; set; } = new Weight(); - - /// - /// Specifies the package Count for the shipment<br>Example: 10 - /// - [Newtonsoft.Json.JsonProperty("packageCount", Required = Newtonsoft.Json.Required.Always)] - public int PackageCount { get; set; } - - [Newtonsoft.Json.JsonProperty("processingOptions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShipmentDryIceProcessingOptionsRequested ProcessingOptions { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceDetail_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceDetail_1.cs deleted file mode 100644 index 34554ab..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceDetail_1.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This is the descriptive data required for a FedEx shipment containing dangerous materials. This element is required when SpecialServiceType DRY_ICE is selected.<p><i>Note:<ul><li>Dry Ice is a Package level Special Service for Domestic and International shipments.</li><li>Dry Ice must be declared at both Shipment and Package level for International MPS shipments to print the compliance statement on Airway Bill labels.</li></ul></i></p> - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipmentDryIceDetail_1 - { - [Newtonsoft.Json.JsonProperty("totalWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Weight_1 TotalWeight { get; set; } - - /// - /// Indicates the total number of packages in the shipment that contain dry ice.<br>Example: 12 - /// - [Newtonsoft.Json.JsonProperty("packageCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? PackageCount { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceProcessingOptionsRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceProcessingOptionsRequested.cs deleted file mode 100644 index 4e0bad9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceProcessingOptionsRequested.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specify that dry ice information is only applicable at the shipment level. Package level dry ice information would not apply. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipmentDryIceProcessingOptionsRequested - { - /// - /// Specifies the options.<br>Example: ["options"] - /// - [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Options { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentLegRateDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentLegRateDetail.cs deleted file mode 100644 index a6149b5..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentLegRateDetail.cs +++ /dev/null @@ -1,178 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This is a placeholder for single leg of a shipment rates details, as calculated per a specific rate type. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipmentLegRateDetail - { - /// - /// Indicates the rate zone used (based on origin and destination).<br>Example: rateZone - /// - [Newtonsoft.Json.JsonProperty("rateZone", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RateZone { get; set; } - - /// - /// Specifies the Pricing Code.<br>Example: pricingCode - /// - [Newtonsoft.Json.JsonProperty("pricingCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PricingCode { get; set; } - - /// - /// Specifies the taxes. - /// - [Newtonsoft.Json.JsonProperty("taxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Taxes { get; set; } - - /// - /// Sum of dimensional weights for all packages. - /// - [Newtonsoft.Json.JsonProperty("totalDimWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Weight TotalDimWeight { get; set; } - - /// - /// Specifies the total rebate.<br>Example: 2.0 - /// - [Newtonsoft.Json.JsonProperty("totalRebates", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalRebates { get; set; } - - /// - /// Specifies a fuel surcharge percentage.<br>Example: 6.0 - /// - [Newtonsoft.Json.JsonProperty("fuelSurchargePercent", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? FuelSurchargePercent { get; set; } - - /// - /// Specifies currency exchange rate. - /// - [Newtonsoft.Json.JsonProperty("currencyExchangeRate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CurrencyExchangeRate CurrencyExchangeRate { get; set; } - - /// - /// The value used to calculate the weight based on the dimensions.<br>Example: 6 - /// - [Newtonsoft.Json.JsonProperty("dimDivisor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? DimDivisor { get; set; } - - /// - /// Type used for this specific set of rate data.<br>Example: PAYOR_RETAIL_PACKAGE - /// - [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RateType { get; set; } - - /// - /// Specifies the location id the destination of shipment leg.<br>Example: HKAA - /// - [Newtonsoft.Json.JsonProperty("legDestinationLocationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LegDestinationLocationId { get; set; } - - /// - /// Identifies the type of dim divisor that was applied.<br>Example: dimDivisorType - /// - [Newtonsoft.Json.JsonProperty("dimDivisorType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DimDivisorType { get; set; } - - /// - /// The total freight charge that was calculated before surcharges, discounts and taxes.<br>Example: 6.0 - /// - [Newtonsoft.Json.JsonProperty("totalBaseCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalBaseCharge { get; set; } - - /// - /// Indicates which weight was used.<br>Example: ratedWeightMethod - /// - [Newtonsoft.Json.JsonProperty("ratedWeightMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RatedWeightMethod { get; set; } - - /// - /// The sum of all discounts.<br>Example: 9.0 - /// - [Newtonsoft.Json.JsonProperty("totalFreightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalFreightDiscounts { get; set; } - - /// - /// Total of the transportation-based taxes.<br>Example: 12.6 - /// - [Newtonsoft.Json.JsonProperty("totalTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalTaxes { get; set; } - - /// - /// Specifies minimum charge type.Example: minimumChargeType - /// - [Newtonsoft.Json.JsonProperty("minimumChargeType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string MinimumChargeType { get; set; } - - /// - /// Total of shipments duties and taxes; only provided if estimated duties and taxes were calculated for this shipment.<br>Example: 17.78 - /// - [Newtonsoft.Json.JsonProperty("totalDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalDutiesAndTaxes { get; set; } - - /// - /// The freight charge minus discounts.<br>Example: 6.0 - /// - [Newtonsoft.Json.JsonProperty("totalNetFreight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalNetFreight { get; set; } - - /// - /// This is the sum of shipment's total surcharges (not including total taxes).<br>Example: 3.2 - /// - [Newtonsoft.Json.JsonProperty("totalNetFedExCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalNetFedExCharge { get; set; } - - /// - /// All surcharges that apply to this shipment.<br><a onclick='loadDocReference("surcharges")'>click here to see surcharges</a> - /// - [Newtonsoft.Json.JsonProperty("surcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Surcharges { get; set; } - - /// - /// The total of all surcharges.<br>Example: 5.0 - /// - [Newtonsoft.Json.JsonProperty("totalSurcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalSurcharges { get; set; } - - /// - /// The weight used to calculate these rates. - /// - [Newtonsoft.Json.JsonProperty("totalBillingWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Weight TotalBillingWeight { get; set; } - - [Newtonsoft.Json.JsonProperty("freightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection FreightDiscounts { get; set; } - - /// - /// Indicates the rate scale used.<br>Example: 6702 - /// - [Newtonsoft.Json.JsonProperty("rateScale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RateScale { get; set; } - - /// - /// The net charge after applying all discounts and surcharges.<br>Example: 253 - /// - [Newtonsoft.Json.JsonProperty("totalNetCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalNetCharge { get; set; } - - /// - /// Sum of total net charge, total duties and taxes; only provided if estimated duties and taxes were calculated for this shipment and duties, taxes and transportation charges are all paid by the same sender account.<br>Example: 25.67 - /// - [Newtonsoft.Json.JsonProperty("totalNetChargeWithDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? TotalNetChargeWithDutiesAndTaxes { get; set; } - - /// - /// This is the currency code for the amount.<br>Example: USD<br><a onclick='loadDocReference("currencycodes")'>click here to see Currency codes</a> - /// - [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Currency { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentOperationalDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentOperationalDetail.cs deleted file mode 100644 index bd6550c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentOperationalDetail.cs +++ /dev/null @@ -1,187 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicates the shipment level operational information. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipmentOperationalDetail - { - /// - /// Indicates the origin service area.<br>Example: A1 - /// - [Newtonsoft.Json.JsonProperty("originServiceArea", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OriginServiceArea { get; set; } - - /// - /// Indicates the service code.<br>Example: 010 - /// - [Newtonsoft.Json.JsonProperty("serviceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ServiceCode { get; set; } - - /// - /// Indicates the airport identifier.<br>Example: DFW - /// - [Newtonsoft.Json.JsonProperty("airportId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AirportId { get; set; } - - /// - /// Specifies the postal code.<br>Example: 38010<br><a onclick='loadDocReference("postalawarecountries")'>click here to see Postal aware countries</a> - /// - [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PostalCode { get; set; } - - /// - /// Indicates standard carrier alpha code. - /// - [Newtonsoft.Json.JsonProperty("scac", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Scac { get; set; } - - /// - /// Specifies expected/estimated day of week of the delivery.<br>Example: TUE - /// - [Newtonsoft.Json.JsonProperty("deliveryDay", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DeliveryDay { get; set; } - - /// - /// This is the origin Location identifier.<br>Example: 678 - /// - [Newtonsoft.Json.JsonProperty("originLocationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OriginLocationId { get; set; } - - /// - /// Indicate the two-letter country code.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> - /// - [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CountryCode { get; set; } - - /// - /// Specifies astra description.<br>Example: SMART POST - /// - [Newtonsoft.Json.JsonProperty("astraDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AstraDescription { get; set; } - - /// - /// Specifies origin location number.<br>Example: 243 - /// - [Newtonsoft.Json.JsonProperty("originLocationNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? OriginLocationNumber { get; set; } - - /// - /// Specifies delivery date for the shipment. The format is [YYYY-MM-DD]<br>Example: 2001-04-05 - /// - [Newtonsoft.Json.JsonProperty("deliveryDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DeliveryDate { get; set; } - - /// - /// FedEx Ground delivery features for which this shipment may be eligible.<br>Example: ["deliveryEligibilities"] - /// - [Newtonsoft.Json.JsonProperty("deliveryEligibilities", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection DeliveryEligibilities { get; set; } - - /// - /// Indicates that this shipment is not eligible for money back guarantee. - /// - [Newtonsoft.Json.JsonProperty("ineligibleForMoneyBackGuarantee", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IneligibleForMoneyBackGuarantee { get; set; } - - /// - /// Maximum expected transit time.<br>Example: SEVEN_DAYS - /// - [Newtonsoft.Json.JsonProperty("maximumTransitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string MaximumTransitTime { get; set; } - - /// - /// This is the state or province code of the shipment destination location, and is not necessarily the same as the postal state.<br>Example: GA<br><a onclick='loadDocReference("canadaprovincecodes")'>click here to see State or Province Code</a> - /// - [Newtonsoft.Json.JsonProperty("destinationLocationStateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DestinationLocationStateOrProvinceCode { get; set; } - - /// - /// Text describing planned delivery.<br>Example: TUE - 15 OCT 10:30A - /// - [Newtonsoft.Json.JsonProperty("astraPlannedServiceLevel", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AstraPlannedServiceLevel { get; set; } - - /// - /// Specifies the FedEx Destination Location Identifier.<br>Example: DALA - /// - [Newtonsoft.Json.JsonProperty("destinationLocationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DestinationLocationId { get; set; } - - /// - /// Standard transit time per origin, destination, and service.<br>Example: TWO_DAYS - /// - [Newtonsoft.Json.JsonProperty("transitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TransitTime { get; set; } - - /// - /// This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.<br>Example: CA<br><a onclick='loadDocReference("canadaprovincecodes")'>click here to see State or Province Code</a> - /// - [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StateOrProvinceCode { get; set; } - - /// - /// Indicates destination location number.<br>Example: 876 - /// - [Newtonsoft.Json.JsonProperty("destinationLocationNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? DestinationLocationNumber { get; set; } - - /// - /// Indicates packaging code.<br>Example: 03 - /// - [Newtonsoft.Json.JsonProperty("packagingCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PackagingCode { get; set; } - - /// - /// This is committed date of delivery.<br>Example: 2019-10-15 - /// - [Newtonsoft.Json.JsonProperty("commitDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CommitDate { get; set; } - - /// - /// This is delivery time, as published in Service Guide.<br>Example: 10:30A - /// - [Newtonsoft.Json.JsonProperty("publishedDeliveryTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PublishedDeliveryTime { get; set; } - - /// - /// This is ursa suffix code.<br>Example: Ga - /// - [Newtonsoft.Json.JsonProperty("ursaSuffixCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string UrsaSuffixCode { get; set; } - - /// - /// This is ursa prefix code.<br>Example: XH - /// - [Newtonsoft.Json.JsonProperty("ursaPrefixCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string UrsaPrefixCode { get; set; } - - /// - /// Specifies destination service area.<br>Example: A1 - /// - [Newtonsoft.Json.JsonProperty("destinationServiceArea", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DestinationServiceArea { get; set; } - - /// - /// Committed day of week of delivery.<br>Example: TUE - /// - [Newtonsoft.Json.JsonProperty("commitDay", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CommitDay { get; set; } - - /// - /// Transit time based on customer eligibility.<br>Example: ONE_DAY - /// - [Newtonsoft.Json.JsonProperty("customTransitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CustomTransitTime { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentRateDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentRateDetail.cs deleted file mode 100644 index dbffe6a..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentRateDetail.cs +++ /dev/null @@ -1,172 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This is a placeholder for shipment total/summary rates details, as calculated per a specific rate type. The totals may differ from the sum of corresponding package data for Multiweight or Express MPS. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipmentRateDetail - { - /// - /// Indicates the rate zone used (based on origin and destination).<br>Example: US001O - /// - [Newtonsoft.Json.JsonProperty("rateZone", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RateZone { get; set; } - - /// - /// Indicates which weight was used.<br>Example: ACTUAL - /// - [Newtonsoft.Json.JsonProperty("ratedWeightMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RatedWeightMethod { get; set; } - - /// - /// The total of the total duties & taxes and the total ancillary fees & taxes.<br>Example: 24.56 - /// - [Newtonsoft.Json.JsonProperty("totalDutiesTaxesAndFees", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TotalDutiesTaxesAndFees { get; set; } - - /// - /// Specifies pricing Code.<br>Example: PACKAGE - /// - [Newtonsoft.Json.JsonProperty("pricingCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PricingCode { get; set; } - - /// - /// The total discounts used in the rate calculation.<br>Example: 1.56 - /// - [Newtonsoft.Json.JsonProperty("totalFreightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TotalFreightDiscounts { get; set; } - - /// - /// Total of the transportation-based taxes.<br>Example: 3.45 - /// - [Newtonsoft.Json.JsonProperty("totalTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TotalTaxes { get; set; } - - /// - /// Total of all values under this shipment's duties and taxes; only provided if estimated duties and taxes were calculated for this shipment.<br>Example: 6.78 - /// - [Newtonsoft.Json.JsonProperty("totalDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TotalDutiesAndTaxes { get; set; } - - /// - /// Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.<br>Example: 5.67 - /// - [Newtonsoft.Json.JsonProperty("totalAncillaryFeesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TotalAncillaryFeesAndTaxes { get; set; } - - /// - /// All transportation-based taxes applicable to this shipment. - /// - [Newtonsoft.Json.JsonProperty("taxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Taxes { get; set; } - - /// - /// The total sum of all rebates applied to this shipment.<br>Example: 1.98 - /// - [Newtonsoft.Json.JsonProperty("totalRebates", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TotalRebates { get; set; } - - /// - /// Specifies a fuel surcharge percentage.<br>Example: 4.56 - /// - [Newtonsoft.Json.JsonProperty("fuelSurchargePercent", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? FuelSurchargePercent { get; set; } - - [Newtonsoft.Json.JsonProperty("currencyExchangeRate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CurrencyExchangeRate CurrencyExchangeRate { get; set; } - - /// - /// The freight charge minus discounts.<br>Example: 9.56 - /// - [Newtonsoft.Json.JsonProperty("totalNetFreight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TotalNetFreight { get; set; } - - /// - /// This is the sum of shipment's total net freight, total surchages (not including totalTaxes).<br>Example: 88.56 - /// - [Newtonsoft.Json.JsonProperty("totalNetFedExCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TotalNetFedExCharge { get; set; } - - /// - /// This is data for a single leg of a shipment's total/summary rates, as calculated per a specific rate type. - /// - [Newtonsoft.Json.JsonProperty("shipmentLegRateDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection ShipmentLegRateDetails { get; set; } - - /// - /// The value used to calculate the weight based on the dimensions.<br>Example: 0 - /// - [Newtonsoft.Json.JsonProperty("dimDivisor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? DimDivisor { get; set; } - - /// - /// The Type used for this specific set of rate data.<br>Example: RATED_ACCOUNT_SHIPMENT - /// - [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RateType { get; set; } - - /// - /// All surcharges that apply to this shipment.<br><a onclick='loadDocReference("surcharges")'>click here to see Surcharges</a> - /// - [Newtonsoft.Json.JsonProperty("surcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Surcharges { get; set; } - - /// - /// The total amount of all surcharges applied to this shipment.<br>Example: 9.88 - /// - [Newtonsoft.Json.JsonProperty("totalSurcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TotalSurcharges { get; set; } - - /// - /// The weight used to calculate these rates. - /// - [Newtonsoft.Json.JsonProperty("totalBillingWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Weight TotalBillingWeight { get; set; } - - /// - /// Indicates the freight discounts. - /// - [Newtonsoft.Json.JsonProperty("freightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection FreightDiscounts { get; set; } - - /// - /// Indicates the rate scale used.<br>Example: 00000 - /// - [Newtonsoft.Json.JsonProperty("rateScale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RateScale { get; set; } - - /// - /// The net charge after applying all discounts and surcharges.<br>Example: 3.78 - /// - [Newtonsoft.Json.JsonProperty("totalNetCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TotalNetCharge { get; set; } - - /// - /// The total Shipment charge that was calculated before surcharges, discounts and taxes.<br>Example: 234.56 - /// - [Newtonsoft.Json.JsonProperty("totalBaseCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TotalBaseCharge { get; set; } - - /// - /// This is the sum of shipment's total net charges and total duties and taxes; only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender account.<br>Example: 222.56 - /// - [Newtonsoft.Json.JsonProperty("totalNetChargeWithDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TotalNetChargeWithDutiesAndTaxes { get; set; } - - /// - /// Indicates the currency code.<br><a onclick='loadDocReference("currencycodes")'>click here to see Currency Codes</a> - /// - [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Currency { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentRating.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentRating.cs deleted file mode 100644 index 34843eb..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentRating.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// All shipment-level rating data for this shipment, which may include data for multiple rate types. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipmentRating - { - /// - /// This rate type identifies which entry in the following array is considered as presenting the "actual" rates for the shipment.<br>Example: PAYOR_LIST_SHIPMENT - /// - [Newtonsoft.Json.JsonProperty("actualRateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ActualRateType { get; set; } - - /// - /// Each element of this field provides shipment-level rate totals for a specific rate type. - /// - [Newtonsoft.Json.JsonProperty("shipmentRateDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection ShipmentRateDetails { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentSpecialServicesRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentSpecialServicesRequested.cs deleted file mode 100644 index c951e0e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentSpecialServicesRequested.cs +++ /dev/null @@ -1,49 +0,0 @@ -using TradeManageNew.APIClients.FedexAPI.Utils; - -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specify the special services requested at the shipment level.<br>If the shipper is requesting a special service which requires additional data (such as the COD amount), the shipment special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below.<br>RETURN_SHIPMENT is required for creating return shipments. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipmentSpecialServicesRequested - { - /// - /// Special services requested for the shipment.<br>Example: <ul><li>HOLD_AT_LOCATION</li><li>RETURN_SHIPMENT</li><li>BROKER_SELECT_OPTION</li><li>CALL_BEFORE_DELIVERY</li><li>COD</li><li>CUSTOM_DELIVERY_WINDOW</li></ul><br><a onclick='loadDocReference("shipmentlevelspecialservicetypes")'>click here to see Shipment Special Service Types</a> - /// - [Newtonsoft.Json.JsonProperty("specialServiceTypes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(EnumCollectionConverter))] - public System.Collections.Generic.ICollection SpecialServiceTypes { get; set; } - - [Newtonsoft.Json.JsonProperty("etdDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ETDDetail EtdDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("returnShipmentDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ReturnShipmentDetail ReturnShipmentDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("deliveryOnInvoiceAcceptanceDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DeliveryOnInvoiceAcceptanceDetail DeliveryOnInvoiceAcceptanceDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("internationalTrafficInArmsRegulationsDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public InternationalTrafficInArmsRegulationsDetail InternationalTrafficInArmsRegulationsDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("pendingShipmentDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PendingShipmentDetail PendingShipmentDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("holdAtLocationDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public HoldAtLocationDetail HoldAtLocationDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("shipmentCODDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShipmentCODDetail ShipmentCODDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("shipmentDryIceDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShipmentDryIceDetail_1 ShipmentDryIceDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("internationalControlledExportDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public InternationalControlledExportDetail InternationalControlledExportDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("homeDeliveryPremiumDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public HomeDeliveryPremiumDetail HomeDeliveryPremiumDetail { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipperAccountNumber.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipperAccountNumber.cs deleted file mode 100644 index d2f1ce2..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipperAccountNumber.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// The account number associated with the shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipperAccountNumber - { - /// - /// The account number value. Maximum length is 9 .<br>Example: Your account number - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Value { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipperParty.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipperParty.cs deleted file mode 100644 index e44fd41..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipperParty.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicate the Shipper contact details for this shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShipperParty - { - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public PartyAddress_2 Address { get; set; } = new PartyAddress_2(); - - [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public PartyContact Contact { get; set; } = new PartyContact(); - - /// - /// This is the tax identification number details. - /// - [Newtonsoft.Json.JsonProperty("tins", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Tins { get; set; } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentDispositionDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentDispositionDetail.cs deleted file mode 100644 index b8d942f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentDispositionDetail.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are document diposition details. Each occurrence of this class specifies a particular way in which a kind of shipping document is to be produced and provided. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShippingDocumentDispositionDetail - { - [Newtonsoft.Json.JsonProperty("eMailDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShippingDocumentEmailDetail EMailDetail { get; set; } - - /// - /// Values in this field specify how to create and return the document.<br>Example:CONFIRMED - /// - [Newtonsoft.Json.JsonProperty("dispositionType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ShippingDocumentDispositionDetailDispositionType? DispositionType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentDispositionDetailDispositionType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentDispositionDetailDispositionType.cs deleted file mode 100644 index 7dacaf4..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentDispositionDetailDispositionType.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ShippingDocumentDispositionDetailDispositionType - { - - [System.Runtime.Serialization.EnumMember(Value = @"CONFIRMED")] - CONFIRMED = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"DEFERRED_QUEUED")] - DEFERRED_QUEUED = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"DEFERRED_RETURNED")] - DEFERRED_RETURNED = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"DEFERRED_STORED")] - DEFERRED_STORED = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"EMAILED")] - EMAILED = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"QUEUED")] - QUEUED = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"RETURNED")] - RETURNED = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"STORED")] - STORED = 7, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailDetail.cs deleted file mode 100644 index 4ebfd4b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailDetail.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies how to e-mail shipping documents. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShippingDocumentEmailDetail - { - /// - /// Indicates the shipping document email recipients. - /// - [Newtonsoft.Json.JsonProperty("eMailRecipients", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required] - public System.Collections.Generic.ICollection EMailRecipients { get; set; } = new System.Collections.ObjectModel.Collection(); - - /// - /// These are locale details.<br>Example: 'en_US'<br><a onclick='loadDocReference("locales")'>click here to see locales</a><br>Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response. - /// - [Newtonsoft.Json.JsonProperty("locale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Locale { get; set; } - - /// - /// Identifies the convention by which documents are to be grouped as email attachment. - /// - [Newtonsoft.Json.JsonProperty("grouping", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ShippingDocumentEmailDetailGrouping? Grouping { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailDetailGrouping.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailDetailGrouping.cs deleted file mode 100644 index 4fa5d07..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailDetailGrouping.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ShippingDocumentEmailDetailGrouping - { - - [System.Runtime.Serialization.EnumMember(Value = @"BY_RECIPIENT")] - BY_RECIPIENT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"NONE")] - NONE = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailRecipient.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailRecipient.cs deleted file mode 100644 index 68fcb36..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailRecipient.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShippingDocumentEmailRecipient - { - /// - /// Specifies the email address.<br> Example: email@fedex.com - /// - [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EmailAddress { get; set; } - - /// - /// Specify the email notification recipient type. - /// - [Newtonsoft.Json.JsonProperty("recipientType", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ShippingDocumentEmailRecipientRecipientType RecipientType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailRecipientRecipientType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailRecipientRecipientType.cs deleted file mode 100644 index bad7bd6..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailRecipientRecipientType.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ShippingDocumentEmailRecipientRecipientType - { - - [System.Runtime.Serialization.EnumMember(Value = @"BROKER")] - BROKER = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] - OTHER = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"RECIPIENT")] - RECIPIENT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"SHIPPER")] - SHIPPER = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"THIRD_PARTY")] - THIRD_PARTY = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"OTHER1")] - OTHER1 = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"OTHER2")] - OTHER2 = 6, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormat.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormat.cs deleted file mode 100644 index b889c8f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormat.cs +++ /dev/null @@ -1,56 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specify the shipping document format. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShippingDocumentFormat - { - /// - /// For those shipping document types which have both a "form" and "instructions" component (e.g General Agency Agreement), this field indicates whether to provide the instructions.<br>Example: true - /// - [Newtonsoft.Json.JsonProperty("provideInstructions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ProvideInstructions { get; set; } - - [Newtonsoft.Json.JsonProperty("optionsRequested", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DocumentFormatOptionsRequested OptionsRequested { get; set; } - - /// - /// Specifies the label stock type. Lists the correct type of paper for the Freight address label option.Specify valid value PAPER_4_PER_PAGE_PORTRAIT.<br>Example:PAPER_TYPE - /// - [Newtonsoft.Json.JsonProperty("stockType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ShippingDocumentFormatStockType? StockType { get; set; } - - /// - /// Specifies how to create, organize, and return the document - ///
- ///
- ///
- [Newtonsoft.Json.JsonProperty("dispositions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Dispositions { get; set; } - - /// - /// These are locale details.<br>example: 'en_US'<br><a onclick='loadDocReference("locales")'>click here to see Locales</a><br>Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response. - /// - [Newtonsoft.Json.JsonProperty("locale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Locale { get; set; } - - /// - /// Specify the image format used for a shipping document.<br>Example:PDF - /// - [Newtonsoft.Json.JsonProperty("docType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ShippingDocumentFormatDocType? DocType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormatDocType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormatDocType.cs deleted file mode 100644 index 613a1c6..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormatDocType.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ShippingDocumentFormatDocType - { - - [System.Runtime.Serialization.EnumMember(Value = @"PDF")] - PDF = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormatStockType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormatStockType.cs deleted file mode 100644 index 48a2ed0..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormatStockType.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ShippingDocumentFormatStockType - { - - [System.Runtime.Serialization.EnumMember(Value = @"PAPER_LETTER")] - PAPER_LETTER = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentSpecification.cs deleted file mode 100644 index a1e697c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentSpecification.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Use this object to provide all data required for additional (non-label) shipping documents to be produced. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ShippingDocumentSpecification - { - [Newtonsoft.Json.JsonProperty("generalAgencyAgreementDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public GeneralAgencyAgreementDetail GeneralAgencyAgreementDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("returnInstructionsDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ReturnInstructionsDetail ReturnInstructionsDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("op900Detail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Op900Detail Op900Detail { get; set; } - - [Newtonsoft.Json.JsonProperty("usmcaCertificationOfOriginDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public UsmcaCertificationOfOriginDetail UsmcaCertificationOfOriginDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("usmcaCommercialInvoiceCertificationOfOriginDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public UsmcaCommercialInvoiceCertificationOfOriginDetail UsmcaCommercialInvoiceCertificationOfOriginDetail { get; set; } - - /// - /// Conditionally required in order to obtain shipping documents.Indicates the types of shipping documents requested by the shipper<br>Example:RETURN_INSTRUCTIONS - /// - [Newtonsoft.Json.JsonProperty("shippingDocumentTypes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.ICollection ShippingDocumentTypes { get; set; } - - [Newtonsoft.Json.JsonProperty("certificateOfOrigin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CertificateOfOriginDetail CertificateOfOrigin { get; set; } - - [Newtonsoft.Json.JsonProperty("commercialInvoiceDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CommercialInvoiceDetail CommercialInvoiceDetail { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentTypes.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentTypes.cs deleted file mode 100644 index 8e71923..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentTypes.cs +++ /dev/null @@ -1,50 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum ShippingDocumentTypes - { - - [System.Runtime.Serialization.EnumMember(Value = @"CERTIFICATE_OF_ORIGIN")] - CERTIFICATE_OF_ORIGIN = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_INVOICE")] - COMMERCIAL_INVOICE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM_PACKAGE_DOCUMENT")] - CUSTOM_PACKAGE_DOCUMENT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM_SHIPMENT_DOCUMENT")] - CUSTOM_SHIPMENT_DOCUMENT = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMER_SPECIFIED_LABELS")] - CUSTOMER_SPECIFIED_LABELS = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"EXPORT_DECLARATION")] - EXPORT_DECLARATION = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"GENERAL_AGENCY_AGREEMENT")] - GENERAL_AGENCY_AGREEMENT = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"LABEL")] - LABEL = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN")] - USMCA_CERTIFICATION_OF_ORIGIN = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"OP_900")] - OP_900 = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"PENDING_SHIPMENT_EMAIL_NOTIFICATION")] - PENDING_SHIPMENT_EMAIL_NOTIFICATION = 10, - - [System.Runtime.Serialization.EnumMember(Value = @"PRO_FORMA_INVOICE")] - PRO_FORMA_INVOICE = 11, - - [System.Runtime.Serialization.EnumMember(Value = @"RETURN_INSTRUCTIONS")] - RETURN_INSTRUCTIONS = 12, - - [System.Runtime.Serialization.EnumMember(Value = @"USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN")] - USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 13, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/SignatureOptionDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/SignatureOptionDetail.cs deleted file mode 100644 index 2c31a91..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/SignatureOptionDetail.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This element specifies Signature option details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class SignatureOptionDetail - { - /// - /// This is release number.<br>Example: 23456 - /// - [Newtonsoft.Json.JsonProperty("signatureReleaseNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string SignatureReleaseNumber { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetail.cs deleted file mode 100644 index 82a9614..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetail.cs +++ /dev/null @@ -1,48 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Use this object to specify the smartpost shipment details. <br>Required for SMARTPOST service. If SmartPostInfoDetail is indicated, the elements below it are also required. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class SmartPostInfoDetail - { - /// - /// Required for Presorted Standard but not for returns or parcel select. They are not all usable for all ancillary endorsements.<br>Example: RETURN_SERVICE - /// - [Newtonsoft.Json.JsonProperty("ancillaryEndorsement", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public SmartPostInfoDetailAncillaryEndorsement? AncillaryEndorsement { get; set; } - - /// - /// Required<br>Specify the HubID using the four-digit numeric value.<br>Example: 5015 - /// - [Newtonsoft.Json.JsonProperty("hubId", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string HubId { get; set; } - - /// - /// Specify the indicia type.<br>Available options include:<ul><li>MEDIA_MAIL</li><li>PARCEL_SELECT (1 LB through 70 LB)</li><li>PRESORTED_BOUND_PRINTED_MATTER</li><li>PRESORTED_STANDARD (less than 1 LB)</li><li>PARCEL_RETURN</li></ul>Example:PRESORTED_STANDARD - /// - [Newtonsoft.Json.JsonProperty("indicia", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public SmartPostInfoDetailIndicia Indicia { get; set; } - - /// - /// SmartPost Shipment Special Service Type<br>Example: USPS_DELIVERY_CONFIRMATION - /// - [Newtonsoft.Json.JsonProperty("specialServices", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public SmartPostInfoDetailSpecialServices? SpecialServices { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailAncillaryEndorsement.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailAncillaryEndorsement.cs deleted file mode 100644 index 5686fea..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailAncillaryEndorsement.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum SmartPostInfoDetailAncillaryEndorsement - { - - [System.Runtime.Serialization.EnumMember(Value = @"ADDRESS_CORRECTION")] - ADDRESS_CORRECTION = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"CARRIER_LEAVE_IF_NO_RESPONSE")] - CARRIER_LEAVE_IF_NO_RESPONSE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"CHANGE_SERVICE")] - CHANGE_SERVICE = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FORWARDING_SERVICE")] - FORWARDING_SERVICE = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"RETURN_SERVICE")] - RETURN_SERVICE = 4, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailIndicia.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailIndicia.cs deleted file mode 100644 index f1e50d3..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailIndicia.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum SmartPostInfoDetailIndicia - { - - [System.Runtime.Serialization.EnumMember(Value = @"MEDIA_MAIL")] - MEDIA_MAIL = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"PARCEL_RETURN")] - PARCEL_RETURN = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"PARCEL_SELECT")] - PARCEL_SELECT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"PRESORTED_BOUND_PRINTED_MATTER")] - PRESORTED_BOUND_PRINTED_MATTER = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"PRESORTED_STANDARD")] - PRESORTED_STANDARD = 4, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailSpecialServices.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailSpecialServices.cs deleted file mode 100644 index 5d3cb26..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailSpecialServices.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum SmartPostInfoDetailSpecialServices - { - - [System.Runtime.Serialization.EnumMember(Value = @"USPS_DELIVERY_CONFIRMATION")] - USPS_DELIVERY_CONFIRMATION = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/SoldToParty.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/SoldToParty.cs deleted file mode 100644 index 356fd60..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/SoldToParty.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Will indicate the party responsible for purchasing the goods shipped from the shipper to the recipient. The sold to party is not necessarily the recipient or the importer of record. The sold to party is relevant when the purchaser, rather than the recipient determines when certain customs regulations apply. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class SoldToParty - { - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PartyAddress Address { get; set; } - - [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PartyContact Contact { get; set; } - - /// - /// Used for adding the tax id - /// - [Newtonsoft.Json.JsonProperty("tins", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Tins { get; set; } - - /// - /// Identification of a specific FedEx customer account. - /// - [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PartyAccountNumber AccountNumber { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/StandaloneBatteryDetails.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/StandaloneBatteryDetails.cs deleted file mode 100644 index 250828f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/StandaloneBatteryDetails.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class StandaloneBatteryDetails - { - /// - /// Describes the material composition of the battery or cell. - /// - [Newtonsoft.Json.JsonProperty("batteryMaterialType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public StandaloneBatteryDetailsBatteryMaterialType? BatteryMaterialType { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/StandaloneBatteryDetailsBatteryMaterialType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/StandaloneBatteryDetailsBatteryMaterialType.cs deleted file mode 100644 index 4fef80b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/StandaloneBatteryDetailsBatteryMaterialType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum StandaloneBatteryDetailsBatteryMaterialType - { - - [System.Runtime.Serialization.EnumMember(Value = @"LITHIUM_METAL")] - LITHIUM_METAL = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"LITHIUM_ION")] - LITHIUM_ION = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/StringBarcode.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/StringBarcode.cs deleted file mode 100644 index 5e0632b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/StringBarcode.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Each instance of this data type represents a barcode whose content must be represented as ASCII text (i.e. not binary data). - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class StringBarcode - { - /// - /// The kind of barcode data in this instance. example valid values are:<br>ADDRESS - Represents the recipient address<br>GROUND - FedEx Ground parcel barcode<br>Example: ADDRESS - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - /// - /// This is the value.<br>Example: 1010062512241535917900794953544894 - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Value { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Surcharge.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Surcharge.cs deleted file mode 100644 index 46dfd85..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Surcharge.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are surcharges details.<br><a onclick='loadDocReference("surcharges")'>click here to see Surcharges</a> - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Surcharge - { - /// - /// This is the surcharge amount.<br>Example: 15.35 - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Amount { get; set; } - - /// - /// This is the surcharge type.<br>Example: APPOINTMENT_DELIVERY - /// - [Newtonsoft.Json.JsonProperty("surchargeType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string SurchargeType { get; set; } - - /// - /// Specifies if the surcharge applies to the entire shipment, or to an individual package.<br>Example: PACKAGE - /// - [Newtonsoft.Json.JsonProperty("level", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Level { get; set; } - - /// - /// Specifies the description of the surcharge. Indicates delivery and returns information for FedEx Ground Economy services. <br>Example: Fuel Surcharge - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Tax.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Tax.cs deleted file mode 100644 index dc9bc35..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Tax.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies the tax for the shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Tax - { - /// - /// Indicates the amount of tax.<br>Example: 10.0 - /// - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } - - /// - /// Indicates the Level of Tax.<br>Example: level - /// - [Newtonsoft.Json.JsonProperty("level", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Level { get; set; } - - /// - /// Placeholder for the tax description.<br>Example: descrption - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// Placeholder for the Type of the Tax.<br>Example:type - /// - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/TaxpayerIdentification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/TaxpayerIdentification.cs deleted file mode 100644 index 6593f0c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/TaxpayerIdentification.cs +++ /dev/null @@ -1,40 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class TaxpayerIdentification - { - /// - /// Specify tax ID number. Maximum length is 18. <br>Example: 123567 - /// - [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Number { get; set; } - - /// - /// Identifies the type of Tax Identification Number in Shipment processing.<br>Example: FEDERAL - /// - [Newtonsoft.Json.JsonProperty("tinType", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TaxpayerIdentificationTinType TinType { get; set; } - - /// - /// Identifies the usage of Tax Identification Number in Shipment processing.<br>Example: usage - /// - [Newtonsoft.Json.JsonProperty("usage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Usage { get; set; } - - /// - /// Effective Date. FORMAT[YYYY-MM-DD] <br>Example: 2024-06-13 - /// - [Newtonsoft.Json.JsonProperty("effectiveDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EffectiveDate { get; set; } - - /// - /// Expiration Date. FORMAT[YYYY-MM-DD]<br>Example: 2024-06-13 - /// - [Newtonsoft.Json.JsonProperty("expirationDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ExpirationDate { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/TaxpayerIdentificationTinType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/TaxpayerIdentificationTinType.cs deleted file mode 100644 index 36c3eda..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/TaxpayerIdentificationTinType.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum TaxpayerIdentificationTinType - { - - [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_NATIONAL")] - PERSONAL_NATIONAL = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_STATE")] - PERSONAL_STATE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"FEDERAL")] - FEDERAL = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"BUSINESS_NATIONAL")] - BUSINESS_NATIONAL = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"BUSINESS_STATE")] - BUSINESS_STATE = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"BUSINESS_UNION")] - BUSINESS_UNION = 5, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/TrackingId.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/TrackingId.cs deleted file mode 100644 index dce14d9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/TrackingId.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicates the tracking details of the package. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class TrackingId - { - /// - /// This is FedEx tracking Identifier associated with the package.<br>Example: 8600 - /// - [Newtonsoft.Json.JsonProperty("formId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FormId { get; set; } - - /// - /// Specify the FedEx transportation type. <br>Example: EXPRESS - /// - [Newtonsoft.Json.JsonProperty("trackingIdType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TrackingIdType { get; set; } - - /// - /// Specify the USPS tracking Identifier associated with FedEx SmartPost shipment.<br>Example: 92 - /// - [Newtonsoft.Json.JsonProperty("uspsApplicationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string UspsApplicationId { get; set; } - - /// - /// This is the number associated with the package that is used to track it. <br>Example: 49XXX0000XXX20032835 - /// - [Newtonsoft.Json.JsonProperty("trackingNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TrackingNumber { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/TransactionDetailVO.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/TransactionDetailVO.cs deleted file mode 100644 index 431dec7..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/TransactionDetailVO.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class TransactionDetailVO - { - /// - /// Includes data returned which governs data payload language/translations. The TransactionDetail from the request is echoed back to the caller in the corresponding reply.<br>Example: transactionDetails - /// - [Newtonsoft.Json.JsonProperty("transactionDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TransactionDetails { get; set; } - - /// - /// This element has a unique identifier added in your request, helps you match the request to the reply. Maximum of 40 characters allowed.<br>Example: XXXX_XXX123XXXXX. - /// - [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TransactionId { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/TransactionShipmentOutputVO.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/TransactionShipmentOutputVO.cs deleted file mode 100644 index 63d0eaa..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/TransactionShipmentOutputVO.cs +++ /dev/null @@ -1,64 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies shipping transaction output details - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class TransactionShipmentOutputVO - { - /// - /// Indicate the FedEx serviceType used for this shipment. The results will be filtered by the serviceType value indicated.<br>Example: STANDARD_OVERNIGHT<br><a onclick='loadDocReference("servicetypes")'>click here to see Service Types</a> - /// - [Newtonsoft.Json.JsonProperty("serviceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ServiceType { get; set; } - - /// - /// This is the shipment date. Default value is current date in case the date is not provided or a past date is provided.<br>Format [YYYY-MM-DD].<br>Example: 2019-10-14 - /// - [Newtonsoft.Json.JsonProperty("shipDatestamp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ShipDatestamp { get; set; } - - /// - /// Indicates the Service Category.<br>Example: EXPRESS - /// - [Newtonsoft.Json.JsonProperty("serviceCategory", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ServiceCategory { get; set; } - - /// - /// These are shipping document details. - /// - [Newtonsoft.Json.JsonProperty("shipmentDocuments", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection ShipmentDocuments { get; set; } - - /// - /// Specifies the information about the pieces, received in the response. - /// - [Newtonsoft.Json.JsonProperty("pieceResponses", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection PieceResponses { get; set; } - - /// - /// This is the service name associated with the shipment.<br>Example: FedEx Ground - /// - [Newtonsoft.Json.JsonProperty("serviceName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ServiceName { get; set; } - - /// - /// These are alert details received in the response. - /// - [Newtonsoft.Json.JsonProperty("alerts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Alerts { get; set; } - - [Newtonsoft.Json.JsonProperty("completedShipmentDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CompletedShipmentDetail CompletedShipmentDetail { get; set; } - - [Newtonsoft.Json.JsonProperty("shipmentAdvisoryDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShipmentAdvisoryDetails ShipmentAdvisoryDetails { get; set; } - - /// - /// This is a master tracking number for the shipment (must be unique for stand-alone open shipments, or unique within consolidation if consolidation key is provided).<br>Example: 794953535000 - /// - [Newtonsoft.Json.JsonProperty("masterTrackingNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string MasterTrackingNumber { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Types.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Types.cs deleted file mode 100644 index c9fe248..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Types.cs +++ /dev/null @@ -1,86 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum Types - { - - [System.Runtime.Serialization.EnumMember(Value = @"ANTIQUE_STATEMENT_EUROPEAN_UNION")] - ANTIQUE_STATEMENT_EUROPEAN_UNION = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"ANTIQUE_STATEMENT_UNITED_STATES")] - ANTIQUE_STATEMENT_UNITED_STATES = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"ASSEMBLER_DECLARATION")] - ASSEMBLER_DECLARATION = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"BEARING_WORKSHEET")] - BEARING_WORKSHEET = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"CERTIFICATE_OF_SHIPMENTS_TO_SYRIA")] - CERTIFICATE_OF_SHIPMENTS_TO_SYRIA = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_INVOICE_FOR_THE_CARIBBEAN_COMMON_MARKET")] - COMMERCIAL_INVOICE_FOR_THE_CARIBBEAN_COMMON_MARKET = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"CONIFEROUS_SOLID_WOOD_PACKAGING_MATERIAL_TO_THE_PEOPLES_REPUBLIC_OF_CHINA")] - CONIFEROUS_SOLID_WOOD_PACKAGING_MATERIAL_TO_THE_PEOPLES_REPUBLIC_OF_CHINA = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"DECLARATION_FOR_FREE_ENTRY_OF_RETURNED_AMERICAN_PRODUCTS")] - DECLARATION_FOR_FREE_ENTRY_OF_RETURNED_AMERICAN_PRODUCTS = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"DECLARATION_OF_BIOLOGICAL_STANDARDS")] - DECLARATION_OF_BIOLOGICAL_STANDARDS = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"DECLARATION_OF_IMPORTED_ELECTRONIC_PRODUCTS_SUBJECT_TO_RADIATION_CONTROL_STANDARD")] - DECLARATION_OF_IMPORTED_ELECTRONIC_PRODUCTS_SUBJECT_TO_RADIATION_CONTROL_STANDARD = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET")] - ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET = 10, - - [System.Runtime.Serialization.EnumMember(Value = @"FILM_AND_VIDEO_CERTIFICATE")] - FILM_AND_VIDEO_CERTIFICATE = 11, - - [System.Runtime.Serialization.EnumMember(Value = @"INTERIM_FOOTWEAR_INVOICE")] - INTERIM_FOOTWEAR_INVOICE = 12, - - [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN_CANADA_ENGLISH")] - USMCA_CERTIFICATION_OF_ORIGIN_CANADA_ENGLISH = 13, - - [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN_CANADA_FRENCH")] - USMCA_CERTIFICATION_OF_ORIGIN_CANADA_FRENCH = 14, - - [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN_SPANISH")] - USMCA_CERTIFICATION_OF_ORIGIN_SPANISH = 15, - - [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN_UNITED_STATES")] - USMCA_CERTIFICATION_OF_ORIGIN_UNITED_STATES = 16, - - [System.Runtime.Serialization.EnumMember(Value = @"PACKING_LIST")] - PACKING_LIST = 17, - - [System.Runtime.Serialization.EnumMember(Value = @"PRINTED_CIRCUIT_BOARD_WORKSHEET")] - PRINTED_CIRCUIT_BOARD_WORKSHEET = 18, - - [System.Runtime.Serialization.EnumMember(Value = @"REPAIRED_WATCH_BREAKOUT_WORKSHEET")] - REPAIRED_WATCH_BREAKOUT_WORKSHEET = 19, - - [System.Runtime.Serialization.EnumMember(Value = @"STATEMENT_REGARDING_THE_IMPORT_OF_RADIO_FREQUENCY_DEVICES")] - STATEMENT_REGARDING_THE_IMPORT_OF_RADIO_FREQUENCY_DEVICES = 20, - - [System.Runtime.Serialization.EnumMember(Value = @"TOXIC_SUBSTANCES_CONTROL_ACT")] - TOXIC_SUBSTANCES_CONTROL_ACT = 21, - - [System.Runtime.Serialization.EnumMember(Value = @"UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES")] - UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES = 22, - - [System.Runtime.Serialization.EnumMember(Value = @"UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_NON_TEXTILES")] - UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_NON_TEXTILES = 23, - - [System.Runtime.Serialization.EnumMember(Value = @"UNITED_STATES_NEW_WATCH_WORKSHEET")] - UNITED_STATES_NEW_WATCH_WORKSHEET = 24, - - [System.Runtime.Serialization.EnumMember(Value = @"UNITED_STATES_WATCH_REPAIR_DECLARATION")] - UNITED_STATES_WATCH_REPAIR_DECLARATION = 25, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail.cs deleted file mode 100644 index 66c637b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specify the document upload reference details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class UploadDocumentReferenceDetail - { - /// - /// Returns the type of document (if any) specified in the ship shipment request.<br>Example: PRO_FORMA_INVOICE - /// - [Newtonsoft.Json.JsonProperty("documentType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public UploadDocumentReferenceDetailDocumentType? DocumentType { get; set; } - - /// - /// Specify the reference for the uploaded document.This is for the customer to reference their uploaded docs when they retrieve them. Could be anything, order number, po number, whatever the customer used to tie the document to something they would use.<br>Note: Ensure to supply document references in case of Pre-Shipment document upload.</br><br>Example: Reference - /// - [Newtonsoft.Json.JsonProperty("documentReference", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DocumentReference { get; set; } - - /// - /// Specify additional information about the uploaded document for better understanding.<br>Example: Certificate of Origin is uploaded for country of manufacturing verification. - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// This is the uploaded document ID value.<br>Example: 090927d680038c61 - /// - [Newtonsoft.Json.JsonProperty("documentId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DocumentId { get; set; } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetailDocumentType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetailDocumentType.cs deleted file mode 100644 index cec8132..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetailDocumentType.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum UploadDocumentReferenceDetailDocumentType - { - - [System.Runtime.Serialization.EnumMember(Value = @"CERTIFICATE_OF_ORIGIN")] - CERTIFICATE_OF_ORIGIN = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_INVOICE")] - COMMERCIAL_INVOICE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"ETD_LABEL")] - ETD_LABEL = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN")] - USMCA_CERTIFICATION_OF_ORIGIN = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] - OTHER = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"PRO_FORMA_INVOICE")] - PRO_FORMA_INVOICE = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN")] - USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 6, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail_1.cs deleted file mode 100644 index 843011b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail_1.cs +++ /dev/null @@ -1,44 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specify the document upload reference details. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class UploadDocumentReferenceDetail_1 - { - /// - /// This is the uploaded document type. - /// - [Newtonsoft.Json.JsonProperty("documentType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public UploadDocumentReferenceDetail_1DocumentType? DocumentType { get; set; } - - /// - /// Specify the reference for the uploaded document.<br>Example: Reference - /// - [Newtonsoft.Json.JsonProperty("documentReference", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DocumentReference { get; set; } - - /// - /// This is the document description of the attached document.<br>Example: PRO FORMA INVOICE - /// - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - /// - /// This is the uploaded document ID value.<br>Example: 090927d680038c61 - /// - [Newtonsoft.Json.JsonProperty("documentId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DocumentId { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail_1DocumentType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail_1DocumentType.cs deleted file mode 100644 index e46bd70..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail_1DocumentType.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum UploadDocumentReferenceDetail_1DocumentType - { - - [System.Runtime.Serialization.EnumMember(Value = @"CERTIFICATE_OF_ORIGIN")] - CERTIFICATE_OF_ORIGIN = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_INVOICE")] - COMMERCIAL_INVOICE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"ETD_LABEL")] - ETD_LABEL = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN")] - USMCA_CERTIFICATION_OF_ORIGIN = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"NET_RATE_SHEET")] - NET_RATE_SHEET = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] - OTHER = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"PRO_FORMA_INVOICE")] - PRO_FORMA_INVOICE = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN")] - USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 7, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetail.cs deleted file mode 100644 index e5ae84c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetail.cs +++ /dev/null @@ -1,61 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// The instructions indicating how to print the USMCA Certificate of Origin (e.g. whether or not to include the instructions, image type, etc ...). - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class UsmcaCertificationOfOriginDetail - { - /// - /// Specifies the usage and identification of customer supplied images to be used on this document. - /// - [Newtonsoft.Json.JsonProperty("customerImageUsages", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection CustomerImageUsages { get; set; } - - [Newtonsoft.Json.JsonProperty("documentFormat", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShippingDocumentFormat DocumentFormat { get; set; } - - /// - /// This is certifier specification. - /// - [Newtonsoft.Json.JsonProperty("certifierSpecification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public UsmcaCertificationOfOriginDetailCertifierSpecification? CertifierSpecification { get; set; } - - /// - /// This is importer specification. - /// - [Newtonsoft.Json.JsonProperty("importerSpecification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public UsmcaCertificationOfOriginDetailImporterSpecification? ImporterSpecification { get; set; } - - /// - /// This is producer specification. - /// - [Newtonsoft.Json.JsonProperty("producerSpecification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public UsmcaCertificationOfOriginDetailProducerSpecification? ProducerSpecification { get; set; } - - [Newtonsoft.Json.JsonProperty("producer", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Party_3 Producer { get; set; } - - [Newtonsoft.Json.JsonProperty("blanketPeriod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public RetrieveDateRange BlanketPeriod { get; set; } - - /// - /// Specify the job title of the certifier - /// - [Newtonsoft.Json.JsonProperty("certifierJobTitle", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CertifierJobTitle { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailCertifierSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailCertifierSpecification.cs deleted file mode 100644 index 7f20d64..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailCertifierSpecification.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum UsmcaCertificationOfOriginDetailCertifierSpecification - { - - [System.Runtime.Serialization.EnumMember(Value = @"EXPORTER")] - EXPORTER = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"IMPORTER")] - IMPORTER = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"PRODUCER")] - PRODUCER = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailImporterSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailImporterSpecification.cs deleted file mode 100644 index ab8311a..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailImporterSpecification.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum UsmcaCertificationOfOriginDetailImporterSpecification - { - - [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] - UNKNOWN = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"VARIOUS")] - VARIOUS = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailProducerSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailProducerSpecification.cs deleted file mode 100644 index 7a9f1f4..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailProducerSpecification.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum UsmcaCertificationOfOriginDetailProducerSpecification - { - - [System.Runtime.Serialization.EnumMember(Value = @"AVAILABLE_UPON_REQUEST")] - AVAILABLE_UPON_REQUEST = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"VARIOUS")] - VARIOUS = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SAME_AS_EXPORTER")] - SAME_AS_EXPORTER = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetail.cs deleted file mode 100644 index 3cad643..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetail.cs +++ /dev/null @@ -1,58 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// The instructions indicating commercial invoice certification of origin. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class UsmcaCommercialInvoiceCertificationOfOriginDetail - { - /// - /// Specifies the usage and identification of customer supplied images to be used on this document. - /// - [Newtonsoft.Json.JsonProperty("customerImageUsages", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection CustomerImageUsages { get; set; } - - [Newtonsoft.Json.JsonProperty("documentFormat", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ShippingDocumentFormat DocumentFormat { get; set; } - - /// - /// This is certifier specification. - /// - [Newtonsoft.Json.JsonProperty("certifierSpecification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public UsmcaCommercialInvoiceCertificationOfOriginDetailCertifierSpecification? CertifierSpecification { get; set; } - - /// - /// This is importer specification. - /// - [Newtonsoft.Json.JsonProperty("importerSpecification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public UsmcaCommercialInvoiceCertificationOfOriginDetailImporterSpecification? ImporterSpecification { get; set; } - - /// - /// This is producer specification. - /// - [Newtonsoft.Json.JsonProperty("producerSpecification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public UsmcaCommercialInvoiceCertificationOfOriginDetailProducerSpecification? ProducerSpecification { get; set; } - - [Newtonsoft.Json.JsonProperty("producer", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Party_3 Producer { get; set; } - - /// - /// Specify the job title of the certifier - /// - [Newtonsoft.Json.JsonProperty("certifierJobTitle", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CertifierJobTitle { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailCertifierSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailCertifierSpecification.cs deleted file mode 100644 index 47a1dd3..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailCertifierSpecification.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum UsmcaCommercialInvoiceCertificationOfOriginDetailCertifierSpecification - { - - [System.Runtime.Serialization.EnumMember(Value = @"EXPORTER")] - EXPORTER = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"IMPORTER")] - IMPORTER = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"PRODUCER")] - PRODUCER = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailImporterSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailImporterSpecification.cs deleted file mode 100644 index a48a9d7..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailImporterSpecification.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum UsmcaCommercialInvoiceCertificationOfOriginDetailImporterSpecification - { - - [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] - UNKNOWN = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"VARIOUS")] - VARIOUS = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailProducerSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailProducerSpecification.cs deleted file mode 100644 index 64f905c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailProducerSpecification.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum UsmcaCommercialInvoiceCertificationOfOriginDetailProducerSpecification - { - - [System.Runtime.Serialization.EnumMember(Value = @"AVAILABLE_UPON_REQUEST")] - AVAILABLE_UPON_REQUEST = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"VARIOUS")] - VARIOUS = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SAME_AS_EXPORTER")] - SAME_AS_EXPORTER = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaDetail.cs deleted file mode 100644 index aeef82f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaDetail.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicates the USMCA detail - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class UsmcaDetail - { - /// - /// Specify the origin criterion. - /// - [Newtonsoft.Json.JsonProperty("originCriterion", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public UsmcaDetailOriginCriterion? OriginCriterion { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaDetailOriginCriterion.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaDetailOriginCriterion.cs deleted file mode 100644 index e37b8f8..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaDetailOriginCriterion.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum UsmcaDetailOriginCriterion - { - - [System.Runtime.Serialization.EnumMember(Value = @"A")] - A = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"B")] - B = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"C")] - C = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"D")] - D = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"E")] - E = 4, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaLowValueStatementDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaLowValueStatementDetail.cs deleted file mode 100644 index 4474a49..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaLowValueStatementDetail.cs +++ /dev/null @@ -1,33 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specify the low Value statement necessary for printing the USMCA for Customs documentation. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class UsmcaLowValueStatementDetail - { - /// - /// Specify the country Of Origin of Low Value Document for Customs declaration.<br>Example:true - /// - [Newtonsoft.Json.JsonProperty("countryOfOriginLowValueDocumentRequested", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CountryOfOriginLowValueDocumentRequested { get; set; } - - /// - /// Customs Role Type.<br>Example: EXPORTER - /// - [Newtonsoft.Json.JsonProperty("customsRole", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public UsmcaLowValueStatementDetailCustomsRole CustomsRole { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaLowValueStatementDetailCustomsRole.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaLowValueStatementDetailCustomsRole.cs deleted file mode 100644 index 36c4fd9..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaLowValueStatementDetailCustomsRole.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum UsmcaLowValueStatementDetailCustomsRole - { - - [System.Runtime.Serialization.EnumMember(Value = @"EXPORTER")] - EXPORTER = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"IMPORTER")] - IMPORTER = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousCommodityContent.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousCommodityContent.cs deleted file mode 100644 index 6a17907..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousCommodityContent.cs +++ /dev/null @@ -1,40 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These the details on the kind and quantity of an individual hazardous commodity in a package. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ValidatedHazardousCommodityContent - { - /// - /// Indicates hazardous commodity quantity details. - /// - [Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public HazardousCommodityQuantityDetail Quantity { get; set; } - - [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public HazardousCommodityContent001 Options { get; set; } - - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ValidatedHazardousCommodityDescription Description { get; set; } - - [Newtonsoft.Json.JsonProperty("netExplosiveDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public NetExplosiveDetail NetExplosiveDetail { get; set; } - - /// - /// The mass points are a calculation used by ADR regulations for measuring the risk of a particular hazardous commodity.<br>Example: 2.0 - /// - [Newtonsoft.Json.JsonProperty("massPoints", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? MassPoints { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousCommodityDescription.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousCommodityDescription.cs deleted file mode 100644 index 07e40a4..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousCommodityDescription.cs +++ /dev/null @@ -1,109 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Identifies and describes an individual hazardous commodity. For 201001 load, this is based on data from the FedEx Ground Hazardous Materials Shipping Guide. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ValidatedHazardousCommodityDescription - { - /// - /// In conjunction with the regulatory identifier, this field uniquely identifies a specific hazardous materials commodity.<br>Example: 876 - /// - [Newtonsoft.Json.JsonProperty("sequenceNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? SequenceNumber { get; set; } - - /// - /// Specifies Packing Instructions.<br>Example: packingInstructions - /// - [Newtonsoft.Json.JsonProperty("packingInstructions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PackingInstructions { get; set; } - - /// - /// Specifies subsidiary Classes.<br>Example:["Subsidiary Classes"] - /// - [Newtonsoft.Json.JsonProperty("subsidiaryClasses", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection SubsidiaryClasses { get; set; } - - /// - /// Specifies Hazard Label Text.<br>Example: labelText - /// - [Newtonsoft.Json.JsonProperty("labelText", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LabelText { get; set; } - - /// - /// There are five categories of tunnel categorization with A representing the least restrictive and E as the most restrictive. Category A, as the least restrictive, will not be sign-posted. Category E, the most restrictive, only allows the passage of UN2919, UN3291, UN3331, UN3359 and UN3373.<br>Example: UN2919 - /// - [Newtonsoft.Json.JsonProperty("tunnelRestrictionCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TunnelRestrictionCode { get; set; } - - /// - /// Specifies Special Provisions if any.<br>Example: specialProvisions - /// - [Newtonsoft.Json.JsonProperty("specialProvisions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string SpecialProvisions { get; set; } - - /// - /// Fully-expanded descriptive text for a hazardous commodity.<br>Example: properShippingNameAndDescription - /// - [Newtonsoft.Json.JsonProperty("properShippingNameAndDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ProperShippingNameAndDescription { get; set; } - - /// - /// Specifies Technical Name.<br>Example: technicalName - /// - [Newtonsoft.Json.JsonProperty("technicalName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TechnicalName { get; set; } - - /// - /// Specifies Symbols.<br>Example: symbols - /// - [Newtonsoft.Json.JsonProperty("symbols", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Symbols { get; set; } - - /// - /// Information related to quantity limitations and operator or state variations as may be applicable to the dangerous goods commodity. - /// - [Newtonsoft.Json.JsonProperty("authorization", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Authorization { get; set; } - - /// - /// Specifies attributes.<br>Example: ["attributes"] - /// - [Newtonsoft.Json.JsonProperty("attributes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Attributes { get; set; } - - /// - /// Specifies the Identification.<br>Example: 1234 - /// - [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Id { get; set; } - - /// - /// Specifies packing Group.<br>Example: Packing Group - /// - [Newtonsoft.Json.JsonProperty("packingGroup", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PackingGroup { get; set; } - - /// - /// Specifies Proper Shipping Name.<br>Example: Proper Shipping Name - /// - [Newtonsoft.Json.JsonProperty("properShippingName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ProperShippingName { get; set; } - - /// - /// Specifies hazard class.<br>Example: Hazard Class - /// - [Newtonsoft.Json.JsonProperty("hazardClass", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string HazardClass { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousContainer.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousContainer.cs deleted file mode 100644 index 2996fe6..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousContainer.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Specifies the details of a container used to package dangerous goods commodities. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class ValidatedHazardousContainer - { - /// - /// Indicates that the quantity of the dangerous goods packaged is permissible for shipping. This is used to ensure that the dangerous goods commodities do not exceed the net quantity per package restrictions.<br>Example: 2.0 - /// - [Newtonsoft.Json.JsonProperty("QValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? QValue { get; set; } - - /// - /// Indicates the details of the hazardous commodities in the completed package. - /// - [Newtonsoft.Json.JsonProperty("hazardousCommodities", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection HazardousCommodities { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetail.cs deleted file mode 100644 index 08ae982..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetail.cs +++ /dev/null @@ -1,52 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// Indicate the details about how to calculate variable handling charges at the shipment level. They can be based on a percentage of the shipping charges or a fixed amount. If indicated, element rateLevelType is required. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class VariableHandlingChargeDetail - { - /// - /// The rate type indicates what type of rate request is being returned; account, preferred, incentive, etc<br>Example: PREFERRED_CURRENCY - /// - [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public VariableHandlingChargeDetailRateType? RateType { get; set; } - - /// - /// This is the variable handling percentage. If the percent value is mentioned as 10, it means 10%(multiplier of 0.1).<br>Example: 12.45 - /// - [Newtonsoft.Json.JsonProperty("percentValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? PercentValue { get; set; } - - /// - /// indicates whether or not the rating is being done at the package level, or if the packages are bundled together. At the package level, charges are applied based on the details of each individual package. If they are bundled, one package is chosen as the parent and charges are applied based on that one package.<br>Example: INDIVIDUAL_PACKAGE_RATE - /// - [Newtonsoft.Json.JsonProperty("rateLevelType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public VariableHandlingChargeDetailRateLevelType? RateLevelType { get; set; } - - /// - /// This is to specify a fixed handling charge on the shipment. The element allows entry of 7 characters before the decimal and 2 characters following the decimal. <br>Example: 5.00. - /// - [Newtonsoft.Json.JsonProperty("fixedValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public FixedValue FixedValue { get; set; } - - /// - /// Specify the charge type upon which the variable handling percentage amount is calculated. - /// - [Newtonsoft.Json.JsonProperty("rateElementBasis", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public VariableHandlingChargeDetailRateElementBasis? RateElementBasis { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateElementBasis.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateElementBasis.cs deleted file mode 100644 index 2688954..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateElementBasis.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum VariableHandlingChargeDetailRateElementBasis - { - - [System.Runtime.Serialization.EnumMember(Value = @"NET_CHARGE")] - NET_CHARGE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"NET_FREIGHT")] - NET_FREIGHT = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"BASE_CHARGE")] - BASE_CHARGE = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"NET_CHARGE_EXCLUDING_TAXES")] - NET_CHARGE_EXCLUDING_TAXES = 3, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateLevelType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateLevelType.cs deleted file mode 100644 index 2ba174e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateLevelType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum VariableHandlingChargeDetailRateLevelType - { - - [System.Runtime.Serialization.EnumMember(Value = @"BUNDLED_RATE")] - BUNDLED_RATE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"INDIVIDUAL_PACKAGE_RATE")] - INDIVIDUAL_PACKAGE_RATE = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateType.cs deleted file mode 100644 index 25a44e6..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateType.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum VariableHandlingChargeDetailRateType - { - - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT")] - ACCOUNT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"ACTUAL")] - ACTUAL = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"CURRENT")] - CURRENT = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM")] - CUSTOM = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"LIST")] - LIST = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"INCENTIVE")] - INCENTIVE = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED")] - PREFERRED = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED_INCENTIVE")] - PREFERRED_INCENTIVE = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED_CURRENCY")] - PREFERRED_CURRENCY = 8, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight.cs deleted file mode 100644 index c574827..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight.cs +++ /dev/null @@ -1,33 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are the package weight details.<br>Note: Weight is not required for One rate shipments - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Weight - { - /// - /// Specifies the package weight unit type.<br>Example:KG - /// - [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public WeightUnits Units { get; set; } - - /// - /// Weight Value.<br> Example: 68.25<br><a href='https://developer.fedex.com/api/en-us/guides/api-reference.html#packagetypes' target='_blank'>Click here to see Weight Values</a>. - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Always)] - public decimal Value { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/WeightUnits.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/WeightUnits.cs deleted file mode 100644 index 1b84555..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/WeightUnits.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum WeightUnits - { - - [System.Runtime.Serialization.EnumMember(Value = @"KG")] - KG = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"LB")] - LB = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_1.cs deleted file mode 100644 index d0863ca..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_1.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// This is the total dry ice weight in all the packages of the shipment. - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Weight_1 - { - /// - /// For the Dry Ice weight in the shipment the unit of measure must be KG. - /// - [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Weight_1Units? Units { get; set; } - - /// - /// Weight Value.<br> Example: 68.25<br><a href='https://developer.fedex.com/api/en-us/guides/api-reference.html#packagetypes' target='_blank'>Click here to see Weight Values</a>. - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Value { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_1Units.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_1Units.cs deleted file mode 100644 index 7c0aa79..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_1Units.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum Weight_1Units - { - - [System.Runtime.Serialization.EnumMember(Value = @"KG")] - KG = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"LB")] - LB = 1, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_3.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_3.cs deleted file mode 100644 index 8ccea45..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_3.cs +++ /dev/null @@ -1,33 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// These are the package weight details.<br>Note: Weight is not required for One rate shipments - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Weight_3 - { - /// - /// Indicate the weight unit type. The package and commodity weight unit should be the same else the request will result in an error.<br>Example:KG - /// - [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Weight_3Units Units { get; set; } - - /// - /// Weight Value.<br> Example: 68.25<br> - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Always)] - public double Value { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_3Units.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_3Units.cs deleted file mode 100644 index 38e8b6e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_3Units.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum Weight_3Units - { - - [System.Runtime.Serialization.EnumMember(Value = @"KG")] - KG = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_4.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_4.cs deleted file mode 100644 index 6a77a73..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_4.cs +++ /dev/null @@ -1,33 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - /// - /// It is the total weight of the commodity.<br>Note: Weight is not required for One rate shipments - /// - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public partial class Weight_4 - { - /// - /// Indicate the weight unit type. The package and commodity weight unit should be the same else the request will result in an error. - /// - [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Always)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Weight_4Units Units { get; set; } - - /// - /// Weight Value.<br> Example: 68.25 - /// - [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Always)] - public double Value { get; set; } - - private System.Collections.Generic.IDictionary _additionalProperties; - - [Newtonsoft.Json.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_4Units.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_4Units.cs deleted file mode 100644 index 7b3a23b..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_4Units.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum Weight_4Units - { - - [System.Runtime.Serialization.EnumMember(Value = @"KG")] - KG = 0, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/options2.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/options2.cs deleted file mode 100644 index 855784e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/options2.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum options2 - { - - [System.Runtime.Serialization.EnumMember(Value = @"SHIPPING_LABEL_FIRST")] - SHIPPING_LABEL_FIRST = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"SHIPPING_LABEL_LAST")] - SHIPPING_LABEL_LAST = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SUPPRESS_ADDITIONAL_LANGUAGES")] - SUPPRESS_ADDITIONAL_LANGUAGES = 2, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/options3.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/options3.cs deleted file mode 100644 index 6ea0bb3..0000000 --- a/TradeManageNew/APIClients/FedexApi/Models/Ship/options3.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace TradeManageNew.APIClients.FedexAPI.Models.Ship -{ - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public enum options3 - { - - [System.Runtime.Serialization.EnumMember(Value = @"HAZARDOUS_MATERIALS")] - HAZARDOUS_MATERIALS = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"BATTERY")] - BATTERY = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"ORM_D")] - ORM_D = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"REPORTABLE_QUANTITIES")] - REPORTABLE_QUANTITIES = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"SMALL_QUANTITY_EXCEPTION")] - SMALL_QUANTITY_EXCEPTION = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"LIMITED_QUANTITIES_COMMODITIES")] - LIMITED_QUANTITIES_COMMODITIES = 5, - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Services/RatesAndTransitTimesService.cs b/TradeManageNew/APIClients/FedexApi/Services/RatesAndTransitTimesService.cs deleted file mode 100644 index 011aa8f..0000000 --- a/TradeManageNew/APIClients/FedexApi/Services/RatesAndTransitTimesService.cs +++ /dev/null @@ -1,193 +0,0 @@ -using System.Net; -using TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes; -using TradeManageNew.APIClients.FedexAPI.Models; - -// ReSharper disable InconsistentNaming - -namespace TradeManageNew.APIClients.FedexAPI.Services -{ - public class RatesAndTransitTimesService : RequestService - { - public RatesAndTransitTimesService(FedexCredential credential) : base(credential) - { - } - - public async System.Threading.Tasks.Task RateAndTransitTimesAsync( - RateAndTransitTimesReq body, System.Threading.CancellationToken cancellationToken = default) - { - var handler = new System.Net.Http.HttpClientHandler - { - AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate - }; - - var client_ = new System.Net.Http.HttpClient(handler); - client_.DefaultRequestHeaders.Add("Accept-Encoding", "gzip, deflate"); - - var disposeClient_ = true; - try - { - using (var request_ = new System.Net.Http.HttpRequestMessage()) - { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = - System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); - request_.Headers.Accept.Add( - System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); - - var urlBuilder_ = new System.Text.StringBuilder(); - if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); - // Operation Path: "rate/v1/rates/quotes" - urlBuilder_.Append("rate/v1/rates/quotes"); - - PrepareRequest(client_, request_, urlBuilder_); - - var url_ = urlBuilder_.ToString(); - request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); - - PrepareRequest(client_, request_, url_); - - var response_ = await client_.SendAsync(request_, - System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken) - .ConfigureAwait(false); - var disposeResponse_ = true; - try - { - var headers_ = - new System.Collections.Generic.Dictionary>(); - foreach (var item_ in response_.Headers) - headers_[item_.Key] = item_.Value; - if (response_.Content != null && response_.Content.Headers != null) - { - foreach (var item_ in response_.Content.Headers) - headers_[item_.Key] = item_.Value; - } - - ProcessResponse(client_, response_); - - var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, cancellationToken) - .ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - return objectResponse_.Object; - } - else if (status_ == 400) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, cancellationToken) - .ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - throw new FedexAPIException("Bad Request", status_, objectResponse_.Text, - headers_, objectResponse_.Object, null); - } - else if (status_ == 401) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, - cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - throw new FedexAPIException("Unauthorized", status_, - objectResponse_.Text, headers_, objectResponse_.Object, null); - } - else if (status_ == 403) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, - cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - throw new FedexAPIException("Forbidden", status_, objectResponse_.Text, - headers_, objectResponse_.Object, null); - } - else if (status_ == 404) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, - cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - throw new FedexAPIException("Not Found", status_, objectResponse_.Text, - headers_, objectResponse_.Object, null); - } - else if (status_ == 500) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, - cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - throw new FedexAPIException("Failure", status_, objectResponse_.Text, - headers_, objectResponse_.Object, null); - } - else if (status_ == 503) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, - cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - throw new FedexAPIException("Service Unavailable", status_, - objectResponse_.Text, headers_, objectResponse_.Object, null); - } - else - { - var responseData_ = response_.Content == null - ? null - : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new FedexAPIException( - "The HTTP status code of the response was not expected (" + status_ + ").", status_, - responseData_, headers_, null); - } - } - finally - { - if (disposeResponse_) - response_.Dispose(); - } - } - } - finally - { - if (disposeClient_) - client_.Dispose(); - } - } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Services/RequestService.cs b/TradeManageNew/APIClients/FedexApi/Services/RequestService.cs deleted file mode 100644 index a65e1a2..0000000 --- a/TradeManageNew/APIClients/FedexApi/Services/RequestService.cs +++ /dev/null @@ -1,362 +0,0 @@ -using System; -using System.CodeDom.Compiler; -using System.Collections.Generic; -using System.IO; -using System.Net; -using System.Net.Http; -using System.Net.Http.Headers; -using System.Runtime.Caching; -using System.Text; -using System.Threading; -using System.Threading.Tasks; -using TradeManageNew.APIClients.FedexAPI.Models; -using Newtonsoft.Json; - -// ReSharper disable InconsistentNaming - -namespace TradeManageNew.APIClients.FedexAPI.Services -{ - public class RequestService - { - private static Lazy _settings = - new Lazy(CreateSerializerSettings, true); - - private JsonSerializerSettings _instanceSettings; - - protected RequestService(FedexCredential credential) - { - BaseUrl = credential.Host; - ClientId = credential.ClientId; - ClientSecret = credential.ClientSecret; - ChildKey = credential.ChildKey; - ChildSecret = credential.ChildSecret; - ReadResponseAsString = credential.ReadResponseAsString; - Initialize(); - } - - protected string _baseUrl; - - private string BaseUrl - { - get => _baseUrl; - set - { - _baseUrl = value; - if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) - _baseUrl += '/'; - } - } - - private string ClientId { get; set; } - - private string ClientSecret { get; set; } - - private string ChildKey { get; set; } - - private string ChildSecret { get; set; } - - private bool ReadResponseAsString { get; set; } - - private static void Initialize() - { - //启用TLS1.2 - ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; - } - - private static JsonSerializerSettings CreateSerializerSettings() - { - var settings = new JsonSerializerSettings(); - return settings; - } - - protected JsonSerializerSettings JsonSerializerSettings => _instanceSettings ?? _settings.Value; - - protected void PrepareRequest(HttpClient client, HttpRequestMessage request, - string url) - { - var token = GetAccessTokenAsync() - .ConfigureAwait(false) - .GetAwaiter() - .GetResult(); - //添加授权信息 - request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", token); - } - - protected void PrepareRequest(HttpClient client, HttpRequestMessage request, - StringBuilder urlBuilder) - { - } - - protected static void ProcessResponse(HttpClient client, - HttpResponseMessage response) - { - } - - private async Task GetAccessTokenAsync() - { - MemoryCache memoryCache = MemoryCache.Default; - string fedexAccessTokenKey = MemoryCacheKeys.FEDEX_ACCESS_TOKEN_KEY; - - string fedexAccessTokenValue = memoryCache.Get(fedexAccessTokenKey) as string; - - if (string.IsNullOrWhiteSpace(fedexAccessTokenValue)) - { - int tryCount = 0; - int maxTryCount = 3; - while (tryCount < maxTryCount) - { - try - { - var fedexOauthTokenResp = await OauthTokenAsync(); - // 设置缓存策略(如过期时间) - CacheItemPolicy policy = new CacheItemPolicy - { - AbsoluteExpiration = - DateTimeOffset.Now.AddSeconds(fedexOauthTokenResp.Expires_in - 60) - }; - - // 添加数据到缓存 - memoryCache.Set(fedexAccessTokenKey, fedexOauthTokenResp.Access_token, policy); - - return fedexOauthTokenResp.Access_token; - } - catch (Exception ex) - { - tryCount++; - - if (tryCount == maxTryCount) - { - throw new Exception($"获取Fedex AccessToken失败,错误信息:{ex.Message}"); - } - } - } - } - - return fedexAccessTokenValue; - } - - private async Task OauthTokenAsync() - { - var client_ = new HttpClient(); - var disposeClient_ = true; - try - { - using (var request_ = new HttpRequestMessage()) - { - var postData = - new List> - { - new KeyValuePair("client_id", ClientId), - new KeyValuePair("client_secret", ClientSecret), - new KeyValuePair("grant_type", - "client_credentials"), - }; - var content_ = new FormUrlEncodedContent(postData); - content_.Headers.ContentType = - MediaTypeHeaderValue.Parse("application/x-www-form-urlencoded"); - request_.Content = content_; - request_.Method = new HttpMethod("POST"); - request_.Headers.Accept.Add( - MediaTypeWithQualityHeaderValue.Parse("application/json")); - - var urlBuilder_ = new StringBuilder(); - if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); - // Operation Path: "oauth/token" - urlBuilder_.Append("oauth/token"); - - var url_ = urlBuilder_.ToString(); - request_.RequestUri = new Uri(url_, UriKind.RelativeOrAbsolute); - - var response_ = await client_.SendAsync(request_, - HttpCompletionOption.ResponseHeadersRead, - CancellationToken.None); - var disposeResponse_ = true; - try - { - var headers_ = - new Dictionary>(); - foreach (var item_ in response_.Headers) - headers_[item_.Key] = item_.Value; - if (response_.Content != null && response_.Content.Headers != null) - { - foreach (var item_ in response_.Content.Headers) - headers_[item_.Key] = item_.Value; - } - - ProcessResponse(client_, response_); - - var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, - CancellationToken.None).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - return objectResponse_.Object; - } - else if (status_ == 401) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, - CancellationToken.None).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - throw new FedexAPIException("Unauthorized", status_, objectResponse_.Text, - headers_, objectResponse_.Object, null); - } - else if (status_ == 500) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, - CancellationToken.None).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - throw new FedexAPIException("Failure", status_, objectResponse_.Text, - headers_, objectResponse_.Object, null); - } - else if (status_ == 503) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, - CancellationToken.None).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - throw new FedexAPIException("Service Unavailable", status_, - objectResponse_.Text, headers_, objectResponse_.Object, null); - } - else - { - var responseData_ = response_.Content == null - ? null - : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new FedexAPIException( - "The HTTP status code of the response was not expected (" + status_ + ").", status_, - responseData_, headers_, null); - } - } - finally - { - if (disposeResponse_) - response_.Dispose(); - } - } - } - finally - { - if (disposeClient_) - client_.Dispose(); - } - } - - protected struct ObjectResponseResult - { - public ObjectResponseResult(T responseObject, string responseText) - { - Object = responseObject; - Text = responseText; - } - - public T Object { get; } - - public string Text { get; } - } - - protected async Task> ReadObjectResponseAsync( - HttpResponseMessage response, - IReadOnlyDictionary> - headers, CancellationToken cancellationToken) - { - if (response == null || response.Content == null) - { - return new ObjectResponseResult(default(T), string.Empty); - } - - if (ReadResponseAsString) - { - var responseText = await response.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - var typedBody = - JsonConvert.DeserializeObject(responseText, JsonSerializerSettings); - return new ObjectResponseResult(typedBody, responseText); - } - catch (JsonException exception) - { - var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; - throw new FedexAPIException(message, (int)response.StatusCode, responseText, headers, exception); - } - } - - try - { - using (var responseStream = await response.Content.ReadAsStreamAsync().ConfigureAwait(false)) - using (var streamReader = new StreamReader(responseStream)) - using (var jsonTextReader = new JsonTextReader(streamReader)) - { - var serializer = JsonSerializer.Create(JsonSerializerSettings); - var typedBody = serializer.Deserialize(jsonTextReader); - return new ObjectResponseResult(typedBody, string.Empty); - } - } - catch (JsonException exception) - { - var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; - throw new FedexAPIException(message, (int)response.StatusCode, string.Empty, headers, exception); - } - } - } - - /// - /// This is the response of OAuth token and having access token details. - /// - [GeneratedCode("NJsonSchema", - "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] - public class FedexOauthTokenResp - { - /// - /// This is an encrypted OAuth token used to authenticate your API requests. Use it in the authorization header of your API requests.<br>Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpX…… - /// - [JsonProperty("access_token", Required = Required.Default, - NullValueHandling = NullValueHandling.Ignore)] - public string Access_token { get; set; } - - /// - /// This is a token type. In this case, it is 'bearer authentication'. - /// - [JsonProperty("token_type", Required = Required.Default, - NullValueHandling = NullValueHandling.Ignore)] - public string Token_type { get; set; } - - /// - /// Indicates the token expiration time in seconds. The standard token expiration time is one hour. <br>Example: 3600 - /// - [JsonProperty("expires_in", Required = Required.Default, - NullValueHandling = NullValueHandling.Ignore)] - public int Expires_in { get; set; } - - /// - /// Indicates the scope of authorization provided to the consumer.<br> Example: CXS - /// - [JsonProperty("scope", Required = Required.Default, - NullValueHandling = NullValueHandling.Ignore)] - public string Scope { get; set; } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Services/ShipService.cs b/TradeManageNew/APIClients/FedexApi/Services/ShipService.cs deleted file mode 100644 index 219faf1..0000000 --- a/TradeManageNew/APIClients/FedexApi/Services/ShipService.cs +++ /dev/null @@ -1,193 +0,0 @@ -using System.Net; -using TradeManageNew.APIClients.FedexAPI.Models.Ship; -using TradeManageNew.APIClients.FedexAPI.Models; - -// ReSharper disable InconsistentNaming - -namespace TradeManageNew.APIClients.FedexAPI.Services -{ - public class ShipService : RequestService - { - public ShipService(FedexCredential credential) : base(credential) - { - } - - public async System.Threading.Tasks.Task CreateShipmentAsync(CreateShipmentReq body, - System.Threading.CancellationToken cancellationToken = default) - { - var handler = new System.Net.Http.HttpClientHandler - { - AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate - }; - - var client_ = new System.Net.Http.HttpClient(handler); - client_.DefaultRequestHeaders.Add("Accept-Encoding", "gzip, deflate"); - - var disposeClient_ = true; - try - { - using (var request_ = new System.Net.Http.HttpRequestMessage()) - { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = - System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); - request_.Headers.Accept.Add( - System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); - - var urlBuilder_ = new System.Text.StringBuilder(); - if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); - // Operation Path: "ship/v1/shipments" - urlBuilder_.Append("ship/v1/shipments"); - - PrepareRequest(client_, request_, urlBuilder_); - - var url_ = urlBuilder_.ToString(); - request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); - - PrepareRequest(client_, request_, url_); - - var response_ = await client_.SendAsync(request_, - System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken) - .ConfigureAwait(false); - var disposeResponse_ = true; - try - { - var headers_ = - new System.Collections.Generic.Dictionary>(); - foreach (var item_ in response_.Headers) - headers_[item_.Key] = item_.Value; - if (response_.Content != null && response_.Content.Headers != null) - { - foreach (var item_ in response_.Content.Headers) - headers_[item_.Key] = item_.Value; - } - - ProcessResponse(client_, response_); - - var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, - cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - return objectResponse_.Object; - } - else if (status_ == 400) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, cancellationToken) - .ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - throw new FedexAPIException("Bad Request", status_, objectResponse_.Text, - headers_, objectResponse_.Object, null); - } - else if (status_ == 401) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, cancellationToken) - .ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - throw new FedexAPIException("Unauthorized", status_, objectResponse_.Text, - headers_, objectResponse_.Object, null); - } - else if (status_ == 403) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, cancellationToken) - .ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - throw new FedexAPIException("Forbidden", status_, objectResponse_.Text, - headers_, objectResponse_.Object, null); - } - else if (status_ == 404) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, cancellationToken) - .ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - throw new FedexAPIException("Not Found", status_, objectResponse_.Text, - headers_, objectResponse_.Object, null); - } - else if (status_ == 500) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, cancellationToken) - .ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - throw new FedexAPIException("Failure", status_, objectResponse_.Text, - headers_, objectResponse_.Object, null); - } - else if (status_ == 503) - { - var objectResponse_ = - await ReadObjectResponseAsync(response_, headers_, cancellationToken) - .ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new FedexAPIException("Response was null which was not expected.", status_, - objectResponse_.Text, headers_, null); - } - - throw new FedexAPIException("Service Unavailable", status_, - objectResponse_.Text, headers_, objectResponse_.Object, null); - } - else - { - var responseData_ = response_.Content == null - ? null - : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new FedexAPIException( - "The HTTP status code of the response was not expected (" + status_ + ").", status_, - responseData_, headers_, null); - } - } - finally - { - if (disposeResponse_) - response_.Dispose(); - } - } - } - finally - { - if (disposeClient_) - client_.Dispose(); - } - } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Tests/RatesAndTransitTimesTests.cs b/TradeManageNew/APIClients/FedexApi/Tests/RatesAndTransitTimesTests.cs deleted file mode 100644 index 7e65b34..0000000 --- a/TradeManageNew/APIClients/FedexApi/Tests/RatesAndTransitTimesTests.cs +++ /dev/null @@ -1,149 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes; -using TradeManageNew.APIClients.FedexAPI.Tests; - -namespace TradeManageNew.APIClients.FedexApi.Tests -{ - public class RatesAndTransitTimesTests : TestBase - { - public void Should_GetRateAsync() - { - var client = GetClient(); - - var parameter = new RateAndTransitTimesReq - { - AccountNumber = new AccountNumber - { - Value = client.Credential.AccountNumber - }, - RateRequestControlParameters = new RateRequestControlParameters() - { - - }, - RequestedShipment = new RequestedShipment() - { - Shipper = new RateParty - { - Address = new RateAddress - { - City = "Jacksonville", - StateOrProvinceCode = "FL", - CountryCode = "US", - PostalCode = "32226", - - }, - }, - Recipient = new RateParty - { - Address = new RateAddress - { - City = "SAINT SIMONS ISLAND", - StateOrProvinceCode = "GA", - CountryCode = "US", - PostalCode = "31522-1867", - Residential = null, //是否住宅 - }, - }, - //ServiceType = RequestedRateServiceType.PRIORITY_OVERNIGHT, - PreferredCurrency = "USD", - //PackagingType = RequestedRatePackageType.FEDEX_ENVELOPE, - PickupType = RequestedShipmentPickupType.USE_SCHEDULED_PICKUP, - RateRequestType = new List() - { - RateRequestType.ACCOUNT - }, - RequestedPackageLineItems = new List() - { - new RequestedPackageLineItem - { - Weight = new Weight_2 - { - Value = 1, - Units = Weight_1_2Units.LB - } - } - } - }, - CarrierCodes = new List() { } - }; - - var response = client.RatesAndTransitTimes.RateAndTransitTimesAsync(parameter) - .ConfigureAwait(false) - .GetAwaiter() - .GetResult(); - } - - public RateAndTransitTimesResp Should_RateAsync_IsReturn() - { - var client = GetClient(); - - var parameter = new RateAndTransitTimesReq - { - AccountNumber = new AccountNumber - { - Value = client.Credential.AccountNumber - }, - RateRequestControlParameters = new RateRequestControlParameters() - { - - }, - RequestedShipment = new RequestedShipment() - { - Shipper = new RateParty - { - Address = new RateAddress - { - City = "Jacksonville", - StateOrProvinceCode = "FL", - CountryCode = "US", - PostalCode = "32226", - - }, - }, - Recipient = new RateParty - { - Address = new RateAddress - { - City = "SAINT SIMONS ISLAND", - StateOrProvinceCode = "GA", - CountryCode = "US", - PostalCode = "31522-1867", - Residential = null, //是否住宅 - }, - }, - //ServiceType = RequestedRateServiceType.PRIORITY_OVERNIGHT, - PreferredCurrency = "USD", - //PackagingType = RequestedRatePackageType.FEDEX_ENVELOPE, - PickupType = RequestedShipmentPickupType.USE_SCHEDULED_PICKUP, - RateRequestType = new List() - { - RateRequestType.ACCOUNT - }, - RequestedPackageLineItems = new List() - { - new RequestedPackageLineItem - { - Weight = new Weight_2 - { - Value = 1, - Units = Weight_1_2Units.LB - } - } - } - }, - CarrierCodes = new List() { } - }; - - var response = client.RatesAndTransitTimes.RateAndTransitTimesAsync(parameter) - .ConfigureAwait(false) - .GetAwaiter() - .GetResult(); - - return response; - } - - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Tests/ShipTests.cs b/TradeManageNew/APIClients/FedexApi/Tests/ShipTests.cs deleted file mode 100644 index 10c33f3..0000000 --- a/TradeManageNew/APIClients/FedexApi/Tests/ShipTests.cs +++ /dev/null @@ -1,108 +0,0 @@ -using System.Collections.Generic; -using TradeManageNew.APIClients.FedexAPI.Models.Ship; - -namespace TradeManageNew.APIClients.FedexAPI.Tests -{ - public class ShipTests : TestBase - { - public void Should_CreateShipmentAsync() - { - var client = GetClient(); - - var parameter = new CreateShipmentReq - { - LabelResponseOptions = LABELRESPONSEOPTIONS.URL_ONLY, - RequestedShipment = new RequestedShipment() - { - Shipper = new ShipperParty() - { - Contact = new PartyContact() - { - PersonName = "Jacksonville", - PhoneNumber = "9045971260" - }, - Address = new PartyAddress_2() - { - StreetLines = new List() - { - "2615 port industrial Dr. suites 408" - }, - City = "Jacksonville", - StateOrProvinceCode = "FL", - PostalCode = "32226", - CountryCode = "US" - } - }, - Recipients = new List() - { - new RecipientsParty() - { - Contact = new PartyContact() - { - PersonName = "Bradford Price", - PhoneNumber = "+1 415-419-8616", - CompanyName = "Bradford Price" - }, - Address = new PartyAddress_2() - { - StreetLines = new List() - { - "250 MCINTOSH" - }, - City = "SAINT SIMONS ISLAND", - StateOrProvinceCode = "GA", - PostalCode = "31522-1867", - CountryCode = "US" - } - } - }, - //ShipDatestamp = - ServiceType = RequestedShipmentServiceType.PRIORITY_OVERNIGHT, - PackagingType = RequestedShipmentPackageType.FEDEX_ENVELOPE, - PickupType = RequestedShipmentPickupType.USE_SCHEDULED_PICKUP, - BlockInsightVisibility = false, - ShippingChargesPayment = new Payment() - { - PaymentType = PaymentType.SENDER - }, - ShipmentSpecialServices = new ShipmentSpecialServicesRequested() - { - SpecialServiceTypes = new List() - { - RequestedShipmentSpecialServiceType.RETURN_SHIPMENT - }, - ReturnShipmentDetail = new ReturnShipmentDetail - { - ReturnType = ReturnShipmentDetailReturnType.PRINT_RETURN_LABEL - } - }, - LabelSpecification = new LabelSpecification() - { - ImageType = LabelSpecificationImageType.PDF, - LabelStockType = LabelSpecificationLabelStockType.PAPER_85X11_TOP_HALF_LABEL - }, - RequestedPackageLineItems = new List() - { - new RequestedPackageLineItem() - { - Weight = new Weight() - { - Value = 1, - Units = WeightUnits.LB - } - } - } - }, - AccountNumber = new ShipperAccountNumber() - { - Value = client.Credential.AccountNumber - } - }; - - var response = client.Ship.CreateShipmentAsync(parameter) - .ConfigureAwait(false) - .GetAwaiter() - .GetResult(); - } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Tests/TestBase.cs b/TradeManageNew/APIClients/FedexApi/Tests/TestBase.cs deleted file mode 100644 index e97030c..0000000 --- a/TradeManageNew/APIClients/FedexApi/Tests/TestBase.cs +++ /dev/null @@ -1,21 +0,0 @@ -using TradeManageNew.APIClients.FedexApi; - -namespace TradeManageNew.APIClients.FedexAPI.Tests -{ - public class TestBase - { - protected static FedexAPIClient GetClient() - { - var fedexCredential = new FedexCredential(isDebugMode: true) { ReadResponseAsString = true } - .SetWestSandBoxCredential() //西部账户沙箱凭证 - //.SetWestProductionCredential() //西部账户正式凭证 - //.SetEastSandBoxCredential() //东部账户沙箱凭证 - //.SetEastProductionCredential() //东部账户正式凭证; - ; - - var client = new FedexAPIClient(fedexCredential); - - return client; - } - } -} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Utils/JsonConverters.cs b/TradeManageNew/APIClients/FedexApi/Utils/JsonConverters.cs deleted file mode 100644 index 56f4b5e..0000000 --- a/TradeManageNew/APIClients/FedexApi/Utils/JsonConverters.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System.Collections; -using System.Linq; -using System.Reflection; -using System.Runtime.Serialization; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; - -namespace TradeManageNew.APIClients.FedexAPI.Utils -{ - internal class EnumCollectionConverter : JsonConverter - { - private readonly StringEnumConverter _stringEnumConverter = new StringEnumConverter(); - - public override bool CanConvert(System.Type objectType) - { - return objectType.IsGenericType && - typeof(IEnumerable).IsAssignableFrom(objectType) && - objectType.GetGenericArguments()[0].IsEnum; - } - - public override object ReadJson(JsonReader reader, System.Type objectType, object existingValue, JsonSerializer serializer) - { - throw new System.NotImplementedException("Deserialization is not implemented."); - } - - public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) - { - if (value is IEnumerable enumCollection) - { - // 遍历集合并获取每个枚举的字符串值 - var enumNames = enumCollection.Cast() - .Select(GetEnumMemberValue) - .ToList(); - - serializer.Serialize(writer, enumNames); - } - else - { - throw new System.InvalidOperationException("Expected an enumerable type."); - } - } - - private static string GetEnumMemberValue(object enumValue) - { - var enumType = enumValue.GetType(); - var memberInfo = enumType.GetMember(enumValue.ToString()).FirstOrDefault(); - if (memberInfo != null) - { - var enumMemberAttr = memberInfo.GetCustomAttribute(); - if (enumMemberAttr != null) - { - return enumMemberAttr.Value; - } - } - return enumValue.ToString(); - } - } -} \ No newline at end of file diff --git a/TradeManageNew/TradeManageNew.csproj b/TradeManageNew/TradeManageNew.csproj index 9d6d944..121ee97 100644 --- a/TradeManageNew/TradeManageNew.csproj +++ b/TradeManageNew/TradeManageNew.csproj @@ -1581,512 +1581,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -3464,6 +2958,7 @@ + From 091a68d1866a52e36a24a195b0463b3c4b49bb6d Mon Sep 17 00:00:00 2001 From: wufan Date: Thu, 16 Jan 2025 17:02:56 +0800 Subject: [PATCH 6/7] :memo: --- .../APIClients/FedexApi/FedexAPIClient.cs | 51 ++ .../APIClients/FedexApi/FedexAPIClientMisc.cs | 67 +++ .../APIClients/FedexApi/FedexCredential.cs | 36 ++ .../FedexApi/Models/ErrorResponse.cs | 63 +++ .../FedexApi/Models/FedexAPIException.cs | 37 ++ .../RatesAndTransitTimes/AccountNumber.cs | 16 + .../Models/RatesAndTransitTimes/Address.cs | 49 ++ .../Models/RatesAndTransitTimes/Address_1.cs | 49 ++ .../Models/RatesAndTransitTimes/Address_2.cs | 39 ++ .../RatesAndTransitTimes/AlcoholDetail.cs | 33 ++ .../AlcoholDetailAlcoholRecipientType.cs | 14 + .../Models/RatesAndTransitTimes/Alert.cs | 38 ++ .../Models/RatesAndTransitTimes/AlertType.cs | 14 + .../Alternate_Currency_Rate_Quote.cs | 17 + .../AncillaryFeesAndTaxes.cs | 34 ++ .../Models/RatesAndTransitTimes/Anonymous.cs | 24 + .../BaseProcessOutputVO.cs | 43 ++ .../BatteryClassificationDetail.cs | 40 ++ .../BatteryClassificationDetailMaterial.cs | 14 + .../BatteryClassificationDetailPacking.cs | 14 + ...ryClassificationDetailRegulatorySubType.cs | 11 + .../RatesAndTransitTimes/BillingWeight.cs | 8 + .../RatesAndTransitTimes/BrokerDetail.cs | 33 ++ .../BrokerDetailBroker.cs | 21 + .../BrokerDetailBroker_RateReply.cs | 14 + .../RatesAndTransitTimes/BrokerDetailType.cs | 14 + .../BrokerDetail_RateReply.cs | 33 ++ .../BrokerDetail_RateReplyType.cs | 14 + .../RatesAndTransitTimes/Brokeraddress.cs | 79 +++ .../CODTransportationChargesDetail.cs | 47 ++ ...nsportationChargesDetailChargeLevelType.cs | 14 + ...ODTransportationChargesDetailChargeType.cs | 20 + ...ransportationChargesDetailRateLevelType.cs | 14 + .../CODTransportationChargesDetailRateType.cs | 35 ++ .../Models/RatesAndTransitTimes/CXSError.cs | 34 ++ .../RatesAndTransitTimes/CXSError401.cs | 37 ++ .../RatesAndTransitTimes/CXSError403.cs | 37 ++ .../RatesAndTransitTimes/CXSError404.cs | 37 ++ .../RatesAndTransitTimes/CXSError500.cs | 37 ++ .../RatesAndTransitTimes/CXSError503.cs | 37 ++ .../RatesAndTransitTimes/CommercialInvoice.cs | 26 + .../CommercialInvoiceShipmentPurpose.cs | 35 ++ .../Models/RatesAndTransitTimes/Commit.cs | 78 +++ .../CommitDaysInTransit.cs | 74 +++ .../CommitGuaranteedType.cs | 14 + .../Models/RatesAndTransitTimes/Commodity.cs | 79 +++ .../Models/RatesAndTransitTimes/Contact.cs | 55 ++ .../RatesAndTransitTimes/ContactAndAddress.cs | 25 + .../Models/RatesAndTransitTimes/Contact_2.cs | 55 ++ .../CurrencyExchangeRate.cs | 37 ++ .../RatesAndTransitTimes/CustomerMessage.cs | 31 ++ .../DangerousGoodsContainer.cs | 63 +++ .../DangerousGoodsContainerPackingType.cs | 11 + ...GoodsContainerRadioactiveContainerClass.cs | 32 ++ .../DangerousGoodsDetail.cs | 45 ++ .../DangerousGoodsDetailAccessibility.cs | 14 + .../DangerousGoodsDetailRegulation.cs | 20 + .../Models/RatesAndTransitTimes/DateDetail.cs | 31 ++ .../RatesAndTransitTimes/DelayDetail.cs | 55 ++ .../DeliveryOnInvoiceAcceptanceDetail.cs | 22 + ...iveryOnInvoiceAcceptanceDetailRecipient.cs | 13 + ...nvoiceAcceptanceDetailRecipient_address.cs | 29 + ...nvoiceAcceptanceDetailRecipient_contact.cs | 43 ++ .../RatesAndTransitTimes/Dimensions_1.cs | 44 ++ .../RatesAndTransitTimes/Dimensions_1Units.cs | 14 + ...MailNotificationDetail_PrintedReference.cs | 32 ++ ...il_PrintedReferencePrintedReferenceType.cs | 29 + .../Models/RatesAndTransitTimes/EdtCharge.cs | 28 + .../RatesAndTransitTimes/EdtTaxDetail.cs | 61 +++ .../RatesAndTransitTimes/EmailLabelDetail.cs | 31 ++ .../EmailNotificationRecipient.cs | 62 +++ ...ficationRecipientNotificationFormatType.cs | 14 + ...ilNotificationRecipientNotificationType.cs | 14 + .../EmailNotificationRecipientType.cs | 29 + .../EmailOptionsRequested.cs | 25 + .../RatesAndTransitTimes/EmailRecipient.cs | 39 ++ .../EmailRecipientRole.cs | 14 + .../RatesAndTransitTimes/ErrorResponseVO.cs | 34 ++ .../ErrorResponseVO401.cs | 25 + .../ErrorResponseVO403.cs | 25 + .../ErrorResponseVO404.cs | 25 + .../ErrorResponseVO500.cs | 31 ++ .../ErrorResponseVO503.cs | 25 + .../Express_Freight_Rate_Quote.cs | 17 + ...ress_Freight_Saturday_Pickup_Rate_Quote.cs | 17 + ...lePayloadRateResourceDetailsIntraEurope.cs | 17 + ...elivery_Appointment_Delivery_Rate_Quote.cs | 17 + .../HazardousCommodityContent.cs | 34 ++ .../HazardousCommodityDescription.cs | 95 ++++ ...zardousCommodityDescriptionPackingGroup.cs | 20 + ...HazardousCommodityInnerReceptacleDetail.cs | 22 + .../HazardousCommodityOptionDetail.cs | 32 ++ ...ousCommodityOptionDetailLabelTextOption.cs | 17 + .../HazardousCommodityPackagingDetail.cs | 31 ++ .../HazardousCommodityPackingDetail.cs | 31 ++ .../HazardousCommodityQuantityDetail.cs | 38 ++ ...dousCommodityQuantityDetailQuantityType.cs | 14 + .../HoldAtLocationDetail.cs | 36 ++ .../HoldAtLocationDetailLocationType.cs | 29 + .../HomeDeliveryPremiumDetail.cs | 34 ++ ...eryPremiumDetailHomedeliveryPremiumType.cs | 17 + .../InternationalControlledExportDetail.cs | 26 + ...InternationalControlledExportDetailType.cs | 41 ++ ...rnationalTrafficInArmsRegulationsDetail.cs | 25 + .../International_Dry_Ice_Rate_Quote.cs | 17 + .../International_Ground_Rate_Quote.cs | 17 + ...At_Location_with_Adult_Signature_Option.cs | 17 + .../International_Multi_Piece_Rate_Quote.cs | 17 + .../International_Priority_Rate_Quote.cs | 17 + .../International_Return_Rate_Quote.cs | 17 + .../Intra_Canada_Rate_Quote.cs | 17 + .../Intra_Europe_Rate_Quote.cs | 17 + ...Intra_India_Cash_On_Delivery_Rate_Quote.cs | 17 + .../Intra_Mexico_Express_Saver_Rate_Quote.cs | 17 + .../Models/RatesAndTransitTimes/Locale.cs | 31 ++ .../Models/RatesAndTransitTimes/Money.cs | 20 + .../Models/RatesAndTransitTimes/Money_1.cs | 31 ++ .../NotificationEventType.cs | 32 ++ .../RatesAndTransitTimes/OperationalDetail.cs | 193 +++++++ .../Models/RatesAndTransitTimes/Options.cs | 26 + .../RatesAndTransitTimes/PackageRateDetail.cs | 94 ++++ .../PackageSpecialServicesRequested.cs | 62 +++ ...pecialServicesRequestedPackageCODDetail.cs | 29 + ...uestedPackageCODDetailCodCollectionType.cs | 23 + ...ialServicesRequestedSignatureOptionType.cs | 23 + .../Models/RatesAndTransitTimes/Parameter.cs | 31 ++ .../RatesAndTransitTimes/ParsedPersonName.cs | 43 ++ .../Models/RatesAndTransitTimes/Party.cs | 25 + .../Models/RatesAndTransitTimes/Party_2.cs | 28 + .../Models/RatesAndTransitTimes/Payment.cs | 29 + .../RatesAndTransitTimes/PaymentType.cs | 11 + .../Models/RatesAndTransitTimes/Payor.cs | 25 + ...ndingShipmentProcessingOptionsRequested.cs | 25 + .../RatesAndTransitTimes/PhoneNumber.cs | 51 ++ .../Priority_Alert_Rate_Quote.cs | 17 + .../RatesAndTransitTimes/ProcessingOptions.cs | 11 + .../RatesAndTransitTimes/ProductName.cs | 37 ++ .../RatesAndTransitTimes/RateAddress.cs | 18 + .../RateAndTransitTimesReq.cs | 26 + .../RateAndTransitTimesResp.cs | 24 + .../RatesAndTransitTimes/RateDiscount.cs | 46 ++ .../RatesAndTransitTimes/RateDiscount_1.cs | 46 ++ .../Models/RatesAndTransitTimes/RateParty.cs | 12 + .../RatesAndTransitTimes/RateReplyDetail.cs | 70 +++ .../RateRequestControlParameters.cs | 36 ++ ...teRequestControlParametersRateSortOrder.cs | 17 + ...RequestControlParametersVariableOptions.cs | 20 + .../RatesAndTransitTimes/RateRequestType.cs | 23 + .../RatedPackageDetail.cs | 31 ++ .../RatedShipmentDetail.cs | 139 +++++ .../RatedShipmentDetailFreightChargeBasis.cs | 17 + .../RatedShipmentDetailRateType.cs | 35 ++ .../RatedShipmentDetailRatedWeightMethod.cs | 47 ++ .../RecommendedDocumentSpecification.cs | 25 + .../RequestePackageLineItemDimensions.cs | 35 ++ .../RequestedPackageLineItem.cs | 42 ++ .../RequestedRatePackageType.cs | 39 ++ .../RequestedRateServiceType.cs | 156 ++++++ .../RatesAndTransitTimes/RequestedShipment.cs | 116 ++++ ...RequestedShipmentCustomsClearanceDetail.cs | 45 ++ ...entCustomsClearanceDetailFreightOnValue.cs | 14 + .../RequestedShipmentPickupType.cs | 17 + .../RequestedShipmentSmartPostInfoDetail.cs | 46 ++ ...SmartPostInfoDetailAncillaryEndorsement.cs | 23 + ...estedShipmentSmartPostInfoDetailIndicia.cs | 23 + ...pmentSmartPostInfoDetailSpecialServices.cs | 11 + ...questedShipmentSpecialServicesRequested.cs | 49 ++ .../RatesAndTransitTimes/ResponsibleParty.cs | 11 + .../ServiceDescription.cs | 61 +++ .../ServiceSubOptionDetail.cs | 26 + ...viceSubOptionDetailSmartPostIndiciaType.cs | 23 + .../ServiceTypeDetailVO.cs | 44 ++ .../ServiceTypeDetailVOCarrierCode.cs | 26 + .../ShipmentDryIceDetail.cs | 28 + .../ShipmentLegRateDetail_1.cs | 85 +++ .../ShipmentRateDetail.cs | 107 ++++ .../ShipmentRateDetailRatingBasis.cs | 17 + ...ecialServicesRequestedShipmentCODDetail.cs | 48 ++ ...estedShipmentCODDetailCodCollectionType.cs | 23 + ...ntCODDetailReturnReferenceIndicatorType.cs | 20 + ...lServicesRequested_returnShipmentDetail.cs | 26 + ...equested_returnShipmentDetailReturnType.cs | 26 + .../SmartPost_Rate_Quote.cs | 17 + .../Models/RatesAndTransitTimes/SmsDetail.cs | 11 + .../StandaloneBatteryDetails.cs | 23 + ...daloneBatteryDetailsBatteryMaterialType.cs | 14 + .../Models/RatesAndTransitTimes/Surcharge.cs | 49 ++ .../RatesAndTransitTimes/Surcharge_1.cs | 46 ++ .../Models/RatesAndTransitTimes/Tax.cs | 43 ++ .../Models/RatesAndTransitTimes/Tax_1.cs | 43 ++ .../RatesAndTransitTimes/TransitDays.cs | 35 ++ .../TransitDaysMinimumTransitTime.cs | 74 +++ .../Models/RatesAndTransitTimes/Types.cs | 86 +++ .../US_Domestic_Multi_Piece_Rate_Quote.cs | 17 + ..._Domestic_Priority_Overnight_Rate_Quote.cs | 17 + .../US_Domestic_Rate_shop.cs | 17 + .../Models/RatesAndTransitTimes/UnitPrice.cs | 8 + .../UploadDocumentReferenceDetail.cs | 44 ++ ...loadDocumentReferenceDetailDocumentType.cs | 29 + .../VariableHandlingChargeDetail.cs | 53 ++ ...bleHandlingChargeDetailRateElementBasis.cs | 20 + ...riableHandlingChargeDetailRateLevelType.cs | 14 + .../VariableHandlingChargeDetailRateType.cs | 35 ++ .../VariableHandlingCharges.cs | 31 ++ .../Models/RatesAndTransitTimes/Weight.cs | 14 + .../Models/RatesAndTransitTimes/Weight_1.cs | 32 ++ .../RatesAndTransitTimes/Weight_1Units.cs | 14 + .../Models/RatesAndTransitTimes/Weight_1_2.cs | 22 + .../RatesAndTransitTimes/Weight_1_2Units.cs | 14 + .../Models/RatesAndTransitTimes/Weight_2.cs | 14 + .../Models/RatesAndTransitTimes/options2.cs | 17 + .../Models/RatesAndTransitTimes/options3.cs | 11 + .../Models/Ship/AdditionalLabelsDetail.cs | 29 + .../Models/Ship/AdditionalLabelsDetailType.cs | 41 ++ .../Models/Ship/AdditionalMeasures.cs | 28 + .../FedexApi/Models/Ship/Address.cs | 57 ++ .../FedexApi/Models/Ship/Address2.cs | 21 + .../FedexApi/Models/Ship/Address_1.cs | 46 ++ .../FedexApi/Models/Ship/AdrLicenseDetail.cs | 22 + .../FedexApi/Models/Ship/AlcoholDetail.cs | 32 ++ .../Ship/AlcoholDetailAlcoholRecipientType.cs | 14 + .../APIClients/FedexApi/Models/Ship/Alert.cs | 38 ++ .../FedexApi/Models/Ship/AlertType.cs | 14 + .../APIClients/FedexApi/Models/Ship/Alerts.cs | 17 + .../Models/Ship/AllowedSpecialService.cs | 14 + .../AsynchronousProcessingOptionType_1.cs | 17 + .../FedexApi/Models/Ship/Attributes.cs | 11 + .../Ship/BaseProcessOutputVO_ShipShipment.cs | 28 + .../FedexApi/Models/Ship/BatteryDetail.cs | 37 ++ .../Ship/BatteryDetailBatteryMaterialType.cs | 14 + .../Ship/BatteryDetailBatteryPackingType.cs | 14 + .../BatteryDetailBatteryRegulatoryType.cs | 11 + .../FedexApi/Models/Ship/BillingDetails.cs | 55 ++ .../FedexApi/Models/Ship/BinaryBarcode.cs | 31 ++ .../APIClients/FedexApi/Models/Ship/Broker.cs | 21 + .../FedexApi/Models/Ship/BrokerDetail.cs | 32 ++ .../FedexApi/Models/Ship/BrokerDetailType.cs | 11 + .../Ship/CODTransportationChargesDetail.cs | 47 ++ ...nsportationChargesDetailChargeLevelType.cs | 14 + ...ODTransportationChargesDetailChargeType.cs | 20 + ...ransportationChargesDetailRateLevelType.cs | 14 + .../CODTransportationChargesDetailRateType.cs | 17 + .../Models/Ship/CertificateOfOriginDetail.cs | 28 + .../FedexApi/Models/Ship/CommercialInvoice.cs | 96 ++++ .../Models/Ship/CommercialInvoiceDetail.cs | 28 + .../Ship/CommercialInvoiceShipmentPurpose.cs | 26 + ...alInvoiceTaxesOrMiscellaneousChargeType.cs | 26 + .../FedexApi/Models/Ship/Commodity.cs | 114 ++++ .../FedexApi/Models/Ship/CommodityPurpose.cs | 14 + .../Models/Ship/CompletedEtdDetail.cs | 37 ++ .../Ship/CompletedHazardousPackageDetail.cs | 61 +++ .../Ship/CompletedHazardousShipmentDetail.cs | 28 + .../Ship/CompletedHazardousSummaryDetail.cs | 25 + .../Ship/CompletedHoldAtLocationDetail.cs | 31 ++ .../Models/Ship/CompletedPackageDetail.cs | 61 +++ .../Models/Ship/CompletedShipmentDetail.cs | 76 +++ .../FedexApi/Models/Ship/Contact.cs | 49 ++ .../FedexApi/Models/Ship/Contact2.cs | 28 + .../FedexApi/Models/Ship/ContactAndAddress.cs | 25 + .../Models/Ship/ContactAndAddress_1.cs | 16 + .../FedexApi/Models/Ship/Contact_1.cs | 55 ++ .../FedexApi/Models/Ship/Contact_2.cs | 46 ++ .../FedexApi/Models/Ship/ContentRecord.cs | 43 ++ .../FedexApi/Models/Ship/CreateShipmentReq.cs | 53 ++ .../Models/Ship/CreateShipmentResp.cs | 25 + .../Models/Ship/CurrencyExchangeRate.cs | 37 ++ .../Models/Ship/CustomerImageUsage.cs | 40 ++ .../Models/Ship/CustomerImageUsageId.cs | 23 + .../CustomerImageUsageProvidedImageType.cs | 14 + .../Models/Ship/CustomerImageUsageType.cs | 14 + .../FedexApi/Models/Ship/CustomerReference.cs | 29 + .../Models/Ship/CustomerReferenceType.cs | 26 + .../Models/Ship/CustomerReference_1.cs | 29 + ...ustomerReference_1CustomerReferenceType.cs | 26 + .../Ship/CustomerSpecifiedLabelDetail.cs | 40 ++ .../Models/Ship/CustomsClearanceDetail.cs | 100 ++++ .../CustomsClearanceDetailFreightOnValue.cs | 14 + .../Ship/CustomsDeclarationStatementDetail.cs | 23 + .../Models/Ship/CustomsOptionDetail.cs | 32 ++ .../Models/Ship/CustomsOptionDetailType.cs | 38 ++ .../FedexApi/Models/Ship/Customs_Money.cs | 31 ++ .../Models/Ship/DangerousGoodsDetail.cs | 39 ++ .../Ship/DangerousGoodsDetailAccessibility.cs | 14 + .../Ship/DeliveryOnInvoiceAcceptanceDetail.cs | 15 + .../Models/Ship/DestinationControlDetail.cs | 39 ++ .../DestinationControlDetailStatementTypes.cs | 14 + .../FedexApi/Models/Ship/Dimensions.cs | 35 ++ .../FedexApi/Models/Ship/DimensionsUnits.cs | 14 + .../FedexApi/Models/Ship/DocTabContent.cs | 32 ++ .../Models/Ship/DocTabContentBarcoded.cs | 29 + .../Ship/DocTabContentBarcodedSymbology.cs | 47 ++ .../FedexApi/Models/Ship/DocTabContentType.cs | 23 + .../Models/Ship/DocTabContentZone001.cs | 25 + .../Models/Ship/DocTabZoneSpecification.cs | 50 ++ .../DocTabZoneSpecificationJustification.cs | 14 + .../Ship/DocumentFormatOptionsRequested.cs | 25 + .../Models/Ship/DocumentGenerationDetail.cs | 43 ++ .../Models/Ship/DocumentRequirementsDetail.cs | 37 ++ .../FedexApi/Models/Ship/ETDDetail.cs | 28 + .../FedexApi/Models/Ship/EmailLabelDetail.cs | 31 ++ .../Models/Ship/EmailOptionsRequested.cs | 25 + .../Ship/EmailOptionsRequestedOptions.cs | 17 + .../FedexApi/Models/Ship/EmailRecipient.cs | 43 ++ .../Models/Ship/EmailRecipientRole.cs | 14 + .../FedexApi/Models/Ship/ExportDetail.cs | 41 ++ .../Ship/ExportDetailB13AFilingOption.cs | 23 + .../Models/Ship/ExpressFreightDetail.cs | 37 ++ .../FedexApi/Models/Ship/FixedValue.cs | 20 + .../Ship/GeneralAgencyAgreementDetail.cs | 22 + .../Ship/HazardousCommodityContent001.cs | 34 ++ .../Ship/HazardousCommodityDescription01.cs | 99 ++++ ...rdousCommodityDescription01PackingGroup.cs | 20 + ...zardousCommodityInnerReceptacleDetail01.cs | 19 + .../Ship/HazardousCommodityOptionDetail01.cs | 34 ++ ...sCommodityOptionDetail01LabelTextOption.cs | 17 + .../Ship/HazardousCommodityPackingDetail01.cs | 31 ++ .../Ship/HazardousCommodityQuantityDetail.cs | 39 ++ .../HazardousCommodityQuantityDetail002.cs | 39 ++ ...sCommodityQuantityDetail002QuantityType.cs | 14 + ...dousCommodityQuantityDetailQuantityType.cs | 14 + .../Models/Ship/HoldAtLocationDetail.cs | 36 ++ .../Ship/HoldAtLocationDetailLocationType.cs | 29 + .../Models/Ship/HomeDeliveryPremiumDetail.cs | 35 ++ ...eryPremiumDetailHomedeliveryPremiumType.cs | 17 + .../InternationalControlledExportDetail.cs | 51 ++ ...InternationalControlledExportDetailType.cs | 32 ++ ...rnationalTrafficInArmsRegulationsDetail.cs | 17 + .../Models/Ship/JustContactAndAddress.cs | 22 + .../Models/Ship/LABELRESPONSEOPTIONS.cs | 17 + .../FedexApi/Models/Ship/LabelResponseVO.cs | 68 +++ .../Models/Ship/LabelResponseVOContentType.cs | 56 ++ .../Models/Ship/LabelSpecification.cs | 81 +++ .../Ship/LabelSpecificationImageType.cs | 20 + .../Ship/LabelSpecificationLabelFormatType.cs | 14 + .../Ship/LabelSpecificationLabelOrder.cs | 14 + ...elSpecificationLabelPrintingOrientation.cs | 14 + .../Ship/LabelSpecificationLabelRotation.cs | 20 + .../Ship/LabelSpecificationLabelStockType.cs | 59 ++ .../Models/Ship/LicenseOrPermitDetail.cs | 37 ++ .../FedexApi/Models/Ship/MaskedData.cs | 35 ++ .../FedexApi/Models/Ship/MasterTrackingId.cs | 43 ++ .../FedexApi/Models/Ship/Message.cs | 43 ++ .../FedexApi/Models/Ship/MessageParameter.cs | 28 + .../APIClients/FedexApi/Models/Ship/Money.cs | 22 + .../Models/Ship/NetExplosiveDetail.cs | 37 ++ .../Models/Ship/NotificationEventType.cs | 35 ++ .../FedexApi/Models/Ship/Op900Detail.cs | 34 ++ .../Models/Ship/OpenShipmentAction.cs | 17 + .../Models/Ship/OperationalInstructions.cs | 28 + .../FedexApi/Models/Ship/Options.cs | 11 + .../FedexApi/Models/Ship/PackageBarcodes.cs | 31 ++ .../FedexApi/Models/Ship/PackageCODDetail.cs | 25 + .../Models/Ship/PackageOperationalDetail.cs | 34 ++ .../FedexApi/Models/Ship/PackageRateDetail.cs | 100 ++++ .../FedexApi/Models/Ship/PackageRating.cs | 37 ++ .../Ship/PackageSpecialServicesRequested.cs | 68 +++ ...ialServicesRequestedSignatureOptionType.cs | 23 + .../Models/Ship/PartyAccountNumber.cs | 16 + .../FedexApi/Models/Ship/PartyAddress.cs | 50 ++ .../FedexApi/Models/Ship/PartyAddress_1.cs | 61 +++ .../FedexApi/Models/Ship/PartyAddress_2.cs | 50 ++ .../FedexApi/Models/Ship/PartyContact.cs | 41 ++ .../FedexApi/Models/Ship/PartyContact_1.cs | 55 ++ .../FedexApi/Models/Ship/Party_1.cs | 32 ++ .../FedexApi/Models/Ship/Party_2.cs | 34 ++ .../FedexApi/Models/Ship/Party_3.cs | 28 + .../FedexApi/Models/Ship/Payment.cs | 21 + .../FedexApi/Models/Ship/PaymentType.cs | 20 + .../FedexApi/Models/Ship/Payment_1.cs | 32 ++ .../Models/Ship/Payment_1PaymentType.cs | 20 + .../APIClients/FedexApi/Models/Ship/Payor.cs | 14 + .../FedexApi/Models/Ship/Payor_1.cs | 22 + .../Ship/PendingShipmentAccessDetail.cs | 25 + .../Ship/PendingShipmentAccessorDetail.cs | 43 ++ .../Models/Ship/PendingShipmentDetail.cs | 40 ++ ...endingShipmentDetailPendingShipmentType.cs | 11 + ...ndingShipmentProcessingOptionsRequested.cs | 16 + .../FedexApi/Models/Ship/PhoneNumber1.cs | 43 ++ .../FedexApi/Models/Ship/PieceResponse.cs | 134 +++++ .../Ship/PieceResponseServiceCategory.cs | 29 + .../Models/Ship/PriorityAlertDetail.cs | 31 ++ .../FedexApi/Models/Ship/ProcessingOptions.cs | 11 + .../FedexApi/Models/Ship/ProductName.cs | 37 ++ .../FedexApi/Models/Ship/RateDiscount.cs | 43 ++ .../FedexApi/Models/Ship/RateRequestType.cs | 26 + .../FedexApi/Models/Ship/Recipient.cs | 13 + .../Models/Ship/RecipientCustomsId.cs | 32 ++ .../Models/Ship/RecipientCustomsIdType.cs | 17 + .../FedexApi/Models/Ship/RecipientsParty.cs | 30 ++ .../Ship/RecommendedDocumentSpecification.cs | 26 + .../Models/Ship/RegulatoryAdvisoryDetail.cs | 25 + .../Models/Ship/RegulatoryControls.cs | 20 + .../Ship/RegulatoryLabelContentDetail.cs | 30 ++ ...toryLabelContentDetailGenerationOptions.cs | 17 + .../Ship/RegulatoryLabelContentDetailType.cs | 11 + .../Models/Ship/RegulatoryProhibition.cs | 58 ++ .../FedexApi/Models/Ship/RegulatoryWaiver.cs | 37 ++ .../Models/Ship/RequestedDocumentTypes.cs | 50 ++ .../Models/Ship/RequestedPackageLineItem.cs | 74 +++ .../FedexApi/Models/Ship/RequestedShipment.cs | 146 +++++ .../Ship/RequestedShipmentPackageType.cs | 39 ++ .../Ship/RequestedShipmentPickupType.cs | 17 + .../Ship/RequestedShipmentServiceType.cs | 156 ++++++ .../RequestedShipmentSpecialServiceType.cs | 240 +++++++++ .../Models/Ship/ResponsiblePartyParty.cs | 20 + .../FedexApi/Models/Ship/RetrieveDateRange.cs | 31 ++ .../Models/Ship/ReturnAssociationDetail.cs | 23 + .../FedexApi/Models/Ship/ReturnEmailDetail.cs | 24 + .../Models/Ship/ReturnInstructionsDetail.cs | 28 + .../Ship/ReturnMerchandiseAuthorization.cs | 16 + .../Models/Ship/ReturnShipmentDetail.cs | 27 + .../Ship/ReturnShipmentDetailReturnType.cs | 14 + .../Ship/ReturnShippingDocumentFormat.cs | 56 ++ .../ReturnShippingDocumentFormatDocType.cs | 14 + .../ReturnShippingDocumentFormatStockType.cs | 11 + .../Models/Ship/ServiceDescription.cs | 67 +++ .../Models/Ship/ShipEmailDispositionDetail.cs | 37 ++ .../Models/Ship/ShipMergeLabelDocOption.cs | 17 + .../ShipShipmentEMailNotificationDetail.cs | 38 ++ ...tEMailNotificationDetailAggregationType.cs | 14 + .../ShipShipmentEmailNotificationRecipient.cs | 66 +++ ...RecipientEmailNotificationRecipientType.cs | 23 + ...ficationRecipientNotificationFormatType.cs | 14 + ...ilNotificationRecipientNotificationType.cs | 11 + .../Models/Ship/ShipmentAdvisoryDetails.cs | 22 + .../FedexApi/Models/Ship/ShipmentCODDetail.cs | 64 +++ .../ShipmentCODDetailCodCollectionType.cs | 23 + ...ntCODDetailReturnReferenceIndicatorType.cs | 20 + .../Models/Ship/ShipmentDryIceDetail.cs | 35 ++ .../Models/Ship/ShipmentDryIceDetail_1.cs | 28 + ...hipmentDryIceProcessingOptionsRequested.cs | 25 + .../Models/Ship/ShipmentLegRateDetail.cs | 178 ++++++ .../Models/Ship/ShipmentOperationalDetail.cs | 187 +++++++ .../Models/Ship/ShipmentRateDetail.cs | 172 ++++++ .../FedexApi/Models/Ship/ShipmentRating.cs | 31 ++ .../Ship/ShipmentSpecialServicesRequested.cs | 49 ++ .../Models/Ship/ShipperAccountNumber.cs | 26 + .../FedexApi/Models/Ship/ShipperParty.cs | 23 + .../Ship/ShippingDocumentDispositionDetail.cs | 29 + ...ocumentDispositionDetailDispositionType.cs | 32 ++ .../Ship/ShippingDocumentEmailDetail.cs | 39 ++ .../ShippingDocumentEmailDetailGrouping.cs | 14 + .../Ship/ShippingDocumentEmailRecipient.cs | 30 ++ ...pingDocumentEmailRecipientRecipientType.cs | 29 + .../Models/Ship/ShippingDocumentFormat.cs | 56 ++ .../Ship/ShippingDocumentFormatDocType.cs | 11 + .../Ship/ShippingDocumentFormatStockType.cs | 11 + .../Ship/ShippingDocumentSpecification.cs | 46 ++ .../Models/Ship/ShippingDocumentTypes.cs | 50 ++ .../Models/Ship/SignatureOptionDetail.cs | 25 + .../Models/Ship/SmartPostInfoDetail.cs | 48 ++ ...SmartPostInfoDetailAncillaryEndorsement.cs | 23 + .../Models/Ship/SmartPostInfoDetailIndicia.cs | 23 + .../SmartPostInfoDetailSpecialServices.cs | 11 + .../FedexApi/Models/Ship/SoldToParty.cs | 28 + .../Models/Ship/StandaloneBatteryDetails.cs | 23 + ...daloneBatteryDetailsBatteryMaterialType.cs | 14 + .../FedexApi/Models/Ship/StringBarcode.cs | 31 ++ .../FedexApi/Models/Ship/Surcharge.cs | 43 ++ .../APIClients/FedexApi/Models/Ship/Tax.cs | 43 ++ .../Models/Ship/TaxpayerIdentification.cs | 40 ++ .../Ship/TaxpayerIdentificationTinType.cs | 26 + .../FedexApi/Models/Ship/TrackingId.cs | 43 ++ .../Models/Ship/TransactionDetailVO.cs | 28 + .../Ship/TransactionShipmentOutputVO.cs | 64 +++ .../APIClients/FedexApi/Models/Ship/Types.cs | 86 +++ .../Ship/UploadDocumentReferenceDetail.cs | 35 ++ ...loadDocumentReferenceDetailDocumentType.cs | 29 + .../Ship/UploadDocumentReferenceDetail_1.cs | 44 ++ ...adDocumentReferenceDetail_1DocumentType.cs | 32 ++ .../Ship/UsmcaCertificationOfOriginDetail.cs | 61 +++ ...ionOfOriginDetailCertifierSpecification.cs | 17 + ...tionOfOriginDetailImporterSpecification.cs | 14 + ...tionOfOriginDetailProducerSpecification.cs | 17 + ...rcialInvoiceCertificationOfOriginDetail.cs | 58 ++ ...ionOfOriginDetailCertifierSpecification.cs | 17 + ...tionOfOriginDetailImporterSpecification.cs | 14 + ...tionOfOriginDetailProducerSpecification.cs | 17 + .../FedexApi/Models/Ship/UsmcaDetail.cs | 26 + .../Models/Ship/UsmcaDetailOriginCriterion.cs | 23 + .../Ship/UsmcaLowValueStatementDetail.cs | 33 ++ ...UsmcaLowValueStatementDetailCustomsRole.cs | 14 + .../ValidatedHazardousCommodityContent.cs | 40 ++ .../ValidatedHazardousCommodityDescription.cs | 109 ++++ .../Ship/ValidatedHazardousContainer.cs | 31 ++ .../Ship/VariableHandlingChargeDetail.cs | 52 ++ ...bleHandlingChargeDetailRateElementBasis.cs | 20 + ...riableHandlingChargeDetailRateLevelType.cs | 14 + .../VariableHandlingChargeDetailRateType.cs | 35 ++ .../APIClients/FedexApi/Models/Ship/Weight.cs | 33 ++ .../FedexApi/Models/Ship/WeightUnits.cs | 14 + .../FedexApi/Models/Ship/Weight_1.cs | 32 ++ .../FedexApi/Models/Ship/Weight_1Units.cs | 14 + .../FedexApi/Models/Ship/Weight_3.cs | 33 ++ .../FedexApi/Models/Ship/Weight_3Units.cs | 11 + .../FedexApi/Models/Ship/Weight_4.cs | 33 ++ .../FedexApi/Models/Ship/Weight_4Units.cs | 11 + .../FedexApi/Models/Ship/options2.cs | 17 + .../FedexApi/Models/Ship/options3.cs | 26 + .../Services/RatesAndTransitTimesService.cs | 193 +++++++ .../FedexApi/Services/RequestService.cs | 360 +++++++++++++ .../FedexApi/Services/ShipService.cs | 193 +++++++ .../Tests/RatesAndTransitTimesTests.cs | 75 +++ .../APIClients/FedexApi/Tests/ShipTests.cs | 108 ++++ .../APIClients/FedexApi/Tests/TestBase.cs | 19 + .../FedexApi/Utils/JsonConverters.cs | 58 ++ TradeManageNew/TradeManageNew.csproj | 507 +++++++++++++++++- 507 files changed, 18727 insertions(+), 1 deletion(-) create mode 100644 TradeManageNew/APIClients/FedexApi/FedexAPIClient.cs create mode 100644 TradeManageNew/APIClients/FedexApi/FedexAPIClientMisc.cs create mode 100644 TradeManageNew/APIClients/FedexApi/FedexCredential.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/ErrorResponse.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/FedexAPIException.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AccountNumber.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address_2.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlcoholDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlcoholDetailAlcoholRecipientType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Alert.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlertType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Alternate_Currency_Rate_Quote.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AncillaryFeesAndTaxes.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Anonymous.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BaseProcessOutputVO.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailMaterial.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailPacking.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailRegulatorySubType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BillingWeight.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailBroker.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailBroker_RateReply.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail_RateReply.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail_RateReplyType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Brokeraddress.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailChargeLevelType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailChargeType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailRateLevelType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailRateType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError401.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError403.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError404.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError500.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError503.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommercialInvoice.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommercialInvoiceShipmentPurpose.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Commit.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommitDaysInTransit.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommitGuaranteedType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Commodity.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Contact.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ContactAndAddress.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Contact_2.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CurrencyExchangeRate.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CustomerMessage.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainer.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainerPackingType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainerRadioactiveContainerClass.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetailAccessibility.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetailRegulation.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DateDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DelayDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient_address.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient_contact.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Dimensions_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Dimensions_1Units.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EMailNotificationDetail_PrintedReference.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EMailNotificationDetail_PrintedReferencePrintedReferenceType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EdtCharge.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EdtTaxDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailLabelDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipient.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientNotificationFormatType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientNotificationType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailOptionsRequested.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailRecipient.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailRecipientRole.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO401.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO403.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO404.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO500.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO503.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Express_Freight_Rate_Quote.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Express_Freight_Saturday_Pickup_Rate_Quote.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/FDGSamplePayloadRateResourceDetailsIntraEurope.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Ground_Home_Delivery_Appointment_Delivery_Rate_Quote.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityContent.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityDescription.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityDescriptionPackingGroup.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityInnerReceptacleDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityOptionDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityOptionDetailLabelTextOption.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityPackagingDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityPackingDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityQuantityDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityQuantityDetailQuantityType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HoldAtLocationDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HoldAtLocationDetailLocationType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HomeDeliveryPremiumDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HomeDeliveryPremiumDetailHomedeliveryPremiumType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalControlledExportDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalControlledExportDetailType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalTrafficInArmsRegulationsDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Dry_Ice_Rate_Quote.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Ground_Rate_Quote.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Hold_At_Location_with_Adult_Signature_Option.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Multi_Piece_Rate_Quote.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Priority_Rate_Quote.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Return_Rate_Quote.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Canada_Rate_Quote.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Europe_Rate_Quote.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_India_Cash_On_Delivery_Rate_Quote.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Mexico_Express_Saver_Rate_Quote.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Locale.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Money.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Money_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/NotificationEventType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/OperationalDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Options.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageRateDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequested.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedPackageCODDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedPackageCODDetailCodCollectionType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedSignatureOptionType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Parameter.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ParsedPersonName.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Party.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Party_2.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Payment.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PaymentType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Payor.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PendingShipmentProcessingOptionsRequested.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PhoneNumber.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Priority_Alert_Rate_Quote.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ProcessingOptions.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ProductName.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAddress.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAndTransitTimesReq.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAndTransitTimesResp.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateDiscount.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateDiscount_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateParty.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateReplyDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParameters.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParametersRateSortOrder.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParametersVariableOptions.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedPackageDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailFreightChargeBasis.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailRateType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailRatedWeightMethod.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RecommendedDocumentSpecification.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestePackageLineItemDimensions.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedPackageLineItem.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedRatePackageType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedRateServiceType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipment.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentCustomsClearanceDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentCustomsClearanceDetailFreightOnValue.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentPickupType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailAncillaryEndorsement.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailIndicia.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailSpecialServices.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSpecialServicesRequested.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ResponsibleParty.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceDescription.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceSubOptionDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceSubOptionDetailSmartPostIndiciaType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceTypeDetailVO.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceTypeDetailVOCarrierCode.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentDryIceDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentLegRateDetail_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentRateDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentRateDetailRatingBasis.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetailCodCollectionType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetailReturnReferenceIndicatorType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequested_returnShipmentDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequested_returnShipmentDetailReturnType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/SmartPost_Rate_Quote.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/SmsDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/StandaloneBatteryDetails.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/StandaloneBatteryDetailsBatteryMaterialType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Surcharge.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Surcharge_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Tax.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Tax_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/TransitDays.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/TransitDaysMinimumTransitTime.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Types.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Multi_Piece_Rate_Quote.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Priority_Overnight_Rate_Quote.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Rate_shop.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UnitPrice.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UploadDocumentReferenceDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UploadDocumentReferenceDetailDocumentType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateElementBasis.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateLevelType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingCharges.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1Units.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1_2.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1_2Units.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_2.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/options2.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/options3.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalLabelsDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalLabelsDetailType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalMeasures.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Address.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Address2.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Address_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AdrLicenseDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AlcoholDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AlcoholDetailAlcoholRecipientType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Alert.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AlertType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Alerts.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AllowedSpecialService.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/AsynchronousProcessingOptionType_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Attributes.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BaseProcessOutputVO_ShipShipment.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryMaterialType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryPackingType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryRegulatoryType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BillingDetails.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BinaryBarcode.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Broker.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BrokerDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/BrokerDetailType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailChargeLevelType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailChargeType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailRateLevelType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailRateType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CertificateOfOriginDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoice.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceShipmentPurpose.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceTaxesOrMiscellaneousChargeType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Commodity.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CommodityPurpose.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedEtdDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousPackageDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousShipmentDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousSummaryDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHoldAtLocationDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedPackageDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedShipmentDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Contact.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Contact2.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ContactAndAddress.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ContactAndAddress_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Contact_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Contact_2.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ContentRecord.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CreateShipmentReq.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CreateShipmentResp.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CurrencyExchangeRate.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsage.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageId.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageProvidedImageType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReferenceType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference_1CustomerReferenceType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerSpecifiedLabelDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsClearanceDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsClearanceDetailFreightOnValue.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsDeclarationStatementDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsOptionDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsOptionDetailType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Customs_Money.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DangerousGoodsDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DangerousGoodsDetailAccessibility.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DeliveryOnInvoiceAcceptanceDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DestinationControlDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DestinationControlDetailStatementTypes.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Dimensions.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DimensionsUnits.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContent.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentBarcoded.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentBarcodedSymbology.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentZone001.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabZoneSpecification.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabZoneSpecificationJustification.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentFormatOptionsRequested.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentGenerationDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentRequirementsDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ETDDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/EmailLabelDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/EmailOptionsRequested.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/EmailOptionsRequestedOptions.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/EmailRecipient.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/EmailRecipientRole.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ExportDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ExportDetailB13AFilingOption.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ExpressFreightDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/FixedValue.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/GeneralAgencyAgreementDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityContent001.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityDescription01.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityDescription01PackingGroup.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityInnerReceptacleDetail01.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityOptionDetail01.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityOptionDetail01LabelTextOption.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityPackingDetail01.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail002.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail002QuantityType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetailQuantityType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HoldAtLocationDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HoldAtLocationDetailLocationType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HomeDeliveryPremiumDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/HomeDeliveryPremiumDetailHomedeliveryPremiumType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalControlledExportDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalControlledExportDetailType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalTrafficInArmsRegulationsDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/JustContactAndAddress.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LABELRESPONSEOPTIONS.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelResponseVO.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelResponseVOContentType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecification.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationImageType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelFormatType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelOrder.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelPrintingOrientation.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelRotation.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelStockType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/LicenseOrPermitDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/MaskedData.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/MasterTrackingId.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Message.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/MessageParameter.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Money.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/NetExplosiveDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/NotificationEventType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Op900Detail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/OpenShipmentAction.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/OperationalInstructions.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Options.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PackageBarcodes.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PackageCODDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PackageOperationalDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PackageRateDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PackageRating.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PackageSpecialServicesRequested.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PackageSpecialServicesRequestedSignatureOptionType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAccountNumber.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress_2.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PartyContact.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PartyContact_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Party_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Party_2.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Party_3.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Payment.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PaymentType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Payment_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Payment_1PaymentType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Payor.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Payor_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentAccessDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentAccessorDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentDetailPendingShipmentType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentProcessingOptionsRequested.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PhoneNumber1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PieceResponse.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PieceResponseServiceCategory.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/PriorityAlertDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ProcessingOptions.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ProductName.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RateDiscount.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RateRequestType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Recipient.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientCustomsId.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientCustomsIdType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientsParty.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RecommendedDocumentSpecification.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryAdvisoryDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryControls.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetailGenerationOptions.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetailType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryProhibition.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryWaiver.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedDocumentTypes.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedPackageLineItem.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipment.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentPackageType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentPickupType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentServiceType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentSpecialServiceType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ResponsiblePartyParty.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/RetrieveDateRange.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnAssociationDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnEmailDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnInstructionsDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnMerchandiseAuthorization.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShipmentDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShipmentDetailReturnType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormat.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormatDocType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormatStockType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ServiceDescription.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipEmailDispositionDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipMergeLabelDocOption.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEMailNotificationDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEMailNotificationDetailAggregationType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipient.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientEmailNotificationRecipientType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientNotificationFormatType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientNotificationType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentAdvisoryDetails.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetailCodCollectionType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetailReturnReferenceIndicatorType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceDetail_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceProcessingOptionsRequested.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentLegRateDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentOperationalDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentRateDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentRating.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentSpecialServicesRequested.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipperAccountNumber.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShipperParty.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentDispositionDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentDispositionDetailDispositionType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailDetailGrouping.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailRecipient.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailRecipientRecipientType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormat.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormatDocType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormatStockType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentSpecification.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentTypes.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/SignatureOptionDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailAncillaryEndorsement.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailIndicia.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailSpecialServices.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/SoldToParty.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/StandaloneBatteryDetails.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/StandaloneBatteryDetailsBatteryMaterialType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/StringBarcode.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Surcharge.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Tax.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/TaxpayerIdentification.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/TaxpayerIdentificationTinType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/TrackingId.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/TransactionDetailVO.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/TransactionShipmentOutputVO.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Types.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetailDocumentType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail_1DocumentType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailCertifierSpecification.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailImporterSpecification.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailProducerSpecification.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailCertifierSpecification.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailImporterSpecification.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailProducerSpecification.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaDetailOriginCriterion.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaLowValueStatementDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaLowValueStatementDetailCustomsRole.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousCommodityContent.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousCommodityDescription.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousContainer.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetail.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateElementBasis.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateLevelType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateType.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Weight.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/WeightUnits.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_1.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_1Units.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_3.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_3Units.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_4.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_4Units.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/options2.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Models/Ship/options3.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Services/RatesAndTransitTimesService.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Services/RequestService.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Services/ShipService.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Tests/RatesAndTransitTimesTests.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Tests/ShipTests.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Tests/TestBase.cs create mode 100644 TradeManageNew/APIClients/FedexApi/Utils/JsonConverters.cs diff --git a/TradeManageNew/APIClients/FedexApi/FedexAPIClient.cs b/TradeManageNew/APIClients/FedexApi/FedexAPIClient.cs new file mode 100644 index 0000000..116290b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/FedexAPIClient.cs @@ -0,0 +1,51 @@ +using System; +using TradeManageNew.APIClients.FedexApi.Services; + +namespace TradeManageNew.APIClients.FedexApi +{ + public class FedexAPIClient + { + public FedexAPIClient(FedexCredential credential) + { + if (credential is null) + { + throw new Exception("凭证信息不能为空,请检查"); + } + + if (string.IsNullOrEmpty(credential.ClientId)) + { + throw new Exception("ClientId不能为空,请检查"); + } + + if (string.IsNullOrEmpty(credential.ClientSecret)) + { + throw new Exception("ClientSecret不能为空,请检查"); + } + + Credential = credential; + + Ship = new ShipService(credential); + RatesAndTransitTimes = new RatesAndTransitTimesService(credential); + } + + public readonly FedexCredential Credential; + + #region Ship + + /// + /// 官方API文档 https://developer.fedex.com.cn/api/en-us/catalog/ship/v1/docs.html + /// + public ShipService Ship { get; } + + #endregion + + #region RatesAndTransitTimes + + /// + /// 官方API文档 https://developer.fedex.com.cn/api/en-us/catalog/rate/v1/docs.html + /// + public RatesAndTransitTimesService RatesAndTransitTimes { get; } + + #endregion + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/FedexAPIClientMisc.cs b/TradeManageNew/APIClients/FedexApi/FedexAPIClientMisc.cs new file mode 100644 index 0000000..2b17273 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/FedexAPIClientMisc.cs @@ -0,0 +1,67 @@ +namespace TradeManageNew.APIClients.FedexApi +{ + public static class FedexAPIClientMisc + { + /// + /// 沙箱环境地址 + /// + public const string SANDBOX_URL = "https://apis-sandbox.fedex.com"; + + /// + /// 生产环境地址 + /// + public const string PRODUCTION_URL = "https://apis.fedex.com"; + + /// + /// 设置西部仓库账户沙箱环境凭证 + /// + /// + public static FedexCredential SetWestSandBoxCredential(this FedexCredential credential) + { + credential.ClientId = "l7c3eeb4b319e94d329c6a29cd7cb4ca60"; + credential.ClientSecret = "82ab698a91244d9d80038d56b7502222"; + credential.AccountNumber = "740561073"; + + return credential; + } + + /// + /// 设置西部仓库账户正式环境凭证 + /// + /// + public static FedexCredential SetWestProductionCredential(this FedexCredential credential) + { + credential.ClientId = "l79b85927590ba4f9aa4435b6711c6a4e5"; + credential.ClientSecret = "9c81856004734312b4eea86652c89d12"; + credential.AccountNumber = "910845691"; + + return credential; + } + + /// + /// 设置东部仓库账户沙箱环境凭证 + /// + /// + public static FedexCredential SetEastSandBoxCredential(this FedexCredential credential) + { + credential.ClientId = "l7eca17acbff47442c8771431483457104"; + credential.ClientSecret = "ab05476bb62242e5bbef5ab87bfd0168"; + credential.AccountNumber = "740561073"; + + return credential; + } + + /// + /// 设置东部仓库账户正式环境凭证 + /// + /// + public static FedexCredential SetEastProductionCredential(this FedexCredential credential) + { + credential.ClientId = "l72a19b2aaee2e43b5b2eae3bd8f1055a0"; + credential.ClientSecret = "7db3f2d302b44f298e7766c781abbd73"; + credential.AccountNumber = "896756010"; + + return credential; + } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/FedexCredential.cs b/TradeManageNew/APIClients/FedexApi/FedexCredential.cs new file mode 100644 index 0000000..8cec8d2 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/FedexCredential.cs @@ -0,0 +1,36 @@ +namespace TradeManageNew.APIClients.FedexApi +{ + public class FedexCredential + { + public string ClientId { get; set; } + + public string ClientSecret { get; set; } + + public string ChildKey { get; set; } + + public string ChildSecret { get; set; } + + public string AccountNumber { get; set; } + + public string Host { get; set; } + + public bool IsDebugMode { get; set; } + + /// + /// 是否把返回结果读取为字符串 + /// 默认不读取,直接流接收 + /// + public bool ReadResponseAsString { get; set; } + + /// + /// 初始化凭证信息 + /// + /// 是否测试模式 + public FedexCredential(bool isDebugMode = false) + { + IsDebugMode = isDebugMode; + + Host = isDebugMode ? FedexAPIClientMisc.SANDBOX_URL : FedexAPIClientMisc.PRODUCTION_URL; + } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/ErrorResponse.cs b/TradeManageNew/APIClients/FedexApi/Models/ErrorResponse.cs new file mode 100644 index 0000000..cf1c9c0 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/ErrorResponse.cs @@ -0,0 +1,63 @@ +namespace TradeManageNew.APIClients.FedexApi.Models +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public class ErrorResponse + { + /// + /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: bc95c0e4-b33e-42a2-80d2-334282b5d37a + /// + [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, + NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TransactionId { get; set; } + + /// + /// Indicates error details when suspicious files, potential exploits and viruses are found while scanning files, directories and user accounts. This includes code, message and error parameters. + /// + [Newtonsoft.Json.JsonProperty("errors", Required = Newtonsoft.Json.Required.Default, + NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Errors { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public class CXSError + { + /// + /// Indicates the error code.<br>Example: NOT.FOUND.ERROR + /// + [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, + NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Code { get; set; } + + /// + /// List of parameters which indicates the properties of the alert message. + /// + [Newtonsoft.Json.JsonProperty("parameterList", Required = Newtonsoft.Json.Required.Default, + NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection ParameterList { get; set; } + + /// + /// Indicates the API error alert message.<br>Example: We are unable to process this request. Please try again later or contact FedEx Customer Service. + /// + [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, + NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Message { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public class Parameter + { + /// + /// Indicates the error option to be applied. + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, + NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Value { get; set; } + + /// + /// Indicates the value associated with the key. + /// + [Newtonsoft.Json.JsonProperty("key", Required = Newtonsoft.Json.Required.Default, + NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Key { get; set; } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/FedexAPIException.cs b/TradeManageNew/APIClients/FedexApi/Models/FedexAPIException.cs new file mode 100644 index 0000000..bbb2d69 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/FedexAPIException.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models +{ + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public class FedexAPIException : System.Exception + { + public int StatusCode { get; private set; } + + public string Response { get; private set; } + + public System.Collections.Generic.IReadOnlyDictionary> Headers { get; private set; } + + public FedexAPIException(string message, int statusCode, string response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Exception innerException) + : base(message + "\n\nStatus: " + statusCode + "\nResponse: \n" + ((response == null) ? "(null)" : response.Substring(0, response.Length >= 512 ? 512 : response.Length)), innerException) + { + StatusCode = statusCode; + Response = response; + Headers = headers; + } + + public override string ToString() + { + return string.Format("HTTP Response: \n\n{0}\n\n{1}", Response, base.ToString()); + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public class FedexAPIException : FedexAPIException + { + public TResult Result { get; private set; } + + public FedexAPIException(string message, int statusCode, string response, System.Collections.Generic.IReadOnlyDictionary> headers, TResult result, System.Exception innerException) + : base(message, statusCode, response, headers, innerException) + { + Result = result; + } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AccountNumber.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AccountNumber.cs new file mode 100644 index 0000000..177bf5c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AccountNumber.cs @@ -0,0 +1,16 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// This is the Account number details.<br><i>Note:<ul><li>If the paymentType is Sender, then the account number is optional in shippingChargesPayment.</li><li>In case if this is shipping account number, do use the account number used for creating Auth Token.</li></ul> + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", + "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public class AccountNumber + { + /// + /// This is the account number. Maximum Length is 9. <br>Example: Your account number + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Value { get; set; } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address.cs new file mode 100644 index 0000000..274ba40 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address.cs @@ -0,0 +1,49 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// This is detailed information on physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the U.S.). + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Address + { + /// + /// This is a placeholder for City Name. <br> Example: Beverly Hills + /// + [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string City { get; set; } + + /// + /// This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2. <br> Example: CA <br><a onclick='loadDocReference("canadaprovincecodes")'>Click here to see State Or Province Code</a> + /// + [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StateOrProvinceCode { get; set; } + + /// + /// Indicate the Postal code. This is optional for non postal-aware countries. Maximum length is 10.<br> Example: 65247<br><a onclick='loadDocReference("postalawarecountries")'>Click here to see Postal aware countries</a> + /// + [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PostalCode { get; set; } + + /// + /// This is the two-letter country code. Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>Click here to see Country Codes</a> + /// + [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CountryCode { get; set; } + + /// + /// Indicate whether this address is residential (as opposed to commercial). <br> Valid values are TRUE and FALSE. + /// + [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Residential { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address_1.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address_1.cs new file mode 100644 index 0000000..7545da7 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address_1.cs @@ -0,0 +1,49 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// This is detailed information on physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the US). Country code is required. Postal code is required for postal aware countries. State or province code is mandatory for Puerto Rico. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Address_1 + { + /// + /// Specify name of city, town, etc.<br> Example: Beverly Hills + /// + [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string City { get; set; } + + /// + /// Specify State or province code. Maximum length is 2.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.<br> Example: CA <br><a onclick='loadDocReference("canadaprovincecodes")'>Click here to see State Or Province Codes</a> + /// + [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StateOrProvinceCode { get; set; } + + /// + /// Specify the postal code. This is optional for non postal- aware countries. Maximum length is 10.<br> Example: 65247<br><a onclick='loadDocReference("postalawarecountries")'>Click here to see Postal aware countries</a> + /// + [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PostalCode { get; set; } + + /// + /// The two-letter country code. Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>Click here to see Country Codes</a> + /// + [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CountryCode { get; set; } + + /// + /// Indicate whether this address is residential (as opposed to commercial). + /// + [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Residential { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address_2.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address_2.cs new file mode 100644 index 0000000..1c22a09 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Address_2.cs @@ -0,0 +1,39 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// This is detailed information on physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the U.S.). + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Address_2 + { + /// + /// This is a placeholder for City Name. <br> Example: Beverly Hills + /// + [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string City { get; set; } + + /// + /// This is a placeholder for State or Province code. State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2 .<br> Example: CA <br><a onclick='loadDocReference("canadaprovincecodes")'>Click here to see State Or Province Code</a> + /// + [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StateOrProvinceCode { get; set; } + + /// + /// Indicate the Postal code. This is optional for non postal-aware countries. Maximum length is 10.<br> Example: 65247<br><a onclick='loadDocReference("postalawarecountries")'>Click here to see Postal aware countries</a> + /// + [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PostalCode { get; set; } + + /// + /// This is the two-letter country code. Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>Click here to see Country Codes</a> + /// + [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CountryCode { get; set; } + + /// + /// Indicate whether this address is residential (as opposed to commercial). + /// + [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Residential { get; set; } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlcoholDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlcoholDetail.cs new file mode 100644 index 0000000..719c37b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlcoholDetail.cs @@ -0,0 +1,33 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicate the alcohol shipment details. This object is mandatory if alcohol special service is selected. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class AlcoholDetail + { + /// + /// Specify the recipient type for the alcohol shipment. + /// + [Newtonsoft.Json.JsonProperty("alcoholRecipientType", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public AlcoholDetailAlcoholRecipientType AlcoholRecipientType { get; set; } + + /// + /// Specify the shipper entity type. <br>Example: Fulfillment house, Retailer or a Winery. + /// + [Newtonsoft.Json.JsonProperty("shipperAgreementType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ShipperAgreementType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlcoholDetailAlcoholRecipientType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlcoholDetailAlcoholRecipientType.cs new file mode 100644 index 0000000..77caf3f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlcoholDetailAlcoholRecipientType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum AlcoholDetailAlcoholRecipientType + { + + [System.Runtime.Serialization.EnumMember(Value = @"LICENSEE")] + LICENSEE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"CONSUMER")] + CONSUMER = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Alert.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Alert.cs new file mode 100644 index 0000000..82397de --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Alert.cs @@ -0,0 +1,38 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Specifies the alerts. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Alert + { + /// + /// Specifies the alert code. + /// + [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Code { get; set; } + + /// + /// Specifies the alert type. + /// + [Newtonsoft.Json.JsonProperty("alertType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public AlertType? AlertType { get; set; } + + /// + /// Specifies the alert message. + /// + [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Message { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlertType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlertType.cs new file mode 100644 index 0000000..942634f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AlertType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum AlertType + { + + [System.Runtime.Serialization.EnumMember(Value = @"NOTE")] + NOTE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"WARNING")] + WARNING = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Alternate_Currency_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Alternate_Currency_Rate_Quote.cs new file mode 100644 index 0000000..763de73 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Alternate_Currency_Rate_Quote.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Alternate_Currency_Rate_Quote + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AncillaryFeesAndTaxes.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AncillaryFeesAndTaxes.cs new file mode 100644 index 0000000..85ec1f4 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/AncillaryFeesAndTaxes.cs @@ -0,0 +1,34 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class AncillaryFeesAndTaxes + { + /// + /// Specifies the list of ancillary fees And Taxes + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } + + /// + /// Identifies the amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Anonymous.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Anonymous.cs new file mode 100644 index 0000000..93f6ed6 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Anonymous.cs @@ -0,0 +1,24 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Anonymous + { + [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string PhoneNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("phoneNumberCountryCode", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string PhoneNumberCountryCode { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BaseProcessOutputVO.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BaseProcessOutputVO.cs new file mode 100644 index 0000000..8f2488c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BaseProcessOutputVO.cs @@ -0,0 +1,43 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// This is the response object for a rate quote request. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class BaseProcessOutputVO + { + /// + /// This object will hold the rate and shipment data returned for a request. + /// + [Newtonsoft.Json.JsonProperty("rateReplyDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection RateReplyDetails { get; set; } + + /// + /// The date on which the rate is quoted.<br> Example: 2019-09-18 + /// + [Newtonsoft.Json.JsonProperty("quoteDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string QuoteDate { get; set; } + + /// + /// Specifies the encoded form of the rate. <br> Example: false + /// + [Newtonsoft.Json.JsonProperty("isEncoded", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsEncoded { get; set; } + + /// + /// The alert code, alert type, and alert message obtained when a rate quote is requested. + /// + [Newtonsoft.Json.JsonProperty("alerts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Alerts { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetail.cs new file mode 100644 index 0000000..0d8131e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetail.cs @@ -0,0 +1,40 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Describe the attributes of a battery or cell that are used for classification purposes. Typically this structure would be used to allow customers to declare batteries or cells for which full dangerous goods documentation and procedures are not required. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class BatteryClassificationDetail + { + /// + /// Describes the material composition of the battery or cell. Example: LITHIUM_METAL + /// + [Newtonsoft.Json.JsonProperty("material", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public BatteryClassificationDetailMaterial? Material { get; set; } + + /// + /// Specify the regulation specific classification for the battery or cell. + /// + [Newtonsoft.Json.JsonProperty("regulatorySubType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public BatteryClassificationDetailRegulatorySubType? RegulatorySubType { get; set; } + + /// + /// Indicate the packing arrangement of the battery or cell with respect to other items within the same package. Example: CONTAINED_IN_EQUIPMENT + /// + [Newtonsoft.Json.JsonProperty("packing", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public BatteryClassificationDetailPacking? Packing { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailMaterial.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailMaterial.cs new file mode 100644 index 0000000..9e4346c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailMaterial.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum BatteryClassificationDetailMaterial + { + + [System.Runtime.Serialization.EnumMember(Value = @"LITHIUM_METAL")] + LITHIUM_METAL = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"LITHIUM_ION")] + LITHIUM_ION = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailPacking.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailPacking.cs new file mode 100644 index 0000000..ca8b3b2 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailPacking.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum BatteryClassificationDetailPacking + { + + [System.Runtime.Serialization.EnumMember(Value = @"CONTAINED_IN_EQUIPMENT")] + CONTAINED_IN_EQUIPMENT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"PACKED_WITH_EQUIPMENT")] + PACKED_WITH_EQUIPMENT = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailRegulatorySubType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailRegulatorySubType.cs new file mode 100644 index 0000000..afbb9bd --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BatteryClassificationDetailRegulatorySubType.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum BatteryClassificationDetailRegulatorySubType + { + + [System.Runtime.Serialization.EnumMember(Value = @"IATA_SECTION_II")] + IATA_SECTION_II = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BillingWeight.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BillingWeight.cs new file mode 100644 index 0000000..76038b0 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BillingWeight.cs @@ -0,0 +1,8 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class BillingWeight : Weight + { + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail.cs new file mode 100644 index 0000000..c21d042 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail.cs @@ -0,0 +1,33 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// These are Broker Detail for the rate quote. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class BrokerDetail + { + [Newtonsoft.Json.JsonProperty("broker", Required = Newtonsoft.Json.Required.Always)] + public BrokerDetailBroker Broker { get; set; } + + /// + /// This is Broker Type. + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public BrokerDetailType Type { get; set; } + + [Newtonsoft.Json.JsonProperty("brokerAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Brokeraddress BrokerAddress { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailBroker.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailBroker.cs new file mode 100644 index 0000000..08f643a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailBroker.cs @@ -0,0 +1,21 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class BrokerDetailBroker : Party + { + /// + /// These are Broker address details. + /// + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public object Address { get; set; } + + /// + /// These are broker contact details such as Name, Email, PhoneNumber. + /// + [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public object Contact { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailBroker_RateReply.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailBroker_RateReply.cs new file mode 100644 index 0000000..d5c2c56 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailBroker_RateReply.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class BrokerDetailBroker_RateReply : Party + { + /// + /// These are Broker address details. + /// + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public object Address { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailType.cs new file mode 100644 index 0000000..585647c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetailType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum BrokerDetailType + { + + [System.Runtime.Serialization.EnumMember(Value = @"EXPORT")] + EXPORT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"IMPORT")] + IMPORT = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail_RateReply.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail_RateReply.cs new file mode 100644 index 0000000..9660d93 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail_RateReply.cs @@ -0,0 +1,33 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// These are Broker Detail for the rate quote. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class BrokerDetail_RateReply + { + [Newtonsoft.Json.JsonProperty("broker", Required = Newtonsoft.Json.Required.Always)] + public BrokerDetailBroker_RateReply Broker { get; set; } + + /// + /// This is Broker Type. + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public BrokerDetail_RateReplyType Type { get; set; } + + [Newtonsoft.Json.JsonProperty("brokerAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Brokeraddress BrokerAddress { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail_RateReplyType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail_RateReplyType.cs new file mode 100644 index 0000000..ae60332 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/BrokerDetail_RateReplyType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum BrokerDetail_RateReplyType + { + + [System.Runtime.Serialization.EnumMember(Value = @"EXPORT")] + EXPORT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"IMPORT")] + IMPORT = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Brokeraddress.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Brokeraddress.cs new file mode 100644 index 0000000..61462dd --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Brokeraddress.cs @@ -0,0 +1,79 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// This is the broker address used for this shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Brokeraddress + { + /// + /// This is the combination of number, street name, etc. <br>Note: At least one line is required and streetlines more than 3 will be ignored. Empty lines should not be included. Maximum Length per line is 35.<br>Example: [10 FedEx Parkway, Suite 302, .etc.] + /// + [Newtonsoft.Json.JsonProperty("streetLines", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection StreetLines { get; set; } + + /// + /// This is city name.<br> Example: Beverly Hills + /// + [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string City { get; set; } + + /// + /// This is the state Or Province Code. State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.<br> Example: CA<br><a onclick='loadDocReference("canadaprovincecodes")'>Click here to see State Or Province Code</a> + /// + [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StateOrProvinceCode { get; set; } + + /// + /// This is the postal code. <br> Example: 90210<br><a onclick='loadDocReference("postalawarecountries")'>Click here to see Postal aware countries</a> + /// + [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PostalCode { get; set; } + + /// + /// This is the country code.<br>US<br><a onclick='loadDocReference("countrycodes")'>Click here to see Country Codes</a> + /// + [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CountryCode { get; set; } + + /// + /// Indicate whether this address is residential (as opposed to commercial). <br> Valid values are TRUE and FALSE. + /// + [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Residential { get; set; } + + /// + /// Specify the classification of the address. <br> Example: residential + /// + [Newtonsoft.Json.JsonProperty("classification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Classification { get; set; } + + /// + /// Specify the geographic coordinates.<br> Example: geographicCoordinates + /// + [Newtonsoft.Json.JsonProperty("geographicCoordinates", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string GeographicCoordinates { get; set; } + + /// + /// Specify the urbanization code. + /// + [Newtonsoft.Json.JsonProperty("urbanizationCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string UrbanizationCode { get; set; } + + /// + /// Specify the country name.<br> Example: India + /// + [Newtonsoft.Json.JsonProperty("countryName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CountryName { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetail.cs new file mode 100644 index 0000000..18f2c37 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetail.cs @@ -0,0 +1,47 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// These are COD Transportation Charges Detail. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CODTransportationChargesDetail + { + /// + /// Specify COD Rate Type. + /// + [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CODTransportationChargesDetailRateType? RateType { get; set; } + + /// + /// Specify whether the rate applied on bundle or indiividual package. + /// + [Newtonsoft.Json.JsonProperty("rateLevelType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CODTransportationChargesDetailRateLevelType? RateLevelType { get; set; } + + /// + /// Specify whether the charges applied on current or all packages. + /// + [Newtonsoft.Json.JsonProperty("chargeLevelType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CODTransportationChargesDetailChargeLevelType? ChargeLevelType { get; set; } + + /// + /// Specify the Charges Type. + /// + [Newtonsoft.Json.JsonProperty("chargeType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CODTransportationChargesDetailChargeType? ChargeType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailChargeLevelType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailChargeLevelType.cs new file mode 100644 index 0000000..02f1beb --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailChargeLevelType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CODTransportationChargesDetailChargeLevelType + { + + [System.Runtime.Serialization.EnumMember(Value = @"CURRENT_PACKAGE")] + CURRENT_PACKAGE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"SUM_OF_PACKAGES")] + SUM_OF_PACKAGES = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailChargeType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailChargeType.cs new file mode 100644 index 0000000..8c88c7a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailChargeType.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CODTransportationChargesDetailChargeType + { + + [System.Runtime.Serialization.EnumMember(Value = @"COD_SURCHARGE")] + COD_SURCHARGE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"NET_CHARGE")] + NET_CHARGE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"NET_FREIGHT")] + NET_FREIGHT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_CUSTOMER_CHARGE")] + TOTAL_CUSTOMER_CHARGE = 3, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailRateLevelType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailRateLevelType.cs new file mode 100644 index 0000000..80da6d8 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailRateLevelType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CODTransportationChargesDetailRateLevelType + { + + [System.Runtime.Serialization.EnumMember(Value = @"BUNDLED_RATE")] + BUNDLED_RATE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"INDIVIDUAL_PACKAGE_RATE")] + INDIVIDUAL_PACKAGE_RATE = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailRateType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailRateType.cs new file mode 100644 index 0000000..51b0517 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CODTransportationChargesDetailRateType.cs @@ -0,0 +1,35 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CODTransportationChargesDetailRateType + { + + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT")] + ACCOUNT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"ACTUAL")] + ACTUAL = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"CURRENT")] + CURRENT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM")] + CUSTOM = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"LIST")] + LIST = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"INCENTIVE")] + INCENTIVE = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED")] + PREFERRED = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED_INCENTIVE")] + PREFERRED_INCENTIVE = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED_CURRENCY")] + PREFERRED_CURRENCY = 8, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError.cs new file mode 100644 index 0000000..851c56c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError.cs @@ -0,0 +1,34 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CXSError + { + /// + /// Indicates the error code.<br>Example:<br>ACCOUNT.NUMBER.MISMATCH<br> + /// + [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Code { get; set; } + + /// + /// List of parameters which indicates the properties of the alert message. + /// + [Newtonsoft.Json.JsonProperty("parameterList", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection ParameterList { get; set; } + + /// + /// Indicates the description of error alert message.<br>Example: When payment Type is SENDER, ShippingChargesPayment Payor AccountNumber should match the shipper account number. + /// + [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Message { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError401.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError401.cs new file mode 100644 index 0000000..c30375f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError401.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CXSError401 + { + /// + /// Indicates the error code.<br>Example: NOT.AUTHORIZED.ERROR + /// + [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Code { get; set; } + + /// + /// Specifies list of parameters. + /// + [Newtonsoft.Json.JsonProperty("parameterList", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection ParameterList { get; set; } + + /// + /// Indicates the description of API error alert message.<br>Example: Access token expired. Please modify your request and try again. + /// + [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public object Message { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError403.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError403.cs new file mode 100644 index 0000000..d0aac4b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError403.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CXSError403 + { + /// + /// Indicates the error code.<br>Example: FORBIDDEN.ERROR + /// + [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Code { get; set; } + + /// + /// Specifies list of parameters. + /// + [Newtonsoft.Json.JsonProperty("parameterList", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection ParameterList { get; set; } + + /// + /// Indicates the description of API error alert message.<br>Example: We could not authorize your credentials. Please check your permissions and try again + /// + [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public object Message { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError404.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError404.cs new file mode 100644 index 0000000..76a0964 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError404.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CXSError404 + { + /// + /// Indicates the error code.<br>Example: NOT.FOUND.ERROR + /// + [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Code { get; set; } + + /// + /// Specifies list of parameters. + /// + [Newtonsoft.Json.JsonProperty("parameterList", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection ParameterList { get; set; } + + /// + /// Indicates the description of API error alert message.<br>Example: The resource you requested is no longer available. Please modify your request and try again. + /// + [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public object Message { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError500.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError500.cs new file mode 100644 index 0000000..ef5066a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError500.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CXSError500 + { + /// + /// Indicates the error code.<br>Example: INTERNAL.SERVER.ERROR + /// + [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Code { get; set; } + + /// + /// Specifies list of parameters. + /// + [Newtonsoft.Json.JsonProperty("parameterList", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection ParameterList { get; set; } + + /// + /// Indicates the description of API error alert message.<br>Example: We encountered an unexpected error and are working to resolve the issue. We apologize for any inconvenience. Please check back at a later time. + /// + [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public object Message { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError503.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError503.cs new file mode 100644 index 0000000..7bc4aa2 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CXSError503.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CXSError503 + { + /// + /// Indicates the error code.<br>Example: SERVICE.UNAVAILABLE.ERROR + /// + [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Code { get; set; } + + /// + /// Specifies list of parameters. + /// + [Newtonsoft.Json.JsonProperty("parameterList", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection ParameterList { get; set; } + + /// + /// Indicates the description of API error alert message.<br>Example: The service is currently unavailable and we are working to resolve the issue. We apologize for any inconvenience. Please check back at a later time. + /// + [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public object Message { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommercialInvoice.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommercialInvoice.cs new file mode 100644 index 0000000..4425c6f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommercialInvoice.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// The Commercial Invoice element is required for electronic upload of CI data. It will serve to create/transmit an electronic Commercial Invoice through the FedEx system.<br>Customers are responsible for printing their own Commercial Invoice.<br>If you would like FedEx to generate a Commercial Invoice and transmit it to Customs for clearance purposes, you need to specify that in the 'ETDDetail/RequesteDocumentCopies' element.<br> Support consists of a Maximum of 99 commodity line items. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CommercialInvoice + { + /// + /// The reason for the shipment. Note: SOLD is not a valid purpose for a Proforma Invoice. + /// + [Newtonsoft.Json.JsonProperty("shipmentPurpose", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CommercialInvoiceShipmentPurpose? ShipmentPurpose { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommercialInvoiceShipmentPurpose.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommercialInvoiceShipmentPurpose.cs new file mode 100644 index 0000000..769c827 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommercialInvoiceShipmentPurpose.cs @@ -0,0 +1,35 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CommercialInvoiceShipmentPurpose + { + + [System.Runtime.Serialization.EnumMember(Value = @"GIFT")] + GIFT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"NOT_SOLD")] + NOT_SOLD = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_EFFECTS")] + PERSONAL_EFFECTS = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"REPAIR_AND_RETURN")] + REPAIR_AND_RETURN = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"SAMPLE")] + SAMPLE = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"SOLD")] + SOLD = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL")] + COMMERCIAL = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"RETURN_AND_REPAIR")] + RETURN_AND_REPAIR = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_USE")] + PERSONAL_USE = 8, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Commit.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Commit.cs new file mode 100644 index 0000000..c1a7944 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Commit.cs @@ -0,0 +1,78 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// The delivery commitment details + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Commit + { + /// + /// Code indicating the number of transit days.<br> Example: EIGHTEEN_DAYS + /// + [Newtonsoft.Json.JsonProperty("daysInTransit", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CommitDaysInTransit? DaysInTransit { get; set; } + + /// + /// Indicates if there is a guaranteed delivery option applied to the rate. This is for freight rates only.<br> Valid values<br>GUARANTEED_MORNING - guaranteed delivery on morning of date specified.<br>GUARANTEED_CLOSE_OF_BUSINESS - guaranteed delivery on date specified by close of day<br> Example: GUARANTEED_MORNING + /// + [Newtonsoft.Json.JsonProperty("guaranteedType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CommitGuaranteedType? GuaranteedType { get; set; } + + /// + /// CommitTime for SmartPost shipments. + /// + [Newtonsoft.Json.JsonProperty("smartPostCommitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SmartPostCommitTime { get; set; } + + [Newtonsoft.Json.JsonProperty("dateDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DateDetail DateDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("delayDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DelayDetail DelayDetails { get; set; } + + /// + /// Specifies the saturdayDelivery. + /// + [Newtonsoft.Json.JsonProperty("saturdayDelivery", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? SaturdayDelivery { get; set; } + + /// + /// Specifies the alternate names of commodities. + /// + [Newtonsoft.Json.JsonProperty("alternativeCommodityNames", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection AlternativeCommodityNames { get; set; } + + [Newtonsoft.Json.JsonProperty("transitDays", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TransitDays TransitDays { get; set; } + + /// + /// This is an informational message to inform client Deliverydate is unavailable. If commitTimestamp and transitTime are unavailable, then this is populated in the response in the client language.<br>Example: Deliverydate unavailable + /// + [Newtonsoft.Json.JsonProperty("label", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Label { get; set; } + + /// + /// Messages concerning the ability to provide an accurate delivery commitment on an International commit quote. These could be messages providing information about why a commitment could not be returned or a successful message. <br> Example: Message + /// + [Newtonsoft.Json.JsonProperty("commitMessageDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CommitMessageDetails { get; set; } + + /// + /// The Commodity applicable to this commitment.<br> Example: DOCUMENTS + /// + [Newtonsoft.Json.JsonProperty("commodityName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CommodityName { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommitDaysInTransit.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommitDaysInTransit.cs new file mode 100644 index 0000000..c3ae89f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommitDaysInTransit.cs @@ -0,0 +1,74 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CommitDaysInTransit + { + + [System.Runtime.Serialization.EnumMember(Value = @"EIGHT_DAYS")] + EIGHT_DAYS = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"EIGHTEEN_DAYS")] + EIGHTEEN_DAYS = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"ELEVEN_DAYS")] + ELEVEN_DAYS = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"FIFTEEN_DAYS")] + FIFTEEN_DAYS = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"FIVE_DAYS")] + FIVE_DAYS = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"FOUR_DAYS")] + FOUR_DAYS = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"FOURTEEN_DAYS")] + FOURTEEN_DAYS = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"NINE_DAYS")] + NINE_DAYS = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"NINETEEN_DAYS")] + NINETEEN_DAYS = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"ONE_DAY")] + ONE_DAY = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"SEVEN_DAYS")] + SEVEN_DAYS = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"SEVENTEEN_DAYS")] + SEVENTEEN_DAYS = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"SIX_DAYS")] + SIX_DAYS = 12, + + [System.Runtime.Serialization.EnumMember(Value = @"SIXTEEN_DAYS")] + SIXTEEN_DAYS = 13, + + [System.Runtime.Serialization.EnumMember(Value = @"TEN_DAYS")] + TEN_DAYS = 14, + + [System.Runtime.Serialization.EnumMember(Value = @"THIRTEEN_DAYS")] + THIRTEEN_DAYS = 15, + + [System.Runtime.Serialization.EnumMember(Value = @"THREE_DAYS")] + THREE_DAYS = 16, + + [System.Runtime.Serialization.EnumMember(Value = @"TWELVE_DAYS")] + TWELVE_DAYS = 17, + + [System.Runtime.Serialization.EnumMember(Value = @"TWENTY_DAYS")] + TWENTY_DAYS = 18, + + [System.Runtime.Serialization.EnumMember(Value = @"TWO_DAYS")] + TWO_DAYS = 19, + + [System.Runtime.Serialization.EnumMember(Value = @"SMARTPOST_TRANSIT_DAYS")] + SMARTPOST_TRANSIT_DAYS = 20, + + [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] + UNKNOWN = 21, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommitGuaranteedType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommitGuaranteedType.cs new file mode 100644 index 0000000..7cc6f7f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CommitGuaranteedType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CommitGuaranteedType + { + + [System.Runtime.Serialization.EnumMember(Value = @"GUARANTEED_MORNING")] + GUARANTEED_MORNING = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"GUARANTEED_CLOSE_OF_BUSINESS")] + GUARANTEED_CLOSE_OF_BUSINESS = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Commodity.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Commodity.cs new file mode 100644 index 0000000..234375a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Commodity.cs @@ -0,0 +1,79 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Commodity + { + /// + /// Indicate the description of the dutiable packages.<br> Maximum Length is 450. <br> Example: DOCUMENTS <br><a onclick='loadDocReference("vaguecommoditydescriptions")'>Click here to see Vague commodity descriptions</a> + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// Specify the Total weight of this commodity. This element is used to estimate duties and taxes. + /// + [Newtonsoft.Json.JsonProperty("weight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Weight_2 Weight { get; set; } + + /// + /// Specify the total number of units (using quantityUnits as the unit of measure) of this commodity present in the shipment. This element is used to estimate duties and taxes. <br>Example: 1 + /// + [Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Quantity { get; set; } + + /// + /// Specify the required Customs value for this commodity. + /// + [Newtonsoft.Json.JsonProperty("customsValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Money CustomsValue { get; set; } + + [Newtonsoft.Json.JsonProperty("unitPrice", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public UnitPrice UnitPrice { get; set; } + + /// + /// Specifies the number of pieces for this commodity.<br>Example: 10 + /// + [Newtonsoft.Json.JsonProperty("numberOfPieces", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? NumberOfPieces { get; set; } + + /// + /// This is a manufacturing country. Maximum field Length is 4<br> Example: IN + /// + [Newtonsoft.Json.JsonProperty("countryOfManufacture", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CountryOfManufacture { get; set; } + + /// + /// Indicate quantiy unit used. Used to estimate duties and taxes <br> Example: PCS<br><a onclick='loadDocReference("harmonizedsystemcodeunitofmeasure-table1")'>click here to see Commodity Unit Measures</a> + /// + [Newtonsoft.Json.JsonProperty("quantityUnits", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string QuantityUnits { get; set; } + + /// + /// Indicate the Commodity name<br>Example: DOCUMENTS + /// + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } + + /// + /// This is to specify the Harmonized Tariff System (HTS) code to meet U.S. and foreign governments' customs requirements. These are mainly used to estimate the duties and taxes.<br>Example: A six digit code for Almonds fresh or dried is 080211. The HTS code for pistachios in shell is 080251. The HTS code for fish is HS203.<br>To research the classification for your commodity, use the FedEx Global Trade Manager online at <a href='http://www.fedex.com/gtm' target='_blank'>fedex.com/gtm</a>. You can find the commodities and its respective codes by logging into FedEx and selecting harmonized code option. You will find country-specific information to determine whether your commodity is considered to be a document or non-document for your destination. <br>For additional information about harmonized code, refer to <a href='https://www.usitc.gov/documents/hts_external_guide.pdf' target='_blank'>harmonized code</a>. + /// + [Newtonsoft.Json.JsonProperty("harmonizedCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string HarmonizedCode { get; set; } + + /// + /// Specify the part number if any. Example: P1 + /// + [Newtonsoft.Json.JsonProperty("partNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PartNumber { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Contact.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Contact.cs new file mode 100644 index 0000000..121e1c2 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Contact.cs @@ -0,0 +1,55 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicates the contact details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Contact + { + /// + /// Specifies contact name.<br>Note: Recommended Length is 70. There's no specific validation for the length.<br> Example: John Taylor + /// + [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PersonName { get; set; } + + /// + /// Specifies contact email address. Maximum length is 80. <br> Example: sample@company.com + /// + [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EmailAddress { get; set; } + + /// + /// Specifies contact phone number. Maximum length is 15. <br> Example: 1234567890 + /// + [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneNumber { get; set; } + + /// + /// Specifies contact phone extension. Maximum length is 6. <br> Example: 1234 + /// + [Newtonsoft.Json.JsonProperty("phoneExtension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneExtension { get; set; } + + /// + /// Specifies contact fax number. Maximum length is 15. <br> Example: 1234567890 + /// + [Newtonsoft.Json.JsonProperty("faxNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FaxNumber { get; set; } + + /// + /// Specifies contact company name. Maximum length is 35. + /// + [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CompanyName { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ContactAndAddress.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ContactAndAddress.cs new file mode 100644 index 0000000..5dcc226 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ContactAndAddress.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Specify the contact and address details of a location. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ContactAndAddress + { + [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Contact_2 Contact { get; set; } + + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Address_1 Address { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Contact_2.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Contact_2.cs new file mode 100644 index 0000000..bd7b3a5 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Contact_2.cs @@ -0,0 +1,55 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicate the contact details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Contact_2 + { + /// + /// Specify contact name.<br>Note: Recommended Length is 70. There's no specific validation for the length.<br> Example: John Taylor + /// + [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PersonName { get; set; } + + /// + /// Specify contact email address. Maximum length is 80. <br> Example: sample@company.com + /// + [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EmailAddress { get; set; } + + /// + /// Specify contact phone number. Maximum length is 15. <br> Example: 1234567890 + /// + [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneNumber { get; set; } + + /// + /// Specify contact phone extension. Maximum length is 6. <br> Example: 1234 + /// + [Newtonsoft.Json.JsonProperty("phoneExtension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneExtension { get; set; } + + /// + /// Specify contact fax number. Maximum length is 15. <br> Example: 1234567890 + /// + [Newtonsoft.Json.JsonProperty("faxNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FaxNumber { get; set; } + + /// + /// Specify contact company name. Maximum length is 35. + /// + [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CompanyName { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CurrencyExchangeRate.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CurrencyExchangeRate.cs new file mode 100644 index 0000000..0dfd286 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CurrencyExchangeRate.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Specifies the currency exchange performed on financial amounts for this rate. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CurrencyExchangeRate + { + /// + /// The currency code for the original (converted FROM) currency. + /// + [Newtonsoft.Json.JsonProperty("fromCurrency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FromCurrency { get; set; } + + /// + /// The currency code for the final (converted INTO) currency. + /// + [Newtonsoft.Json.JsonProperty("intoCurrency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string IntoCurrency { get; set; } + + /// + /// Multiplier used to convert fromCurrency units to intoCurrency units. + /// + [Newtonsoft.Json.JsonProperty("rate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Rate { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CustomerMessage.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CustomerMessage.cs new file mode 100644 index 0000000..410ef78 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/CustomerMessage.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// This the Customer Message returned in the reply. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CustomerMessage + { + /// + /// This is a message code.<br> Example:SERVICE.TYPE.INTERNATIONAL.MESSAGE + /// + [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Code { get; set; } + + /// + /// This is a message description.<br> Example: Rate does not include duties & taxes, clearance entry fees or other import fees. The payor of duties/taxes/fees will be responsible for any applicable Clearance Entry Fees + /// + [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Message { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainer.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainer.cs new file mode 100644 index 0000000..e5ab460 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainer.cs @@ -0,0 +1,63 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Dangerous Goods Container + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DangerousGoodsContainer + { + /// + /// Specify the shipper name(offeror) or contact number. Required on all shipping papers. + /// + [Newtonsoft.Json.JsonProperty("offeror", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Offeror { get; set; } + + /// + /// Specify the kinds and quantities of all hazardous commodities in the current container. + /// + [Newtonsoft.Json.JsonProperty("hazardousCommodities", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection HazardousCommodities { get; set; } + + /// + /// Indicate the number of containers. + /// + [Newtonsoft.Json.JsonProperty("numberOfContainers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? NumberOfContainers { get; set; } + + /// + /// Indicate the type of container. + /// + [Newtonsoft.Json.JsonProperty("containerType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ContainerType { get; set; } + + [Newtonsoft.Json.JsonProperty("emergencyContactNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PhoneNumber EmergencyContactNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("packaging", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public HazardousCommodityPackagingDetail Packaging { get; set; } + + /// + /// Indicate the packing type used. + /// + [Newtonsoft.Json.JsonProperty("packingType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public DangerousGoodsContainerPackingType? PackingType { get; set; } + + /// + /// Indicate the packaging type of the container used to package the radioactive materials. + /// + [Newtonsoft.Json.JsonProperty("radioactiveContainerClass", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public DangerousGoodsContainerRadioactiveContainerClass? RadioactiveContainerClass { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainerPackingType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainerPackingType.cs new file mode 100644 index 0000000..278ef5d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainerPackingType.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum DangerousGoodsContainerPackingType + { + + [System.Runtime.Serialization.EnumMember(Value = @"ALL_PACKED_IN_ONE")] + ALL_PACKED_IN_ONE = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainerRadioactiveContainerClass.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainerRadioactiveContainerClass.cs new file mode 100644 index 0000000..0c44ae9 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsContainerRadioactiveContainerClass.cs @@ -0,0 +1,32 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum DangerousGoodsContainerRadioactiveContainerClass + { + + [System.Runtime.Serialization.EnumMember(Value = @"EXCEPTED_PACKAGE")] + EXCEPTED_PACKAGE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"INDUSTRIAL_IP1")] + INDUSTRIAL_IP1 = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"INDUSTRIAL_IP2")] + INDUSTRIAL_IP2 = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"INDUSTRIAL_IP3")] + INDUSTRIAL_IP3 = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"TYPE_A")] + TYPE_A = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"TYPE_B_M")] + TYPE_B_M = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"TYPE_B_U")] + TYPE_B_U = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"TYPE_C")] + TYPE_C = 7, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetail.cs new file mode 100644 index 0000000..e05279a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetail.cs @@ -0,0 +1,45 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Use this object to specify Dangerous Goods shipment Detail. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DangerousGoodsDetail + { + /// + /// Indicate the Dangerous Goods Accessibility Type.<br> Inaccessible means it does not have to be accessible on the aircraft. Accessible means it must be fully accessible on the aircraft, and is more strictly controlled. + /// + [Newtonsoft.Json.JsonProperty("accessibility", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public DangerousGoodsDetailAccessibility? Accessibility { get; set; } + + /// + /// Specify the special handling requested for the package.<br> Example: BATTERY + /// + [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection Options { get; set; } + + /// + /// Indicate one or more containers used to pack dangerous goods commodities. + /// + [Newtonsoft.Json.JsonProperty("containers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Containers { get; set; } + + /// + /// The hazardous package shipment regulation type. + /// + [Newtonsoft.Json.JsonProperty("regulation", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public DangerousGoodsDetailRegulation? Regulation { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetailAccessibility.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetailAccessibility.cs new file mode 100644 index 0000000..468669a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetailAccessibility.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum DangerousGoodsDetailAccessibility + { + + [System.Runtime.Serialization.EnumMember(Value = @"ACCESSIBLE")] + ACCESSIBLE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"INACCESSIBLE")] + INACCESSIBLE = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetailRegulation.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetailRegulation.cs new file mode 100644 index 0000000..8897bd4 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DangerousGoodsDetailRegulation.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum DangerousGoodsDetailRegulation + { + + [System.Runtime.Serialization.EnumMember(Value = @"ADR")] + ADR = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"DOT")] + DOT = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"IATA")] + IATA = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"ORMD")] + ORMD = 3, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DateDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DateDetail.cs new file mode 100644 index 0000000..9eeb4ad --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DateDetail.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// These are date and time details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DateDetail + { + /// + /// specific day of week in short format<br>Example: MON, TUE + /// + [Newtonsoft.Json.JsonProperty("dayOfWeek", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DayOfWeek { get; set; } + + /// + /// This is expected delivery date in format [YYYY-MM-DDTHH:mm:ss]<br>Example: 2020-07-16T10:30:00 + /// + [Newtonsoft.Json.JsonProperty("dayFormat", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DayFormat { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DelayDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DelayDetail.cs new file mode 100644 index 0000000..8fc101d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DelayDetail.cs @@ -0,0 +1,55 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Information about why a shipment delivery is delayed and at what level + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DelayDetail + { + /// + /// delay date. format [YYYY-MM-DD] + /// + [Newtonsoft.Json.JsonProperty("date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Date { get; set; } + + /// + /// The delay day of the week + /// + [Newtonsoft.Json.JsonProperty("dayOfWeek", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DayOfWeek { get; set; } + + /// + /// The attribute of the shipment that caused the delay(e.g. Country, City, LocationId, Zip, service area, special handling) + /// + [Newtonsoft.Json.JsonProperty("level", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Level { get; set; } + + /// + /// The point in transit where the delay is occurring (e.g. Origin, Destination, Broker location) + /// + [Newtonsoft.Json.JsonProperty("point", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Point { get; set; } + + /// + /// The reason for the delay (e.g. holiday, weekend, etc.). + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + /// + /// The name of the holiday in that country that is causing the delay. + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetail.cs new file mode 100644 index 0000000..204f034 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetail.cs @@ -0,0 +1,22 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicate the Delivery On Invoice Acceptance detail. Recipient is required for Delivery On Invoice Special service. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DeliveryOnInvoiceAcceptanceDetail + { + [Newtonsoft.Json.JsonProperty("recipient", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DeliveryOnInvoiceAcceptanceDetailRecipient Recipient { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient.cs new file mode 100644 index 0000000..2d409dd --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient.cs @@ -0,0 +1,13 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DeliveryOnInvoiceAcceptanceDetailRecipient : Party_2 + { + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Always)] + public DeliveryOnInvoiceAcceptanceDetailRecipient_address Address { get; set; } + + [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Always)] + public DeliveryOnInvoiceAcceptanceDetailRecipient_contact Contact { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient_address.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient_address.cs new file mode 100644 index 0000000..809cac9 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient_address.cs @@ -0,0 +1,29 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DeliveryOnInvoiceAcceptanceDetailRecipient_address + { + /// + /// This is the combination of number, street name, etc. <br>Note: At least one line is required and streetlines more than 3 will be ignored. Empty lines should not be included. Maximum Length per line is 35.<br>Example: [10 FedEx Parkway, Suite 302, .etc.] + /// + [Newtonsoft.Json.JsonProperty("streetLines", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection StreetLines { get; set; } + + /// + /// The two-letter country code. <br>Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>Click here to see Country Codes</a> + /// + [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string CountryCode { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient_contact.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient_contact.cs new file mode 100644 index 0000000..0120f6b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/DeliveryOnInvoiceAcceptanceDetailRecipient_contact.cs @@ -0,0 +1,43 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DeliveryOnInvoiceAcceptanceDetailRecipient_contact + { + /// + /// This is a placeholder for company name. Maximum length is 35. + /// + [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string CompanyName { get; set; } + + /// + /// This is a placeholder for Fax number. Maximum length is 15. + /// + [Newtonsoft.Json.JsonProperty("faxNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FaxNumber { get; set; } + + /// + /// This is a placeholder for contact person's name. Maximum Length is 70. + /// + [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string PersonName { get; set; } + + /// + /// This is a placeholder for phone number associated with this contact. Maximum length is 15. + /// + [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string PhoneNumber { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Dimensions_1.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Dimensions_1.cs new file mode 100644 index 0000000..f0cbec6 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Dimensions_1.cs @@ -0,0 +1,44 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicate the dimensions of the package.<br> Following conditions will apply: <ul><li>Dimensions are optional but when added, then all three dimensions must be indicated.</li><li>Dimensions are required with YOUR_PACKAGING package type.</li></ul>Note: The Maximum/minimum dimension values varies based on the services and the packaging types. Refer <a href="https://www.fedex.com/en-us/service-guide.html" target="_blank">FedEx Service Guide</a> for service details related to DIM Weighting for FedEx Express and oversize conditions for FedEx Express and FedEx Ground. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Dimensions_1 + { + /// + /// Indicate the length of the package. No implied decimal places. Maximum value: 999 <br> Example: 20 + /// + [Newtonsoft.Json.JsonProperty("length", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Length { get; set; } + + /// + /// Indicate the width of the package. No implied decimal places. Maximum value: 999 <br> Example: 10 + /// + [Newtonsoft.Json.JsonProperty("width", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Width { get; set; } + + /// + /// Indicate the height of the package. No implied decimal places. Maximum value: 999 <br> Example: 10 + /// + [Newtonsoft.Json.JsonProperty("height", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Height { get; set; } + + /// + /// Indicate the unit of measure for the provided dimensions.<br>Valid Values are:<ul><li>IN - Inches</li><li>CM - Centimeters</li></ul> + /// + [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Dimensions_1Units? Units { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Dimensions_1Units.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Dimensions_1Units.cs new file mode 100644 index 0000000..fb175da --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Dimensions_1Units.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum Dimensions_1Units + { + + [System.Runtime.Serialization.EnumMember(Value = @"CM")] + CM = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"IN")] + IN = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EMailNotificationDetail_PrintedReference.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EMailNotificationDetail_PrintedReference.cs new file mode 100644 index 0000000..eab2630 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EMailNotificationDetail_PrintedReference.cs @@ -0,0 +1,32 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Specifies Printed Reference. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class EMailNotificationDetail_PrintedReference + { + /// + /// Indicates the printed reference type. + /// + [Newtonsoft.Json.JsonProperty("printedReferenceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public EMailNotificationDetail_PrintedReferencePrintedReferenceType? PrintedReferenceType { get; set; } + + /// + /// Specifies printed reference value. + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Value { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EMailNotificationDetail_PrintedReferencePrintedReferenceType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EMailNotificationDetail_PrintedReferencePrintedReferenceType.cs new file mode 100644 index 0000000..45b0483 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EMailNotificationDetail_PrintedReferencePrintedReferenceType.cs @@ -0,0 +1,29 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum EMailNotificationDetail_PrintedReferencePrintedReferenceType + { + + [System.Runtime.Serialization.EnumMember(Value = @"BILL_OF_LADING")] + BILL_OF_LADING = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"CONSIGNEE_ID_NUMBER")] + CONSIGNEE_ID_NUMBER = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"INTERLINE_PRO_NUMBER")] + INTERLINE_PRO_NUMBER = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"PO_NUMBER")] + PO_NUMBER = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"SHIPPER_ID_NUMBER")] + SHIPPER_ID_NUMBER = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"SHIPPER_ID1_NUMBER")] + SHIPPER_ID1_NUMBER = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"SHIPPER_ID2_NUMBER")] + SHIPPER_ID2_NUMBER = 6, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EdtCharge.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EdtCharge.cs new file mode 100644 index 0000000..4990008 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EdtCharge.cs @@ -0,0 +1,28 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// estimated duties and tax charge + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class EdtCharge + { + [Newtonsoft.Json.JsonProperty("edtTaxDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public EdtTaxDetail EdtTaxDetail { get; set; } + + /// + /// This is to specify the Harmonized Tariff System (HTS) code to meet U.S. and foreign governments' customs requirements. These are mainly used to estimate the duties and taxes.<br>Example: A six digit code for Almonds fresh or dried is 080211. The HTS code for pistachios in shell is 080251. The HTS code for fish is HS203.<br>To research the classification for your commodity, use the FedEx Global Trade Manager online at <a href='http://www.fedex.com/gtm' target='_blank'>fedex.com/gtm</a>. You can find the commodities and its respective codes by logging into FedEx and selecting harmonized code option. You will find country-specific information to determine whether your commodity is considered to be a document or non-document for your destination. <br>For additional information about harmonized code, refer to <a href='https://www.usitc.gov/documents/hts_external_guide.pdf' target='_blank'>harmonized code</a>. + /// + [Newtonsoft.Json.JsonProperty("harmonizedCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string HarmonizedCode { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EdtTaxDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EdtTaxDetail.cs new file mode 100644 index 0000000..68ac27d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EdtTaxDetail.cs @@ -0,0 +1,61 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Specifies the Estimated duties and taxes detail. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class EdtTaxDetail + { + /// + /// Specifies the Estimated duties and taxes type. <br> Example: TaxType + /// + [Newtonsoft.Json.JsonProperty("edtTaxType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EdtTaxType { get; set; } + + /// + /// Specifies the amount for the estimated duties and taxes type.<br> Example: 785.12 + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } + + /// + /// Specifies the Estimated duties and taxes taxable Value.<br> Example: 562.23 + /// + [Newtonsoft.Json.JsonProperty("taxableValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TaxableValue { get; set; } + + /// + /// Indicates the name for the Etd tax. + /// + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } + + /// + /// Indicates the description for the Etd tax. + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// Indicates the formula. + /// + [Newtonsoft.Json.JsonProperty("formula", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Formula { get; set; } + + /// + /// Specifies the Estimated duties and taxes effective date. Format [YYYY-MM-DD].<br> Example: 2019-12-06 + /// + [Newtonsoft.Json.JsonProperty("effectiveDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EffectiveDate { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailLabelDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailLabelDetail.cs new file mode 100644 index 0000000..456ecc8 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailLabelDetail.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Describes specific information about the email label shipment.<ul><li>Message: Content of the email message</li><li>Recipients: EMailRecipient</li><li>emailAddress - email address of the recipient</li><li>role - role type of the recipient</li><li>optionsRequested</li><li>localization</li> + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class EmailLabelDetail + { + /// + /// Describes specific information about the list of email label shipment reipients. + /// + [Newtonsoft.Json.JsonProperty("recipients", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Recipients { get; set; } + + /// + /// customer specified message to be included in the email to the end-user. + /// + [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Message { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipient.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipient.cs new file mode 100644 index 0000000..cf9a6eb --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipient.cs @@ -0,0 +1,62 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Data specifying the recipient(s) of notifications related to the movement of the shipment. At a minimnum an EmailnotificationRecipientType, at least one NoficationEventType, and an EmailAddress are required. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class EmailNotificationRecipient + { + /// + /// Identifies the email address associated with this contact. + /// + [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string EmailAddress { get; set; } + + /// + /// Specifies notification event type. + /// + [Newtonsoft.Json.JsonProperty("notificationEventType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection NotificationEventType { get; set; } + + [Newtonsoft.Json.JsonProperty("smsDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public SmsDetail SmsDetail { get; set; } + + /// + /// Specifies Notification Format Type. + /// + [Newtonsoft.Json.JsonProperty("notificationFormatType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public EmailNotificationRecipientNotificationFormatType? NotificationFormatType { get; set; } + + /// + /// Required Email Notification Recipient Type. + /// + [Newtonsoft.Json.JsonProperty("emailNotificationRecipientType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public EmailNotificationRecipientType? EmailNotificationRecipientType { get; set; } + + /// + /// Specifies the type of the notification received. + /// + [Newtonsoft.Json.JsonProperty("notificationType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public EmailNotificationRecipientNotificationType? NotificationType { get; set; } + + /// + /// Specify the locale details.<br>Example: 'en_US'<br><a onclick='loadDocReference("locales")'>Click here to see the list of available locales<br></a><br>Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response. + /// + [Newtonsoft.Json.JsonProperty("locale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Locale { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientNotificationFormatType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientNotificationFormatType.cs new file mode 100644 index 0000000..f0b9d2c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientNotificationFormatType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum EmailNotificationRecipientNotificationFormatType + { + + [System.Runtime.Serialization.EnumMember(Value = @"HTML")] + HTML = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"TEXT")] + TEXT = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientNotificationType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientNotificationType.cs new file mode 100644 index 0000000..e19d57b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientNotificationType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum EmailNotificationRecipientNotificationType + { + + [System.Runtime.Serialization.EnumMember(Value = @"EMAIL")] + EMAIL = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"SMS_TEXT_MESSAGE")] + SMS_TEXT_MESSAGE = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientType.cs new file mode 100644 index 0000000..624eca5 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailNotificationRecipientType.cs @@ -0,0 +1,29 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum EmailNotificationRecipientType + { + + [System.Runtime.Serialization.EnumMember(Value = @"BROKER")] + BROKER = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] + OTHER = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"RECIPIENT")] + RECIPIENT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"SHIPPER")] + SHIPPER = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"THIRD_PARTY")] + THIRD_PARTY = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"OTHER1")] + OTHER1 = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"OTHER2")] + OTHER2 = 6, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailOptionsRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailOptionsRequested.cs new file mode 100644 index 0000000..75e4c46 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailOptionsRequested.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicates how the email notifications for the pending shipment need to be processed. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class EmailOptionsRequested + { + /// + /// Specifies the options. + /// + [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection Options { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailRecipient.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailRecipient.cs new file mode 100644 index 0000000..3db4b6e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailRecipient.cs @@ -0,0 +1,39 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Use this object to specify the recipient email information. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class EmailRecipient + { + /// + /// This is the placeholder for Email address of the end-user to be notified of the return label. Maximum length is 200 characters. + /// + [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string EmailAddress { get; set; } + + [Newtonsoft.Json.JsonProperty("optionsRequested", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public EmailOptionsRequested OptionsRequested { get; set; } + + /// + /// Specifies the role of the recipient to the pending shipment. + /// + [Newtonsoft.Json.JsonProperty("role", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public EmailRecipientRole? Role { get; set; } + + [Newtonsoft.Json.JsonProperty("locale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Locale Locale { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailRecipientRole.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailRecipientRole.cs new file mode 100644 index 0000000..12e17b2 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/EmailRecipientRole.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum EmailRecipientRole + { + + [System.Runtime.Serialization.EnumMember(Value = @"SHIPMENT_COMPLETOR")] + SHIPMENT_COMPLETOR = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"SHIPMENT_INITIATOR")] + SHIPMENT_INITIATOR = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO.cs new file mode 100644 index 0000000..dca343b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO.cs @@ -0,0 +1,34 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ErrorResponseVO + { + /// + /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492 + /// + [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TransactionId { get; set; } + + /// + /// This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply. <br> Example: AnyCo_order123456789 + /// + [Newtonsoft.Json.JsonProperty("customerTransactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CustomerTransactionId { get; set; } + + /// + /// Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter. + /// + [Newtonsoft.Json.JsonProperty("errors", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Errors { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO401.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO401.cs new file mode 100644 index 0000000..8581097 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO401.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ErrorResponseVO401 + { + /// + /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492 + /// + [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TransactionId { get; set; } + + [Newtonsoft.Json.JsonProperty("errors", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Errors { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO403.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO403.cs new file mode 100644 index 0000000..dbff217 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO403.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ErrorResponseVO403 + { + /// + /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492 + /// + [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TransactionId { get; set; } + + [Newtonsoft.Json.JsonProperty("errors", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Errors { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO404.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO404.cs new file mode 100644 index 0000000..65fae12 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO404.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ErrorResponseVO404 + { + /// + /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492 + /// + [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TransactionId { get; set; } + + [Newtonsoft.Json.JsonProperty("errors", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Errors { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO500.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO500.cs new file mode 100644 index 0000000..2ff1c3d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO500.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ErrorResponseVO500 + { + /// + /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492 + /// + [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TransactionId { get; set; } + + /// + /// This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply. <br> Example: AnyCo_order123456789 + /// + [Newtonsoft.Json.JsonProperty("customerTransactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CustomerTransactionId { get; set; } + + [Newtonsoft.Json.JsonProperty("errors", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Errors { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO503.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO503.cs new file mode 100644 index 0000000..2e6823c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ErrorResponseVO503.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ErrorResponseVO503 + { + /// + /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492 + /// + [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TransactionId { get; set; } + + [Newtonsoft.Json.JsonProperty("errors", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Errors { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Express_Freight_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Express_Freight_Rate_Quote.cs new file mode 100644 index 0000000..cdcfda7 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Express_Freight_Rate_Quote.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Express_Freight_Rate_Quote + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Express_Freight_Saturday_Pickup_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Express_Freight_Saturday_Pickup_Rate_Quote.cs new file mode 100644 index 0000000..4b09d93 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Express_Freight_Saturday_Pickup_Rate_Quote.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Express_Freight_Saturday_Pickup_Rate_Quote + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/FDGSamplePayloadRateResourceDetailsIntraEurope.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/FDGSamplePayloadRateResourceDetailsIntraEurope.cs new file mode 100644 index 0000000..ec8953f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/FDGSamplePayloadRateResourceDetailsIntraEurope.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class FDGSamplePayloadRateResourceDetailsIntraEurope + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Ground_Home_Delivery_Appointment_Delivery_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Ground_Home_Delivery_Appointment_Delivery_Rate_Quote.cs new file mode 100644 index 0000000..66dd20a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Ground_Home_Delivery_Appointment_Delivery_Rate_Quote.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Ground_Home_Delivery_Appointment_Delivery_Rate_Quote + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityContent.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityContent.cs new file mode 100644 index 0000000..099abd7 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityContent.cs @@ -0,0 +1,34 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Documents the kind and quantity of an individual hazardous commodity in a package. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HazardousCommodityContent + { + [Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public HazardousCommodityQuantityDetail Quantity { get; set; } + + /// + /// Specifies the inner receptacles within the container. + /// + [Newtonsoft.Json.JsonProperty("innerReceptacles", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection InnerReceptacles { get; set; } + + [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public HazardousCommodityOptionDetail Options { get; set; } + + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public HazardousCommodityDescription Description { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityDescription.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityDescription.cs new file mode 100644 index 0000000..87f02bd --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityDescription.cs @@ -0,0 +1,95 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Identifies and describes an individual hazardous commodity. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HazardousCommodityDescription + { + /// + /// In conjunction with the regulatory identifier, this field uniquely identifies a specific hazardous materials commodity. + /// + [Newtonsoft.Json.JsonProperty("sequenceNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? SequenceNumber { get; set; } + + /// + /// Indicates any special processing options to be applied to the description of the dangerous goods commodity. + /// + [Newtonsoft.Json.JsonProperty("processingOptions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection ProcessingOptions { get; set; } + + /// + /// Specifies the hazardous material subsidiary classes. + /// + [Newtonsoft.Json.JsonProperty("subsidiaryClasses", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection SubsidiaryClasses { get; set; } + + /// + /// Specifies the DOT diamond hazard label type. This element can also include limited quantity or exemption number. + /// + [Newtonsoft.Json.JsonProperty("labelText", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LabelText { get; set; } + + /// + /// Specify the technical name for the hazardous commodity. + /// + [Newtonsoft.Json.JsonProperty("technicalName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TechnicalName { get; set; } + + [Newtonsoft.Json.JsonProperty("packingDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public HazardousCommodityPackingDetail PackingDetails { get; set; } + + /// + /// Information related to quantity limitations and operator or state variations as may be applicable to the dangerous goods commodity. + /// + [Newtonsoft.Json.JsonProperty("authorization", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Authorization { get; set; } + + /// + /// The element specifies the reportable quantity of the hazardous material. + /// + [Newtonsoft.Json.JsonProperty("reportableQuantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ReportableQuantity { get; set; } + + /// + /// Indicates the percentage. + /// + [Newtonsoft.Json.JsonProperty("percentage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Percentage { get; set; } + + /// + /// Specifies the ID of label text. + /// + [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Id { get; set; } + + /// + /// Identifies IATA packing group for a hazardous commodity. + /// + [Newtonsoft.Json.JsonProperty("packingGroup", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public HazardousCommodityDescriptionPackingGroup? PackingGroup { get; set; } + + /// + /// The proper shipping name as defined by the regulation.<br>The name can also include qualifying words. + /// + [Newtonsoft.Json.JsonProperty("properShippingName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ProperShippingName { get; set; } + + /// + /// Specify hazard class for commodity. + /// + [Newtonsoft.Json.JsonProperty("hazardClass", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string HazardClass { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityDescriptionPackingGroup.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityDescriptionPackingGroup.cs new file mode 100644 index 0000000..a2dadb4 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityDescriptionPackingGroup.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum HazardousCommodityDescriptionPackingGroup + { + + [System.Runtime.Serialization.EnumMember(Value = @"DEFAULT")] + DEFAULT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"I")] + I = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"II")] + II = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"III")] + III = 3, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityInnerReceptacleDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityInnerReceptacleDetail.cs new file mode 100644 index 0000000..a7a420f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityInnerReceptacleDetail.cs @@ -0,0 +1,22 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// This describes information about the inner receptacles for the hazardous commodity in a particular dangerous goods container. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HazardousCommodityInnerReceptacleDetail + { + [Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public HazardousCommodityQuantityDetail Quantity { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityOptionDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityOptionDetail.cs new file mode 100644 index 0000000..532df6b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityOptionDetail.cs @@ -0,0 +1,32 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Customer-provided specifications for handling individual commodities. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HazardousCommodityOptionDetail + { + /// + /// Specifies how the customer wishes the label text to be handled for this commodity in this package. + /// + [Newtonsoft.Json.JsonProperty("labelTextOption", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public HazardousCommodityOptionDetailLabelTextOption? LabelTextOption { get; set; } + + /// + /// Text used in labeling the commodity under control of the labelTextOption field. + /// + [Newtonsoft.Json.JsonProperty("customerSuppliedLabelText", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CustomerSuppliedLabelText { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityOptionDetailLabelTextOption.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityOptionDetailLabelTextOption.cs new file mode 100644 index 0000000..f667336 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityOptionDetailLabelTextOption.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum HazardousCommodityOptionDetailLabelTextOption + { + + [System.Runtime.Serialization.EnumMember(Value = @"APPEND")] + APPEND = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"OVERRIDE")] + OVERRIDE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"STANDARD")] + STANDARD = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityPackagingDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityPackagingDetail.cs new file mode 100644 index 0000000..c7c39be --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityPackagingDetail.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Identifies number and type of packaging units for hazardous commodities. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HazardousCommodityPackagingDetail + { + /// + /// Indicate the number and type of packaging units for dangerous goods. + /// + [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + /// + /// Specify the unit of the package. + /// + [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Units { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityPackingDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityPackingDetail.cs new file mode 100644 index 0000000..aa362d6 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityPackingDetail.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Specifies documentation and limits for validation of an individual packing group/category. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HazardousCommodityPackingDetail + { + /// + /// Indicates the coded specification for how commodity is to be packed. + /// + [Newtonsoft.Json.JsonProperty("packingInstructions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PackingInstructions { get; set; } + + /// + /// Indicates the shipment is packaged/documented for movement ONLY on cargo aircraft. + /// + [Newtonsoft.Json.JsonProperty("cargoAircraftOnly", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? CargoAircraftOnly { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityQuantityDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityQuantityDetail.cs new file mode 100644 index 0000000..6fce32b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityQuantityDetail.cs @@ -0,0 +1,38 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Specifies Hazardous Commodity Quantity Detail. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HazardousCommodityQuantityDetail + { + /// + /// Specifies type of a quantity unit. + /// + [Newtonsoft.Json.JsonProperty("quantityType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public HazardousCommodityQuantityDetailQuantityType? QuantityType { get; set; } + + /// + /// Specifies amount details. + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } + + /// + /// Specify unit details. + /// + [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Units { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityQuantityDetailQuantityType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityQuantityDetailQuantityType.cs new file mode 100644 index 0000000..3faabb0 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HazardousCommodityQuantityDetailQuantityType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum HazardousCommodityQuantityDetailQuantityType + { + + [System.Runtime.Serialization.EnumMember(Value = @"GROSS")] + GROSS = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"NET")] + NET = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HoldAtLocationDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HoldAtLocationDetail.cs new file mode 100644 index 0000000..abdb7fe --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HoldAtLocationDetail.cs @@ -0,0 +1,36 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Use this object to specify required information for a shipment to be held at destination FedEx location. <br><br><i>Note: This object HoldAtLocationDetail is <b>REQUIRED</b>, when HOLD_AT_LOCATION is chosen in the specialServiceTypes.</i> + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HoldAtLocationDetail + { + /// + /// This is an alphanumeric identifier used for Location/Facility Identification.<br><br>Example: YBZA<br><br>Note: <i><ul><li>For HAL Shipment, Location ID is <b>REQUIRED</b> to ensure packages are delivered to the right location.</li><li>Use endpoint [<b>Find Location</b>] in [<b>Location Search API</b>], to find the correct location ID for your shipment.</li></ul></i> + /// + [Newtonsoft.Json.JsonProperty("locationId", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string LocationId { get; set; } + + [Newtonsoft.Json.JsonProperty("locationContactAndAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ContactAndAddress LocationContactAndAddress { get; set; } + + /// + /// Specify the Location Type.<br> Example: FEDEX_ONSITE + /// + [Newtonsoft.Json.JsonProperty("locationType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public HoldAtLocationDetailLocationType? LocationType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HoldAtLocationDetailLocationType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HoldAtLocationDetailLocationType.cs new file mode 100644 index 0000000..ce621d8 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HoldAtLocationDetailLocationType.cs @@ -0,0 +1,29 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum HoldAtLocationDetailLocationType + { + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_AUTHORIZED_SHIP_CENTER")] + FEDEX_AUTHORIZED_SHIP_CENTER = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_OFFICE")] + FEDEX_OFFICE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_SELF_SERVICE_LOCATION")] + FEDEX_SELF_SERVICE_LOCATION = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_STAFFED")] + FEDEX_STAFFED = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"RETAIL_ALLICANCE_LOCATION")] + RETAIL_ALLICANCE_LOCATION = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_GROUND_TERMINAL")] + FEDEX_GROUND_TERMINAL = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_ONSITE")] + FEDEX_ONSITE = 6, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HomeDeliveryPremiumDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HomeDeliveryPremiumDetail.cs new file mode 100644 index 0000000..50174e9 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HomeDeliveryPremiumDetail.cs @@ -0,0 +1,34 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// These are Special service elements for FedEx Ground Home Delivery shipments. If selected, element homedeliveryPremiumType is mandatory. + ///
+ ///
+ ///
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HomeDeliveryPremiumDetail + { + /// + /// This is shipment date. Both the date and time portions of the string are expected to be used. The date should not be a past date or a date more than 10 days in the future. The time is the local time of the shipment based on the shipper's time zone.<br>Formats: YYYY-MM-DD, YYYY-MM-DD HH:MM:SS <br> Example: 2024-06-14 19:23:51 + /// + [Newtonsoft.Json.JsonProperty("shipTimestamp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ShipTimestamp { get; set; } + + /// + /// This is Home Delivery Premium Type. It allows to specify additional premimum service options for the home delivery shipment. Can specify Evening delivery or a Date certain, or can specify appointment for the delivery. + /// + [Newtonsoft.Json.JsonProperty("homedeliveryPremiumType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public HomeDeliveryPremiumDetailHomedeliveryPremiumType? HomedeliveryPremiumType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HomeDeliveryPremiumDetailHomedeliveryPremiumType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HomeDeliveryPremiumDetailHomedeliveryPremiumType.cs new file mode 100644 index 0000000..6b53efb --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/HomeDeliveryPremiumDetailHomedeliveryPremiumType.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum HomeDeliveryPremiumDetailHomedeliveryPremiumType + { + + [System.Runtime.Serialization.EnumMember(Value = @"APPOINTMENT")] + APPOINTMENT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"DATE_CERTAIN")] + DATE_CERTAIN = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"EVENING")] + EVENING = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalControlledExportDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalControlledExportDetail.cs new file mode 100644 index 0000000..6c24102 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalControlledExportDetail.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Use this object to specify International Controlled Export shipment Details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class InternationalControlledExportDetail + { + /// + /// Indicate International Controlled Export Type.<br>Example: WAREHOUSE_WITHDRAWAL + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public InternationalControlledExportDetailType? Type { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalControlledExportDetailType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalControlledExportDetailType.cs new file mode 100644 index 0000000..a8a6177 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalControlledExportDetailType.cs @@ -0,0 +1,41 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum InternationalControlledExportDetailType + { + + [System.Runtime.Serialization.EnumMember(Value = @"DEA_036")] + DEA_036 = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"DEA_236")] + DEA_236 = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"DEA_486")] + DEA_486 = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"DSP_05")] + DSP_05 = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"DSP_61")] + DSP_61 = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"DSP_73")] + DSP_73 = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"DSP_85")] + DSP_85 = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"DSP_94")] + DSP_94 = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"DSP_LICENSE_AGREEMENT")] + DSP_LICENSE_AGREEMENT = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"FROM_FOREIGN_TRADE_ZONE")] + FROM_FOREIGN_TRADE_ZONE = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"WAREHOUSE_WITHDRAWAL")] + WAREHOUSE_WITHDRAWAL = 10, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalTrafficInArmsRegulationsDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalTrafficInArmsRegulationsDetail.cs new file mode 100644 index 0000000..b6558a0 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/InternationalTrafficInArmsRegulationsDetail.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// These are International Traffic In Arms Regulations shipment service Details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class InternationalTrafficInArmsRegulationsDetail + { + /// + /// The export or license number for the ITAR shipment.<br>Example: 9871234 + /// + [Newtonsoft.Json.JsonProperty("licenseOrExemptionNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LicenseOrExemptionNumber { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Dry_Ice_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Dry_Ice_Rate_Quote.cs new file mode 100644 index 0000000..560dc84 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Dry_Ice_Rate_Quote.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class International_Dry_Ice_Rate_Quote + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Ground_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Ground_Rate_Quote.cs new file mode 100644 index 0000000..1d0dee9 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Ground_Rate_Quote.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class International_Ground_Rate_Quote + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Hold_At_Location_with_Adult_Signature_Option.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Hold_At_Location_with_Adult_Signature_Option.cs new file mode 100644 index 0000000..3993d94 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Hold_At_Location_with_Adult_Signature_Option.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class International_Hold_At_Location_with_Adult_Signature_Option + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Multi_Piece_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Multi_Piece_Rate_Quote.cs new file mode 100644 index 0000000..26a0716 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Multi_Piece_Rate_Quote.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class International_Multi_Piece_Rate_Quote + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Priority_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Priority_Rate_Quote.cs new file mode 100644 index 0000000..06ca61b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Priority_Rate_Quote.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class International_Priority_Rate_Quote + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Return_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Return_Rate_Quote.cs new file mode 100644 index 0000000..847cb26 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/International_Return_Rate_Quote.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class International_Return_Rate_Quote + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Canada_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Canada_Rate_Quote.cs new file mode 100644 index 0000000..03466c5 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Canada_Rate_Quote.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Intra_Canada_Rate_Quote + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Europe_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Europe_Rate_Quote.cs new file mode 100644 index 0000000..a0d6784 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Europe_Rate_Quote.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Intra_Europe_Rate_Quote + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_India_Cash_On_Delivery_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_India_Cash_On_Delivery_Rate_Quote.cs new file mode 100644 index 0000000..7c18d8a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_India_Cash_On_Delivery_Rate_Quote.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Intra_India_Cash_On_Delivery_Rate_Quote + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Mexico_Express_Saver_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Mexico_Express_Saver_Rate_Quote.cs new file mode 100644 index 0000000..108547d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Intra_Mexico_Express_Saver_Rate_Quote.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Intra_Mexico_Express_Saver_Rate_Quote + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Locale.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Locale.cs new file mode 100644 index 0000000..d44d21e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Locale.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// These are Locale details.<br>Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Locale + { + /// + /// This is country code.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>Click here to see Country Codes</a> + /// + [Newtonsoft.Json.JsonProperty("country", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Country { get; set; } + + /// + /// This is language code.<br>Example: en<br><a onclick='loadDocReference("locales")'>Click here to see Locale</a> + /// + [Newtonsoft.Json.JsonProperty("language", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Language { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Money.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Money.cs new file mode 100644 index 0000000..a490ab8 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Money.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Money : Money_1 + { + /// + /// Indicates the declared amount value for the shipment. + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Always)] + public double Amount { get; set; } + + /// + /// Indicates the currency associated with the amount. + /// + [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Currency { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Money_1.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Money_1.cs new file mode 100644 index 0000000..c1e1417 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Money_1.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicate the amount details. This is optional, but if indicated, amount and currency must be provided. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Money_1 + { + /// + /// Indicates the amount. Example: 12.45 + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } + + /// + /// Indicate the three-character ISO currency code. <br>Example: USD<br><a onclick='loadDocReference("currencycodes")'>Click here to see Currency Codes</a> + /// + [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Currency { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/NotificationEventType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/NotificationEventType.cs new file mode 100644 index 0000000..586d22c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/NotificationEventType.cs @@ -0,0 +1,32 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum NotificationEventType + { + + [System.Runtime.Serialization.EnumMember(Value = @"ON_DELIVERY")] + ON_DELIVERY = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"ON_EXCEPTION")] + ON_EXCEPTION = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"ON_SHIPMENT")] + ON_SHIPMENT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"ON_TENDER")] + ON_TENDER = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"ON_ESTIMATED_DELIVERY")] + ON_ESTIMATED_DELIVERY = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"ON_PICKUP")] + ON_PICKUP = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"ON_LABEL")] + ON_LABEL = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"ON_BILL_OF_LADING")] + ON_BILL_OF_LADING = 7, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/OperationalDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/OperationalDetail.cs new file mode 100644 index 0000000..b247c8c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/OperationalDetail.cs @@ -0,0 +1,193 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicate the Operational Details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class OperationalDetail + { + /// + /// Indicate the location ID of the origin of shipment. <br> Example: YBZA + /// + [Newtonsoft.Json.JsonProperty("originLocationIds", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection OriginLocationIds { get; set; } + + /// + /// Indicate the delivery commitment day.<br> Example: MON + /// + [Newtonsoft.Json.JsonProperty("commitDays", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection CommitDays { get; set; } + + /// + /// Indicate the service code. <br> Example: 06 + /// + [Newtonsoft.Json.JsonProperty("serviceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ServiceCode { get; set; } + + /// + /// Specify the Airport Id. <br> Example: MEM + /// + [Newtonsoft.Json.JsonProperty("airportId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AirportId { get; set; } + + /// + /// Indicate the Standard Carrier Alpha Code (SCAC) is a privately controlled US code used to identify vessel operating common carriers (VOCC). It is typically two to four letters long. + /// + [Newtonsoft.Json.JsonProperty("scac", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Scac { get; set; } + + /// + /// Specify origin service area.<br> Example: AM + /// + [Newtonsoft.Json.JsonProperty("originServiceAreas", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection OriginServiceAreas { get; set; } + + /// + /// Specify the delivery commitment day. <br> Example: SAT + /// + [Newtonsoft.Json.JsonProperty("deliveryDay", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DeliveryDay { get; set; } + + /// + /// Specify the origin location ID.<br> Example: 6121 + /// + [Newtonsoft.Json.JsonProperty("originLocationNumbers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection OriginLocationNumbers { get; set; } + + /// + /// Indicate the destination postal code.<br> Example: 38017 + /// + [Newtonsoft.Json.JsonProperty("destinationPostalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DestinationPostalCode { get; set; } + + /// + /// Indicate the shipment Commit Date. <br> Example: 2019-07-22T08:30:00 + /// + [Newtonsoft.Json.JsonProperty("commitDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CommitDate { get; set; } + + /// + /// Indicate the ASTRA description for the label. <br> Example: XXXL1ST + /// + [Newtonsoft.Json.JsonProperty("astraDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AstraDescription { get; set; } + + /// + /// Indicate the delivery date. <br> Example: 2019-07-22T08:30:00 + /// + [Newtonsoft.Json.JsonProperty("deliveryDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DeliveryDate { get; set; } + + /// + /// Indicate the delivery eligibilities. + /// + [Newtonsoft.Json.JsonProperty("deliveryEligibilities", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection DeliveryEligibilities { get; set; } + + /// + /// indicate if ineligible For Money Back Guarantee. + /// + [Newtonsoft.Json.JsonProperty("ineligibleForMoneyBackGuarantee", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IneligibleForMoneyBackGuarantee { get; set; } + + /// + /// Specify Maximum transit time. <br> Example: THREE_DAYS + /// + [Newtonsoft.Json.JsonProperty("MaximumTransitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string MaximumTransitTime { get; set; } + + /// + /// Indicate Astra Planned Service Level. <br> Example: astraPlannedServicelevel + /// + [Newtonsoft.Json.JsonProperty("astraPlannedServiceLevel", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AstraPlannedServiceLevel { get; set; } + + /// + /// Indicate Destination Location Ids. <br> Example: HKAA + /// + [Newtonsoft.Json.JsonProperty("destinationLocationIds", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection DestinationLocationIds { get; set; } + + /// + /// Indicate destination location State Or Province code. <br> Example: TN<br><a onclick='loadDocReference("canadaprovincecodes")'>Click here to see State Or Province Code</a> + /// + [Newtonsoft.Json.JsonProperty("destinationLocationStateOrProvinceCodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection DestinationLocationStateOrProvinceCodes { get; set; } + + /// + /// Indicate the Transit Time in days. <br> Example: THREE_DAYS + /// + [Newtonsoft.Json.JsonProperty("transitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TransitTime { get; set; } + + /// + /// Indicate the Packaging Code. <br> Example: M1M1M1 + /// + [Newtonsoft.Json.JsonProperty("packagingCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PackagingCode { get; set; } + + /// + /// Indicate the Destination Location Numbers. <br> Example: 386 + /// + [Newtonsoft.Json.JsonProperty("destinationLocationNumbers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection DestinationLocationNumbers { get; set; } + + /// + /// Indicate the Published Delivery Time. <br> Example: THREE_DAYS + /// + [Newtonsoft.Json.JsonProperty("publishedDeliveryTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PublishedDeliveryTime { get; set; } + + /// + /// Indicate the Country Code.<br>Example: [ US, IN]<br><a onclick='loadDocReference("countrycodes")'>Click here to see Country Codes</a> + /// + [Newtonsoft.Json.JsonProperty("countryCodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection CountryCodes { get; set; } + + /// + /// Specifies state Or Province Code. State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2. <br> Example: TN + /// + [Newtonsoft.Json.JsonProperty("stateOrProvinceCodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection StateOrProvinceCodes { get; set; } + + /// + /// This is FedEx URSA Prefix Code. <br> Example: PrefixCode + /// + [Newtonsoft.Json.JsonProperty("ursaPrefixCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string UrsaPrefixCode { get; set; } + + /// + /// This is URSA Suffix Code. <br> Example: SuffixCode + /// + [Newtonsoft.Json.JsonProperty("ursaSuffixCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string UrsaSuffixCode { get; set; } + + /// + /// This is Destination Service Areas. <br> Example: A2 + /// + [Newtonsoft.Json.JsonProperty("destinationServiceAreas", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection DestinationServiceAreas { get; set; } + + /// + /// This is Origin Postal Codes. <br> Example: M1M1M1 + /// + [Newtonsoft.Json.JsonProperty("originPostalCodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection OriginPostalCodes { get; set; } + + /// + /// This is Custom Transit Time in days. <br> Example: THREE_DAYS + /// + [Newtonsoft.Json.JsonProperty("customTransitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CustomTransitTime { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Options.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Options.cs new file mode 100644 index 0000000..32ad62b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Options.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum Options + { + + [System.Runtime.Serialization.EnumMember(Value = @"HAZARDOUS_MATERIALS")] + HAZARDOUS_MATERIALS = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"BATTERY")] + BATTERY = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"ORM_D")] + ORM_D = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"REPORTABLE_QUANTITIES")] + REPORTABLE_QUANTITIES = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"SMALL_QUANTITY_EXCEPTION")] + SMALL_QUANTITY_EXCEPTION = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"LIMITED_QUANTITIES_COMMODITIES")] + LIMITED_QUANTITIES_COMMODITIES = 5, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageRateDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageRateDetail.cs new file mode 100644 index 0000000..afff3a3 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageRateDetail.cs @@ -0,0 +1,94 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Data for a package's rates, as calculated per a specific rate type. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PackageRateDetail + { + /// + /// Indicates which weight was used for the rate, e.g. actual or dimensional. <br> Example: dimensional + /// + [Newtonsoft.Json.JsonProperty("ratedWeightMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RatedWeightMethod { get; set; } + + /// + /// Specifies the sum of all taxes on this package.<br> Example: 1257.25 + /// + [Newtonsoft.Json.JsonProperty("totalTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalTaxes { get; set; } + + /// + /// The total discounts used in the rate calculation.<br> Example: 1257.2<br><a onclick='loadDocReference("discounts")'>Click here to see Discounts</a> + /// + [Newtonsoft.Json.JsonProperty("totalFreightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalFreightDiscounts { get; set; } + + /// + /// Identifies the manner in which the chargeRate for this line item was applied.<br> Example: 125 + /// + [Newtonsoft.Json.JsonProperty("baseCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? BaseCharge { get; set; } + + /// + /// The total sum of all rebates applied to this package.Example: 12 + /// + [Newtonsoft.Json.JsonProperty("totalRebates", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalRebates { get; set; } + + /// + /// Specifies the type used for this specific set of rate data. + /// + [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RateType { get; set; } + + [Newtonsoft.Json.JsonProperty("billingWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public BillingWeight BillingWeight { get; set; } + + /// + /// Specifies the sum of freight charges.<br> Example: 10 + /// + [Newtonsoft.Json.JsonProperty("netFreight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? NetFreight { get; set; } + + /// + /// Specifies the list of all surcharges that apply to this package. + /// + [Newtonsoft.Json.JsonProperty("surcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Surcharges { get; set; } + + /// + /// The sum of all surcharges on the package.<br> Example: 569 + /// + [Newtonsoft.Json.JsonProperty("totalSurcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalSurcharges { get; set; } + + /// + /// Specifies the sum of packages netFreight and totalSurcharges (not including totalTaxes).<br> Example: 125.32 + /// + [Newtonsoft.Json.JsonProperty("netFedExCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? NetFedExCharge { get; set; } + + /// + /// Specifies the sum of packages netFreight, totalSurcharges and totalTaxes. <br>Example: 563.98 + /// + [Newtonsoft.Json.JsonProperty("netCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? NetCharge { get; set; } + + /// + /// All rate discounts that apply to this shipment.<br><a onclick='loadDocReference("discounts")'>Click here to see Discounts</a> + /// + [Newtonsoft.Json.JsonProperty("freightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection FreightDiscounts { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequested.cs new file mode 100644 index 0000000..e06e2f5 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequested.cs @@ -0,0 +1,62 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// These special services are available at the package level for some or all service types. Needs Indicated, if rate data is being requested for the special services. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PackageSpecialServicesRequested + { + /// + /// Indicate the special services requested.<br><a onclick='loadDocReference("packagelevelspecialservicetypes")'>Click here to see Package level Special Service Types</a> + /// + [Newtonsoft.Json.JsonProperty("specialServiceTypes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection SpecialServiceTypes { get; set; } + + /// + /// Type of a Signature Option. + /// + [Newtonsoft.Json.JsonProperty("signatureOptionType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public PackageSpecialServicesRequestedSignatureOptionType? SignatureOptionType { get; set; } + + [Newtonsoft.Json.JsonProperty("alcoholDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public AlcoholDetail AlcoholDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("dangerousGoodsDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DangerousGoodsDetail DangerousGoodsDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("packageCODDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PackageSpecialServicesRequestedPackageCODDetail PackageCODDetail { get; set; } + + /// + /// Provide the pieceCount or VerificationBoxCount for batteries or cells that are contained within this specific package. + /// + [Newtonsoft.Json.JsonProperty("pieceCountVerificationBoxCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? PieceCountVerificationBoxCount { get; set; } + + /// + /// Specify the details about the batteries or cells that are contained within this specific package. + /// + [Newtonsoft.Json.JsonProperty("batteryDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection BatteryDetails { get; set; } + + [Newtonsoft.Json.JsonProperty("dryIceWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Weight_1_2 DryIceWeight { get; set; } + + /// + /// Provides details about the batteries or cells that are contained within this specific package. + /// + [Newtonsoft.Json.JsonProperty("standaloneBatteryDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection StandaloneBatteryDetails { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedPackageCODDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedPackageCODDetail.cs new file mode 100644 index 0000000..a04d190 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedPackageCODDetail.cs @@ -0,0 +1,29 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicates package COD Detail. COD main information is set in shipment level. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PackageSpecialServicesRequestedPackageCODDetail + { + [Newtonsoft.Json.JsonProperty("codCollectionAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Money_1 CodCollectionAmount { get; set; } + + /// + /// Indicate the type of funds FedEx should collect upon shipment delivery. <br> Conditionally required for Ground COD rates + /// + [Newtonsoft.Json.JsonProperty("codCollectionType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public PackageSpecialServicesRequestedPackageCODDetailCodCollectionType? CodCollectionType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedPackageCODDetailCodCollectionType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedPackageCODDetailCodCollectionType.cs new file mode 100644 index 0000000..794c6be --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedPackageCODDetailCodCollectionType.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum PackageSpecialServicesRequestedPackageCODDetailCodCollectionType + { + + [System.Runtime.Serialization.EnumMember(Value = @"ANY")] + ANY = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"CASH")] + CASH = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"COMPANY_CHECK")] + COMPANY_CHECK = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"GUARANTEED_FUNDS")] + GUARANTEED_FUNDS = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_CHECK")] + PERSONAL_CHECK = 4, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedSignatureOptionType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedSignatureOptionType.cs new file mode 100644 index 0000000..84b7564 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PackageSpecialServicesRequestedSignatureOptionType.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum PackageSpecialServicesRequestedSignatureOptionType + { + + [System.Runtime.Serialization.EnumMember(Value = @"SERVICE_DEFAULT")] + SERVICE_DEFAULT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"NO_SIGNATURE_REQUIRED")] + NO_SIGNATURE_REQUIRED = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"INDIRECT")] + INDIRECT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"DIRECT")] + DIRECT = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"ADULT")] + ADULT = 4, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Parameter.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Parameter.cs new file mode 100644 index 0000000..e32b0da --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Parameter.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// List of parameters which indicates the properties of the alert message. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Parameter + { + /// + /// Identifies the error option to be applied. + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Value { get; set; } + + /// + /// Indicates the value associated with the key. + /// + [Newtonsoft.Json.JsonProperty("key", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Key { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ParsedPersonName.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ParsedPersonName.cs new file mode 100644 index 0000000..be15f37 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ParsedPersonName.cs @@ -0,0 +1,43 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// This object is used to separate the person name into first and last name. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ParsedPersonName + { + /// + /// Specify the First Name. Maximum Length is 35. <br> Example: John + /// + [Newtonsoft.Json.JsonProperty("firstName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FirstName { get; set; } + + /// + /// Specify the Last Name. Maximum Length is 35. <br> Example: Mayor + /// + [Newtonsoft.Json.JsonProperty("lastName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LastName { get; set; } + + /// + /// Specify the Middle Name.<br> Example: Redmond + /// + [Newtonsoft.Json.JsonProperty("middleName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string MiddleName { get; set; } + + /// + /// Specify the Suffix.<br> Example: Jr + /// + [Newtonsoft.Json.JsonProperty("suffix", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Suffix { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Party.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Party.cs new file mode 100644 index 0000000..73d5cac --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Party.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicate the party to a transaction including the physical address, contact information and account number information. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Party + { + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Address Address { get; set; } + + [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public AccountNumber AccountNumber { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Party_2.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Party_2.cs new file mode 100644 index 0000000..7417801 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Party_2.cs @@ -0,0 +1,28 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicate the party to a transaction including the physical address, contact information and account number information. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Party_2 + { + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Address_2 Address { get; set; } + + [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Contact_2 Contact { get; set; } + + [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public AccountNumber AccountNumber { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Payment.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Payment.cs new file mode 100644 index 0000000..930b4f2 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Payment.cs @@ -0,0 +1,29 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// These are details about shipment payment. Value payor is optional when paymentType provided as SENDER. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Payment + { + [Newtonsoft.Json.JsonProperty("payor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Payor Payor { get; set; } + + /// + /// Indicate the payment Type. Applicable for Express and Ground rates. + /// + [Newtonsoft.Json.JsonProperty("paymentType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public PaymentType? PaymentType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PaymentType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PaymentType.cs new file mode 100644 index 0000000..1b22d02 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PaymentType.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum PaymentType + { + + [System.Runtime.Serialization.EnumMember(Value = @"SENDER")] + SENDER = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Payor.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Payor.cs new file mode 100644 index 0000000..8b5255b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Payor.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// This is payer Information responsible for paying for the shipment.<br>Note: Optional when paymentType is SENDER. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Payor + { + /// + /// These are payer details such as address, account and contacts. + /// + [Newtonsoft.Json.JsonProperty("responsibleParty", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ResponsibleParty ResponsibleParty { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PendingShipmentProcessingOptionsRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PendingShipmentProcessingOptionsRequested.cs new file mode 100644 index 0000000..ee57f99 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PendingShipmentProcessingOptionsRequested.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Use this object to specify the processing options associated with Pending Shipment request. This is useful for the Email Label originator to specify if the completer can make modifications to editable shipment data. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PendingShipmentProcessingOptionsRequested + { + /// + /// These are Pending Shipment processing options.<br> Example: ["ALLOW_MODIFICATIONS"] + /// + [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection Options { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PhoneNumber.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PhoneNumber.cs new file mode 100644 index 0000000..bd81b99 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/PhoneNumber.cs @@ -0,0 +1,51 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicates the telephone number to use for contact in the event of an emergency. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PhoneNumber + { + /// + /// Indicates the area code. + /// + [Newtonsoft.Json.JsonProperty("areaCode", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string AreaCode { get; set; } + + /// + /// Indicates the Extension. + /// + [Newtonsoft.Json.JsonProperty("extension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Extension { get; set; } + + /// + /// The two-letter code used to identify a country.<br>Example: US + /// + [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string CountryCode { get; set; } + + /// + /// Indicates the Personal Identification Number. + /// + [Newtonsoft.Json.JsonProperty("personalIdentificationNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PersonalIdentificationNumber { get; set; } + + /// + /// Telephone number to use for contact in the event of an emergency. + /// + [Newtonsoft.Json.JsonProperty("localNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LocalNumber { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Priority_Alert_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Priority_Alert_Rate_Quote.cs new file mode 100644 index 0000000..12aea79 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Priority_Alert_Rate_Quote.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Priority_Alert_Rate_Quote + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ProcessingOptions.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ProcessingOptions.cs new file mode 100644 index 0000000..f8fe24b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ProcessingOptions.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ProcessingOptions + { + + [System.Runtime.Serialization.EnumMember(Value = @"INCLUDE_SPECIAL_PROVISIONS")] + INCLUDE_SPECIAL_PROVISIONS = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ProductName.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ProductName.cs new file mode 100644 index 0000000..abbfd70 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ProductName.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Provides the product details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ProductName + { + /// + /// Specifies the type of the product.<br> Example: medium + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + /// + /// Specifies the encoding standard. <br> Example: utf-8. + /// + [Newtonsoft.Json.JsonProperty("encoding", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Encoding { get; set; } + + /// + /// Specifies the value of the Product.<br> Example: FedEx International First®. + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Value { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAddress.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAddress.cs new file mode 100644 index 0000000..61963be --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAddress.cs @@ -0,0 +1,18 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Descriptive data for a physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the US). Country code is required. Postal code is required for postal aware countries. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RateAddress : Address_2 + { + [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string CountryCode { get; set; } + + [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string PostalCode { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAndTransitTimesReq.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAndTransitTimesReq.cs new file mode 100644 index 0000000..ba93cd2 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAndTransitTimesReq.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// The request elements for requesting a rate quote. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public class RateAndTransitTimesReq + { + [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public AccountNumber AccountNumber { get; set; } = new AccountNumber(); + + [Newtonsoft.Json.JsonProperty("rateRequestControlParameters", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public RateRequestControlParameters RateRequestControlParameters { get; set; } + + [Newtonsoft.Json.JsonProperty("requestedShipment", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public RequestedShipment RequestedShipment { get; set; } = new RequestedShipment(); + + /// + /// Specify the four letter code of a FedEx operating company that meets your requirements.<br> Example: FDXE<br><ul><li>FDXE - FedEx Express</li><li>FDXG - FedEx Ground</li><li>FXSP - FedEx SmartPost</li><li>FXCC - FedEx Custom Critical.</li></ul> + /// + [Newtonsoft.Json.JsonProperty("carrierCodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore,ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection CarrierCodes { get; set; } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAndTransitTimesResp.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAndTransitTimesResp.cs new file mode 100644 index 0000000..a76be4d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateAndTransitTimesResp.cs @@ -0,0 +1,24 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// This is a wrapper class for outputVO. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public class RateAndTransitTimesResp + { + /// + /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492 + /// + [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TransactionId { get; set; } + + /// + /// This element has a unique identifier added in your request, helps you match the request to the reply.<br>Example: XXXX_XXX123XXXXX + /// + [Newtonsoft.Json.JsonProperty("customerTransactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CustomerTransactionId { get; set; } + + [Newtonsoft.Json.JsonProperty("output", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public BaseProcessOutputVO Output { get; set; } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateDiscount.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateDiscount.cs new file mode 100644 index 0000000..b8ecb65 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateDiscount.cs @@ -0,0 +1,46 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RateDiscount + { + /// + /// Indicates the details of the charges are to be added to the COD collect amount. <br> Example: 95 + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } + + /// + /// Specifies the name of all of the discounts that apply to the package.<br><a onclick='loadDocReference("discounts")'>Click here to see Discounts</a> + /// + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } + + /// + /// Specifies the discounts on this package. + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// Specifies the type of discount. + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + /// + /// Specifies the percentage of discount. + /// + [Newtonsoft.Json.JsonProperty("percent", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Percent { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateDiscount_1.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateDiscount_1.cs new file mode 100644 index 0000000..842964d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateDiscount_1.cs @@ -0,0 +1,46 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RateDiscount_1 + { + /// + /// Indicates the amount for the rate discount.<br> Example: 87.5 + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } + + /// + /// Indicate the name of the discount.<a href="/developer-portal/en-us/reference-guide.html#discounts" target="_blank">Click here to see Discounts</a> <br> Example: name + /// + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } + + /// + /// Indicates the description for the rate discount.<br> Example: Description + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// Indicates the type. <br> Example: type + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + /// + /// Indicates the percentage of the rate discount. <br> Example: 10.5 + /// + [Newtonsoft.Json.JsonProperty("percent", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Percent { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateParty.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateParty.cs new file mode 100644 index 0000000..36ab85f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateParty.cs @@ -0,0 +1,12 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Specify the shipper address details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RateParty + { + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Always)] + public RateAddress Address { get; set; } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateReplyDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateReplyDetail.cs new file mode 100644 index 0000000..c995f07 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateReplyDetail.cs @@ -0,0 +1,70 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// This objcet lists the rate data by service. If a service was specified in the request, there will be a single entry; if service was omitted in the request, there will be a separate entry in this for each service being compared. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RateReplyDetail + { + /// + /// This is the service type associated with this rate (i.e. Priority Overnight, Home Delivery, etc.)<br>For Ground/SmartPost this will be a direct copy of the service specified in the request. For domestic Express, the service may have been bumped, so it may not match the value specified on the request. For International Express the service may be bumped and not mapped.<br>Example: FEDEX_GROUND<br><a onclick='loadDocReference("servicetypes")'>Click here to see Service Types</a> + /// + [Newtonsoft.Json.JsonProperty("serviceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ServiceType { get; set; } + + /// + /// This is the service name associated with this rate. <br> Example: FedEx Ground + /// + [Newtonsoft.Json.JsonProperty("serviceName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ServiceName { get; set; } + + /// + /// Packaging type associated with this particular rate. For Ground/SmartPost will always be YOUR_PACKAGING. For domestic Express, the packaging may have been bumped so it may not match the value specified on the request. For international Express the packaging may be bumped and not mapped.<br>Example: YOUR_PACKAGING <br><a href="/developer-portal/en-us/reference-guide.html#packagetypes" target="_blank">Click here to see Package Types</a> + /// + [Newtonsoft.Json.JsonProperty("packagingType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PackagingType { get; set; } + + /// + /// These are messages concerning the ability to provide an accurate delivery commitment on an International commit quote. These could be providing information about why a commitment could not be returned or a successful message<br>Example:<br><ul><li>REQUEST_COMPLETED<br>Request completed successfully</li><li>SERVICE.TYPE.INTERNATIONAL.MESSAGE:<br>Rate does not include duties & taxes, clearance entry fees or other import fees. The payor of duties/taxes/fees will be responsible for any applicable Clearance Entry Fees.</li><li>NATIONAL.HOLIDAY.OBSERVED:<br>National Holiday Observed on Ship Date.</li><li>INCONSISTENT.COMMODITY.DESCRIPTION:<br>The description and harmonized code for the specified commodity are not consistent.</li></ul> + /// + [Newtonsoft.Json.JsonProperty("customerMessages", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection CustomerMessages { get; set; } + + /// + /// This object provides the shipment and package rating data in a rate request reply. + /// + [Newtonsoft.Json.JsonProperty("ratedShipmentDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection RatedShipmentDetails { get; set; } + + [Newtonsoft.Json.JsonProperty("operationalDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public OperationalDetail OperationalDetail { get; set; } + + /// + /// Indicates the signature Option for this service. <br> Example: SERVICE_DEFAULT + /// + [Newtonsoft.Json.JsonProperty("signatureOptionType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SignatureOptionType { get; set; } + + [Newtonsoft.Json.JsonProperty("serviceDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ServiceDescription ServiceDescription { get; set; } + + [Newtonsoft.Json.JsonProperty("brokerDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public BrokerDetail_RateReply BrokerDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("commit", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Commit Commit { get; set; } + + [Newtonsoft.Json.JsonProperty("serviceSubOptionDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ServiceSubOptionDetail ServiceSubOptionDetail { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParameters.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParameters.cs new file mode 100644 index 0000000..9bcb917 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParameters.cs @@ -0,0 +1,36 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Specify the return transit times, services needed on rate failure, choice of variable option and order to sort rate options to filter and sort the expected response. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public class RateRequestControlParameters + { + /// + /// Indicate if the transit time and commit data are to be returned in the reply. Default value is false.<br>Valid values are TRUE and FALSE. + /// + [Newtonsoft.Json.JsonProperty("returnTransitTimes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ReturnTransitTimes { get; set; } + + /// + /// Specify the services to be requested if the rate data is not available.<br>Valid values are TRUE and FALSE. + /// + [Newtonsoft.Json.JsonProperty("servicesNeededOnRateFailure", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ServicesNeededOnRateFailure { get; set; } + + /// + /// Specify service options whose combinations are to be considered when replying with available services.<br>Example: FREIGHT_GUARANTEE</br> + /// + [Newtonsoft.Json.JsonProperty("variableOptions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RateRequestControlParametersVariableOptions? VariableOptions { get; set; } + + /// + /// This is a sort order you can specify to control the order of the response data. <br> Example: SERVICENAMETRADITIONAL</br> <br> <ul><li>SERVICENAMETRADITIONAL - data in order of highest to lowest service (Default)</li><li>COMMITASCENDING - data in order of ascending delivery committment</li><li>COMMITDESCENDING - data in order of descending delivery committment.</li></ul></br> + /// + [Newtonsoft.Json.JsonProperty("rateSortOrder", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RateRequestControlParametersRateSortOrder? RateSortOrder { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParametersRateSortOrder.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParametersRateSortOrder.cs new file mode 100644 index 0000000..9e5119a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParametersRateSortOrder.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RateRequestControlParametersRateSortOrder + { + + [System.Runtime.Serialization.EnumMember(Value = @"COMMITASCENDING")] + COMMITASCENDING = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"SERVICENAMETRADITIONAL")] + SERVICENAMETRADITIONAL = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"COMMITDESCENDING")] + COMMITDESCENDING = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParametersVariableOptions.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParametersVariableOptions.cs new file mode 100644 index 0000000..4c0480e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestControlParametersVariableOptions.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RateRequestControlParametersVariableOptions + { + + [System.Runtime.Serialization.EnumMember(Value = @"SATURDAY_DELIVERY")] + SATURDAY_DELIVERY = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"FREIGHT_GUARANTEE")] + FREIGHT_GUARANTEE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"SMART_POST_ALLOWED_INDICIA")] + SMART_POST_ALLOWED_INDICIA = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"SMARTPOST_HUB_ID")] + SMARTPOST_HUB_ID = 3, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestType.cs new file mode 100644 index 0000000..bd9fb58 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RateRequestType.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Specifies the items. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RateRequestType + { + + [System.Runtime.Serialization.EnumMember(Value = @"LIST")] + LIST = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"INCENTIVE")] + INCENTIVE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT")] + ACCOUNT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED")] + PREFERRED = 3, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedPackageDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedPackageDetail.cs new file mode 100644 index 0000000..3aa6c13 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedPackageDetail.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RatedPackageDetail + { + /// + /// This is the list net charge minus actual net charge.<br> Example: 1.0 + /// + [Newtonsoft.Json.JsonProperty("effectiveNetDiscount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? EffectiveNetDiscount { get; set; } + + [Newtonsoft.Json.JsonProperty("packageRateDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PackageRateDetail PackageRateDetail { get; set; } + + /// + /// This is group number, used only with package groups as a unique identifier of each group of identical packages. + /// + [Newtonsoft.Json.JsonProperty("groupNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? GroupNumber { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetail.cs new file mode 100644 index 0000000..458c29a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetail.cs @@ -0,0 +1,139 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// This object provides the shipment and package rating data in a rate request reply. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RatedShipmentDetail + { + /// + /// Type used for this specific set of rate data.<br>Example: ACCOUNT + /// + [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RatedShipmentDetailRateType? RateType { get; set; } + + /// + /// Indicates which weight was used for the rate.<br>Example: 'ACTUAL' + /// + [Newtonsoft.Json.JsonProperty("ratedWeightMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RatedShipmentDetailRatedWeightMethod? RatedWeightMethod { get; set; } + + /// + /// The total amount of the duties and taxes plus the total ancillary fees and taxes.<br> Example: 445.54 + /// + [Newtonsoft.Json.JsonProperty("totalDutiesTaxesAndFees", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalDutiesTaxesAndFees { get; set; } + + /// + /// This is the total discount.<br> Example: 445.54<br><a href='/api/en-us/reference-guide.html#discounts' target='_blank'>Click here to see FedEx Discounts</a> + /// + [Newtonsoft.Json.JsonProperty("totalDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalDiscounts { get; set; } + + /// + /// The sum of shipment/package Duties and taxes.<br> Example: 445.54 + /// + [Newtonsoft.Json.JsonProperty("totalDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalDutiesAndTaxes { get; set; } + + [Newtonsoft.Json.JsonProperty("variableHandlingCharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VariableHandlingCharges VariableHandlingCharges { get; set; } + + /// + /// These are the estimation and duty charges. + /// + [Newtonsoft.Json.JsonProperty("edtCharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection EdtCharges { get; set; } + + /// + /// Indicates the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. + /// + [Newtonsoft.Json.JsonProperty("totalAncillaryFeesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalAncillaryFeesAndTaxes { get; set; } + + /// + /// These are the package-level data for this rate type. + /// + [Newtonsoft.Json.JsonProperty("ratedPackages", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection RatedPackages { get; set; } + + /// + /// This shipment's totalNetFedExChargeList, which is totalNetFreight plus totalSurcharges (not including totalTaxes). + /// + [Newtonsoft.Json.JsonProperty("totalNetFedExCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalNetFedExCharge { get; set; } + + /// + /// Indicates the unique identifier for a specific rate quotation.<br> Example: XX1123XX + /// + [Newtonsoft.Json.JsonProperty("quoteNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string QuoteNumber { get; set; } + + /// + /// This is data for a single leg of a shipment's total/summary rates, as calculated per a specific rate type. + /// + [Newtonsoft.Json.JsonProperty("shipmentLegRateDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection ShipmentLegRateDetails { get; set; } + + /// + /// This identifies the manner in which the chargeRate was applied, for Freight.<br> Valid values are: <ul><li>CWT - Charge rate applies per weight.</li><li>FLAT - Charge rate is a flat-rate amount.</li><li>MINIMUM</li></ul> + /// + [Newtonsoft.Json.JsonProperty("freightChargeBasis", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RatedShipmentDetailFreightChargeBasis? FreightChargeBasis { get; set; } + + [Newtonsoft.Json.JsonProperty("totalVariableHandlingCharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VariableHandlingCharges TotalVariableHandlingCharges { get; set; } + + /// + /// This is total value added tax charges (VAT). + /// + [Newtonsoft.Json.JsonProperty("totalVatCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalVatCharge { get; set; } + + /// + /// This is the total amount of the shipment-level fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes. + /// + [Newtonsoft.Json.JsonProperty("ancillaryFeesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection AncillaryFeesAndTaxes { get; set; } + + /// + /// Specifies the Edt charges. + /// + [Newtonsoft.Json.JsonProperty("preferredEdtCharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection PreferredEdtCharges { get; set; } + + /// + /// This is net charges for the shipment. + /// + [Newtonsoft.Json.JsonProperty("totalNetCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalNetCharge { get; set; } + + /// + /// This is total base charges for the shipment. + /// + [Newtonsoft.Json.JsonProperty("totalBaseCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalBaseCharge { get; set; } + + /// + /// This is total net Charges with Duties And Taxes for the shipment. + /// + [Newtonsoft.Json.JsonProperty("totalNetChargeWithDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalNetChargeWithDutiesAndTaxes { get; set; } + + [Newtonsoft.Json.JsonProperty("shipmentRateDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShipmentRateDetail ShipmentRateDetail { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailFreightChargeBasis.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailFreightChargeBasis.cs new file mode 100644 index 0000000..f19f7d4 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailFreightChargeBasis.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RatedShipmentDetailFreightChargeBasis + { + + [System.Runtime.Serialization.EnumMember(Value = @"CWT")] + CWT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"FLAT")] + FLAT = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"MINIMUM")] + MINIMUM = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailRateType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailRateType.cs new file mode 100644 index 0000000..6cc39df --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailRateType.cs @@ -0,0 +1,35 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RatedShipmentDetailRateType + { + + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT")] + ACCOUNT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"ACTUAL")] + ACTUAL = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"CURRENT")] + CURRENT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM")] + CUSTOM = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"LIST")] + LIST = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"INCENTIVE")] + INCENTIVE = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED")] + PREFERRED = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED_INCENTIVE")] + PREFERRED_INCENTIVE = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED_CURRENCY")] + PREFERRED_CURRENCY = 8, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailRatedWeightMethod.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailRatedWeightMethod.cs new file mode 100644 index 0000000..300f360 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RatedShipmentDetailRatedWeightMethod.cs @@ -0,0 +1,47 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RatedShipmentDetailRatedWeightMethod + { + + [System.Runtime.Serialization.EnumMember(Value = @"ACTUAL")] + ACTUAL = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"AVERAGE_PACKAGE_WEIGHT_MINIMUM")] + AVERAGE_PACKAGE_WEIGHT_MINIMUM = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"DEFAULT_WEIGHT_APPLIED")] + DEFAULT_WEIGHT_APPLIED = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"BALLOON")] + BALLOON = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"DIM")] + DIM = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"FREIGHT_MINIMUM")] + FREIGHT_MINIMUM = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"MIXED")] + MIXED = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"OVERSIZE")] + OVERSIZE = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"OVERSIZE_1")] + OVERSIZE_1 = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"OVERSIZE_2")] + OVERSIZE_2 = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"OVERSIZE_3")] + OVERSIZE_3 = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"PACKAGING_MINIMUM")] + PACKAGING_MINIMUM = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"WEIGHT_BREAK")] + WEIGHT_BREAK = 12, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RecommendedDocumentSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RecommendedDocumentSpecification.cs new file mode 100644 index 0000000..c43715d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RecommendedDocumentSpecification.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// These are recommended document specification which are recommended to be included with the shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RecommendedDocumentSpecification + { + /// + /// This is a document type. + /// + [Newtonsoft.Json.JsonProperty("types", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection Types { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestePackageLineItemDimensions.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestePackageLineItemDimensions.cs new file mode 100644 index 0000000..72aaf55 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestePackageLineItemDimensions.cs @@ -0,0 +1,35 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicate the dimensions of the package.<br> Following conditions will apply: <ul><li>Dimensions are optional but when added, then all three dimensions must be indicated.</li><li>Dimensions are required with YOUR_PACKAGING package type.</li></ul>Note: The Maximum/minimum dimension values varies based on the services and the packaging types. Refer <a href="https://www.fedex.com/en-us/service-guide.html" target="_blank">FedEx Service Guide</a> for service details related to DIM Weighting for FedEx Express and oversize conditions for FedEx Express and FedEx Ground. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RequestePackageLineItemDimensions : Dimensions_1 + { + /// + /// Indicate the length of the package. No implied decimal places. Maximum value: 999 <br> Example: 20 + /// + [Newtonsoft.Json.JsonProperty("length", Required = Newtonsoft.Json.Required.Always)] + public int Length { get; set; } + + /// + /// Indicate the width of the package. No implied decimal places. Maximum value: 999 <br> Example: 10 + /// + [Newtonsoft.Json.JsonProperty("width", Required = Newtonsoft.Json.Required.Always)] + public int Width { get; set; } + + /// + /// Indicate the height of the package. No implied decimal places. Maximum value: 999 <br> Example: 10 + /// + [Newtonsoft.Json.JsonProperty("height", Required = Newtonsoft.Json.Required.Always)] + public int Height { get; set; } + + /// + /// Indicate the unit of measure for the provided dimensions.<br>Valid Values are:<ul><li>IN - Inches</li><li>CM - Centimeters</li></ul> + /// + [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Units { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedPackageLineItem.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedPackageLineItem.cs new file mode 100644 index 0000000..029dd42 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedPackageLineItem.cs @@ -0,0 +1,42 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RequestedPackageLineItem + { + /// + /// This is a physical packaging type used for the package. <br><a onclick='loadDocReference("subpackagetypes")'>Click here to see sub-packaging types</a><br>For more information on physical packaging or packaging regulatory requirements, visit fedex.com or contact your FedEx representative. + /// + [Newtonsoft.Json.JsonProperty("subPackagingType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SubPackagingType { get; set; } + + /// + /// Indicate the grouped package count. These are number of identical package(s) each with one or more commodities. <br> Example: 2 + /// + [Newtonsoft.Json.JsonProperty("groupPackageCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? GroupPackageCount { get; set; } + + /// + /// This is the Declared Value - represents FedEx Maximum liability in connection with a shipment of that Package, including but not limited to, any loss, damage, delay, misdelivery, any failure to provide information, or misdelivery of information relating to the Shipment. + /// + [Newtonsoft.Json.JsonProperty("declaredValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Money DeclaredValue { get; set; } + + /// + /// Indicate the total weight of the requested package line items. + /// + [Newtonsoft.Json.JsonProperty("weight", Required = Newtonsoft.Json.Required.Always)] + public Weight_2 Weight { get; set; } + + [Newtonsoft.Json.JsonProperty("dimensions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public RequestePackageLineItemDimensions Dimensions { get; set; } + + [Newtonsoft.Json.JsonProperty("variableHandlingChargeDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VariableHandlingChargeDetail VariableHandlingChargeDetail { get; set; } + + /// + /// These special services are available at the package level for some or all service types. Indicated if rate data is being requested for the special services. + /// + [Newtonsoft.Json.JsonProperty("packageSpecialServices", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PackageSpecialServicesRequested PackageSpecialServices { get; set; } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedRatePackageType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedRatePackageType.cs new file mode 100644 index 0000000..9e71a10 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedRatePackageType.cs @@ -0,0 +1,39 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RequestedRatePackageType + { + [System.Runtime.Serialization.EnumMember(Value = @"YOUR_PACKAGING")] + YOUR_PACKAGING = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_ENVELOPE")] + FEDEX_ENVELOPE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_BOX")] + FEDEX_BOX = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_SMALL_BOX")] + FEDEX_SMALL_BOX = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_MEDIUM_BOX")] + FEDEX_MEDIUM_BOX = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_LARGE_BOX")] + FEDEX_LARGE_BOX = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_EXTRA_LARGE_BOX")] + FEDEX_EXTRA_LARGE_BOX = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_10KG_BOX")] + FEDEX_10KG_BOX = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_25KG_BOX")] + FEDEX_25KG_BOX = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_PAK")] + FEDEX_PAK = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_TUBE")] + FEDEX_TUBE = 10 + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedRateServiceType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedRateServiceType.cs new file mode 100644 index 0000000..54de026 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedRateServiceType.cs @@ -0,0 +1,156 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RequestedRateServiceType + { + /// + /// FedEx International Priority® Express + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_INTERNATIONAL_PRIORITY_EXPRESS")] + FEDEX_INTERNATIONAL_PRIORITY_EXPRESS = 0, + + /// + /// FedEx International First® + /// + [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_FIRST")] + INTERNATIONAL_FIRST = 1, + + /// + /// FedEx International Priority® + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_INTERNATIONAL_PRIORITY")] + FEDEX_INTERNATIONAL_PRIORITY = 2, + + /// + /// FedEx International Economy® + /// + [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_ECONOMY")] + INTERNATIONAL_ECONOMY = 3, + + /// + /// FedEx International Ground® and FedEx Domestic Ground® + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_GROUND")] + FEDEX_GROUND = 4, + + /// + /// FedEx First Overnight® + /// + [System.Runtime.Serialization.EnumMember(Value = @"FIRST_OVERNIGHT")] + FIRST_OVERNIGHT = 5, + + /// + /// FedEx First Overnight® Freight + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_FIRST_FREIGHT")] + FEDEX_FIRST_FREIGHT = 6, + + /// + /// FedEx 1Day® Freight + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_1_DAY_FREIGHT")] + FEDEX_1_DAY_FREIGHT = 7, + + /// + /// FedEx 2Day® Freight + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_2_DAY_FREIGHT")] + FEDEX_2_DAY_FREIGHT = 8, + + /// + /// FedEx 3Day® Freight + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_3_DAY_FREIGHT")] + FEDEX_3_DAY_FREIGHT = 9, + + /// + /// FedEx International Priority® Freight + /// + [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_PRIORITY_FREIGHT")] + INTERNATIONAL_PRIORITY_FREIGHT = 10, + + /// + /// FedEx International Economy® Freight + /// + [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_ECONOMY_FREIGHT")] + INTERNATIONAL_ECONOMY_FREIGHT = 11, + + /// + /// FedEx® International Deferred Freight + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_INTERNATIONAL_DEFERRED_FREIGHT")] + FEDEX_INTERNATIONAL_DEFERRED_FREIGHT = 12, + + /// + /// FedEx International Priority DirectDistribution® + /// + [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_PRIORITY_DISTRIBUTION")] + INTERNATIONAL_PRIORITY_DISTRIBUTION = 13, + + /// + /// FedEx International Priority DirectDistribution® Freight + /// + [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_DISTRIBUTION_FREIGHT")] + INTERNATIONAL_DISTRIBUTION_FREIGHT = 14, + + /// + /// International Ground® Distribution (IGD) + /// + [System.Runtime.Serialization.EnumMember(Value = @"INTL_GROUND_DISTRIBUTION")] + INTL_GROUND_DISTRIBUTION = 15, + + /// + /// FedEx Home Delivery® + /// + [System.Runtime.Serialization.EnumMember(Value = @"GROUND_HOME_DELIVERY")] + GROUND_HOME_DELIVERY = 16, + + /// + /// FedEx Ground® Economy (Formerly known as FedEx SmartPost®) + /// + [System.Runtime.Serialization.EnumMember(Value = @"SMART_POST")] + SMART_POST = 17, + + /// + /// FedEx Priority Overnight® + /// + [System.Runtime.Serialization.EnumMember(Value = @"PRIORITY_OVERNIGHT")] + PRIORITY_OVERNIGHT = 18, + + /// + /// FedEx Standard Overnight® (Hawaii outbound only) + /// + [System.Runtime.Serialization.EnumMember(Value = @"STANDARD_OVERNIGHT")] + STANDARD_OVERNIGHT = 19, + + /// + /// FedEx 2Day® (Except Intra-Hawaii) + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_2_DAY")] + FEDEX_2_DAY = 20, + + /// + /// FedEx 2Day® AM (Hawaii outbound only) + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_2_DAY_AM")] + FEDEX_2_DAY_AM = 21, + + /// + /// FedEx Express Saver® (Except Alaska and Hawaii) + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_EXPRESS_SAVER")] + FEDEX_EXPRESS_SAVER = 22, + + /// + /// FedEx SameDay® + /// + [System.Runtime.Serialization.EnumMember(Value = @"SAME_DAY")] + SAME_DAY = 23, + + /// + /// FedEx SameDay® City (Selected U.S. Metro Areas) + /// + [System.Runtime.Serialization.EnumMember(Value = @"SAME_DAY_CITY")] + SAME_DAY_CITY = 24 + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipment.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipment.cs new file mode 100644 index 0000000..fbf42d7 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipment.cs @@ -0,0 +1,116 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// This is shipment data for which a rate quote (or rate-shipping comparison) is requested. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RequestedShipment + { + /// + /// The descriptive data for the physical shipper location from which the shipment originates. + /// + [Newtonsoft.Json.JsonProperty("shipper", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public RateParty Shipper { get; set; } = new RateParty(); + + /// + /// Indicate the descriptive data for the recipient location to which the shipment is to be received. + /// + [Newtonsoft.Json.JsonProperty("recipient", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public RateParty Recipient { get; set; } = new RateParty(); + + /// + /// Indicate the FedEx service type used for this shipment. The results will be filtered by the service type value indicated. If no serviceType is indicated then all the applicable services and corresponding rates will be returned.<br>Example: STANDARD_OVERNIGHT<br><a onclick='loadDocReference("servicetypes")'>Click here to see Service Types</a> + /// + [Newtonsoft.Json.JsonProperty("serviceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RequestedRateServiceType? ServiceType { get; set; } + + /// + /// Indicate the currency the caller requests to have used in all returned monetary values (when a choice is possible). Used in conjunction with the rateRequestType data element. This element is used to pull Preferred rates.<br>Example: USD<br><a onclick='loadDocReference("currencycodes")'> Click here to see Currency Codes</a> + /// + [Newtonsoft.Json.JsonProperty("preferredCurrency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PreferredCurrency { get; set; } + + /// + /// Indicate the type of rates to be returned.<br>Following are values:<ul><li>LIST - Returns FedEx published list rates in addition to account-specific rates (if applicable).</li><li>PREFERRED - Returns rates in the preferred currency specified in the element preferredCurrency.</li><li>ACCOUNT - Returns account specific rates (Default).</li><li>INCENTIVE - This is one-time discount for incentivising the customer. For more information, contact your FedEx representative.</li></ul>Examples: ["LIST","PREFERRED"] + /// + [Newtonsoft.Json.JsonProperty("rateRequestType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection RateRequestType { get; set; } + + /// + /// This is shipment date. Both the date and time portions of the string are expected to be used. The date should not be a past date or a date more than 10 days in the future. The time is the local time of the shipment based on the shipper's time zone.<br>Required Format is YYYY-MM-DD<br> Example: 2019-09-05 + /// + [Newtonsoft.Json.JsonProperty("shipDateStamp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ShipDateStamp { get; set; } + + /// + /// Indicate the pickup type method by which the shipment to be tendered to FedEx.<br><a onclick='loadDocReference("pickuptypes")'>Click here for more information on Pickup Types.</a> + /// + [Newtonsoft.Json.JsonProperty("pickupType", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RequestedShipmentPickupType PickupType { get; set; } + + /// + /// These are one or more package-attribute descriptions, each of which describes an individual package, a group of identical packages, or (for the total-piece-total-weight case) common characteristics of all packages in the shipment.<ul><li>At least one instance containing the weight for at least one package is required for EXPRESS and GROUND shipments.</li><li>Not used for FREIGHT.</li><li>Single piece requests will have one RequestedPackageLineItem.</li><li>Multiple piece requests will have multiple RequestedPackageLineItems.</li><li>Maximum occurrences is 99.</li></ul> + /// + [Newtonsoft.Json.JsonProperty("requestedPackageLineItems", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public System.Collections.Generic.ICollection RequestedPackageLineItems { get; set; } = new System.Collections.ObjectModel.Collection(); + + /// + /// Indicate whether or not its a document Shipment. + /// + [Newtonsoft.Json.JsonProperty("documentShipment", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? DocumentShipment { get; set; } + + /// + /// contains the detail used to calculate a variable handling charge, a potentially non-fixed handling surcharge. Based on if there is a percent value, or a fixed amount, the charge can either be fixed or percents based. + /// + [Newtonsoft.Json.JsonProperty("variableHandlingChargeDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VariableHandlingChargeDetail VariableHandlingChargeDetail { get; set; } + + /// + /// This is the Packaging type associated with this rate. For Ground/SmartPost,it will always be YOUR_PACKAGING. For domestic Express, the packaging may have been bumped so it may not match the value specified on the request. For International Express the packaging may be bumped and not mapped.<br><a onclick='loadDocReference("packagetypes")'>Click here to see Package Types</a> + /// + [Newtonsoft.Json.JsonProperty("packagingType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RequestedRatePackageType? PackagingType { get; set; } + + /// + /// Indicate the total number of packages in the shipment. <br>The Maximum number of packages in a rate request is 100. + /// + [Newtonsoft.Json.JsonProperty("totalPackageCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? TotalPackageCount { get; set; } + + /// + /// Specify the total weight of the shipment. <br>This is only applies to International shipments and should be used on the first package of a multiple piece shipment. This value contains 1 explicit decimal position. + /// + [Newtonsoft.Json.JsonProperty("totalWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalWeight { get; set; } + + [Newtonsoft.Json.JsonProperty("shipmentSpecialServices", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public RequestedShipmentSpecialServicesRequested ShipmentSpecialServices { get; set; } + + [Newtonsoft.Json.JsonProperty("customsClearanceDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public RequestedShipmentCustomsClearanceDetail CustomsClearanceDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("serviceTypeDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ServiceTypeDetailVO ServiceTypeDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("smartPostInfoDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public RequestedShipmentSmartPostInfoDetail SmartPostInfoDetail { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentCustomsClearanceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentCustomsClearanceDetail.cs new file mode 100644 index 0000000..b7c9f8a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentCustomsClearanceDetail.cs @@ -0,0 +1,45 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// This is Customs clearance data, used for both international and intra-country shipping and rating. Customs commodity data is required for international and intra-country rating. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RequestedShipmentCustomsClearanceDetail + { + /// + /// Conditional.<br>Required if BROKER_SELECT_OPTION is specified as a shipment special service type. A country code must be specified in addition to one of the following address items: postal code, city, or location id. + /// + [Newtonsoft.Json.JsonProperty("brokers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Brokers { get; set; } + + [Newtonsoft.Json.JsonProperty("commercialInvoice", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CommercialInvoice CommercialInvoice { get; set; } + + /// + /// Indicates Freight on value for customs. + /// + [Newtonsoft.Json.JsonProperty("freightOnValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RequestedShipmentCustomsClearanceDetailFreightOnValue? FreightOnValue { get; set; } + + [Newtonsoft.Json.JsonProperty("dutiesPayment", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Payment DutiesPayment { get; set; } + + /// + /// Specify the commodity details. + /// + [Newtonsoft.Json.JsonProperty("commodities", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public System.Collections.Generic.ICollection Commodities { get; set; } = new System.Collections.ObjectModel.Collection(); + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentCustomsClearanceDetailFreightOnValue.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentCustomsClearanceDetailFreightOnValue.cs new file mode 100644 index 0000000..69cb094 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentCustomsClearanceDetailFreightOnValue.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RequestedShipmentCustomsClearanceDetailFreightOnValue + { + + [System.Runtime.Serialization.EnumMember(Value = @"CARRIER_RISK")] + CARRIER_RISK = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"OWN_RISK")] + OWN_RISK = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentPickupType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentPickupType.cs new file mode 100644 index 0000000..c842c87 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentPickupType.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RequestedShipmentPickupType + { + + [System.Runtime.Serialization.EnumMember(Value = @"CONTACT_FEDEX_TO_SCHEDULE")] + CONTACT_FEDEX_TO_SCHEDULE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"DROPOFF_AT_FEDEX_LOCATION")] + DROPOFF_AT_FEDEX_LOCATION = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"USE_SCHEDULED_PICKUP")] + USE_SCHEDULED_PICKUP = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetail.cs new file mode 100644 index 0000000..868975e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetail.cs @@ -0,0 +1,46 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Use this object to specify the smartpost shipment details. <br>Required for SMARTPOST service. If SmartPostInfoDetail is indicated, the elements below it are also required. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RequestedShipmentSmartPostInfoDetail + { + /// + /// Indicate the type of ancillary endorsement. Is required for Presorted Standard but not for returns or parcel select. Note not all are usable for all ancillary endorsements.<br>For more information, refer to the <a href = 'https://www.fedex.com/en-us/shipping/fedex-smartpost/rates-zones.html' target='_blank'>FedEx SmartPost®</a>. + /// + [Newtonsoft.Json.JsonProperty("ancillaryEndorsement", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RequestedShipmentSmartPostInfoDetailAncillaryEndorsement? AncillaryEndorsement { get; set; } + + /// + /// Specify the four-digit numeric Hub ID value used during rate quote for smartport shipments.<br><a onclick='loadDocReference("smartposthubids")'>Click here to see Hub Ids</a> + /// + [Newtonsoft.Json.JsonProperty("hubId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string HubId { get; set; } + + /// + /// Specify the indicia type.<br>Available options include:<ul><li>MEDIA_MAIL</li><li>PARCEL_SELECT (1 LB through 70 LB)</li><li>PRESORTED_BOUND_PRINTED_MATTER</li><li>PRESORTED_STANDARD (less than 1 LB)</li><li>PARCEL_RETURN</li></ul> + /// + [Newtonsoft.Json.JsonProperty("indicia", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RequestedShipmentSmartPostInfoDetailIndicia? Indicia { get; set; } + + /// + /// Specify the special handling associated with Smartpost Shipment.<br><a onclick='loadDocReference("shipmentlevelspecialservicetypes")'>Click here to see Shipment Level Special Service Types</a> + /// + [Newtonsoft.Json.JsonProperty("specialServices", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RequestedShipmentSmartPostInfoDetailSpecialServices? SpecialServices { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailAncillaryEndorsement.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailAncillaryEndorsement.cs new file mode 100644 index 0000000..b34558c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailAncillaryEndorsement.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RequestedShipmentSmartPostInfoDetailAncillaryEndorsement + { + + [System.Runtime.Serialization.EnumMember(Value = @"ADDRESS_CORRECTION")] + ADDRESS_CORRECTION = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"CARRIER_LEAVE_IF_NO_RESPONSE")] + CARRIER_LEAVE_IF_NO_RESPONSE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"CHANGE_SERVICE")] + CHANGE_SERVICE = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"FORWARDING_SERVICE")] + FORWARDING_SERVICE = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"RETURN_SERVICE")] + RETURN_SERVICE = 4, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailIndicia.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailIndicia.cs new file mode 100644 index 0000000..4ec89a5 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailIndicia.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RequestedShipmentSmartPostInfoDetailIndicia + { + + [System.Runtime.Serialization.EnumMember(Value = @"MEDIA_MAIL")] + MEDIA_MAIL = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"PARCEL_RETURN")] + PARCEL_RETURN = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"PARCEL_SELECT")] + PARCEL_SELECT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"PRESORTED_BOUND_PRINTED_MATTER")] + PRESORTED_BOUND_PRINTED_MATTER = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"PRESORTED_STANDARD")] + PRESORTED_STANDARD = 4, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailSpecialServices.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailSpecialServices.cs new file mode 100644 index 0000000..c42ca53 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSmartPostInfoDetailSpecialServices.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RequestedShipmentSmartPostInfoDetailSpecialServices + { + + [System.Runtime.Serialization.EnumMember(Value = @"USPS_DELIVERY_CONFIRMATION")] + USPS_DELIVERY_CONFIRMATION = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSpecialServicesRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSpecialServicesRequested.cs new file mode 100644 index 0000000..fb5b22d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/RequestedShipmentSpecialServicesRequested.cs @@ -0,0 +1,49 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicate special services for which the rate data is being requested. Special Services are available at the shipment level for some or all service types.<br>Example: [BROKER_SELECT_OPTION]<br><a onclick='loadDocReference("shipmentlevelspecialservicetypes")'>Click here to see Shipment level Special Service Types</a> + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RequestedShipmentSpecialServicesRequested + { + [Newtonsoft.Json.JsonProperty("returnShipmentDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShipmentSpecialServicesRequested_returnShipmentDetail ReturnShipmentDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("deliveryOnInvoiceAcceptanceDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DeliveryOnInvoiceAcceptanceDetail DeliveryOnInvoiceAcceptanceDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("internationalTrafficInArmsRegulationsDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public InternationalTrafficInArmsRegulationsDetail InternationalTrafficInArmsRegulationsDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("holdAtLocationDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public HoldAtLocationDetail HoldAtLocationDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("shipmentCODDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShipmentSpecialServicesRequestedShipmentCODDetail ShipmentCODDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("shipmentDryIceDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShipmentDryIceDetail ShipmentDryIceDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("internationalControlledExportDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public InternationalControlledExportDetail InternationalControlledExportDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("homeDeliveryPremiumDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public HomeDeliveryPremiumDetail HomeDeliveryPremiumDetail { get; set; } + + /// + /// Indicate special services for which the rate data is being requested. Special Services are available at the shipment level for some or all service types.<br>Example: BROKER_SELECT_OPTION <br><a onclick='loadDocReference("shipmentlevelspecialservicetypes")'>Click here to see Shipment level Special Service Types</a> + /// + [Newtonsoft.Json.JsonProperty("specialServiceTypes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection SpecialServiceTypes { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ResponsibleParty.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ResponsibleParty.cs new file mode 100644 index 0000000..f6ef90b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ResponsibleParty.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ResponsibleParty : Party_2 + { + [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public object AccountNumber { get; set; } = new object(); + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceDescription.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceDescription.cs new file mode 100644 index 0000000..7354d6e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceDescription.cs @@ -0,0 +1,61 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicates the provides the Service Description details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ServiceDescription + { + /// + /// This is the service type.<br>Example: INTERNATIONAL_FIRST<br><a onclick='loadDocReference("servicetypes")'>Click here to see Service Types</a> + /// + [Newtonsoft.Json.JsonProperty("serviceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ServiceType { get; set; } + + /// + /// Specifies the service code.<br> Example: 92 + /// + [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Code { get; set; } + + /// + /// Specifies the service name. + /// + [Newtonsoft.Json.JsonProperty("names", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Names { get; set; } + + /// + /// Specifies astra description. <br> Example: INTL1ST + /// + [Newtonsoft.Json.JsonProperty("astraDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AstraDescription { get; set; } + + /// + /// Specifies description of the service. <br> Example: FedEx Ground + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// Specifies the service Id. <br> Example: EP1000000135 + /// + [Newtonsoft.Json.JsonProperty("serviceId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ServiceId { get; set; } + + /// + /// Specifies service category. <br> Example: parcel + /// + [Newtonsoft.Json.JsonProperty("serviceCategory", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ServiceCategory { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceSubOptionDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceSubOptionDetail.cs new file mode 100644 index 0000000..4998954 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceSubOptionDetail.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// These are supporting detail for applied options identified in a rate quote. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ServiceSubOptionDetail + { + /// + /// This identifies the indicia used during rate quote. + /// + [Newtonsoft.Json.JsonProperty("smartPostIndiciaType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ServiceSubOptionDetailSmartPostIndiciaType? SmartPostIndiciaType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceSubOptionDetailSmartPostIndiciaType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceSubOptionDetailSmartPostIndiciaType.cs new file mode 100644 index 0000000..abd1286 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceSubOptionDetailSmartPostIndiciaType.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ServiceSubOptionDetailSmartPostIndiciaType + { + + [System.Runtime.Serialization.EnumMember(Value = @"MEDIA_MAIL")] + MEDIA_MAIL = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"PARCEL_RETURN")] + PARCEL_RETURN = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"PARCEL_SELECT")] + PARCEL_SELECT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"PRESORTED_BOUND_PRINTED_MATTER")] + PRESORTED_BOUND_PRINTED_MATTER = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"PRESORTED_STANDARD")] + PRESORTED_STANDARD = 4, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceTypeDetailVO.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceTypeDetailVO.cs new file mode 100644 index 0000000..6144d4f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceTypeDetailVO.cs @@ -0,0 +1,44 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// service type information details + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ServiceTypeDetailVO + { + /// + /// Identifies which carrier is being described. + /// + [Newtonsoft.Json.JsonProperty("carrierCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ServiceTypeDetailVOCarrierCode? CarrierCode { get; set; } + + /// + /// Description + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// Service Name + /// + [Newtonsoft.Json.JsonProperty("serviceName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ServiceName { get; set; } + + /// + /// Service Category + /// + [Newtonsoft.Json.JsonProperty("serviceCategory", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ServiceCategory { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceTypeDetailVOCarrierCode.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceTypeDetailVOCarrierCode.cs new file mode 100644 index 0000000..b190b47 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ServiceTypeDetailVOCarrierCode.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ServiceTypeDetailVOCarrierCode + { + + [System.Runtime.Serialization.EnumMember(Value = @"FDXE")] + FDXE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"FDXG")] + FDXG = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"FXSP")] + FXSP = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"FXFR")] + FXFR = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"FDXC")] + FDXC = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"FXCC")] + FXCC = 5, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentDryIceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentDryIceDetail.cs new file mode 100644 index 0000000..5cbf412 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentDryIceDetail.cs @@ -0,0 +1,28 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Use this object to indicate package count with weight for this shipment containing dry ice. Dry ice is supported in both shipment level and package level services. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipmentDryIceDetail + { + [Newtonsoft.Json.JsonProperty("totalWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Weight_1_2 TotalWeight { get; set; } + + /// + /// This is package count.<br>Example: 12 + /// + [Newtonsoft.Json.JsonProperty("packageCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? PackageCount { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentLegRateDetail_1.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentLegRateDetail_1.cs new file mode 100644 index 0000000..bc89d56 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentLegRateDetail_1.cs @@ -0,0 +1,85 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipmentLegRateDetail_1 + { + /// + /// Specifies the list of discounts. <br><a onclick='loadDocReference("discounts")'>Click here to see Discounts</a> + /// + [Newtonsoft.Json.JsonProperty("discounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Discounts { get; set; } + + /// + /// Identifies the type of pricing used for this shipment.<br> Example: ACTUAL + /// + [Newtonsoft.Json.JsonProperty("pricingCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PricingCode { get; set; } + + /// + /// Human-readable text describing the shipment leg.<br> Example: legDescription + /// + [Newtonsoft.Json.JsonProperty("legDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LegDescription { get; set; } + + /// + /// Specifies the list of surcharges.<br>Valid value is:<li>PEAK</li><li>PEAK_ADDTIONAL_HANDLING</li><li>PEAK_OVERSIZE</li><li>PEAK_RESIDENTIAL_DELIVERY</li> + /// + [Newtonsoft.Json.JsonProperty("surcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Surcharges { get; set; } + + /// + /// Indicates which special rating cases applied to this shipment. + /// + [Newtonsoft.Json.JsonProperty("specialRatingApplied", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection SpecialRatingApplied { get; set; } + + /// + /// Specifies the list of taxes. + /// + [Newtonsoft.Json.JsonProperty("taxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Taxes { get; set; } + + /// + /// Indicates the rate scale used. <br> Example: *USER IMS20160104 LD067110 + /// + [Newtonsoft.Json.JsonProperty("rateScale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RateScale { get; set; } + + /// + /// This shipment's totalNetCharge and totalDutiesTaxesAndFees. Some duties and taxes are only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender's account.<br> Example: 87.5 + /// + [Newtonsoft.Json.JsonProperty("totalNetCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalNetCharge { get; set; } + + /// + /// Specifies the total base charge list.<br> Example: 87.5 + /// + [Newtonsoft.Json.JsonProperty("totalBaseCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalBaseCharge { get; set; } + + [Newtonsoft.Json.JsonProperty("currencyExchangeRate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CurrencyExchangeRate CurrencyExchangeRate { get; set; } + + /// + /// Sum of billing weight for the shipment. + /// + [Newtonsoft.Json.JsonProperty("totalBillingWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Weight_1 TotalBillingWeight { get; set; } + + /// + /// Indicate the three-character ISO currency code. <br>Example: USD<br><a onclick='loadDocReference("currencycodes")'>Click here to see Currency Codes</a> + /// + [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Currency { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentRateDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentRateDetail.cs new file mode 100644 index 0000000..5e183a3 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentRateDetail.cs @@ -0,0 +1,107 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// This is shipment level rate data. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipmentRateDetail + { + [Newtonsoft.Json.JsonProperty("currencyExchangeRate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CurrencyExchangeRate CurrencyExchangeRate { get; set; } + + /// + /// Indicates the currency associated with the amount. + /// + [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Currency { get; set; } + + /// + /// Indicates the rate zone used. + /// + [Newtonsoft.Json.JsonProperty("rateZone", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RateZone { get; set; } + + /// + /// Allows clients to determine whether to add charges at the package level when Per Piece Rating details are returned.<br><ul><li>SHIPMENT_WEIGHT_BASED - Indicates shipment weight is used to calculate the rate.</li><br><li>FLAT_RATE_PER_PAK - Indicates shipment is rated based on number of packs, weight would be considered for overweight surcharge but not for calculating shipment rate.</li><br><li>PACK_WEIGHT_BASED - Indicates individual package weight would be rated and aggregated to get shipment rate weight.</li></ul> Example : SHIPMENT_WEIGHT_BASED. + /// + [Newtonsoft.Json.JsonProperty("ratingBasis", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ShipmentRateDetailRatingBasis? RatingBasis { get; set; } + + /// + /// Indicates the type of pricing code. + /// + [Newtonsoft.Json.JsonProperty("pricingCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PricingCode { get; set; } + + /// + /// Indicates the total discounts used in the rate calculation. Example: 856.32 + /// + [Newtonsoft.Json.JsonProperty("totalFreightDiscount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalFreightDiscount { get; set; } + + /// + /// Indicates which special rating cases applied to this shipment. + /// + [Newtonsoft.Json.JsonProperty("specialRatingApplied", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection SpecialRatingApplied { get; set; } + + /// + /// This is sum of all surcharges on the package. Example: 586.25 + /// + [Newtonsoft.Json.JsonProperty("totalSurcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalSurcharges { get; set; } + + /// + /// This is total discount used in the rate calculation.<br><a onclick='loadDocReference("discounts")'>Click here to see Discounts</a> + /// + [Newtonsoft.Json.JsonProperty("freightDiscount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection FreightDiscount { get; set; } + + /// + /// This is fuel surcharge percentage. + /// + [Newtonsoft.Json.JsonProperty("fuelSurchargePercent", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? FuelSurchargePercent { get; set; } + + /// + /// This is total of billing weight for the shipment. + /// + [Newtonsoft.Json.JsonProperty("totalBillingWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Weight_1 TotalBillingWeight { get; set; } + + /// + /// This is total of dimensional weight for the shipment. + /// + [Newtonsoft.Json.JsonProperty("totalDimWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Weight_1 TotalDimWeight { get; set; } + + /// + /// Identifies the type of divisor that was applied.<br> Example: 10 + /// + [Newtonsoft.Json.JsonProperty("dimDivisor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? DimDivisor { get; set; } + + /// + /// Indicates the surcharges applied to this shipment. + /// + [Newtonsoft.Json.JsonProperty("surCharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection SurCharges { get; set; } + + /// + /// List of taxes. + /// + [Newtonsoft.Json.JsonProperty("taxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Taxes { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentRateDetailRatingBasis.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentRateDetailRatingBasis.cs new file mode 100644 index 0000000..bda1503 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentRateDetailRatingBasis.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ShipmentRateDetailRatingBasis + { + + [System.Runtime.Serialization.EnumMember(Value = @"SHIPMENT_WEIGHT_BASED")] + SHIPMENT_WEIGHT_BASED = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"FLAT_RATE_PER_PACK")] + FLAT_RATE_PER_PACK = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"PACK_WEIGHT_BASED")] + PACK_WEIGHT_BASED = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetail.cs new file mode 100644 index 0000000..376fb4c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetail.cs @@ -0,0 +1,48 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Specifies Shipment COD Detail + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipmentSpecialServicesRequestedShipmentCODDetail + { + [Newtonsoft.Json.JsonProperty("addTransportationChargesDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CODTransportationChargesDetail AddTransportationChargesDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("codRecipient", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Party_2 CodRecipient { get; set; } + + /// + /// Specifies the name of person or company receiving the secured or unsecured payment.<br>Example: FedEx + /// + [Newtonsoft.Json.JsonProperty("remitToName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RemitToName { get; set; } + + /// + /// Indicate the type of funds FedEx should collect upon shipment delivery. + /// + [Newtonsoft.Json.JsonProperty("codCollectionType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ShipmentSpecialServicesRequestedShipmentCODDetailCodCollectionType? CodCollectionType { get; set; } + + [Newtonsoft.Json.JsonProperty("financialInstitutionContactAndAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ContactAndAddress FinancialInstitutionContactAndAddress { get; set; } + + /// + /// Indicate the type of reference information to include on the COD return shipping label. + /// + [Newtonsoft.Json.JsonProperty("returnReferenceIndicatorType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ShipmentSpecialServicesRequestedShipmentCODDetailReturnReferenceIndicatorType? ReturnReferenceIndicatorType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetailCodCollectionType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetailCodCollectionType.cs new file mode 100644 index 0000000..8a919fc --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetailCodCollectionType.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ShipmentSpecialServicesRequestedShipmentCODDetailCodCollectionType + { + + [System.Runtime.Serialization.EnumMember(Value = @"ANY")] + ANY = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"CASH")] + CASH = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"COMPANY_CHECK")] + COMPANY_CHECK = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"GUARANTEED_FUNDS")] + GUARANTEED_FUNDS = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_CHECK")] + PERSONAL_CHECK = 4, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetailReturnReferenceIndicatorType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetailReturnReferenceIndicatorType.cs new file mode 100644 index 0000000..f9270c0 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequestedShipmentCODDetailReturnReferenceIndicatorType.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ShipmentSpecialServicesRequestedShipmentCODDetailReturnReferenceIndicatorType + { + + [System.Runtime.Serialization.EnumMember(Value = @"INVOICE")] + INVOICE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"PO")] + PO = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"REFERENCE")] + REFERENCE = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"TRACKING")] + TRACKING = 3, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequested_returnShipmentDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequested_returnShipmentDetail.cs new file mode 100644 index 0000000..c372a98 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequested_returnShipmentDetail.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Details for the Return Shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipmentSpecialServicesRequested_returnShipmentDetail + { + /// + /// The type of return shipment being requested. + /// + [Newtonsoft.Json.JsonProperty("returnType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ShipmentSpecialServicesRequested_returnShipmentDetailReturnType? ReturnType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequested_returnShipmentDetailReturnType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequested_returnShipmentDetailReturnType.cs new file mode 100644 index 0000000..6955313 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/ShipmentSpecialServicesRequested_returnShipmentDetailReturnType.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ShipmentSpecialServicesRequested_returnShipmentDetailReturnType + { + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_TAG")] + FEDEX_TAG = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"PENDING")] + PENDING = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"PRINT_RETURN_LABEL")] + PRINT_RETURN_LABEL = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"EMAIL_LABEL")] + EMAIL_LABEL = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"NET_RETURN")] + NET_RETURN = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"VOICE_CALL_TAG")] + VOICE_CALL_TAG = 5, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/SmartPost_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/SmartPost_Rate_Quote.cs new file mode 100644 index 0000000..f68d8cc --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/SmartPost_Rate_Quote.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class SmartPost_Rate_Quote + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/SmsDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/SmsDetail.cs new file mode 100644 index 0000000..178ae9b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/SmsDetail.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Specifies the SMS notification details.<br>Conditionally required for SMS notifications. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class SmsDetail : Anonymous + { + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/StandaloneBatteryDetails.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/StandaloneBatteryDetails.cs new file mode 100644 index 0000000..8ce31bc --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/StandaloneBatteryDetails.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class StandaloneBatteryDetails + { + /// + /// Describes the material composition of the battery or cell. + /// + [Newtonsoft.Json.JsonProperty("batteryMaterialType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public StandaloneBatteryDetailsBatteryMaterialType? BatteryMaterialType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/StandaloneBatteryDetailsBatteryMaterialType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/StandaloneBatteryDetailsBatteryMaterialType.cs new file mode 100644 index 0000000..33716b6 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/StandaloneBatteryDetailsBatteryMaterialType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum StandaloneBatteryDetailsBatteryMaterialType + { + + [System.Runtime.Serialization.EnumMember(Value = @"LITHIUM_METAL")] + LITHIUM_METAL = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"LITHIUM_ION")] + LITHIUM_ION = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Surcharge.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Surcharge.cs new file mode 100644 index 0000000..27f0a34 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Surcharge.cs @@ -0,0 +1,49 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Specifies the surcharges. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Surcharge + { + /// + /// Specifies the surcharge type.<br>Example: FUEL <br><a onclick='loadDocReference("surcharges")'>Click here to see more on Surcharges.</a> + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + /// + /// Specifies the description of the surcharge. Indicates delivery and returns information for FedEx Ground Economy services.<br>Example: Fuel Surcharge + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// Specify the declared monetary value/amount of the shipment.<br> Example: 5.42 + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Amount { get; set; } + + /// + /// Specifies the level of surcharge. <br> Example: level + /// + [Newtonsoft.Json.JsonProperty("level", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Level { get; set; } + + /// + /// The localized name of the surcharge. <br> Example: name + /// + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Surcharge_1.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Surcharge_1.cs new file mode 100644 index 0000000..407cc15 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Surcharge_1.cs @@ -0,0 +1,46 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Surcharge_1 + { + /// + /// Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. <br> Example: 87.5 + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } + + /// + /// The level of surcharge. <br> Example: level + /// + [Newtonsoft.Json.JsonProperty("level", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Level { get; set; } + + /// + /// The localized name of the surcharge. <br> Example: name + /// + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } + + /// + /// The description of the surcharge. <br> Example: description + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// The type of surcharge. <br> Example: type + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Tax.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Tax.cs new file mode 100644 index 0000000..df3e17d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Tax.cs @@ -0,0 +1,43 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Tax surcharge details + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Tax + { + /// + /// Tax amount. <br> Example: 408.97 + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } + + /// + /// The localized name of the tax. <br> Example: Denmark VAT + /// + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } + + /// + /// The description of the Surcharge/Tax. <br> Example: Denmark VAT + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// The type of Surcharge/Tax. <br> Example: VAT + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Tax_1.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Tax_1.cs new file mode 100644 index 0000000..8e0c28e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Tax_1.cs @@ -0,0 +1,43 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Specifies the Tax surcharge details + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Tax_1 + { + /// + /// Specifies the list of tax amounts. <br> Example : 87.5 + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } + + /// + /// Specifies the localized name of the tax.<br> Example: Name + /// + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } + + /// + /// Specifies the description of the Surcharge/Tax. <br> Example: description + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// Specifies the type of Surcharge/Tax.<br> Example: type + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/TransitDays.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/TransitDays.cs new file mode 100644 index 0000000..c534747 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/TransitDays.cs @@ -0,0 +1,35 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// These are number of days the package/shipment is to be in transit. Applies to Ground and LTL Freight; indicates minimum transit time for SmartPost. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class TransitDays + { + /// + /// Specifies the number of days the package/shipment is to be in transit. <br> Example: 2 Business Days + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// Code indicating the number of transit days.<br> Example: TW0_DAYS + /// + [Newtonsoft.Json.JsonProperty("minimumTransitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public TransitDaysMinimumTransitTime? MinimumTransitTime { get; set; } + + [Newtonsoft.Json.JsonProperty("maximumTransitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string MaximumTransitTime { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/TransitDaysMinimumTransitTime.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/TransitDaysMinimumTransitTime.cs new file mode 100644 index 0000000..20eaf18 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/TransitDaysMinimumTransitTime.cs @@ -0,0 +1,74 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum TransitDaysMinimumTransitTime + { + + [System.Runtime.Serialization.EnumMember(Value = @"EIGHT_DAYS")] + EIGHT_DAYS = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"EIGHTEEN_DAYS")] + EIGHTEEN_DAYS = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"ELEVEN_DAYS")] + ELEVEN_DAYS = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"FIFTEEN_DAYS")] + FIFTEEN_DAYS = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"FIVE_DAYS")] + FIVE_DAYS = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"FOUR_DAYS")] + FOUR_DAYS = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"FOURTEEN_DAYS")] + FOURTEEN_DAYS = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"NINE_DAYS")] + NINE_DAYS = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"NINETEEN_DAYS")] + NINETEEN_DAYS = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"ONE_DAY")] + ONE_DAY = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"SEVEN_DAYS")] + SEVEN_DAYS = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"SEVENTEEN_DAYS")] + SEVENTEEN_DAYS = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"SIX_DAYS")] + SIX_DAYS = 12, + + [System.Runtime.Serialization.EnumMember(Value = @"SIXTEEN_DAYS")] + SIXTEEN_DAYS = 13, + + [System.Runtime.Serialization.EnumMember(Value = @"TEN_DAYS")] + TEN_DAYS = 14, + + [System.Runtime.Serialization.EnumMember(Value = @"THIRTEEN_DAYS")] + THIRTEEN_DAYS = 15, + + [System.Runtime.Serialization.EnumMember(Value = @"THREE_DAYS")] + THREE_DAYS = 16, + + [System.Runtime.Serialization.EnumMember(Value = @"TWELVE_DAYS")] + TWELVE_DAYS = 17, + + [System.Runtime.Serialization.EnumMember(Value = @"TWENTY_DAYS")] + TWENTY_DAYS = 18, + + [System.Runtime.Serialization.EnumMember(Value = @"TWO_DAYS")] + TWO_DAYS = 19, + + [System.Runtime.Serialization.EnumMember(Value = @"SMARTPOST_TRANSIT_DAYS")] + SMARTPOST_TRANSIT_DAYS = 20, + + [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] + UNKNOWN = 21, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Types.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Types.cs new file mode 100644 index 0000000..f22c352 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Types.cs @@ -0,0 +1,86 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum Types + { + + [System.Runtime.Serialization.EnumMember(Value = @"ANTIQUE_STATEMENT_EUROPEAN_UNION")] + ANTIQUE_STATEMENT_EUROPEAN_UNION = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"ANTIQUE_STATEMENT_UNITED_STATES")] + ANTIQUE_STATEMENT_UNITED_STATES = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"ASSEMBLER_DECLARATION")] + ASSEMBLER_DECLARATION = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"BEARING_WORKSHEET")] + BEARING_WORKSHEET = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"CERTIFICATE_OF_SHIPMENTS_TO_SYRIA")] + CERTIFICATE_OF_SHIPMENTS_TO_SYRIA = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_INVOICE_FOR_THE_CARIBBEAN_COMMON_MARKET")] + COMMERCIAL_INVOICE_FOR_THE_CARIBBEAN_COMMON_MARKET = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"CONIFEROUS_SOLID_WOOD_PACKAGING_MATERIAL_TO_THE_PEOPLES_REPUBLIC_OF_CHINA")] + CONIFEROUS_SOLID_WOOD_PACKAGING_MATERIAL_TO_THE_PEOPLES_REPUBLIC_OF_CHINA = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"DECLARATION_FOR_FREE_ENTRY_OF_RETURNED_AMERICAN_PRODUCTS")] + DECLARATION_FOR_FREE_ENTRY_OF_RETURNED_AMERICAN_PRODUCTS = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"DECLARATION_OF_BIOLOGICAL_STANDARDS")] + DECLARATION_OF_BIOLOGICAL_STANDARDS = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"DECLARATION_OF_IMPORTED_ELECTRONIC_PRODUCTS_SUBJECT_TO_RADIATION_CONTROL_STANDARD")] + DECLARATION_OF_IMPORTED_ELECTRONIC_PRODUCTS_SUBJECT_TO_RADIATION_CONTROL_STANDARD = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET")] + ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"FILM_AND_VIDEO_CERTIFICATE")] + FILM_AND_VIDEO_CERTIFICATE = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"INTERIM_FOOTWEAR_INVOICE")] + INTERIM_FOOTWEAR_INVOICE = 12, + + [System.Runtime.Serialization.EnumMember(Value = @"NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_ENGLISH")] + NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_ENGLISH = 13, + + [System.Runtime.Serialization.EnumMember(Value = @"NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_FRENCH")] + NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_FRENCH = 14, + + [System.Runtime.Serialization.EnumMember(Value = @"NAFTA_CERTIFICATE_OF_ORIGIN_SPANISH")] + NAFTA_CERTIFICATE_OF_ORIGIN_SPANISH = 15, + + [System.Runtime.Serialization.EnumMember(Value = @"NAFTA_CERTIFICATE_OF_ORIGIN_UNITED_STATES")] + NAFTA_CERTIFICATE_OF_ORIGIN_UNITED_STATES = 16, + + [System.Runtime.Serialization.EnumMember(Value = @"PACKING_LIST")] + PACKING_LIST = 17, + + [System.Runtime.Serialization.EnumMember(Value = @"PRINTED_CIRCUIT_BOARD_WORKSHEET")] + PRINTED_CIRCUIT_BOARD_WORKSHEET = 18, + + [System.Runtime.Serialization.EnumMember(Value = @"REPAIRED_WATCH_BREAKOUT_WORKSHEET")] + REPAIRED_WATCH_BREAKOUT_WORKSHEET = 19, + + [System.Runtime.Serialization.EnumMember(Value = @"STATEMENT_REGARDING_THE_IMPORT_OF_RADIO_FREQUENCY_DEVICES")] + STATEMENT_REGARDING_THE_IMPORT_OF_RADIO_FREQUENCY_DEVICES = 20, + + [System.Runtime.Serialization.EnumMember(Value = @"TOXIC_SUBSTANCES_CONTROL_ACT")] + TOXIC_SUBSTANCES_CONTROL_ACT = 21, + + [System.Runtime.Serialization.EnumMember(Value = @"UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES")] + UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES = 22, + + [System.Runtime.Serialization.EnumMember(Value = @"UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_NON_TEXTILES")] + UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_NON_TEXTILES = 23, + + [System.Runtime.Serialization.EnumMember(Value = @"UNITED_STATES_NEW_WATCH_WORKSHEET")] + UNITED_STATES_NEW_WATCH_WORKSHEET = 24, + + [System.Runtime.Serialization.EnumMember(Value = @"UNITED_STATES_WATCH_REPAIR_DECLARATION")] + UNITED_STATES_WATCH_REPAIR_DECLARATION = 25, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Multi_Piece_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Multi_Piece_Rate_Quote.cs new file mode 100644 index 0000000..fbfbcb9 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Multi_Piece_Rate_Quote.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class US_Domestic_Multi_Piece_Rate_Quote + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Priority_Overnight_Rate_Quote.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Priority_Overnight_Rate_Quote.cs new file mode 100644 index 0000000..8d3fa7f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Priority_Overnight_Rate_Quote.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class US_Domestic_Priority_Overnight_Rate_Quote + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Rate_shop.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Rate_shop.cs new file mode 100644 index 0000000..13f9f49 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/US_Domestic_Rate_shop.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class US_Domestic_Rate_shop + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UnitPrice.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UnitPrice.cs new file mode 100644 index 0000000..233c649 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UnitPrice.cs @@ -0,0 +1,8 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class UnitPrice : Money + { + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UploadDocumentReferenceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UploadDocumentReferenceDetail.cs new file mode 100644 index 0000000..bda9ee1 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UploadDocumentReferenceDetail.cs @@ -0,0 +1,44 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Upload document details provided by the initator of the shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class UploadDocumentReferenceDetail + { + /// + /// These are the type of document specified in the PendingShipment request. + /// + [Newtonsoft.Json.JsonProperty("documentType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public UploadDocumentReferenceDetailDocumentType? DocumentType { get; set; } + + /// + /// Customer Reference + /// + [Newtonsoft.Json.JsonProperty("customerReference", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CustomerReference { get; set; } + + /// + /// Indicate description of the shipping documents produced for the shipper by FedEx (see ShippingDocumentSpecification) which should be copied back to the shipper in the shipment result data. + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// Specify the document ID for the uploaded document. + /// + [Newtonsoft.Json.JsonProperty("documentId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DocumentId { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UploadDocumentReferenceDetailDocumentType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UploadDocumentReferenceDetailDocumentType.cs new file mode 100644 index 0000000..5c0f526 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/UploadDocumentReferenceDetailDocumentType.cs @@ -0,0 +1,29 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum UploadDocumentReferenceDetailDocumentType + { + + [System.Runtime.Serialization.EnumMember(Value = @"CERTIFICATE_OF_ORIGIN")] + CERTIFICATE_OF_ORIGIN = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_INVOICE")] + COMMERCIAL_INVOICE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"ETD_LABEL")] + ETD_LABEL = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"NAFTA_CERTIFICATE_OF_ORIGIN")] + NAFTA_CERTIFICATE_OF_ORIGIN = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"NET_RATE_SHEET")] + NET_RATE_SHEET = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] + OTHER = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"PRO_FORMA_INVOICE")] + PRO_FORMA_INVOICE = 6, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetail.cs new file mode 100644 index 0000000..09ba7a7 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetail.cs @@ -0,0 +1,53 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// Indicate the details on how to calculate variable handling charges at the package level. If indicated, element rateLevelType is required. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class VariableHandlingChargeDetail + { + /// + /// The rate type indicates what type of rate request is being returned; account, preferred, incentive, etc. + /// + [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public VariableHandlingChargeDetailRateType? RateType { get; set; } + + /// + /// Indicate the variable handling percentage. Actual percentage (10 means 10%, which is a mutiplier of 0.1). + /// + [Newtonsoft.Json.JsonProperty("percentValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? PercentValue { get; set; } + + /// + /// indicates whether or not the rating is being done at the package level, or if the packages are bundled together. At the package level, charges are applied based on the details of each individual package. If they are bundled, one package is chosen as the parent and charges are applied based on that one package. + /// + [Newtonsoft.Json.JsonProperty("rateLevelType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public VariableHandlingChargeDetailRateLevelType? RateLevelType { get; set; } + + /// + /// Indicate the Fixed value. <br>If you choose FIXED_AMOUNT as the ChargeType, this element allows you to enter the fixed value of the handling charge. The element allows entry of 7 characters before the decimal and 2 characters following the decimal. <br>Example - 5.00. + /// + [Newtonsoft.Json.JsonProperty("fixedValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Money FixedValue { get; set; } + + /// + /// Indicate the rate charge on which, the variable handling amount is calculated. + /// + [Newtonsoft.Json.JsonProperty("rateElementBasis", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public VariableHandlingChargeDetailRateElementBasis RateElementBasis { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateElementBasis.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateElementBasis.cs new file mode 100644 index 0000000..a8bd23c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateElementBasis.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum VariableHandlingChargeDetailRateElementBasis + { + + [System.Runtime.Serialization.EnumMember(Value = @"NET_CHARGE")] + NET_CHARGE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"NET_FREIGHT")] + NET_FREIGHT = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"BASE_CHARGE")] + BASE_CHARGE = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"NET_CHARGE_EXCLUDING_TAXES")] + NET_CHARGE_EXCLUDING_TAXES = 3, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateLevelType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateLevelType.cs new file mode 100644 index 0000000..208b0a0 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateLevelType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum VariableHandlingChargeDetailRateLevelType + { + + [System.Runtime.Serialization.EnumMember(Value = @"BUNDLED_RATE")] + BUNDLED_RATE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"INDIVIDUAL_PACKAGE_RATE")] + INDIVIDUAL_PACKAGE_RATE = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateType.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateType.cs new file mode 100644 index 0000000..2fd875e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingChargeDetailRateType.cs @@ -0,0 +1,35 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum VariableHandlingChargeDetailRateType + { + + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT")] + ACCOUNT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"ACTUAL")] + ACTUAL = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"CURRENT")] + CURRENT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM")] + CUSTOM = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"LIST")] + LIST = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"INCENTIVE")] + INCENTIVE = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED")] + PREFERRED = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED_INCENTIVE")] + PREFERRED_INCENTIVE = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED_CURRENCY")] + PREFERRED_CURRENCY = 8, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingCharges.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingCharges.cs new file mode 100644 index 0000000..8e9ca45 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/VariableHandlingCharges.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// The variable handling charge amount calculated based on the requested variable handling charge detail. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class VariableHandlingCharges + { + /// + /// Specifies the total customer assessed handling charges.<br> Example: 445.54 + /// + [Newtonsoft.Json.JsonProperty("totalCustomerCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalCustomerCharge { get; set; } + + /// + /// The variable handling charge amount calculated based on the requested variable handling charge detail. <br> Example: 403.2 + /// + [Newtonsoft.Json.JsonProperty("variableHandlingCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? VariableHandlingCharge { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight.cs new file mode 100644 index 0000000..0872ff0 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Weight : Weight_1 + { + [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Units { get; set; } + + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Always)] + public double Value { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1.cs new file mode 100644 index 0000000..c465807 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1.cs @@ -0,0 +1,32 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// These are the weight details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Weight_1 + { + /// + /// Specifies the package weight unit. For Dry Ice the unit of measure is KG. + /// + [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Weight_1Units? Units { get; set; } + + /// + /// Specifies the package weight.<br> Example: 68.25 + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Value { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1Units.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1Units.cs new file mode 100644 index 0000000..25e130a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1Units.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum Weight_1Units + { + + [System.Runtime.Serialization.EnumMember(Value = @"KG")] + KG = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"LB")] + LB = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1_2.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1_2.cs new file mode 100644 index 0000000..9fb982e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1_2.cs @@ -0,0 +1,22 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + /// + /// These are the weight details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Weight_1_2 + { + /// + /// Specifies the package weight unit. For Dry Ice the unit of measure is KG. + /// + [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Weight_1_2Units? Units { get; set; } + + /// + /// Specifies the package weight.<br> Example: 68.25 + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Value { get; set; } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1_2Units.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1_2Units.cs new file mode 100644 index 0000000..aa4d28e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_1_2Units.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum Weight_1_2Units + { + + [System.Runtime.Serialization.EnumMember(Value = @"KG")] + KG = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"LB")] + LB = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_2.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_2.cs new file mode 100644 index 0000000..8edb1bd --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/Weight_2.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Weight_2 : Weight_1_2 + { + [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public Weight_1_2Units Units { get; set; } + + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Always)] + public decimal Value { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/options2.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/options2.cs new file mode 100644 index 0000000..fbf5962 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/options2.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum options2 + { + + [System.Runtime.Serialization.EnumMember(Value = @"PRODUCE_PAPERLESS_SHIPPING_FORMAT")] + PRODUCE_PAPERLESS_SHIPPING_FORMAT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"SUPPRESS_ADDITIONAL_LANGUAGES")] + SUPPRESS_ADDITIONAL_LANGUAGES = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"SUPPRESS_ACCESS_EMAILS")] + SUPPRESS_ACCESS_EMAILS = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/options3.cs b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/options3.cs new file mode 100644 index 0000000..3a05c53 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/RatesAndTransitTimes/options3.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum options3 + { + + [System.Runtime.Serialization.EnumMember(Value = @"ALLOW_MODIFICATIONS")] + ALLOW_MODIFICATIONS = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalLabelsDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalLabelsDetail.cs new file mode 100644 index 0000000..82f2722 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalLabelsDetail.cs @@ -0,0 +1,29 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class AdditionalLabelsDetail + { + /// + /// Specify the type of additional details to be added on the label.<br>Example:MANIFEST + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public AdditionalLabelsDetailType? Type { get; set; } + + /// + /// Specifies the count of label to return.<br>Example:1 + /// + [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalLabelsDetailType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalLabelsDetailType.cs new file mode 100644 index 0000000..6d21d74 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalLabelsDetailType.cs @@ -0,0 +1,41 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum AdditionalLabelsDetailType + { + + [System.Runtime.Serialization.EnumMember(Value = @"BROKER")] + BROKER = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"CONSIGNEE")] + CONSIGNEE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMS")] + CUSTOMS = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"DESTINATION")] + DESTINATION = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"DESTINATION_CONTROL_STATEMENT")] + DESTINATION_CONTROL_STATEMENT = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"FREIGHT_REFERENCE")] + FREIGHT_REFERENCE = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"MANIFEST")] + MANIFEST = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"ORIGIN")] + ORIGIN = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"RECIPIENT")] + RECIPIENT = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"SECOND_ADDRESS")] + SECOND_ADDRESS = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"SHIPPER")] + SHIPPER = 10, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalMeasures.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalMeasures.cs new file mode 100644 index 0000000..d0849b1 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/AdditionalMeasures.cs @@ -0,0 +1,28 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class AdditionalMeasures + { + /// + /// Specify commodity quantity. + /// + [Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Quantity { get; set; } + + /// + /// Unit of measure used to express the quantity of this commodity line item. + /// + [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Units { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Address.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Address.cs new file mode 100644 index 0000000..d915dbc --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Address.cs @@ -0,0 +1,57 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Descriptive data for a physical location. May be used as an actual physical address (place to which one could go), or as a container of "address parts" which should be handled as a unit (such as a city-state-ZIP combination within the US). + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Address + { + /// + /// This is the combination of number, street name, etc. <br>Note: At least one line is required and streetlines more than 3 will be ignored. Empty lines should not be included. Maximum length per line is 35.<br>Example: [10 FedEx Parkway, Suite 302, .etc.] + /// + [Newtonsoft.Json.JsonProperty("streetLines", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public System.Collections.Generic.ICollection StreetLines { get; set; } = new System.Collections.ObjectModel.Collection(); + + /// + /// This is a placeholder for City Name.<br>Note: This is conditional and not required in all the requests.<br>Note: It is recommended for Express shipments for the most accurate ODA and OPA surcharges.<br>Example: Beverly Hills + /// + [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string City { get; set; } + + /// + /// This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.<br>Example: CA<br><a onclick='loadDocReference("canadaprovincecodes")'>click here to see State or Province Code</a> + /// + [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StateOrProvinceCode { get; set; } + + /// + /// Indicate the Postal code. This is Optional for non postal-aware countries. Maximum length is 10.<br> Example: 65247<br><a onclick='loadDocReference("postalawarecountries")'>click here to see Postal aware countries</a> + /// + [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PostalCode { get; set; } + + /// + /// This is the two-letter country code.<br>Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> + /// + [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string CountryCode { get; set; } + + /// + /// Indicate whether this address is residential (as opposed to commercial). + /// + [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Residential { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Address2.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Address2.cs new file mode 100644 index 0000000..fac2901 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Address2.cs @@ -0,0 +1,21 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Address2 + { + /// + /// This is the combination of number, street name, etc. <br>Note: At least one line is required and streetlines more than 3 will be ignored. Empty lines should not be included. Maximum length per line is 35.<br>Example: [10 FedEx Parkway, Suite 302, .etc.] + /// + [Newtonsoft.Json.JsonProperty("streetLines", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public System.Collections.Generic.ICollection StreetLines { get; set; } = new System.Collections.ObjectModel.Collection(); + + /// + /// The two-letter code used to identify a country. Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> + /// + [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string CountryCode { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Address_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Address_1.cs new file mode 100644 index 0000000..5a89c28 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Address_1.cs @@ -0,0 +1,46 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This is detailed information on physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the U.S.). + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Address_1 + { + /// + /// This is the combination of number, street name, etc. <br>Note: At least one line is required and streetlines more than 3 will be ignored. Empty lines should not be included. Maximum length per line is 35.<br>Example: [10 FedEx Parkway, Suite 302, .etc.] + /// + [Newtonsoft.Json.JsonProperty("streetLines", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection StreetLines { get; set; } + + /// + /// This is a placeholder for City Name.<br>Note: This is conditional and not required in all the requests.<br>Note: It is recommended for Express shipments for the most accurate ODA and OPA surcharges.<br>Example: Beverly Hills + /// + [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string City { get; set; } + + /// + /// This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.<br>Example: CA<br><a onclick='loadDocReference("canadaprovincecodes")'>click here to see State or Province Code</a> + /// + [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StateOrProvinceCode { get; set; } + + /// + /// Indicate the Postal code. This is Optional for non postal-aware countries. Maximum length is 10.<br> Example: 65247<br><a onclick='loadDocReference("postalawarecountries")'>click here to see Postal aware countries</a> + /// + [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PostalCode { get; set; } + + /// + /// This is the two-letter country code.<br>Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> + /// + [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CountryCode { get; set; } + + /// + /// Indicates whether this address is residential (as opposed to commercial).<br> Example: false + /// + [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Residential { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AdrLicenseDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AdrLicenseDetail.cs new file mode 100644 index 0000000..85aa081 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/AdrLicenseDetail.cs @@ -0,0 +1,22 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies the details around the ADR license required for shipping. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class AdrLicenseDetail + { + [Newtonsoft.Json.JsonProperty("licenseOrPermitDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public LicenseOrPermitDetail LicenseOrPermitDetail { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AlcoholDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AlcoholDetail.cs new file mode 100644 index 0000000..d53c554 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/AlcoholDetail.cs @@ -0,0 +1,32 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are detcontentails for the package containing alcohol. This is required for alcohol special service. The alcoholRecipientType is required. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class AlcoholDetail + { + /// + /// Specify the Alcohol Recipient Type of the shipment. <br> Example: LICENSEE + /// + [Newtonsoft.Json.JsonProperty("alcoholRecipientType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public AlcoholDetailAlcoholRecipientType? AlcoholRecipientType { get; set; } + + /// + /// Specify the type of entity, the shipper for alcohol shipment is registered such as fulfillment house, retailer or a winery. + /// + [Newtonsoft.Json.JsonProperty("shipperAgreementType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ShipperAgreementType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AlcoholDetailAlcoholRecipientType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AlcoholDetailAlcoholRecipientType.cs new file mode 100644 index 0000000..f5611ce --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/AlcoholDetailAlcoholRecipientType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum AlcoholDetailAlcoholRecipientType + { + + [System.Runtime.Serialization.EnumMember(Value = @"LICENSEE")] + LICENSEE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"CONSUMER")] + CONSUMER = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Alert.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Alert.cs new file mode 100644 index 0000000..5e5eb90 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Alert.cs @@ -0,0 +1,38 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are alert details received in the response. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Alert + { + /// + /// Specifies the api alert code.<br>Example: SHIPMENT.VALIDATION.SUCCESS + /// + [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Code { get; set; } + + /// + /// Specifies the api alert type. + /// + [Newtonsoft.Json.JsonProperty("alertType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public AlertType? AlertType { get; set; } + + /// + /// Specifies the api alert message.<br>Example: Shipment validated successfully. No errors found. + /// + [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Message { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AlertType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AlertType.cs new file mode 100644 index 0000000..859eaf6 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/AlertType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum AlertType + { + + [System.Runtime.Serialization.EnumMember(Value = @"NOTE")] + NOTE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"WARNING")] + WARNING = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Alerts.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Alerts.cs new file mode 100644 index 0000000..ab3462a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Alerts.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Alerts + { + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AllowedSpecialService.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AllowedSpecialService.cs new file mode 100644 index 0000000..441316f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/AllowedSpecialService.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum AllowedSpecialService + { + + [System.Runtime.Serialization.EnumMember(Value = @"SATURDAY_DELIVERY")] + SATURDAY_DELIVERY = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"SATURDAY_PICKUP")] + SATURDAY_PICKUP = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/AsynchronousProcessingOptionType_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/AsynchronousProcessingOptionType_1.cs new file mode 100644 index 0000000..a16b018 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/AsynchronousProcessingOptionType_1.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicate the processing option for submitting a Single shot MPS shipment. The value indicates if the MPS to be processed synchronously or asynchronously.<br>Note: <ul><li>Default value is SYNCHRONOUS_ONLY.</li><li>Value or element is not needed when groupPackageCount is less than or equal to 40.</li><li>Must provide element with value ALLOW_ASYNCHRONOUS when groupPackageCount is greater than 40.</li></ul> <br>Example:ALLOW_ASYNCHRONUS + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum AsynchronousProcessingOptionType_1 + { + + [System.Runtime.Serialization.EnumMember(Value = @"SYNCHRONOUS_ONLY")] + SYNCHRONOUS_ONLY = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"ALLOW_ASYNCHRONOUS")] + ALLOW_ASYNCHRONOUS = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Attributes.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Attributes.cs new file mode 100644 index 0000000..2d39d5f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Attributes.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum Attributes + { + + [System.Runtime.Serialization.EnumMember(Value = @"POST_SHIPMENT_UPLOAD_REQUESTED")] + POST_SHIPMENT_UPLOAD_REQUESTED = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BaseProcessOutputVO_ShipShipment.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BaseProcessOutputVO_ShipShipment.cs new file mode 100644 index 0000000..d1d1158 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/BaseProcessOutputVO_ShipShipment.cs @@ -0,0 +1,28 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This is the response received when a shipment is requested. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class BaseProcessOutputVO_ShipShipment + { + /// + /// These are shipping transaction details, such as master tracking number, service type, and ship date and time. + /// + [Newtonsoft.Json.JsonProperty("transactionShipments", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection TransactionShipments { get; set; } + + /// + /// The alerts received when processing a shipment request. + /// + [Newtonsoft.Json.JsonProperty("alerts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Alerts { get; set; } + + /// + /// Unique identifier for a Job. Example: abc123456 + /// + [Newtonsoft.Json.JsonProperty("jobId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string JobId { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetail.cs new file mode 100644 index 0000000..dbe445e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetail.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class BatteryDetail + { + /// + /// Describe the packing arrangement of the battery or cell with respect to other items within the same package. + /// + [Newtonsoft.Json.JsonProperty("batteryPackingType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public BatteryDetailBatteryPackingType? BatteryPackingType { get; set; } + + /// + /// This is a regulation specific classification for the battery or the cell. + /// + [Newtonsoft.Json.JsonProperty("batteryRegulatoryType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public BatteryDetailBatteryRegulatoryType? BatteryRegulatoryType { get; set; } + + /// + /// Indicate the material composition of the battery or cell. + /// + [Newtonsoft.Json.JsonProperty("batteryMaterialType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public BatteryDetailBatteryMaterialType? BatteryMaterialType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryMaterialType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryMaterialType.cs new file mode 100644 index 0000000..9693392 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryMaterialType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum BatteryDetailBatteryMaterialType + { + + [System.Runtime.Serialization.EnumMember(Value = @"LITHIUM_METAL")] + LITHIUM_METAL = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"LITHIUM_ION")] + LITHIUM_ION = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryPackingType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryPackingType.cs new file mode 100644 index 0000000..fd26173 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryPackingType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum BatteryDetailBatteryPackingType + { + + [System.Runtime.Serialization.EnumMember(Value = @"CONTAINED_IN_EQUIPMENT")] + CONTAINED_IN_EQUIPMENT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"PACKED_WITH_EQUIPMENT")] + PACKED_WITH_EQUIPMENT = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryRegulatoryType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryRegulatoryType.cs new file mode 100644 index 0000000..039b24c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/BatteryDetailBatteryRegulatoryType.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum BatteryDetailBatteryRegulatoryType + { + + [System.Runtime.Serialization.EnumMember(Value = @"IATA_SECTION_II")] + IATA_SECTION_II = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BillingDetails.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BillingDetails.cs new file mode 100644 index 0000000..33dff8f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/BillingDetails.cs @@ -0,0 +1,55 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are billing details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class BillingDetails + { + /// + /// Indicates a billing code. + /// + [Newtonsoft.Json.JsonProperty("billingCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string BillingCode { get; set; } + + /// + /// These are duties and taxes billing type. + /// + [Newtonsoft.Json.JsonProperty("billingType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string BillingType { get; set; } + + /// + /// This is bill to alias identifier. + /// + [Newtonsoft.Json.JsonProperty("aliasId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AliasId { get; set; } + + /// + /// This is account nick name. + /// + [Newtonsoft.Json.JsonProperty("accountNickname", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AccountNickname { get; set; } + + /// + /// This is bill to account number. + /// + [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AccountNumber { get; set; } + + /// + /// This is the country code of the account number.<br>Example: CA + /// + [Newtonsoft.Json.JsonProperty("accountNumberCountryCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AccountNumberCountryCode { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BinaryBarcode.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BinaryBarcode.cs new file mode 100644 index 0000000..b5d647b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/BinaryBarcode.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Each instance of this data type represents a barcode whose content must be represented as binary data (i.e. not ASCII text). + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class BinaryBarcode + { + /// + /// The kind of barcode data in this instance.<br> Example: COMMON-2D + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + /// + /// This is the value. + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public byte[] Value { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Broker.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Broker.cs new file mode 100644 index 0000000..c0261f0 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Broker.cs @@ -0,0 +1,21 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Broker : Party_1 + { + /// + /// Specifies broker address details. + /// + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public object Address { get; set; } + + /// + /// Specifies broker contact details. + /// + [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public object Contact { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BrokerDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BrokerDetail.cs new file mode 100644 index 0000000..78c65e4 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/BrokerDetail.cs @@ -0,0 +1,32 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are broker details for the shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class BrokerDetail + { + /// + /// These are broker details for the shipment with physical address, contact and account number information. + /// + [Newtonsoft.Json.JsonProperty("broker", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Broker Broker { get; set; } + + /// + /// Identifies the type of Broker.<br>Example: IMPORT + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public BrokerDetailType? Type { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/BrokerDetailType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/BrokerDetailType.cs new file mode 100644 index 0000000..428d26c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/BrokerDetailType.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum BrokerDetailType + { + + [System.Runtime.Serialization.EnumMember(Value = @"IMPORT")] + IMPORT = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetail.cs new file mode 100644 index 0000000..435a6bf --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetail.cs @@ -0,0 +1,47 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Use this object to specify C.O.D. transportation charges. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CODTransportationChargesDetail + { + /// + /// Specify the Rate Type used. + /// + [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CODTransportationChargesDetailRateType? RateType { get; set; } + + /// + /// Specify which level the rate to be applied. + /// + [Newtonsoft.Json.JsonProperty("rateLevelType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CODTransportationChargesDetailRateLevelType? RateLevelType { get; set; } + + /// + /// Specify which level the charges to be applied. + /// + [Newtonsoft.Json.JsonProperty("chargeLevelType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CODTransportationChargesDetailChargeLevelType? ChargeLevelType { get; set; } + + /// + /// Specify Charge type. + /// + [Newtonsoft.Json.JsonProperty("chargeType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CODTransportationChargesDetailChargeType? ChargeType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailChargeLevelType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailChargeLevelType.cs new file mode 100644 index 0000000..3dc36de --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailChargeLevelType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CODTransportationChargesDetailChargeLevelType + { + + [System.Runtime.Serialization.EnumMember(Value = @"CURRENT_PACKAGE")] + CURRENT_PACKAGE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"SUM_OF_PACKAGES")] + SUM_OF_PACKAGES = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailChargeType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailChargeType.cs new file mode 100644 index 0000000..d731025 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailChargeType.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CODTransportationChargesDetailChargeType + { + + [System.Runtime.Serialization.EnumMember(Value = @"COD_SURCHARGE")] + COD_SURCHARGE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"NET_CHARGE")] + NET_CHARGE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"NET_FREIGHT")] + NET_FREIGHT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_CUSTOMER_CHARGE")] + TOTAL_CUSTOMER_CHARGE = 3, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailRateLevelType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailRateLevelType.cs new file mode 100644 index 0000000..4df4e51 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailRateLevelType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CODTransportationChargesDetailRateLevelType + { + + [System.Runtime.Serialization.EnumMember(Value = @"BUNDLED_RATE")] + BUNDLED_RATE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"INDIVIDUAL_PACKAGE_RATE")] + INDIVIDUAL_PACKAGE_RATE = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailRateType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailRateType.cs new file mode 100644 index 0000000..743447f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CODTransportationChargesDetailRateType.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CODTransportationChargesDetailRateType + { + + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT")] + ACCOUNT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"CURRENT")] + CURRENT = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM")] + CUSTOM = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CertificateOfOriginDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CertificateOfOriginDetail.cs new file mode 100644 index 0000000..fa15727 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CertificateOfOriginDetail.cs @@ -0,0 +1,28 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// The instructions indicating how to print the Certificate of Origin ( e.g. whether or not to include the instructions, image type, etc ...) + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CertificateOfOriginDetail + { + /// + /// Specifies the usage and identification of customer supplied images to be used on this document. + /// + [Newtonsoft.Json.JsonProperty("customerImageUsages", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection CustomerImageUsages { get; set; } + + [Newtonsoft.Json.JsonProperty("documentFormat", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShippingDocumentFormat DocumentFormat { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoice.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoice.cs new file mode 100644 index 0000000..3568534 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoice.cs @@ -0,0 +1,96 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Use this object to provide Commercial Invoice details. This element is required for electronic upload of CI data. It will serve to create/transmit an electronic Commercial Invoice through the FedEx system.<br>Customers are responsible for printing their own Commercial Invoice.<br>If you would like FedEx to generate a Commercial Invoice and transmit it to Customs for clearance purposes, you need to specify that in the ETDDetail/RequestedDocumentCopies element.<br>Supports maximum of 99 commodity line items. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CommercialInvoice + { + /// + /// The originatorName that will populate the Commercial Invoice (or Pro Forma).<br>Example: originator name + /// + [Newtonsoft.Json.JsonProperty("originatorName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OriginatorName { get; set; } + + /// + /// The comments that will populate the Commercial Invoice (or Pro Forma). Only the comments specified in the first two indexes of the array will be printed on the invoice and other comments would be ignored as the limitation is set for only two indexes. It considers the comment which is in the first index as a Special Instructions, Hence the comment at first index will be printed under special instructions and the other will be printed at comments section in the Commercial Invoice Document. <br>Example: comments + /// + [Newtonsoft.Json.JsonProperty("comments", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Comments { get; set; } + + /// + /// These are additional customer reference data for commercial invoice. + /// + [Newtonsoft.Json.JsonProperty("customerReferences", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection CustomerReferences { get; set; } + + /// + /// Indicate the taxes or miscellaneous charges(other than freight charges or insurance charges) that are associated with the shipment. + /// + [Newtonsoft.Json.JsonProperty("taxesOrMiscellaneousCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Money TaxesOrMiscellaneousCharge { get; set; } + + /// + /// Specifies the Taxes Or Miscellaneous Charge Type<br>Example: COMMISSIONS + /// + [Newtonsoft.Json.JsonProperty("taxesOrMiscellaneousChargeType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CommercialInvoiceTaxesOrMiscellaneousChargeType? TaxesOrMiscellaneousChargeType { get; set; } + + /// + /// Indicates the freight charge added by the shipper/customer for shipping the package. Optional to the customer. + /// + [Newtonsoft.Json.JsonProperty("freightCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Money FreightCharge { get; set; } + + /// + /// Indicates the packing cost added by the shipper/customer for shipping the package. Optional to the customer. + /// + [Newtonsoft.Json.JsonProperty("packingCosts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Money PackingCosts { get; set; } + + /// + /// Indicates the packing cost added by the shipper/customer for shipping the package. Optional to the customer. + /// + [Newtonsoft.Json.JsonProperty("handlingCosts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Money HandlingCosts { get; set; } + + /// + /// This is the declaration statement which will populate the Commercial Invoice (or Pro Forma).<br>Maximum length is 554.<br>Example: declarationStatement + /// + [Newtonsoft.Json.JsonProperty("declarationStatement", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DeclarationStatement { get; set; } + + /// + /// The termsOfSale that will populate the Commercial Invoice (or Pro Forma). Max length is 3<br>Example: FCA + /// + [Newtonsoft.Json.JsonProperty("termsOfSale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TermsOfSale { get; set; } + + /// + /// These are special instructions that will be populated on the Commercial Invoice (or Pro Forma).<br>Example: specialInstructions + /// + [Newtonsoft.Json.JsonProperty("specialInstructions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SpecialInstructions { get; set; } + + /// + /// The reason for the shipment. Note: SOLD is not a valid purpose for a Proforma Invoice.<br>Example: REPAIR_AND_RETURN + /// + [Newtonsoft.Json.JsonProperty("shipmentPurpose", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CommercialInvoiceShipmentPurpose? ShipmentPurpose { get; set; } + + [Newtonsoft.Json.JsonProperty("emailNotificationDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShipEmailDispositionDetail EmailNotificationDetail { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceDetail.cs new file mode 100644 index 0000000..1c8f3b8 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceDetail.cs @@ -0,0 +1,28 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// The instructions indicating how to print the Commercial Invoice( e.g. image type) Specifies characteristics of a shipping document to be produced. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CommercialInvoiceDetail + { + /// + /// Specifies the usage and identification of customer supplied images to be used on this document. + /// + [Newtonsoft.Json.JsonProperty("customerImageUsages", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection CustomerImageUsages { get; set; } + + [Newtonsoft.Json.JsonProperty("documentFormat", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShippingDocumentFormat DocumentFormat { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceShipmentPurpose.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceShipmentPurpose.cs new file mode 100644 index 0000000..0d572cd --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceShipmentPurpose.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CommercialInvoiceShipmentPurpose + { + + [System.Runtime.Serialization.EnumMember(Value = @"GIFT")] + GIFT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"NOT_SOLD")] + NOT_SOLD = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_EFFECTS")] + PERSONAL_EFFECTS = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"REPAIR_AND_RETURN")] + REPAIR_AND_RETURN = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"SAMPLE")] + SAMPLE = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"SOLD")] + SOLD = 5, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceTaxesOrMiscellaneousChargeType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceTaxesOrMiscellaneousChargeType.cs new file mode 100644 index 0000000..c8b6633 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CommercialInvoiceTaxesOrMiscellaneousChargeType.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CommercialInvoiceTaxesOrMiscellaneousChargeType + { + + [System.Runtime.Serialization.EnumMember(Value = @"COMMISSIONS")] + COMMISSIONS = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"DISCOUNTS")] + DISCOUNTS = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"HANDLING_FEES")] + HANDLING_FEES = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] + OTHER = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"ROYALTIES_AND_LICENSE_FEES")] + ROYALTIES_AND_LICENSE_FEES = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"TAXES")] + TAXES = 5, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Commodity.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Commodity.cs new file mode 100644 index 0000000..49c949d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Commodity.cs @@ -0,0 +1,114 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Commodity + { + /// + /// This is the unit price. + /// + [Newtonsoft.Json.JsonProperty("unitPrice", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Money UnitPrice { get; set; } + + /// + /// This object contains additional quantitative information other than weight and quantity to calculate duties and taxes. + /// + [Newtonsoft.Json.JsonProperty("additionalMeasures", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection AdditionalMeasures { get; set; } + + /// + /// Indicate the number of pieces associated with the commodity. The value can neither be negative nor exceed 9,999.<br>Example: 12 + /// + [Newtonsoft.Json.JsonProperty("numberOfPieces", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? NumberOfPieces { get; set; } + + /// + /// This is the units quantity (using quantityUnits as the unit of measure) per commodity. This is used to estimate duties and taxes.<br> Example: 125 + /// + [Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Quantity { get; set; } + + /// + /// This is the unit of measure for the units quantity. This is used to estimate duties and taxes.<br>Example: EA<br><a onclick='loadDocReference("harmonizedsystemcodeunitofmeasure-table1")'>click here to see Commodity Unit Measures</a> + /// + [Newtonsoft.Json.JsonProperty("quantityUnits", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string QuantityUnits { get; set; } + + /// + /// This customs value is applicable for all items(or units) under the specified commodity. + /// + [Newtonsoft.Json.JsonProperty("customsValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Customs_Money CustomsValue { get; set; } + + /// + /// This is commodity country of manufacture. This is required for International shipments. Maximum allowed length is 4.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> + /// + [Newtonsoft.Json.JsonProperty("countryOfManufacture", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CountryOfManufacture { get; set; } + + /// + /// This is an identifying mark or number used on the packaging of a shipment to help customers identify a particular shipment<br>Example: 87123 + /// + [Newtonsoft.Json.JsonProperty("cIMarksAndNumbers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CIMarksAndNumbers { get; set; } + + /// + /// This is to specify the Harmonized Tariff System (HTS) code to meet U.S. and foreign governments' customs requirements. These are mainly used to estimate the duties and taxes.<br>Example: 0613<br>To research the classification for your commodity, use the FedEx Global Trade Manager online at <a href='http://www.fedex.com/gtm' target='_blank'>fedex.com/gtm</a>. You will find country-specific information to determine whether your commodity is considered to be a document or non-document for your destination. + /// + [Newtonsoft.Json.JsonProperty("harmonizedCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string HarmonizedCode { get; set; } + + /// + /// Required<br>ScrewsMaximum allowed 450 characters.<br>Example: description + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Description { get; set; } + + /// + /// This is Commodity name.<br>Example: Non-Threaded Rivets + /// + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } + + [Newtonsoft.Json.JsonProperty("weight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Weight_4 Weight { get; set; } + + /// + /// This is the export license number for the shipment.<br>Example: 26456 + /// + [Newtonsoft.Json.JsonProperty("exportLicenseNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ExportLicenseNumber { get; set; } + + /// + /// Specify the export license expiration date for the shipment.<br>Format YYYY-MM-DD<br>Example : 2009-04-12 + /// + [Newtonsoft.Json.JsonProperty("exportLicenseExpirationDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? ExportLicenseExpirationDate { get; set; } + + /// + /// This is a part number.<br>Example: 167 + /// + [Newtonsoft.Json.JsonProperty("partNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PartNumber { get; set; } + + /// + /// This field is used for calculation of duties and taxes.<br><br> Valid values are : BUSINESS and CONSUMER. <br>Example:BUSINESS + /// + [Newtonsoft.Json.JsonProperty("purpose", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CommodityPurpose? Purpose { get; set; } + + [Newtonsoft.Json.JsonProperty("usmcaDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public UsmcaDetail UsmcaDetail { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CommodityPurpose.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CommodityPurpose.cs new file mode 100644 index 0000000..450fc2e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CommodityPurpose.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CommodityPurpose + { + + [System.Runtime.Serialization.EnumMember(Value = @"BUSINESS")] + BUSINESS = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"CONSUMER")] + CONSUMER = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedEtdDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedEtdDetail.cs new file mode 100644 index 0000000..688eff2 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedEtdDetail.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are completed ETD details when ELECTRONIC_TRADE_DOCUMENTS Special service type is requested + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CompletedEtdDetail + { + /// + /// Returns the folder id where the documents is uploaded <br> Example: "0b0493e580dc1a1b" + /// + [Newtonsoft.Json.JsonProperty("folderId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FolderId { get; set; } + + /// + /// Returns the type of the document that is being uploaded <br> Example: "COMMERCIAL_INVOICE" + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + /// + /// Specify the document upload reference details. + /// + [Newtonsoft.Json.JsonProperty("uploadDocumentReferenceDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection UploadDocumentReferenceDetails { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousPackageDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousPackageDetail.cs new file mode 100644 index 0000000..32028b8 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousPackageDetail.cs @@ -0,0 +1,61 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Complete package-level hazardous commodity information for a single package. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CompletedHazardousPackageDetail + { + /// + /// Specifies the hazardous package regulation type.<br>Example: IATA + /// + [Newtonsoft.Json.JsonProperty("regulation", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Regulation { get; set; } + + /// + /// Specifies the hazardous package accessibility.<br>Example: ACCESSIBLE + /// + [Newtonsoft.Json.JsonProperty("accessibility", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Accessibility { get; set; } + + /// + /// Specifies the label type of hazardous package.<br>Example: II_YELLOW + /// + [Newtonsoft.Json.JsonProperty("labelType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LabelType { get; set; } + + /// + /// Indicates one or more approved containers used to pack dangerous goods commodities. This does not describe any individual inner receptacles that may be within this container. + /// + [Newtonsoft.Json.JsonProperty("containers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Containers { get; set; } + + /// + /// When TRUE-indicates that the package can be transported only on a cargo aircraft.<br>Example: true + /// + [Newtonsoft.Json.JsonProperty("cargoAircraftOnly", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? CargoAircraftOnly { get; set; } + + /// + /// A unique reference id that matches the package to a package configuration. This is populated if the client provided a package configuration for several packages that have the exact same dangerous goods content.<br>Example: 123456 + /// + [Newtonsoft.Json.JsonProperty("referenceId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ReferenceId { get; set; } + + /// + /// Specifies the maximum radiation level from the package (measured in microSieverts per hour at a distance of one meter from the external surface of the package, divided by 10).<br>Example: 2.45 + /// + [Newtonsoft.Json.JsonProperty("radioactiveTransportIndex", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? RadioactiveTransportIndex { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousShipmentDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousShipmentDetail.cs new file mode 100644 index 0000000..199c9b7 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousShipmentDetail.cs @@ -0,0 +1,28 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Completed shipment level hazardous commodity information. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CompletedHazardousShipmentDetail + { + [Newtonsoft.Json.JsonProperty("hazardousSummaryDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CompletedHazardousSummaryDetail HazardousSummaryDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("adrLicense", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public AdrLicenseDetail AdrLicense { get; set; } + + [Newtonsoft.Json.JsonProperty("dryIceDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShipmentDryIceDetail DryIceDetail { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousSummaryDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousSummaryDetail.cs new file mode 100644 index 0000000..89020b2 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHazardousSummaryDetail.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies Completed Hazardous Summary Detail. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CompletedHazardousSummaryDetail + { + /// + /// Specifies the total number of packages containing hazardous commodities in small exceptions.<br>Example: 10 + /// + [Newtonsoft.Json.JsonProperty("smallQuantityExceptionPackageCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? SmallQuantityExceptionPackageCount { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHoldAtLocationDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHoldAtLocationDetail.cs new file mode 100644 index 0000000..aab2853 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedHoldAtLocationDetail.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This is default holding location information when HOLD_AT_LOCATION special service is requested and the client does not specify the hold location address. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CompletedHoldAtLocationDetail + { + /// + /// Indicates the type of the FedEx holding location <br>Example: FEDEX_STAFFED + /// + [Newtonsoft.Json.JsonProperty("holdingLocationType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string HoldingLocationType { get; set; } + + /// + /// Indicate the physical address of the FedEx holding location. + /// + [Newtonsoft.Json.JsonProperty("holdingLocation", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public JustContactAndAddress HoldingLocation { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedPackageDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedPackageDetail.cs new file mode 100644 index 0000000..22f04ea --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedPackageDetail.cs @@ -0,0 +1,61 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CompletedPackageDetail + { + /// + /// This is package sequence number. No negative value or decimals are allowed.<br>Example: 256 + /// + [Newtonsoft.Json.JsonProperty("sequenceNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? SequenceNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("operationalDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PackageOperationalDetail OperationalDetail { get; set; } + + /// + /// It specifies the signature option applied, to allow cases in which the value requested conflicted with other service features in the shipment. <br>Example: DIRECT + /// + [Newtonsoft.Json.JsonProperty("signatureOption", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SignatureOption { get; set; } + + /// + /// Tracking details of the package. + /// + [Newtonsoft.Json.JsonProperty("trackingIds", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection TrackingIds { get; set; } + + /// + /// This is group shipment number. Used with request containing PACKAGE_GROUPS, to identify which group of identical packages was used to produce a reply item.<br>Example: 10 + /// + [Newtonsoft.Json.JsonProperty("groupNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? GroupNumber { get; set; } + + /// + /// Indicates the oversize classification.<br>Example: OVERSIZE_1 + /// + [Newtonsoft.Json.JsonProperty("oversizeClass", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OversizeClass { get; set; } + + [Newtonsoft.Json.JsonProperty("packageRating", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PackageRating PackageRating { get; set; } + + /// + /// Descriptive data required for a FedEx shipment containing dry ice. Includes weight and units. This element is required when SpecialServiceType DRY_ICE is present in the SpecialServiceTypes collection at the package level. + /// + [Newtonsoft.Json.JsonProperty("dryIceWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Weight DryIceWeight { get; set; } + + [Newtonsoft.Json.JsonProperty("hazardousPackageDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CompletedHazardousPackageDetail HazardousPackageDetail { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedShipmentDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedShipmentDetail.cs new file mode 100644 index 0000000..117aed6 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CompletedShipmentDetail.cs @@ -0,0 +1,76 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Returns the result of processing the desired package as a single-package shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CompletedShipmentDetail + { + /// + /// Indicates the completed package details. + /// + [Newtonsoft.Json.JsonProperty("completedPackageDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection CompletedPackageDetails { get; set; } + + [Newtonsoft.Json.JsonProperty("operationalDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShipmentOperationalDetail OperationalDetail { get; set; } + + /// + /// Specify the four letter code of a FedEx operating company that meets your requirements<br>Examples of FedEx Operating Companies are:<ul><li>FDXE - FedEx Express</li><li>FDXG - FedEx Ground</li><li>FXSP - FedEx SmartPost</li><li>FXCC - FedEx Custom Critical.</li></ul> + /// + [Newtonsoft.Json.JsonProperty("carrierCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CarrierCode { get; set; } + + [Newtonsoft.Json.JsonProperty("completedHoldAtLocationDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CompletedHoldAtLocationDetail CompletedHoldAtLocationDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("completedEtdDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CompletedEtdDetail CompletedEtdDetail { get; set; } + + /// + /// Specifies packaging description<br>Example: Customer Packaging + /// + [Newtonsoft.Json.JsonProperty("packagingDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PackagingDescription { get; set; } + + [Newtonsoft.Json.JsonProperty("masterTrackingId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TrackingId MasterTrackingId { get; set; } + + [Newtonsoft.Json.JsonProperty("serviceDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ServiceDescription ServiceDescription { get; set; } + + /// + /// Indicates whether or not this is an intra-U.S. shipment. + /// + [Newtonsoft.Json.JsonProperty("usDomestic", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? UsDomestic { get; set; } + + [Newtonsoft.Json.JsonProperty("hazardousShipmentDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CompletedHazardousShipmentDetail HazardousShipmentDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("shipmentRating", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShipmentRating ShipmentRating { get; set; } + + [Newtonsoft.Json.JsonProperty("documentRequirements", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DocumentRequirementsDetail DocumentRequirements { get; set; } + + /// + /// For US export shipments requiring an EEI, enter the ITN number received from AES when you filed your shipment or the FTR (Foreign Trade Regulations) exemption number.The proper format for an ITN number is AES XYYYYMMDDNNNNNN where YYYYMMDD is date and NNNNNN are numbers generated by the AES.<br> Example: AESX20220714987654<br>Note: The ITN or FTR exemption number you submit in the ship request prints on the international shipping label.<br><br>For CA export shipments,it can be Proof of report number(15-32 alphanumeric) , Summary proof of report number(7-32 alphanumeric) or Exemption number(2 digit) based on the selected b13AFilingOption.<br>Example: 98765432107654321(POR number), 7654321(Summary POR number) and 02(Exemption number).<br>For FTR exemption number you need provide a predefined value as NO_EEI_30_37_A. + /// + [Newtonsoft.Json.JsonProperty("exportComplianceStatement", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ExportComplianceStatement { get; set; } + + [Newtonsoft.Json.JsonProperty("accessDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PendingShipmentAccessDetail AccessDetail { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact.cs new file mode 100644 index 0000000..22fa9d0 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact.cs @@ -0,0 +1,49 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specify the contact information. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Contact + { + /// + /// Specify person name.<br>Example: John Taylor + /// + [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PersonName { get; set; } + + /// + /// Specify email address.<br>Example: sample@company.com + /// + [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EmailAddress { get; set; } + + /// + /// The shippers phone number. <br>Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.<br>Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of 1 or +1.<br>Example: 918xxxxx890 + /// + [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneNumber { get; set; } + + /// + /// The shipper's phone extension. Max length is 6.<br>Example: 91 + /// + [Newtonsoft.Json.JsonProperty("phoneExtension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneExtension { get; set; } + + /// + /// Specify company name. + /// + [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CompanyName { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact2.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact2.cs new file mode 100644 index 0000000..8eda71e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact2.cs @@ -0,0 +1,28 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Contact2 + { + /// + /// Identifies the company this contact is associated with. Maximum length is 35. + /// + [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string CompanyName { get; set; } + + /// + /// Specify Person Name.<br>Example: John Taylor + /// + [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string PersonName { get; set; } + + /// + /// Identifies the phone number associated with this contact. Maximum length is 10. + /// + [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string PhoneNumber { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ContactAndAddress.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ContactAndAddress.cs new file mode 100644 index 0000000..5629c27 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ContactAndAddress.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies the contact and address details of a location. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ContactAndAddress + { + [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Contact_1 Contact { get; set; } + + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Address_1 Address { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ContactAndAddress_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ContactAndAddress_1.cs new file mode 100644 index 0000000..ee78c78 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ContactAndAddress_1.cs @@ -0,0 +1,16 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies the contact and address details of a location. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ContactAndAddress_1 + { + [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Contact_2 Contact { get; set; } + + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Address_1 Address { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact_1.cs new file mode 100644 index 0000000..7cfe061 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact_1.cs @@ -0,0 +1,55 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicate the contact details of the shipper. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Contact_1 + { + /// + /// Specify contact person name.<br>Recommended length is 70. <br>Note: There's no specific validation for the person name.<br> Example: John Taylor + /// + [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PersonName { get; set; } + + /// + /// Specify contact email address. Maximum length is 80. <br> Example: sample@company.com + /// + [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EmailAddress { get; set; } + + /// + /// Contact person's phone number. <br>Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.<br>Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.<br>Example: 918xxxxx890 + /// + [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneNumber { get; set; } + + /// + /// Specify contact phone extension. <br>Note: Recommended length is 6. There's no specific validation for the phone extension. <br> Example: 1234 + /// + [Newtonsoft.Json.JsonProperty("phoneExtension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneExtension { get; set; } + + /// + /// Specify contact fax number.<br>Note: Recommended length is 15. There's no specific validation for the fax number.<br> Example: 1234567890 + /// + [Newtonsoft.Json.JsonProperty("faxNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FaxNumber { get; set; } + + /// + /// Contact person's company name.<br>Note: Recommended Length is 35. There's no specific validation for the company name.<br>Example: FedEx + /// + [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CompanyName { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact_2.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact_2.cs new file mode 100644 index 0000000..e17a56e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Contact_2.cs @@ -0,0 +1,46 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicate the contact details of the shipper. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Contact_2 + { + /// + /// Specify contact person name.<br>Recommended length is 70. <br>Note: There's no specific validation for the person name.<br> Example: John Taylor + /// + [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PersonName { get; set; } + + /// + /// Specify contact email address. Maximum length is 80. <br> Example: sample@company.com + /// + [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EmailAddress { get; set; } + + /// + /// Specify contact phone number. <br>Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers. <br>Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number. <br> Example: 918xxxxx890 + /// + [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneNumber { get; set; } + + /// + /// Specify contact phone extension. <br>Note: Recommended length is 6. There's no specific validation for the phone extension. <br> Example: 1234 + /// + [Newtonsoft.Json.JsonProperty("phoneExtension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneExtension { get; set; } + + /// + /// Specify contact fax number.<br>Note: Recommended length is 15. There's no specific validation for the fax number.<br> Example: 1234567890 + /// + [Newtonsoft.Json.JsonProperty("faxNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FaxNumber { get; set; } + + /// + /// Specify contact company name.<br>Recommended length is 35.<br>Note: There's no specific validation for the company name.<br>Example: FedEx + /// + [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CompanyName { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ContentRecord.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ContentRecord.cs new file mode 100644 index 0000000..b03f848 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ContentRecord.cs @@ -0,0 +1,43 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Use this object to specify package content details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ContentRecord + { + /// + /// This is a package item number. + /// + [Newtonsoft.Json.JsonProperty("itemNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ItemNumber { get; set; } + + /// + /// This is the package item quantity. + /// + [Newtonsoft.Json.JsonProperty("receivedQuantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? ReceivedQuantity { get; set; } + + /// + /// This is the description of the package item. + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// This is the part number. + /// + [Newtonsoft.Json.JsonProperty("partNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PartNumber { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CreateShipmentReq.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CreateShipmentReq.cs new file mode 100644 index 0000000..73a4866 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CreateShipmentReq.cs @@ -0,0 +1,53 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// The request elements required to create a shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CreateShipmentReq + { + /// + /// It specifies the content of the merged pdf URL in the response. The merged pdf URL is generated only if the labelResponseOption is indicated as URL_ONLY.<ul><li>If the value is 'LABELS_AND_DOCS', then merged (all shipping labels and shipping documents) pdf URL will be returned.</li><li>If the value is 'LABELS_ONLY', merged (all shipping labels only) pdf URL will be returned.</li><li>If the value is 'NONE', then no merged pdf URL will be returned.</li></ul><br>This is optional field and will default to LABELS_AND_DOCS.<br>Note: If the value is 'LABELS_ONLY', then the returned merged pdf label will not be in the Base64 encoded format. + /// + [Newtonsoft.Json.JsonProperty("mergeLabelDocOption", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ShipMergeLabelDocOption? MergeLabelDocOption { get; set; } + + [Newtonsoft.Json.JsonProperty("requestedShipment", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public RequestedShipment RequestedShipment { get; set; } = new RequestedShipment(); + + [Newtonsoft.Json.JsonProperty("labelResponseOptions", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public LABELRESPONSEOPTIONS LabelResponseOptions { get; set; } + + [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public ShipperAccountNumber AccountNumber { get; set; } = new ShipperAccountNumber(); + + [Newtonsoft.Json.JsonProperty("shipAction", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public OpenShipmentAction? ShipAction { get; set; } + + [Newtonsoft.Json.JsonProperty("processingOptionType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public AsynchronousProcessingOptionType_1? ProcessingOptionType { get; set; } + + /// + /// This flag is used to specify if the shipment is singleshot mps or one Label at a time, piece by piece shipment. Default is false. If true, one label at a time is processed. + /// + [Newtonsoft.Json.JsonProperty("oneLabelAtATime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? OneLabelAtATime { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CreateShipmentResp.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CreateShipmentResp.cs new file mode 100644 index 0000000..63e45a3 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CreateShipmentResp.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Wrapper class for ShipShipmentOutputVO. It holds transactionId and output. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CreateShipmentResp + { + /// + /// The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492 + /// + [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TransactionId { get; set; } + + /// + /// This element has a unique identifier added in your request, helps you match the request to the reply.<br>Example: XXXX_XXX123XXXXX + /// + [Newtonsoft.Json.JsonProperty("customerTransactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CustomerTransactionId { get; set; } + + [Newtonsoft.Json.JsonProperty("output", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public BaseProcessOutputVO_ShipShipment Output { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CurrencyExchangeRate.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CurrencyExchangeRate.cs new file mode 100644 index 0000000..bb44974 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CurrencyExchangeRate.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies the currency exchange performed on financial amounts on this rate. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CurrencyExchangeRate + { + /// + /// Multiplier used to convert from Currency units to into Currency units.<br>Example: 25.6 + /// + [Newtonsoft.Json.JsonProperty("rate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Rate { get; set; } + + /// + /// The currency code for the original (converted FROM) currency.<br>Example: Rupee<br><a onclick='loadDocReference("currencycodes")'>click here to see Currency codes</a> + /// + [Newtonsoft.Json.JsonProperty("fromCurrency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FromCurrency { get; set; } + + /// + /// The currency code for the final(converted INTO) currency.<br>Example: USD<br><a onclick='loadDocReference("currencycodes")'>click here to see currencycodes</a> + /// + [Newtonsoft.Json.JsonProperty("intoCurrency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string IntoCurrency { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsage.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsage.cs new file mode 100644 index 0000000..940e9dd --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsage.cs @@ -0,0 +1,40 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specify the usse and identification of supplied images to be used on this document. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CustomerImageUsage + { + /// + /// Specify the Image ID.<br>Example:IMAGE_5 + /// + [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CustomerImageUsageId? Id { get; set; } + + /// + /// Specify Customer Image Type.<br>Example:SIGNATURE + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CustomerImageUsageType? Type { get; set; } + + /// + /// Provided Image Type<br>Example: SIGNATURE + /// + [Newtonsoft.Json.JsonProperty("providedImageType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CustomerImageUsageProvidedImageType? ProvidedImageType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageId.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageId.cs new file mode 100644 index 0000000..b4f14a2 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageId.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CustomerImageUsageId + { + + [System.Runtime.Serialization.EnumMember(Value = @"IMAGE_1")] + IMAGE_1 = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"IMAGE_2")] + IMAGE_2 = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"IMAGE_3")] + IMAGE_3 = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"IMAGE_4")] + IMAGE_4 = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"IMAGE_5")] + IMAGE_5 = 4, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageProvidedImageType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageProvidedImageType.cs new file mode 100644 index 0000000..267667f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageProvidedImageType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CustomerImageUsageProvidedImageType + { + + [System.Runtime.Serialization.EnumMember(Value = @"LETTER_HEAD")] + LETTER_HEAD = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"SIGNATURE")] + SIGNATURE = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageType.cs new file mode 100644 index 0000000..7349610 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerImageUsageType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CustomerImageUsageType + { + + [System.Runtime.Serialization.EnumMember(Value = @"SIGNATURE")] + SIGNATURE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"LETTER_HEAD")] + LETTER_HEAD = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference.cs new file mode 100644 index 0000000..5c26dbb --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference.cs @@ -0,0 +1,29 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CustomerReference + { + /// + /// This is a customer reference type. Note: Use type Type, RMA_ASSOCIATION and value as the RMA Number to associate Ground Call Tag shipments to the outbound shipment.<br>Example: DEPARTMENT_NUMBER + /// + [Newtonsoft.Json.JsonProperty("customerReferenceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CustomerReferenceType? CustomerReferenceType { get; set; } + + /// + /// This is a customer reference type value.<br>Example: 3686 <ul><li>The P_O_NUMBER value must be specified in customerReferences under requestedPackageLineItems</li><li>The INVOICE_NUMBER value that is printed on the FedEx-supplied invoice must be specified in customerReferences under commercialInvoice. Value defined in this section will print on the label that is attached to the package</li><li>The RMA value sent by the customer is returned on the label in human readable form but also as a barcode. RMA_ASSOCIATION only prints on the label as a barcode for a Return shipment.</ul>NOTE:<ul><li> INTRACOUNTRY_REGULATORY_REFERENCE is applicable only in Intra-Brazil.</li><li> Maximum length varies for value field depending on customerReferenceType.</li></ul> Maximum length for value is as follows: <ul><li>CUSTOMER_REFERENCE - 40(Express), 30(Ground)</li><li>DEPARTMENT_NUMBER - 30</li><li>INVOICE_NUMBER - 30</li><li>P_O_NUMBER - 30</li><li>INTRACOUNTRY_REGULATORY_REFERENCE - 30</li><li>RMA_ASSOCIATION - 20</li> + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Value { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReferenceType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReferenceType.cs new file mode 100644 index 0000000..8ae8bf8 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReferenceType.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CustomerReferenceType + { + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMER_REFERENCE")] + CUSTOMER_REFERENCE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"DEPARTMENT_NUMBER")] + DEPARTMENT_NUMBER = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"INVOICE_NUMBER")] + INVOICE_NUMBER = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"P_O_NUMBER")] + P_O_NUMBER = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"INTRACOUNTRY_REGULATORY_REFERENCE")] + INTRACOUNTRY_REGULATORY_REFERENCE = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"RMA_ASSOCIATION")] + RMA_ASSOCIATION = 5, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference_1.cs new file mode 100644 index 0000000..15f1554 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference_1.cs @@ -0,0 +1,29 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CustomerReference_1 + { + /// + /// This is a customer reference type. The value specified here for the element is printed on the Commercial Invoice only for tracking and label information.<p>Note: <ul><li>The P_O_NUMBER value must be specified in customerReferences under requestedPackageLineItems</li><li>The INVOICE_NUMBER value that is printed on the FedEx-supplied invoice must be specified in customerReferences under commercialInvoice. Value defined in this section will print on the label that is attached to the package</li><li>The RMA_ASSOCIATION value sent by the customer is returned on the label in human readable form but also as a barcode.</li></ul>Note: INTRACOUNTRY_REGULATORY_REFERENCE is applicable only in Intra-Brazil.<br><a onclick='loadDocReference("customerreferencetypes")'>For more information, click here for Customer References</a>.<br>Example: DEPARTMENT_NUMBER + /// + [Newtonsoft.Json.JsonProperty("customerReferenceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CustomerReference_1CustomerReferenceType? CustomerReferenceType { get; set; } + + /// + /// This is a customer reference type value.<br>Example: 3686 <ul><li>The P_O_NUMBER value must be specified in customerReferences under requestedPackageLineItems</li><li>The INVOICE_NUMBER value that is printed on the FedEx-supplied invoice must be specified in customerReferences under commercialInvoice. Value defined in this section will print on the label that is attached to the package</li><li>The RMA value sent by the customer is returned on the label in human readable form but also as a barcode. RMA_ASSOCIATION only prints on the label as a barcode for a Return shipment.</ul>NOTE:<ul><li> INTRACOUNTRY_REGULATORY_REFERENCE is applicable only in Intra-Brazil.</li><li> Maximum length varies for value field depending on customerReferenceType.</li></ul> Maximum length for value is as follows: <ul><li>CUSTOMER_REFERENCE - 40(Express), 30(Ground)</li><li>DEPARTMENT_NUMBER - 30</li><li>INVOICE_NUMBER - 30</li><li>P_O_NUMBER - 30</li><li>INTRACOUNTRY_REGULATORY_REFERENCE - 30</li><li>RMA_ASSOCIATION - 20</li> + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Value { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference_1CustomerReferenceType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference_1CustomerReferenceType.cs new file mode 100644 index 0000000..ef370f3 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerReference_1CustomerReferenceType.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CustomerReference_1CustomerReferenceType + { + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMER_REFERENCE")] + CUSTOMER_REFERENCE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"DEPARTMENT_NUMBER")] + DEPARTMENT_NUMBER = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"INVOICE_NUMBER")] + INVOICE_NUMBER = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"P_O_NUMBER")] + P_O_NUMBER = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"INTRACOUNTRY_REGULATORY_REFERENCE")] + INTRACOUNTRY_REGULATORY_REFERENCE = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"RMA_ASSOCIATION")] + RMA_ASSOCIATION = 5, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerSpecifiedLabelDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerSpecifiedLabelDetail.cs new file mode 100644 index 0000000..949988f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomerSpecifiedLabelDetail.cs @@ -0,0 +1,40 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This object allows the control of label content for customization. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CustomerSpecifiedLabelDetail + { + /// + /// Controls which data/sections will be suppressed.<br>Example: TOTAL_WEIGHT + /// + [Newtonsoft.Json.JsonProperty("maskedData", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection MaskedData { get; set; } + + /// + /// Specify how the regulatory details to be provided on the labels. + /// + [Newtonsoft.Json.JsonProperty("regulatoryLabels", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection RegulatoryLabels { get; set; } + + /// + /// Specify how the additional details to be provided on the labels. + /// + [Newtonsoft.Json.JsonProperty("additionalLabels", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection AdditionalLabels { get; set; } + + [Newtonsoft.Json.JsonProperty("docTabContent", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DocTabContent DocTabContent { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsClearanceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsClearanceDetail.cs new file mode 100644 index 0000000..0fa1b9c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsClearanceDetail.cs @@ -0,0 +1,100 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are customs clearance details. Required for International and intra-country Shipments. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CustomsClearanceDetail + { + /// + /// These are the regulatory controls applicable to the shipment.<br> Example:USMCA,FOOD_OR_PERISHABLE + /// + [Newtonsoft.Json.JsonProperty("regulatoryControls", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection RegulatoryControls { get; set; } + + /// + /// Specify broker information. Use this option only if you are using Broker Select Option for your shipment. A country code must be specified in addition to one of the following address items: postal code, city, or location id. + /// + [Newtonsoft.Json.JsonProperty("brokers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Brokers { get; set; } + + [Newtonsoft.Json.JsonProperty("commercialInvoice", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public CommercialInvoice CommercialInvoice { get; set; } = new CommercialInvoice(); + + /// + /// Specify the risk owner for the Freight shipment.This element is only mandatory or valid for Intra India shipments.<br>Example: OWN_RISK + /// + [Newtonsoft.Json.JsonProperty("freightOnValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CustomsClearanceDetailFreightOnValue? FreightOnValue { get; set; } + + [Newtonsoft.Json.JsonProperty("dutiesPayment", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Payment_1 DutiesPayment { get; set; } + + /// + /// Indicates the details about the dutiable packages. Maximum upto 999 commodities per shipment. + /// + [Newtonsoft.Json.JsonProperty("commodities", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public System.Collections.Generic.ICollection Commodities { get; set; } = new System.Collections.ObjectModel.Collection(); + + /// + /// Defaults to false. Only used for international Express requests to indicate if just documents are being shipped or not. A valude of DERIVED will cause the value to be determined by PMIS based on the specified commodities information<br>Example: false + /// + [Newtonsoft.Json.JsonProperty("isDocumentOnly", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsDocumentOnly { get; set; } + + [Newtonsoft.Json.JsonProperty("recipientCustomsId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public RecipientCustomsId RecipientCustomsId { get; set; } + + [Newtonsoft.Json.JsonProperty("customsOption", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CustomsOptionDetail CustomsOption { get; set; } + + /// + /// The descriptive data for the importer of Record for the shipment and their physical address, contact and account number information. + /// + [Newtonsoft.Json.JsonProperty("importerOfRecord", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Party_1 ImporterOfRecord { get; set; } + + /// + /// This is the locale for generated document.<br>Example: en_US<br><a onclick='loadDocReference("locales")'>click here to see Locales</a><br>Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response. + /// + [Newtonsoft.Json.JsonProperty("generatedDocumentLocale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string GeneratedDocumentLocale { get; set; } + + [Newtonsoft.Json.JsonProperty("exportDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ExportDetail ExportDetail { get; set; } + + /// + /// This is the total customs value. + /// + [Newtonsoft.Json.JsonProperty("totalCustomsValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Money TotalCustomsValue { get; set; } + + /// + /// Specify if the transacting parties are related. + /// + [Newtonsoft.Json.JsonProperty("partiesToTransactionAreRelated", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? PartiesToTransactionAreRelated { get; set; } + + [Newtonsoft.Json.JsonProperty("declarationStatementDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CustomsDeclarationStatementDetail DeclarationStatementDetail { get; set; } + + /// + /// Specify insurance charges if applicable. <br><i>Note: FedEx does not provide insurance of any kind.</i> + /// + [Newtonsoft.Json.JsonProperty("insuranceCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Money InsuranceCharge { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsClearanceDetailFreightOnValue.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsClearanceDetailFreightOnValue.cs new file mode 100644 index 0000000..f2e9fc6 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsClearanceDetailFreightOnValue.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CustomsClearanceDetailFreightOnValue + { + + [System.Runtime.Serialization.EnumMember(Value = @"CARRIER_RISK")] + CARRIER_RISK = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"OWN_RISK")] + OWN_RISK = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsDeclarationStatementDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsDeclarationStatementDetail.cs new file mode 100644 index 0000000..5492869 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsDeclarationStatementDetail.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies about the statements to be declared for Customs. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CustomsDeclarationStatementDetail + { + [Newtonsoft.Json.JsonProperty("usmcaLowValueStatementDetail", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public UsmcaLowValueStatementDetail UsmcaLowValueStatementDetail { get; set; } = new UsmcaLowValueStatementDetail(); + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsOptionDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsOptionDetail.cs new file mode 100644 index 0000000..25c02c1 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsOptionDetail.cs @@ -0,0 +1,32 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are customs Option Detail, type must be indicated for each occurrence. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CustomsOptionDetail + { + /// + /// Specify additional description about customs options. This is a required field when the Type is OTHER. + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// Specify the reason for a global return, as recognized by Customs. Valid values:<ul><li>COURTESY_RETURN_LABEL: Applicable for Outbound shipments.</li><li>EXHIBITION_TRADE_SHOW: For exhibition or trade-show, outbound and inbound.</li><li>FAULTY_ITEM: For faulty item being returned, inbound only.</li><li>FOLLOWING_REPAIR: For repaired or processed item being sent, outbound only.</li><li>FOR_REPAIR: For repair or processing, outbound and inbound.</li><li>ITEM_FOR_LOAN: For loan item, outbound and inbound.</li><li>OTHER: Other reason, outbound and inbound. This type requires a description.</li><li>REJECTED: For rejected merchandise being returned, inbound.</li><li>REPLACEMENT: For replacement being sent, outbound only.</li><li>TRIAL: For use in a trial, outbound and inbound.</li></ul> + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CustomsOptionDetailType? Type { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsOptionDetailType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsOptionDetailType.cs new file mode 100644 index 0000000..6df7037 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/CustomsOptionDetailType.cs @@ -0,0 +1,38 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum CustomsOptionDetailType + { + + [System.Runtime.Serialization.EnumMember(Value = @"COURTESY_RETURN_LABEL")] + COURTESY_RETURN_LABEL = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"EXHIBITION_TRADE_SHOW")] + EXHIBITION_TRADE_SHOW = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"FAULTY_ITEM")] + FAULTY_ITEM = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"FOLLOWING_REPAIR")] + FOLLOWING_REPAIR = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"FOR_REPAIR")] + FOR_REPAIR = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"ITEM_FOR_LOAN")] + ITEM_FOR_LOAN = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] + OTHER = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"REJECTED")] + REJECTED = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"REPLACEMENT")] + REPLACEMENT = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"TRIAL")] + TRIAL = 9, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Customs_Money.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Customs_Money.cs new file mode 100644 index 0000000..1975f8a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Customs_Money.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This customs value is applicable for all items(or units) under the specified commodity. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Customs_Money + { + /// + /// This is commodity value in amount used for Customs declaration.<br>Max limit: 11 digits before decimal.<br>Example: 1,55,6457.25 + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } + + /// + /// This is the currency code for the amount.<br>Example: USD<br><a onclick='loadDocReference("currencycodes")'>Click here to see Currency codes</a> + /// + [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Currency { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DangerousGoodsDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DangerousGoodsDetail.cs new file mode 100644 index 0000000..7056c71 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/DangerousGoodsDetail.cs @@ -0,0 +1,39 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Provide dangerous goods shipment details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DangerousGoodsDetail + { + /// + /// A Boolean value that, when True, specifies the mode of shipment transportation should be Cargo Aircraft for Dangerous Goods. Its default value is set as False.<br>Note: An identifier DGD-CAO is added in AWB for cargo aircraft shipments. + /// + [Newtonsoft.Json.JsonProperty("cargoAircraftOnly", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? CargoAircraftOnly { get; set; } + + /// + /// Specify Dangerous Goods Accessibility Type. <ul><li>Inaccessible &ndash; it does not have to be accessable on the aircraft.</li><li>Accessible &ndash; it must be fully accessible on the aircraft, and is more strictly controlled.</li></ul><i>Note: Accessibility is only required for IATA controlled DG shipments. It is not required for ADR regulated DG shipments.</i> + /// + [Newtonsoft.Json.JsonProperty("accessibility", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public DangerousGoodsDetailAccessibility Accessibility { get; set; } + + /// + /// Indicate type of DG being reported.<br> - SMALL_QUANTITY_EXCEPTION : It is applicable for only One Piece shipment. + /// + [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection Options { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DangerousGoodsDetailAccessibility.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DangerousGoodsDetailAccessibility.cs new file mode 100644 index 0000000..d7c9d07 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/DangerousGoodsDetailAccessibility.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum DangerousGoodsDetailAccessibility + { + + [System.Runtime.Serialization.EnumMember(Value = @"ACCESSIBLE")] + ACCESSIBLE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"INACCESSIBLE")] + INACCESSIBLE = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DeliveryOnInvoiceAcceptanceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DeliveryOnInvoiceAcceptanceDetail.cs new file mode 100644 index 0000000..e2712b2 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/DeliveryOnInvoiceAcceptanceDetail.cs @@ -0,0 +1,15 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicate the Delivery On Invoice Acceptance detail. Recipient is required for Delivery On Invoice Special service. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DeliveryOnInvoiceAcceptanceDetail + { + /// + /// The descriptive data for the recipient of the shipment and the physical location for the shipment destination. + /// + [Newtonsoft.Json.JsonProperty("recipient", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Recipient Recipient { get; set; } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DestinationControlDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DestinationControlDetail.cs new file mode 100644 index 0000000..90cb9ac --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/DestinationControlDetail.cs @@ -0,0 +1,39 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Use this object to specify the appropriate destination control statement type(s). Also make sure to specify destination country and end user. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DestinationControlDetail + { + /// + /// Specify End User name. Its is required if StatementTypes is entered as DEPARTMENT_OF_STATE. <br>Example: John Wick + /// + [Newtonsoft.Json.JsonProperty("endUser", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EndUser { get; set; } + + /// + /// Specify appropriate destination control statement type(s), Also make sure to specify destination country and end user. + /// + [Newtonsoft.Json.JsonProperty("statementTypes", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public DestinationControlDetailStatementTypes StatementTypes { get; set; } + + /// + /// Specify DCS shipment destination country. You may enter up to four country codes in this element. Up to 11 alphanumeric characters are allowed.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> + /// + [Newtonsoft.Json.JsonProperty("destinationCountries", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection DestinationCountries { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DestinationControlDetailStatementTypes.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DestinationControlDetailStatementTypes.cs new file mode 100644 index 0000000..61821b9 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/DestinationControlDetailStatementTypes.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum DestinationControlDetailStatementTypes + { + + [System.Runtime.Serialization.EnumMember(Value = @"DEPARTMENT_OF_COMMERCE")] + DEPARTMENT_OF_COMMERCE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"DEPARTMENT_OF_STATE")] + DEPARTMENT_OF_STATE = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Dimensions.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Dimensions.cs new file mode 100644 index 0000000..adf3a1d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Dimensions.cs @@ -0,0 +1,35 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicate the dimensions of the package.<br> Following conditions will apply: <ul><li>Dimensions are optional but when added, then all three dimensions must be indicated.</li><li>Dimensions are required with YOUR_PACKAGING package type.</li></ul>Note: The maximum/minimum dimension values varies based on the services and the packaging types. Refer <a href="https://www.fedex.com/en-us/service-guide.html" target="_blank">FedEx Service Guide</a> for service details related to DIM Weighting for FedEx Express and oversize conditions for FedEx Express and FedEx Ground. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Dimensions + { + /// + /// Indicate the length of the package. No implied decimal places. Maximum value: 999 <br> Example: 20 + /// + [Newtonsoft.Json.JsonProperty("length", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Length { get; set; } + + /// + /// Indicate the width of the package. No implied decimal places. Maximum value: 999 <br> Example: 10 + /// + [Newtonsoft.Json.JsonProperty("width", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Width { get; set; } + + /// + /// Indicate the height of the package. No implied decimal places. Maximum value: 999 <br> Example: 10 + /// + [Newtonsoft.Json.JsonProperty("height", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Height { get; set; } + + /// + /// Indicate the Unit of measure for the provided dimensions.<br>Valid Values are:<li>IN - inches</li><li>CM - centimeters</li>Note: Any value other than CM including blank/null will default to IN. + /// + [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public DimensionsUnits? Units { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DimensionsUnits.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DimensionsUnits.cs new file mode 100644 index 0000000..e6343b6 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/DimensionsUnits.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum DimensionsUnits + { + + [System.Runtime.Serialization.EnumMember(Value = @"CM")] + CM = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"IN")] + IN = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContent.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContent.cs new file mode 100644 index 0000000..84db03a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContent.cs @@ -0,0 +1,32 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies details of doc tab content.It is only applicable only with imageType as ZPLII. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DocTabContent + { + /// + /// Indicates the content type of the doc tab. + /// + [Newtonsoft.Json.JsonProperty("docTabContentType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public DocTabContentType? DocTabContentType { get; set; } + + [Newtonsoft.Json.JsonProperty("zone001", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DocTabContentZone001 Zone001 { get; set; } + + [Newtonsoft.Json.JsonProperty("barcoded", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DocTabContentBarcoded Barcoded { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentBarcoded.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentBarcoded.cs new file mode 100644 index 0000000..bb3f8ea --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentBarcoded.cs @@ -0,0 +1,29 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// It is a doc tab content type which is in barcoded format. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DocTabContentBarcoded + { + /// + /// Indicates the type of barcode symbology used on FedEx documents and labels. + /// + [Newtonsoft.Json.JsonProperty("symbology", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public DocTabContentBarcodedSymbology? Symbology { get; set; } + + [Newtonsoft.Json.JsonProperty("specification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DocTabZoneSpecification Specification { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentBarcodedSymbology.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentBarcodedSymbology.cs new file mode 100644 index 0000000..7da61ed --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentBarcodedSymbology.cs @@ -0,0 +1,47 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum DocTabContentBarcodedSymbology + { + + [System.Runtime.Serialization.EnumMember(Value = @"CODABAR")] + CODABAR = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"CODE128")] + CODE128 = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"CODE128_WIDEBAR")] + CODE128_WIDEBAR = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"CODE128B")] + CODE128B = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"CODE128C")] + CODE128C = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"CODE39")] + CODE39 = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"CODE93")] + CODE93 = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"I2OF5")] + I2OF5 = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"MANUAL")] + MANUAL = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"PDF417")] + PDF417 = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"POSTNET")] + POSTNET = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"QR_CODE")] + QR_CODE = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"UCC128")] + UCC128 = 12, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentType.cs new file mode 100644 index 0000000..a20cad0 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentType.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum DocTabContentType + { + + [System.Runtime.Serialization.EnumMember(Value = @"BARCODED")] + BARCODED = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM")] + CUSTOM = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"MINIMUM")] + MINIMUM = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"STANDARD")] + STANDARD = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"ZONE001")] + ZONE001 = 4, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentZone001.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentZone001.cs new file mode 100644 index 0000000..92cb83f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabContentZone001.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicate the doc tab specification for different zones on the label. The specification includes zone number, header and data field to be displayed on the label. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DocTabContentZone001 + { + /// + /// Indicate the doc tab specifications for the individual doc tab zone on the label. + /// + [Newtonsoft.Json.JsonProperty("docTabZoneSpecifications", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection DocTabZoneSpecifications { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabZoneSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabZoneSpecification.cs new file mode 100644 index 0000000..fee1f4d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabZoneSpecification.cs @@ -0,0 +1,50 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicates the doc tab zone specification. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DocTabZoneSpecification + { + /// + /// It is a non-negative integer that represents the portion of doc-tab in a label.<br>Example: 1 + /// + [Newtonsoft.Json.JsonProperty("zoneNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? ZoneNumber { get; set; } + + /// + /// Indicates the parameter name in the header for the doc tab zone. The maximum charater limit is 7.<br>Example: WHT + /// + [Newtonsoft.Json.JsonProperty("header", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Header { get; set; } + + /// + /// Indicate the path request/reply element to be printed on doc tab.<br>Example: <ul><li> REQUEST/PACKAGE/weight/Value</li><li> REQUEST/PACKAGE/weight/Value</li><li> REQUEST/PACKAGE/InsuredValue/Amount</li><li> REQUEST/SHIPMENT/SpecialServicesRequested/CodDetail/CodCollectionAmount/Amount</li><li>REQUEST/SHIPMENT/Shipper/Address/StreetLines[1]CLIENT/MeterNumber</li><li> TRANSACTION/CustomerTransactionId</li><li> REQUEST/SHIPMENT/TotalWeight/Value</li><li> REQUEST/SHIPMENT/ShipTimestamp</li><li> REQUEST/SHIPMENT/Recipient/Contact/PersonName</li><li> REPLY/SHIPMENT/OperationalDetail/DeliveryDate</li><li> REPLY/SHIPMENT/RATES/ACTUAL/totalBaseCharge/Amount</li><li> REPLY/SHIPMENT/RATES/ACTUAL/totalFreightDiscounts/Amount</li><li> REPLY/SHIPMENT/RATES/ACTUAL/totalSurcharges/Amount</li><li> REPLY/SHIPMENT/RATES/ACTUAL/totalNetCharge/Amount</li><li> REPLY/SHIPMENT/RATES/PAYOR_ACCOUNT_PACKAGE/totalSurcharges/Amount</li></ul> + /// + [Newtonsoft.Json.JsonProperty("dataField", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DataField { get; set; } + + /// + /// Indicates the actual data to be printed in the label<br> + /// + [Newtonsoft.Json.JsonProperty("literalValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LiteralValue { get; set; } + + /// + /// Indicates the justification format for the string. + /// + [Newtonsoft.Json.JsonProperty("justification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public DocTabZoneSpecificationJustification? Justification { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabZoneSpecificationJustification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabZoneSpecificationJustification.cs new file mode 100644 index 0000000..2293110 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocTabZoneSpecificationJustification.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum DocTabZoneSpecificationJustification + { + + [System.Runtime.Serialization.EnumMember(Value = @"LEFT")] + LEFT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"RIGHT")] + RIGHT = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentFormatOptionsRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentFormatOptionsRequested.cs new file mode 100644 index 0000000..a608387 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentFormatOptionsRequested.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicate the requested options for document format. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DocumentFormatOptionsRequested + { + /// + /// Indicates the format options. SUPPRESS_ADDITIONAL_LANGUAGES value will suppress English language if another language is specified in the language code field. + /// + [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection Options { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentGenerationDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentGenerationDetail.cs new file mode 100644 index 0000000..2180c75 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentGenerationDetail.cs @@ -0,0 +1,43 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicates the document generation detail information. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DocumentGenerationDetail + { + /// + /// Indicates the letterhead requirement type.<br>Example: OPTIONAL + /// + [Newtonsoft.Json.JsonProperty("letterhead", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Letterhead { get; set; } + + /// + /// Indicates electronic signature requirement type.<br>Example: OPTIONAL + /// + [Newtonsoft.Json.JsonProperty("electronicSignature", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ElectronicSignature { get; set; } + + /// + /// It is a non-Negative Integer.<br>Example: 3 + /// + [Newtonsoft.Json.JsonProperty("minimumCopiesRequired", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? MinimumCopiesRequired { get; set; } + + /// + /// It is an Enterprise Document Type.<br>Example: COMMERCIAL_INVOICE + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentRequirementsDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentRequirementsDetail.cs new file mode 100644 index 0000000..ba556d1 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/DocumentRequirementsDetail.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicates the document requirements detail. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DocumentRequirementsDetail + { + /// + /// Indicates the required documents information.<br>Example: ["COMMERCIAL_OR_PRO_FORMA_INVOICE","AIR_WAYBILL"] + /// + [Newtonsoft.Json.JsonProperty("requiredDocuments", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection RequiredDocuments { get; set; } + + /// + /// Indicates the prohibited Documents info.<br>Example: ["CERTIFICATE_OF_ORIGIN "] + /// + [Newtonsoft.Json.JsonProperty("prohibitedDocuments", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection ProhibitedDocuments { get; set; } + + /// + /// Specifies the generation details. + /// + [Newtonsoft.Json.JsonProperty("generationDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection GenerationDetails { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ETDDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ETDDetail.cs new file mode 100644 index 0000000..cacbf43 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ETDDetail.cs @@ -0,0 +1,28 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Use this object to specify all information on how the electronic Trade document references used with the shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ETDDetail + { + /// + /// Specifies the Post Document Upload <br> Example: POST_SHIPMENT_UPLOAD_REQUESTED + /// + [Newtonsoft.Json.JsonProperty("attributes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection Attributes { get; set; } + + /// + /// Use this object to specify the details regarding already uploded document(s). This object is required if the documents are uploaded Pre-Shipment uploaded documents. It is recommended to provide values for all elements under this object. + /// + [Newtonsoft.Json.JsonProperty("attachedDocuments", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection AttachedDocuments { get; set; } + + /// + /// Indicates the types of shipping documents requested by the shipper.<br>Example: CERTIFICATE_OF_ORIGIN, COMMERCIAL_INVOICE etc. + /// + [Newtonsoft.Json.JsonProperty("requestedDocumentTypes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection RequestedDocumentTypes { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailLabelDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailLabelDetail.cs new file mode 100644 index 0000000..6397585 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailLabelDetail.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are specific information about the pending email label.<br>Required when PendingShipmentType is EMAIL.<br>Not applicable for CreateTag. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class EmailLabelDetail + { + /// + /// This is Email label recipient email address, shipment role, & language locale details. Atleast one entry must be specified. + /// + [Newtonsoft.Json.JsonProperty("recipients", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Recipients { get; set; } + + /// + /// Specifies an optional personalized message to be included in the email to the email label recipient.<br>Example: YOUR OPTIONAL MESSAGE + /// + [Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Message { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailOptionsRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailOptionsRequested.cs new file mode 100644 index 0000000..f14581b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailOptionsRequested.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are to indicate how the email notifications for the pending shipment to be processed. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class EmailOptionsRequested + { + /// + /// These are the processing options. + /// + [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection Options { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailOptionsRequestedOptions.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailOptionsRequestedOptions.cs new file mode 100644 index 0000000..239856e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailOptionsRequestedOptions.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum EmailOptionsRequestedOptions + { + + [System.Runtime.Serialization.EnumMember(Value = @"PRODUCE_PAPERLESS_SHIPPING_FORMAT")] + PRODUCE_PAPERLESS_SHIPPING_FORMAT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"SUPPRESS_ADDITIONAL_LANGUAGES")] + SUPPRESS_ADDITIONAL_LANGUAGES = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"SUPPRESS_ACCESS_EMAILS")] + SUPPRESS_ACCESS_EMAILS = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailRecipient.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailRecipient.cs new file mode 100644 index 0000000..88c3e02 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailRecipient.cs @@ -0,0 +1,43 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are the recipient details for the online email return label. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class EmailRecipient + { + /// + /// This is recipient email address for notifying the return label. Maximum length 200 characters.<br> Example: neenaaaaa@abc.com + /// + [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string EmailAddress { get; set; } + + [Newtonsoft.Json.JsonProperty("optionsRequested", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public EmailOptionsRequested OptionsRequested { get; set; } + + /// + /// Relationship that the emailRecipient has to the pending email return label shipments.<br> Valid Values: SHIPMENT_COMPLETOR,SHIPMENT_INITIATOR<br>Example: SHIPMENT_COMPLETOR + /// + [Newtonsoft.Json.JsonProperty("role", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public EmailRecipientRole Role { get; set; } + + /// + /// These are locale details.<br>Example: 'en_US'<br><a onclick='loadDocReference("locales")'>click here to see locales</a><br>Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response. + /// + [Newtonsoft.Json.JsonProperty("locale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Locale { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailRecipientRole.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailRecipientRole.cs new file mode 100644 index 0000000..573548d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/EmailRecipientRole.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum EmailRecipientRole + { + + [System.Runtime.Serialization.EnumMember(Value = @"SHIPMENT_COMPLETOR")] + SHIPMENT_COMPLETOR = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"SHIPMENT_INITIATOR")] + SHIPMENT_INITIATOR = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ExportDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ExportDetail.cs new file mode 100644 index 0000000..97fca83 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ExportDetail.cs @@ -0,0 +1,41 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are export Detail used for US or CA exports. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ExportDetail + { + [Newtonsoft.Json.JsonProperty("destinationControlDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DestinationControlDetail DestinationControlDetail { get; set; } + + /// + /// Specify the filing option being exercised. Required for non-document shipments originating in Canada destinated for any country other than Canada, the United States, Puerto Rico, or the U.S. Virgin Islands. + /// + [Newtonsoft.Json.JsonProperty("b13AFilingOption", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ExportDetailB13AFilingOption? B13AFilingOption { get; set; } + + /// + /// For US export shipments requiring an EEI, enter the ITN number received from AES when you filed your shipment or the FTR (Foreign Trade Regulations) exemption number.The proper format for an ITN number is AES XYYYYMMDDNNNNNN where YYYYMMDD is date and NNNNNN are numbers generated by the AES.<br> Example: AESX20220714987654<br>Note: The ITN or FTR exemption number you submit in the ship request prints on the international shipping label.<br><br>For CA export shipments,it can be Proof of report number(15-32 alphanumeric) , Summary proof of report number(7-32 alphanumeric) or Exemption number(2 digit) based on the selected b13AFilingOption.<br>Example: 98765432107654321(POR number), 7654321(Summary POR number) and 02(Exemption number). <br>For FTR exemption number you need provide a predefined value as NO_EEI_30_37_A. + /// + [Newtonsoft.Json.JsonProperty("exportComplianceStatement", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ExportComplianceStatement { get; set; } + + /// + /// This is a Permit Number. This field is applicable only to Canada export non-document shipments of any value to any destination. No special characters are allowed.<br> Example: 12345 + /// + [Newtonsoft.Json.JsonProperty("permitNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PermitNumber { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ExportDetailB13AFilingOption.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ExportDetailB13AFilingOption.cs new file mode 100644 index 0000000..3ccbb8d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ExportDetailB13AFilingOption.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ExportDetailB13AFilingOption + { + + [System.Runtime.Serialization.EnumMember(Value = @"NOT_REQUIRED")] + NOT_REQUIRED = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"MANUALLY_ATTACHED")] + MANUALLY_ATTACHED = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"FILED_ELECTRONICALLY")] + FILED_ELECTRONICALLY = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"SUMMARY_REPORTING")] + SUMMARY_REPORTING = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_TO_STAMP")] + FEDEX_TO_STAMP = 4, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ExpressFreightDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ExpressFreightDetail.cs new file mode 100644 index 0000000..18cd48f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ExpressFreightDetail.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicates the advance booking number, shipper load /count and packing list details. This details must be provided by the user during freight shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ExpressFreightDetail + { + /// + /// This is an advanced booking number that must be acquired through the appropriate channel in the shipment origin country. Without the booking number pickup and space allocation for the Express Freight shipment are not guaranteed. <br>Minimum length: 5 digits <br> Maximum length: 12 digits <br>Example: XXXX56789812 + /// + [Newtonsoft.Json.JsonProperty("bookingConfirmationNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string BookingConfirmationNumber { get; set; } + + /// + /// Indicates the content of a container were loaded and counted by the shipper.<br>Minimum length: 1 digits <br> Maximum length: 5 digits <br>Example: If a skid has 32 small boxes on it that are shrinkwrapped, the shippersLoadAndCount should be “32” + /// + [Newtonsoft.Json.JsonProperty("shippersLoadAndCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? ShippersLoadAndCount { get; set; } + + /// + /// This indicates whether or not the Packing List is enclosed with the shipment. A packing list is a document that includes details about the contents of a package. <br> Example: true + /// + [Newtonsoft.Json.JsonProperty("packingListEnclosed", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? PackingListEnclosed { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/FixedValue.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/FixedValue.cs new file mode 100644 index 0000000..d17fe6e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/FixedValue.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class FixedValue : Money + { + /// + /// fixed variable handling charge amount + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Always)] + public double Amount { get; set; } + + /// + /// fixed variable handling charge currency type<br><a onclick='loadDocReference("currencycodes")'>click here to see Currency codes</a> + /// + [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Currency { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/GeneralAgencyAgreementDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/GeneralAgencyAgreementDetail.cs new file mode 100644 index 0000000..13225ec --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/GeneralAgencyAgreementDetail.cs @@ -0,0 +1,22 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Use this object to specify details to generate general agency agreement detail. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class GeneralAgencyAgreementDetail + { + [Newtonsoft.Json.JsonProperty("documentFormat", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShippingDocumentFormat DocumentFormat { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityContent001.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityContent001.cs new file mode 100644 index 0000000..dec947f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityContent001.cs @@ -0,0 +1,34 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Customer-provided specifications for handling individual commodities. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HazardousCommodityContent001 + { + [Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public HazardousCommodityQuantityDetail Quantity { get; set; } + + /// + /// Specifies the inner receptacles within the container. + /// + [Newtonsoft.Json.JsonProperty("innerReceptacles", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection InnerReceptacles { get; set; } + + [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public HazardousCommodityOptionDetail01 Options { get; set; } + + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public HazardousCommodityDescription01 Description { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityDescription01.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityDescription01.cs new file mode 100644 index 0000000..2d2fa2f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityDescription01.cs @@ -0,0 +1,99 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Required<br>Details of hazardous commodity description. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HazardousCommodityDescription01 + { + /// + /// Required<br>Specify the sequence number.<br>Example: 9812 + /// + [Newtonsoft.Json.JsonProperty("sequenceNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? SequenceNumber { get; set; } + + /// + /// Indicates any special processing options to be applied to the description of the dangerous goods commodity <br> Example: ["INCLUDE_SPECIAL_PROVISIONS"] + /// + [Newtonsoft.Json.JsonProperty("processingOptions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection ProcessingOptions { get; set; } + + /// + /// Required + ///
+ ///
Indicates list of subsidiary classes<br>Example: ["Subsidiary Classes"] + ///
+ [Newtonsoft.Json.JsonProperty("subsidiaryClasses", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection SubsidiaryClasses { get; set; } + + /// + /// Specifies the text for the label. + /// + [Newtonsoft.Json.JsonProperty("labelText", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LabelText { get; set; } + + /// + /// Specifies the technical name for the hazardous material. + /// + [Newtonsoft.Json.JsonProperty("technicalName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TechnicalName { get; set; } + + [Newtonsoft.Json.JsonProperty("packingDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public HazardousCommodityPackingDetail01 PackingDetails { get; set; } + + /// + /// Information related to quantity limitations and operator or state variations as may be applicable to the dangerous goods commodity. + /// + [Newtonsoft.Json.JsonProperty("authorization", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Authorization { get; set; } + + /// + /// Reportable Quantity + /// + [Newtonsoft.Json.JsonProperty("reportableQuantity", Required = Newtonsoft.Json.Required.Always)] + public bool ReportableQuantity { get; set; } + + /// + /// Percentage<br>Example: 12.45 + /// + [Newtonsoft.Json.JsonProperty("percentage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Percentage { get; set; } + + /// + /// ID<br>Example: 123 + /// + [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Id { get; set; } + + /// + /// Identifies DOT packing group for a hazardous commodity + /// + [Newtonsoft.Json.JsonProperty("packingGroup", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public HazardousCommodityDescription01PackingGroup PackingGroup { get; set; } + + /// + /// The proper shipping name as defined by the regulation. The name can also include qualifying words<br>Example: properShippingName + /// + [Newtonsoft.Json.JsonProperty("properShippingName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ProperShippingName { get; set; } + + /// + /// Specifies the hazard class for the commodity<br>Example: hazard Class + ///
+ ///
+ [Newtonsoft.Json.JsonProperty("hazardClass", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string HazardClass { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityDescription01PackingGroup.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityDescription01PackingGroup.cs new file mode 100644 index 0000000..586aa55 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityDescription01PackingGroup.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum HazardousCommodityDescription01PackingGroup + { + + [System.Runtime.Serialization.EnumMember(Value = @"DEFAULT")] + DEFAULT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"I")] + I = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"II")] + II = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"III")] + III = 3, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityInnerReceptacleDetail01.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityInnerReceptacleDetail01.cs new file mode 100644 index 0000000..c6d50ec --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityInnerReceptacleDetail01.cs @@ -0,0 +1,19 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HazardousCommodityInnerReceptacleDetail01 + { + [Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public HazardousCommodityQuantityDetail002 Quantity { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityOptionDetail01.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityOptionDetail01.cs new file mode 100644 index 0000000..1449fac --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityOptionDetail01.cs @@ -0,0 +1,34 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicates details of hazardous commodity option detail. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HazardousCommodityOptionDetail01 + { + /// + /// Indicates the label text option. + /// + [Newtonsoft.Json.JsonProperty("labelTextOption", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public HazardousCommodityOptionDetail01LabelTextOption? LabelTextOption { get; set; } + + /// + /// 'DG Data Upload Mode:- Optional.,DG Full Validation Mode:- Optional,Text used in labeling the commodity under control of the LabelTextOption field<br>Example:Customer Supplied Label Text' + ///
+ ///
+ ///
+ [Newtonsoft.Json.JsonProperty("customerSuppliedLabelText", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CustomerSuppliedLabelText { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityOptionDetail01LabelTextOption.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityOptionDetail01LabelTextOption.cs new file mode 100644 index 0000000..4433dbb --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityOptionDetail01LabelTextOption.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum HazardousCommodityOptionDetail01LabelTextOption + { + + [System.Runtime.Serialization.EnumMember(Value = @"APPEND")] + APPEND = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"OVERRIDE")] + OVERRIDE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"STANDARD")] + STANDARD = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityPackingDetail01.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityPackingDetail01.cs new file mode 100644 index 0000000..36ed165 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityPackingDetail01.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies documentation and limits for validation of an individual packing group/category. DG Data Upload Mode: Required (IATA), Optional (Other), DG Full Validation Mode: Required (IATA), Optional (Other), + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HazardousCommodityPackingDetail01 + { + /// + /// Coded specification for how commodity is to be packed.<br>Example: packing Instructions + /// + [Newtonsoft.Json.JsonProperty("packingInstructions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PackingInstructions { get; set; } + + /// + /// A Boolean value that, when True, specifies the mode of shipment transportation should be Cargo Aircraft for Dangerous Goods. <br>Note: An identifier DGD-CAO is added in AWB for cargo aircraft shipments.Example: true + /// + [Newtonsoft.Json.JsonProperty("cargoAircraftOnly", Required = Newtonsoft.Json.Required.Always)] + public bool CargoAircraftOnly { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail.cs new file mode 100644 index 0000000..9e21dfc --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail.cs @@ -0,0 +1,39 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specify the Hazardous commodity quantity details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HazardousCommodityQuantityDetail + { + /// + /// Specifies which measure of quantity is to be validated.<br>Example:GROSS + /// + [Newtonsoft.Json.JsonProperty("quantityType", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public HazardousCommodityQuantityDetailQuantityType QuantityType { get; set; } + + /// + /// Indicate the amount of the commodity in alternate units.<br>Example: 24.56 + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Always)] + public double Amount { get; set; } + + /// + /// Indicate the unit of measure.<br>Example: KG + /// + [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Units { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail002.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail002.cs new file mode 100644 index 0000000..082b20b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail002.cs @@ -0,0 +1,39 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicates the Hazardous Commodity Quantity Detail. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HazardousCommodityQuantityDetail002 + { + /// + /// Specifies which measure of quantity is to be validated. + /// + [Newtonsoft.Json.JsonProperty("quantityType", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public HazardousCommodityQuantityDetail002QuantityType QuantityType { get; set; } + + /// + /// Number of units of the type below.<br>Example: 34.56 + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Always)] + public double Amount { get; set; } + + /// + /// Specifies the units.<br>Example: KG + /// + [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Units { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail002QuantityType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail002QuantityType.cs new file mode 100644 index 0000000..eccdbd2 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetail002QuantityType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum HazardousCommodityQuantityDetail002QuantityType + { + + [System.Runtime.Serialization.EnumMember(Value = @"GROSS")] + GROSS = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"NET")] + NET = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetailQuantityType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetailQuantityType.cs new file mode 100644 index 0000000..0af229a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/HazardousCommodityQuantityDetailQuantityType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum HazardousCommodityQuantityDetailQuantityType + { + + [System.Runtime.Serialization.EnumMember(Value = @"GROSS")] + GROSS = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"NET")] + NET = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HoldAtLocationDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HoldAtLocationDetail.cs new file mode 100644 index 0000000..dc2eb2b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/HoldAtLocationDetail.cs @@ -0,0 +1,36 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Use this object to specify required information for a shipment to be held at destination FedEx location.<br><i>Note: This object HoldAtLocationDetail is Required, when HOLD_AT_LOCATION is chosen in the specialServiceTypes.</i> + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HoldAtLocationDetail + { + /// + /// This is an alphanumeric identifier used for Location/Facility Identification.<br>Example: YBZA<br>Note: <ul><li>For HAL Shipment, Location ID is <b>REQUIRED</b> to ensure packages are delivered to the right location.</li><li>Use endpoint [<b>Find Location</b>] in [<b>Location Search API</b>], to find the correct location ID for your shipment.</li></ul> + /// + [Newtonsoft.Json.JsonProperty("locationId", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string LocationId { get; set; } + + [Newtonsoft.Json.JsonProperty("locationContactAndAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ContactAndAddress LocationContactAndAddress { get; set; } + + /// + /// Type of facility at which package/shipment is to be held.<br> Example: FEDEX_ONSITE + /// + [Newtonsoft.Json.JsonProperty("locationType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public HoldAtLocationDetailLocationType? LocationType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HoldAtLocationDetailLocationType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HoldAtLocationDetailLocationType.cs new file mode 100644 index 0000000..be4afb6 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/HoldAtLocationDetailLocationType.cs @@ -0,0 +1,29 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum HoldAtLocationDetailLocationType + { + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_AUTHORIZED_SHIP_CENTER")] + FEDEX_AUTHORIZED_SHIP_CENTER = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_OFFICE")] + FEDEX_OFFICE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_SELF_SERVICE_LOCATION")] + FEDEX_SELF_SERVICE_LOCATION = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_STAFFED")] + FEDEX_STAFFED = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"RETAIL_ALLICANCE_LOCATION")] + RETAIL_ALLICANCE_LOCATION = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_GROUND_TERMINAL")] + FEDEX_GROUND_TERMINAL = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_ONSITE")] + FEDEX_ONSITE = 6, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HomeDeliveryPremiumDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HomeDeliveryPremiumDetail.cs new file mode 100644 index 0000000..8a0e69c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/HomeDeliveryPremiumDetail.cs @@ -0,0 +1,35 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are Special service elements for FedEx Ground Home Delivery shipments. If selected, element homedeliveryPremiumType is mandatory. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HomeDeliveryPremiumDetail + { + [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PhoneNumber1 PhoneNumber { get; set; } + + /// + /// This is delivery date. Required for FedEx Date Certain Home Delivery. Valid dates are Monday to Sunday. <br>There may be a delay in delivery on Sundays to locations that are geographically difficult to access.<br>Example: 2019-06-26 + /// + [Newtonsoft.Json.JsonProperty("deliveryDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DeliveryDate { get; set; } + + /// + /// Home Delivery Premium Type. Allows the user to specify additional premimum service options for their home delivery shipment. Customer can specify Evening delivery or a Date certain, or can specify they would like to make an appointment for the delivery.<br>Example: APPOINTMENT + /// + [Newtonsoft.Json.JsonProperty("homedeliveryPremiumType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public HomeDeliveryPremiumDetailHomedeliveryPremiumType? HomedeliveryPremiumType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/HomeDeliveryPremiumDetailHomedeliveryPremiumType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/HomeDeliveryPremiumDetailHomedeliveryPremiumType.cs new file mode 100644 index 0000000..e93b0fc --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/HomeDeliveryPremiumDetailHomedeliveryPremiumType.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum HomeDeliveryPremiumDetailHomedeliveryPremiumType + { + + [System.Runtime.Serialization.EnumMember(Value = @"APPOINTMENT")] + APPOINTMENT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"DATE_CERTAIN")] + DATE_CERTAIN = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"EVENING")] + EVENING = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalControlledExportDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalControlledExportDetail.cs new file mode 100644 index 0000000..ee9dd20 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalControlledExportDetail.cs @@ -0,0 +1,51 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Use this object to specify International Controlled Export shipment Details.<br>Note: licenseOrPermitExpirationDate and licenseOrPermitNumber are not required when type is WAREHOUSE_WITHDRAWAL. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class InternationalControlledExportDetail + { + /// + /// Indicate the expiration date for the license or permit. The format is YYYY-MM-DD.<br>Example: "2019-12-03" + /// + [Newtonsoft.Json.JsonProperty("licenseOrPermitExpirationDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LicenseOrPermitExpirationDate { get; set; } + + /// + /// Indicate License Or Permit Number for the commodity being exported.<br>Example: 11 + /// + [Newtonsoft.Json.JsonProperty("licenseOrPermitNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LicenseOrPermitNumber { get; set; } + + /// + /// Indicate Entry Number for the export.<br>Example: 125 + /// + [Newtonsoft.Json.JsonProperty("entryNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EntryNumber { get; set; } + + /// + /// Indicate the Foreign Trade Zone Code.<br>Example: US + /// + [Newtonsoft.Json.JsonProperty("foreignTradeZoneCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ForeignTradeZoneCode { get; set; } + + /// + /// International Controlled Export Type<br>Example: WAREHOUSE_WITHDRAWAL + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public InternationalControlledExportDetailType Type { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalControlledExportDetailType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalControlledExportDetailType.cs new file mode 100644 index 0000000..0bdeb20 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalControlledExportDetailType.cs @@ -0,0 +1,32 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum InternationalControlledExportDetailType + { + + [System.Runtime.Serialization.EnumMember(Value = @"DEA_036")] + DEA_036 = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"DEA_236")] + DEA_236 = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"DSP_05")] + DSP_05 = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"DSP_61")] + DSP_61 = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"DSP_73")] + DSP_73 = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"DSP_85")] + DSP_85 = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"DSP_LICENSE_AGREEMENT")] + DSP_LICENSE_AGREEMENT = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"WAREHOUSE_WITHDRAWAL")] + WAREHOUSE_WITHDRAWAL = 7, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalTrafficInArmsRegulationsDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalTrafficInArmsRegulationsDetail.cs new file mode 100644 index 0000000..77907e0 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/InternationalTrafficInArmsRegulationsDetail.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are International Traffic In Arms Regulations shipment service details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class InternationalTrafficInArmsRegulationsDetail + { + /// + /// The export or license number for the ITAR shipment.<br>Minimum length is 5 characters.<br>Maximum length is 21 characters.<br>Example: 9871234 + /// + [Newtonsoft.Json.JsonProperty("licenseOrExemptionNumber", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string LicenseOrExemptionNumber { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/JustContactAndAddress.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/JustContactAndAddress.cs new file mode 100644 index 0000000..0d6cbe1 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/JustContactAndAddress.cs @@ -0,0 +1,22 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class JustContactAndAddress + { + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Address Address { get; set; } + + [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Contact Contact { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LABELRESPONSEOPTIONS.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LABELRESPONSEOPTIONS.cs new file mode 100644 index 0000000..7d215e0 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/LABELRESPONSEOPTIONS.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// LabelResponseOptions specifies the label generation format.<br>Example:URL_ONLY + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum LABELRESPONSEOPTIONS + { + + [System.Runtime.Serialization.EnumMember(Value = @"URL_ONLY")] + URL_ONLY = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"LABEL")] + LABEL = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelResponseVO.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelResponseVO.cs new file mode 100644 index 0000000..a638eac --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelResponseVO.cs @@ -0,0 +1,68 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are shipping document/label specific information. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class LabelResponseVO + { + /// + /// This is the content key of the document/label.<br>Example: content key + /// + [Newtonsoft.Json.JsonProperty("contentKey", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ContentKey { get; set; } + + /// + /// These are the number of copies to print for the specific document type.<br>Example: 10 + /// + [Newtonsoft.Json.JsonProperty("copiesToPrint", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CopiesToPrint { get; set; } + + /// + /// Indicates the type of document/label. + /// + [Newtonsoft.Json.JsonProperty("contentType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public LabelResponseVOContentType? ContentType { get; set; } + + /// + /// This is the tracking number of the package. <br>Example: 49XXX0000XXX20032835<br> + /// + [Newtonsoft.Json.JsonProperty("trackingNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TrackingNumber { get; set; } + + /// + /// This is the document type.<br>Example: PDF + /// + [Newtonsoft.Json.JsonProperty("docType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DocType { get; set; } + + /// + /// These are alerts received in the label response. + /// + [Newtonsoft.Json.JsonProperty("alerts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Alerts { get; set; } + + /// + /// Specifies if the document is encoded.<br>Example: encoded label + /// + [Newtonsoft.Json.JsonProperty("encodedLabel", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EncodedLabel { get; set; } + + /// + /// The URL of the shipping document/label<br>Example: https://.../document/v2/document/retrieve/SH,794816968200_Merge/isLabel=true&autoPrint=false<br><i>Note: The URL once created will be active for 24 hours.</i> + /// + [Newtonsoft.Json.JsonProperty("url", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelResponseVOContentType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelResponseVOContentType.cs new file mode 100644 index 0000000..485379d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelResponseVOContentType.cs @@ -0,0 +1,56 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum LabelResponseVOContentType + { + + [System.Runtime.Serialization.EnumMember(Value = @"LABEL")] + LABEL = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"BILL_OF_LADING")] + BILL_OF_LADING = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"GAA_FORM")] + GAA_FORM = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"HAZMAT_LABEL")] + HAZMAT_LABEL = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"END_OF_DAY_HAZMAT_REPORT")] + END_OF_DAY_HAZMAT_REPORT = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"MANIFEST_REPORT")] + MANIFEST_REPORT = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"MULTIWEIGHT_REPORT")] + MULTIWEIGHT_REPORT = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"MERGED_LABEL_DOCUMENTS")] + MERGED_LABEL_DOCUMENTS = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"AUXILIARY")] + AUXILIARY = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"RETURN_INSTRUCTIONS")] + RETURN_INSTRUCTIONS = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"ACCEPTANCE_LABEL")] + ACCEPTANCE_LABEL = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_INVOICE")] + COMMERCIAL_INVOICE = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"PROFORMA_INVOICE")] + PROFORMA_INVOICE = 12, + + [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN")] + USMCA_CERTIFICATION_OF_ORIGIN = 13, + + [System.Runtime.Serialization.EnumMember(Value = @"CERTIFICATE_OF_ORIGIN")] + CERTIFICATE_OF_ORIGIN = 14, + + [System.Runtime.Serialization.EnumMember(Value = @"MERGED_LABELS_ONLY")] + MERGED_LABELS_ONLY = 15, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecification.cs new file mode 100644 index 0000000..4875d32 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecification.cs @@ -0,0 +1,81 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are label specification details includes the image type, printer format, and label stock for label. Can also specify specific details such as doc-tab content, regulatory labels, and masking data on the label. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class LabelSpecification + { + /// + /// Specifies the label Format Type<br>Example: COMMON2D + /// + [Newtonsoft.Json.JsonProperty("labelFormatType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public LabelSpecificationLabelFormatType? LabelFormatType { get; set; } + + /// + /// This is the order of the Shipping label/documents to be generated. + /// + [Newtonsoft.Json.JsonProperty("labelOrder", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public LabelSpecificationLabelOrder? LabelOrder { get; set; } + + [Newtonsoft.Json.JsonProperty("customerSpecifiedDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CustomerSpecifiedLabelDetail CustomerSpecifiedDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("printedLabelOrigin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ContactAndAddress PrintedLabelOrigin { get; set; } + + /// + /// Label Stock Type.<br>Example: PAPER_7X475 + /// + [Newtonsoft.Json.JsonProperty("labelStockType", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public LabelSpecificationLabelStockType LabelStockType { get; set; } + + /// + /// This is applicable only to documents produced on thermal printers with roll stock. + /// + [Newtonsoft.Json.JsonProperty("labelRotation", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public LabelSpecificationLabelRotation? LabelRotation { get; set; } + + /// + /// Specifies the image type of this shipping document.<br>Example:PDF + /// + [Newtonsoft.Json.JsonProperty("imageType", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public LabelSpecificationImageType ImageType { get; set; } + + /// + /// This is applicable only to documents produced on thermal printers with roll stock. + /// + [Newtonsoft.Json.JsonProperty("labelPrintingOrientation", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public LabelSpecificationLabelPrintingOrientation? LabelPrintingOrientation { get; set; } + + /// + /// Specifies a particular way in which a kind of shipping document is to be produced and provided<br>Example:RETURNED + /// + [Newtonsoft.Json.JsonProperty("returnedDispositionDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ReturnedDispositionDetail { get; set; } + + /// + /// Specifies the image resolution in DPI (Dots Per Inch). Valid values are 203 & 300. If not provided or for any other value, system will default it to 203.Note: 300 DPI resolution is only allowed for ZPLII image type. + /// + [Newtonsoft.Json.JsonProperty("resolution", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Resolution { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationImageType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationImageType.cs new file mode 100644 index 0000000..97d69ba --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationImageType.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum LabelSpecificationImageType + { + + [System.Runtime.Serialization.EnumMember(Value = @"ZPLII")] + ZPLII = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"EPL2")] + EPL2 = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"PDF")] + PDF = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"PNG")] + PNG = 3, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelFormatType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelFormatType.cs new file mode 100644 index 0000000..059cafb --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelFormatType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum LabelSpecificationLabelFormatType + { + + [System.Runtime.Serialization.EnumMember(Value = @"COMMON2D")] + COMMON2D = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"LABEL_DATA_ONLY")] + LABEL_DATA_ONLY = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelOrder.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelOrder.cs new file mode 100644 index 0000000..86bc90a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelOrder.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum LabelSpecificationLabelOrder + { + + [System.Runtime.Serialization.EnumMember(Value = @"SHIPPING_LABEL_FIRST")] + SHIPPING_LABEL_FIRST = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"SHIPPING_LABEL_LAST")] + SHIPPING_LABEL_LAST = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelPrintingOrientation.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelPrintingOrientation.cs new file mode 100644 index 0000000..8ce5533 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelPrintingOrientation.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum LabelSpecificationLabelPrintingOrientation + { + + [System.Runtime.Serialization.EnumMember(Value = @"BOTTOM_EDGE_OF_TEXT_FIRST")] + BOTTOM_EDGE_OF_TEXT_FIRST = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"TOP_EDGE_OF_TEXT_FIRST")] + TOP_EDGE_OF_TEXT_FIRST = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelRotation.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelRotation.cs new file mode 100644 index 0000000..c77f708 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelRotation.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum LabelSpecificationLabelRotation + { + + [System.Runtime.Serialization.EnumMember(Value = @"LEFT")] + LEFT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"RIGHT")] + RIGHT = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"UPSIDE_DOWN")] + UPSIDE_DOWN = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"NONE")] + NONE = 3, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelStockType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelStockType.cs new file mode 100644 index 0000000..16dd770 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/LabelSpecificationLabelStockType.cs @@ -0,0 +1,59 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum LabelSpecificationLabelStockType + { + + [System.Runtime.Serialization.EnumMember(Value = @"PAPER_4X6")] + PAPER_4X6 = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"PAPER_4X675")] + PAPER_4X675 = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"PAPER_4X8")] + PAPER_4X8 = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"PAPER_4X9")] + PAPER_4X9 = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"PAPER_7X475")] + PAPER_7X475 = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"PAPER_85X11_BOTTOM_HALF_LABEL")] + PAPER_85X11_BOTTOM_HALF_LABEL = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"PAPER_85X11_TOP_HALF_LABEL")] + PAPER_85X11_TOP_HALF_LABEL = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"PAPER_LETTER")] + PAPER_LETTER = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X675_LEADING_DOC_TAB")] + STOCK_4X675_LEADING_DOC_TAB = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X8")] + STOCK_4X8 = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X9_LEADING_DOC_TAB")] + STOCK_4X9_LEADING_DOC_TAB = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X6")] + STOCK_4X6 = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X675_TRAILING_DOC_TAB")] + STOCK_4X675_TRAILING_DOC_TAB = 12, + + [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X9_TRAILING_DOC_TAB")] + STOCK_4X9_TRAILING_DOC_TAB = 13, + + [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X9")] + STOCK_4X9 = 14, + + [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X85_TRAILING_DOC_TAB")] + STOCK_4X85_TRAILING_DOC_TAB = 15, + + [System.Runtime.Serialization.EnumMember(Value = @"STOCK_4X105_TRAILING_DOC_TAB")] + STOCK_4X105_TRAILING_DOC_TAB = 16, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/LicenseOrPermitDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/LicenseOrPermitDetail.cs new file mode 100644 index 0000000..87e7662 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/LicenseOrPermitDetail.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This contains the ADR license information, which identifies the license number, the effective date and the expiration date under which the customer is allowed to ship. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class LicenseOrPermitDetail + { + /// + /// Specifies license or permit detail number.<br>Example: 12345 + /// + [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Number { get; set; } + + /// + /// Specifies the effective date of the license.<br>The format is [YYYY-MM-DD].<br>Example: 2019-08-09 + /// + [Newtonsoft.Json.JsonProperty("effectiveDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EffectiveDate { get; set; } + + /// + /// Specifies the expiration date of the license.<br>The format is [YYYY-MM-DD].<br>Example: 2019-04-09 + /// + [Newtonsoft.Json.JsonProperty("expirationDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ExpirationDate { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/MaskedData.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/MaskedData.cs new file mode 100644 index 0000000..27cf27c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/MaskedData.cs @@ -0,0 +1,35 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum MaskedData + { + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMS_VALUE")] + CUSTOMS_VALUE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"DIMENSIONS")] + DIMENSIONS = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"DUTIES_AND_TAXES_PAYOR_ACCOUNT_NUMBER")] + DUTIES_AND_TAXES_PAYOR_ACCOUNT_NUMBER = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"INSURED_VALUE")] + INSURED_VALUE = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"SECONDARY_BARCODE")] + SECONDARY_BARCODE = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"SHIPPER_INFORMATION")] + SHIPPER_INFORMATION = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"TERMS_AND_CONDITIONS")] + TERMS_AND_CONDITIONS = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_WEIGHT")] + TOTAL_WEIGHT = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"TRANSPORTATION_CHARGES_PAYOR_ACCOUNT_NUMBER")] + TRANSPORTATION_CHARGES_PAYOR_ACCOUNT_NUMBER = 8, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/MasterTrackingId.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/MasterTrackingId.cs new file mode 100644 index 0000000..5819c7f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/MasterTrackingId.cs @@ -0,0 +1,43 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicates the tracking details of the package.Required for child shipments of an oneLabelAtATime shipments + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class MasterTrackingId + { + /// + /// This is FedEx tracking Identifier associated with the package.<br>Example: 8600 + /// + [Newtonsoft.Json.JsonProperty("formId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FormId { get; set; } + + /// + /// Specify the FedEx transportation type. <br>Example: EXPRESS + /// + [Newtonsoft.Json.JsonProperty("trackingIdType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TrackingIdType { get; set; } + + /// + /// Specify the USPS tracking Identifier associated with FedEx SmartPost shipment.<br>Example: 92 + /// + [Newtonsoft.Json.JsonProperty("uspsApplicationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string UspsApplicationId { get; set; } + + /// + /// This is the number associated with the package that is used to track it.For child shipment of an oneLabelAtATime shipments,this should be same as the masterTrackingNumber of the parent shipment. <br>Example: 49XXX0000XXX20032835 + /// + [Newtonsoft.Json.JsonProperty("trackingNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TrackingNumber { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Message.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Message.cs new file mode 100644 index 0000000..df32f50 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Message.cs @@ -0,0 +1,43 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies the advisory details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Message + { + /// + /// Specifies the message code for the tag created.<br>Example: code + /// + [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Code { get; set; } + + /// + /// Specifies the text message for the tag created.<br>Example: Text + /// + [Newtonsoft.Json.JsonProperty("text", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Text { get; set; } + + /// + /// Specifies the message parameters list. + /// + [Newtonsoft.Json.JsonProperty("parameters", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Parameters { get; set; } + + /// + /// Specifies the message ID and value.<br>Example: localizedText + /// + [Newtonsoft.Json.JsonProperty("localizedText", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LocalizedText { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/MessageParameter.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/MessageParameter.cs new file mode 100644 index 0000000..cc31cd8 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/MessageParameter.cs @@ -0,0 +1,28 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class MessageParameter + { + /// + /// Specifies the message parameter code.<br>Example: message ID + /// + [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Id { get; set; } + + /// + /// Specifies the message parameter value of the code.<br>Example: value + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Value { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Money.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Money.cs new file mode 100644 index 0000000..532ca42 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Money.cs @@ -0,0 +1,22 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This customs value is applicable for all items(or units) under the specified commodity + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Money + { + /// + /// This is the amount. Maximum limit is 5 digits before decimal.<br>Example: 12.45 + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Amount { get; set; } + + /// + /// This is the currency code for the amount.<br>Example: USD<br><a onclick='loadDocReference("currencycodes")'>Click here to see Currency codes</a> + /// + [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Currency { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/NetExplosiveDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/NetExplosiveDetail.cs new file mode 100644 index 0000000..e146194 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/NetExplosiveDetail.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies the total mass of the contained explosive substances, without the mass of any casings, bullets, shells, etc. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class NetExplosiveDetail + { + /// + /// Specifies amount.<br>Example: 10.0 + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } + + /// + /// Specifies net explosive units.<br>Example: units + /// + [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Units { get; set; } + + /// + /// Specifies net explosive classification type.<br>Example: NET_EXPLOSIVE_WEIGHT + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/NotificationEventType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/NotificationEventType.cs new file mode 100644 index 0000000..36b6613 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/NotificationEventType.cs @@ -0,0 +1,35 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum NotificationEventType + { + + [System.Runtime.Serialization.EnumMember(Value = @"ON_DELIVERY")] + ON_DELIVERY = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"ON_EXCEPTION")] + ON_EXCEPTION = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"ON_SHIPMENT")] + ON_SHIPMENT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"ON_TENDER")] + ON_TENDER = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"ON_ESTIMATED_DELIVERY")] + ON_ESTIMATED_DELIVERY = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"ON_PICKUP_DRIVER_ARRIVED")] + ON_PICKUP_DRIVER_ARRIVED = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"ON_PICKUP_DRIVER_ASSIGNED")] + ON_PICKUP_DRIVER_ASSIGNED = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"ON_PICKUP_DRIVER_DEPARTED")] + ON_PICKUP_DRIVER_DEPARTED = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"ON_PICKUP_DRIVER_EN_ROUTE")] + ON_PICKUP_DRIVER_EN_ROUTE = 8, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Op900Detail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Op900Detail.cs new file mode 100644 index 0000000..c3f4a16 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Op900Detail.cs @@ -0,0 +1,34 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Use this object to specify details to generate the OP-900 document for hazardous material packages. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Op900Detail + { + /// + /// Specify the use and identification of supplied images to be used on document. + /// + [Newtonsoft.Json.JsonProperty("customerImageUsages", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection CustomerImageUsages { get; set; } + + /// + /// Indicates the name to be printed as signature on the document instead of (or in addition to) a signature image.<br>Example: John Hill + /// + [Newtonsoft.Json.JsonProperty("signatureName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SignatureName { get; set; } + + [Newtonsoft.Json.JsonProperty("documentFormat", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShippingDocumentFormat DocumentFormat { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/OpenShipmentAction.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/OpenShipmentAction.cs new file mode 100644 index 0000000..034417c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/OpenShipmentAction.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicate shipment action for the Shipment. <ul><li>CONFIRM &ndash; used in case of shipment submission</li><li>TRANSFER &ndash; used in case of Email Label Shipment or Pending Shipment submission. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum OpenShipmentAction + { + + [System.Runtime.Serialization.EnumMember(Value = @"CONFIRM")] + CONFIRM = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFER")] + TRANSFER = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/OperationalInstructions.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/OperationalInstructions.cs new file mode 100644 index 0000000..29a0fed --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/OperationalInstructions.cs @@ -0,0 +1,28 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class OperationalInstructions + { + /// + /// Specifies the number of operational instructions returned for this shipment.<br>Example: 17 + /// + [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Number { get; set; } + + /// + /// This is an operational instruction printed or available on the shipping document.<br>Example: SECURED + /// + [Newtonsoft.Json.JsonProperty("content", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Content { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Options.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Options.cs new file mode 100644 index 0000000..f6a80af --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Options.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum Options + { + + [System.Runtime.Serialization.EnumMember(Value = @"ALLOW_MODIFICATIONS")] + ALLOW_MODIFICATIONS = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageBarcodes.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageBarcodes.cs new file mode 100644 index 0000000..13b2f9d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageBarcodes.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are package barcode details. Each instance of this data type represents the set of barcodes (of all types) which are associated with a specific package. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PackageBarcodes + { + /// + /// This is binary-style barcodes used for the package identification. + /// + [Newtonsoft.Json.JsonProperty("binaryBarcodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection BinaryBarcodes { get; set; } + + /// + /// This is string-style barcodes used for package identification. + /// + [Newtonsoft.Json.JsonProperty("stringBarcodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection StringBarcodes { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageCODDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageCODDetail.cs new file mode 100644 index 0000000..70c08cc --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageCODDetail.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are COD package details. For use with FedEx Ground services only; COD must be present in shipments special services. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PackageCODDetail + { + /// + /// Indicate the COD collection amount. + /// + [Newtonsoft.Json.JsonProperty("codCollectionAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Money CodCollectionAmount { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageOperationalDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageOperationalDetail.cs new file mode 100644 index 0000000..37cadf1 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageOperationalDetail.cs @@ -0,0 +1,34 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Package-level data required for labeling and/or movement. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PackageOperationalDetail + { + /// + /// Human-readable text for pre-January 2011 clients.<br>Example: astraHandlingText + /// + [Newtonsoft.Json.JsonProperty("astraHandlingText", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AstraHandlingText { get; set; } + + [Newtonsoft.Json.JsonProperty("barcodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PackageBarcodes Barcodes { get; set; } + + /// + /// These are operational instruction such as Ground Information printed on a given area of the label, one-dimensional barcode with only x-axis that contains the details of the shipment in encrypted form, COD Return operational instructions data such as COD amount, SECURED or UNSECURED. + /// + [Newtonsoft.Json.JsonProperty("operationalInstructions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection OperationalInstructions { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageRateDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageRateDetail.cs new file mode 100644 index 0000000..59aeebb --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageRateDetail.cs @@ -0,0 +1,100 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are package rate details, as calculated per a specific rate type. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PackageRateDetail + { + /// + /// Indicates the weight types used in calculating this rate, such as actual weight or dimensional weight.<br> Example: DIM + /// + [Newtonsoft.Json.JsonProperty("ratedWeightMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RatedWeightMethod { get; set; } + + /// + /// The sum of all freight discounts for this package.<br>Example: 44.55 + /// + [Newtonsoft.Json.JsonProperty("totalFreightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalFreightDiscounts { get; set; } + + /// + /// The sum of all taxes on this package.<br>Example: 3.45 + /// + [Newtonsoft.Json.JsonProperty("totalTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalTaxes { get; set; } + + /// + /// Indicates the minumum charge type. INTERNAL FEDEX USE ONLY.Example: minimumChargeType + /// + [Newtonsoft.Json.JsonProperty("minimumChargeType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string MinimumChargeType { get; set; } + + /// + /// The package transportation charge(prior to any discounts applied).<br>Example: 45.67 + /// + [Newtonsoft.Json.JsonProperty("baseCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? BaseCharge { get; set; } + + /// + /// Specifies total rebates on this package.<br>Example: 4.56 + /// + [Newtonsoft.Json.JsonProperty("totalRebates", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalRebates { get; set; } + + /// + /// This is the rate type used.<br>Example: PAYOR_RETAIL_PACKAGE + /// + [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RateType { get; set; } + + [Newtonsoft.Json.JsonProperty("billingWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Weight BillingWeight { get; set; } + + /// + /// This is the net freight charges. i.e. base charge minus total freight discounts for a package.<br>Example: 4.89 + /// + [Newtonsoft.Json.JsonProperty("netFreight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? NetFreight { get; set; } + + /// + /// These are all surcharges on this package.<br><a onclick='loadDocReference("surcharges")'>click here to see Surcharges</a> + /// + [Newtonsoft.Json.JsonProperty("surcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Surcharges { get; set; } + + /// + /// The sum of all surcharges on this package.<br>Example: 22.56 + /// + [Newtonsoft.Json.JsonProperty("totalSurcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalSurcharges { get; set; } + + /// + /// This is sum of net freight and total surcharges (not including totalTaxes) for this package.<br>Example: 12.56 + /// + [Newtonsoft.Json.JsonProperty("netFedExCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? NetFedExCharge { get; set; } + + /// + /// This is the sum of net freight, total surcharges and total taxes for a package.<br>Example: 121.56 + /// + [Newtonsoft.Json.JsonProperty("netCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? NetCharge { get; set; } + + /// + /// This is the currency code. <br>Example: USD<br><a onclick='loadDocReference("currencycodes")'>click here to see Currency codes</a> + /// + [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Currency { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageRating.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageRating.cs new file mode 100644 index 0000000..d71b866 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageRating.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This class groups together all package-level rate data for a single package (across all rate types) as part of the response to a shipping request, which groups shipment-level data together and groups package-level data by package. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PackageRating + { + /// + /// This is the difference between the list and account net charge.<br>Example: 0.0 + /// + [Newtonsoft.Json.JsonProperty("effectiveNetDiscount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? EffectiveNetDiscount { get; set; } + + /// + /// This is the actual rate type. It identifies which entry in the following array is considered as presenting the actual rates for the package.<br>Example: PAYOR_ACCOUNT_PACKAGE + /// + [Newtonsoft.Json.JsonProperty("actualRateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ActualRateType { get; set; } + + /// + /// Data for a package's rates, as calculated per a specific rate type. + /// + [Newtonsoft.Json.JsonProperty("packageRateDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection PackageRateDetails { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageSpecialServicesRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageSpecialServicesRequested.cs new file mode 100644 index 0000000..d6100bd --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageSpecialServicesRequested.cs @@ -0,0 +1,68 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are special services that are available at the package level for some or all service types. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PackageSpecialServicesRequested + { + /// + /// The list of all special services requested for the package.<br><a href="/developer-portal/en-us/reference-guide.html#packagespecialservicetypes" target="_blank">Click here to see Package Special Service Types</a><br>Example:ALCOHOL + /// + [Newtonsoft.Json.JsonProperty("specialServiceTypes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection SpecialServiceTypes { get; set; } + + /// + /// Signature Option Type<br/>ADULT - Adult signature required, at recipient''s address.<br/>DIRECT - Signature required, at recipient''s address.<br>INDIRECT - Signature required, alternate address is accepted.<br/>NO_SIGNATURE_REQUIRED - Signature is not required.<br/>SERVICE_DEFAULT - Signature handled as per current Service Guide.<br>Example:ADULT + /// + [Newtonsoft.Json.JsonProperty("signatureOptionType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public PackageSpecialServicesRequestedSignatureOptionType? SignatureOptionType { get; set; } + + [Newtonsoft.Json.JsonProperty("priorityAlertDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PriorityAlertDetail PriorityAlertDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("signatureOptionDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public SignatureOptionDetail SignatureOptionDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("alcoholDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public AlcoholDetail AlcoholDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("dangerousGoodsDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DangerousGoodsDetail DangerousGoodsDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("packageCODDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PackageCODDetail PackageCODDetail { get; set; } + + /// + /// Provide the pieceCount or VerificationBoxCount for batteries or cells that are contained within this specific package.<br>Example:1 + /// + [Newtonsoft.Json.JsonProperty("pieceCountVerificationBoxCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? PieceCountVerificationBoxCount { get; set; } + + /// + /// Provide details about the batteries or cells that are contained within this specific package. + /// + [Newtonsoft.Json.JsonProperty("batteryDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection BatteryDetails { get; set; } + + [Newtonsoft.Json.JsonProperty("dryIceWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Weight_3 DryIceWeight { get; set; } + + /// + /// Provide details about the batteries or cells that are contained within this specific package. + /// + [Newtonsoft.Json.JsonProperty("standaloneBatteryDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection StandaloneBatteryDetails { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageSpecialServicesRequestedSignatureOptionType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageSpecialServicesRequestedSignatureOptionType.cs new file mode 100644 index 0000000..df70a3f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PackageSpecialServicesRequestedSignatureOptionType.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum PackageSpecialServicesRequestedSignatureOptionType + { + + [System.Runtime.Serialization.EnumMember(Value = @"SERVICE_DEFAULT")] + SERVICE_DEFAULT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"NO_SIGNATURE_REQUIRED")] + NO_SIGNATURE_REQUIRED = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"INDIRECT")] + INDIRECT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"DIRECT")] + DIRECT = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"ADULT")] + ADULT = 4, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAccountNumber.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAccountNumber.cs new file mode 100644 index 0000000..fb6c1c3 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAccountNumber.cs @@ -0,0 +1,16 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This is FedEx Account number details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PartyAccountNumber + { + /// + /// Conditional.<br> The account number value.<br> Max Length is 9.<br>Example: 12XXXXX89 + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Value { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress.cs new file mode 100644 index 0000000..e5774be --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress.cs @@ -0,0 +1,50 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This is detailed information on physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the US). + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PartyAddress + { + /// + /// Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included. Max Length is 35.<br>Example: [1550 Union Blvd,Suite 302] + /// + [Newtonsoft.Json.JsonProperty("streetLines", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public System.Collections.Generic.ICollection StreetLines { get; set; } = new System.Collections.ObjectModel.Collection(); + + /// + /// The name of city, town of the recipient.Max length is 35.<br>Example: Beverly Hills + /// + [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [System.ComponentModel.DataAnnotations.StringLength(35)] + public string City { get; set; } + + /// + /// The US States,Canada and Puerto Rico Province codes of the recipient. The Format and presence of this field may vary depending on the country.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.<br>Example: CA + /// + [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StateOrProvinceCode { get; set; } + + /// + /// This is the postal code.<br>Note: This is Optional for non postal-aware countries. Maximum length is 10.<br>Example: 65247<br><a onclick='loadDocReference("postalawarecountries")'>click here to see Postal aware countries</a> + /// + [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PostalCode { get; set; } + + /// + /// This is the two-letter country code.<br>Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> + /// + [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string CountryCode { get; set; } + + /// + /// Indicates whether this address is residential (as opposed to commercial).<br>Example: false + /// + [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Residential { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress_1.cs new file mode 100644 index 0000000..a585cdb --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress_1.cs @@ -0,0 +1,61 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This is detailed information on physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the US). + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PartyAddress_1 + { + /// + /// This is the combination of number, street name, etc. Maximum length per line is 35.<br>Example: 10 FedEx Parkway, Suite 302.<p><i>Note:<ul><li>At least one line is required.</li><li>Streetlines more than 3 will be ignored.</li><li>Empty lines should not be included</li><li>For SmartPost Shipments, only 30 characters from the individual street lines will be printed on the labels.</li></ul></i></p> + /// + [Newtonsoft.Json.JsonProperty("streetLines", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection StreetLines { get; set; } + + /// + /// This is a placeholder for City Name. <br>Example: Beverly Hills + /// + [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string City { get; set; } + + /// + /// This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.<br>Example: CA.<br><a onclick='loadDocReference("canadaprovincecodes")'>click here to see State or Province Code</a> + /// + [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StateOrProvinceCode { get; set; } + + /// + /// This is the Postal code.<br>This is Optional for non postal-aware countries.<br>Maximum length is 10.<br>Example: 65247<br><a onclick='loadDocReference("postalawarecountries")'>click here to see Postal aware countries</a> + /// + [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PostalCode { get; set; } + + /// + /// This is the two-letter country code.<br>Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> + /// + [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CountryCode { get; set; } + + /// + /// Indicate whether this address is residential (as opposed to commercial). + /// + [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Residential { get; set; } + + /// + /// Indicates the geographic coordinates. <br> example: geographicCoordinates + /// + [Newtonsoft.Json.JsonProperty("geographicCoordinates", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string GeographicCoordinates { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress_2.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress_2.cs new file mode 100644 index 0000000..43dc250 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyAddress_2.cs @@ -0,0 +1,50 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This is detailed information on physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the US). + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PartyAddress_2 + { + /// + /// Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included. Max Length is 35.<br>Example: [1550 Union Blvd,Suite 302] + /// + [Newtonsoft.Json.JsonProperty("streetLines", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public System.Collections.Generic.ICollection StreetLines { get; set; } = new System.Collections.ObjectModel.Collection(); + + /// + /// The name of city, town of the recipient.Max length is 35.<br>Example: Beverly Hills + /// + [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [System.ComponentModel.DataAnnotations.StringLength(35)] + public string City { get; set; } + + /// + /// It is used to identify the principal subdivisions (e.g., provinces or states) of countries. The Format and presence of this field may vary depending on the country. Note: For specific countries, such as the United States and Canada, and Puerto Rico, there is a two-character state, province, codes limit . Example: TX + /// + [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StateOrProvinceCode { get; set; } + + /// + /// This is the postal code.<br>Note: This is Optional for non postal-aware countries. Maximum length is 10.<br>Example: 65247<br><a onclick='loadDocReference("postalawarecountries")'>click here to see Postal aware countries</a> + /// + [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PostalCode { get; set; } + + /// + /// This is the two-letter country code.<br>Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> + /// + [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string CountryCode { get; set; } + + /// + /// Indicates whether this address is residential (as opposed to commercial).<br>Example: false + /// + [Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Residential { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyContact.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyContact.cs new file mode 100644 index 0000000..0f61138 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyContact.cs @@ -0,0 +1,41 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicate the contact details for this shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PartyContact + { + /// + /// Specify contact name. Maximum length is 70. <br>Note: Either the companyName or personName is mandatory.<br> Example: John Taylor + /// + [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PersonName { get; set; } + + /// + /// Specify contact email address. Maximum length is 80. <br> Example: sample@company.com + /// + [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EmailAddress { get; set; } + + /// + /// Specify contact phone extension. Maximum length is 6. <br> Example: 1234 + /// + [Newtonsoft.Json.JsonProperty("phoneExtension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneExtension { get; set; } + + /// + /// The shipper's phone number. <br>Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.<br>Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.<br>Example: 918xxxxx890 + /// + [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string PhoneNumber { get; set; } + + /// + /// The shipper's company name. Max length is 35.<br>Example: FedEx + /// + [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CompanyName { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyContact_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyContact_1.cs new file mode 100644 index 0000000..55c27a5 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PartyContact_1.cs @@ -0,0 +1,55 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicate the contact details for this shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PartyContact_1 + { + /// + /// Specify contact name. Maximum length is 70. <br> Example: John Taylor + /// + [Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PersonName { get; set; } + + /// + /// Specify contact email address. Maximum length is 80. <br> Example: sample@company.com + /// + [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EmailAddress { get; set; } + + /// + /// Specify contact phone extension. Maximum length is 6. <br> Example: 1234 + /// + [Newtonsoft.Json.JsonProperty("phoneExtension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneExtension { get; set; } + + /// + /// Specify contact phone number. <br>Minimum length is 10 and supports Maximum as 15 for certain countries using longer phone numbers. <br>Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number. <br> Example: 918xxxxx890 + /// + [Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneNumber { get; set; } + + /// + /// Specify contact company name.<br>Recommended length is 35.<br>Note: There's no specific validation of the company name. + /// + [Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CompanyName { get; set; } + + /// + /// Specify contact person's fax number. Maximum length is 15. + /// + [Newtonsoft.Json.JsonProperty("faxNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FaxNumber { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_1.cs new file mode 100644 index 0000000..704edb1 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_1.cs @@ -0,0 +1,32 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Party_1 + { + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PartyAddress Address { get; set; } + + [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public PartyContact Contact { get; set; } = new PartyContact(); + + [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PartyAccountNumber AccountNumber { get; set; } + + /// + /// This is the tax identification number details. + /// + [Newtonsoft.Json.JsonProperty("tins", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Tins { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_2.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_2.cs new file mode 100644 index 0000000..3f4acff --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_2.cs @@ -0,0 +1,34 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Use this object to provide the attributes such as physical address, contact information and account number information. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Party_2 + { + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Address_1 Address { get; set; } + + [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Contact_1 Contact { get; set; } + + [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PartyAccountNumber AccountNumber { get; set; } + + /// + /// This is the tax identification number details. + /// + [Newtonsoft.Json.JsonProperty("tins", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Tins { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_3.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_3.cs new file mode 100644 index 0000000..ba130a3 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Party_3.cs @@ -0,0 +1,28 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Party_3 + { + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PartyAddress_1 Address { get; set; } + + [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PartyContact_1 Contact { get; set; } + + /// + /// This is the tax identification number details. + /// + [Newtonsoft.Json.JsonProperty("tins", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Tins { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment.cs new file mode 100644 index 0000000..c0e94eb --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment.cs @@ -0,0 +1,21 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies the payment details specifying the method and means of payment to FedEx for providing shipping services. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Payment + { + /// + /// Indicates who and how the shipment will be paid for.Required for Express and Ground.<br>Example: SENDER + /// + [Newtonsoft.Json.JsonProperty("paymentType", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public PaymentType PaymentType { get; set; } + + [Newtonsoft.Json.JsonProperty("payor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Payor Payor { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PaymentType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PaymentType.cs new file mode 100644 index 0000000..528a1e1 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PaymentType.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum PaymentType + { + + [System.Runtime.Serialization.EnumMember(Value = @"SENDER")] + SENDER = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"RECIPIENT")] + RECIPIENT = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"THIRD_PARTY")] + THIRD_PARTY = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"COLLECT")] + COLLECT = 3, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment_1.cs new file mode 100644 index 0000000..e7e625b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment_1.cs @@ -0,0 +1,32 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This is a payment type, basically indicates who is the payor for the shipment.Conditional required for International Shipments + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Payment_1 + { + [Newtonsoft.Json.JsonProperty("payor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Payor_1 Payor { get; set; } + + [Newtonsoft.Json.JsonProperty("billingDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public BillingDetails BillingDetails { get; set; } + + /// + /// Indicates who and how the shipment will be paid for.Required for Express and Ground.<br>Example: SENDER + /// + [Newtonsoft.Json.JsonProperty("paymentType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Payment_1PaymentType? PaymentType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment_1PaymentType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment_1PaymentType.cs new file mode 100644 index 0000000..d382e71 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Payment_1PaymentType.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum Payment_1PaymentType + { + + [System.Runtime.Serialization.EnumMember(Value = @"SENDER")] + SENDER = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"RECIPIENT")] + RECIPIENT = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"THIRD_PARTY")] + THIRD_PARTY = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"COLLECT")] + COLLECT = 3, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Payor.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Payor.cs new file mode 100644 index 0000000..ca88229 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Payor.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY or COLLECT. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Payor + { + [Newtonsoft.Json.JsonProperty("responsibleParty", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public ResponsiblePartyParty ResponsibleParty { get; set; } = new ResponsiblePartyParty(); + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Payor_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Payor_1.cs new file mode 100644 index 0000000..28b7d2e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Payor_1.cs @@ -0,0 +1,22 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Information about the person who is paying for the shipment. Not applicable for credit card payment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Payor_1 + { + [Newtonsoft.Json.JsonProperty("responsibleParty", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Party_2 ResponsibleParty { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentAccessDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentAccessDetail.cs new file mode 100644 index 0000000..f512309 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentAccessDetail.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This information describes how and when a online email return label shipment may be accessed for completion. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PendingShipmentAccessDetail + { + /// + /// Indicates the details about the users who can access the shipment. + /// + [Newtonsoft.Json.JsonProperty("accessorDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection AccessorDetails { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentAccessorDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentAccessorDetail.cs new file mode 100644 index 0000000..ae7c941 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentAccessorDetail.cs @@ -0,0 +1,43 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies details for how to access the pending email return label. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PendingShipmentAccessorDetail + { + /// + /// Specifies the accessor password.<br>Example: password + /// + [Newtonsoft.Json.JsonProperty("password", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Password { get; set; } + + /// + /// Specifies the accessor role.<br>Example: role + /// + [Newtonsoft.Json.JsonProperty("role", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Role { get; set; } + + /// + /// Specifies the URL for the email label.<br>Example: emailLabelUrl + /// + [Newtonsoft.Json.JsonProperty("emailLabelUrl", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EmailLabelUrl { get; set; } + + /// + /// Specifies the accessor User ID.<br>Example: userId + /// + [Newtonsoft.Json.JsonProperty("userId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string UserId { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentDetail.cs new file mode 100644 index 0000000..732944a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentDetail.cs @@ -0,0 +1,40 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This object is used to specify the Pending Shipment Type for Email label. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PendingShipmentDetail + { + /// + /// Specifies the pending shipment type. Must include the value: EMAIL for email return shipments. <br>Not applicable for other types of shipments<br>Example: EMAIL + /// + [Newtonsoft.Json.JsonProperty("pendingShipmentType", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public PendingShipmentDetailPendingShipmentType PendingShipmentType { get; set; } + + [Newtonsoft.Json.JsonProperty("processingOptions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PendingShipmentProcessingOptionsRequested ProcessingOptions { get; set; } + + [Newtonsoft.Json.JsonProperty("recommendedDocumentSpecification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public RecommendedDocumentSpecification RecommendedDocumentSpecification { get; set; } + + [Newtonsoft.Json.JsonProperty("emailLabelDetail", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public EmailLabelDetail EmailLabelDetail { get; set; } = new EmailLabelDetail(); + + /// + /// These are the reference document details with the shipment. + /// + [Newtonsoft.Json.JsonProperty("attachedDocuments", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection AttachedDocuments { get; set; } + + /// + /// Specifies the Email Label expiration date. The maximum expiration date for an Email Return Label must be greater of equal to the day of the label request and not greater than 2 years in the future. Format[YYYY-MM-DD] <br>Example: 2020-01-01 + /// + [Newtonsoft.Json.JsonProperty("expirationTimeStamp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ExpirationTimeStamp { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentDetailPendingShipmentType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentDetailPendingShipmentType.cs new file mode 100644 index 0000000..555da96 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentDetailPendingShipmentType.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum PendingShipmentDetailPendingShipmentType + { + + [System.Runtime.Serialization.EnumMember(Value = @"EMAIL")] + EMAIL = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentProcessingOptionsRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentProcessingOptionsRequested.cs new file mode 100644 index 0000000..f17b877 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PendingShipmentProcessingOptionsRequested.cs @@ -0,0 +1,16 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Use this object to allow the Email Label shipment originator, specify if the Email label shipment completer can make modifications to editable shipment data. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PendingShipmentProcessingOptionsRequested + { + /// + /// Pending Shipment Processing Option Type<br>Example: ALLOW_MODIFICATIONS + /// + [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection Options { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PhoneNumber1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PhoneNumber1.cs new file mode 100644 index 0000000..1df5674 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PhoneNumber1.cs @@ -0,0 +1,43 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicate the phone number. Only numeric values allowed.<br> Note that phoneNumber is mandatory when homedeliveryPremiumType is DATE_CERTAIN or EVENING. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PhoneNumber1 + { + /// + /// Area-Code<br>Example: 901 + /// + [Newtonsoft.Json.JsonProperty("areaCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AreaCode { get; set; } + + /// + /// Local Number<br>Example: 3575012 + /// + [Newtonsoft.Json.JsonProperty("localNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LocalNumber { get; set; } + + /// + /// Extension<br>Example: 200 + /// + [Newtonsoft.Json.JsonProperty("extension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Extension { get; set; } + + /// + /// Personal Identification Number<br>Example: 98712345 + /// + [Newtonsoft.Json.JsonProperty("personalIdentificationNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PersonalIdentificationNumber { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PieceResponse.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PieceResponse.cs new file mode 100644 index 0000000..fa4d3d7 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PieceResponse.cs @@ -0,0 +1,134 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Piece Response information. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PieceResponse + { + /// + /// Indicates the net charges amount.<br>Example: 21.45 + /// + [Newtonsoft.Json.JsonProperty("netChargeAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? NetChargeAmount { get; set; } + + /// + /// Indicates data received that governs data payload language/translations. The TransactionDetail from the request is echoed back to the caller in the corresponding reply. + /// + [Newtonsoft.Json.JsonProperty("transactionDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection TransactionDetails { get; set; } + + /// + /// These are package documents returned in the response. + /// + [Newtonsoft.Json.JsonProperty("packageDocuments", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection PackageDocuments { get; set; } + + /// + /// Indicates the acceptance tracking number.<br>Example: 7949XXXXX5000 + /// + [Newtonsoft.Json.JsonProperty("acceptanceTrackingNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AcceptanceTrackingNumber { get; set; } + + /// + /// Indicates the service category. + /// + [Newtonsoft.Json.JsonProperty("serviceCategory", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public PieceResponseServiceCategory? ServiceCategory { get; set; } + + /// + /// Indicates total charges applicable to the customer.<br>Example: listCustomerTotalCharge + /// + [Newtonsoft.Json.JsonProperty("listCustomerTotalCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ListCustomerTotalCharge { get; set; } + + /// + /// Indicates delivery date with timestamp.<br>Example: 2012-09-23 + /// + [Newtonsoft.Json.JsonProperty("deliveryTimestamp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DeliveryTimestamp { get; set; } + + /// + /// Indicates the type of the tracking identifier. + /// + [Newtonsoft.Json.JsonProperty("trackingIdType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TrackingIdType { get; set; } + + /// + /// These are additional charges or discounts.<br>Example: 621.45 + /// + [Newtonsoft.Json.JsonProperty("additionalChargesDiscount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? AdditionalChargesDiscount { get; set; } + + /// + /// Indicates the net List rate amount.<br>Example: 1.45 + /// + [Newtonsoft.Json.JsonProperty("netListRateAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? NetListRateAmount { get; set; } + + /// + /// Specifies the base rate amount.<br>Example: 321.45 + /// + [Newtonsoft.Json.JsonProperty("baseRateAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? BaseRateAmount { get; set; } + + /// + /// Indicates package sequence number.<br>Example: 215 + /// + [Newtonsoft.Json.JsonProperty("packageSequenceNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? PackageSequenceNumber { get; set; } + + /// + /// Specifies the net discount amount.<br>Example: 121.45 + /// + [Newtonsoft.Json.JsonProperty("netDiscountAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? NetDiscountAmount { get; set; } + + /// + /// Specifies the Collect on Delivery collection amount.<br>Example: 231.45 + /// + [Newtonsoft.Json.JsonProperty("codCollectionAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? CodCollectionAmount { get; set; } + + /// + /// This is a master tracking number of the shipment (must be unique for stand-alone open shipments, or unique within consolidation if consolidation key is provided).<br>Example: 794XXXXX5000 + /// + [Newtonsoft.Json.JsonProperty("masterTrackingNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string MasterTrackingNumber { get; set; } + + /// + /// Indicates acceptance type.<br>Example: acceptanceType<br>Example:acceptanceType + /// + [Newtonsoft.Json.JsonProperty("acceptanceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AcceptanceType { get; set; } + + /// + /// This is the tracking number associated with this package. <br>Example: 49XXX0000XXX20032835 + /// + [Newtonsoft.Json.JsonProperty("trackingNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TrackingNumber { get; set; } + + /// + /// Returns true if the responses are successful otherwise false. + /// + [Newtonsoft.Json.JsonProperty("successful", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Successful { get; set; } + + /// + /// These are additional customer reference data.<br>Note: The groupPackageCount must be specified to retrieve customer references. + /// + [Newtonsoft.Json.JsonProperty("customerReferences", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection CustomerReferences { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PieceResponseServiceCategory.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PieceResponseServiceCategory.cs new file mode 100644 index 0000000..af83ba9 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PieceResponseServiceCategory.cs @@ -0,0 +1,29 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum PieceResponseServiceCategory + { + + [System.Runtime.Serialization.EnumMember(Value = @"EXPRESS")] + EXPRESS = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"GROUND")] + GROUND = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"EXPRESS_FREIGHT")] + EXPRESS_FREIGHT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"FREIGHT")] + FREIGHT = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"SMARTPOST")] + SMARTPOST = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"EXPRESS_PARCEL")] + EXPRESS_PARCEL = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"NULL")] + NULL = 6, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/PriorityAlertDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/PriorityAlertDetail.cs new file mode 100644 index 0000000..67dd1b0 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/PriorityAlertDetail.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies the Priority Alert Detail. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PriorityAlertDetail + { + /// + /// The types of all enhancement for the Priority Alert.<br>Example: PRIORITY_ALERT_PLUS + /// + [Newtonsoft.Json.JsonProperty("enhancementTypes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection EnhancementTypes { get; set; } + + /// + /// Specifies Content for the Priority Alert Detail.<br>Example:string + /// + [Newtonsoft.Json.JsonProperty("content", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Content { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ProcessingOptions.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ProcessingOptions.cs new file mode 100644 index 0000000..1752c6e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ProcessingOptions.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ProcessingOptions + { + + [System.Runtime.Serialization.EnumMember(Value = @"INCLUDE_SPECIAL_PROVISIONS")] + INCLUDE_SPECIAL_PROVISIONS = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ProductName.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ProductName.cs new file mode 100644 index 0000000..48980e0 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ProductName.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Product Name information. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ProductName + { + /// + /// The type of name (long, medium, short, etc.) to which this value refers.<br>Example: long + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + /// + /// The character encoding used to represent this product name. <br>Example: UTF-8 + /// + [Newtonsoft.Json.JsonProperty("encoding", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Encoding { get; set; } + + /// + /// Specifies the value of the Product.<br>Example: F-2 + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Value { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RateDiscount.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RateDiscount.cs new file mode 100644 index 0000000..6c20d52 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RateDiscount.cs @@ -0,0 +1,43 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies discount Rate for Shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RateDiscount + { + /// + /// Specifies the amount.<br>Example: 8.9 + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } + + /// + /// The type of rate discount. <br/> Valid Values are BONUS, COUPON,EARNED,OTHER,VOLUME.<br>Example: COUPON + /// + [Newtonsoft.Json.JsonProperty("rateDiscountType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RateDiscountType { get; set; } + + /// + /// Specifies the percentage of Rate discount.<br>Example: 28.9 + /// + [Newtonsoft.Json.JsonProperty("percent", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Percent { get; set; } + + /// + /// Specifies the description of the discounted rate.<br>Example: description + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RateRequestType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RateRequestType.cs new file mode 100644 index 0000000..ec432d0 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RateRequestType.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RateRequestType + { + + [System.Runtime.Serialization.EnumMember(Value = @"LIST")] + LIST = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"NONE")] + NONE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED")] + PREFERRED = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT")] + ACCOUNT = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"INCENTIVE")] + INCENTIVE = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"RETAIL")] + RETAIL = 5, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Recipient.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Recipient.cs new file mode 100644 index 0000000..2efea71 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Recipient.cs @@ -0,0 +1,13 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Recipient : RecipientsParty + { + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Always)] + public Address2 Address { get; set; } + + [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Always)] + public Contact2 Contact { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientCustomsId.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientCustomsId.cs new file mode 100644 index 0000000..7fbd3c6 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientCustomsId.cs @@ -0,0 +1,32 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Use this element to provide valid identification details. Used for populating brazil tax id. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RecipientCustomsId + { + /// + /// This is ID Type. + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RecipientCustomsIdType? Type { get; set; } + + /// + /// This is the ID number. + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Value { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientCustomsIdType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientCustomsIdType.cs new file mode 100644 index 0000000..c45646f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientCustomsIdType.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RecipientCustomsIdType + { + + [System.Runtime.Serialization.EnumMember(Value = @"COMPANY")] + COMPANY = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"INDIVIDUAL")] + INDIVIDUAL = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"PASSPORT")] + PASSPORT = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientsParty.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientsParty.cs new file mode 100644 index 0000000..2d99b2d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RecipientsParty.cs @@ -0,0 +1,30 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// The descriptive information of the recipient for the shipment and the physical location for the package destination. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RecipientsParty + { + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public PartyAddress_2 Address { get; set; } = new PartyAddress_2(); + + [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public PartyContact Contact { get; set; } = new PartyContact(); + + /// + /// This is the tax identification number details. + /// + [Newtonsoft.Json.JsonProperty("tins", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Tins { get; set; } + + /// + /// Specify the delivery instructions to be added with the shipment. Use with Ground Home Delivery.<br>Example: Delivery Instructions + /// + [Newtonsoft.Json.JsonProperty("deliveryInstructions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DeliveryInstructions { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RecommendedDocumentSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RecommendedDocumentSpecification.cs new file mode 100644 index 0000000..3a2e0c1 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RecommendedDocumentSpecification.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are documents that are recommended to be included with the shipment.<br>Example:ANTIQUE_STATEMENT_EUROPEAN_UNION + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RecommendedDocumentSpecification + { + /// + /// This is the recommended document Type.<br><a onclick='loadDocReference("shipmentdocumenttype")'>click here to see shipment document type</a> + /// + [Newtonsoft.Json.JsonProperty("types", Required = Newtonsoft.Json.Required.Always, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + [System.ComponentModel.DataAnnotations.Required] + public System.Collections.Generic.ICollection Types { get; set; } = new System.Collections.ObjectModel.Collection(); + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryAdvisoryDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryAdvisoryDetail.cs new file mode 100644 index 0000000..fc02918 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryAdvisoryDetail.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicates the regulatory advisory details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RegulatoryAdvisoryDetail + { + /// + /// It is a regulatory probitions. + /// + [Newtonsoft.Json.JsonProperty("prohibitions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Prohibitions { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryControls.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryControls.cs new file mode 100644 index 0000000..8a7a456 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryControls.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RegulatoryControls + { + + [System.Runtime.Serialization.EnumMember(Value = @"FOOD_OR_PERISHABLE")] + FOOD_OR_PERISHABLE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"USMCA")] + USMCA = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"NOT_APPLICABLE_FOR_LOW_VALUE_CUSTOMS_EXCEPTIONS")] + NOT_APPLICABLE_FOR_LOW_VALUE_CUSTOMS_EXCEPTIONS = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"NOT_IN_FREE_CIRCULATION")] + NOT_IN_FREE_CIRCULATION = 3, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetail.cs new file mode 100644 index 0000000..1085a33 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetail.cs @@ -0,0 +1,30 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RegulatoryLabelContentDetail + { + /// + /// Specify the regulatory content preference to be displayed on the label. + /// + [Newtonsoft.Json.JsonProperty("generationOptions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RegulatoryLabelContentDetailGenerationOptions? GenerationOptions { get; set; } + + /// + /// Specify the type of regulatory content to be added on the label. + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RegulatoryLabelContentDetailType? Type { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetailGenerationOptions.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetailGenerationOptions.cs new file mode 100644 index 0000000..f3755a2 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetailGenerationOptions.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RegulatoryLabelContentDetailGenerationOptions + { + + [System.Runtime.Serialization.EnumMember(Value = @"CONTENT_ON_SHIPPING_LABEL_PREFERRED")] + CONTENT_ON_SHIPPING_LABEL_PREFERRED = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"CONTENT_ON_SUPPLEMENTAL_LABEL_ONLY")] + CONTENT_ON_SUPPLEMENTAL_LABEL_ONLY = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"CONTENT_ON_SHIPPING_LABEL_ONLY")] + CONTENT_ON_SHIPPING_LABEL_ONLY = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetailType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetailType.cs new file mode 100644 index 0000000..20eac7f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryLabelContentDetailType.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RegulatoryLabelContentDetailType + { + + [System.Runtime.Serialization.EnumMember(Value = @"ALCOHOL_SHIPMENT_LABEL")] + ALCOHOL_SHIPMENT_LABEL = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryProhibition.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryProhibition.cs new file mode 100644 index 0000000..a61b6d6 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryProhibition.cs @@ -0,0 +1,58 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RegulatoryProhibition + { + /// + /// Indicates the derived harmonized code value<br>Example: 01 + /// + [Newtonsoft.Json.JsonProperty("derivedHarmonizedCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DerivedHarmonizedCode { get; set; } + + [Newtonsoft.Json.JsonProperty("advisory", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Message Advisory { get; set; } + + /// + /// Indicates one based index identifying the associated commodity.<br>Example: 12 + /// + [Newtonsoft.Json.JsonProperty("commodityIndex", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CommodityIndex { get; set; } + + /// + /// Indicates the prohibition source type.<br>Example: source + /// + [Newtonsoft.Json.JsonProperty("source", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Source { get; set; } + + /// + /// Indicate the shipment rule type.<br>Example: ["categories"] + /// + [Newtonsoft.Json.JsonProperty("categories", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Categories { get; set; } + + /// + /// Indicates the prohibition type.<br>Example: type + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + [Newtonsoft.Json.JsonProperty("waiver", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public RegulatoryWaiver Waiver { get; set; } + + /// + /// Indicates the prohibitory status.<br>Example: status + /// + [Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Status { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryWaiver.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryWaiver.cs new file mode 100644 index 0000000..ebeb1e3 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RegulatoryWaiver.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicates the regulatory waiver. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RegulatoryWaiver + { + /// + /// Indicates the advisories list. + /// + [Newtonsoft.Json.JsonProperty("advisories", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Advisories { get; set; } + + /// + /// Indicates the regulatory prohibitions description.<br>Example: description + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// Indicates the prohibitory ID.<br>Example: id + /// + [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Id { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedDocumentTypes.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedDocumentTypes.cs new file mode 100644 index 0000000..ed24423 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedDocumentTypes.cs @@ -0,0 +1,50 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RequestedDocumentTypes + { + + [System.Runtime.Serialization.EnumMember(Value = @"CERTIFICATE_OF_ORIGIN")] + CERTIFICATE_OF_ORIGIN = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_INVOICE")] + COMMERCIAL_INVOICE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM_PACKAGE_DOCUMENT")] + CUSTOM_PACKAGE_DOCUMENT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM_SHIPMENT_DOCUMENT")] + CUSTOM_SHIPMENT_DOCUMENT = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMER_SPECIFIED_LABELS")] + CUSTOMER_SPECIFIED_LABELS = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"EXPORT_DECLARATION")] + EXPORT_DECLARATION = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"GENERAL_AGENCY_AGREEMENT")] + GENERAL_AGENCY_AGREEMENT = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"LABEL")] + LABEL = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN")] + USMCA_CERTIFICATION_OF_ORIGIN = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"OP_900")] + OP_900 = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"PENDING_SHIPMENT_EMAIL_NOTIFICATION")] + PENDING_SHIPMENT_EMAIL_NOTIFICATION = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"PRO_FORMA_INVOICE")] + PRO_FORMA_INVOICE = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"RETURN_INSTRUCTIONS")] + RETURN_INSTRUCTIONS = 12, + + [System.Runtime.Serialization.EnumMember(Value = @"USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN")] + USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 13, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedPackageLineItem.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedPackageLineItem.cs new file mode 100644 index 0000000..0611bbd --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedPackageLineItem.cs @@ -0,0 +1,74 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are one or more package-attribute descriptions, each of which describes an individual package, a group of identical packages, or (for the total-piece-total-weight case) common characteristics of all packages in the shipment.<ul><li>At least one instance containing the weight for at least one package is required for EXPRESS and GROUND shipments.</li><li>Single piece requests will have one RequestedPackageLineItem.</li><li>Multiple piece requests will have multiple RequestedPackageLineItems.</li><li>Maximum occurrences is 30.</li></ul> + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RequestedPackageLineItem + { + /// + /// Optional. Used only with individual packages as a unique identifier of each requested package. Will be adjusted at the shipment level as pieces are added.<br>Example: 1 + /// + [Newtonsoft.Json.JsonProperty("sequenceNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? SequenceNumber { get; set; } + + /// + /// Indicate the subPackagingType, if you are using your own packaging for the shipment. Use it for all shipments inbound to Canada (CA) and inbound shipments to the U.S. and Puerto Rico (PR) from Canada and Mexico (MX).subPackagingType is mandatory for shipments to Canada.<br>Example: TUBE, CARTON, CONTAINER. etc.<br>Note: If the value is TUBE, a non-machinable surcharge will be applicable for SmartPost shipments.<br><a onclick='loadDocReference("subpackagetypes")'>click here to see Sub-Packaging Types</a><br>For more information on physical packaging or packaging regulatory requirements, contact your FedEx representative. + /// + [Newtonsoft.Json.JsonProperty("subPackagingType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SubPackagingType { get; set; } + + /// + /// This object lists the customer references provided with the package. + /// + [Newtonsoft.Json.JsonProperty("customerReferences", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection CustomerReferences { get; set; } + + /// + /// This is the Declared Value of any shipment which represents FedEx maximum liability associated with a shipment. This is including, but not limited to any loss, damage, delay, misdelivery, any failure to provide information, or misdelivery of information related to the Shipment. + /// + [Newtonsoft.Json.JsonProperty("declaredValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Money DeclaredValue { get; set; } + + [Newtonsoft.Json.JsonProperty("weight", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public Weight Weight { get; set; } = new Weight(); + + /// + /// Indicate the dimensions of the package.<br> Following conditions will apply: <ul><li>Dimensions are optional but when added, then all three dimensions must be indicated.</li><li>Dimensions are required when using a Express freight service.</li></ul>Note: The maximum/minimum dimension values varies based on the services and the packaging types. Refer <a href='https://www.fedex.com/en-us/service-guide.html' target='_blank'>FedEx Service Guide</a> for service details related to DIM Weighting for FedEx Express and oversize conditions for FedEx Express and FedEx Ground. + /// + [Newtonsoft.Json.JsonProperty("dimensions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Dimensions Dimensions { get; set; } + + /// + /// Indicate the grouped package count. These are number of identical package(s) each with one or more commodities. <br> Example: 2 + /// + [Newtonsoft.Json.JsonProperty("groupPackageCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? GroupPackageCount { get; set; } + + /// + /// Package description used for clearance. The value is required for intra-UAE. and is optional for intra-EU.<br>Example:description + /// + [Newtonsoft.Json.JsonProperty("itemDescriptionForClearance", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ItemDescriptionForClearance { get; set; } + + /// + /// Use this object to specify package content details. + /// + [Newtonsoft.Json.JsonProperty("contentRecord", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection ContentRecord { get; set; } + + /// + /// This the item description for the package.<br>Note: Item description is required for Email Label return shipments and ground Create tag.<br>Example: Item description<br> Maximum limit is 50 characters + /// + [Newtonsoft.Json.JsonProperty("itemDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ItemDescription { get; set; } + + [Newtonsoft.Json.JsonProperty("variableHandlingChargeDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VariableHandlingChargeDetail VariableHandlingChargeDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("packageSpecialServices", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PackageSpecialServicesRequested PackageSpecialServices { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipment.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipment.cs new file mode 100644 index 0000000..a3c3bd2 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipment.cs @@ -0,0 +1,146 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// The descriptive data of the requested shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RequestedShipment + { + /// + /// This is the shipment date. Default value is current date in case the date is not provided or a past date is provided.<br>Format [YYYY-MM-DD].<br>Example: 2019-10-14 + /// + [Newtonsoft.Json.JsonProperty("shipDatestamp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ShipDatestamp { get; set; } + + /// + /// It is the sum of all declared values of all packages in a shipment. The amount of totalDeclaredValue must be equal to the sum of all the individual declaredValues in the shipment. The declaredValue and totalDeclaredValue must match in all currencies in one shipment. This value represents FedEx maximum liability associated with a shipment. This is including, but not limited to any loss, damage, delay, misdelivery, any failure to provide information, or misdelivery of information related to the Shipment.<br><i>Note: The totalDeclaredValue should not exceed customsValue.</i> + /// + [Newtonsoft.Json.JsonProperty("totalDeclaredValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Money TotalDeclaredValue { get; set; } + + /// + /// Indicate the Shipper contact details for this shipment. + /// + [Newtonsoft.Json.JsonProperty("shipper", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public ShipperParty Shipper { get; set; } = new ShipperParty(); + + /// + /// Will indicate the party responsible for purchasing the goods shipped from the shipper to the recipient. The sold to party is not necessarily the recipient or the importer of record. The sold to party is relevant when the purchaser, rather than the recipient determines when certain customs regulations apply. + /// + [Newtonsoft.Json.JsonProperty("soldTo", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public SoldToParty SoldTo { get; set; } + + /// + /// Indicate the descriptive data for the recipient location to which the shipment is to be received. + /// + [Newtonsoft.Json.JsonProperty("recipients", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public System.Collections.Generic.ICollection Recipients { get; set; } = new System.Collections.ObjectModel.Collection(); + + /// + /// A unique identifier for a recipient location.<br>Example:1234567 + /// + [Newtonsoft.Json.JsonProperty("recipientLocationNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RecipientLocationNumber { get; set; } + + /// + /// Indicates if shipment is being dropped off at a FedEx location or being picked up by FedEx or if it's a regularly scheduled pickup for this shipment. Required for FedEx Express and Ground Shipment.<br>Example: USE_SCHEDULED_PICKUP + /// + [Newtonsoft.Json.JsonProperty("pickupType", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RequestedShipmentPickupType PickupType { get; set; } + + /// + /// Indicate the FedEx service type used for this shipment.<br>Example: STANDARD_OVERNIGHT<br><a onclick='loadDocReference("servicetypes")'>click here to see Service Types</a> + /// + [Newtonsoft.Json.JsonProperty("serviceType", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RequestedShipmentServiceType ServiceType { get; set; } + + /// + /// Specify the packaging used.<br>Note: For Express Freight shipments, the packaging will default to YOUR_PACKAGING irrespective of the user provided package type in the request.<br>Example: FEDEX_PAK<br><a onclick='loadDocReference("packagetypes")'>click here to see Package Types</a> + /// + [Newtonsoft.Json.JsonProperty("packagingType", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RequestedShipmentPackageType PackagingType { get; set; } + + /// + /// Indicate the shipment total weight in pounds.<br>Example: 10.6<br>Note: <ul><li>This only applies to International shipments and should be used on the first package of a multiple piece shipment.</li><li>This value contains 1 explicit decimal position.</li><li>For one Label at a time shipments, the unit of totalWeight is considered same as the unit of weight provided in requestedPackageLineItem field.</li></ul> + /// + [Newtonsoft.Json.JsonProperty("totalWeight", Required = Newtonsoft.Json.Required.Always)] + public double TotalWeight { get; set; } + + /// + /// Indicate shipment origin address information, if it is different from the shipper address. + /// + [Newtonsoft.Json.JsonProperty("origin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ContactAndAddress_1 Origin { get; set; } + + [Newtonsoft.Json.JsonProperty("shippingChargesPayment", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public Payment ShippingChargesPayment { get; set; } = new Payment(); + + [Newtonsoft.Json.JsonProperty("shipmentSpecialServices", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShipmentSpecialServicesRequested ShipmentSpecialServices { get; set; } + + [Newtonsoft.Json.JsonProperty("emailNotificationDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShipShipmentEMailNotificationDetail EmailNotificationDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("expressFreightDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ExpressFreightDetail ExpressFreightDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("variableHandlingChargeDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VariableHandlingChargeDetail VariableHandlingChargeDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("customsClearanceDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CustomsClearanceDetail CustomsClearanceDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("smartPostInfoDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public SmartPostInfoDetail SmartPostInfoDetail { get; set; } + + /// + /// If true, only the shipper/payer will have visibility of this shipment.<br>Valid Value : true, false.<br> Default:false<br>Example: true + /// + [Newtonsoft.Json.JsonProperty("blockInsightVisibility", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? BlockInsightVisibility { get; set; } + + [Newtonsoft.Json.JsonProperty("labelSpecification", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public LabelSpecification LabelSpecification { get; set; } = new LabelSpecification(); + + [Newtonsoft.Json.JsonProperty("shippingDocumentSpecification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShippingDocumentSpecification ShippingDocumentSpecification { get; set; } + + /// + /// Indicate the type of rates to be returned. The account specific rates are returned by default if the account number is specified in the request.<br>Following are values:<ul><li>LIST - Returns FedEx published list rates in addition to account-specific rates (if applicable).</li><li>INCENTIVE - This is one-time discount for incentivising the customer. For more information, contact your FedEx representative.</li><li>ACCOUNT - Returns account specific rates (Default).</li><li>PREFERRED - Returns rates in the preferred currency specified in the element preferredCurrency.</li><li>RETAIL - Returns customer rate from one of retail FedEx service centers.</li></ul>Examples: ["ACCOUNT", "PREFERRED"] + /// + [Newtonsoft.Json.JsonProperty("rateRequestType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection RateRequestType { get; set; } + + /// + /// Indicate the currency the caller requests to have used in all returned monetary values. Should be Used in conjunction with the element RateRequestType.<br>Example: USD<br><a onclick='loadDocReference("currencycodes")'>click here to see available Currency codes</a><br>Note: Incorrect currency codes should not be supplied. The system ignores the incorrect currency code. + /// + [Newtonsoft.Json.JsonProperty("preferredCurrency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PreferredCurrency { get; set; } + + /// + /// For an MPS, this is the total number of packages in the shipment.Applicable for parent shipment for one label at a time shipments. <br>Example: 25 + /// + [Newtonsoft.Json.JsonProperty("totalPackageCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? TotalPackageCount { get; set; } + + [Newtonsoft.Json.JsonProperty("masterTrackingId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public MasterTrackingId MasterTrackingId { get; set; } + + /// + /// These are one or more package-attribute descriptions, each of which describes an individual package, a group of identical packages, or (for the total-piece-total-weight case) common characteristics of all packages in the shipment.<ul><li>At least one instance containing the weight for at least one package is required for EXPRESS and GROUND shipments.</li><li>Single piece requests will have one RequestedPackageLineItem.</li><li>Multiple piece requests will have multiple RequestedPackageLineItems.</li><li>Maximum occurrences is 30.</li></ul> + /// + [Newtonsoft.Json.JsonProperty("requestedPackageLineItems", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public System.Collections.Generic.ICollection RequestedPackageLineItems { get; set; } = new System.Collections.ObjectModel.Collection(); + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentPackageType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentPackageType.cs new file mode 100644 index 0000000..f2b3772 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentPackageType.cs @@ -0,0 +1,39 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RequestedShipmentPackageType + { + [System.Runtime.Serialization.EnumMember(Value = @"YOUR_PACKAGING")] + YOUR_PACKAGING = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_ENVELOPE")] + FEDEX_ENVELOPE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_BOX")] + FEDEX_BOX = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_SMALL_BOX")] + FEDEX_SMALL_BOX = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_MEDIUM_BOX")] + FEDEX_MEDIUM_BOX = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_LARGE_BOX")] + FEDEX_LARGE_BOX = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_EXTRA_LARGE_BOX")] + FEDEX_EXTRA_LARGE_BOX = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_10KG_BOX")] + FEDEX_10KG_BOX = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_25KG_BOX")] + FEDEX_25KG_BOX = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_PAK")] + FEDEX_PAK = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_TUBE")] + FEDEX_TUBE = 10 + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentPickupType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentPickupType.cs new file mode 100644 index 0000000..98d9ac3 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentPickupType.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RequestedShipmentPickupType + { + + [System.Runtime.Serialization.EnumMember(Value = @"CONTACT_FEDEX_TO_SCHEDULE")] + CONTACT_FEDEX_TO_SCHEDULE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"DROPOFF_AT_FEDEX_LOCATION")] + DROPOFF_AT_FEDEX_LOCATION = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"USE_SCHEDULED_PICKUP")] + USE_SCHEDULED_PICKUP = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentServiceType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentServiceType.cs new file mode 100644 index 0000000..9276cc8 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentServiceType.cs @@ -0,0 +1,156 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RequestedShipmentServiceType + { + /// + /// FedEx International Priority® Express + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_INTERNATIONAL_PRIORITY_EXPRESS")] + FEDEX_INTERNATIONAL_PRIORITY_EXPRESS = 0, + + /// + /// FedEx International First® + /// + [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_FIRST")] + INTERNATIONAL_FIRST = 1, + + /// + /// FedEx International Priority® + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_INTERNATIONAL_PRIORITY")] + FEDEX_INTERNATIONAL_PRIORITY = 2, + + /// + /// FedEx International Economy® + /// + [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_ECONOMY")] + INTERNATIONAL_ECONOMY = 3, + + /// + /// FedEx International Ground® and FedEx Domestic Ground® + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_GROUND")] + FEDEX_GROUND = 4, + + /// + /// FedEx First Overnight® + /// + [System.Runtime.Serialization.EnumMember(Value = @"FIRST_OVERNIGHT")] + FIRST_OVERNIGHT = 5, + + /// + /// FedEx First Overnight® Freight + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_FIRST_FREIGHT")] + FEDEX_FIRST_FREIGHT = 6, + + /// + /// FedEx 1Day® Freight + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_1_DAY_FREIGHT")] + FEDEX_1_DAY_FREIGHT = 7, + + /// + /// FedEx 2Day® Freight + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_2_DAY_FREIGHT")] + FEDEX_2_DAY_FREIGHT = 8, + + /// + /// FedEx 3Day® Freight + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_3_DAY_FREIGHT")] + FEDEX_3_DAY_FREIGHT = 9, + + /// + /// FedEx International Priority® Freight + /// + [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_PRIORITY_FREIGHT")] + INTERNATIONAL_PRIORITY_FREIGHT = 10, + + /// + /// FedEx International Economy® Freight + /// + [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_ECONOMY_FREIGHT")] + INTERNATIONAL_ECONOMY_FREIGHT = 11, + + /// + /// FedEx® International Deferred Freight + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_INTERNATIONAL_DEFERRED_FREIGHT")] + FEDEX_INTERNATIONAL_DEFERRED_FREIGHT = 12, + + /// + /// FedEx International Priority DirectDistribution® + /// + [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_PRIORITY_DISTRIBUTION")] + INTERNATIONAL_PRIORITY_DISTRIBUTION = 13, + + /// + /// FedEx International Priority DirectDistribution® Freight + /// + [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_DISTRIBUTION_FREIGHT")] + INTERNATIONAL_DISTRIBUTION_FREIGHT = 14, + + /// + /// International Ground® Distribution (IGD) + /// + [System.Runtime.Serialization.EnumMember(Value = @"INTL_GROUND_DISTRIBUTION")] + INTL_GROUND_DISTRIBUTION = 15, + + /// + /// FedEx Home Delivery® + /// + [System.Runtime.Serialization.EnumMember(Value = @"GROUND_HOME_DELIVERY")] + GROUND_HOME_DELIVERY = 16, + + /// + /// FedEx Ground® Economy (Formerly known as FedEx SmartPost®) + /// + [System.Runtime.Serialization.EnumMember(Value = @"SMART_POST")] + SMART_POST = 17, + + /// + /// FedEx Priority Overnight® + /// + [System.Runtime.Serialization.EnumMember(Value = @"PRIORITY_OVERNIGHT")] + PRIORITY_OVERNIGHT = 18, + + /// + /// FedEx Standard Overnight® (Hawaii outbound only) + /// + [System.Runtime.Serialization.EnumMember(Value = @"STANDARD_OVERNIGHT")] + STANDARD_OVERNIGHT = 19, + + /// + /// FedEx 2Day® (Except Intra-Hawaii) + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_2_DAY")] + FEDEX_2_DAY = 20, + + /// + /// FedEx 2Day® AM (Hawaii outbound only) + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_2_DAY_AM")] + FEDEX_2_DAY_AM = 21, + + /// + /// FedEx Express Saver® (Except Alaska and Hawaii) + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_EXPRESS_SAVER")] + FEDEX_EXPRESS_SAVER = 22, + + /// + /// FedEx SameDay® + /// + [System.Runtime.Serialization.EnumMember(Value = @"SAME_DAY")] + SAME_DAY = 23, + + /// + /// FedEx SameDay® City (Selected U.S. Metro Areas) + /// + [System.Runtime.Serialization.EnumMember(Value = @"SAME_DAY_CITY")] + SAME_DAY_CITY = 24 + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentSpecialServiceType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentSpecialServiceType.cs new file mode 100644 index 0000000..7746979 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RequestedShipmentSpecialServiceType.cs @@ -0,0 +1,240 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum RequestedShipmentSpecialServiceType + { + /// + /// FedEx Appointment Home Delivery® + /// + [System.Runtime.Serialization.EnumMember(Value = @"APPOINTMENT")] + APPOINTMENT = 0, + + /// + /// Broker Select Option + /// + [System.Runtime.Serialization.EnumMember(Value = @"BROKER_SELECT_OPTION")] + BROKER_SELECT_OPTION = 1, + + /// + /// Call Before Delivery + /// + [System.Runtime.Serialization.EnumMember(Value = @"CALL_BEFORE_DELIVERY")] + CALL_BEFORE_DELIVERY = 2, + + /// + /// Collect on Delivery (COD) + /// + [System.Runtime.Serialization.EnumMember(Value = @"COD")] + COD = 3, + + /// + /// Custom Delivery Window + /// + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM_DELIVERY_WINDOW")] + CUSTOM_DELIVERY_WINDOW = 4, + + /// + /// Cut Flowers + /// + [System.Runtime.Serialization.EnumMember(Value = @"CUT_FLOWERS")] + CUT_FLOWERS = 5, + + /// + /// Do Not Break Down Pallets + /// + [System.Runtime.Serialization.EnumMember(Value = @"DO_NOT_BREAK_DOWN_PALLETS")] + DO_NOT_BREAK_DOWN_PALLETS = 6, + + /// + /// Do Not Stack Pallets + /// + [System.Runtime.Serialization.EnumMember(Value = @"DO_NOT_STACK_PALLETS")] + DO_NOT_STACK_PALLETS = 7, + + /// + /// Dry Ice + /// + [System.Runtime.Serialization.EnumMember(Value = @"DRY_ICE")] + DRY_ICE = 8, + + /// + /// East Coast Special Service + /// + [System.Runtime.Serialization.EnumMember(Value = @"EAST_COAST_SPECIAL")] + EAST_COAST_SPECIAL = 9, + + /// + /// Exclude From Consolidation + /// + [System.Runtime.Serialization.EnumMember(Value = @"EXCLUDE_FROM_CONSOLIDATION")] + EXCLUDE_FROM_CONSOLIDATION = 10, + + /// + /// Extreme Length + /// + [System.Runtime.Serialization.EnumMember(Value = @"EXTREME_LENGTH")] + EXTREME_LENGTH = 11, + + /// + /// FedEx Inside Delivery + /// + [System.Runtime.Serialization.EnumMember(Value = @"INSIDE_DELIVERY")] + INSIDE_DELIVERY = 12, + + /// + /// FedEx Inside Pickup + /// + [System.Runtime.Serialization.EnumMember(Value = @"INSIDE_PICKUP")] + INSIDE_PICKUP = 13, + + /// + /// FedEx International Controlled Export + /// + [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_CONTROLLED_EXPORT_SERVICE")] + INTERNATIONAL_CONTROLLED_EXPORT_SERVICE = 14, + + /// + /// FedEx One Rate® + /// + [System.Runtime.Serialization.EnumMember(Value = @"FEDEX_ONE_RATE")] + FEDEX_ONE_RATE = 15, + + /// + /// FedEx Third Party Consignee International Priority service (TPC) + /// + [System.Runtime.Serialization.EnumMember(Value = @"THIRD_PARTY_CONSIGNEE")] + THIRD_PARTY_CONSIGNEE = 16, + + /// + /// FedEx® Electronic Trade Documents + /// + [System.Runtime.Serialization.EnumMember(Value = @"ELECTRONIC_TRADE_DOCUMENTS")] + ELECTRONIC_TRADE_DOCUMENTS = 17, + + /// + /// Food + /// + [System.Runtime.Serialization.EnumMember(Value = @"FOOD")] + FOOD = 18, + + /// + /// Hold At Location + /// + [System.Runtime.Serialization.EnumMember(Value = @"HOLD_AT_LOCATION")] + HOLD_AT_LOCATION = 19, + + /// + /// International Traffic in Arms Regulations (ITAR) + /// + [System.Runtime.Serialization.EnumMember(Value = @"INTERNATIONAL_TRAFFIC_IN_ARMS_REGULATIONS")] + INTERNATIONAL_TRAFFIC_IN_ARMS_REGULATIONS = 20, + + /// + /// LiftGate Delivery + /// + [System.Runtime.Serialization.EnumMember(Value = @"LIFTGATE_DELIVERY")] + LIFTGATE_DELIVERY = 21, + + /// + /// LiftGate Pickup + /// + [System.Runtime.Serialization.EnumMember(Value = @"LIFTGATE_PICKUP")] + LIFTGATE_PICKUP = 22, + + /// + /// Limited Access Delivery + /// + [System.Runtime.Serialization.EnumMember(Value = @"LIMITED_ACCESS_DELIVERY")] + LIMITED_ACCESS_DELIVERY = 23, + + /// + /// Limited Access Pickup + /// + [System.Runtime.Serialization.EnumMember(Value = @"LIMITED_ACCESS_PICKUP")] + LIMITED_ACCESS_PICKUP = 24, + + /// + /// Over Length + /// + [System.Runtime.Serialization.EnumMember(Value = @"OVER_LENGTH")] + OVER_LENGTH = 25, + + /// + /// Pending Shipment + /// + [System.Runtime.Serialization.EnumMember(Value = @"PENDING_SHIPMENT")] + PENDING_SHIPMENT = 26, + + /// + /// Pharmacy Delivery + /// + [System.Runtime.Serialization.EnumMember(Value = @"PHARMACY_DELIVERY")] + PHARMACY_DELIVERY = 27, + + /// + /// Poison + /// + [System.Runtime.Serialization.EnumMember(Value = @"POISON")] + POISON = 28, + + /// + /// Premium Home Delivery + /// + [System.Runtime.Serialization.EnumMember(Value = @"HOME_DELIVERY_PREMIUM")] + HOME_DELIVERY_PREMIUM = 29, + + /// + /// Protection From Freezing + /// + [System.Runtime.Serialization.EnumMember(Value = @"PROTECTION_FROM_FREEZING")] + PROTECTION_FROM_FREEZING = 30, + + /// + /// Return Clearance + /// + [System.Runtime.Serialization.EnumMember(Value = @"RETURNS_CLEARANCE")] + RETURNS_CLEARANCE = 31, + + /// + /// Return Shipment + /// + [System.Runtime.Serialization.EnumMember(Value = @"RETURN_SHIPMENT")] + RETURN_SHIPMENT = 32, + + /// + /// Saturday Delivery + /// + [System.Runtime.Serialization.EnumMember(Value = @"SATURDAY_DELIVERY")] + SATURDAY_DELIVERY = 33, + + /// + /// Saturday Pickup + /// + [System.Runtime.Serialization.EnumMember(Value = @"SATURDAY_PICKUP")] + SATURDAY_PICKUP = 34, + + /// + /// Shipment Event Notification + /// + [System.Runtime.Serialization.EnumMember(Value = @"EVENT_NOTIFICATION")] + EVENT_NOTIFICATION = 35, + + /// + /// Delivery on Invoice Acceptance + /// + [System.Runtime.Serialization.EnumMember(Value = @"DELIVERY_ON_INVOICE_ACCEPTANCE")] + DELIVERY_ON_INVOICE_ACCEPTANCE = 36, + + /// + /// Top Load + /// + [System.Runtime.Serialization.EnumMember(Value = @"TOP_LOAD")] + TOP_LOAD = 37, + + /// + /// Freight Guarantee + /// + [System.Runtime.Serialization.EnumMember(Value = @"FREIGHT_GUARANTEE")] + FREIGHT_GUARANTEE = 38 + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ResponsiblePartyParty.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ResponsiblePartyParty.cs new file mode 100644 index 0000000..e195f16 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ResponsiblePartyParty.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicate the payer Information responsible for paying for the shipment. <br>Note: ResponsibleParty accountNumber is required for ACCOUNT based services. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ResponsiblePartyParty + { + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PartyAddress Address { get; set; } + + [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PartyContact Contact { get; set; } + + [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public PartyAccountNumber AccountNumber { get; set; } = new PartyAccountNumber(); + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/RetrieveDateRange.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/RetrieveDateRange.cs new file mode 100644 index 0000000..34afcc4 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/RetrieveDateRange.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Date Range for custom delivery request; only used if type is BETWEEN. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RetrieveDateRange + { + /// + /// Indicates the start date. + /// + [Newtonsoft.Json.JsonProperty("begins", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Begins { get; set; } + + /// + /// Indicates the end date. + /// + [Newtonsoft.Json.JsonProperty("ends", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Ends { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnAssociationDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnAssociationDetail.cs new file mode 100644 index 0000000..4ae855b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnAssociationDetail.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies the details of an outbound shipment in order to associate the return shipment to it. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ReturnAssociationDetail + { + /// + /// This is the ship date for the outbound shipment associated with a return shipment. The format is YYYY-MM-DD.<br> Example: 2019-10-01 + /// + [Newtonsoft.Json.JsonProperty("shipDatestamp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ShipDatestamp { get; set; } + + /// + /// This is the tracking number associated with this package.<br>Example: 49XXX0000XXX20032835 + /// + [Newtonsoft.Json.JsonProperty("trackingNumber", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string TrackingNumber { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnEmailDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnEmailDetail.cs new file mode 100644 index 0000000..850de02 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnEmailDetail.cs @@ -0,0 +1,24 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are email details for the return shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ReturnEmailDetail + { + /// + /// This is the merchant phone number and required for Email Return Labels.<br>Example: 19012635656 + /// + [Newtonsoft.Json.JsonProperty("merchantPhoneNumber", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string MerchantPhoneNumber { get; set; } + + /// + /// Indicate the allowed (merchant-authorized) special services which may be selected when the subsequent shipment is created.<br>Only services represented in EmailLabelAllowedSpecialServiceType will be controlled by this list. + /// + [Newtonsoft.Json.JsonProperty("allowedSpecialService", Required = Newtonsoft.Json.Required.Always, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + [System.ComponentModel.DataAnnotations.Required] + public System.Collections.Generic.ICollection AllowedSpecialService { get; set; } = new System.Collections.ObjectModel.Collection(); + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnInstructionsDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnInstructionsDetail.cs new file mode 100644 index 0000000..dd0047f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnInstructionsDetail.cs @@ -0,0 +1,28 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are return instruction details which will be returned in the transaction to be printed on Return Label. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ReturnInstructionsDetail + { + /// + /// Specify additional information (text) to be inserted into the return document.<br>Example: This is additional text printed on Return Label + /// + [Newtonsoft.Json.JsonProperty("customText", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CustomText { get; set; } + + [Newtonsoft.Json.JsonProperty("documentFormat", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ReturnShippingDocumentFormat DocumentFormat { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnMerchandiseAuthorization.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnMerchandiseAuthorization.cs new file mode 100644 index 0000000..71fe548 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnMerchandiseAuthorization.cs @@ -0,0 +1,16 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This is a Return Merchant Authorization (RMA) for the return shipment.<br> Reason for the requirement is mandatory. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ReturnMerchandiseAuthorization + { + /// + /// Specify the reason for the return.<br> Note: There is no validation for reason. Recommended length is 60 alpha-numeric characters<br>Example: Wrong color or size. + /// + [Newtonsoft.Json.JsonProperty("reason", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Reason { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShipmentDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShipmentDetail.cs new file mode 100644 index 0000000..a38412c --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShipmentDetail.cs @@ -0,0 +1,27 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Use this object for specifying return shipment details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ReturnShipmentDetail + { + [Newtonsoft.Json.JsonProperty("returnEmailDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ReturnEmailDetail ReturnEmailDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("rma", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ReturnMerchandiseAuthorization Rma { get; set; } + + [Newtonsoft.Json.JsonProperty("returnAssociationDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ReturnAssociationDetail ReturnAssociationDetail { get; set; } + + /// + /// This specifies the return Type. Required to be set to PRINT_RETURN_LABEL for printed return label shipments.For email return label shipments returnType must be set to PENDING and pendingShipmentDetail must be set to EMAIL.<br>Valid Values : PENDING, PRINT_RETURN_LABEL<br>Example: PRINT_RETURN_LABEL + /// + [Newtonsoft.Json.JsonProperty("returnType", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ReturnShipmentDetailReturnType ReturnType { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShipmentDetailReturnType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShipmentDetailReturnType.cs new file mode 100644 index 0000000..8ade509 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShipmentDetailReturnType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ReturnShipmentDetailReturnType + { + + [System.Runtime.Serialization.EnumMember(Value = @"PENDING")] + PENDING = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"PRINT_RETURN_LABEL")] + PRINT_RETURN_LABEL = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormat.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormat.cs new file mode 100644 index 0000000..d823908 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormat.cs @@ -0,0 +1,56 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are characteristics of a shipping document to be produced. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ReturnShippingDocumentFormat + { + /// + /// For those shipping document types which have both a "form" and "instructions" component (e.g General Agency Agreement), this field indicates whether to provide the instructions.<br>Example: true + /// + [Newtonsoft.Json.JsonProperty("provideInstructions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ProvideInstructions { get; set; } + + [Newtonsoft.Json.JsonProperty("optionsRequested", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DocumentFormatOptionsRequested OptionsRequested { get; set; } + + /// + /// Specifies the label stock type. Lists the correct type of paper for the Freight address label option.Specify valid value PAPER_4_PER_PAGE_PORTRAIT<br>Example:PAPER_LETTER + /// + [Newtonsoft.Json.JsonProperty("stockType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ReturnShippingDocumentFormatStockType? StockType { get; set; } + + /// + /// Details on creating, organizing, and returning the document. + ///
+ ///
+ ///
+ [Newtonsoft.Json.JsonProperty("dispositions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Dispositions { get; set; } + + /// + /// These are locale details.<br>example: 'en_US'<br><a onclick='loadDocReference("locales")'>click here to see Locales</a><br>Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response. + /// + [Newtonsoft.Json.JsonProperty("locale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Locale { get; set; } + + /// + /// Specify the image format used for a shipping document.<br>Example:PNG + /// + [Newtonsoft.Json.JsonProperty("docType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ReturnShippingDocumentFormatDocType? DocType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormatDocType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormatDocType.cs new file mode 100644 index 0000000..45a215f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormatDocType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ReturnShippingDocumentFormatDocType + { + + [System.Runtime.Serialization.EnumMember(Value = @"PNG")] + PNG = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"PDF")] + PDF = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormatStockType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormatStockType.cs new file mode 100644 index 0000000..7111935 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ReturnShippingDocumentFormatStockType.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ReturnShippingDocumentFormatStockType + { + + [System.Runtime.Serialization.EnumMember(Value = @"PAPER_LETTER")] + PAPER_LETTER = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ServiceDescription.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ServiceDescription.cs new file mode 100644 index 0000000..56d0fab --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ServiceDescription.cs @@ -0,0 +1,67 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Descriptions for a service. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ServiceDescription + { + /// + /// Indicate the FedEx serviceType used for this shipment. The results will be filtered by the serviceType value indicated.<br>Example: STANDARD_OVERNIGHT<br><a onclick='loadDocReference("servicetypes")'>click here to see Service Types</a> + /// + [Newtonsoft.Json.JsonProperty("serviceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ServiceType { get; set; } + + /// + /// Specifies code of the Service.<br>example: 80 + /// + [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Code { get; set; } + + /// + /// Branded, translated, and/or localized names for this service. + /// + [Newtonsoft.Json.JsonProperty("names", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Names { get; set; } + + /// + /// FOR FEDEX INTERNAL USE ONLY. The operating org code in a service.<br>Example: ["FXE", "FXE"] + /// + [Newtonsoft.Json.JsonProperty("operatingOrgCodes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection OperatingOrgCodes { get; set; } + + /// + /// Specifies astra Description.<br>Example: 2 DAY FRT + /// + [Newtonsoft.Json.JsonProperty("astraDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AstraDescription { get; set; } + + /// + /// specifies the description.<br>Example:description + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// FOR FEDEX INTERNAL USE ONLY, Designates the service ID.<br>Example: EP1000000027 + /// + [Newtonsoft.Json.JsonProperty("serviceId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ServiceId { get; set; } + + /// + /// FOR FEDEX INTERNAL USE ONLY. This is tied to the Product EFS interface definition which will currently contain the values of parcel.<br>Example: EXPRESS_PARCEL + /// + [Newtonsoft.Json.JsonProperty("serviceCategory", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ServiceCategory { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipEmailDispositionDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipEmailDispositionDetail.cs new file mode 100644 index 0000000..19356a6 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipEmailDispositionDetail.cs @@ -0,0 +1,37 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are email disposition details. Provides the type and email addresses of e-mail recipients. If returnedDispositionDetail in labelSpecification is set as true then email will be send with label and documents copy. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipEmailDispositionDetail + { + /// + /// This is email Address.<br>Example: xxxx@xxx.com + /// + [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EmailAddress { get; set; } + + /// + /// Specify the email status.<br>Example: EMAILED + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + /// + /// Specify the recipient Type.<br>Example: SHIPPER/BROKER + /// + [Newtonsoft.Json.JsonProperty("recipientType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RecipientType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipMergeLabelDocOption.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipMergeLabelDocOption.cs new file mode 100644 index 0000000..8479650 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipMergeLabelDocOption.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ShipMergeLabelDocOption + { + + [System.Runtime.Serialization.EnumMember(Value = @"NONE")] + NONE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"LABELS_AND_DOCS")] + LABELS_AND_DOCS = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"LABELS_ONLY")] + LABELS_ONLY = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEMailNotificationDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEMailNotificationDetail.cs new file mode 100644 index 0000000..6ee1658 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEMailNotificationDetail.cs @@ -0,0 +1,38 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This is used to provide eMail notification information.. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipShipmentEMailNotificationDetail + { + /// + /// Shipment Notification Aggregation Type.<br>Example:PER_PACKAGE + /// + [Newtonsoft.Json.JsonProperty("aggregationType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ShipShipmentEMailNotificationDetailAggregationType? AggregationType { get; set; } + + /// + /// These are email notification recipient details. + /// + [Newtonsoft.Json.JsonProperty("emailNotificationRecipients", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection EmailNotificationRecipients { get; set; } + + /// + /// This is your personal message for the email.<br>Note: The maximum personal message character limit depends on the element notificationFormatType values:<ul><li>If notificationFormatType is TEXT, then only 120 characters printed on the email</li><li>If notificationFormatType is HTML, then 500 characters printed on the email</li></ul><br>Example: This is concerning the order 123456 of 26 July 2021 - art no 34324-23 Teddy Bear, brown + /// + [Newtonsoft.Json.JsonProperty("personalMessage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PersonalMessage { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEMailNotificationDetailAggregationType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEMailNotificationDetailAggregationType.cs new file mode 100644 index 0000000..0eba142 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEMailNotificationDetailAggregationType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ShipShipmentEMailNotificationDetailAggregationType + { + + [System.Runtime.Serialization.EnumMember(Value = @"PER_PACKAGE")] + PER_PACKAGE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"PER_SHIPMENT")] + PER_SHIPMENT = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipient.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipient.cs new file mode 100644 index 0000000..5c852a3 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipient.cs @@ -0,0 +1,66 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are recipient details for receiving email notification. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipShipmentEmailNotificationRecipient + { + /// + /// Specify the recipient name.<br>Example: Joe Smith + /// + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } + + /// + /// This is the email notification recipient type.<br>Example: SHIPPER + /// + [Newtonsoft.Json.JsonProperty("emailNotificationRecipientType", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ShipShipmentEmailNotificationRecipientEmailNotificationRecipientType EmailNotificationRecipientType { get; set; } + + /// + /// Specify the recipient email address.<br>Example: xyz@aol.com + /// + [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string EmailAddress { get; set; } + + /// + /// This is the format for the email notification. Either HTML or plain text can be provided.<br>Example: TEXT + /// + [Newtonsoft.Json.JsonProperty("notificationFormatType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ShipShipmentEmailNotificationRecipientNotificationFormatType? NotificationFormatType { get; set; } + + /// + /// Indicate the type of notification that will be sent as an email<br>Example: EMAIL + /// + [Newtonsoft.Json.JsonProperty("notificationType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ShipShipmentEmailNotificationRecipientNotificationType? NotificationType { get; set; } + + /// + /// These are the locale details for email.<br>Example: en_US, fr_CA, es_MX,.etc.<br><a onclick='loadDocReference("locales")'>click here to see Locales</a><br>Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response. + /// + [Newtonsoft.Json.JsonProperty("locale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Locale { get; set; } + + /// + /// These are to specify the notification event types.<br> Example: [ON_PICKUP_DRIVER_ARRIVED, ON_SHIPMENT]<br><a onclick='loadDocReference("notificationeventtypes")'>Click here for more information on Notification Event Types.</a> + /// + [Newtonsoft.Json.JsonProperty("notificationEventType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection NotificationEventType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientEmailNotificationRecipientType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientEmailNotificationRecipientType.cs new file mode 100644 index 0000000..c7ea013 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientEmailNotificationRecipientType.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ShipShipmentEmailNotificationRecipientEmailNotificationRecipientType + { + + [System.Runtime.Serialization.EnumMember(Value = @"BROKER")] + BROKER = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] + OTHER = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"RECIPIENT")] + RECIPIENT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"SHIPPER")] + SHIPPER = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"THIRD_PARTY")] + THIRD_PARTY = 4, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientNotificationFormatType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientNotificationFormatType.cs new file mode 100644 index 0000000..3b7f2cb --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientNotificationFormatType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ShipShipmentEmailNotificationRecipientNotificationFormatType + { + + [System.Runtime.Serialization.EnumMember(Value = @"HTML")] + HTML = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"TEXT")] + TEXT = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientNotificationType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientNotificationType.cs new file mode 100644 index 0000000..621ee44 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipShipmentEmailNotificationRecipientNotificationType.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ShipShipmentEmailNotificationRecipientNotificationType + { + + [System.Runtime.Serialization.EnumMember(Value = @"EMAIL")] + EMAIL = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentAdvisoryDetails.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentAdvisoryDetails.cs new file mode 100644 index 0000000..410d8a9 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentAdvisoryDetails.cs @@ -0,0 +1,22 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are shipment advisory details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipmentAdvisoryDetails + { + [Newtonsoft.Json.JsonProperty("regulatoryAdvisory", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public RegulatoryAdvisoryDetail RegulatoryAdvisory { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetail.cs new file mode 100644 index 0000000..b4059cf --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetail.cs @@ -0,0 +1,64 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This is the shipment level COD detail. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipmentCODDetail + { + [Newtonsoft.Json.JsonProperty("addTransportationChargesDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CODTransportationChargesDetail AddTransportationChargesDetail { get; set; } + + /// + /// Descriptive data of the Cash On Delivery along with their details of the physical location. + /// + [Newtonsoft.Json.JsonProperty("codRecipient", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Party_1 CodRecipient { get; set; } + + /// + /// Specify the name of the person or company receiving the secured/unsecured funds payment<br>Example: remitToName + /// + [Newtonsoft.Json.JsonProperty("remitToName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RemitToName { get; set; } + + /// + /// Identifies the type of funds FedEx should collect upon shipment delivery<br>Example: CASH + /// + [Newtonsoft.Json.JsonProperty("codCollectionType", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ShipmentCODDetailCodCollectionType CodCollectionType { get; set; } + + [Newtonsoft.Json.JsonProperty("financialInstitutionContactAndAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ContactAndAddress FinancialInstitutionContactAndAddress { get; set; } + + /// + /// Indicate the COD collection amount. + /// + [Newtonsoft.Json.JsonProperty("codCollectionAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Money CodCollectionAmount { get; set; } + + /// + /// Indicates which type of reference information to include on the COD return shipping label.<br>Example: INVOICE + /// + [Newtonsoft.Json.JsonProperty("returnReferenceIndicatorType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ShipmentCODDetailReturnReferenceIndicatorType? ReturnReferenceIndicatorType { get; set; } + + /// + /// Indicate the COD amount for this shipment. + /// + [Newtonsoft.Json.JsonProperty("shipmentCodAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Money ShipmentCodAmount { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetailCodCollectionType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetailCodCollectionType.cs new file mode 100644 index 0000000..f6fec79 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetailCodCollectionType.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ShipmentCODDetailCodCollectionType + { + + [System.Runtime.Serialization.EnumMember(Value = @"ANY")] + ANY = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"CASH")] + CASH = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"GUARANTEED_FUNDS")] + GUARANTEED_FUNDS = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"COMPANY_CHECK")] + COMPANY_CHECK = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_CHECK")] + PERSONAL_CHECK = 4, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetailReturnReferenceIndicatorType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetailReturnReferenceIndicatorType.cs new file mode 100644 index 0000000..4715415 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentCODDetailReturnReferenceIndicatorType.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ShipmentCODDetailReturnReferenceIndicatorType + { + + [System.Runtime.Serialization.EnumMember(Value = @"INVOICE")] + INVOICE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"PO")] + PO = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"REFERENCE")] + REFERENCE = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"TRACKING")] + TRACKING = 3, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceDetail.cs new file mode 100644 index 0000000..6c886a4 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceDetail.cs @@ -0,0 +1,35 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies the shipment level totals of dry ice data across all packages. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipmentDryIceDetail + { + /// + /// Specify total dry ice weight for the shipment. + /// + [Newtonsoft.Json.JsonProperty("totalWeight", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public Weight TotalWeight { get; set; } = new Weight(); + + /// + /// Specifies the package Count for the shipment<br>Example: 10 + /// + [Newtonsoft.Json.JsonProperty("packageCount", Required = Newtonsoft.Json.Required.Always)] + public int PackageCount { get; set; } + + [Newtonsoft.Json.JsonProperty("processingOptions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShipmentDryIceProcessingOptionsRequested ProcessingOptions { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceDetail_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceDetail_1.cs new file mode 100644 index 0000000..d14220a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceDetail_1.cs @@ -0,0 +1,28 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This is the descriptive data required for a FedEx shipment containing dangerous materials. This element is required when SpecialServiceType DRY_ICE is selected.<p><i>Note:<ul><li>Dry Ice is a Package level Special Service for Domestic and International shipments.</li><li>Dry Ice must be declared at both Shipment and Package level for International MPS shipments to print the compliance statement on Airway Bill labels.</li></ul></i></p> + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipmentDryIceDetail_1 + { + [Newtonsoft.Json.JsonProperty("totalWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Weight_1 TotalWeight { get; set; } + + /// + /// Indicates the total number of packages in the shipment that contain dry ice.<br>Example: 12 + /// + [Newtonsoft.Json.JsonProperty("packageCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? PackageCount { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceProcessingOptionsRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceProcessingOptionsRequested.cs new file mode 100644 index 0000000..649a411 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentDryIceProcessingOptionsRequested.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specify that dry ice information is only applicable at the shipment level. Package level dry ice information would not apply. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipmentDryIceProcessingOptionsRequested + { + /// + /// Specifies the options.<br>Example: ["options"] + /// + [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Options { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentLegRateDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentLegRateDetail.cs new file mode 100644 index 0000000..f574a81 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentLegRateDetail.cs @@ -0,0 +1,178 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This is a placeholder for single leg of a shipment rates details, as calculated per a specific rate type. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipmentLegRateDetail + { + /// + /// Indicates the rate zone used (based on origin and destination).<br>Example: rateZone + /// + [Newtonsoft.Json.JsonProperty("rateZone", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RateZone { get; set; } + + /// + /// Specifies the Pricing Code.<br>Example: pricingCode + /// + [Newtonsoft.Json.JsonProperty("pricingCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PricingCode { get; set; } + + /// + /// Specifies the taxes. + /// + [Newtonsoft.Json.JsonProperty("taxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Taxes { get; set; } + + /// + /// Sum of dimensional weights for all packages. + /// + [Newtonsoft.Json.JsonProperty("totalDimWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Weight TotalDimWeight { get; set; } + + /// + /// Specifies the total rebate.<br>Example: 2.0 + /// + [Newtonsoft.Json.JsonProperty("totalRebates", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalRebates { get; set; } + + /// + /// Specifies a fuel surcharge percentage.<br>Example: 6.0 + /// + [Newtonsoft.Json.JsonProperty("fuelSurchargePercent", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? FuelSurchargePercent { get; set; } + + /// + /// Specifies currency exchange rate. + /// + [Newtonsoft.Json.JsonProperty("currencyExchangeRate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CurrencyExchangeRate CurrencyExchangeRate { get; set; } + + /// + /// The value used to calculate the weight based on the dimensions.<br>Example: 6 + /// + [Newtonsoft.Json.JsonProperty("dimDivisor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? DimDivisor { get; set; } + + /// + /// Type used for this specific set of rate data.<br>Example: PAYOR_RETAIL_PACKAGE + /// + [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RateType { get; set; } + + /// + /// Specifies the location id the destination of shipment leg.<br>Example: HKAA + /// + [Newtonsoft.Json.JsonProperty("legDestinationLocationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LegDestinationLocationId { get; set; } + + /// + /// Identifies the type of dim divisor that was applied.<br>Example: dimDivisorType + /// + [Newtonsoft.Json.JsonProperty("dimDivisorType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DimDivisorType { get; set; } + + /// + /// The total freight charge that was calculated before surcharges, discounts and taxes.<br>Example: 6.0 + /// + [Newtonsoft.Json.JsonProperty("totalBaseCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalBaseCharge { get; set; } + + /// + /// Indicates which weight was used.<br>Example: ratedWeightMethod + /// + [Newtonsoft.Json.JsonProperty("ratedWeightMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RatedWeightMethod { get; set; } + + /// + /// The sum of all discounts.<br>Example: 9.0 + /// + [Newtonsoft.Json.JsonProperty("totalFreightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalFreightDiscounts { get; set; } + + /// + /// Total of the transportation-based taxes.<br>Example: 12.6 + /// + [Newtonsoft.Json.JsonProperty("totalTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalTaxes { get; set; } + + /// + /// Specifies minimum charge type.Example: minimumChargeType + /// + [Newtonsoft.Json.JsonProperty("minimumChargeType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string MinimumChargeType { get; set; } + + /// + /// Total of shipments duties and taxes; only provided if estimated duties and taxes were calculated for this shipment.<br>Example: 17.78 + /// + [Newtonsoft.Json.JsonProperty("totalDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalDutiesAndTaxes { get; set; } + + /// + /// The freight charge minus discounts.<br>Example: 6.0 + /// + [Newtonsoft.Json.JsonProperty("totalNetFreight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalNetFreight { get; set; } + + /// + /// This is the sum of shipment's total surcharges (not including total taxes).<br>Example: 3.2 + /// + [Newtonsoft.Json.JsonProperty("totalNetFedExCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalNetFedExCharge { get; set; } + + /// + /// All surcharges that apply to this shipment.<br><a onclick='loadDocReference("surcharges")'>click here to see surcharges</a> + /// + [Newtonsoft.Json.JsonProperty("surcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Surcharges { get; set; } + + /// + /// The total of all surcharges.<br>Example: 5.0 + /// + [Newtonsoft.Json.JsonProperty("totalSurcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalSurcharges { get; set; } + + /// + /// The weight used to calculate these rates. + /// + [Newtonsoft.Json.JsonProperty("totalBillingWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Weight TotalBillingWeight { get; set; } + + [Newtonsoft.Json.JsonProperty("freightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection FreightDiscounts { get; set; } + + /// + /// Indicates the rate scale used.<br>Example: 6702 + /// + [Newtonsoft.Json.JsonProperty("rateScale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RateScale { get; set; } + + /// + /// The net charge after applying all discounts and surcharges.<br>Example: 253 + /// + [Newtonsoft.Json.JsonProperty("totalNetCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalNetCharge { get; set; } + + /// + /// Sum of total net charge, total duties and taxes; only provided if estimated duties and taxes were calculated for this shipment and duties, taxes and transportation charges are all paid by the same sender account.<br>Example: 25.67 + /// + [Newtonsoft.Json.JsonProperty("totalNetChargeWithDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? TotalNetChargeWithDutiesAndTaxes { get; set; } + + /// + /// This is the currency code for the amount.<br>Example: USD<br><a onclick='loadDocReference("currencycodes")'>click here to see Currency codes</a> + /// + [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Currency { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentOperationalDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentOperationalDetail.cs new file mode 100644 index 0000000..ee8415b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentOperationalDetail.cs @@ -0,0 +1,187 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicates the shipment level operational information. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipmentOperationalDetail + { + /// + /// Indicates the origin service area.<br>Example: A1 + /// + [Newtonsoft.Json.JsonProperty("originServiceArea", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OriginServiceArea { get; set; } + + /// + /// Indicates the service code.<br>Example: 010 + /// + [Newtonsoft.Json.JsonProperty("serviceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ServiceCode { get; set; } + + /// + /// Indicates the airport identifier.<br>Example: DFW + /// + [Newtonsoft.Json.JsonProperty("airportId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AirportId { get; set; } + + /// + /// Specifies the postal code.<br>Example: 38010<br><a onclick='loadDocReference("postalawarecountries")'>click here to see Postal aware countries</a> + /// + [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PostalCode { get; set; } + + /// + /// Indicates standard carrier alpha code. + /// + [Newtonsoft.Json.JsonProperty("scac", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Scac { get; set; } + + /// + /// Specifies expected/estimated day of week of the delivery.<br>Example: TUE + /// + [Newtonsoft.Json.JsonProperty("deliveryDay", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DeliveryDay { get; set; } + + /// + /// This is the origin Location identifier.<br>Example: 678 + /// + [Newtonsoft.Json.JsonProperty("originLocationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OriginLocationId { get; set; } + + /// + /// Indicate the two-letter country code.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a> + /// + [Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CountryCode { get; set; } + + /// + /// Specifies astra description.<br>Example: SMART POST + /// + [Newtonsoft.Json.JsonProperty("astraDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AstraDescription { get; set; } + + /// + /// Specifies origin location number.<br>Example: 243 + /// + [Newtonsoft.Json.JsonProperty("originLocationNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? OriginLocationNumber { get; set; } + + /// + /// Specifies delivery date for the shipment. The format is [YYYY-MM-DD]<br>Example: 2001-04-05 + /// + [Newtonsoft.Json.JsonProperty("deliveryDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DeliveryDate { get; set; } + + /// + /// FedEx Ground delivery features for which this shipment may be eligible.<br>Example: ["deliveryEligibilities"] + /// + [Newtonsoft.Json.JsonProperty("deliveryEligibilities", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection DeliveryEligibilities { get; set; } + + /// + /// Indicates that this shipment is not eligible for money back guarantee. + /// + [Newtonsoft.Json.JsonProperty("ineligibleForMoneyBackGuarantee", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IneligibleForMoneyBackGuarantee { get; set; } + + /// + /// Maximum expected transit time.<br>Example: SEVEN_DAYS + /// + [Newtonsoft.Json.JsonProperty("maximumTransitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string MaximumTransitTime { get; set; } + + /// + /// This is the state or province code of the shipment destination location, and is not necessarily the same as the postal state.<br>Example: GA<br><a onclick='loadDocReference("canadaprovincecodes")'>click here to see State or Province Code</a> + /// + [Newtonsoft.Json.JsonProperty("destinationLocationStateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DestinationLocationStateOrProvinceCode { get; set; } + + /// + /// Text describing planned delivery.<br>Example: TUE - 15 OCT 10:30A + /// + [Newtonsoft.Json.JsonProperty("astraPlannedServiceLevel", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AstraPlannedServiceLevel { get; set; } + + /// + /// Specifies the FedEx Destination Location Identifier.<br>Example: DALA + /// + [Newtonsoft.Json.JsonProperty("destinationLocationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DestinationLocationId { get; set; } + + /// + /// Standard transit time per origin, destination, and service.<br>Example: TWO_DAYS + /// + [Newtonsoft.Json.JsonProperty("transitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TransitTime { get; set; } + + /// + /// This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.<br>Example: CA<br><a onclick='loadDocReference("canadaprovincecodes")'>click here to see State or Province Code</a> + /// + [Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StateOrProvinceCode { get; set; } + + /// + /// Indicates destination location number.<br>Example: 876 + /// + [Newtonsoft.Json.JsonProperty("destinationLocationNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? DestinationLocationNumber { get; set; } + + /// + /// Indicates packaging code.<br>Example: 03 + /// + [Newtonsoft.Json.JsonProperty("packagingCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PackagingCode { get; set; } + + /// + /// This is committed date of delivery.<br>Example: 2019-10-15 + /// + [Newtonsoft.Json.JsonProperty("commitDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CommitDate { get; set; } + + /// + /// This is delivery time, as published in Service Guide.<br>Example: 10:30A + /// + [Newtonsoft.Json.JsonProperty("publishedDeliveryTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PublishedDeliveryTime { get; set; } + + /// + /// This is ursa suffix code.<br>Example: Ga + /// + [Newtonsoft.Json.JsonProperty("ursaSuffixCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string UrsaSuffixCode { get; set; } + + /// + /// This is ursa prefix code.<br>Example: XH + /// + [Newtonsoft.Json.JsonProperty("ursaPrefixCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string UrsaPrefixCode { get; set; } + + /// + /// Specifies destination service area.<br>Example: A1 + /// + [Newtonsoft.Json.JsonProperty("destinationServiceArea", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DestinationServiceArea { get; set; } + + /// + /// Committed day of week of delivery.<br>Example: TUE + /// + [Newtonsoft.Json.JsonProperty("commitDay", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CommitDay { get; set; } + + /// + /// Transit time based on customer eligibility.<br>Example: ONE_DAY + /// + [Newtonsoft.Json.JsonProperty("customTransitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CustomTransitTime { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentRateDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentRateDetail.cs new file mode 100644 index 0000000..0983305 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentRateDetail.cs @@ -0,0 +1,172 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This is a placeholder for shipment total/summary rates details, as calculated per a specific rate type. The totals may differ from the sum of corresponding package data for Multiweight or Express MPS. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipmentRateDetail + { + /// + /// Indicates the rate zone used (based on origin and destination).<br>Example: US001O + /// + [Newtonsoft.Json.JsonProperty("rateZone", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RateZone { get; set; } + + /// + /// Indicates which weight was used.<br>Example: ACTUAL + /// + [Newtonsoft.Json.JsonProperty("ratedWeightMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RatedWeightMethod { get; set; } + + /// + /// The total of the total duties & taxes and the total ancillary fees & taxes.<br>Example: 24.56 + /// + [Newtonsoft.Json.JsonProperty("totalDutiesTaxesAndFees", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalDutiesTaxesAndFees { get; set; } + + /// + /// Specifies pricing Code.<br>Example: PACKAGE + /// + [Newtonsoft.Json.JsonProperty("pricingCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PricingCode { get; set; } + + /// + /// The total discounts used in the rate calculation.<br>Example: 1.56 + /// + [Newtonsoft.Json.JsonProperty("totalFreightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalFreightDiscounts { get; set; } + + /// + /// Total of the transportation-based taxes.<br>Example: 3.45 + /// + [Newtonsoft.Json.JsonProperty("totalTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalTaxes { get; set; } + + /// + /// Total of all values under this shipment's duties and taxes; only provided if estimated duties and taxes were calculated for this shipment.<br>Example: 6.78 + /// + [Newtonsoft.Json.JsonProperty("totalDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalDutiesAndTaxes { get; set; } + + /// + /// Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.<br>Example: 5.67 + /// + [Newtonsoft.Json.JsonProperty("totalAncillaryFeesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalAncillaryFeesAndTaxes { get; set; } + + /// + /// All transportation-based taxes applicable to this shipment. + /// + [Newtonsoft.Json.JsonProperty("taxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Taxes { get; set; } + + /// + /// The total sum of all rebates applied to this shipment.<br>Example: 1.98 + /// + [Newtonsoft.Json.JsonProperty("totalRebates", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalRebates { get; set; } + + /// + /// Specifies a fuel surcharge percentage.<br>Example: 4.56 + /// + [Newtonsoft.Json.JsonProperty("fuelSurchargePercent", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? FuelSurchargePercent { get; set; } + + [Newtonsoft.Json.JsonProperty("currencyExchangeRate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CurrencyExchangeRate CurrencyExchangeRate { get; set; } + + /// + /// The freight charge minus discounts.<br>Example: 9.56 + /// + [Newtonsoft.Json.JsonProperty("totalNetFreight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalNetFreight { get; set; } + + /// + /// This is the sum of shipment's total net freight, total surchages (not including totalTaxes).<br>Example: 88.56 + /// + [Newtonsoft.Json.JsonProperty("totalNetFedExCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalNetFedExCharge { get; set; } + + /// + /// This is data for a single leg of a shipment's total/summary rates, as calculated per a specific rate type. + /// + [Newtonsoft.Json.JsonProperty("shipmentLegRateDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection ShipmentLegRateDetails { get; set; } + + /// + /// The value used to calculate the weight based on the dimensions.<br>Example: 0 + /// + [Newtonsoft.Json.JsonProperty("dimDivisor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? DimDivisor { get; set; } + + /// + /// The Type used for this specific set of rate data.<br>Example: RATED_ACCOUNT_SHIPMENT + /// + [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RateType { get; set; } + + /// + /// All surcharges that apply to this shipment.<br><a onclick='loadDocReference("surcharges")'>click here to see Surcharges</a> + /// + [Newtonsoft.Json.JsonProperty("surcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Surcharges { get; set; } + + /// + /// The total amount of all surcharges applied to this shipment.<br>Example: 9.88 + /// + [Newtonsoft.Json.JsonProperty("totalSurcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalSurcharges { get; set; } + + /// + /// The weight used to calculate these rates. + /// + [Newtonsoft.Json.JsonProperty("totalBillingWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Weight TotalBillingWeight { get; set; } + + /// + /// Indicates the freight discounts. + /// + [Newtonsoft.Json.JsonProperty("freightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection FreightDiscounts { get; set; } + + /// + /// Indicates the rate scale used.<br>Example: 00000 + /// + [Newtonsoft.Json.JsonProperty("rateScale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RateScale { get; set; } + + /// + /// The net charge after applying all discounts and surcharges.<br>Example: 3.78 + /// + [Newtonsoft.Json.JsonProperty("totalNetCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalNetCharge { get; set; } + + /// + /// The total Shipment charge that was calculated before surcharges, discounts and taxes.<br>Example: 234.56 + /// + [Newtonsoft.Json.JsonProperty("totalBaseCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalBaseCharge { get; set; } + + /// + /// This is the sum of shipment's total net charges and total duties and taxes; only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender account.<br>Example: 222.56 + /// + [Newtonsoft.Json.JsonProperty("totalNetChargeWithDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalNetChargeWithDutiesAndTaxes { get; set; } + + /// + /// Indicates the currency code.<br><a onclick='loadDocReference("currencycodes")'>click here to see Currency Codes</a> + /// + [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Currency { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentRating.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentRating.cs new file mode 100644 index 0000000..9ef2e9a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentRating.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// All shipment-level rating data for this shipment, which may include data for multiple rate types. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipmentRating + { + /// + /// This rate type identifies which entry in the following array is considered as presenting the "actual" rates for the shipment.<br>Example: PAYOR_LIST_SHIPMENT + /// + [Newtonsoft.Json.JsonProperty("actualRateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ActualRateType { get; set; } + + /// + /// Each element of this field provides shipment-level rate totals for a specific rate type. + /// + [Newtonsoft.Json.JsonProperty("shipmentRateDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection ShipmentRateDetails { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentSpecialServicesRequested.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentSpecialServicesRequested.cs new file mode 100644 index 0000000..0186f22 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipmentSpecialServicesRequested.cs @@ -0,0 +1,49 @@ +using TradeManageNew.APIClients.FedexApi.Utils; + +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specify the special services requested at the shipment level.<br>If the shipper is requesting a special service which requires additional data (such as the COD amount), the shipment special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below.<br>RETURN_SHIPMENT is required for creating return shipments. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipmentSpecialServicesRequested + { + /// + /// Special services requested for the shipment.<br>Example: <ul><li>HOLD_AT_LOCATION</li><li>RETURN_SHIPMENT</li><li>BROKER_SELECT_OPTION</li><li>CALL_BEFORE_DELIVERY</li><li>COD</li><li>CUSTOM_DELIVERY_WINDOW</li></ul><br><a onclick='loadDocReference("shipmentlevelspecialservicetypes")'>click here to see Shipment Special Service Types</a> + /// + [Newtonsoft.Json.JsonProperty("specialServiceTypes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(EnumCollectionConverter))] + public System.Collections.Generic.ICollection SpecialServiceTypes { get; set; } + + [Newtonsoft.Json.JsonProperty("etdDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ETDDetail EtdDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("returnShipmentDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ReturnShipmentDetail ReturnShipmentDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("deliveryOnInvoiceAcceptanceDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DeliveryOnInvoiceAcceptanceDetail DeliveryOnInvoiceAcceptanceDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("internationalTrafficInArmsRegulationsDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public InternationalTrafficInArmsRegulationsDetail InternationalTrafficInArmsRegulationsDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("pendingShipmentDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PendingShipmentDetail PendingShipmentDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("holdAtLocationDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public HoldAtLocationDetail HoldAtLocationDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("shipmentCODDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShipmentCODDetail ShipmentCODDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("shipmentDryIceDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShipmentDryIceDetail_1 ShipmentDryIceDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("internationalControlledExportDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public InternationalControlledExportDetail InternationalControlledExportDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("homeDeliveryPremiumDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public HomeDeliveryPremiumDetail HomeDeliveryPremiumDetail { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipperAccountNumber.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipperAccountNumber.cs new file mode 100644 index 0000000..dbab1dd --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipperAccountNumber.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// The account number associated with the shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipperAccountNumber + { + /// + /// The account number value. Maximum length is 9 .<br>Example: Your account number + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Value { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipperParty.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipperParty.cs new file mode 100644 index 0000000..a67631e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShipperParty.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicate the Shipper contact details for this shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShipperParty + { + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public PartyAddress_2 Address { get; set; } = new PartyAddress_2(); + + [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public PartyContact Contact { get; set; } = new PartyContact(); + + /// + /// This is the tax identification number details. + /// + [Newtonsoft.Json.JsonProperty("tins", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Tins { get; set; } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentDispositionDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentDispositionDetail.cs new file mode 100644 index 0000000..7bf632b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentDispositionDetail.cs @@ -0,0 +1,29 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are document diposition details. Each occurrence of this class specifies a particular way in which a kind of shipping document is to be produced and provided. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShippingDocumentDispositionDetail + { + [Newtonsoft.Json.JsonProperty("eMailDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShippingDocumentEmailDetail EMailDetail { get; set; } + + /// + /// Values in this field specify how to create and return the document.<br>Example:CONFIRMED + /// + [Newtonsoft.Json.JsonProperty("dispositionType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ShippingDocumentDispositionDetailDispositionType? DispositionType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentDispositionDetailDispositionType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentDispositionDetailDispositionType.cs new file mode 100644 index 0000000..5a02187 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentDispositionDetailDispositionType.cs @@ -0,0 +1,32 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ShippingDocumentDispositionDetailDispositionType + { + + [System.Runtime.Serialization.EnumMember(Value = @"CONFIRMED")] + CONFIRMED = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"DEFERRED_QUEUED")] + DEFERRED_QUEUED = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"DEFERRED_RETURNED")] + DEFERRED_RETURNED = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"DEFERRED_STORED")] + DEFERRED_STORED = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"EMAILED")] + EMAILED = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"QUEUED")] + QUEUED = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"RETURNED")] + RETURNED = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"STORED")] + STORED = 7, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailDetail.cs new file mode 100644 index 0000000..faf47b3 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailDetail.cs @@ -0,0 +1,39 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies how to e-mail shipping documents. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShippingDocumentEmailDetail + { + /// + /// Indicates the shipping document email recipients. + /// + [Newtonsoft.Json.JsonProperty("eMailRecipients", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required] + public System.Collections.Generic.ICollection EMailRecipients { get; set; } = new System.Collections.ObjectModel.Collection(); + + /// + /// These are locale details.<br>Example: 'en_US'<br><a onclick='loadDocReference("locales")'>click here to see locales</a><br>Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response. + /// + [Newtonsoft.Json.JsonProperty("locale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Locale { get; set; } + + /// + /// Identifies the convention by which documents are to be grouped as email attachment. + /// + [Newtonsoft.Json.JsonProperty("grouping", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ShippingDocumentEmailDetailGrouping? Grouping { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailDetailGrouping.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailDetailGrouping.cs new file mode 100644 index 0000000..afc968a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailDetailGrouping.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ShippingDocumentEmailDetailGrouping + { + + [System.Runtime.Serialization.EnumMember(Value = @"BY_RECIPIENT")] + BY_RECIPIENT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"NONE")] + NONE = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailRecipient.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailRecipient.cs new file mode 100644 index 0000000..20e6f2a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailRecipient.cs @@ -0,0 +1,30 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShippingDocumentEmailRecipient + { + /// + /// Specifies the email address.<br> Example: email@fedex.com + /// + [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EmailAddress { get; set; } + + /// + /// Specify the email notification recipient type. + /// + [Newtonsoft.Json.JsonProperty("recipientType", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ShippingDocumentEmailRecipientRecipientType RecipientType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailRecipientRecipientType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailRecipientRecipientType.cs new file mode 100644 index 0000000..ffe58fc --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentEmailRecipientRecipientType.cs @@ -0,0 +1,29 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ShippingDocumentEmailRecipientRecipientType + { + + [System.Runtime.Serialization.EnumMember(Value = @"BROKER")] + BROKER = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] + OTHER = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"RECIPIENT")] + RECIPIENT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"SHIPPER")] + SHIPPER = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"THIRD_PARTY")] + THIRD_PARTY = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"OTHER1")] + OTHER1 = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"OTHER2")] + OTHER2 = 6, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormat.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormat.cs new file mode 100644 index 0000000..35b729a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormat.cs @@ -0,0 +1,56 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specify the shipping document format. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShippingDocumentFormat + { + /// + /// For those shipping document types which have both a "form" and "instructions" component (e.g General Agency Agreement), this field indicates whether to provide the instructions.<br>Example: true + /// + [Newtonsoft.Json.JsonProperty("provideInstructions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ProvideInstructions { get; set; } + + [Newtonsoft.Json.JsonProperty("optionsRequested", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DocumentFormatOptionsRequested OptionsRequested { get; set; } + + /// + /// Specifies the label stock type. Lists the correct type of paper for the Freight address label option.Specify valid value PAPER_4_PER_PAGE_PORTRAIT.<br>Example:PAPER_TYPE + /// + [Newtonsoft.Json.JsonProperty("stockType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ShippingDocumentFormatStockType? StockType { get; set; } + + /// + /// Specifies how to create, organize, and return the document + ///
+ ///
+ ///
+ [Newtonsoft.Json.JsonProperty("dispositions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Dispositions { get; set; } + + /// + /// These are locale details.<br>example: 'en_US'<br><a onclick='loadDocReference("locales")'>click here to see Locales</a><br>Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response. + /// + [Newtonsoft.Json.JsonProperty("locale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Locale { get; set; } + + /// + /// Specify the image format used for a shipping document.<br>Example:PDF + /// + [Newtonsoft.Json.JsonProperty("docType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ShippingDocumentFormatDocType? DocType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormatDocType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormatDocType.cs new file mode 100644 index 0000000..af20ad6 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormatDocType.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ShippingDocumentFormatDocType + { + + [System.Runtime.Serialization.EnumMember(Value = @"PDF")] + PDF = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormatStockType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormatStockType.cs new file mode 100644 index 0000000..92bf639 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentFormatStockType.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ShippingDocumentFormatStockType + { + + [System.Runtime.Serialization.EnumMember(Value = @"PAPER_LETTER")] + PAPER_LETTER = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentSpecification.cs new file mode 100644 index 0000000..cc3052e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentSpecification.cs @@ -0,0 +1,46 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Use this object to provide all data required for additional (non-label) shipping documents to be produced. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ShippingDocumentSpecification + { + [Newtonsoft.Json.JsonProperty("generalAgencyAgreementDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public GeneralAgencyAgreementDetail GeneralAgencyAgreementDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("returnInstructionsDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ReturnInstructionsDetail ReturnInstructionsDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("op900Detail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Op900Detail Op900Detail { get; set; } + + [Newtonsoft.Json.JsonProperty("usmcaCertificationOfOriginDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public UsmcaCertificationOfOriginDetail UsmcaCertificationOfOriginDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("usmcaCommercialInvoiceCertificationOfOriginDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public UsmcaCommercialInvoiceCertificationOfOriginDetail UsmcaCommercialInvoiceCertificationOfOriginDetail { get; set; } + + /// + /// Conditionally required in order to obtain shipping documents.Indicates the types of shipping documents requested by the shipper<br>Example:RETURN_INSTRUCTIONS + /// + [Newtonsoft.Json.JsonProperty("shippingDocumentTypes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.ICollection ShippingDocumentTypes { get; set; } + + [Newtonsoft.Json.JsonProperty("certificateOfOrigin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CertificateOfOriginDetail CertificateOfOrigin { get; set; } + + [Newtonsoft.Json.JsonProperty("commercialInvoiceDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CommercialInvoiceDetail CommercialInvoiceDetail { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentTypes.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentTypes.cs new file mode 100644 index 0000000..cf10817 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ShippingDocumentTypes.cs @@ -0,0 +1,50 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum ShippingDocumentTypes + { + + [System.Runtime.Serialization.EnumMember(Value = @"CERTIFICATE_OF_ORIGIN")] + CERTIFICATE_OF_ORIGIN = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_INVOICE")] + COMMERCIAL_INVOICE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM_PACKAGE_DOCUMENT")] + CUSTOM_PACKAGE_DOCUMENT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM_SHIPMENT_DOCUMENT")] + CUSTOM_SHIPMENT_DOCUMENT = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMER_SPECIFIED_LABELS")] + CUSTOMER_SPECIFIED_LABELS = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"EXPORT_DECLARATION")] + EXPORT_DECLARATION = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"GENERAL_AGENCY_AGREEMENT")] + GENERAL_AGENCY_AGREEMENT = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"LABEL")] + LABEL = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN")] + USMCA_CERTIFICATION_OF_ORIGIN = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"OP_900")] + OP_900 = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"PENDING_SHIPMENT_EMAIL_NOTIFICATION")] + PENDING_SHIPMENT_EMAIL_NOTIFICATION = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"PRO_FORMA_INVOICE")] + PRO_FORMA_INVOICE = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"RETURN_INSTRUCTIONS")] + RETURN_INSTRUCTIONS = 12, + + [System.Runtime.Serialization.EnumMember(Value = @"USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN")] + USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 13, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/SignatureOptionDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/SignatureOptionDetail.cs new file mode 100644 index 0000000..9923a89 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/SignatureOptionDetail.cs @@ -0,0 +1,25 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This element specifies Signature option details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class SignatureOptionDetail + { + /// + /// This is release number.<br>Example: 23456 + /// + [Newtonsoft.Json.JsonProperty("signatureReleaseNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SignatureReleaseNumber { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetail.cs new file mode 100644 index 0000000..ac63a06 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetail.cs @@ -0,0 +1,48 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Use this object to specify the smartpost shipment details. <br>Required for SMARTPOST service. If SmartPostInfoDetail is indicated, the elements below it are also required. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class SmartPostInfoDetail + { + /// + /// Required for Presorted Standard but not for returns or parcel select. They are not all usable for all ancillary endorsements.<br>Example: RETURN_SERVICE + /// + [Newtonsoft.Json.JsonProperty("ancillaryEndorsement", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public SmartPostInfoDetailAncillaryEndorsement? AncillaryEndorsement { get; set; } + + /// + /// Required<br>Specify the HubID using the four-digit numeric value.<br>Example: 5015 + /// + [Newtonsoft.Json.JsonProperty("hubId", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string HubId { get; set; } + + /// + /// Specify the indicia type.<br>Available options include:<ul><li>MEDIA_MAIL</li><li>PARCEL_SELECT (1 LB through 70 LB)</li><li>PRESORTED_BOUND_PRINTED_MATTER</li><li>PRESORTED_STANDARD (less than 1 LB)</li><li>PARCEL_RETURN</li></ul>Example:PRESORTED_STANDARD + /// + [Newtonsoft.Json.JsonProperty("indicia", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public SmartPostInfoDetailIndicia Indicia { get; set; } + + /// + /// SmartPost Shipment Special Service Type<br>Example: USPS_DELIVERY_CONFIRMATION + /// + [Newtonsoft.Json.JsonProperty("specialServices", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public SmartPostInfoDetailSpecialServices? SpecialServices { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailAncillaryEndorsement.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailAncillaryEndorsement.cs new file mode 100644 index 0000000..95260ee --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailAncillaryEndorsement.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum SmartPostInfoDetailAncillaryEndorsement + { + + [System.Runtime.Serialization.EnumMember(Value = @"ADDRESS_CORRECTION")] + ADDRESS_CORRECTION = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"CARRIER_LEAVE_IF_NO_RESPONSE")] + CARRIER_LEAVE_IF_NO_RESPONSE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"CHANGE_SERVICE")] + CHANGE_SERVICE = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"FORWARDING_SERVICE")] + FORWARDING_SERVICE = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"RETURN_SERVICE")] + RETURN_SERVICE = 4, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailIndicia.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailIndicia.cs new file mode 100644 index 0000000..a991eb9 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailIndicia.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum SmartPostInfoDetailIndicia + { + + [System.Runtime.Serialization.EnumMember(Value = @"MEDIA_MAIL")] + MEDIA_MAIL = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"PARCEL_RETURN")] + PARCEL_RETURN = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"PARCEL_SELECT")] + PARCEL_SELECT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"PRESORTED_BOUND_PRINTED_MATTER")] + PRESORTED_BOUND_PRINTED_MATTER = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"PRESORTED_STANDARD")] + PRESORTED_STANDARD = 4, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailSpecialServices.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailSpecialServices.cs new file mode 100644 index 0000000..c8d6473 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/SmartPostInfoDetailSpecialServices.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum SmartPostInfoDetailSpecialServices + { + + [System.Runtime.Serialization.EnumMember(Value = @"USPS_DELIVERY_CONFIRMATION")] + USPS_DELIVERY_CONFIRMATION = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/SoldToParty.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/SoldToParty.cs new file mode 100644 index 0000000..8484eb9 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/SoldToParty.cs @@ -0,0 +1,28 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Will indicate the party responsible for purchasing the goods shipped from the shipper to the recipient. The sold to party is not necessarily the recipient or the importer of record. The sold to party is relevant when the purchaser, rather than the recipient determines when certain customs regulations apply. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class SoldToParty + { + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PartyAddress Address { get; set; } + + [Newtonsoft.Json.JsonProperty("contact", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PartyContact Contact { get; set; } + + /// + /// Used for adding the tax id + /// + [Newtonsoft.Json.JsonProperty("tins", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Tins { get; set; } + + /// + /// Identification of a specific FedEx customer account. + /// + [Newtonsoft.Json.JsonProperty("accountNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PartyAccountNumber AccountNumber { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/StandaloneBatteryDetails.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/StandaloneBatteryDetails.cs new file mode 100644 index 0000000..b0831de --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/StandaloneBatteryDetails.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class StandaloneBatteryDetails + { + /// + /// Describes the material composition of the battery or cell. + /// + [Newtonsoft.Json.JsonProperty("batteryMaterialType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public StandaloneBatteryDetailsBatteryMaterialType? BatteryMaterialType { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/StandaloneBatteryDetailsBatteryMaterialType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/StandaloneBatteryDetailsBatteryMaterialType.cs new file mode 100644 index 0000000..56fa204 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/StandaloneBatteryDetailsBatteryMaterialType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum StandaloneBatteryDetailsBatteryMaterialType + { + + [System.Runtime.Serialization.EnumMember(Value = @"LITHIUM_METAL")] + LITHIUM_METAL = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"LITHIUM_ION")] + LITHIUM_ION = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/StringBarcode.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/StringBarcode.cs new file mode 100644 index 0000000..fb45a4f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/StringBarcode.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Each instance of this data type represents a barcode whose content must be represented as ASCII text (i.e. not binary data). + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class StringBarcode + { + /// + /// The kind of barcode data in this instance. example valid values are:<br>ADDRESS - Represents the recipient address<br>GROUND - FedEx Ground parcel barcode<br>Example: ADDRESS + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + /// + /// This is the value.<br>Example: 1010062512241535917900794953544894 + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Value { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Surcharge.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Surcharge.cs new file mode 100644 index 0000000..bea9f7d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Surcharge.cs @@ -0,0 +1,43 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are surcharges details.<br><a onclick='loadDocReference("surcharges")'>click here to see Surcharges</a> + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Surcharge + { + /// + /// This is the surcharge amount.<br>Example: 15.35 + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Amount { get; set; } + + /// + /// This is the surcharge type.<br>Example: APPOINTMENT_DELIVERY + /// + [Newtonsoft.Json.JsonProperty("surchargeType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SurchargeType { get; set; } + + /// + /// Specifies if the surcharge applies to the entire shipment, or to an individual package.<br>Example: PACKAGE + /// + [Newtonsoft.Json.JsonProperty("level", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Level { get; set; } + + /// + /// Specifies the description of the surcharge. Indicates delivery and returns information for FedEx Ground Economy services. <br>Example: Fuel Surcharge + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Tax.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Tax.cs new file mode 100644 index 0000000..4b4c528 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Tax.cs @@ -0,0 +1,43 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies the tax for the shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Tax + { + /// + /// Indicates the amount of tax.<br>Example: 10.0 + /// + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } + + /// + /// Indicates the Level of Tax.<br>Example: level + /// + [Newtonsoft.Json.JsonProperty("level", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Level { get; set; } + + /// + /// Placeholder for the tax description.<br>Example: descrption + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// Placeholder for the Type of the Tax.<br>Example:type + /// + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/TaxpayerIdentification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/TaxpayerIdentification.cs new file mode 100644 index 0000000..e77bda9 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/TaxpayerIdentification.cs @@ -0,0 +1,40 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class TaxpayerIdentification + { + /// + /// Specify tax ID number. Maximum length is 18. <br>Example: 123567 + /// + [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Number { get; set; } + + /// + /// Identifies the type of Tax Identification Number in Shipment processing.<br>Example: FEDERAL + /// + [Newtonsoft.Json.JsonProperty("tinType", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public TaxpayerIdentificationTinType TinType { get; set; } + + /// + /// Identifies the usage of Tax Identification Number in Shipment processing.<br>Example: usage + /// + [Newtonsoft.Json.JsonProperty("usage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Usage { get; set; } + + /// + /// Effective Date. FORMAT[YYYY-MM-DD] <br>Example: 2024-06-13 + /// + [Newtonsoft.Json.JsonProperty("effectiveDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EffectiveDate { get; set; } + + /// + /// Expiration Date. FORMAT[YYYY-MM-DD]<br>Example: 2024-06-13 + /// + [Newtonsoft.Json.JsonProperty("expirationDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ExpirationDate { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/TaxpayerIdentificationTinType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/TaxpayerIdentificationTinType.cs new file mode 100644 index 0000000..b9580c7 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/TaxpayerIdentificationTinType.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum TaxpayerIdentificationTinType + { + + [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_NATIONAL")] + PERSONAL_NATIONAL = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_STATE")] + PERSONAL_STATE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"FEDERAL")] + FEDERAL = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"BUSINESS_NATIONAL")] + BUSINESS_NATIONAL = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"BUSINESS_STATE")] + BUSINESS_STATE = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"BUSINESS_UNION")] + BUSINESS_UNION = 5, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/TrackingId.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/TrackingId.cs new file mode 100644 index 0000000..a305272 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/TrackingId.cs @@ -0,0 +1,43 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicates the tracking details of the package. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class TrackingId + { + /// + /// This is FedEx tracking Identifier associated with the package.<br>Example: 8600 + /// + [Newtonsoft.Json.JsonProperty("formId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FormId { get; set; } + + /// + /// Specify the FedEx transportation type. <br>Example: EXPRESS + /// + [Newtonsoft.Json.JsonProperty("trackingIdType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TrackingIdType { get; set; } + + /// + /// Specify the USPS tracking Identifier associated with FedEx SmartPost shipment.<br>Example: 92 + /// + [Newtonsoft.Json.JsonProperty("uspsApplicationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string UspsApplicationId { get; set; } + + /// + /// This is the number associated with the package that is used to track it. <br>Example: 49XXX0000XXX20032835 + /// + [Newtonsoft.Json.JsonProperty("trackingNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TrackingNumber { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/TransactionDetailVO.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/TransactionDetailVO.cs new file mode 100644 index 0000000..5a000ac --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/TransactionDetailVO.cs @@ -0,0 +1,28 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class TransactionDetailVO + { + /// + /// Includes data returned which governs data payload language/translations. The TransactionDetail from the request is echoed back to the caller in the corresponding reply.<br>Example: transactionDetails + /// + [Newtonsoft.Json.JsonProperty("transactionDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TransactionDetails { get; set; } + + /// + /// This element has a unique identifier added in your request, helps you match the request to the reply. Maximum of 40 characters allowed.<br>Example: XXXX_XXX123XXXXX. + /// + [Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TransactionId { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/TransactionShipmentOutputVO.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/TransactionShipmentOutputVO.cs new file mode 100644 index 0000000..09c1bf8 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/TransactionShipmentOutputVO.cs @@ -0,0 +1,64 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies shipping transaction output details + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class TransactionShipmentOutputVO + { + /// + /// Indicate the FedEx serviceType used for this shipment. The results will be filtered by the serviceType value indicated.<br>Example: STANDARD_OVERNIGHT<br><a onclick='loadDocReference("servicetypes")'>click here to see Service Types</a> + /// + [Newtonsoft.Json.JsonProperty("serviceType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ServiceType { get; set; } + + /// + /// This is the shipment date. Default value is current date in case the date is not provided or a past date is provided.<br>Format [YYYY-MM-DD].<br>Example: 2019-10-14 + /// + [Newtonsoft.Json.JsonProperty("shipDatestamp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ShipDatestamp { get; set; } + + /// + /// Indicates the Service Category.<br>Example: EXPRESS + /// + [Newtonsoft.Json.JsonProperty("serviceCategory", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ServiceCategory { get; set; } + + /// + /// These are shipping document details. + /// + [Newtonsoft.Json.JsonProperty("shipmentDocuments", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection ShipmentDocuments { get; set; } + + /// + /// Specifies the information about the pieces, received in the response. + /// + [Newtonsoft.Json.JsonProperty("pieceResponses", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection PieceResponses { get; set; } + + /// + /// This is the service name associated with the shipment.<br>Example: FedEx Ground + /// + [Newtonsoft.Json.JsonProperty("serviceName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ServiceName { get; set; } + + /// + /// These are alert details received in the response. + /// + [Newtonsoft.Json.JsonProperty("alerts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Alerts { get; set; } + + [Newtonsoft.Json.JsonProperty("completedShipmentDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CompletedShipmentDetail CompletedShipmentDetail { get; set; } + + [Newtonsoft.Json.JsonProperty("shipmentAdvisoryDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShipmentAdvisoryDetails ShipmentAdvisoryDetails { get; set; } + + /// + /// This is a master tracking number for the shipment (must be unique for stand-alone open shipments, or unique within consolidation if consolidation key is provided).<br>Example: 794953535000 + /// + [Newtonsoft.Json.JsonProperty("masterTrackingNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string MasterTrackingNumber { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Types.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Types.cs new file mode 100644 index 0000000..19b3da1 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Types.cs @@ -0,0 +1,86 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum Types + { + + [System.Runtime.Serialization.EnumMember(Value = @"ANTIQUE_STATEMENT_EUROPEAN_UNION")] + ANTIQUE_STATEMENT_EUROPEAN_UNION = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"ANTIQUE_STATEMENT_UNITED_STATES")] + ANTIQUE_STATEMENT_UNITED_STATES = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"ASSEMBLER_DECLARATION")] + ASSEMBLER_DECLARATION = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"BEARING_WORKSHEET")] + BEARING_WORKSHEET = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"CERTIFICATE_OF_SHIPMENTS_TO_SYRIA")] + CERTIFICATE_OF_SHIPMENTS_TO_SYRIA = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_INVOICE_FOR_THE_CARIBBEAN_COMMON_MARKET")] + COMMERCIAL_INVOICE_FOR_THE_CARIBBEAN_COMMON_MARKET = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"CONIFEROUS_SOLID_WOOD_PACKAGING_MATERIAL_TO_THE_PEOPLES_REPUBLIC_OF_CHINA")] + CONIFEROUS_SOLID_WOOD_PACKAGING_MATERIAL_TO_THE_PEOPLES_REPUBLIC_OF_CHINA = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"DECLARATION_FOR_FREE_ENTRY_OF_RETURNED_AMERICAN_PRODUCTS")] + DECLARATION_FOR_FREE_ENTRY_OF_RETURNED_AMERICAN_PRODUCTS = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"DECLARATION_OF_BIOLOGICAL_STANDARDS")] + DECLARATION_OF_BIOLOGICAL_STANDARDS = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"DECLARATION_OF_IMPORTED_ELECTRONIC_PRODUCTS_SUBJECT_TO_RADIATION_CONTROL_STANDARD")] + DECLARATION_OF_IMPORTED_ELECTRONIC_PRODUCTS_SUBJECT_TO_RADIATION_CONTROL_STANDARD = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET")] + ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"FILM_AND_VIDEO_CERTIFICATE")] + FILM_AND_VIDEO_CERTIFICATE = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"INTERIM_FOOTWEAR_INVOICE")] + INTERIM_FOOTWEAR_INVOICE = 12, + + [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN_CANADA_ENGLISH")] + USMCA_CERTIFICATION_OF_ORIGIN_CANADA_ENGLISH = 13, + + [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN_CANADA_FRENCH")] + USMCA_CERTIFICATION_OF_ORIGIN_CANADA_FRENCH = 14, + + [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN_SPANISH")] + USMCA_CERTIFICATION_OF_ORIGIN_SPANISH = 15, + + [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN_UNITED_STATES")] + USMCA_CERTIFICATION_OF_ORIGIN_UNITED_STATES = 16, + + [System.Runtime.Serialization.EnumMember(Value = @"PACKING_LIST")] + PACKING_LIST = 17, + + [System.Runtime.Serialization.EnumMember(Value = @"PRINTED_CIRCUIT_BOARD_WORKSHEET")] + PRINTED_CIRCUIT_BOARD_WORKSHEET = 18, + + [System.Runtime.Serialization.EnumMember(Value = @"REPAIRED_WATCH_BREAKOUT_WORKSHEET")] + REPAIRED_WATCH_BREAKOUT_WORKSHEET = 19, + + [System.Runtime.Serialization.EnumMember(Value = @"STATEMENT_REGARDING_THE_IMPORT_OF_RADIO_FREQUENCY_DEVICES")] + STATEMENT_REGARDING_THE_IMPORT_OF_RADIO_FREQUENCY_DEVICES = 20, + + [System.Runtime.Serialization.EnumMember(Value = @"TOXIC_SUBSTANCES_CONTROL_ACT")] + TOXIC_SUBSTANCES_CONTROL_ACT = 21, + + [System.Runtime.Serialization.EnumMember(Value = @"UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES")] + UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES = 22, + + [System.Runtime.Serialization.EnumMember(Value = @"UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_NON_TEXTILES")] + UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_NON_TEXTILES = 23, + + [System.Runtime.Serialization.EnumMember(Value = @"UNITED_STATES_NEW_WATCH_WORKSHEET")] + UNITED_STATES_NEW_WATCH_WORKSHEET = 24, + + [System.Runtime.Serialization.EnumMember(Value = @"UNITED_STATES_WATCH_REPAIR_DECLARATION")] + UNITED_STATES_WATCH_REPAIR_DECLARATION = 25, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail.cs new file mode 100644 index 0000000..209bdf7 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail.cs @@ -0,0 +1,35 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specify the document upload reference details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class UploadDocumentReferenceDetail + { + /// + /// Returns the type of document (if any) specified in the ship shipment request.<br>Example: PRO_FORMA_INVOICE + /// + [Newtonsoft.Json.JsonProperty("documentType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public UploadDocumentReferenceDetailDocumentType? DocumentType { get; set; } + + /// + /// Specify the reference for the uploaded document.This is for the customer to reference their uploaded docs when they retrieve them. Could be anything, order number, po number, whatever the customer used to tie the document to something they would use.<br>Note: Ensure to supply document references in case of Pre-Shipment document upload.</br><br>Example: Reference + /// + [Newtonsoft.Json.JsonProperty("documentReference", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DocumentReference { get; set; } + + /// + /// Specify additional information about the uploaded document for better understanding.<br>Example: Certificate of Origin is uploaded for country of manufacturing verification. + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// This is the uploaded document ID value.<br>Example: 090927d680038c61 + /// + [Newtonsoft.Json.JsonProperty("documentId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DocumentId { get; set; } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetailDocumentType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetailDocumentType.cs new file mode 100644 index 0000000..1f9286a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetailDocumentType.cs @@ -0,0 +1,29 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum UploadDocumentReferenceDetailDocumentType + { + + [System.Runtime.Serialization.EnumMember(Value = @"CERTIFICATE_OF_ORIGIN")] + CERTIFICATE_OF_ORIGIN = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_INVOICE")] + COMMERCIAL_INVOICE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"ETD_LABEL")] + ETD_LABEL = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN")] + USMCA_CERTIFICATION_OF_ORIGIN = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] + OTHER = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"PRO_FORMA_INVOICE")] + PRO_FORMA_INVOICE = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN")] + USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 6, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail_1.cs new file mode 100644 index 0000000..f39ab92 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail_1.cs @@ -0,0 +1,44 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specify the document upload reference details. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class UploadDocumentReferenceDetail_1 + { + /// + /// This is the uploaded document type. + /// + [Newtonsoft.Json.JsonProperty("documentType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public UploadDocumentReferenceDetail_1DocumentType? DocumentType { get; set; } + + /// + /// Specify the reference for the uploaded document.<br>Example: Reference + /// + [Newtonsoft.Json.JsonProperty("documentReference", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DocumentReference { get; set; } + + /// + /// This is the document description of the attached document.<br>Example: PRO FORMA INVOICE + /// + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// This is the uploaded document ID value.<br>Example: 090927d680038c61 + /// + [Newtonsoft.Json.JsonProperty("documentId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DocumentId { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail_1DocumentType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail_1DocumentType.cs new file mode 100644 index 0000000..90ab57a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/UploadDocumentReferenceDetail_1DocumentType.cs @@ -0,0 +1,32 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum UploadDocumentReferenceDetail_1DocumentType + { + + [System.Runtime.Serialization.EnumMember(Value = @"CERTIFICATE_OF_ORIGIN")] + CERTIFICATE_OF_ORIGIN = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_INVOICE")] + COMMERCIAL_INVOICE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"ETD_LABEL")] + ETD_LABEL = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"USMCA_CERTIFICATION_OF_ORIGIN")] + USMCA_CERTIFICATION_OF_ORIGIN = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"NET_RATE_SHEET")] + NET_RATE_SHEET = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] + OTHER = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"PRO_FORMA_INVOICE")] + PRO_FORMA_INVOICE = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN")] + USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 7, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetail.cs new file mode 100644 index 0000000..423f9db --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetail.cs @@ -0,0 +1,61 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// The instructions indicating how to print the USMCA Certificate of Origin (e.g. whether or not to include the instructions, image type, etc ...). + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class UsmcaCertificationOfOriginDetail + { + /// + /// Specifies the usage and identification of customer supplied images to be used on this document. + /// + [Newtonsoft.Json.JsonProperty("customerImageUsages", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection CustomerImageUsages { get; set; } + + [Newtonsoft.Json.JsonProperty("documentFormat", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShippingDocumentFormat DocumentFormat { get; set; } + + /// + /// This is certifier specification. + /// + [Newtonsoft.Json.JsonProperty("certifierSpecification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public UsmcaCertificationOfOriginDetailCertifierSpecification? CertifierSpecification { get; set; } + + /// + /// This is importer specification. + /// + [Newtonsoft.Json.JsonProperty("importerSpecification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public UsmcaCertificationOfOriginDetailImporterSpecification? ImporterSpecification { get; set; } + + /// + /// This is producer specification. + /// + [Newtonsoft.Json.JsonProperty("producerSpecification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public UsmcaCertificationOfOriginDetailProducerSpecification? ProducerSpecification { get; set; } + + [Newtonsoft.Json.JsonProperty("producer", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Party_3 Producer { get; set; } + + [Newtonsoft.Json.JsonProperty("blanketPeriod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public RetrieveDateRange BlanketPeriod { get; set; } + + /// + /// Specify the job title of the certifier + /// + [Newtonsoft.Json.JsonProperty("certifierJobTitle", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CertifierJobTitle { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailCertifierSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailCertifierSpecification.cs new file mode 100644 index 0000000..2e11d25 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailCertifierSpecification.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum UsmcaCertificationOfOriginDetailCertifierSpecification + { + + [System.Runtime.Serialization.EnumMember(Value = @"EXPORTER")] + EXPORTER = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"IMPORTER")] + IMPORTER = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"PRODUCER")] + PRODUCER = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailImporterSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailImporterSpecification.cs new file mode 100644 index 0000000..b06f798 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailImporterSpecification.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum UsmcaCertificationOfOriginDetailImporterSpecification + { + + [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] + UNKNOWN = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"VARIOUS")] + VARIOUS = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailProducerSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailProducerSpecification.cs new file mode 100644 index 0000000..1573bfa --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCertificationOfOriginDetailProducerSpecification.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum UsmcaCertificationOfOriginDetailProducerSpecification + { + + [System.Runtime.Serialization.EnumMember(Value = @"AVAILABLE_UPON_REQUEST")] + AVAILABLE_UPON_REQUEST = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"VARIOUS")] + VARIOUS = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"SAME_AS_EXPORTER")] + SAME_AS_EXPORTER = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetail.cs new file mode 100644 index 0000000..5431335 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetail.cs @@ -0,0 +1,58 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// The instructions indicating commercial invoice certification of origin. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class UsmcaCommercialInvoiceCertificationOfOriginDetail + { + /// + /// Specifies the usage and identification of customer supplied images to be used on this document. + /// + [Newtonsoft.Json.JsonProperty("customerImageUsages", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection CustomerImageUsages { get; set; } + + [Newtonsoft.Json.JsonProperty("documentFormat", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ShippingDocumentFormat DocumentFormat { get; set; } + + /// + /// This is certifier specification. + /// + [Newtonsoft.Json.JsonProperty("certifierSpecification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public UsmcaCommercialInvoiceCertificationOfOriginDetailCertifierSpecification? CertifierSpecification { get; set; } + + /// + /// This is importer specification. + /// + [Newtonsoft.Json.JsonProperty("importerSpecification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public UsmcaCommercialInvoiceCertificationOfOriginDetailImporterSpecification? ImporterSpecification { get; set; } + + /// + /// This is producer specification. + /// + [Newtonsoft.Json.JsonProperty("producerSpecification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public UsmcaCommercialInvoiceCertificationOfOriginDetailProducerSpecification? ProducerSpecification { get; set; } + + [Newtonsoft.Json.JsonProperty("producer", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Party_3 Producer { get; set; } + + /// + /// Specify the job title of the certifier + /// + [Newtonsoft.Json.JsonProperty("certifierJobTitle", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CertifierJobTitle { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailCertifierSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailCertifierSpecification.cs new file mode 100644 index 0000000..d7431e3 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailCertifierSpecification.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum UsmcaCommercialInvoiceCertificationOfOriginDetailCertifierSpecification + { + + [System.Runtime.Serialization.EnumMember(Value = @"EXPORTER")] + EXPORTER = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"IMPORTER")] + IMPORTER = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"PRODUCER")] + PRODUCER = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailImporterSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailImporterSpecification.cs new file mode 100644 index 0000000..0e7aeba --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailImporterSpecification.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum UsmcaCommercialInvoiceCertificationOfOriginDetailImporterSpecification + { + + [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] + UNKNOWN = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"VARIOUS")] + VARIOUS = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailProducerSpecification.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailProducerSpecification.cs new file mode 100644 index 0000000..737c33d --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaCommercialInvoiceCertificationOfOriginDetailProducerSpecification.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum UsmcaCommercialInvoiceCertificationOfOriginDetailProducerSpecification + { + + [System.Runtime.Serialization.EnumMember(Value = @"AVAILABLE_UPON_REQUEST")] + AVAILABLE_UPON_REQUEST = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"VARIOUS")] + VARIOUS = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"SAME_AS_EXPORTER")] + SAME_AS_EXPORTER = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaDetail.cs new file mode 100644 index 0000000..e98f9f5 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaDetail.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicates the USMCA detail + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class UsmcaDetail + { + /// + /// Specify the origin criterion. + /// + [Newtonsoft.Json.JsonProperty("originCriterion", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public UsmcaDetailOriginCriterion? OriginCriterion { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaDetailOriginCriterion.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaDetailOriginCriterion.cs new file mode 100644 index 0000000..0e53c0a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaDetailOriginCriterion.cs @@ -0,0 +1,23 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum UsmcaDetailOriginCriterion + { + + [System.Runtime.Serialization.EnumMember(Value = @"A")] + A = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"B")] + B = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"C")] + C = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"D")] + D = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"E")] + E = 4, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaLowValueStatementDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaLowValueStatementDetail.cs new file mode 100644 index 0000000..885bca8 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaLowValueStatementDetail.cs @@ -0,0 +1,33 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specify the low Value statement necessary for printing the USMCA for Customs documentation. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class UsmcaLowValueStatementDetail + { + /// + /// Specify the country Of Origin of Low Value Document for Customs declaration.<br>Example:true + /// + [Newtonsoft.Json.JsonProperty("countryOfOriginLowValueDocumentRequested", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? CountryOfOriginLowValueDocumentRequested { get; set; } + + /// + /// Customs Role Type.<br>Example: EXPORTER + /// + [Newtonsoft.Json.JsonProperty("customsRole", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public UsmcaLowValueStatementDetailCustomsRole CustomsRole { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaLowValueStatementDetailCustomsRole.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaLowValueStatementDetailCustomsRole.cs new file mode 100644 index 0000000..2d8fc8b --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/UsmcaLowValueStatementDetailCustomsRole.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum UsmcaLowValueStatementDetailCustomsRole + { + + [System.Runtime.Serialization.EnumMember(Value = @"EXPORTER")] + EXPORTER = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"IMPORTER")] + IMPORTER = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousCommodityContent.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousCommodityContent.cs new file mode 100644 index 0000000..74c1870 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousCommodityContent.cs @@ -0,0 +1,40 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These the details on the kind and quantity of an individual hazardous commodity in a package. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ValidatedHazardousCommodityContent + { + /// + /// Indicates hazardous commodity quantity details. + /// + [Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public HazardousCommodityQuantityDetail Quantity { get; set; } + + [Newtonsoft.Json.JsonProperty("options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public HazardousCommodityContent001 Options { get; set; } + + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ValidatedHazardousCommodityDescription Description { get; set; } + + [Newtonsoft.Json.JsonProperty("netExplosiveDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public NetExplosiveDetail NetExplosiveDetail { get; set; } + + /// + /// The mass points are a calculation used by ADR regulations for measuring the risk of a particular hazardous commodity.<br>Example: 2.0 + /// + [Newtonsoft.Json.JsonProperty("massPoints", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? MassPoints { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousCommodityDescription.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousCommodityDescription.cs new file mode 100644 index 0000000..2becb4f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousCommodityDescription.cs @@ -0,0 +1,109 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Identifies and describes an individual hazardous commodity. For 201001 load, this is based on data from the FedEx Ground Hazardous Materials Shipping Guide. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ValidatedHazardousCommodityDescription + { + /// + /// In conjunction with the regulatory identifier, this field uniquely identifies a specific hazardous materials commodity.<br>Example: 876 + /// + [Newtonsoft.Json.JsonProperty("sequenceNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? SequenceNumber { get; set; } + + /// + /// Specifies Packing Instructions.<br>Example: packingInstructions + /// + [Newtonsoft.Json.JsonProperty("packingInstructions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PackingInstructions { get; set; } + + /// + /// Specifies subsidiary Classes.<br>Example:["Subsidiary Classes"] + /// + [Newtonsoft.Json.JsonProperty("subsidiaryClasses", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection SubsidiaryClasses { get; set; } + + /// + /// Specifies Hazard Label Text.<br>Example: labelText + /// + [Newtonsoft.Json.JsonProperty("labelText", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LabelText { get; set; } + + /// + /// There are five categories of tunnel categorization with A representing the least restrictive and E as the most restrictive. Category A, as the least restrictive, will not be sign-posted. Category E, the most restrictive, only allows the passage of UN2919, UN3291, UN3331, UN3359 and UN3373.<br>Example: UN2919 + /// + [Newtonsoft.Json.JsonProperty("tunnelRestrictionCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TunnelRestrictionCode { get; set; } + + /// + /// Specifies Special Provisions if any.<br>Example: specialProvisions + /// + [Newtonsoft.Json.JsonProperty("specialProvisions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SpecialProvisions { get; set; } + + /// + /// Fully-expanded descriptive text for a hazardous commodity.<br>Example: properShippingNameAndDescription + /// + [Newtonsoft.Json.JsonProperty("properShippingNameAndDescription", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ProperShippingNameAndDescription { get; set; } + + /// + /// Specifies Technical Name.<br>Example: technicalName + /// + [Newtonsoft.Json.JsonProperty("technicalName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TechnicalName { get; set; } + + /// + /// Specifies Symbols.<br>Example: symbols + /// + [Newtonsoft.Json.JsonProperty("symbols", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Symbols { get; set; } + + /// + /// Information related to quantity limitations and operator or state variations as may be applicable to the dangerous goods commodity. + /// + [Newtonsoft.Json.JsonProperty("authorization", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Authorization { get; set; } + + /// + /// Specifies attributes.<br>Example: ["attributes"] + /// + [Newtonsoft.Json.JsonProperty("attributes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Attributes { get; set; } + + /// + /// Specifies the Identification.<br>Example: 1234 + /// + [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Id { get; set; } + + /// + /// Specifies packing Group.<br>Example: Packing Group + /// + [Newtonsoft.Json.JsonProperty("packingGroup", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PackingGroup { get; set; } + + /// + /// Specifies Proper Shipping Name.<br>Example: Proper Shipping Name + /// + [Newtonsoft.Json.JsonProperty("properShippingName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ProperShippingName { get; set; } + + /// + /// Specifies hazard class.<br>Example: Hazard Class + /// + [Newtonsoft.Json.JsonProperty("hazardClass", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string HazardClass { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousContainer.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousContainer.cs new file mode 100644 index 0000000..66c85a2 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/ValidatedHazardousContainer.cs @@ -0,0 +1,31 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Specifies the details of a container used to package dangerous goods commodities. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ValidatedHazardousContainer + { + /// + /// Indicates that the quantity of the dangerous goods packaged is permissible for shipping. This is used to ensure that the dangerous goods commodities do not exceed the net quantity per package restrictions.<br>Example: 2.0 + /// + [Newtonsoft.Json.JsonProperty("QValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? QValue { get; set; } + + /// + /// Indicates the details of the hazardous commodities in the completed package. + /// + [Newtonsoft.Json.JsonProperty("hazardousCommodities", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection HazardousCommodities { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetail.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetail.cs new file mode 100644 index 0000000..45270d5 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetail.cs @@ -0,0 +1,52 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// Indicate the details about how to calculate variable handling charges at the shipment level. They can be based on a percentage of the shipping charges or a fixed amount. If indicated, element rateLevelType is required. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class VariableHandlingChargeDetail + { + /// + /// The rate type indicates what type of rate request is being returned; account, preferred, incentive, etc<br>Example: PREFERRED_CURRENCY + /// + [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public VariableHandlingChargeDetailRateType? RateType { get; set; } + + /// + /// This is the variable handling percentage. If the percent value is mentioned as 10, it means 10%(multiplier of 0.1).<br>Example: 12.45 + /// + [Newtonsoft.Json.JsonProperty("percentValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? PercentValue { get; set; } + + /// + /// indicates whether or not the rating is being done at the package level, or if the packages are bundled together. At the package level, charges are applied based on the details of each individual package. If they are bundled, one package is chosen as the parent and charges are applied based on that one package.<br>Example: INDIVIDUAL_PACKAGE_RATE + /// + [Newtonsoft.Json.JsonProperty("rateLevelType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public VariableHandlingChargeDetailRateLevelType? RateLevelType { get; set; } + + /// + /// This is to specify a fixed handling charge on the shipment. The element allows entry of 7 characters before the decimal and 2 characters following the decimal. <br>Example: 5.00. + /// + [Newtonsoft.Json.JsonProperty("fixedValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public FixedValue FixedValue { get; set; } + + /// + /// Specify the charge type upon which the variable handling percentage amount is calculated. + /// + [Newtonsoft.Json.JsonProperty("rateElementBasis", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public VariableHandlingChargeDetailRateElementBasis? RateElementBasis { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateElementBasis.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateElementBasis.cs new file mode 100644 index 0000000..f73027e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateElementBasis.cs @@ -0,0 +1,20 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum VariableHandlingChargeDetailRateElementBasis + { + + [System.Runtime.Serialization.EnumMember(Value = @"NET_CHARGE")] + NET_CHARGE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"NET_FREIGHT")] + NET_FREIGHT = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"BASE_CHARGE")] + BASE_CHARGE = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"NET_CHARGE_EXCLUDING_TAXES")] + NET_CHARGE_EXCLUDING_TAXES = 3, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateLevelType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateLevelType.cs new file mode 100644 index 0000000..d90deec --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateLevelType.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum VariableHandlingChargeDetailRateLevelType + { + + [System.Runtime.Serialization.EnumMember(Value = @"BUNDLED_RATE")] + BUNDLED_RATE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"INDIVIDUAL_PACKAGE_RATE")] + INDIVIDUAL_PACKAGE_RATE = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateType.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateType.cs new file mode 100644 index 0000000..ea9c984 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/VariableHandlingChargeDetailRateType.cs @@ -0,0 +1,35 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum VariableHandlingChargeDetailRateType + { + + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT")] + ACCOUNT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"ACTUAL")] + ACTUAL = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"CURRENT")] + CURRENT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOM")] + CUSTOM = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"LIST")] + LIST = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"INCENTIVE")] + INCENTIVE = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED")] + PREFERRED = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED_INCENTIVE")] + PREFERRED_INCENTIVE = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"PREFERRED_CURRENCY")] + PREFERRED_CURRENCY = 8, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight.cs new file mode 100644 index 0000000..1d9b5c4 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight.cs @@ -0,0 +1,33 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are the package weight details.<br>Note: Weight is not required for One rate shipments + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Weight + { + /// + /// Specifies the package weight unit type.<br>Example:KG + /// + [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public WeightUnits Units { get; set; } + + /// + /// Weight Value.<br> Example: 68.25<br><a href='https://developer.fedex.com/api/en-us/guides/api-reference.html#packagetypes' target='_blank'>Click here to see Weight Values</a>. + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Always)] + public decimal Value { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/WeightUnits.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/WeightUnits.cs new file mode 100644 index 0000000..4e9ecb8 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/WeightUnits.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum WeightUnits + { + + [System.Runtime.Serialization.EnumMember(Value = @"KG")] + KG = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"LB")] + LB = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_1.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_1.cs new file mode 100644 index 0000000..c7380d3 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_1.cs @@ -0,0 +1,32 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// This is the total dry ice weight in all the packages of the shipment. + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Weight_1 + { + /// + /// For the Dry Ice weight in the shipment the unit of measure must be KG. + /// + [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Weight_1Units? Units { get; set; } + + /// + /// Weight Value.<br> Example: 68.25<br><a href='https://developer.fedex.com/api/en-us/guides/api-reference.html#packagetypes' target='_blank'>Click here to see Weight Values</a>. + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Value { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_1Units.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_1Units.cs new file mode 100644 index 0000000..00c07ee --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_1Units.cs @@ -0,0 +1,14 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum Weight_1Units + { + + [System.Runtime.Serialization.EnumMember(Value = @"KG")] + KG = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"LB")] + LB = 1, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_3.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_3.cs new file mode 100644 index 0000000..4c2d194 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_3.cs @@ -0,0 +1,33 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// These are the package weight details.<br>Note: Weight is not required for One rate shipments + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Weight_3 + { + /// + /// Indicate the weight unit type. The package and commodity weight unit should be the same else the request will result in an error.<br>Example:KG + /// + [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Weight_3Units Units { get; set; } + + /// + /// Weight Value.<br> Example: 68.25<br> + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Always)] + public double Value { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_3Units.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_3Units.cs new file mode 100644 index 0000000..2670dc0 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_3Units.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum Weight_3Units + { + + [System.Runtime.Serialization.EnumMember(Value = @"KG")] + KG = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_4.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_4.cs new file mode 100644 index 0000000..b371f51 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_4.cs @@ -0,0 +1,33 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + /// + /// It is the total weight of the commodity.<br>Note: Weight is not required for One rate shipments + /// + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class Weight_4 + { + /// + /// Indicate the weight unit type. The package and commodity weight unit should be the same else the request will result in an error. + /// + [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Always)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Weight_4Units Units { get; set; } + + /// + /// Weight Value.<br> Example: 68.25 + /// + [Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Always)] + public double Value { get; set; } + + private System.Collections.Generic.IDictionary _additionalProperties; + + [Newtonsoft.Json.JsonExtensionData] + public System.Collections.Generic.IDictionary AdditionalProperties + { + get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } + set { _additionalProperties = value; } + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_4Units.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_4Units.cs new file mode 100644 index 0000000..89da863 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/Weight_4Units.cs @@ -0,0 +1,11 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum Weight_4Units + { + + [System.Runtime.Serialization.EnumMember(Value = @"KG")] + KG = 0, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/options2.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/options2.cs new file mode 100644 index 0000000..a0da8c8 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/options2.cs @@ -0,0 +1,17 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum options2 + { + + [System.Runtime.Serialization.EnumMember(Value = @"SHIPPING_LABEL_FIRST")] + SHIPPING_LABEL_FIRST = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"SHIPPING_LABEL_LAST")] + SHIPPING_LABEL_LAST = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"SUPPRESS_ADDITIONAL_LANGUAGES")] + SUPPRESS_ADDITIONAL_LANGUAGES = 2, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Models/Ship/options3.cs b/TradeManageNew/APIClients/FedexApi/Models/Ship/options3.cs new file mode 100644 index 0000000..92ee067 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Models/Ship/options3.cs @@ -0,0 +1,26 @@ +namespace TradeManageNew.APIClients.FedexApi.Models.Ship +{ + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public enum options3 + { + + [System.Runtime.Serialization.EnumMember(Value = @"HAZARDOUS_MATERIALS")] + HAZARDOUS_MATERIALS = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"BATTERY")] + BATTERY = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"ORM_D")] + ORM_D = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"REPORTABLE_QUANTITIES")] + REPORTABLE_QUANTITIES = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"SMALL_QUANTITY_EXCEPTION")] + SMALL_QUANTITY_EXCEPTION = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"LIMITED_QUANTITIES_COMMODITIES")] + LIMITED_QUANTITIES_COMMODITIES = 5, + + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Services/RatesAndTransitTimesService.cs b/TradeManageNew/APIClients/FedexApi/Services/RatesAndTransitTimesService.cs new file mode 100644 index 0000000..2ff528a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Services/RatesAndTransitTimesService.cs @@ -0,0 +1,193 @@ +using System.Net; +using TradeManageNew.APIClients.FedexApi.Models; +using TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes; + +// ReSharper disable InconsistentNaming + +namespace TradeManageNew.APIClients.FedexApi.Services +{ + public class RatesAndTransitTimesService : RequestService + { + public RatesAndTransitTimesService(FedexCredential credential) : base(credential) + { + } + + public async System.Threading.Tasks.Task RateAndTransitTimesAsync( + RateAndTransitTimesReq body, System.Threading.CancellationToken cancellationToken = default) + { + var handler = new System.Net.Http.HttpClientHandler + { + AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate + }; + + var client_ = new System.Net.Http.HttpClient(handler); + client_.DefaultRequestHeaders.Add("Accept-Encoding", "gzip, deflate"); + + var disposeClient_ = true; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = + System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add( + System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "rate/v1/rates/quotes" + urlBuilder_.Append("rate/v1/rates/quotes"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, + System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken) + .ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = + new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, cancellationToken) + .ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + return objectResponse_.Object; + } + else if (status_ == 400) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, cancellationToken) + .ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + throw new FedexAPIException("Bad Request", status_, objectResponse_.Text, + headers_, objectResponse_.Object, null); + } + else if (status_ == 401) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, + cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + throw new FedexAPIException("Unauthorized", status_, + objectResponse_.Text, headers_, objectResponse_.Object, null); + } + else if (status_ == 403) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, + cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + throw new FedexAPIException("Forbidden", status_, objectResponse_.Text, + headers_, objectResponse_.Object, null); + } + else if (status_ == 404) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, + cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + throw new FedexAPIException("Not Found", status_, objectResponse_.Text, + headers_, objectResponse_.Object, null); + } + else if (status_ == 500) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, + cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + throw new FedexAPIException("Failure", status_, objectResponse_.Text, + headers_, objectResponse_.Object, null); + } + else if (status_ == 503) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, + cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + throw new FedexAPIException("Service Unavailable", status_, + objectResponse_.Text, headers_, objectResponse_.Object, null); + } + else + { + var responseData_ = response_.Content == null + ? null + : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new FedexAPIException( + "The HTTP status code of the response was not expected (" + status_ + ").", status_, + responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Services/RequestService.cs b/TradeManageNew/APIClients/FedexApi/Services/RequestService.cs new file mode 100644 index 0000000..ffb561f --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Services/RequestService.cs @@ -0,0 +1,360 @@ +using System; +using System.CodeDom.Compiler; +using System.Collections.Generic; +using System.IO; +using System.Net; +using System.Runtime.Caching; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using Newtonsoft.Json; +using TradeManageNew.APIClients.FedexApi.Models; + +// ReSharper disable InconsistentNaming + +namespace TradeManageNew.APIClients.FedexApi.Services +{ + public class RequestService + { + private static Lazy _settings = + new Lazy(CreateSerializerSettings, true); + + private JsonSerializerSettings _instanceSettings; + + protected RequestService(FedexCredential credential) + { + BaseUrl = credential.Host; + ClientId = credential.ClientId; + ClientSecret = credential.ClientSecret; + ChildKey = credential.ChildKey; + ChildSecret = credential.ChildSecret; + ReadResponseAsString = credential.ReadResponseAsString; + Initialize(); + } + + protected string _baseUrl; + + private string BaseUrl + { + get => _baseUrl; + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + private string ClientId { get; set; } + + private string ClientSecret { get; set; } + + private string ChildKey { get; set; } + + private string ChildSecret { get; set; } + + private bool ReadResponseAsString { get; set; } + + private static void Initialize() + { + //启用TLS1.2 + ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; + } + + private static JsonSerializerSettings CreateSerializerSettings() + { + var settings = new JsonSerializerSettings(); + return settings; + } + + protected JsonSerializerSettings JsonSerializerSettings => _instanceSettings ?? _settings.Value; + + protected void PrepareRequest(HttpClient client, HttpRequestMessage request, + string url) + { + var token = GetAccessTokenAsync() + .ConfigureAwait(false) + .GetAwaiter() + .GetResult(); + //添加授权信息 + request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", token); + } + + protected void PrepareRequest(HttpClient client, HttpRequestMessage request, + StringBuilder urlBuilder) + { + } + + protected static void ProcessResponse(HttpClient client, + HttpResponseMessage response) + { + } + + private async Task GetAccessTokenAsync() + { + MemoryCache memoryCache = MemoryCache.Default; + string fedexAccessTokenKey = $"{MemoryCacheKeys.FEDEX_ACCESS_TOKEN_PREFIX}_{ClientId}"; + + string fedexAccessTokenValue = memoryCache.Get(fedexAccessTokenKey) as string; + + if (string.IsNullOrWhiteSpace(fedexAccessTokenValue)) + { + int tryCount = 0; + int maxTryCount = 3; + while (tryCount < maxTryCount) + { + try + { + var fedexOauthTokenResp = await OauthTokenAsync(); + // 设置缓存策略(如过期时间) + CacheItemPolicy policy = new CacheItemPolicy + { + AbsoluteExpiration = + DateTimeOffset.Now.AddSeconds(fedexOauthTokenResp.Expires_in - 60) + }; + + // 添加数据到缓存 + memoryCache.Set(fedexAccessTokenKey, fedexOauthTokenResp.Access_token, policy); + + return fedexOauthTokenResp.Access_token; + } + catch (Exception ex) + { + tryCount++; + + if (tryCount == maxTryCount) + { + throw new Exception($"获取Fedex AccessToken失败,错误信息:{ex.Message}"); + } + } + } + } + + return fedexAccessTokenValue; + } + + private async Task OauthTokenAsync() + { + var client_ = new HttpClient(); + var disposeClient_ = true; + try + { + using (var request_ = new HttpRequestMessage()) + { + var postData = + new List> + { + new KeyValuePair("client_id", ClientId), + new KeyValuePair("client_secret", ClientSecret), + new KeyValuePair("grant_type", + "client_credentials"), + }; + var content_ = new FormUrlEncodedContent(postData); + content_.Headers.ContentType = + MediaTypeHeaderValue.Parse("application/x-www-form-urlencoded"); + request_.Content = content_; + request_.Method = new HttpMethod("POST"); + request_.Headers.Accept.Add( + MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "oauth/token" + urlBuilder_.Append("oauth/token"); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new Uri(url_, UriKind.RelativeOrAbsolute); + + var response_ = await client_.SendAsync(request_, + HttpCompletionOption.ResponseHeadersRead, + CancellationToken.None); + var disposeResponse_ = true; + try + { + var headers_ = + new Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, + CancellationToken.None).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + return objectResponse_.Object; + } + else if (status_ == 401) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, + CancellationToken.None).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + throw new FedexAPIException("Unauthorized", status_, objectResponse_.Text, + headers_, objectResponse_.Object, null); + } + else if (status_ == 500) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, + CancellationToken.None).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + throw new FedexAPIException("Failure", status_, objectResponse_.Text, + headers_, objectResponse_.Object, null); + } + else if (status_ == 503) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, + CancellationToken.None).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + throw new FedexAPIException("Service Unavailable", status_, + objectResponse_.Text, headers_, objectResponse_.Object, null); + } + else + { + var responseData_ = response_.Content == null + ? null + : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new FedexAPIException( + "The HTTP status code of the response was not expected (" + status_ + ").", status_, + responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + Object = responseObject; + Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + protected async Task> ReadObjectResponseAsync( + HttpResponseMessage response, + IReadOnlyDictionary> + headers, CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + var typedBody = + JsonConvert.DeserializeObject(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new FedexAPIException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + + try + { + using (var responseStream = await response.Content.ReadAsStreamAsync().ConfigureAwait(false)) + using (var streamReader = new StreamReader(responseStream)) + using (var jsonTextReader = new JsonTextReader(streamReader)) + { + var serializer = JsonSerializer.Create(JsonSerializerSettings); + var typedBody = serializer.Deserialize(jsonTextReader); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new FedexAPIException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + /// + /// This is the response of OAuth token and having access token details. + /// + [GeneratedCode("NJsonSchema", + "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] + public class FedexOauthTokenResp + { + /// + /// This is an encrypted OAuth token used to authenticate your API requests. Use it in the authorization header of your API requests.<br>Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpX…… + /// + [JsonProperty("access_token", Required = Required.Default, + NullValueHandling = NullValueHandling.Ignore)] + public string Access_token { get; set; } + + /// + /// This is a token type. In this case, it is 'bearer authentication'. + /// + [JsonProperty("token_type", Required = Required.Default, + NullValueHandling = NullValueHandling.Ignore)] + public string Token_type { get; set; } + + /// + /// Indicates the token expiration time in seconds. The standard token expiration time is one hour. <br>Example: 3600 + /// + [JsonProperty("expires_in", Required = Required.Default, + NullValueHandling = NullValueHandling.Ignore)] + public int Expires_in { get; set; } + + /// + /// Indicates the scope of authorization provided to the consumer.<br> Example: CXS + /// + [JsonProperty("scope", Required = Required.Default, + NullValueHandling = NullValueHandling.Ignore)] + public string Scope { get; set; } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Services/ShipService.cs b/TradeManageNew/APIClients/FedexApi/Services/ShipService.cs new file mode 100644 index 0000000..b82575a --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Services/ShipService.cs @@ -0,0 +1,193 @@ +using System.Net; +using TradeManageNew.APIClients.FedexApi.Models; +using TradeManageNew.APIClients.FedexApi.Models.Ship; + +// ReSharper disable InconsistentNaming + +namespace TradeManageNew.APIClients.FedexApi.Services +{ + public class ShipService : RequestService + { + public ShipService(FedexCredential credential) : base(credential) + { + } + + public async System.Threading.Tasks.Task CreateShipmentAsync(CreateShipmentReq body, + System.Threading.CancellationToken cancellationToken = default) + { + var handler = new System.Net.Http.HttpClientHandler + { + AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate + }; + + var client_ = new System.Net.Http.HttpClient(handler); + client_.DefaultRequestHeaders.Add("Accept-Encoding", "gzip, deflate"); + + var disposeClient_ = true; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = + System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add( + System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "ship/v1/shipments" + urlBuilder_.Append("ship/v1/shipments"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, + System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken) + .ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = + new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, + cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + return objectResponse_.Object; + } + else if (status_ == 400) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, cancellationToken) + .ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + throw new FedexAPIException("Bad Request", status_, objectResponse_.Text, + headers_, objectResponse_.Object, null); + } + else if (status_ == 401) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, cancellationToken) + .ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + throw new FedexAPIException("Unauthorized", status_, objectResponse_.Text, + headers_, objectResponse_.Object, null); + } + else if (status_ == 403) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, cancellationToken) + .ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + throw new FedexAPIException("Forbidden", status_, objectResponse_.Text, + headers_, objectResponse_.Object, null); + } + else if (status_ == 404) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, cancellationToken) + .ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + throw new FedexAPIException("Not Found", status_, objectResponse_.Text, + headers_, objectResponse_.Object, null); + } + else if (status_ == 500) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, cancellationToken) + .ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + throw new FedexAPIException("Failure", status_, objectResponse_.Text, + headers_, objectResponse_.Object, null); + } + else if (status_ == 503) + { + var objectResponse_ = + await ReadObjectResponseAsync(response_, headers_, cancellationToken) + .ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new FedexAPIException("Response was null which was not expected.", status_, + objectResponse_.Text, headers_, null); + } + + throw new FedexAPIException("Service Unavailable", status_, + objectResponse_.Text, headers_, objectResponse_.Object, null); + } + else + { + var responseData_ = response_.Content == null + ? null + : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new FedexAPIException( + "The HTTP status code of the response was not expected (" + status_ + ").", status_, + responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Tests/RatesAndTransitTimesTests.cs b/TradeManageNew/APIClients/FedexApi/Tests/RatesAndTransitTimesTests.cs new file mode 100644 index 0000000..3583c63 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Tests/RatesAndTransitTimesTests.cs @@ -0,0 +1,75 @@ +using System.Collections.Generic; +using TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes; + +namespace TradeManageNew.APIClients.FedexApi.Tests +{ + public class RatesAndTransitTimesTests : TestBase + { + public void Should_GetRateAsync() + { + var client = GetClient(); + + var parameter = new RateAndTransitTimesReq + { + AccountNumber = new AccountNumber + { + Value = client.Credential.AccountNumber + }, + RateRequestControlParameters = new RateRequestControlParameters() + { + + }, + RequestedShipment = new RequestedShipment() + { + Shipper = new RateParty + { + Address = new RateAddress + { + City = "Jacksonville", + StateOrProvinceCode = "FL", + CountryCode = "US", + PostalCode = "32226", + + }, + }, + Recipient = new RateParty + { + Address = new RateAddress + { + City = "SAINT SIMONS ISLAND", + StateOrProvinceCode = "GA", + CountryCode = "US", + PostalCode = "31522-1867", + Residential = null, //是否住宅 + }, + }, + //ServiceType = RequestedRateServiceType.PRIORITY_OVERNIGHT, + PreferredCurrency = "USD", + //PackagingType = RequestedRatePackageType.FEDEX_ENVELOPE, + PickupType = RequestedShipmentPickupType.USE_SCHEDULED_PICKUP, + RateRequestType = new List() + { + RateRequestType.ACCOUNT + }, + RequestedPackageLineItems = new List() + { + new RequestedPackageLineItem + { + Weight = new Weight_2 + { + Value = 1, + Units = Weight_1_2Units.LB + } + } + } + }, + CarrierCodes = new List() { } + }; + + var response = client.RatesAndTransitTimes.RateAndTransitTimesAsync(parameter) + .ConfigureAwait(false) + .GetAwaiter() + .GetResult(); + } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Tests/ShipTests.cs b/TradeManageNew/APIClients/FedexApi/Tests/ShipTests.cs new file mode 100644 index 0000000..9451d39 --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Tests/ShipTests.cs @@ -0,0 +1,108 @@ +using System.Collections.Generic; +using TradeManageNew.APIClients.FedexApi.Models.Ship; + +namespace TradeManageNew.APIClients.FedexApi.Tests +{ + public class ShipTests : TestBase + { + public void Should_CreateShipmentAsync() + { + var client = GetClient(); + + var parameter = new CreateShipmentReq + { + LabelResponseOptions = LABELRESPONSEOPTIONS.URL_ONLY, + RequestedShipment = new RequestedShipment() + { + Shipper = new ShipperParty() + { + Contact = new PartyContact() + { + PersonName = "Jacksonville", + PhoneNumber = "9045971260" + }, + Address = new PartyAddress_2() + { + StreetLines = new List() + { + "2615 port industrial Dr. suites 408" + }, + City = "Jacksonville", + StateOrProvinceCode = "FL", + PostalCode = "32226", + CountryCode = "US" + } + }, + Recipients = new List() + { + new RecipientsParty() + { + Contact = new PartyContact() + { + PersonName = "Bradford Price", + PhoneNumber = "+1 415-419-8616", + CompanyName = "Bradford Price" + }, + Address = new PartyAddress_2() + { + StreetLines = new List() + { + "250 MCINTOSH" + }, + City = "SAINT SIMONS ISLAND", + StateOrProvinceCode = "GA", + PostalCode = "31522-1867", + CountryCode = "US" + } + } + }, + //ShipDatestamp = + ServiceType = RequestedShipmentServiceType.PRIORITY_OVERNIGHT, + PackagingType = RequestedShipmentPackageType.FEDEX_ENVELOPE, + PickupType = RequestedShipmentPickupType.USE_SCHEDULED_PICKUP, + BlockInsightVisibility = false, + ShippingChargesPayment = new Payment() + { + PaymentType = PaymentType.SENDER + }, + ShipmentSpecialServices = new ShipmentSpecialServicesRequested() + { + SpecialServiceTypes = new List() + { + RequestedShipmentSpecialServiceType.RETURN_SHIPMENT + }, + ReturnShipmentDetail = new ReturnShipmentDetail + { + ReturnType = ReturnShipmentDetailReturnType.PRINT_RETURN_LABEL + } + }, + LabelSpecification = new LabelSpecification() + { + ImageType = LabelSpecificationImageType.PDF, + LabelStockType = LabelSpecificationLabelStockType.PAPER_85X11_TOP_HALF_LABEL + }, + RequestedPackageLineItems = new List() + { + new RequestedPackageLineItem() + { + Weight = new Weight() + { + Value = 1, + Units = WeightUnits.LB + } + } + } + }, + AccountNumber = new ShipperAccountNumber() + { + Value = client.Credential.AccountNumber + } + }; + + var response = client.Ship.CreateShipmentAsync(parameter) + .ConfigureAwait(false) + .GetAwaiter() + .GetResult(); + } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Tests/TestBase.cs b/TradeManageNew/APIClients/FedexApi/Tests/TestBase.cs new file mode 100644 index 0000000..e7b13ce --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Tests/TestBase.cs @@ -0,0 +1,19 @@ +namespace TradeManageNew.APIClients.FedexApi.Tests +{ + public class TestBase + { + protected static FedexAPIClient GetClient() + { + var fedexCredential = new FedexCredential(isDebugMode: true) { ReadResponseAsString = true } + //.SetWestSandBoxCredential() //西部账户沙箱凭证 + //.SetWestProductionCredential() //西部账户正式凭证 + .SetEastSandBoxCredential() //东部账户沙箱凭证 + //.SetEastProductionCredential() //东部账户正式凭证; + ; + + var client = new FedexAPIClient(fedexCredential); + + return client; + } + } +} \ No newline at end of file diff --git a/TradeManageNew/APIClients/FedexApi/Utils/JsonConverters.cs b/TradeManageNew/APIClients/FedexApi/Utils/JsonConverters.cs new file mode 100644 index 0000000..c8a474e --- /dev/null +++ b/TradeManageNew/APIClients/FedexApi/Utils/JsonConverters.cs @@ -0,0 +1,58 @@ +using System.Collections; +using System.Linq; +using System.Reflection; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + +namespace TradeManageNew.APIClients.FedexApi.Utils +{ + internal class EnumCollectionConverter : JsonConverter + { + private readonly StringEnumConverter _stringEnumConverter = new StringEnumConverter(); + + public override bool CanConvert(System.Type objectType) + { + return objectType.IsGenericType && + typeof(IEnumerable).IsAssignableFrom(objectType) && + objectType.GetGenericArguments()[0].IsEnum; + } + + public override object ReadJson(JsonReader reader, System.Type objectType, object existingValue, JsonSerializer serializer) + { + throw new System.NotImplementedException("Deserialization is not implemented."); + } + + public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) + { + if (value is IEnumerable enumCollection) + { + // 遍历集合并获取每个枚举的字符串值 + var enumNames = enumCollection.Cast() + .Select(GetEnumMemberValue) + .ToList(); + + serializer.Serialize(writer, enumNames); + } + else + { + throw new System.InvalidOperationException("Expected an enumerable type."); + } + } + + private static string GetEnumMemberValue(object enumValue) + { + var enumType = enumValue.GetType(); + var memberInfo = enumType.GetMember(enumValue.ToString()).FirstOrDefault(); + if (memberInfo != null) + { + var enumMemberAttr = memberInfo.GetCustomAttribute(); + if (enumMemberAttr != null) + { + return enumMemberAttr.Value; + } + } + return enumValue.ToString(); + } + } +} \ No newline at end of file diff --git a/TradeManageNew/TradeManageNew.csproj b/TradeManageNew/TradeManageNew.csproj index 121ee97..9d6d944 100644 --- a/TradeManageNew/TradeManageNew.csproj +++ b/TradeManageNew/TradeManageNew.csproj @@ -1581,6 +1581,512 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2958,7 +3464,6 @@ - From ce6eee3ca74a0b8bf92933f9dc3e1928fa3587a7 Mon Sep 17 00:00:00 2001 From: wufan Date: Fri, 17 Jan 2025 13:25:25 +0800 Subject: [PATCH 7/7] :sparkles: --- .../FedexApi/Services/RequestService.cs | 2 + TradeManageNew/APIClients/MemoryCacheKeys.cs | 4 +- TradeManageNew/DD_OrderServiceNew.asmx.cs | 400 ++++++++++++++++-- TradeUsedSale/Repositories/ErpDbContext.cs | 1 + .../Models/DT_TrackCodeApplyLog.cs | 15 + TradeUsedSale/TradeUsedSale.csproj | 1 + 6 files changed, 375 insertions(+), 48 deletions(-) create mode 100644 TradeUsedSale/Repositories/Models/DT_TrackCodeApplyLog.cs diff --git a/TradeManageNew/APIClients/FedexApi/Services/RequestService.cs b/TradeManageNew/APIClients/FedexApi/Services/RequestService.cs index ffb561f..e075df0 100644 --- a/TradeManageNew/APIClients/FedexApi/Services/RequestService.cs +++ b/TradeManageNew/APIClients/FedexApi/Services/RequestService.cs @@ -3,6 +3,8 @@ using System.CodeDom.Compiler; using System.Collections.Generic; using System.IO; using System.Net; +using System.Net.Http; +using System.Net.Http.Headers; using System.Runtime.Caching; using System.Text; using System.Threading; diff --git a/TradeManageNew/APIClients/MemoryCacheKeys.cs b/TradeManageNew/APIClients/MemoryCacheKeys.cs index bef7dd1..d5690ea 100644 --- a/TradeManageNew/APIClients/MemoryCacheKeys.cs +++ b/TradeManageNew/APIClients/MemoryCacheKeys.cs @@ -13,8 +13,8 @@ public const string XPO_ACCESS_TOKEN_KEY = "XPOAccessToken"; /// - /// Fedex API access token key. + /// Fedex API access token key prefix. /// - public const string FEDEX_ACCESS_TOKEN_KEY = "FedexAccessToken"; + public const string FEDEX_ACCESS_TOKEN_PREFIX = "FedexAccessToken"; } } \ No newline at end of file diff --git a/TradeManageNew/DD_OrderServiceNew.asmx.cs b/TradeManageNew/DD_OrderServiceNew.asmx.cs index 4b0cfe6..59f23b9 100644 --- a/TradeManageNew/DD_OrderServiceNew.asmx.cs +++ b/TradeManageNew/DD_OrderServiceNew.asmx.cs @@ -1,44 +1,35 @@ using System; using System.Collections.Generic; +using System.Data; +using System.IO; using System.Linq; +using System.Net; +using System.Net.Http; +using System.Security.Cryptography; +using System.Text; +using System.Text.RegularExpressions; +using System.Threading; using System.Web; +using System.Web.Script.Serialization; using System.Web.Services; -using TradeData; -using NetLibrary.Data; -using System.Data; -using TradeModel; -using NetLibrary.ReportPrint; +using ApiNew; +using LinqToDB; using NetLibrary; +using NetLibrary.Data; using NetLibrary.Express; -using System.Text.RegularExpressions; -using NetLibrary.OnlineTrade; -using System.Web.Script.Serialization; -using System.Text; using NetLibrary.Log; -using System.Threading; -using ApiNew; -using Aspose.Pdf; -using System.Net; -using System.Runtime.ConstrainedExecution; -using System.IO; -using System.Net.Http; +using NetLibrary.OnlineTrade; +using NetLibrary.ReportPrint; using Newtonsoft.Json; -using Org.BouncyCastle.Asn1.Pkcs; -using TradeManage; -using System.Security.Cryptography; -using NetLibrary.WebReference; -using FastJSON; -using System.Runtime.CompilerServices; using Newtonsoft.Json.Serialization; -using NPOI.HSSF.Record.Formula.Functions; -using static NPOI.HSSF.Util.HSSFColor; -using System.Linq.Expressions; +using TradeData; +using TradeManage; +using TradeManageNew.APIClients.FedexApi; +using TradeManageNew.APIClients.FedexApi.Models.Ship; using TradeManageNew.APIClients.ShopifyAPI; -using LinqToDB; -using Match = System.Text.RegularExpressions.Match; -using TradeManageNew.APIClients.FedexApi.Tests; -using TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes; using TradeManageNew.Models.ShopifyUsedSale; +using TradeModel; +using Match = System.Text.RegularExpressions.Match; namespace TradeManageNew { @@ -8723,23 +8714,7 @@ namespace TradeManageNew return rmodelNew; } - - - - - - [WebMethod(EnableSession = true)] - public RateAndTransitTimesResp GetFedexFeeTest() - { - var ratesAndTransitTimesTests = new RatesAndTransitTimesTests(); - return ratesAndTransitTimesTests.Should_RateAsync_IsReturn(); - - - } - - - - + #region 修改允许发货 [WebMethod(EnableSession = true)] public void UpdatePostState2(List list) @@ -29423,6 +29398,339 @@ namespace TradeManageNew }; } + + public APIReturnModel GetOrderUsedSalePlatformLabel(int Id) + { + // PagesNew.Login(base.Session); + using (var db = new TradeUsedSale.Repositories.ErpDbContext()) + { + var orderUsedSalePlatform = db.DT_OrderUsedSalePlatform.FirstOrDefault(x => + x.Id == Id && x.Status == TradeUsedSale.Enums.UsedSalePlatformStatus.PendingPickup); + + if (orderUsedSalePlatform is null) + { + return new APIReturnModel + { + Code = 0, + Message = $"不存在Id为{Id}的二手售卖商品", + Datas = null + }; + } + + var product = db.HW_GoodsInfo.FirstOrDefault(x => x.GoodsId == orderUsedSalePlatform.ProductId); + if (product is null) + { + return new APIReturnModel + { + Code = 0, + Message = $"系统中不存在Id为{orderUsedSalePlatform.ProductId}的产品信息", + Datas = null + }; + } + + //毛重 + if (product.Weight is null || product.Weight <= 0) + { + return new APIReturnModel + { + Code = 0, + Message = $"产品[{product.GoodsCode}]无毛重信息,无法发货", + Datas = null + }; + } + + //长宽高 + if (product.Long is null || product.Long <= 0 || + product.Width is null || product.Width <= 0 || + product.Height is null || product.Height <= 0) + { + return new APIReturnModel + { + Code = 0, + Message = $"产品[{product.GoodsCode}]外箱尺寸信息不完整,无法发货", + Datas = null + }; + } + + var sku = db.HW_GoodsDetail.FirstOrDefault(x => x.DetailId == orderUsedSalePlatform.SkuId); + if (sku is null) + { + return new APIReturnModel + { + Code = 0, + Message = $"系统中不存在Id为{orderUsedSalePlatform.SkuId}的SKU信息", + Datas = null + }; + } + + if (orderUsedSalePlatform.Status != TradeUsedSale.Enums.UsedSalePlatformStatus.PendingPickup) + { + return new APIReturnModel + { + Code = 0, + Message = $"二手售卖商品[{orderUsedSalePlatform.SkuCode}]不处于待发货状态", + Datas = null + }; + } + + //Shopify订单信息 + var shopifyUsedSaleOrderItem = db.DT_ShopifyUsedSaleOrderItem.FirstOrDefault(x => x.ProductCode == orderUsedSalePlatform.BarCode); + if(shopifyUsedSaleOrderItem is null) + { + return new APIReturnModel + { + Code = 0, + Message = $"未获取到条码为[{ orderUsedSalePlatform.BarCode}]的Shopify订单信息", + Datas = null + }; + } + + var shopifyUsedSaleOrder = db.DT_ShopifyUsedSaleOrder.FirstOrDefault(x => x.Id == shopifyUsedSaleOrderItem.DtShopifyUsedSaleOrderId); + if(shopifyUsedSaleOrder is null) + { + return new APIReturnModel + { + Code = 0, + Message = $"未获取到条码为[{ orderUsedSalePlatform.BarCode}]的Shopify订单信息", + Datas = null + }; + } + + //获取Fedex运费和面单 + var fedexCredential = new FedexCredential(isDebugMode: true) { ReadResponseAsString = true }; + if (orderUsedSalePlatform.WarehouseLocation == TradeUsedSale.Enums.WarehouseLocation.East) + { + fedexCredential.SetEastSandBoxCredential(); + } + else + { + fedexCredential.SetWestSandBoxCredential(); + } + + var serviceTypes = new List() + { + RequestedShipmentServiceType.GROUND_HOME_DELIVERY, + RequestedShipmentServiceType.SMART_POST, + RequestedShipmentServiceType.FEDEX_GROUND, + }; + + var fedexClient = new FedexAPIClient(fedexCredential); + + #region 发件人 + + var shipper = new ShipperParty(); + + if (orderUsedSalePlatform.WarehouseLocation == TradeUsedSale.Enums.WarehouseLocation.East) + { + shipper.Contact = new PartyContact + { + PersonName = "Karmas Far Inc", + PhoneNumber = "9045971260", + }; + + shipper.Address = new PartyAddress_2 + { + StreetLines = SplitAddress("2615 port industrial Dr. suites 408", 35), + City = "Jacksonville", + StateOrProvinceCode = "FL", + PostalCode = "32226", + CountryCode = "US", + }; + } + else + { + shipper.Contact = new PartyContact + { + PersonName = "Karmas Far Inc", + PhoneNumber = "9093726955", + }; + + shipper.Address = new PartyAddress_2 + { + StreetLines = SplitAddress("11190 White Birch Dr Suite 100", 35), + City = "RanchoCucamonga", + StateOrProvinceCode = "CA", + PostalCode = "91730", + CountryCode = "US", + }; + } + + #endregion + + #region 收件人 + + var recipient = new RecipientsParty + { + Address = new PartyAddress_2 + { + StreetLines = SplitAddress(shopifyUsedSaleOrder.Full, 35), + City = shopifyUsedSaleOrder.City, + StateOrProvinceCode = shopifyUsedSaleOrder.ProvinceCode, + PostalCode = shopifyUsedSaleOrder.Zip, + CountryCode = shopifyUsedSaleOrder.CountryCode, + Residential = null + }, + Contact = new PartyContact + { + PersonName = shopifyUsedSaleOrder.Name, + PhoneNumber = shopifyUsedSaleOrder.Phone, + } + }; + + #endregion + + #region 商品信息 + + var requestedPackageLineItems = new List() + { + new RequestedPackageLineItem() + { + SequenceNumber = 1, + Weight = new Weight() + { + Value = product.Weight.Value/1000, + Units = WeightUnits.KG + }, + CustomerReferences = new List() + { + new CustomerReference_1 + { + CustomerReferenceType = CustomerReference_1CustomerReferenceType + .CUSTOMER_REFERENCE, + Value = orderUsedSalePlatform.BarCode, + } + }, + PackageSpecialServices = new PackageSpecialServicesRequested + { + SignatureOptionType = + PackageSpecialServicesRequestedSignatureOptionType.SERVICE_DEFAULT + }, + Dimensions = new Dimensions + { + Length = Convert.ToInt32(product.Long), + Width = Convert.ToInt32(product.Width), + Height = Convert.ToInt32(product.Height), + Units = DimensionsUnits.CM + } + } + }; + + #endregion + + #region 标签信息 + + var labelSpecification = new LabelSpecification() + { + ImageType = LabelSpecificationImageType.PDF, + LabelFormatType = LabelSpecificationLabelFormatType.COMMON2D, + LabelStockType = LabelSpecificationLabelStockType.PAPER_4X8, + }; + + #endregion + + foreach (var serviceType in serviceTypes) + { + var apiRequestInfo = new StringBuilder(); + + try + { + //判断地址类型来跳过部分服务并且收获地址添加是否住宅 + var createShipmentParameter = new CreateShipmentReq + { + LabelResponseOptions = LABELRESPONSEOPTIONS.LABEL, + RequestedShipment = new RequestedShipment() + { + Shipper = shipper, + Recipients = new List() + { + recipient + }, + ServiceType = serviceType, + PackagingType = RequestedShipmentPackageType.YOUR_PACKAGING, + PickupType = RequestedShipmentPickupType.DROPOFF_AT_FEDEX_LOCATION, + BlockInsightVisibility = false, + ShippingChargesPayment = new Payment() + { + PaymentType = PaymentType.SENDER + }, + LabelSpecification = labelSpecification, + RequestedPackageLineItems = requestedPackageLineItems + }, + AccountNumber = new ShipperAccountNumber() + { + Value = fedexCredential.AccountNumber + } + }; + + //记录请求参数 + apiRequestInfo.AppendLine($"请求参数:{JsonConvert.SerializeObject(createShipmentParameter)}"); + + var response = fedexClient.Ship.CreateShipmentAsync(createShipmentParameter) + .ConfigureAwait(false) + .GetAwaiter() + .GetResult(); + + //记录返回结果 + apiRequestInfo.AppendLine($"返回结果:{JsonConvert.SerializeObject(response)}"); + } + catch (Exception ex) + { + var apiRequestStr = apiRequestInfo.ToString(); + if (!string.IsNullOrWhiteSpace(apiRequestStr)) + { + db.InsertWithInt32Identity(new TradeUsedSale.Repositories.Models.DT_TrackCodeApplyLog + { + UsedSaleBarCode = orderUsedSalePlatform.BarCode, + ServiceType = serviceType.ToString(), + Remark = apiRequestStr, + CreationTime = DateTime.Now + }); + } + + db.InsertWithInt32Identity(new TradeUsedSale.Repositories.Models.DT_TrackCodeApplyLog + { + UsedSaleBarCode = orderUsedSalePlatform.BarCode, + ServiceType = serviceType.ToString(), + Remark = $"请求失败:{ex.Message}", + CreationTime = DateTime.Now + }); + } + } + } + + return null; + } + + static string[] SplitAddress(string address, int maxLength) + { + List addressLines = new List(); + while (address.Length > maxLength) + { + int splitIndex = address.LastIndexOf(' ', maxLength); + if (splitIndex == -1) splitIndex = maxLength; // 若无空格,则强行截断 + + addressLines.Add(address.Substring(0, splitIndex).Trim()); + address = address.Substring(splitIndex).Trim(); + } + + // 添加最后一部分 + if (!string.IsNullOrEmpty(address)) + { + addressLines.Add(address); + } + + return addressLines.ToArray(); + } + + public APIReturnModel OrderUsedSalePlatformSendOut(int Id ,TradeUsedSale.Enums.ShippingMethod shippingMethod ) + { + // PagesNew.Login(base.Session); + using (var db = new TradeUsedSale.Repositories.ErpDbContext()) + { + return null; + } + } + #endregion diff --git a/TradeUsedSale/Repositories/ErpDbContext.cs b/TradeUsedSale/Repositories/ErpDbContext.cs index 22f81c1..c1274ad 100644 --- a/TradeUsedSale/Repositories/ErpDbContext.cs +++ b/TradeUsedSale/Repositories/ErpDbContext.cs @@ -32,5 +32,6 @@ namespace TradeUsedSale.Repositories public ITable HW_PostFee => this.GetTable(); public ITable DT_ShopifyUsedSaleOrder => this.GetTable(); public ITable DT_ShopifyUsedSaleOrderItem => this.GetTable(); + public ITable DT_TrackCodeApplyLog => this.GetTable(); } } diff --git a/TradeUsedSale/Repositories/Models/DT_TrackCodeApplyLog.cs b/TradeUsedSale/Repositories/Models/DT_TrackCodeApplyLog.cs new file mode 100644 index 0000000..9498fb1 --- /dev/null +++ b/TradeUsedSale/Repositories/Models/DT_TrackCodeApplyLog.cs @@ -0,0 +1,15 @@ +using System; +using LinqToDB.Mapping; + +namespace TradeUsedSale.Repositories.Models +{ + public class DT_TrackCodeApplyLog + { + [PrimaryKey, Identity] public int Id { get; set; } + + public string UsedSaleBarCode { get; set; } + public string ServiceType { get; set; } + public string Remark { get; set; } + public DateTime CreationTime { get; set; } + } +} \ No newline at end of file diff --git a/TradeUsedSale/TradeUsedSale.csproj b/TradeUsedSale/TradeUsedSale.csproj index d2ca6a4..6108269 100644 --- a/TradeUsedSale/TradeUsedSale.csproj +++ b/TradeUsedSale/TradeUsedSale.csproj @@ -60,6 +60,7 @@ +