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

Commit 1d3a029

Browse files
authored
Merge pull request #412 from Tyf0x/master
Add field AppliedAmount to Overpayment and Prepayment
2 parents 7f80f8b + d2c6126 commit 1d3a029

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Xero.Api/Core/Model/Overpayment.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ public class Overpayment : HasUpdatedDate, IHasId, IHasAttachment
4646
[DataMember(EmitDefaultValue = false)]
4747
public OverpaymentType Type { get; set; }
4848

49+
[DataMember(EmitDefaultValue = false)]
50+
public decimal AppliedAmount { get; set; }
51+
4952
[DataMember]
5053
public Decimal RemainingCredit { get; set; }
5154

Xero.Api/Core/Model/Prepayment.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ public class Prepayment : HasUpdatedDate, IHasId, IHasAttachment
4646
[DataMember]
4747
public PrepaymentType Type { get; set; }
4848

49+
[DataMember(EmitDefaultValue = false)]
50+
public decimal AppliedAmount { get; set; }
51+
4952
[DataMember]
5053
public Decimal RemainingCredit { get; set; }
5154

0 commit comments

Comments
 (0)