Sanitize cloud products for non admin users (#20540)

Этот коммит содержится в:
Allan Guwatudde
2022-06-27 07:51:06 +03:00
коммит произвёл GitHub
родитель 24c44736c0
Коммит 411e4d979c
3 изменённых файлов: 163 добавлений и 8 удалений

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

@@ -53,6 +53,13 @@ type Product struct {
BillingScheme BillingScheme `json:"billing_scheme"`
}
type UserFacingProduct struct {
ID string `json:"id"`
Name string `json:"name"`
SKU string `json:"sku"`
PricePerSeat float64 `json:"price_per_seat"`
}
// AddOn represents an addon to a product.
type AddOn struct {
ID string `json:"id"`