wrapDetails(model, request);
}
@Override
public PaymentTransaction unwrap(HttpServletRequest request, ApplicationContext context) {
OrderPaymentService orderPaymentService = (OrderPaymentService) context.getBean("blOrderPaymentService");
PaymentTransaction transaction = orderPaymentService.createTransaction();
if (this.parentTransactionId != null) {
PaymentTransaction parentTransaction = orderPaymentService.readTransactionById(this.parentTransactionId);
transaction.setParentTransaction(parentTransaction);
}
transaction.setType(PaymentTransactionType.getInstance(this.type));