mockreceiptapi

package
v0.9.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReceiptStorePersistence

type ReceiptStorePersistence struct {
	mock.Mock
}

ReceiptStorePersistence is an autogenerated mock type for the ReceiptStorePersistence type

func NewReceiptStorePersistence added in v0.9.18

func NewReceiptStorePersistence(t mockConstructorTestingTNewReceiptStorePersistence) *ReceiptStorePersistence

NewReceiptStorePersistence creates a new instance of ReceiptStorePersistence. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ReceiptStorePersistence) AddReceipt

func (_m *ReceiptStorePersistence) AddReceipt(requestID string, receipt *map[string]interface{}) error

AddReceipt provides a mock function with given fields: requestID, receipt

func (*ReceiptStorePersistence) Close

func (_m *ReceiptStorePersistence) Close()

Close provides a mock function with given fields:

func (*ReceiptStorePersistence) GetReceipt

func (_m *ReceiptStorePersistence) GetReceipt(requestID string) (*map[string]interface{}, error)

GetReceipt provides a mock function with given fields: requestID

func (*ReceiptStorePersistence) GetReceipts

func (_m *ReceiptStorePersistence) GetReceipts(skip int, limit int, ids []string, sinceEpochMS int64, from string, to string, start string) (*[]map[string]interface{}, error)

GetReceipts provides a mock function with given fields: skip, limit, ids, sinceEpochMS, from, to, start

func (*ReceiptStorePersistence) Init

func (_m *ReceiptStorePersistence) Init() error

Init provides a mock function with given fields:

func (*ReceiptStorePersistence) ValidateConf

func (_m *ReceiptStorePersistence) ValidateConf() error

ValidateConf provides a mock function with given fields:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL