}
public static final PayPalAPIInterface getAPIInterface(APICredential _credentials) {
String key = _credentials.getKey();
if (!API_INTERFACE_MAP.containsKey(key)) {
PayPalAPIInterface api = new NVPAPIImpl(_credentials);
API_INTERFACE_MAP.put(key, api);
}
return (PayPalAPIInterface) API_INTERFACE_MAP.get(key);
}