100 lines
2.7 KiB
Java
100 lines
2.7 KiB
Java
package com.kofax.mobile.sdk.capture.model;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class CreditCard extends CaptureData implements Parcelable {
|
|
public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: com.kofax.mobile.sdk.capture.model.CreditCard.1
|
|
@Override // android.os.Parcelable.Creator
|
|
/* renamed from: a, reason: merged with bridge method [inline-methods] */
|
|
public final CreditCard createFromParcel(Parcel parcel) {
|
|
return new CreditCard(parcel);
|
|
}
|
|
|
|
@Override // android.os.Parcelable.Creator
|
|
/* renamed from: t, reason: merged with bridge method [inline-methods] */
|
|
public final CreditCard[] newArray(int i) {
|
|
return new CreditCard[i];
|
|
}
|
|
};
|
|
private String name = new String();
|
|
private String cardNumber = new String();
|
|
private String acV = new String();
|
|
private String acW = new String();
|
|
private String cvv = new String();
|
|
|
|
@Override // android.os.Parcelable
|
|
public int describeContents() {
|
|
return 0;
|
|
}
|
|
|
|
public CreditCard() {
|
|
}
|
|
|
|
public CreditCard(Parcel parcel) {
|
|
readFromParcel(parcel);
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public void writeToParcel(Parcel parcel, int i) {
|
|
parcel.writeString(this.name);
|
|
parcel.writeString(this.cardNumber);
|
|
parcel.writeString(this.acV);
|
|
parcel.writeString(this.acW);
|
|
parcel.writeString(this.cvv);
|
|
parcel.writeString(this.capturedImageId);
|
|
parcel.writeString(this.processedImageId);
|
|
}
|
|
|
|
private void readFromParcel(Parcel parcel) {
|
|
this.name = parcel.readString();
|
|
this.cardNumber = parcel.readString();
|
|
this.acV = parcel.readString();
|
|
this.acW = parcel.readString();
|
|
this.cvv = parcel.readString();
|
|
this.capturedImageId = parcel.readString();
|
|
this.processedImageId = parcel.readString();
|
|
}
|
|
|
|
public void setName(String str) {
|
|
this.name = str;
|
|
}
|
|
|
|
public void setExpirationYear(String str) {
|
|
this.acW = str;
|
|
}
|
|
|
|
public void setExpirationMonth(String str) {
|
|
this.acV = str;
|
|
}
|
|
|
|
public void setCvv(String str) {
|
|
this.cvv = str;
|
|
}
|
|
|
|
public void setCardNumber(String str) {
|
|
this.cardNumber = str;
|
|
}
|
|
|
|
public String getName() {
|
|
return this.name;
|
|
}
|
|
|
|
public String getExpirationYear() {
|
|
return this.acW;
|
|
}
|
|
|
|
public String getExpirationMonth() {
|
|
return this.acV;
|
|
}
|
|
|
|
public String getCvv() {
|
|
return this.cvv;
|
|
}
|
|
|
|
public String getCardNumber() {
|
|
return this.cardNumber;
|
|
}
|
|
}
|