diff --git a/Klarna.Rest/Klarna.Rest.Core/Model/SettlementsGetAllPayoutsResponse.cs b/Klarna.Rest/Klarna.Rest.Core/Model/SettlementsGetAllPayoutsResponse.cs
index c43b9c5..d38e3dc 100644
--- a/Klarna.Rest/Klarna.Rest.Core/Model/SettlementsGetAllPayoutsResponse.cs
+++ b/Klarna.Rest/Klarna.Rest.Core/Model/SettlementsGetAllPayoutsResponse.cs
@@ -1,4 +1,5 @@
-using System.Collections.Generic;
+using System;
+using System.Collections.Generic;
using Newtonsoft.Json;
namespace Klarna.Rest.Core.Model
@@ -18,5 +19,14 @@ public class SettlementsGetAllPayoutsResponse
///
[JsonProperty(PropertyName = "pagination")]
public Pagination Pagination { get; set; }
+ ///
+ /// Deprecated param
+ ///
+ [Obsolete("Paginatinon has a typo in the name and marked as deprecated. Use Pagination instead.")]
+ public Pagination Paginatinon
+ {
+ get => Pagination;
+ set => Pagination = value;
+ }
}
}
diff --git a/Klarna.Rest/Klarna.Rest.Core/Model/SettlementsPayoutTotals.cs b/Klarna.Rest/Klarna.Rest.Core/Model/SettlementsPayoutTotals.cs
index 33fe7c4..c18fc38 100644
--- a/Klarna.Rest/Klarna.Rest.Core/Model/SettlementsPayoutTotals.cs
+++ b/Klarna.Rest/Klarna.Rest.Core/Model/SettlementsPayoutTotals.cs
@@ -1,4 +1,5 @@
-using Newtonsoft.Json;
+using System;
+using Newtonsoft.Json;
namespace Klarna.Rest.Core.Model
{
@@ -7,6 +8,12 @@ namespace Klarna.Rest.Core.Model
///
public class SettlementsPayoutTotals
{
+ [Obsolete("ComissionAmount has a typo in the name and marked as deprecated. Use CommissionAmount instead.")]
+ public int ComissionAmount
+ {
+ get => CommissionAmount;
+ set => CommissionAmount = value;
+ }
///
/// The total amount of commissions, in minor units
///