@Override public FxRateShifts build() { return new FxRateShifts( shiftType, shiftAmount, currencyPair); }
/** * Creates an instance. * * @param shiftType the shift type * @param shiftAmount the shift amount * @param currencyPair the currency pair * @return the instance */ public static FxRateShifts of(ShiftType shiftType, DoubleArray shiftAmount, CurrencyPair currencyPair) { return new FxRateShifts(shiftType, shiftAmount, currencyPair); }