getLocalization

abstract suspend fun getLocalization(paymentOption: PaymentOptionType, instrumentType: InstrumentType, fieldName: String): Map<String, Map<String, String>>

Retrieves localization data for a specific payment instrument field.

Return

A map of locale codes to maps of option IDs to localized names.

Parameters

paymentOption

The payment option (e.g. PaymentOptionType.BANK_TRANSFER).

instrumentType

The instrument type (e.g. InstrumentType.PH_BANK_ACCOUNT).

fieldName

The field name to localize (e.g. "bankCodeId").