mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-09 09:35:03 +09:00
Merge pull request #219 from anyproto/GO-3317
payments: mock regenerated
This commit is contained in:
commit
4df5f81882
1 changed files with 29 additions and 9 deletions
|
@ -1,5 +1,10 @@
|
|||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: paymentservice/paymentserviceclient/paymentserviceclient.go
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -source paymentservice/paymentserviceclient/paymentserviceclient.go
|
||||
//
|
||||
|
||||
// Package mock_paymentserviceclient is a generated GoMock package.
|
||||
package mock_paymentserviceclient
|
||||
|
@ -46,7 +51,7 @@ func (m *MockAnyPpClientService) BuySubscription(ctx context.Context, in *paymen
|
|||
}
|
||||
|
||||
// BuySubscription indicates an expected call of BuySubscription.
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) BuySubscription(ctx, in interface{}) *gomock.Call {
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) BuySubscription(ctx, in any) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BuySubscription", reflect.TypeOf((*MockAnyPpClientService)(nil).BuySubscription), ctx, in)
|
||||
}
|
||||
|
@ -61,7 +66,7 @@ func (m *MockAnyPpClientService) FinalizeSubscription(ctx context.Context, in *p
|
|||
}
|
||||
|
||||
// FinalizeSubscription indicates an expected call of FinalizeSubscription.
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) FinalizeSubscription(ctx, in interface{}) *gomock.Call {
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) FinalizeSubscription(ctx, in any) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FinalizeSubscription", reflect.TypeOf((*MockAnyPpClientService)(nil).FinalizeSubscription), ctx, in)
|
||||
}
|
||||
|
@ -76,7 +81,7 @@ func (m *MockAnyPpClientService) GetAllTiers(ctx context.Context, in *paymentser
|
|||
}
|
||||
|
||||
// GetAllTiers indicates an expected call of GetAllTiers.
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) GetAllTiers(ctx, in interface{}) *gomock.Call {
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) GetAllTiers(ctx, in any) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllTiers", reflect.TypeOf((*MockAnyPpClientService)(nil).GetAllTiers), ctx, in)
|
||||
}
|
||||
|
@ -91,7 +96,7 @@ func (m *MockAnyPpClientService) GetSubscriptionPortalLink(ctx context.Context,
|
|||
}
|
||||
|
||||
// GetSubscriptionPortalLink indicates an expected call of GetSubscriptionPortalLink.
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) GetSubscriptionPortalLink(ctx, in interface{}) *gomock.Call {
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) GetSubscriptionPortalLink(ctx, in any) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubscriptionPortalLink", reflect.TypeOf((*MockAnyPpClientService)(nil).GetSubscriptionPortalLink), ctx, in)
|
||||
}
|
||||
|
@ -106,7 +111,7 @@ func (m *MockAnyPpClientService) GetSubscriptionStatus(ctx context.Context, in *
|
|||
}
|
||||
|
||||
// GetSubscriptionStatus indicates an expected call of GetSubscriptionStatus.
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) GetSubscriptionStatus(ctx, in interface{}) *gomock.Call {
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) GetSubscriptionStatus(ctx, in any) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubscriptionStatus", reflect.TypeOf((*MockAnyPpClientService)(nil).GetSubscriptionStatus), ctx, in)
|
||||
}
|
||||
|
@ -121,7 +126,7 @@ func (m *MockAnyPpClientService) GetVerificationEmail(ctx context.Context, in *p
|
|||
}
|
||||
|
||||
// GetVerificationEmail indicates an expected call of GetVerificationEmail.
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) GetVerificationEmail(ctx, in interface{}) *gomock.Call {
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) GetVerificationEmail(ctx, in any) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVerificationEmail", reflect.TypeOf((*MockAnyPpClientService)(nil).GetVerificationEmail), ctx, in)
|
||||
}
|
||||
|
@ -135,7 +140,7 @@ func (m *MockAnyPpClientService) Init(a *app.App) error {
|
|||
}
|
||||
|
||||
// Init indicates an expected call of Init.
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) Init(a interface{}) *gomock.Call {
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) Init(a any) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Init", reflect.TypeOf((*MockAnyPpClientService)(nil).Init), a)
|
||||
}
|
||||
|
@ -150,7 +155,7 @@ func (m *MockAnyPpClientService) IsNameValid(ctx context.Context, in *paymentser
|
|||
}
|
||||
|
||||
// IsNameValid indicates an expected call of IsNameValid.
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) IsNameValid(ctx, in interface{}) *gomock.Call {
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) IsNameValid(ctx, in any) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsNameValid", reflect.TypeOf((*MockAnyPpClientService)(nil).IsNameValid), ctx, in)
|
||||
}
|
||||
|
@ -169,6 +174,21 @@ func (mr *MockAnyPpClientServiceMockRecorder) Name() *gomock.Call {
|
|||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Name", reflect.TypeOf((*MockAnyPpClientService)(nil).Name))
|
||||
}
|
||||
|
||||
// VerifyAppStoreReceipt mocks base method.
|
||||
func (m *MockAnyPpClientService) VerifyAppStoreReceipt(ctx context.Context, in *paymentserviceproto.VerifyAppStoreReceiptRequestSigned) (*paymentserviceproto.VerifyAppStoreReceiptRequestResponse, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "VerifyAppStoreReceipt", ctx, in)
|
||||
ret0, _ := ret[0].(*paymentserviceproto.VerifyAppStoreReceiptRequestResponse)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// VerifyAppStoreReceipt indicates an expected call of VerifyAppStoreReceipt.
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) VerifyAppStoreReceipt(ctx, in any) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifyAppStoreReceipt", reflect.TypeOf((*MockAnyPpClientService)(nil).VerifyAppStoreReceipt), ctx, in)
|
||||
}
|
||||
|
||||
// VerifyEmail mocks base method.
|
||||
func (m *MockAnyPpClientService) VerifyEmail(ctx context.Context, in *paymentserviceproto.VerifyEmailRequestSigned) (*paymentserviceproto.VerifyEmailResponse, error) {
|
||||
m.ctrl.T.Helper()
|
||||
|
@ -179,7 +199,7 @@ func (m *MockAnyPpClientService) VerifyEmail(ctx context.Context, in *paymentser
|
|||
}
|
||||
|
||||
// VerifyEmail indicates an expected call of VerifyEmail.
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) VerifyEmail(ctx, in interface{}) *gomock.Call {
|
||||
func (mr *MockAnyPpClientServiceMockRecorder) VerifyEmail(ctx, in any) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifyEmail", reflect.TypeOf((*MockAnyPpClientService)(nil).VerifyEmail), ctx, in)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue