MM-27147 - /cloud api endpoints (#15626)

Этот коммит содержится в:
Maria A Nunez
2020-09-28 12:18:47 -04:00
коммит произвёл GitHub
родитель f73157dd8f
Коммит 50e37068b5
15 изменённых файлов: 296 добавлений и 8 удалений

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
}