﻿using Laser.Orchard.PaymentGateway.Models;
using Orchard;
using System.Collections.Generic;
using System;

public interface IPaymentService : IDependency {
    List<PaymentRecord> GetPayments(int userId, bool lastToFirst = true);
    List<PaymentRecord> GetAllPayments(bool lastToFirst = true);
    PaymentRecord GetPayment(int paymentId);
    PaymentRecord GetPaymentByTransactionId(string transactionId);
    PaymentRecord GetPaymentByGuid(string paymentGuid);
    string CreatePaymentNonce(PaymentRecord paymentData);
    PaymentRecord DecryptPaymentNonce(string nonce);
}
{'avg_line_length': 41.142857142857146, 'max_line_length': 73, 'alphanum_fraction': 0.8072916666666666, 'licenses': ['Apache-2.0'], 'repository_name': 'INVA-Spa/Laser.Orchard.Platform', 'path': 'src/Modules/Laser.Orchard.PaymentGateway/Services/IPaymentService.cs', 'size': 578, 'lang': 'C#'}