exactOut static method
Constructs an exact out trade with the given amount out and route @param route route of the exact out trade @param amountOut the amount returned by the trade
Implementation
static Trade exactOut(Route route, CurrencyAmount amountOut) {
return Trade(route, amountOut, TradeType.EXACT_OUTPUT);
}