Package io.moov.sdk.models.components
Class BillableFee
- java.lang.Object
-
- io.moov.sdk.models.components.BillableFee
-
public class BillableFee extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBillableFee.Builder
-
Constructor Summary
Constructors Constructor Description BillableFee(FeeModel feeModel, FeeCategory feeCategory)BillableFee(java.util.Optional<java.lang.String> billableFeeID, java.util.Optional<java.lang.String> billableEvent, java.util.Optional<java.lang.String> feeName, FeeModel feeModel, FeeCategory feeCategory, java.util.Optional<? extends FeeProperties> feeProperties, java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.Object>> feeConditions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>billableEvent()A unique code identifying a charge.java.util.Optional<java.lang.String>billableFeeID()static BillableFee.Builderbuilder()booleanequals(java.lang.Object o)FeeCategoryfeeCategory()java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>>feeConditions()Defines the specific conditions that must be met for the fee to be applied.FeeModelfeeModel()Specifies the pricing model used for the calculation of the final fee.java.util.Optional<java.lang.String>feeName()Specifies the name of the fee that will be billed.java.util.Optional<FeeProperties>feeProperties()Defines the specific parameters used for fee calculation.inthashCode()java.lang.StringtoString()BillableFeewithBillableEvent(java.lang.String billableEvent)A unique code identifying a charge.BillableFeewithBillableEvent(java.util.Optional<java.lang.String> billableEvent)A unique code identifying a charge.BillableFeewithBillableFeeID(java.lang.String billableFeeID)BillableFeewithBillableFeeID(java.util.Optional<java.lang.String> billableFeeID)BillableFeewithFeeCategory(FeeCategory feeCategory)BillableFeewithFeeConditions(java.util.Map<java.lang.String,java.lang.Object> feeConditions)Defines the specific conditions that must be met for the fee to be applied.BillableFeewithFeeConditions(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.BillableFeewithFeeModel(FeeModel feeModel)Specifies the pricing model used for the calculation of the final fee.BillableFeewithFeeName(java.lang.String feeName)Specifies the name of the fee that will be billed.BillableFeewithFeeName(java.util.Optional<java.lang.String> feeName)Specifies the name of the fee that will be billed.BillableFeewithFeeProperties(FeeProperties feeProperties)Defines the specific parameters used for fee calculation.BillableFeewithFeeProperties(java.util.Optional<? extends FeeProperties> feeProperties)Defines the specific parameters used for fee calculation.
-
-
-
Constructor Detail
-
BillableFee
public BillableFee(java.util.Optional<java.lang.String> billableFeeID, java.util.Optional<java.lang.String> billableEvent, java.util.Optional<java.lang.String> feeName, FeeModel feeModel, FeeCategory feeCategory, java.util.Optional<? extends FeeProperties> feeProperties, java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.Object>> feeConditions)
-
BillableFee
public BillableFee(FeeModel feeModel, FeeCategory feeCategory)
-
-
Method Detail
-
billableFeeID
public java.util.Optional<java.lang.String> billableFeeID()
-
billableEvent
public java.util.Optional<java.lang.String> billableEvent()
A unique code identifying a charge.
-
feeName
public java.util.Optional<java.lang.String> feeName()
Specifies the name of the fee that will be billed.
-
feeModel
public FeeModel feeModel()
Specifies the pricing model used for the calculation of the final fee.
-
feeCategory
public FeeCategory feeCategory()
-
feeProperties
public java.util.Optional<FeeProperties> feeProperties()
Defines the specific parameters used for fee calculation.
-
feeConditions
public java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> feeConditions()
Defines the specific conditions that must be met for the fee to be applied.
-
builder
public static final BillableFee.Builder builder()
-
withBillableFeeID
public BillableFee withBillableFeeID(java.lang.String billableFeeID)
-
withBillableFeeID
public BillableFee withBillableFeeID(java.util.Optional<java.lang.String> billableFeeID)
-
withBillableEvent
public BillableFee withBillableEvent(java.lang.String billableEvent)
A unique code identifying a charge.
-
withBillableEvent
public BillableFee withBillableEvent(java.util.Optional<java.lang.String> billableEvent)
A unique code identifying a charge.
-
withFeeName
public BillableFee withFeeName(java.lang.String feeName)
Specifies the name of the fee that will be billed.
-
withFeeName
public BillableFee withFeeName(java.util.Optional<java.lang.String> feeName)
Specifies the name of the fee that will be billed.
-
withFeeModel
public BillableFee withFeeModel(FeeModel feeModel)
Specifies the pricing model used for the calculation of the final fee.
-
withFeeCategory
public BillableFee withFeeCategory(FeeCategory feeCategory)
-
withFeeProperties
public BillableFee withFeeProperties(FeeProperties feeProperties)
Defines the specific parameters used for fee calculation.
-
withFeeProperties
public BillableFee withFeeProperties(java.util.Optional<? extends FeeProperties> feeProperties)
Defines the specific parameters used for fee calculation.
-
withFeeConditions
public BillableFee withFeeConditions(java.util.Map<java.lang.String,java.lang.Object> feeConditions)
Defines the specific conditions that must be met for the fee to be applied.
-
withFeeConditions
public BillableFee withFeeConditions(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.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-