Class BillableFee


  • public class BillableFee
    extends java.lang.Object
    • 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)
    • 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.
      • 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.
      • 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.
      • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object