Updating to the rebranded Java SDK
What you need to know about this rebranding effort and how to put it in place
We've rebranded the Java SDK for the Expedia Group Fraud Prevention Service, which will impact any applications using it. There are no changes to the Python or Node.js SDKs. The SDK name, namespace, and exceptions IDs have been changed. To use this updated SDK, you'll need to:
- Use the SDK name in project dependencies
- Import the models from the new namespaces
- Update the exception handlers with the new exception classes
- Adjust the log messages prefix
SDK name
Before rebranding:
Rebranded SDK:
Namespace
Before rebranding | Rebranded SDK |
---|---|
import com.expediagroup.openworld.sdk.fraudpreventionv2.client.FraudPreventionV2Client | import com.expediagroup.sdk.fraudpreventionv2.client.FraudPreventionV2Client |
import com.expediagroup.openworld.sdk.fraudpreventionv2.models.* | import com.expediagroup.sdk.fraudpreventionv2.models.* |
Exception handlers
Before rebranding | Rebranded SDK |
---|---|
OpenWorldException | ExpediaGroupException |
OpenWorldServiceException | ExpediaGroupServiceException |
OpenWorldClientException | ExpediaGroupClientException |
Logging message prefix
Before rebranding | Rebranded SDK |
---|---|
ExpediaSDK | ExpediaGroupSDK |