MCPcopy Create free account
hub / github.com/TryCatchLearn/Restore-v2 / DiscountService

Method DiscountService

API/Services/DiscountService.cs:9–12  ·  view source on GitHub ↗
(IConfiguration config)

Source from the content-addressed store, hash-verified

7public class DiscountService
8{
9 public DiscountService(IConfiguration config)
10 {
11 StripeConfiguration.ApiKey = config["StripeSettings:SecretKey"];
12 }
13
14 public async Task<AppCoupon?> GetCouponFromPromoCode(string code)
15 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected