diff --git a/src/Mollie.Api/Models/Payment/PaymentMethod.cs b/src/Mollie.Api/Models/Payment/PaymentMethod.cs index c1e1991a..bd7d1ebe 100644 --- a/src/Mollie.Api/Models/Payment/PaymentMethod.cs +++ b/src/Mollie.Api/Models/Payment/PaymentMethod.cs @@ -17,6 +17,7 @@ public static class PaymentMethod { public const string Refund = "refund"; public const string KlarnaPayLater = "klarnapaylater"; public const string KlarnaSliceIt = "klarnasliceit"; + public const string KlarnaOne = "klarna"; public const string Przelewy24 = "przelewy24"; public const string ApplePay = "applepay"; public const string MealVoucher = "mealvoucher"; diff --git a/tests/Mollie.Tests.Unit/Framework/Factories/PaymentResponseFactoryTests.cs b/tests/Mollie.Tests.Unit/Framework/Factories/PaymentResponseFactoryTests.cs index 85fdc2ae..1d14141c 100644 --- a/tests/Mollie.Tests.Unit/Framework/Factories/PaymentResponseFactoryTests.cs +++ b/tests/Mollie.Tests.Unit/Framework/Factories/PaymentResponseFactoryTests.cs @@ -26,6 +26,7 @@ public class PaymentResponseFactoryTests { [InlineData(PaymentMethod.Refund, typeof(PaymentResponse))] [InlineData(PaymentMethod.KlarnaPayLater, typeof(PaymentResponse))] [InlineData(PaymentMethod.KlarnaSliceIt, typeof(PaymentResponse))] + [InlineData(PaymentMethod.KlarnaOne, typeof(PaymentResponse))] [InlineData(PaymentMethod.Przelewy24, typeof(PaymentResponse))] [InlineData(PaymentMethod.ApplePay, typeof(PaymentResponse))] [InlineData(PaymentMethod.MealVoucher, typeof(PaymentResponse))]