Returns a collection of MerchantAccount objects.

PHP
$merchantAccountIterator = $gateway->merchantAccount()->all();

foreach($merchantAccountIterator as $merchantAccount) {
    print $merchantAccount->currencyIsoCode;
}
This code snippet now uses gateway instance methods instead of class-level methods. Learn more.