-
- All Implemented Interfaces:
public class FeeInfo.Builder
-
-
Field Summary
Fields Modifier and Type Field Description private Stringtypeprivate StringratePercentageprivate StringmonthlyRatePercentageprivate StringflatFee
-
Method Summary
Modifier and Type Method Description 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. FeeInfobuild()Creates a new FeeInfo instance with the specified properties. -
-
Method Detail
-
setType
FeeInfo.Builder setType(@Nullable() String type)
Sets the type of fees.
- Parameters:
type- the type of fees, or null if not set.
-
setRatePercentage
FeeInfo.Builder setRatePercentage(String ratePercentage)
Sets the rate percentage.
- Parameters:
ratePercentage- the rate percentage, must be a positive integer.
-
setMonthlyRatePercentage
FeeInfo.Builder setMonthlyRatePercentage(@Nullable() String monthlyRatePercentage)
Sets the monthly rate percentage.
- Parameters:
monthlyRatePercentage- the monthly rate percentage, or null if not set.
-
setFlatFee
FeeInfo.Builder setFlatFee(@Nullable() String flatFee)
Sets the flat fee.
- Parameters:
flatFee- the flat fee, or null if not set.
-
-
-
-