Documentation
¶
Index ¶
- type RepositoryHandler
- func (_m *RepositoryHandler) DeleteSavedCard(_a0 context.Context, _a1 *recurringpb.DeleteSavedCardRequest, ...) error
- func (_m *RepositoryHandler) FindSavedCardById(_a0 context.Context, _a1 *recurringpb.FindByStringValue, ...) error
- func (_m *RepositoryHandler) FindSavedCards(_a0 context.Context, _a1 *recurringpb.SavedCardRequest, ...) error
- func (_m *RepositoryHandler) InsertSavedCard(_a0 context.Context, _a1 *recurringpb.SavedCardRequest, ...) error
- type RepositoryService
- func (_m *RepositoryService) DeleteSavedCard(ctx context.Context, in *recurringpb.DeleteSavedCardRequest, ...) (*recurringpb.DeleteSavedCardResponse, error)
- func (_m *RepositoryService) FindSavedCardById(ctx context.Context, in *recurringpb.FindByStringValue, ...) (*recurringpb.SavedCard, error)
- func (_m *RepositoryService) FindSavedCards(ctx context.Context, in *recurringpb.SavedCardRequest, ...) (*recurringpb.SavedCardList, error)
- func (_m *RepositoryService) InsertSavedCard(ctx context.Context, in *recurringpb.SavedCardRequest, ...) (*recurringpb.Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepositoryHandler ¶
RepositoryHandler is an autogenerated mock type for the RepositoryHandler type
func NewRepositoryHandler ¶
func NewRepositoryHandler(t mockConstructorTestingTNewRepositoryHandler) *RepositoryHandler
NewRepositoryHandler creates a new instance of RepositoryHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RepositoryHandler) DeleteSavedCard ¶
func (_m *RepositoryHandler) DeleteSavedCard(_a0 context.Context, _a1 *recurringpb.DeleteSavedCardRequest, _a2 *recurringpb.DeleteSavedCardResponse) error
DeleteSavedCard provides a mock function with given fields: _a0, _a1, _a2
func (*RepositoryHandler) FindSavedCardById ¶
func (_m *RepositoryHandler) FindSavedCardById(_a0 context.Context, _a1 *recurringpb.FindByStringValue, _a2 *recurringpb.SavedCard) error
FindSavedCardById provides a mock function with given fields: _a0, _a1, _a2
func (*RepositoryHandler) FindSavedCards ¶
func (_m *RepositoryHandler) FindSavedCards(_a0 context.Context, _a1 *recurringpb.SavedCardRequest, _a2 *recurringpb.SavedCardList) error
FindSavedCards provides a mock function with given fields: _a0, _a1, _a2
func (*RepositoryHandler) InsertSavedCard ¶
func (_m *RepositoryHandler) InsertSavedCard(_a0 context.Context, _a1 *recurringpb.SavedCardRequest, _a2 *recurringpb.Result) error
InsertSavedCard provides a mock function with given fields: _a0, _a1, _a2
type RepositoryService ¶
RepositoryService is an autogenerated mock type for the RepositoryService type
func NewRepositoryService ¶
func NewRepositoryService(t mockConstructorTestingTNewRepositoryService) *RepositoryService
NewRepositoryService creates a new instance of RepositoryService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RepositoryService) DeleteSavedCard ¶
func (_m *RepositoryService) DeleteSavedCard(ctx context.Context, in *recurringpb.DeleteSavedCardRequest, opts ...client.CallOption) (*recurringpb.DeleteSavedCardResponse, error)
DeleteSavedCard provides a mock function with given fields: ctx, in, opts
func (*RepositoryService) FindSavedCardById ¶
func (_m *RepositoryService) FindSavedCardById(ctx context.Context, in *recurringpb.FindByStringValue, opts ...client.CallOption) (*recurringpb.SavedCard, error)
FindSavedCardById provides a mock function with given fields: ctx, in, opts
func (*RepositoryService) FindSavedCards ¶
func (_m *RepositoryService) FindSavedCards(ctx context.Context, in *recurringpb.SavedCardRequest, opts ...client.CallOption) (*recurringpb.SavedCardList, error)
FindSavedCards provides a mock function with given fields: ctx, in, opts
func (*RepositoryService) InsertSavedCard ¶
func (_m *RepositoryService) InsertSavedCard(ctx context.Context, in *recurringpb.SavedCardRequest, opts ...client.CallOption) (*recurringpb.Result, error)
InsertSavedCard provides a mock function with given fields: ctx, in, opts