public enum CardBrand
CardBrand
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
CardBrand.JsonAdapter
Moshi json adapter for CardBrand
|
| 列挙型定数と説明 |
|---|
AMEX
American Express
|
DINERS_CLUB
Diners Club
|
DISCOVER
Discover
|
JCB
JCB
|
MASTER_CARD
Mastercard
|
UNKNOWN
Unknown brand
|
VISA
VISA
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
getCvcLength()
valid length of the cvc number.
|
int |
getNumberLength()
valid length of the card number.
|
kotlin.text.Regex |
getNumberRegex()
card number regular expression.
Because we only check the lead several character,
the regex has no size restriction.
|
java.lang.String |
getRawValue() |
public static CardBrand VISA
VISA
public static CardBrand MASTER_CARD
Mastercard
public static CardBrand JCB
JCB
public static CardBrand AMEX
American Express
public static CardBrand DINERS_CLUB
Diners Club
public static CardBrand DISCOVER
Discover
public static CardBrand UNKNOWN
Unknown brand
@NotNull public kotlin.text.Regex getNumberRegex()
card number regular expression. Because we only check the lead several character, the regex has no size restriction.
public int getNumberLength()
valid length of the card number.
public int getCvcLength()
valid length of the cvc number.
@NotNull public java.lang.String getRawValue()