diff --git a/src/main/java/se/ssns/iban/validator/test/CountryRule.java b/src/main/java/se/ssns/iban/validator/test/CountryRule.java new file mode 100644 index 0000000..f0ed78d --- /dev/null +++ b/src/main/java/se/ssns/iban/validator/test/CountryRule.java @@ -0,0 +1,47 @@ +package se.ssns.iban.validator.test; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * @author Simon Lindgren + * @since 2017-01-15. + */ +public class CountryRule { + //TODO Fix the annotations + @JsonProperty("CountryName") + private String CountryName; + @JsonProperty("BBANFormat") + private String BBANFormat; + @JsonProperty("IBANFormat") + private String IBANFormat; + @JsonProperty("CheckDigits") + private String CheckDigits; + + public String getCountryName() { + return CountryName; + } + + public String getBBANFormat() { + return BBANFormat; + } + + public String getIBANFormat() { + return IBANFormat; + } + + public String getCheckDigits() { + return CheckDigits; + } + + public CountryRule() { + } + + @Override + public String toString() { + return "CountryRule{" + + "CountryName='" + CountryName + '\'' + + ", BBANFormat='" + BBANFormat + '\'' + + ", IBANFormat='" + IBANFormat + '\'' + + '}'; + } +}