mirror of
https://github.com/bitwarden/server.git
synced 2025-05-28 14:54:50 -05:00

* Changes ensures provider_id is handled and stored for Braintree. Signed-off-by: Cy Okeke <cokeke@bitwarden.com> * refactoring of the stripeController class Signed-off-by: Cy Okeke <cokeke@bitwarden.com> * Move the constant variables to utility class Signed-off-by: Cy Okeke <cokeke@bitwarden.com> * Adding comments to the methods Signed-off-by: Cy Okeke <cokeke@bitwarden.com> * Add more comments to describe the method Signed-off-by: Cy Okeke <cokeke@bitwarden.com> * Add the providerId changes Signed-off-by: Cy Okeke <cokeke@bitwarden.com> * Add the missing providerId Signed-off-by: Cy Okeke <cokeke@bitwarden.com> * Fix the IsSponsoredSubscription bug Signed-off-by: Cy Okeke <cokeke@bitwarden.com> --------- Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
13 lines
403 B
C#
13 lines
403 B
C#
using Event = Stripe.Event;
|
|
namespace Bit.Billing.Services;
|
|
|
|
public interface IStripeEventProcessor
|
|
{
|
|
/// <summary>
|
|
/// Processes the specified Stripe event asynchronously.
|
|
/// </summary>
|
|
/// <param name="parsedEvent">The Stripe event to be processed.</param>
|
|
/// <returns>A task representing the asynchronous operation.</returns>
|
|
Task ProcessEventAsync(Event parsedEvent);
|
|
}
|