java.lang.Object
java.lang.Enum<BillType>
org.knowm.xchange.okcoin.v3.dto.account.BillType
All Implemented Interfaces:
Serializable, Comparable<BillType>, java.lang.constant.Constable

public enum BillType extends Enum<BillType>
https://www.okex.com/docs/en/#futures-query
  • Enum Constant Details

    • open_long

      public static final BillType open_long
    • open_short

      public static final BillType open_short
    • close_long

      public static final BillType close_long
    • close_short

      public static final BillType close_short
    • transaction_fee

      public static final BillType transaction_fee
    • transfer_in

      public static final BillType transfer_in
    • transfer_out

      public static final BillType transfer_out
    • settled_rpl

      public static final BillType settled_rpl
    • full_liquidation_of_long

      public static final BillType full_liquidation_of_long
    • full_liquidation_of_short

      public static final BillType full_liquidation_of_short
    • delivery_long

      public static final BillType delivery_long
    • delivery_short

      public static final BillType delivery_short
    • settled_upl_long

      public static final BillType settled_upl_long
    • settled_upl_short

      public static final BillType settled_upl_short
    • partial_liquidation_of_short

      public static final BillType partial_liquidation_of_short
    • partial_liquidation_of_long

      public static final BillType partial_liquidation_of_long
  • Method Details

    • values

      public static BillType[] 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 BillType 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
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<BillType>