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/VippsForceApproveRequest.cs | 31 +++++++++++----------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'src/IOL.VippsEcommerce/Models/Api/VippsForceApproveRequest.cs') diff --git a/src/IOL.VippsEcommerce/Models/Api/VippsForceApproveRequest.cs b/src/IOL.VippsEcommerce/Models/Api/VippsForceApproveRequest.cs index 6a539c2..2437427 100644 --- a/src/IOL.VippsEcommerce/Models/Api/VippsForceApproveRequest.cs +++ b/src/IOL.VippsEcommerce/Models/Api/VippsForceApproveRequest.cs @@ -1,21 +1,20 @@ using System.Text.Json.Serialization; -namespace IOL.VippsEcommerce.Models.Api +namespace IOL.VippsEcommerce.Models.Api; + +public class VippsForceApproveRequest { - public class VippsForceApproveRequest - { - /// - /// Target customer phone number. 8 digits. - /// - /// Target customer phone number. 8 digits. - [JsonPropertyName("customerPhoneNumber")] - public string CustomerPhoneNumber { get; set; } + /// + /// Target customer phone number. 8 digits. + /// + /// Target customer phone number. 8 digits. + [JsonPropertyName("customerPhoneNumber")] + public string CustomerPhoneNumber { get; set; } - /// - /// The token value recieved in the `url` property in the Initiate response - /// - /// The token value recieved in the `url` property in the Initiate response - [JsonPropertyName("token")] - public string Token { get; set; } - } + /// + /// The token value recieved in the `url` property in the Initiate response + /// + /// The token value recieved in the `url` property in the Initiate response + [JsonPropertyName("token")] + public string Token { get; set; } } \ No newline at end of file -- cgit v1.3