Skip to content

Commit

Permalink
Merge pull request #346 from nofrixion/feature/MOOV-3224-batch-payouts
Browse files Browse the repository at this point in the history
  • Loading branch information
donalnofrixion authored May 28, 2024
2 parents 6c0d62f + 8af3495 commit e9ea192
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/NoFrixion.MoneyMoov/Models/Payouts/Payout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ public class Payout : IValidatableObject, IWebhookPayload
/// If set to true indicates the payout has been flagged as safe to process after transaction monitoring.
/// </summary>
public bool CanProcess { get; set; }

/// <summary>
/// The ID of the batch the payout is associated with.
/// </summary>
public Guid? BatchPayoutID { get; set; }

[Obsolete("Please use Destination.")]
[System.Text.Json.Serialization.JsonIgnore]
Expand Down
5 changes: 5 additions & 0 deletions src/NoFrixion.MoneyMoov/Models/Payouts/PayoutCreate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,11 @@ public Guid? BeneficiaryID
}
}

/// <summary>
/// The ID of the batch payout this payout is part of.
/// </summary>
public Guid? BatchPayoutID { get; set; }

/// <summary>
/// Places all the payout's properties into a dictionary.
/// </summary>
Expand Down

0 comments on commit e9ea192

Please sign in to comment.