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

24 lines
543 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Teknik.Configuration;
namespace Teknik.BillingCore
{
public static class BillingFactory
{
2021-11-14 05:28:24 +01:00
public static BillingService GetBillingService(BillingConfig config)
{
switch (config.Type)
{
case BillingType.Stripe:
return new StripeService(config);
default:
return null;
}
}
}
}