MM-27147 - /cloud api endpoints (#15626)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
f73157dd8f
Коммит
50e37068b5
15
einterfaces/cloud.go
Обычный файл
15
einterfaces/cloud.go
Обычный файл
@@ -0,0 +1,15 @@
|
||||
// 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
|
||||
}
|
||||
Ссылка в новой задаче
Block a user