1515// MIT.
1616//-----------------------------------------------------------------------------
1717
18+ using NoFrixion . MoneyMoov . Enums ;
19+
1820namespace NoFrixion . MoneyMoov . Models ;
1921
2022public class PaymentAccountCreate
@@ -50,6 +52,17 @@ public class PaymentAccountCreate
5052 /// For internal use only. Leave empty unless requested otherwise.
5153 /// </summary>
5254 public Guid PhysicalAccountID { get ; set ; }
55+
56+ /// <summary>
57+ /// If specified the account type will be set to the specified value
58+ /// disregarding the merchant default account type.
59+ /// </summary>
60+ public AccountTypeEnum ? AccountType { get ; set ; }
61+
62+ /// <summary>
63+ /// If creating a Tribe account type, then this is the tribe account id
64+ /// </summary>
65+ public string ? TribeAccountId { get ; set ; }
5366
5467 /// <summary>
5568 /// Places all the payment request's properties into a dictionary.
@@ -64,6 +77,8 @@ public Dictionary<string, string> ToDictionary()
6477 { nameof ( Currency ) , Currency . ToString ( ) } ,
6578 { nameof ( AccountName ) , AccountName ?? string . Empty } ,
6679 { nameof ( PhysicalAccountID ) , PhysicalAccountID . ToString ( ) } ,
80+ { nameof ( AccountType ) , AccountType ? . ToString ( ) ?? string . Empty } ,
81+ { nameof ( TribeAccountId ) , TribeAccountId ?? string . Empty }
6782 } ;
6883 }
6984}
0 commit comments