File tree 2 files changed +24
-2
lines changed
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
38
38
private const string OBJECT_TYPE = "DraftPayment" ;
39
39
40
40
/// <summary>
41
- /// The id of the DraftPayment .
41
+ /// The id of the created DrafPayment .
42
42
/// </summary>
43
43
[ JsonProperty ( PropertyName = "id" ) ]
44
44
public int ? Id { get ; private set ; }
@@ -83,7 +83,7 @@ public class DraftPayment : BunqModel
83
83
/// The Payment or PaymentBatch. This will only be present after the DraftPayment has been accepted.
84
84
/// </summary>
85
85
[ JsonProperty ( PropertyName = "object" ) ]
86
- public BunqModel Object { get ; private set ; }
86
+ public DraftPaymentAnchorObject Object { get ; private set ; }
87
87
88
88
/// <summary>
89
89
/// 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