diff --git a/Xero.NetStandard.OAuth2/Client/Configuration.cs b/Xero.NetStandard.OAuth2/Client/Configuration.cs
index 96b0ede0..1d5f41e4 100644
--- a/Xero.NetStandard.OAuth2/Client/Configuration.cs
+++ b/Xero.NetStandard.OAuth2/Client/Configuration.cs
@@ -30,7 +30,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
///
/// Version of the package.
- public const string Version = "3.14.3";
+ public const string Version = "3.14.4";
///
/// Identifier for ISO 8601 DateTime Format
@@ -99,7 +99,7 @@ public class Configuration : IReadableConfiguration
[System.Diagnostics.CodeAnalysis.SuppressMessage("ReSharper", "VirtualMemberCallInConstructor")]
public Configuration()
{
- UserAgent = "xero-netstandard-3.14.3";
+ UserAgent = "xero-netstandard-3.14.4";
BasePath = "https://api.xero.com/api.xro/2.0";
DefaultHeader = new ConcurrentDictionary();
ApiKey = new ConcurrentDictionary();
@@ -332,7 +332,7 @@ public static String ToDebugReport()
String report = "C# SDK (Xero.NetStandard.OAuth2) Debug Report:\n";
report += " OS: " + System.Runtime.InteropServices.RuntimeInformation.OSDescription + "\n";
report += " Version of the API: 2.9.4\n";
- report += " SDK Package Version: 3.14.3\n";
+ report += " SDK Package Version: 3.14.4\n";
return report;
}
diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/BatchPayment.cs b/Xero.NetStandard.OAuth2/Model/Accounting/BatchPayment.cs
index 2b2d97cb..fa09f0f9 100644
--- a/Xero.NetStandard.OAuth2/Model/Accounting/BatchPayment.cs
+++ b/Xero.NetStandard.OAuth2/Model/Accounting/BatchPayment.cs
@@ -182,6 +182,13 @@ public enum StatusEnum
[DataMember(Name="IsReconciled", EmitDefaultValue=false)]
public string IsReconciled { get; private set; }
+ ///
+ /// Displays array of validation error messages from the API
+ ///
+ /// Displays array of validation error messages from the API
+ [DataMember(Name="ValidationErrors", EmitDefaultValue=false)]
+ public List ValidationErrors { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -206,6 +213,7 @@ public override string ToString()
sb.Append(" TotalAmount: ").Append(TotalAmount).Append("\n");
sb.Append(" UpdatedDateUTC: ").Append(UpdatedDateUTC).Append("\n");
sb.Append(" IsReconciled: ").Append(IsReconciled).Append("\n");
+ sb.Append(" ValidationErrors: ").Append(ValidationErrors).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -318,6 +326,12 @@ public bool Equals(BatchPayment input)
this.IsReconciled == input.IsReconciled ||
(this.IsReconciled != null &&
this.IsReconciled.Equals(input.IsReconciled))
+ ) &&
+ (
+ this.ValidationErrors == input.ValidationErrors ||
+ this.ValidationErrors != null &&
+ input.ValidationErrors != null &&
+ this.ValidationErrors.SequenceEqual(input.ValidationErrors)
);
}
@@ -360,6 +374,8 @@ public override int GetHashCode()
hashCode = hashCode * 59 + this.UpdatedDateUTC.GetHashCode();
if (this.IsReconciled != null)
hashCode = hashCode * 59 + this.IsReconciled.GetHashCode();
+ if (this.ValidationErrors != null)
+ hashCode = hashCode * 59 + this.ValidationErrors.GetHashCode();
return hashCode;
}
}
diff --git a/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj b/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj
index 8769dd44..dd2a9e13 100644
--- a/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj
+++ b/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj
@@ -16,7 +16,7 @@
true
true
Xero.NetStandard.OAuth2
- 3.14.3
+ 3.14.4
bin\$(Configuration)\$(TargetFramework)\Xero.NetStandard.OAuth2.xml
https://github.com/XeroAPI/Xero-NetStandard/
https://en.gravatar.com/userimage/180557955/74b3a957d886bc921b0d1455beed9dab.png