saved initate payment and checktxn status
This commit is contained in:
@@ -62,5 +62,29 @@ public class EntityRelationshipUtil {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void linkTransactionMasterRelationships(TransactionMaster entity) {
|
||||
|
||||
if (entity == null) return;
|
||||
|
||||
// ✅ DeviceBlockTag relationship link karna
|
||||
if (entity.getDeviceBlockTags() != null) {
|
||||
entity.getDeviceBlockTags().forEach(tag -> {
|
||||
if (tag != null) {
|
||||
tag.setTransactionMaster(entity);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// ✅ CustomerParamTransaction relationship link karna
|
||||
if (entity.getCustomerParams() != null) {
|
||||
entity.getCustomerParams().forEach(param -> {
|
||||
if (param != null) {
|
||||
param.setTransactionMaster(entity);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user