Skip to content

Commit

Permalink
Update to Plaid v1.610.1
Browse files Browse the repository at this point in the history
  • Loading branch information
viceroypenguin committed Jan 23, 2025
1 parent f242761 commit 25ca4d3
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion plaid-openapi
6 changes: 6 additions & 0 deletions src/Plaid/Entity/TransferEventType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ public enum TransferEventType
[EnumMember(Value = "sweep.failed")]
SweepFailed,

/// <summary>
/// <para>Funds from the ledger sweep have been released from hold and applied to the ledger's available balance. This is only applicable to debits.</para>
/// </summary>
[EnumMember(Value = "sweep.funds_available")]
SweepFundsAvailable,

/// <summary>
/// <para>A new refund was created; it is in the pending state.</para>
/// </summary>
Expand Down
6 changes: 6 additions & 0 deletions src/Plaid/Entity/TransferSweepStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ public enum TransferSweepStatus
[EnumMember(Value = "return_swept")]
ReturnSwept,

/// <summary>
/// <para>Funds from the transfer have been released from hold and applied to the ledger's available balance. This is only applicable to debits.</para>
/// </summary>
[EnumMember(Value = "funds_available")]
FundsAvailable,

/// <summary>
/// <para>Catch-all for unknown values returned by Plaid. If you encounter this, please check if there is a later version of the Going.Plaid library.</para>
/// </summary>
Expand Down
14 changes: 7 additions & 7 deletions src/Plaid/Sandbox/SandboxPaymentSimulateRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ public partial class SandboxPaymentSimulateRequest : RequestBase
/// <summary>
/// <para>The status to set the payment to. </para>
/// <para>Valid statuses include:</para>
/// <para>- PAYMENT_STATUS_INITIATED</para>
/// <para>- PAYMENT_STATUS_INSUFFICIENT_FUNDS</para>
/// <para>- PAYMENT_STATUS_FAILED</para>
/// <para>- PAYMENT_STATUS_EXECUTED</para>
/// <para>- PAYMENT_STATUS_SETTLED</para>
/// <para>- PAYMENT_STATUS_CANCELLED</para>
/// <para>- PAYMENT_STATUS_REJECTED</para>
/// <para>- <c>PAYMENT_STATUS_INITIATED</c></para>
/// <para>- <c>PAYMENT_STATUS_INSUFFICIENT_FUNDS</c></para>
/// <para>- <c>PAYMENT_STATUS_FAILED</c></para>
/// <para>- <c>PAYMENT_STATUS_EXECUTED</c></para>
/// <para>- <c>PAYMENT_STATUS_SETTLED</c></para>
/// <para>- <c>PAYMENT_STATUS_CANCELLED</c></para>
/// <para>- <c>PAYMENT_STATUS_REJECTED</c></para>
/// </summary>
[JsonPropertyName("status")]
public string Status { get; set; } = default!;
Expand Down

0 comments on commit 25ca4d3

Please sign in to comment.