use of com.github.robozonky.api.remote.entities.SellRequest in project robozonky by RoboZonky.
the class Zonky method sell.
public void sell(final Investment investment) {
LOGGER.info("Offering to sell investment in loan #{}.", investment.getLoanId());
controlApi.execute(api -> {
api.offer(new SellRequest(new RawInvestment(investment)));
});
}
Aggregations