Skip to content

Commit 403cca2

Browse files
authored
Merge pull request #628 from nofrixion/feature/MOOV-4767-merchant-notes
Merchant notes and removed tag permissions
2 parents fc8e06e + dd3b04d commit 403cca2

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/NoFrixion.MoneyMoov/Models/Merchant/Merchant.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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.

src/NoFrixion.MoneyMoov/Models/Merchant/MerchantUpdate.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
// MIT.
1414
// -----------------------------------------------------------------------------
1515

16+
using System.ComponentModel.DataAnnotations;
17+
1618
namespace NoFrixion.MoneyMoov.Models;
1719

1820
public 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
}

0 commit comments

Comments
 (0)