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

24 lines
543 B
C#

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
{
public static BillingService GetBillingService(BillingConfig config)
{
switch (config.Type)
{
case BillingType.Stripe:
return new StripeService(config);
default:
return null;
}
}
}
}