-
- All Implemented Interfaces:
public class VisaPlan.Builder
-
-
Field Summary
Fields Modifier and Type Field Description private Stringnameprivate Stringtypeprivate intnumberOfInstallmentsprivate StringinstallmentFrequencyprivate List<TermsAndConditions>termsAndConditionsprivate CostInfocostInfo
-
Method Summary
Modifier and Type Method Description VisaPlan.BuildersetName(@Nullable() String name)Sets the name of plan VisaPlan.BuildersetType(@Nullable() String type)Sets the type of plan VisaPlan.BuildersetNumberOfInstallments(int numberOfInstallments)Sets the number of installments of the visa plan VisaPlan.BuildersetInstallmentFrequency(@Nullable() String installmentFrequency)Sets the installment frequency of the visa plan VisaPlan.BuildersetTermsAndConditions(@Nullable() List<TermsAndConditions> termsAndConditions)Sets the list of terms &condition of the visa plan VisaPlan.BuildersetCostInfo(@Nullable() CostInfo costInfo)Sets the CostInfo VisaPlan.BuildersetvPlanID(@Nullable() String vPlanID)Sets the Visa Plan ID VisaPlan.BuildersetvPlanIDRef(@Nullable() String vPlanIDRef)Sets the visa plan ID reference VisaPlanbuild()Creates a new instance of VisaPlan with the provided values VisaPlan -
-
Method Detail
-
setName
VisaPlan.Builder setName(@Nullable() String name)
Sets the name of plan
- Parameters:
name- the name of plan
-
setType
VisaPlan.Builder setType(@Nullable() String type)
Sets the type of plan
- Parameters:
type- the plan type
-
setNumberOfInstallments
VisaPlan.Builder setNumberOfInstallments(int numberOfInstallments)
Sets the number of installments of the visa plan
- Parameters:
numberOfInstallments- the number of installments of the plan
-
setInstallmentFrequency
VisaPlan.Builder setInstallmentFrequency(@Nullable() String installmentFrequency)
Sets the installment frequency of the visa plan
- Parameters:
installmentFrequency- the installment frequency of the visa plan
-
setTermsAndConditions
VisaPlan.Builder setTermsAndConditions(@Nullable() List<TermsAndConditions> termsAndConditions)
Sets the list of terms &condition of the visa plan
- Parameters:
termsAndConditions- list of terms &condition of the visa plan
-
setCostInfo
VisaPlan.Builder setCostInfo(@Nullable() CostInfo costInfo)
Sets the CostInfo
- Parameters:
costInfo- the cost info of visa plan
-
setvPlanID
VisaPlan.Builder setvPlanID(@Nullable() String vPlanID)
Sets the Visa Plan ID
- Parameters:
vPlanID- the visa plan ID
-
setvPlanIDRef
VisaPlan.Builder setvPlanIDRef(@Nullable() String vPlanIDRef)
Sets the visa plan ID reference
- Parameters:
vPlanIDRef- the visa plan ID reference
-
-
-
-