This code snippet only describes the structure of the method used for Befor Auth Routines
Last updated: 2023-11-07
This code snippet only describes the structure of the method used for Befor Auth Routines
package com.temenos.t24;
import java.util.List;
import com.temenos.api.TStructure;
import com.temenos.t24.api.complex.eb.templatehook.TransactionContext;
import com.temenos.t24.api.complex.eb.templatehook.TransactionData;
import com.temenos.t24.api.hook.system.RecordLifecycle;
/**
* TODO: This routine describes the structure to the hook used before the record gets authorized!
* RecordLifeCycle needs to be inherited for Version Level Routines
*
* @author Danish The Techie
*
*/
public class BeforeAuthRoutineStructure extends RecordLifecycle {
@Override
public void updateRecord(String application, String currentRecordId, TStructure currentRecord,
TStructure unauthorisedRecord, TStructure liveRecord, TransactionContext transactionContext,
List<TransactionData> transactionData, List<TStructure> currentRecords) {
//your code
}
}