protected function stage_bank_code(GatewayType $adapter, $normalized, &$stagedData) { $submethod = $adapter->getPaymentSubmethod(); if ($submethod) { $meta = $adapter->getPaymentSubmethodMeta($submethod); if (isset($meta['bank_code'])) { $stagedData['bank_code'] = $meta['bank_code']; } } }