mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
* Add webhook events * Properly set AutomaticTax * Use address element * 💄 * Update susbcription on address update * Try scroll modal * Fix * try fix modal scroll * Add toast notification * Add invalidBillingAddress column to d_b_stripe_customer * 💄 * 💄 * Fix * Try fix update * Address feedback
26 lines
682 B
Go
26 lines
682 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
|
|
}
|
|
|
|
func (c *NoOpClient) OnChargeDispute(ctx context.Context, disputeID string) error {
|
|
return nil
|
|
}
|
|
|
|
func (c *NoOpClient) UpdateCustomerSubscriptionsTaxState(ctx context.Context, customerID string) error {
|
|
return nil
|
|
}
|