Migrate from 2.x to 3.0
Last updated
Was this helpful?
Starting with Thales SDK 3.0.0, several public APIs have been simplified.
Visa-specific classes were moved to the visa package: VisaCTFHelper, TokenBindingListener, IDVSession, IDVMethod, IDVType, and OtpActivationStatus.
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
}TMGClientConfiguration.Builder: All configuration options were moved to the TMGClientConfiguration constructor.
Last updated
Was this helpful?
Was this helpful?