Namespace HeroKit.Validation
Classes
- CardNumberAttribute
Validates a payment card number (length and Luhn) with IsValidCardNumber(string?).
- CountryValidationAttribute
Base class for attributes that validate a string with the rules of a country registered in Countries.
- EttnAttribute
Validates an e-invoice ETTN (UUID) with IsValidEttn(string?).
- GibInvoiceNumberAttribute
Validates a Turkish e-Fatura or e-Arşiv invoice number (GİB format) with IsValidGibInvoiceNumber(string?).
- GtinAttribute
Validates a GTIN barcode number (EAN-8, UPC-A, EAN-13, GTIN-14) with IsValidGtin(string?).
- IbanAttribute
Validates an IBAN (ISO 13616) with IsValidIban(string?).
- IdCardSerialAttribute
Validates a Turkish chip identity card serial number with IsValidIdCardSerial(string?).
- KepAddressAttribute
Validates a KEP (Kayıtlı Elektronik Posta) address with IsValidKepAddress(string?).
- MersisAttribute
Validates a MERSİS number with IsValidMersis(string?).
- NationalIdAttribute
Validates a national identity number of a country, for example
[NationalId("TR")]for a TCKN.
- PhoneNumberAttribute
Validates a phone number of a country, for example
[PhoneNumber("TR")].
- PostalCodeAttribute
Validates a postal code of a country, for example
[PostalCode("TR")].
- TaxIdAttribute
Validates a tax identifier of a country, for example
[TaxId("TR")]for a VKN or TCKN.
- TcknAttribute
Validates a Turkish identity number (T.C. Kimlik No) with IsValidTckn(string?).
- VehiclePlateAttribute
Validates a vehicle plate of a country, for example
[VehiclePlate("TR")].
- VknAttribute
Validates a Turkish tax number (Vergi Kimlik No) with IsValidVkn(string?).