add payment text
This commit is contained in:
10
internal/payment/paymenttexts/storage.go
Normal file
10
internal/payment/paymenttexts/storage.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package paymenttexts
|
||||
|
||||
import "context"
|
||||
|
||||
type Repository interface {
|
||||
List(ctx context.Context, filter ListFilter) (ListPaymentTextDTO, error)
|
||||
GetByCode(ctx context.Context, code string) (PaymentTextDTO, error)
|
||||
Update(ctx context.Context, code string, dto UpdatePaymentTextDTO) (PaymentTextDTO, error)
|
||||
Delete(ctx context.Context, code string) (bool, error)
|
||||
}
|
||||
Reference in New Issue
Block a user