Class MoovFee


  • public class MoovFee
    extends java.lang.Object
    MoovFee

    Moov fee charged to an account involved in a transfer.

    • Constructor Detail

      • MoovFee

        public MoovFee​(java.lang.String accountID,
                       TransferParty transferParty,
                       AmountDecimal totalAmount,
                       java.util.List<java.lang.String> feeIDs)
    • Method Detail

      • accountID

        public java.lang.String accountID()
        ID of the account that fees were charged to.
      • transferParty

        public TransferParty transferParty()
        Indicates whether the account charged was the partner, source, or destination of the transfer.
      • totalAmount

        public AmountDecimal totalAmount()
        The total amount of fees charged to the account.
      • feeIDs

        public java.util.List<java.lang.String> feeIDs()
        List of fee IDs that sum to the totalAmount.
      • withAccountID

        public MoovFee withAccountID​(java.lang.String accountID)
        ID of the account that fees were charged to.
      • withTransferParty

        public MoovFee withTransferParty​(TransferParty transferParty)
        Indicates whether the account charged was the partner, source, or destination of the transfer.
      • withTotalAmount

        public MoovFee withTotalAmount​(AmountDecimal totalAmount)
        The total amount of fees charged to the account.
      • withFeeIDs

        public MoovFee withFeeIDs​(java.util.List<java.lang.String> feeIDs)
        List of fee IDs that sum to the totalAmount.
      • 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