-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for refunding split payments (#376)
* #367 Add support for the RoutingReversal and ReverseRouting in RefundRequest and RefundResponse * #367: Add unit test to verify serialization and deserialization of RoutingReversals property * #367: Add unit test to verify serialization and deserialization of ReverseRouting property
- Loading branch information
1 parent
980896d
commit 9d907b4
Showing
6 changed files
with
172 additions
and
22 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
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,15 @@ | ||
using Mollie.Api.Models.Payment; | ||
|
||
namespace Mollie.Api.Models.Refund; | ||
|
||
public record RoutingReversal { | ||
/// <summary> | ||
/// The amount that will be pulled back. | ||
/// </summary> | ||
public required Amount Amount { get; init; } | ||
|
||
/// <summary> | ||
/// Where the funds will be pulled back from. | ||
/// </summary> | ||
public required RoutingDestination Source { get; init; } | ||
} |
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
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