CreditCardNetwork.java
/*
* Copyright (C) 2016 Alberto Irurueta Carro (alberto@irurueta.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.irurueta.commons.validators;
/**
* Supported credit card brands.
*/
public enum CreditCardNetwork {
/**
* American Express.
*/
AMERICAN_EXPRESS,
/**
* Bankcard.
*/
BANKCARD,
/**
* China UnionPay.
*/
CHINA_UNIONPAY,
/**
* Diners Club Carte Blanche.
*/
DINERS_CLUB_CARTE_BLANCHE,
/**
* Diners Club Enroute.
*/
DINERS_CLUB_ENROUTE,
/**
* Diners Club International.
*/
DINERS_CLUB_INTERNATIONAL,
/**
* Diners Club USA and Canada.
*/
DINERS_CLUB_USA_CANADA,
/**
* Discover.
*/
DISCOVER,
/**
* Instapayment.
*/
INSTAPAYMENT,
/**
* JCB.
*/
JCB,
/**
* Laser.
*/
LASER,
/**
* Maestro.
*/
MAESTRO,
/**
* MasterCard.
*/
MASTERCARD,
/**
* Solo.
*/
SOLO,
/**
* Switch.
*/
SWITCH,
/**
* Visa.
*/
VISA,
/**
* VISA ELECTRON.
*/
VISA_ELECTRON,
/**
* Unknown.
*/
UNKNOWN
}