Enum FundingRecord.Type

java.lang.Object
java.lang.Enum<FundingRecord.Type>
org.knowm.xchange.dto.account.FundingRecord.Type
All Implemented Interfaces:
Serializable, Comparable<FundingRecord.Type>, java.lang.constant.Constable
Enclosing class:
FundingRecord

public static enum FundingRecord.Type
extends Enum<FundingRecord.Type>
Enum representing funding transaction type
  • Enum Constant Details

    • WITHDRAWAL

      public static final FundingRecord.Type WITHDRAWAL
    • DEPOSIT

      public static final FundingRecord.Type DEPOSIT
    • AIRDROP

      public static final FundingRecord.Type AIRDROP
    • 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 Details

    • values

      public static FundingRecord.Type[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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
    • fromString

      public static FundingRecord.Type fromString​(String ledgerTypeString)
    • isInflowing

      public boolean isInflowing()
    • isOutflowing

      public boolean isOutflowing()