-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a dedicated method for determining payment request expiry (#358)
* Improve payment request expiry checking. * Added pay by bank expiry method for payment attempts. * Added new model for sandbox pay by bank simulations.
- Loading branch information
1 parent
afe98a5
commit 00e10a5
Showing
4 changed files
with
90 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
src/NoFrixion.MoneyMoov/Models/PaymentRequests/PaymentRequestPispSandboxCallback.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
//----------------------------------------------------------------------------- | ||
// Filename: PaymentRequestPispSandboxCallback.cs | ||
// | ||
// Description: Payment initiation callback model for pay by bank simulations. | ||
// | ||
// Author(s): | ||
// Aaron Clauson ([email protected]) | ||
// | ||
// History: | ||
// 16 Jun 2024 Aaron Clauson Created, Stillorgan Wood, Dublin, Ireland. | ||
// | ||
// License: | ||
// Proprietary NoFrixion. | ||
//----------------------------------------------------------------------------- | ||
|
||
namespace NoFrixion.MoneyMoov.Models; | ||
|
||
public class PaymentRequestPispSandboxCallback | ||
{ | ||
public decimal Amount { get; set; } | ||
|
||
public string? Institution { get; set; } | ||
|
||
public string? PaymentInitiationID { get; set; } | ||
|
||
public string? ErrorDescription { get; set; } | ||
|
||
public bool DoSimulateSettlementFailure { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters