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/VippsPaymentActionResponse.cs | 51 +++++++++++----------- 1 file changed, 25 insertions(+), 26 deletions(-) (limited to 'src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs') diff --git a/src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs b/src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs index 90b4389..7f4f6f7 100644 --- a/src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs +++ b/src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs @@ -1,34 +1,33 @@ using System.Text.Json.Serialization; -namespace IOL.VippsEcommerce.Models.Api +namespace IOL.VippsEcommerce.Models.Api; + +public class VippsPaymentActionResponse { - public class VippsPaymentActionResponse - { - /// - /// Text which describes what instrument was used to complete the payment. Not included until a user has chosen and approved in the app. - /// - /// Text which describes what instrument was used to complete the payment. Not included until a user has chosen and approved in the app. - [JsonPropertyName("paymentInstrument")] - public string PaymentInstrument { get; set; } + /// + /// Text which describes what instrument was used to complete the payment. Not included until a user has chosen and approved in the app. + /// + /// Text which describes what instrument was used to complete the payment. Not included until a user has chosen and approved in the app. + [JsonPropertyName("paymentInstrument")] + public string PaymentInstrument { get; set; } - /// - /// Id which uniquely identifies a payment. Maximum length is 50 alphanumeric characters: a-z, A-Z, 0-9 and '-'. - /// - /// Id which uniquely identifies a payment. Maximum length is 50 alphanumeric characters: a-z, A-Z, 0-9 and '-'. - [JsonPropertyName("orderId")] - public string OrderId { get; set; } + /// + /// Id which uniquely identifies a payment. Maximum length is 50 alphanumeric characters: a-z, A-Z, 0-9 and '-'. + /// + /// Id which uniquely identifies a payment. Maximum length is 50 alphanumeric characters: a-z, A-Z, 0-9 and '-'. + [JsonPropertyName("orderId")] + public string OrderId { get; set; } - /// - /// Gets or Sets TransactionInfo - /// - [JsonPropertyName("transactionInfo")] - public TTransactionInfo TransactionInfo { get; set; } + /// + /// Gets or Sets TransactionInfo + /// + [JsonPropertyName("transactionInfo")] + public TTransactionInfo TransactionInfo { get; set; } - /// - /// Gets or Sets TransactionSummary - /// - [JsonPropertyName("transactionSummary")] - public TTransactionSummary TransactionSummary { get; set; } + /// + /// Gets or Sets TransactionSummary + /// + [JsonPropertyName("transactionSummary")] + public TTransactionSummary TransactionSummary { get; set; } - } } \ No newline at end of file -- cgit v1.3