From 36afcdf0988e753ae2178fb8220b02f2c4d0b2b2 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sun, 30 Jan 2022 01:41:08 +0100 Subject: refactor: Convert solution for file-scoped namespaces --- .../Models/Api/TShippingDetails.cs | 49 +++++++++++----------- 1 file changed, 24 insertions(+), 25 deletions(-) (limited to 'src/IOL.VippsEcommerce/Models/Api/TShippingDetails.cs') diff --git a/src/IOL.VippsEcommerce/Models/Api/TShippingDetails.cs b/src/IOL.VippsEcommerce/Models/Api/TShippingDetails.cs index 72ac7f2..cc3f509 100644 --- a/src/IOL.VippsEcommerce/Models/Api/TShippingDetails.cs +++ b/src/IOL.VippsEcommerce/Models/Api/TShippingDetails.cs @@ -1,32 +1,31 @@ using System.Text.Json.Serialization; -namespace IOL.VippsEcommerce.Models.Api +namespace IOL.VippsEcommerce.Models.Api; + +public class TShippingDetails { - public class TShippingDetails - { - /// - /// Gets or Sets Priority - /// - [JsonPropertyName("priority")] - public int? Priority { get; set; } + /// + /// Gets or Sets Priority + /// + [JsonPropertyName("priority")] + public int? Priority { get; set; } - /// - /// Gets or Sets ShippingCost - /// - [JsonPropertyName("shippingCost")] - public double? ShippingCost { get; set; } + /// + /// Gets or Sets ShippingCost + /// + [JsonPropertyName("shippingCost")] + public double? ShippingCost { get; set; } - /// - /// Shipping method. Max length: 256 characters. Recommended length for readability on most screens: 25 characters. - /// - /// Shipping method. Max length: 256 characters. Recommended length for readability on most screens: 25 characters. - [JsonPropertyName("shippingMethod")] - public string ShippingMethod { get; set; } + /// + /// Shipping method. Max length: 256 characters. Recommended length for readability on most screens: 25 characters. + /// + /// Shipping method. Max length: 256 characters. Recommended length for readability on most screens: 25 characters. + [JsonPropertyName("shippingMethod")] + public string ShippingMethod { get; set; } - /// - /// Gets or Sets ShippingMethodId - /// - [JsonPropertyName("shippingMethodId")] - public string ShippingMethodId { get; set; } - } + /// + /// Gets or Sets ShippingMethodId + /// + [JsonPropertyName("shippingMethodId")] + public string ShippingMethodId { get; set; } } \ No newline at end of file -- cgit v1.3