MM-36731 - ux changes cloud starter flat fee (#17874)

Co-authored-by: Pablo Velez Vidal <pablo.velez@mattermost.com>
Этот коммит содержится в:
Pablo Andrés Vélez Vidal
2021-07-07 21:17:06 +02:00
коммит произвёл GitHub
родитель 334fec1e2d
Коммит 156e7b32f1

Просмотреть файл

@@ -17,13 +17,21 @@ const (
var MockCWS string
type BillingScheme string
const (
BillingSchemePerSeat = BillingScheme("per_seat")
BillingSchemeFlatFee = BillingScheme("flat_fee")
)
// Product model represents a product on the cloud system.
type Product struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
PricePerSeat float64 `json:"price_per_seat"`
AddOns []*AddOn `json:"add_ons"`
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
PricePerSeat float64 `json:"price_per_seat"`
AddOns []*AddOn `json:"add_ons"`
BillingScheme BillingScheme `json:"billing_scheme"`
}
// AddOn represents an addon to a product.