Skip to content

Commit 7ad3f33

Browse files
committed
update README
add sample usage of @Iso20022CharacterSet
1 parent f1bdb1d commit 7ad3f33

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Tested with [Qonto](https://qonto.com) bulk SEPA transfers.
2323

2424
## Usage
2525

26-
### IBAN and BIC validation
26+
### Validation
2727

2828
```java
2929
class MyRecord {
@@ -34,10 +34,13 @@ class MyRecord {
3434
@BIC
3535
private String bic;
3636

37+
@Iso20022CharacterSet
38+
private String reference;
39+
3740
}
3841
```
3942

40-
Only accepts valid IBAN, BIC8 and BIC11.
43+
Only accepts valid IBAN, BIC8/BIC11 and valid ISO 20022 patterns.
4144

4245
### Bulk SEPA transfers
4346

0 commit comments

Comments
 (0)