2019-11-05 13:16:02 +00:00
|
|
|
// 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
|
2020-01-24 13:38:53 +00:00
|
|
|
// Coupons is getter for coupons db.
|
2019-11-26 17:58:51 +00:00
|
|
|
Coupons() CouponsDB
|
2019-11-05 13:16:02 +00:00
|
|
|
}
|