// Code generated by MockGen. DO NOT EDIT.
// Source: billing.go
//
// Generated by this command:
//
//	mockgen -source=billing.go -package=mock_adapter -destination=./mock_adapter/mock_billing.go
//

// Package mock_adapter is a generated GoMock package.
package mock_adapter

import (
	context "context"
	reflect "reflect"

	adapter "github.com/tidbcloud/tidb-management-service/serverless-global-service/domain/adapter"
	gomock "go.uber.org/mock/gomock"
)

// MockBillingService is a mock of BillingService interface.
type MockBillingService struct {
	ctrl     *gomock.Controller
	recorder *MockBillingServiceMockRecorder
	isgomock struct{}
}

// MockBillingServiceMockRecorder is the mock recorder for MockBillingService.
type MockBillingServiceMockRecorder struct {
	mock *MockBillingService
}

// NewMockBillingService creates a new mock instance.
func NewMockBillingService(ctrl *gomock.Controller) *MockBillingService {
	mock := &MockBillingService{ctrl: ctrl}
	mock.recorder = &MockBillingServiceMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockBillingService) EXPECT() *MockBillingServiceMockRecorder {
	return m.recorder
}

// CanCreateScalableCluster mocks base method.
func (m *MockBillingService) CanCreateScalableCluster(ctx context.Context, region, provider, resourceType string, tenantId uint64) (*adapter.ActionCheckResp, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CanCreateScalableCluster", ctx, region, provider, resourceType, tenantId)
	ret0, _ := ret[0].(*adapter.ActionCheckResp)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// CanCreateScalableCluster indicates an expected call of CanCreateScalableCluster.
func (mr *MockBillingServiceMockRecorder) CanCreateScalableCluster(ctx, region, provider, resourceType, tenantId any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CanCreateScalableCluster", reflect.TypeOf((*MockBillingService)(nil).CanCreateScalableCluster), ctx, region, provider, resourceType, tenantId)
}

// GetPlans mocks base method.
func (m *MockBillingService) GetPlans(ctx context.Context, id uint64) (*adapter.TenantPlanInfo, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetPlans", ctx, id)
	ret0, _ := ret[0].(*adapter.TenantPlanInfo)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetPlans indicates an expected call of GetPlans.
func (mr *MockBillingServiceMockRecorder) GetPlans(ctx, id any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPlans", reflect.TypeOf((*MockBillingService)(nil).GetPlans), ctx, id)
}
