Welcome to our new developer portal! Use the "Ask" button to chat with our AI Agent.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Migrate from 2.x to 3.0

Starting with Thales SDK 3.0.0, several public APIs have been simplified.

Renamed Classes and APIs

Renamed Packages

Because Visa and Mastercard class names are identical, we recommend the following changes to avoid ambiguous reference errors:

  • In Java, separate the API calls for Visa and Mastercard into different classes. The use of fully qualified name (class name along with the package) to call both Visa and Mastercard APIs within a single class is not recommended.

  • In Kotlin, use the package alias feature with the as keyword:

import com.thalesgroup.tmgsdk.visa.IDVMethod as VisaIDVMethod
import com.thalesgroup.tmgsdk.mastercard.IDVMethod as MasterCardIDVMethod

fun main() {
 var visaIDVMethod: VisaIDVMethod
 var masterCardIDVMethod: MasterCardIDVMethod
}

Removed Classes and APIs

Last updated

Was this helpful?