import Foundation
import Adyen
import AdyenComponents
import Flutter

/// Simple helper you can call from Dart via a MethodChannel if you want.
/// Or, if you fork `adyen_checkout`, set this when building the CardComponent.
class AdyenLocalizationHelper {
    static func apply() {
        // Nothing global to set; you’ll inject these parameters when you create the component.
    }

    static func localizationParameters() -> LocalizationParameters {
        // Use your app bundle and the table you created.
        return LocalizationParameters(tableName: "AdyenOverrides", keySeparator: nil, bundle: .main)
    }
}