diff --git a/Klarna.Rest/Klarna.Rest.Core/Model/SettlementsGetAllPayoutsResponse.cs b/Klarna.Rest/Klarna.Rest.Core/Model/SettlementsGetAllPayoutsResponse.cs
index 8425857..74dd2ef 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
@@ -20,6 +21,15 @@ public class SettlementsGetAllPayoutsResponse
/// Pagination information
///
[JsonProperty(PropertyName = "pagination")]
- public Pagination Paginatinon { get; set; }
+ 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 02fe969..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,11 +8,17 @@ 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
///
[JsonProperty(PropertyName = "commission_amount")]
- public int ComissionAmount { get; set; }
+ public int CommissionAmount { get; set; }
///
/// The total amount of money that has been repaid by the merchant from the debt to Klarna, in minor units
///