-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class CardBrandInfo implements Parcelable
-
-
Field Summary
Fields Modifier and Type Field Description private Stringvalidationprivate Stringdetectionprivate Stringpatternprivate CVVModecvvModeprivate intcvvLengthprivate booleanisLuhnCheckRequiredprivate booleanisExpiryDateOptionalprivate booleanisMobilePhoneRequiredpublic final static Parcelable.Creator<CardBrandInfo>CREATOR
-
Constructor Summary
Constructors Constructor Description CardBrandInfo()
-
Method Summary
Modifier and Type Method Description StringgetValidation()CardBrandInfosetValidation(@NonNull() String validation)StringgetDetection()CardBrandInfosetDetection(@Nullable() String detection)StringgetPattern()CardBrandInfosetPattern(@NonNull() String pattern)CVVModegetCvvMode()CardBrandInfosetCvvMode(@NonNull() CVVMode cvvMode)intgetCvvLength()CardBrandInfosetCvvLength(int cvvLength)booleanisLuhnCheckRequired()booleanisExpiryDateOptional()booleanisMobilePhoneRequired()CardBrandInfosetLuhnCheckRequired(boolean luhnCheckRequired)CardBrandInfosetExpiryDateOptional(boolean expiryDateOptional)CardBrandInfosetMobilePhoneRequired(boolean mobilePhoneRequired)intdescribeContents()voidwriteToParcel(Parcel dest, int flags)booleanequals(@Nullable() Object o)inthashCode()-
-
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()
-
-
-
-