Package io.moov.sdk.models.components
Class FeeProperties.Builder
- java.lang.Object
-
- io.moov.sdk.models.components.FeeProperties.Builder
-
- Enclosing class:
- FeeProperties
public static final class FeeProperties.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeePropertiesbuild()FeeProperties.BuilderfixedAmount(AmountDecimal fixedAmount)A fixed fee that is applied to the amount of each transaction in the `fixed` and `blended` fee models.FeeProperties.BuilderfixedAmount(java.util.Optional<? extends AmountDecimal> fixedAmount)A fixed fee that is applied to the amount of each transaction in the `fixed` and `blended` fee models.FeeProperties.BuildermaxPerTransaction(AmountDecimal maxPerTransaction)Specifies the maximum allowable spending for a single transaction, working as a transaction ceiling.FeeProperties.BuildermaxPerTransaction(java.util.Optional<? extends AmountDecimal> maxPerTransaction)Specifies the maximum allowable spending for a single transaction, working as a transaction ceiling.FeeProperties.BuilderminPerTransaction(AmountDecimal minPerTransaction)Specifies the minimum allowable spending for a single transaction, working as a transaction floor.FeeProperties.BuilderminPerTransaction(java.util.Optional<? extends AmountDecimal> minPerTransaction)Specifies the minimum allowable spending for a single transaction, working as a transaction floor.FeeProperties.BuildervariableRate(java.lang.String variableRate)A percentage fee that is applied to the amount of each transaction in the `blended` fee model, expressed as a decimal.FeeProperties.BuildervariableRate(java.util.Optional<java.lang.String> variableRate)A percentage fee that is applied to the amount of each transaction in the `blended` fee model, expressed as a decimal.
-
-
-
Method Detail
-
fixedAmount
public FeeProperties.Builder fixedAmount(AmountDecimal fixedAmount)
A fixed fee that is applied to the amount of each transaction in the `fixed` and `blended` fee models.
-
fixedAmount
public FeeProperties.Builder fixedAmount(java.util.Optional<? extends AmountDecimal> fixedAmount)
A fixed fee that is applied to the amount of each transaction in the `fixed` and `blended` fee models.
-
variableRate
public FeeProperties.Builder variableRate(java.lang.String variableRate)
A percentage fee that is applied to the amount of each transaction in the `blended` fee model, expressed as a decimal.For example, 0.05% is '0.05'.
-
variableRate
public FeeProperties.Builder variableRate(java.util.Optional<java.lang.String> variableRate)
A percentage fee that is applied to the amount of each transaction in the `blended` fee model, expressed as a decimal.For example, 0.05% is '0.05'.
-
minPerTransaction
public FeeProperties.Builder minPerTransaction(AmountDecimal minPerTransaction)
Specifies the minimum allowable spending for a single transaction, working as a transaction floor.
-
minPerTransaction
public FeeProperties.Builder minPerTransaction(java.util.Optional<? extends AmountDecimal> minPerTransaction)
Specifies the minimum allowable spending for a single transaction, working as a transaction floor.
-
maxPerTransaction
public FeeProperties.Builder maxPerTransaction(AmountDecimal maxPerTransaction)
Specifies the maximum allowable spending for a single transaction, working as a transaction ceiling.
-
maxPerTransaction
public FeeProperties.Builder maxPerTransaction(java.util.Optional<? extends AmountDecimal> maxPerTransaction)
Specifies the maximum allowable spending for a single transaction, working as a transaction ceiling.
-
build
public FeeProperties build()
-
-