-
- All Implemented Interfaces:
-
android.os.Parcelable
,java.lang.Cloneable
public class VirtualAccount implements Parcelable, Cloneable
Class to represent stored Virtual Account payment information.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
accountId
private final String
holder
public final static Parcelable.Creator<VirtualAccount>
CREATOR
-
Constructor Summary
Constructors Constructor Description VirtualAccount(String holder, String accountId)
VirtualAccount(Parcel in)
VirtualAccount(VirtualAccount va)
-
Method Summary
Modifier and Type Method Description String
getAccountId()
Returns id of a virtual account. String
getHolder()
Returns holder name of a virtual account. int
describeContents()
void
writeToParcel(@NonNull() Parcel dest, int flags)
boolean
equals(Object o)
int
hashCode()
VirtualAccount
clone()
-
-
Constructor Detail
-
VirtualAccount
VirtualAccount(String holder, String accountId)
- Parameters:
holder
- holder name of a virtual accountaccountId
- identifier of a virtual account
-
VirtualAccount
VirtualAccount(Parcel in)
-
VirtualAccount
VirtualAccount(VirtualAccount va)
-
-
Method Detail
-
getAccountId
@NonNull() String getAccountId()
Returns id of a virtual account.
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(@NonNull() Parcel dest, int flags)
-
hashCode
int hashCode()
-
clone
@NonNull() VirtualAccount clone()
-
-
-
-