public static byte getSide()

in fix/core/src/main/java/deltix/connector/fix/FixUtil.java [221:237]


    public static byte getSide(Side side) {
        switch (side) {
            case BUY:
                return deltix.efix.message.field.Side.BUY;

            case SELL:
                return deltix.efix.message.field.Side.SELL;

            case SELL_SHORT:
                return deltix.efix.message.field.Side.SELL_SHORT;

            case SELL_SHORT_EXEMPT:
                return deltix.efix.message.field.Side.SELL_SHORT_EXEMPT;
        }

        throw new IllegalArgumentException("Unsupported side: " + side);
    }