public interface PCMigrationCallback
PCUsersManager.migrate(String, String, String, Certificate, PCMigrationCallback)
Modifier and Type | Method and Description |
---|---|
void |
error(PCError error)
Called when the migration fails
|
void |
success(PCUser user)
Called upon a successful migration
|
void success(PCUser user)
user
- Migrated user. This is the copy of the user stored in PCSDK 4.0.x. The original user still persists.
After a successful migration, you should delete the copy of the user from PCSDK 4 by calling
Paycontrol.deleteKey(...)void error(PCError error)
error
- Reason of the failure