storj/satellite/payments/projectchardges.go

20 lines
627 B
Go
Raw Normal View History

// Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information.
package payments
import (
"github.com/skyrings/skyring-common/tools/uuid"
)
// ProjectCharge shows how much money current project will charge in the end of the month.
type ProjectCharge struct {
ProjectID uuid.UUID `json:"projectId"`
// StorageGbHrs shows how much cents we should pay for storing GB*Hrs.
2019-11-20 13:46:22 +00:00
StorageGbHrs int64 `json:"storage"`
// Egress shows how many cents we should pay for Egress.
2019-11-20 13:46:22 +00:00
Egress int64 `json:"egress"`
// ObjectCount shows how many cents we should pay for objects count.
2019-11-20 13:46:22 +00:00
ObjectCount int64 `json:"objectCount"`
}