Class VisaPlan.Builder
-
- All Implemented Interfaces:
public class VisaPlan.Builder
-
-
Constructor Summary
Constructors Constructor Description VisaPlan.Builder()
-
Method Summary
Modifier and Type Method Description 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 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 -
-
Method Detail
-
setvPlanID
VisaPlan.Builder setvPlanID(@Nullable() String vPlanID)
Sets the Visa Plan ID
- Parameters:
vPlanID- the visa plan ID- Returns:
a reference to this object
-
setvPlanIDRef
VisaPlan.Builder setvPlanIDRef(@Nullable() String vPlanIDRef)
Sets the visa plan ID reference
- Parameters:
vPlanIDRef- the visa plan ID reference- Returns:
a reference to this object
-
build
VisaPlan build()
Creates a new instance of VisaPlan with the provided values VisaPlan
- Returns:
the VisaPlan
-
setName
VisaPlan.Builder setName(@Nullable() String name)
Sets the name of plan
- Parameters:
name- the name of plan- Returns:
a reference to this object
-
setType
VisaPlan.Builder setType(@Nullable() String type)
Sets the type of plan
- Parameters:
type- the plan type- Returns:
a reference to this object
-
setNumberOfInstallments
VisaPlan.Builder setNumberOfInstallments(int numberOfInstallments)
Sets the number of installments of the visa plan
- Parameters:
numberOfInstallments- the number of installments of the plan- Returns:
a reference to this object
-
setInstallmentFrequency
VisaPlan.Builder setInstallmentFrequency(@Nullable() String installmentFrequency)
Sets the installment frequency of the visa plan
- Parameters:
installmentFrequency- the installment frequency of the visa plan- Returns:
a reference to this object
-
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- Returns:
a reference to this object
-
setCostInfo
VisaPlan.Builder setCostInfo(@Nullable() CostInfo costInfo)
Sets the CostInfo
- Parameters:
costInfo- the cost info of visa plan- Returns:
a reference to this object
-
-
-
-