storj/satellite/payments/stripecoinpayments/db.go

21 lines
561 B
Go
Raw Normal View History

// 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
}