mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
* [MM-28217] Server API to serve up cloud customer information * Added missing client4 method * merge'd Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
20 lines
554 B
Go
20 lines
554 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
package einterfaces
|
|
|
|
import (
|
|
"github.com/mattermost/mattermost-server/v5/model"
|
|
)
|
|
|
|
type CloudInterface interface {
|
|
GetCloudProducts() ([]*model.Product, *model.AppError)
|
|
|
|
CreateCustomerPayment() (*model.StripeSetupIntent, *model.AppError)
|
|
ConfirmCustomerPayment(*model.ConfirmPaymentMethodRequest) *model.AppError
|
|
|
|
GetCloudCustomer() (*model.CloudCustomer, *model.AppError)
|
|
|
|
GetSubscription() (*model.Subscription, *model.AppError)
|
|
}
|