-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(acl-21-103-154-94): add support to missing fields (#214)
- Loading branch information
1 parent
6d687c6
commit fdfcbc0
Showing
7 changed files
with
68 additions
and
2 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
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,3 @@ | ||
namespace TrueLayer.Payments.Model; | ||
|
||
public record RiskAssessment(string? Segment = null); |
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,22 @@ | ||
using TrueLayer.Serialization; | ||
|
||
namespace TrueLayer.Payments.Model; | ||
|
||
public static class Verification | ||
{ | ||
[JsonDiscriminator("automated")] | ||
public sealed record Automated: IDiscriminated | ||
{ | ||
public string Type => "automated"; | ||
|
||
/// <summary> | ||
/// Enable or disable the verification of the remitter name. | ||
/// </summary> | ||
public bool RemitterName { get; init; } | ||
|
||
/// <summary> | ||
/// Enable or disable the verification of the remitter date of birth. | ||
/// </summary> | ||
public bool RemitterDateOfBirth { 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