diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-01-30 01:41:08 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-01-30 01:41:08 +0100 |
| commit | 36afcdf0988e753ae2178fb8220b02f2c4d0b2b2 (patch) | |
| tree | d27cb629cd53eeef6737ddc86915d51a9ac4b9c3 /src/IOL.VippsEcommerce/Models/Api/TTransactionInfoInitiate.cs | |
| parent | bbe0fb036a790b6a23a478d3f047add63b3b07a6 (diff) | |
| download | dotnet-vipps-ecommerce-36afcdf0988e753ae2178fb8220b02f2c4d0b2b2.tar.xz dotnet-vipps-ecommerce-36afcdf0988e753ae2178fb8220b02f2c4d0b2b2.zip | |
refactor: Convert solution for file-scoped namespaces
Diffstat (limited to 'src/IOL.VippsEcommerce/Models/Api/TTransactionInfoInitiate.cs')
| -rw-r--r-- | src/IOL.VippsEcommerce/Models/Api/TTransactionInfoInitiate.cs | 89 |
1 files changed, 44 insertions, 45 deletions
diff --git a/src/IOL.VippsEcommerce/Models/Api/TTransactionInfoInitiate.cs b/src/IOL.VippsEcommerce/Models/Api/TTransactionInfoInitiate.cs index 7ad989b..dc08630 100644 --- a/src/IOL.VippsEcommerce/Models/Api/TTransactionInfoInitiate.cs +++ b/src/IOL.VippsEcommerce/Models/Api/TTransactionInfoInitiate.cs @@ -1,57 +1,56 @@ using System; using System.Text.Json.Serialization; -namespace IOL.VippsEcommerce.Models.Api +namespace IOL.VippsEcommerce.Models.Api; + +public class TTransactionInfoInitiate { - public class TTransactionInfoInitiate - { - /// <summary> - /// Amount in øre. 32 bit Integer (2147483647). Must be non-zero. - /// </summary> - /// <value>Amount in øre. 32 bit Integer (2147483647). Must be non-zero.</value> - [JsonPropertyName("amount")] - public int? Amount { get; set; } + /// <summary> + /// Amount in øre. 32 bit Integer (2147483647). Must be non-zero. + /// </summary> + /// <value>Amount in øre. 32 bit Integer (2147483647). Must be non-zero.</value> + [JsonPropertyName("amount")] + public int? Amount { get; set; } - /// <summary> - /// Id which uniquely identifies a payment. Maximum length is 50 alphanumeric characters: a-z, A-Z, 0-9 and '-'. - /// </summary> - /// <value>Id which uniquely identifies a payment. Maximum length is 50 alphanumeric characters: a-z, A-Z, 0-9 and '-'.</value> - [JsonPropertyName("orderId")] - public string OrderId { get; set; } + /// <summary> + /// Id which uniquely identifies a payment. Maximum length is 50 alphanumeric characters: a-z, A-Z, 0-9 and '-'. + /// </summary> + /// <value>Id which uniquely identifies a payment. Maximum length is 50 alphanumeric characters: a-z, A-Z, 0-9 and '-'.</value> + [JsonPropertyName("orderId")] + public string OrderId { get; set; } - /// <summary> - /// ISO formatted date time string. - /// </summary> - /// <value>ISO formatted date time string.</value> - [JsonPropertyName("timeStamp")] - public string TimeStamp { get; set; } + /// <summary> + /// ISO formatted date time string. + /// </summary> + /// <value>ISO formatted date time string.</value> + [JsonPropertyName("timeStamp")] + public string TimeStamp { get; set; } - /// <summary> - /// Transaction text to be displayed in Vipps - /// </summary> - /// <value>Transaction text to be displayed in Vipps</value> - [JsonPropertyName("transactionText")] - public string TransactionText { get; set; } + /// <summary> + /// Transaction text to be displayed in Vipps + /// </summary> + /// <value>Transaction text to be displayed in Vipps</value> + [JsonPropertyName("transactionText")] + public string TransactionText { get; set; } - /// <summary> - /// Skips the landing page for whitelisted sale units. Requires a valid customerInfo.mobileNumber. - /// </summary> - /// <value>Skips the landing page for whitelisted sale units. Requires a valid customerInfo.mobileNumber.</value> - [JsonPropertyName("skipLandingPage")] - public bool? SkipLandingPage { get; set; } + /// <summary> + /// Skips the landing page for whitelisted sale units. Requires a valid customerInfo.mobileNumber. + /// </summary> + /// <value>Skips the landing page for whitelisted sale units. Requires a valid customerInfo.mobileNumber.</value> + [JsonPropertyName("skipLandingPage")] + public bool? SkipLandingPage { get; set; } - /// <summary> - /// Gets or Sets AdditionalData - /// </summary> - [JsonPropertyName("additionalData")] - public TAdditionalTransactionData AdditionalData { get; set; } + /// <summary> + /// Gets or Sets AdditionalData + /// </summary> + [JsonPropertyName("additionalData")] + public TAdditionalTransactionData AdditionalData { get; set; } - /// <summary> - /// Use the extended UX flow for express checkout which forces users to confirm their address and shipping choices - /// </summary> - /// <value>Use the extended UX flow for express checkout which forces users to confirm their address and shipping choices</value> - [JsonPropertyName("useExplicitCheckoutFlow")] - public bool? UseExplicitCheckoutFlow { get; set; } - } + /// <summary> + /// Use the extended UX flow for express checkout which forces users to confirm their address and shipping choices + /// </summary> + /// <value>Use the extended UX flow for express checkout which forces users to confirm their address and shipping choices</value> + [JsonPropertyName("useExplicitCheckoutFlow")] + public bool? UseExplicitCheckoutFlow { get; set; } }
\ No newline at end of file |
