storj/satellite/payments/stripecoinpayments/db.go

19 lines
504 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
// CouponsDB is getter for coupons db.
Coupons() CouponsDB
}