Returns a collection of MerchantAccount objects.

Java
BraintreeGateway gateway = new BraintreeGateway(
  Environment.SANDBOX,
  "MERCHANT_ID",
  "PUBLIC_KEY",
  "PRIVATE_KEY"
);

/* all returns an Iterable<MerchantAccount> */
PaginatedCollection<MerchantAccount> merchantAccountsIterable = gateway.merchantAccount().all();

for (MerchantAccount merchantAccount : merchantAccountsIterable) {
  System.out.println(merchantAccount.getCurrencyIsoCode());
}