Skip to content

Commit 6a56e3d

Browse files
authored
Merge pull request #598 from nofrixion/feature/TRAN-173-newaccount-roles
TRAN-173: Add RoleIDs array prop to PaymentAccountCreate model
2 parents 2a40206 + 1b7e4aa commit 6a56e3d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/NoFrixion.MoneyMoov/Models/Account/PaymentAccountCreate.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ public class PaymentAccountCreate
7575
/// The account name is displayed on the statement for trust accounts instead of the merchant name.
7676
/// </summary>
7777
public bool IsTrustAccount { get; set; }
78+
79+
/// <summary>
80+
/// Optional list of role IDs that will get access to the payment account when created.
81+
/// Creator user's roles will always be able to access the account.
82+
/// If not specified, the account will be accessible by all the merchant's roles.
83+
/// If specified as an empty list, the account will only be accessible by the creator user.
84+
/// </summary>
85+
public List<Guid>? RoleIDs { get; set; }
7886

7987
/// <summary>
8088
/// Places all the payment request's properties into a dictionary.

0 commit comments

Comments
 (0)