2019-11-05 13:16:02 +00:00
|
|
|
// Copyright (C) 2019 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
2023-04-06 12:41:14 +01:00
|
|
|
package stripe
|
2019-11-05 13:16:02 +00:00
|
|
|
|
|
|
|
// 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
|
|
|
|
}
|