Sven Efftinge 1b76bca17d [public-api] handle customer.subscription.deleted event
This event is fired by Stripe when a customer cancels their subscription
2022-09-16 16:24:17 +02:00

18 lines
463 B
Go

// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
// Licensed under the GNU Affero General Public License (AGPL).
// See License-AGPL.txt in the project root for license information.
package billingservice
import "context"
type NoOpClient struct{}
func (c *NoOpClient) FinalizeInvoice(ctx context.Context, invoiceId string) error {
return nil
}
func (c *NoOpClient) CancelSubscription(ctx context.Context, subscriptionId string) error {
return nil
}