public class GenericPayment extends java.lang.Object implements IPayment, android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<GenericPayment> |
CREATOR |
java.lang.Long |
id |
java.lang.String |
statementDescription |
java.lang.String |
status |
java.lang.String |
statusDetail |
Modifier | Constructor and Description |
---|---|
|
GenericPayment(java.lang.Long paymentId,
java.lang.String status,
java.lang.String statusDetail) |
|
GenericPayment(java.lang.Long paymentId,
java.lang.String status,
java.lang.String statusDetail,
java.lang.String statementDescription) |
protected |
GenericPayment(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
static GenericPayment |
from(IPayment payment) |
java.lang.Long |
getId() |
java.lang.String |
getPaymentStatus() |
java.lang.String |
getPaymentStatusDetail() |
java.lang.String |
getStatementDescription() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public final java.lang.Long id
public final java.lang.String status
public final java.lang.String statusDetail
@Nullable public final java.lang.String statementDescription
public static final android.os.Parcelable.Creator<GenericPayment> CREATOR
public GenericPayment(java.lang.Long paymentId, @NonNull java.lang.String status, @NonNull java.lang.String statusDetail)
protected GenericPayment(android.os.Parcel in)
public GenericPayment(java.lang.Long paymentId, @NonNull java.lang.String status, @NonNull java.lang.String statusDetail, @NonNull java.lang.String statementDescription)
@Nullable public java.lang.String getStatementDescription()
getStatementDescription
in interface IPayment
@NonNull public java.lang.String getPaymentStatus()
getPaymentStatus
in interface IPayment
@NonNull public java.lang.String getPaymentStatusDetail()
getPaymentStatusDetail
in interface IPayment
public static GenericPayment from(IPayment payment)
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable