Package io.moov.sdk.models.components
Class BillableFee.Builder
- java.lang.Object
-
- io.moov.sdk.models.components.BillableFee.Builder
-
- Enclosing class:
- BillableFee
public static final class BillableFee.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BillableFee.BuilderbillableEvent(java.lang.String billableEvent)A unique code identifying a charge.BillableFee.BuilderbillableEvent(java.util.Optional<java.lang.String> billableEvent)A unique code identifying a charge.BillableFee.BuilderbillableFeeID(java.lang.String billableFeeID)BillableFee.BuilderbillableFeeID(java.util.Optional<java.lang.String> billableFeeID)BillableFeebuild()BillableFee.BuilderfeeCategory(FeeCategory feeCategory)BillableFee.BuilderfeeConditions(java.util.Map<java.lang.String,java.lang.Object> feeConditions)Defines the specific conditions that must be met for the fee to be applied.BillableFee.BuilderfeeConditions(java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.Object>> feeConditions)Defines the specific conditions that must be met for the fee to be applied.BillableFee.BuilderfeeModel(FeeModel feeModel)Specifies the pricing model used for the calculation of the final fee.BillableFee.BuilderfeeName(java.lang.String feeName)Specifies the name of the fee that will be billed.BillableFee.BuilderfeeName(java.util.Optional<java.lang.String> feeName)Specifies the name of the fee that will be billed.BillableFee.BuilderfeeProperties(FeeProperties feeProperties)Defines the specific parameters used for fee calculation.BillableFee.BuilderfeeProperties(java.util.Optional<? extends FeeProperties> feeProperties)Defines the specific parameters used for fee calculation.
-
-
-
Method Detail
-
billableFeeID
public BillableFee.Builder billableFeeID(java.lang.String billableFeeID)
-
billableFeeID
public BillableFee.Builder billableFeeID(java.util.Optional<java.lang.String> billableFeeID)
-
billableEvent
public BillableFee.Builder billableEvent(java.lang.String billableEvent)
A unique code identifying a charge.
-
billableEvent
public BillableFee.Builder billableEvent(java.util.Optional<java.lang.String> billableEvent)
A unique code identifying a charge.
-
feeName
public BillableFee.Builder feeName(java.lang.String feeName)
Specifies the name of the fee that will be billed.
-
feeName
public BillableFee.Builder feeName(java.util.Optional<java.lang.String> feeName)
Specifies the name of the fee that will be billed.
-
feeModel
public BillableFee.Builder feeModel(FeeModel feeModel)
Specifies the pricing model used for the calculation of the final fee.
-
feeCategory
public BillableFee.Builder feeCategory(FeeCategory feeCategory)
-
feeProperties
public BillableFee.Builder feeProperties(FeeProperties feeProperties)
Defines the specific parameters used for fee calculation.
-
feeProperties
public BillableFee.Builder feeProperties(java.util.Optional<? extends FeeProperties> feeProperties)
Defines the specific parameters used for fee calculation.
-
feeConditions
public BillableFee.Builder feeConditions(java.util.Map<java.lang.String,java.lang.Object> feeConditions)
Defines the specific conditions that must be met for the fee to be applied.
-
feeConditions
public BillableFee.Builder feeConditions(java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.Object>> feeConditions)
Defines the specific conditions that must be met for the fee to be applied.
-
build
public BillableFee build()
-
-