Package com.maxmind.minfraud.request
Class CreditCard
- java.lang.Object
-
- com.maxmind.minfraud.AbstractModel
-
- com.maxmind.minfraud.request.CreditCard
-
public final class CreditCard extends AbstractModel
The credit card information for the transaction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreditCard.Builder
Builder
creates instances of the parentCreditCard
from values set by the builder's methods.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Character
getAvsResult()
String
getBankName()
String
getBankPhoneCountryCode()
String
getBankPhoneNumber()
Character
getCvvResult()
String
getIssuerIdNumber()
String
getLast4Digits()
String
getToken()
-
Methods inherited from class com.maxmind.minfraud.AbstractModel
toJson, toString
-
-
-
-
Method Detail
-
getIssuerIdNumber
public String getIssuerIdNumber()
- Returns:
- The issuer ID number.
-
getLast4Digits
public String getLast4Digits()
- Returns:
- The last 4 digits of the credit card number.
-
getBankName
public String getBankName()
- Returns:
- The name of the issuing bank as provided by the end user.
-
getBankPhoneCountryCode
public String getBankPhoneCountryCode()
- Returns:
- The phone country code for the issuing bank as provided by the end user.
-
getBankPhoneNumber
public String getBankPhoneNumber()
- Returns:
- The phone number, without the country code, for the issuing bank as provided by the end user.
-
getAvsResult
public Character getAvsResult()
- Returns:
- The address verification system (AVS) check result, as returned to you by the credit card processor. The minFraud service supports the standard AVS codes.
-
getCvvResult
public Character getCvvResult()
- Returns:
- The card verification value (CVV) code as provided by the payment processor.
-
getToken
public String getToken()
- Returns:
- A credit card token uniquely identifying the card.
-
-