storj/satellite/payments/stripecoinpayments/db.go
Qweder93 dc075eaa96 satellite/payments : deposit bonuses (credits) added
Change-Id: Ib151bbb9b02d655fa619c53bfbc04ed6f3bb39e0
2020-02-11 11:11:42 +00:00

21 lines
561 B
Go

// Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information.
package stripecoinpayments
// DB is stripecoinpayments DB interface.
//
// architecture: Database
type DB interface {
// Customers is getter for customers db.
Customers() CustomersDB
// Transactions is getter for transactions db.
Transactions() TransactionsDB
// ProjectRecords is getter for invoice project records db.
ProjectRecords() ProjectRecordsDB
// Coupons is getter for coupons db.
Coupons() CouponsDB
// Credits is getter for credits db.
Credits() CreditsDB
}