-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class CardBrandInfo implements Parcelable
-
-
Field Summary
Fields Modifier and Type Field Description private String
validation
private String
detection
private String
pattern
private CVVMode
cvvMode
private int
cvvLength
private boolean
isLuhnCheckRequired
private boolean
isExpiryDateOptional
private boolean
isMobilePhoneRequired
public final static Parcelable.Creator<CardBrandInfo>
CREATOR
-
Constructor Summary
Constructors Constructor Description CardBrandInfo()
-
Method Summary
Modifier and Type Method Description String
getValidation()
CardBrandInfo
setValidation(@NonNull() String validation)
String
getDetection()
CardBrandInfo
setDetection(@Nullable() String detection)
String
getPattern()
CardBrandInfo
setPattern(@NonNull() String pattern)
CVVMode
getCvvMode()
CardBrandInfo
setCvvMode(@NonNull() CVVMode cvvMode)
int
getCvvLength()
CardBrandInfo
setCvvLength(int cvvLength)
boolean
isLuhnCheckRequired()
boolean
isExpiryDateOptional()
boolean
isMobilePhoneRequired()
CardBrandInfo
setLuhnCheckRequired(boolean luhnCheckRequired)
CardBrandInfo
setExpiryDateOptional(boolean expiryDateOptional)
CardBrandInfo
setMobilePhoneRequired(boolean mobilePhoneRequired)
int
describeContents()
void
writeToParcel(Parcel dest, int flags)
boolean
equals(@Nullable() Object o)
int
hashCode()
-
-
Method Detail
-
getValidation
@NonNull() String getValidation()
-
setValidation
@NonNull() CardBrandInfo setValidation(@NonNull() String validation)
-
getDetection
@Nullable() String getDetection()
-
setDetection
@NonNull() CardBrandInfo setDetection(@Nullable() String detection)
-
getPattern
@NonNull() String getPattern()
-
setPattern
@NonNull() CardBrandInfo setPattern(@NonNull() String pattern)
-
getCvvMode
@NonNull() CVVMode getCvvMode()
-
setCvvMode
@NonNull() CardBrandInfo setCvvMode(@NonNull() CVVMode cvvMode)
-
getCvvLength
int getCvvLength()
-
setCvvLength
@NonNull() CardBrandInfo setCvvLength(int cvvLength)
-
isLuhnCheckRequired
boolean isLuhnCheckRequired()
-
isExpiryDateOptional
boolean isExpiryDateOptional()
-
isMobilePhoneRequired
boolean isMobilePhoneRequired()
-
setLuhnCheckRequired
@NonNull() CardBrandInfo setLuhnCheckRequired(boolean luhnCheckRequired)
-
setExpiryDateOptional
@NonNull() CardBrandInfo setExpiryDateOptional(boolean expiryDateOptional)
-
setMobilePhoneRequired
@NonNull() CardBrandInfo setMobilePhoneRequired(boolean mobilePhoneRequired)
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
hashCode
int hashCode()
-
-
-
-