Esempio n. 1
0
        public void updateTodoPagoTransactionRecord(TodoPagoTransactionDto todoPagoTransactionDto)
        {
            TodoPagoTransactionRecord record = _todoPagoTransactionService.findByOrdenId(todoPagoTransactionDto.ordenId);

            if (record != null)
            {
                record.secondStep  = todoPagoTransactionDto.secondStep;
                record.paramsGAA   = todoPagoTransactionDto.paramsGAA;
                record.responseGAA = todoPagoTransactionDto.responseGAA;
                record.answerKey   = todoPagoTransactionDto.answerKey;

                _todoPagoTransactionService.updateTodoPagoTransactionRecord(record);
            }
        }
Esempio n. 2
0
        public TodoPagoTransactionRecord toRecord(TodoPagoTransactionDto dto)
        {
            TodoPagoTransactionRecord record = new TodoPagoTransactionRecord();

            record.ordenId          = dto.ordenId;
            record.firstStep        = dto.firstStep;
            record.paramsSAR        = dto.paramsSAR;
            record.responseSAR      = dto.responseSAR;
            record.requestKey       = dto.requestKey;
            record.publicRequestKey = dto.publicRequestKey;
            record.secondStep       = dto.secondStep;
            record.paramsGAA        = dto.paramsGAA;
            record.responseGAA      = dto.responseGAA;
            record.answerKey        = dto.answerKey;

            return(record);
        }
Esempio n. 3
0
        public TodoPagoTransactionDto toDto(TodoPagoTransactionRecord record)
        {
            TodoPagoTransactionDto dto = new TodoPagoTransactionDto();

            dto.ordenId          = record.ordenId;
            dto.firstStep        = record.firstStep;
            dto.paramsSAR        = record.paramsSAR;
            dto.responseSAR      = record.responseSAR;
            dto.requestKey       = record.requestKey;
            dto.publicRequestKey = record.publicRequestKey;
            dto.secondStep       = record.secondStep;
            dto.paramsGAA        = record.paramsGAA;
            dto.responseGAA      = record.responseGAA;
            dto.answerKey        = record.answerKey;

            return(dto);
        }
Esempio n. 4
0
 public void insertTodoPagoTransactionRecord(TodoPagoTransactionDto todoPagoTransactionDto)
 {
     _todoPagoTransactionService.insertTodoPagoTransactionRecord(this.toRecord(todoPagoTransactionDto));
 }