Merchant Account
Merchant Account: All
- 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());
}