public static AccountInfo adaptAccountInfo(ANXAccountInfo anxAccountInfo) {

    // Adapt to XChange DTOs
    AccountInfo accountInfo =
        new AccountInfo(
            anxAccountInfo.getLogin(),
            percentToFactor(anxAccountInfo.getTradeFee()),
            ANXAdapters.adaptWallet(anxAccountInfo.getWallets()));
    return accountInfo;
  }
public static AccountInfo adaptAccountInfo ( ANXAccountInfo anxAccountInfo ) { AccountInfo accountInfo = new AccountInfo ( anxAccountInfo . getLogin ( ) , percentToFactor ( anxAccountInfo . getTradeFee ( ) ) , ANXAdapters . adaptWallet ( anxAccountInfo . getWallets ( ) ) ) ; return accountInfo ; }
Adapts a ANXAccountInfo to an AccountInfo

@param anxAccountInfo
@return