Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.

Commit d7747f4

Browse files
authored
Merge branch 'master' into f-paymentsOnlyJournals
2 parents 2925f76 + 243608f commit d7747f4

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Xero.Api/Core/Model/Payment.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ public class Payment : HasUpdatedDate, IHasId
1111
{
1212
[DataMember(Name = "PaymentID", EmitDefaultValue = false)]
1313
public Guid Id { get; set; }
14+
[DataMember(Name = "BatchPaymentID", EmitDefaultValue = false)]
15+
public Guid? BatchPaymentID { get; set; }
1416

1517
[DataMember(Name = "PaymentType", EmitDefaultValue = false)]
1618
public PaymentType Type { get; set; }

Xero.Api/Infrastructure/Exceptions/NotAvailableException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
namespace Xero.Api.Infrastructure.Exceptions
55
{
66
[Serializable]
7-
internal class NotAvailableException
7+
public class NotAvailableException
88
: XeroApiException
99
{
1010
public NotAvailableException() { }

Xero.Api/Payroll/Australia/Model/Types/EarningsType.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ public enum EarningsType
1414
[EnumMember(Value = "ALLOWANCE")]
1515
Allowance,
1616
[EnumMember(Value = "LUMPSUMD")]
17-
LumpSumD
17+
LumpSumD,
18+
[EnumMember(Value = "EMPLOYMENTTERMINATIONPAYMENT")]
19+
EmploymentTerminationPayment
1820
}
19-
}
21+
}

0 commit comments

Comments
 (0)