mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
2.1 KiB
63 lines
2.1 KiB
// ==========================================================================
|
|
// Squidex Headless CMS
|
|
// ==========================================================================
|
|
// Copyright (c) Squidex UG (haftungsbeschraenkt)
|
|
// All rights reserved. Licensed under the MIT license.
|
|
// ==========================================================================
|
|
|
|
using Squidex.Domain.Apps.Entities.Apps;
|
|
using Squidex.Domain.Apps.Entities.Teams;
|
|
|
|
namespace Squidex.Domain.Apps.Entities.Billing
|
|
{
|
|
public sealed class NoopBillingManager : IBillingManager
|
|
{
|
|
public Task<Uri?> GetPortalLinkAsync(string userId, IAppEntity app,
|
|
CancellationToken ct = default)
|
|
{
|
|
return Task.FromResult<Uri?>(null);
|
|
}
|
|
|
|
public Task<Uri?> GetPortalLinkAsync(string userId, ITeamEntity team,
|
|
CancellationToken ct = default)
|
|
{
|
|
return Task.FromResult<Uri?>(null);
|
|
}
|
|
|
|
public Task<Uri?> MustRedirectToPortalAsync(string userId, IAppEntity app, string? planId,
|
|
CancellationToken ct = default)
|
|
{
|
|
return Task.FromResult<Uri?>(null);
|
|
}
|
|
|
|
public Task<Uri?> MustRedirectToPortalAsync(string userId, ITeamEntity team, string? planId,
|
|
CancellationToken ct = default)
|
|
{
|
|
return Task.FromResult<Uri?>(null);
|
|
}
|
|
|
|
public Task SubscribeAsync(string userId, IAppEntity app, string planId,
|
|
CancellationToken ct = default)
|
|
{
|
|
return Task.CompletedTask;
|
|
}
|
|
|
|
public Task SubscribeAsync(string userId, ITeamEntity team, string planId,
|
|
CancellationToken ct = default)
|
|
{
|
|
return Task.CompletedTask;
|
|
}
|
|
|
|
public Task UnsubscribeAsync(string userId, IAppEntity app,
|
|
CancellationToken ct = default)
|
|
{
|
|
return Task.CompletedTask;
|
|
}
|
|
|
|
public Task UnsubscribeAsync(string userId, ITeamEntity team,
|
|
CancellationToken ct = default)
|
|
{
|
|
return Task.CompletedTask;
|
|
}
|
|
}
|
|
}
|
|
|