Class FeeInfo.Builder
-
- All Implemented Interfaces:
public class FeeInfo.Builder
-
-
Constructor Summary
Constructors Constructor Description FeeInfo.Builder()
-
Method Summary
Modifier and Type Method Description FeeInfobuild()Creates a new FeeInfo instance with the specified properties. FeeInfo.BuildersetType(@Nullable() String type)Sets the type of fees. FeeInfo.BuildersetRatePercentage(String ratePercentage)Sets the rate percentage. FeeInfo.BuildersetMonthlyRatePercentage(@Nullable() String monthlyRatePercentage)Sets the monthly rate percentage. FeeInfo.BuildersetFlatFee(@Nullable() String flatFee)Sets the flat fee. -
-
Method Detail
-
build
FeeInfo build()
Creates a new FeeInfo instance with the specified properties.
- Returns:
a new instance of FeeInfo with the specified properties.
-
setType
FeeInfo.Builder setType(@Nullable() String type)
Sets the type of fees.
- Parameters:
type- the type of fees, or null if not set.- Returns:
a reference to this object.
-
setRatePercentage
FeeInfo.Builder setRatePercentage(String ratePercentage)
Sets the rate percentage.
- Parameters:
ratePercentage- the rate percentage, must be a positive integer.- Returns:
a reference to this object.
-
setMonthlyRatePercentage
FeeInfo.Builder setMonthlyRatePercentage(@Nullable() String monthlyRatePercentage)
Sets the monthly rate percentage.
- Parameters:
monthlyRatePercentage- the monthly rate percentage, or null if not set.- Returns:
a reference to this object.
-
setFlatFee
FeeInfo.Builder setFlatFee(@Nullable() String flatFee)
Sets the flat fee.
- Parameters:
flatFee- the flat fee, or null if not set.- Returns:
a reference to this object.
-
-
-
-