Class VisaPlan
-
- All Implemented Interfaces:
-
android.os.Parcelable
public class VisaPlan implements Parcelable
Represent information about a Visa installment plan.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classVisaPlan.Builder
-
Field Summary
Fields Modifier and Type Field Description public final Stringnamepublic final Stringtypepublic final intnumberOfInstallmentspublic final StringinstallmentFrequencypublic final List<TermsAndConditions>termsAndConditionspublic final CostInfocostInfopublic final static Parcelable.Creator<VisaPlan>CREATOR
-
Constructor Summary
Constructors Constructor Description VisaPlan(VisaPlan.Builder builder)
-
Method Summary
Modifier and Type Method Description StringgetName()Returns the name of the Visa Plan. StringgetType()Returns the type of the Visa Plan. intgetNumberOfInstallments()Returns the number of installments for the Visa Plan. StringgetInstallmentFrequency()Returns the frequency of installments for the Visa Plan. List<TermsAndConditions>getTermsAndConditions()Returns the terms and conditions associated with the Visa Plan. CostInfogetCostInfo()Returns the cost information associated with the Visa Plan. StringgetvPlanID()Returns the Visa Plan ID. StringgetvPlanIDRef()Returns the Visa Plan ID reference. booleanequals(Object o)inthashCode()intdescribeContents()voidwriteToParcel(@NonNull() Parcel dest, int flags)-
-
Constructor Detail
-
VisaPlan
VisaPlan(VisaPlan.Builder builder)
-
-
Method Detail
-
getNumberOfInstallments
int getNumberOfInstallments()
Returns the number of installments for the Visa Plan.
- Returns:
the number of installments
-
getInstallmentFrequency
@Nullable() String getInstallmentFrequency()
Returns the frequency of installments for the Visa Plan.
- Returns:
the installment frequency or null if not set
-
getTermsAndConditions
@Nullable() List<TermsAndConditions> getTermsAndConditions()
Returns the terms and conditions associated with the Visa Plan.
- Returns:
a list of terms and conditions or null if not set
-
getCostInfo
@Nullable() CostInfo getCostInfo()
Returns the cost information associated with the Visa Plan.
- Returns:
the cost info or null if not set
-
getvPlanID
@Nullable() String getvPlanID()
Returns the Visa Plan ID.
- Returns:
the Visa Plan ID or null if not set
-
getvPlanIDRef
@Nullable() String getvPlanIDRef()
Returns the Visa Plan ID reference.
- Returns:
the Visa Plan ID reference or null if not set
-
hashCode
int hashCode()
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(@NonNull() Parcel dest, int flags)
-
-
-
-