1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00
Teknik/Configuration/BillingConfig.cs

34 lines
1.0 KiB
C#
Raw Normal View History

2021-08-12 03:44:15 +02:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Teknik.Configuration
{
public class BillingConfig
{
public bool Enabled { get; set; }
public BillingType Type { get; set; }
2021-08-12 03:44:15 +02:00
public string StripePublishApiKey { get; set; }
public string StripeSecretApiKey { get; set; }
2021-11-16 05:17:42 +01:00
public string StripeCheckoutWebhookSecret { get; set; }
public string StripeSubscriptionWebhookSecret { get; set; }
2021-11-16 05:17:42 +01:00
public string StripeCustomerWebhookSecret { get; set; }
2021-08-12 03:44:15 +02:00
public string UploadProductId { get; set; }
public string EmailProductId { get; set; }
2021-08-12 03:44:15 +02:00
public BillingConfig()
{
Enabled = false;
Type = BillingType.Stripe;
2021-08-12 03:44:15 +02:00
StripePublishApiKey = null;
StripeSecretApiKey = null;
2021-11-16 05:17:42 +01:00
StripeCheckoutWebhookSecret = null;
StripeSubscriptionWebhookSecret = null;
2021-11-16 05:17:42 +01:00
StripeCustomerWebhookSecret = null;
2021-08-12 03:44:15 +02:00
}
}
}