←Select platform

GetCardType Method

Summary

Gets a CardType from a credit card number.

Syntax

C#
VB
Java
Objective-C
public static Leadtools.Creditcards.CardType GetCardType(  
   string cardNumber 
) 
Public Shared Function GetCardType( _ 
   ByVal cardNumber As String _ 
) As Leadtools.Creditcards.CardType 
+ (LTCardType)cardTypeForCardNumber:(NSString *)cardNumber
public static CardType getCardType(String cardNumber)

Parameters

cardNumber
The number of the card used to retrieve the CardType

Return Value

The CardType that corresponds to the card number.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Click or drag to resize