Andrew Farries 2d2f3e8b24 Make webhook use billingservice client
Construct and pass a billingservice client to the Stripe webhook so that
it can invoke the `FinalizeInvoice` RPC when the webhook is triggered.
2022-08-10 15:55:56 +02:00

16 lines
479 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 config
import "github.com/gitpod-io/gitpod/common-go/baseserver"
type Configuration struct {
GitpodServiceURL string `json:"gitpodServiceUrl"`
BillingServiceAddress string `json:"billingServiceAddress,omitempty"`
Server *baseserver.Configuration `json:"server,omitempty"`
}