return result;
}
@Override
public Payment updatePayment(Payment payment) {
Payment result = null;
PaymentEntity paymentEntity = DozerHelper.map(payment,
PaymentEntity.class);
paymentEntity = paymentRepository.merge(paymentEntity);
result = DozerHelper.map(paymentEntity, Payment.class);