duckling/Duckling/Rules
Giovanni Cappellotto 1052914cb4 Credit cards
Summary:
Add the ability to parse credit cards and identify the issuer in Duckling.

Credit card numbers are a sequence of 8 to 19 digits, with a few specific digits at the start that identify the card issuer. They also satisfy Luhn checksum (https://en.wikipedia.org/wiki/Luhn_algorithm).

Reviewed By: chinmay87

Differential Revision: D13014623

fbshipit-source-id: 96586e074777ae90a4a39c515648c31a8111f0c2
2018-11-14 11:16:03 -08:00
..
AR.hs Credit cards 2018-11-14 11:16:03 -08:00
BG.hs Credit cards 2018-11-14 11:16:03 -08:00
BN.hs Credit cards 2018-11-14 11:16:03 -08:00
Common.hs Credit cards 2018-11-14 11:16:03 -08:00
CS.hs Credit cards 2018-11-14 11:16:03 -08:00
DA.hs Credit cards 2018-11-14 11:16:03 -08:00
DE.hs Credit cards 2018-11-14 11:16:03 -08:00
EL.hs Credit cards 2018-11-14 11:16:03 -08:00
EN.hs Credit cards 2018-11-14 11:16:03 -08:00
ES.hs Credit cards 2018-11-14 11:16:03 -08:00
ET.hs Credit cards 2018-11-14 11:16:03 -08:00
FI.hs Credit cards 2018-11-14 11:16:03 -08:00
FR.hs Credit cards 2018-11-14 11:16:03 -08:00
GA.hs Credit cards 2018-11-14 11:16:03 -08:00
HE.hs Credit cards 2018-11-14 11:16:03 -08:00
HI.hs Credit cards 2018-11-14 11:16:03 -08:00
HR.hs Credit cards 2018-11-14 11:16:03 -08:00
HU.hs Credit cards 2018-11-14 11:16:03 -08:00
ID.hs Credit cards 2018-11-14 11:16:03 -08:00
IS.hs Credit cards 2018-11-14 11:16:03 -08:00
IT.hs Credit cards 2018-11-14 11:16:03 -08:00
JA.hs Credit cards 2018-11-14 11:16:03 -08:00
KA.hs Credit cards 2018-11-14 11:16:03 -08:00
KM.hs Credit cards 2018-11-14 11:16:03 -08:00
KO.hs Credit cards 2018-11-14 11:16:03 -08:00
LO.hs Credit cards 2018-11-14 11:16:03 -08:00
ML.hs Credit cards 2018-11-14 11:16:03 -08:00
MY.hs Credit cards 2018-11-14 11:16:03 -08:00
NB.hs Credit cards 2018-11-14 11:16:03 -08:00
NE.hs Credit cards 2018-11-14 11:16:03 -08:00
NL.hs Credit cards 2018-11-14 11:16:03 -08:00
PL.hs Credit cards 2018-11-14 11:16:03 -08:00
PT.hs Credit cards 2018-11-14 11:16:03 -08:00
RO.hs Credit cards 2018-11-14 11:16:03 -08:00
RU.hs Credit cards 2018-11-14 11:16:03 -08:00
SV.hs Credit cards 2018-11-14 11:16:03 -08:00
TA.hs Credit cards 2018-11-14 11:16:03 -08:00
TR.hs Credit cards 2018-11-14 11:16:03 -08:00
UK.hs Credit cards 2018-11-14 11:16:03 -08:00
VI.hs Credit cards 2018-11-14 11:16:03 -08:00
ZH.hs Credit cards 2018-11-14 11:16:03 -08:00