|
Method DetailValidityCheck createCheck() Returns an empty ValidityCheck Returns: ValidityCheck Since: 04-15-2020 String getUSCardType(String cardNumber) Returns a United States credit card type (Visa, Master Card, Discover, Amex, and Diners). Returns null if card type cannot be determined.
Parameters:
Returns: String Since: 09-12-2008 boolean isEmpty(String value) Returns true if the value is null or contains only whitespace characters or empty string.
Parameters:
Returns: boolean Since: 10-15-2009 boolean isRoutingNumberValid(String routingNumber) Validates routing transit number checksum. Input string may contain extra characters which will be ignored during validation
Parameters:
Returns: boolean Since: 06-18-2010 boolean isValidDate(String date) Returns true if the date is a valid date.
Parameters:
Returns: boolean Since: 06-28-2007 boolean isValidDomain(String domain) Returns true if the domain is valid. Domain should be something.dom, not https://something.com
Parameters:
Returns: boolean Since: 08-07-2008 boolean isValidEmail(String email) Returns true if the email is a valid email address.
Parameters:
Returns: boolean Since: 06-28-2007 boolean isValidFaxNumber(String faxNumber) Returns true if the number is a valid fax number.
Parameters:
Returns: boolean Since: 03-25-2009 boolean isValidNumber(String number) Returns true if the number is a valid number.
Parameters:
Returns: boolean Since: 06-28-2007 boolean isValidPhone(String phoneNumber, boolean allowExtension) Returns true if the number is a valid phone number. If allow extension is true, everything after the letter 'x' (if present) must be a number.
Parameters:
Returns: boolean Since: 12-28-2011 boolean isValidPostalCode(String countryCode, String postalCode) Returns true if the postal code is an acceptable format for the specified country. (10/15/2009 - US support only)
Parameters:
Returns: boolean Since: 10-15-2009 boolean isValidSMS(String address) Returns true if the address is a valid SMS address.
Parameters:
Returns: boolean Since: 04-27-2009 boolean isValidSecureUrl(String url) Returns true if the url is valid. The URL should start with https.
Parameters:
Returns: boolean Since: 03-30-2023 boolean isValidStateCode(String stateCode, String countryCode) Returns true if the state code is an acceptable format for the specified country. For example, 'UT' is a valid state for 'US' . (12/14/2012 - US and Canada support only)
Parameters:
Returns: boolean Since: 12-14-2012 boolean isValidUSCard(String cardNumber) Validates a credit card issued in the United States of type Visa, Master Card, Discover, Amex, and Diners
Parameters:
Returns: boolean Since: 09-12-2008 boolean isValidUrl(String url) Returns true if the url is valid. The URL should start with http.
Parameters:
Returns: boolean Since: 03-30-2023 boolean isValidVIN(String vin) Returns true if string is a valid VIN (post 1981).
Parameters:
Returns: boolean Since: 03-08-2024 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Nov 22, 2024 11:54 AM |