File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
src/NoFrixion.MoneyMoov/Models/Merchant Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,11 @@ public class Merchant
131131 /// </summary>
132132 public string ? LogoUrlSvg { get ; set ; }
133133
134+ /// <summary>
135+ /// The notes field is an optional free text field that can be used to store any additional information about the merchant.
136+ /// </summary>
137+ public string ? Notes { get ; set ; }
138+
134139 /// <summary>
135140 /// An optional list of descriptive tags that can be used on merchant entities
136141 /// such as payment requests.
Original file line number Diff line number Diff line change 1313// MIT.
1414// -----------------------------------------------------------------------------
1515
16+ using System . ComponentModel . DataAnnotations ;
17+
1618namespace NoFrixion . MoneyMoov . Models ;
1719
1820public class MerchantUpdate
@@ -24,4 +26,7 @@ public class MerchantUpdate
2426 public string ? LogoUrlPng { get ; set ; }
2527
2628 public string ? LogoUrlSvg { get ; set ; }
29+
30+ [ MaxLength ( 2000 , ErrorMessage = "Merchant notes must be 2000 characters or less." ) ]
31+ public string ? Notes { get ; set ; }
2732}
You can’t perform that action at this time.
0 commit comments