getSimulAdvanceTransactionsSubAccounts method

Future<FinancialTransactionResponse> getSimulAdvanceTransactionsSubAccounts(
  1. String transactionsIDs,
  2. String apiUserToken
)

Simular um adiantamento de uma subconta

String contendo os Ids no formato (transactions[]=1&transactions[]=2) api token customizado

Implementation

Future<FinancialTransactionResponse> getSimulAdvanceTransactionsSubAccounts(String transactionsIDs, String apiUserToken) async {
  var result = await apiResource.getById(id: "$transactionsIDs", partOfUrl: "advance_simulation", apiUserToken: apiUserToken);
  return FinancialTransactionResponse.fromMap(result);
}