Skip to content

Commit 2f1d941

Browse files
author
Kevin Hellemun
committed
Updated DraftPayment to use DraftPaymentAnchorObject #37
1 parent c747ea7 commit 2f1d941

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

BunqSdk/Model/Generated/Endpoint/DraftPayment.cs

+2-2
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)