@Override public ResolvedSwaptionTrade build() { return new ResolvedSwaptionTrade( info, product, premium); }
/** * Obtains an instance of a resolved Swaption trade. * * @param info the trade info * @param product the product * @param premium the premium * @return the resolved trade */ public static ResolvedSwaptionTrade of(TradeInfo info, ResolvedSwaption product, Payment premium) { return new ResolvedSwaptionTrade(info, product, premium); }