除了源评论之外,我找不到card.io的文档。
CardIOCreditCardInfo.h文件具有CardIOCreditCardType的枚举。
typedef NS_ENUM(NSInteger, CardIOCreditCardType) {
/// Deprecated.
/// @see CardIOCreditCardTypeUnrecognized, CardIOCreditCardTypeAmbiguous
CardIOCreditCardTypeUnknown __attribute__((deprecated("Use CardIOCreditCardTypeUnrecognized or CardIOCreditCardTypeAmbiguous instead."))) = 0,
/// The card number does not correspond to any recognizable card type.
CardIOCreditCardTypeUnrecognized = 0,
/// The card number corresponds to multiple card types (e.g., when only a few digits have been entered).
CardIOCreditCardTypeAmbiguous = 1,
/// American Express
CardIOCreditCardTypeAmex = '3',
/// Japan Credit Bureau
CardIOCreditCardTypeJCB = 'J',
/// VISA
CardIOCreditCardTypeVisa = '4',
/// MasterCard
CardIOCreditCardTypeMastercard = '5',
/// Discover Card
CardIOCreditCardTypeDiscover = '6'
};
card.io是否仅支持Amex,JCB,Visa,Mastercard和Discover的自动卡号提取?
card.io不支持Lowe&s,Home Depot或Target等商家卡的卡号提取吗?
卡号提取是否有其他要求,例如卡号需要浮雕?
CardIOCreditCardTypeAmbiguous和Unrecognized仅用于手动输入的卡号吗?
答案 0 :(得分:7)
来自card.io的戴夫。
card.io是否仅支持Amex,JCB,Visa,Mastercard和Discover的自动卡号提取?
正确。
card.io不支持Lowe's,Home Depot或Target等商家卡的卡号提取吗?
正确,条件是某些商家的卡片使用的数字与标准信用卡类型的格式相对应,例如Visa或万事达卡。 card.io将识别这些卡片。
卡号提取是否有其他要求,例如卡号需要浮雕?
card.io目前只处理传统的浮雕卡片。
CardIOCreditCardTypeAmbiguous和Unrecognized仅用于手动输入的卡号吗?
正确。