Skip to content

Commit c33c480

Browse files
authored
Fixes to payout create model comments. (#424)
1 parent 8dedc96 commit c33c480

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/NoFrixion.MoneyMoov/Models/Payouts/PayoutCreate.cs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,16 @@ namespace NoFrixion.MoneyMoov.Models;
2121
public class PayoutCreate
2222
{
2323
/// <summary>
24-
/// THe ID of the source account for the payout.
24+
/// The ID of the source account for the payout.
2525
/// </summary>
2626
[Required(ErrorMessage = "AccountID is required.")]
2727
public Guid AccountID { get; set; }
2828

29+
/// <summary>
30+
/// The type of account identifier to use for the payout destination.
31+
/// </summary>
32+
/// <example>IBAN</example>
33+
[Required(ErrorMessage = "The type of payout to create is required.")]
2934
public AccountIdentifierType Type { get; set; }
3035

3136
public string? Description { get; set; }
@@ -144,8 +149,7 @@ public CounterpartyCreate? DestinationAccount
144149
public DateTimeOffset? ScheduleDate { get; set; }
145150

146151
/// <summary>
147-
/// For Bitcoin payouts, when this flag is set the network fee will be deducted from the send amount.
148-
/// THis is particularly useful for sweeps where it can be difficult to calculate the exact fee required.
152+
/// For Bitcoin payouts, when this flag is set the network fee will be deducted from the send amount. This is particularly useful for sweeps where it can be difficult to calculate the exact fee required.
149153
/// </summary>
150154
public bool BitcoinSubtractFeeFromAmount { get; set; }
151155

0 commit comments

Comments
 (0)