20 lines
485 B
C#
20 lines
485 B
C#
using BoredCareers.Entities;
|
|
|
|
namespace BoredCareers.Controllers.Payment {
|
|
|
|
public interface IPayment {
|
|
|
|
public static PaymentType _PaymentType;
|
|
public static string _EndpointSecret = "";
|
|
public static string _PublicKey = "";
|
|
|
|
public Task<(bool, string)> TryGetCheckoutToken(string OrderNumber, int userID);
|
|
public Task ValidatePurchase(string WebHookData, string Headers);
|
|
|
|
}
|
|
|
|
public enum PaymentType {
|
|
StripeIntent
|
|
}
|
|
|
|
} |