Enum FundingRecord.Type

    • Enum Constant Detail

      • OTHER_INFLOW

        public static final FundingRecord.Type OTHER_INFLOW
        Used for inflows that are not a regular users deposit and are either different the inflows defined above or their nature could not have been deduced from the exchanges response
      • OTHER_OUTFLOW

        public static final FundingRecord.Type OTHER_OUTFLOW
        Used for outflows that are not a regular users withdrawal and are either different the outflows defined above or their nature could not have been deduced from the exchanges response
      • INTERNAL_WITHDRAWAL

        public static final FundingRecord.Type INTERNAL_WITHDRAWAL
        Used for transfers between exchanges accounts
      • INTERNAL_DEPOSIT

        public static final FundingRecord.Type INTERNAL_DEPOSIT
        Used for transfers between exchanges accounts
      • REALISED_LOSS

        public static final FundingRecord.Type REALISED_LOSS
        Used for realised losses from derivatives
      • REALISED_PROFIT

        public static final FundingRecord.Type REALISED_PROFIT
        Used for realised profits from derivatives
    • Method Detail

      • values

        public static FundingRecord.Type[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FundingRecord.Type c : FundingRecord.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FundingRecord.Type valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isInflowing

        public boolean isInflowing()
      • isOutflowing

        public boolean isOutflowing()