Skip to content

Commit

Permalink
Updated DraftPayment to use DraftPaymentAnchorObject #37
Browse files Browse the repository at this point in the history
  • Loading branch information
OGKevin committed Nov 5, 2017
1 parent c747ea7 commit 2f1d941
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BunqSdk/Model/Generated/Endpoint/DraftPayment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class DraftPayment : BunqModel
private const string OBJECT_TYPE = "DraftPayment";

/// <summary>
/// The id of the DraftPayment.
/// The id of the created DrafPayment.
/// </summary>
[JsonProperty(PropertyName = "id")]
public int? Id { get; private set; }
Expand Down Expand Up @@ -83,7 +83,7 @@ public class DraftPayment : BunqModel
/// The Payment or PaymentBatch. This will only be present after the DraftPayment has been accepted.
/// </summary>
[JsonProperty(PropertyName = "object")]
public BunqModel Object { get; private set; }
public DraftPaymentAnchorObject Object { get; private set; }

/// <summary>
/// Create a new DraftPayment.
Expand Down

0 comments on commit 2f1d941

Please sign in to comment.