File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public class DraftPayment : BunqModel
3838 private const string OBJECT_TYPE = "DraftPayment" ;
3939
4040 /// <summary>
41- /// The id of the DraftPayment .
41+ /// The id of the created DrafPayment .
4242 /// </summary>
4343 [ JsonProperty ( PropertyName = "id" ) ]
4444 public int ? Id { get ; private set ; }
@@ -83,7 +83,7 @@ public class DraftPayment : BunqModel
8383 /// The Payment or PaymentBatch. This will only be present after the DraftPayment has been accepted.
8484 /// </summary>
8585 [ JsonProperty ( PropertyName = "object" ) ]
86- public BunqModel Object { get ; private set ; }
86+ public DraftPaymentAnchorObject Object { get ; private set ; }
8787
8888 /// <summary>
8989 /// Create a new DraftPayment.
Original file line number Diff line number Diff line change 1+ using Bunq . Sdk . Model . Core ;
2+ using Bunq . Sdk . Model . Generated . Endpoint ;
3+ using Newtonsoft . Json ;
4+ using System . Collections . Generic ;
5+
6+ namespace Bunq . Sdk . Model . Generated . Object
7+ {
8+ /// <summary>
9+ /// </summary>
10+ public class DraftPaymentAnchorObject : BunqModel
11+ {
12+ /// <summary>
13+ /// </summary>
14+ [ JsonProperty ( PropertyName = "Payment" ) ]
15+ public Payment Payment { get ; set ; }
16+
17+ /// <summary>
18+ /// </summary>
19+ [ JsonProperty ( PropertyName = "PaymentBatch" ) ]
20+ public PaymentBatch PaymentBatch { get ; set ; }
21+ }
22+ }
You can’t perform that action at this time.
0 commit comments