Skip to content

Commit 973f9df

Browse files
Merge pull request #663 from nofrixion/MOOV-4804-requester-vop
Moved payee verification result properties to counter party
2 parents 3d404ea + 186ed9c commit 973f9df

File tree

3 files changed

+19
-10
lines changed

3 files changed

+19
-10
lines changed

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -513,16 +513,6 @@ public Counterparty? DestinationAccount
513513
/// </summary>
514514
public DateTimeOffset? FxQuoteExpiresAt { get; set; }
515515

516-
/// <summary>
517-
/// Current status of the payee verification check
518-
/// </summary>
519-
public PayeeVerificationStatusEnum PayeeVerificationStatus { get; set; }
520-
521-
/// <summary>
522-
/// The payee verification result, if verification has been completed
523-
/// </summary>
524-
public PayeeVerificationResult? PayeeVerificationResult { get; set; }
525-
526516
public NoFrixionProblem Validate()
527517
{
528518
var context = new ValidationContext(this, serviceProvider: null, items: null);

src/NoFrixion.MoneyMoov/Models/Rules/RuleActions/SweepDestination.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
//-----------------------------------------------------------------------------
1616

1717
using System.ComponentModel.DataAnnotations;
18+
using NoFrixion.MoneyMoov.Enums;
19+
using NoFrixion.MoneyMoov.Models.PayeeVerification;
1820

1921
namespace NoFrixion.MoneyMoov.Models;
2022

@@ -65,6 +67,11 @@ public override string GetApprovalHash()
6567
base.GetApprovalHash();
6668
return HashHelper.CreateHash(input);
6769
}
70+
71+
public string GetBaseApprovalHash()
72+
{
73+
return base.GetApprovalHash();
74+
}
6875

6976
public override IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
7077
{

src/NoFrixion.MoneyMoov/Models/Transaction/Counterparty.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
//-----------------------------------------------------------------------------
1818

1919
using System.ComponentModel.DataAnnotations;
20+
using NoFrixion.MoneyMoov.Enums;
21+
using NoFrixion.MoneyMoov.Models.PayeeVerification;
2022

2123
namespace NoFrixion.MoneyMoov.Models;
2224

@@ -69,6 +71,16 @@ public class Counterparty
6971
/// to them, or for a pay in is the source of the payment.
7072
/// </summary>
7173
public AccountIdentifier? Identifier { get; set; }
74+
75+
/// <summary>
76+
/// Current status of the payee verification check
77+
/// </summary>
78+
public PayeeVerificationStatusEnum PayeeVerificationStatus { get; set; }
79+
80+
/// <summary>
81+
/// The payee verification result, if verification has been completed
82+
/// </summary>
83+
public PayeeVerificationResult? PayeeVerificationResult { get; set; }
7284

7385
/// <summary>
7486
/// Gets a convenient summary representation of the counterparty.

0 commit comments

Comments
 (0)