mocks

package
v0.0.0-...-c407d37 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AOAPacketCreator

type AOAPacketCreator struct {
	mock.Mock
}

AOAPacketCreator is an autogenerated mock type for the AOAPacketCreator type

func NewAOAPacketCreator

func NewAOAPacketCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *AOAPacketCreator

NewAOAPacketCreator creates a new instance of AOAPacketCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AOAPacketCreator) CreateAOAPacket

func (_m *AOAPacketCreator) CreateAOAPacket(appCtx appcontext.AppContext, ppmShipmentID uuid.UUID) (afero.File, error)

CreateAOAPacket provides a mock function with given fields: appCtx, ppmShipmentID

func (*AOAPacketCreator) VerifyAOAPacketInternal

func (_m *AOAPacketCreator) VerifyAOAPacketInternal(appCtx appcontext.AppContext, ppmShipmentID uuid.UUID) error

VerifyAOAPacketInternal provides a mock function with given fields: appCtx, ppmShipmentID

type AdminUserCreator

type AdminUserCreator struct {
	mock.Mock
}

AdminUserCreator is an autogenerated mock type for the AdminUserCreator type

func NewAdminUserCreator

func NewAdminUserCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *AdminUserCreator

NewAdminUserCreator creates a new instance of AdminUserCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AdminUserCreator) CreateAdminUser

func (_m *AdminUserCreator) CreateAdminUser(appCtx appcontext.AppContext, user *models.AdminUser, organizationIDFilter []services.QueryFilter) (*models.AdminUser, *validate.Errors, error)

CreateAdminUser provides a mock function with given fields: appCtx, user, organizationIDFilter

type AdminUserFetcher

type AdminUserFetcher struct {
	mock.Mock
}

AdminUserFetcher is an autogenerated mock type for the AdminUserFetcher type

func NewAdminUserFetcher

func NewAdminUserFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *AdminUserFetcher

NewAdminUserFetcher creates a new instance of AdminUserFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AdminUserFetcher) FetchAdminUser

func (_m *AdminUserFetcher) FetchAdminUser(appCtx appcontext.AppContext, filters []services.QueryFilter) (models.AdminUser, error)

FetchAdminUser provides a mock function with given fields: appCtx, filters

type AdminUserListFetcher

type AdminUserListFetcher struct {
	mock.Mock
}

AdminUserListFetcher is an autogenerated mock type for the AdminUserListFetcher type

func NewAdminUserListFetcher

func NewAdminUserListFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *AdminUserListFetcher

NewAdminUserListFetcher creates a new instance of AdminUserListFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AdminUserListFetcher) FetchAdminUserCount

func (_m *AdminUserListFetcher) FetchAdminUserCount(appCtx appcontext.AppContext, filters []services.QueryFilter) (int, error)

FetchAdminUserCount provides a mock function with given fields: appCtx, filters

func (*AdminUserListFetcher) FetchAdminUserList

func (_m *AdminUserListFetcher) FetchAdminUserList(appCtx appcontext.AppContext, filters []services.QueryFilter, associations services.QueryAssociations, pagination services.Pagination, ordering services.QueryOrder) (models.AdminUsers, error)

FetchAdminUserList provides a mock function with given fields: appCtx, filters, associations, pagination, ordering

type AdminUserUpdater

type AdminUserUpdater struct {
	mock.Mock
}

AdminUserUpdater is an autogenerated mock type for the AdminUserUpdater type

func NewAdminUserUpdater

func NewAdminUserUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *AdminUserUpdater

NewAdminUserUpdater creates a new instance of AdminUserUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AdminUserUpdater) UpdateAdminUser

UpdateAdminUser provides a mock function with given fields: appCtx, id, payload

type ApprovedSITAddressUpdateRequestCreator

type ApprovedSITAddressUpdateRequestCreator struct {
	mock.Mock
}

ApprovedSITAddressUpdateRequestCreator is an autogenerated mock type for the ApprovedSITAddressUpdateRequestCreator type

func NewApprovedSITAddressUpdateRequestCreator

func NewApprovedSITAddressUpdateRequestCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *ApprovedSITAddressUpdateRequestCreator

NewApprovedSITAddressUpdateRequestCreator creates a new instance of ApprovedSITAddressUpdateRequestCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ApprovedSITAddressUpdateRequestCreator) CreateApprovedSITAddressUpdate

func (_m *ApprovedSITAddressUpdateRequestCreator) CreateApprovedSITAddressUpdate(appCtx appcontext.AppContext, sitAddressUpdate *models.SITAddressUpdate) (*models.SITAddressUpdate, error)

CreateApprovedSITAddressUpdate provides a mock function with given fields: appCtx, sitAddressUpdate

type ApprovedSITDurationUpdateCreator

type ApprovedSITDurationUpdateCreator struct {
	mock.Mock
}

ApprovedSITDurationUpdateCreator is an autogenerated mock type for the ApprovedSITDurationUpdateCreator type

func NewApprovedSITDurationUpdateCreator

func NewApprovedSITDurationUpdateCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *ApprovedSITDurationUpdateCreator

NewApprovedSITDurationUpdateCreator creates a new instance of ApprovedSITDurationUpdateCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ApprovedSITDurationUpdateCreator) CreateApprovedSITDurationUpdate

func (_m *ApprovedSITDurationUpdateCreator) CreateApprovedSITDurationUpdate(appCtx appcontext.AppContext, sitDurationUpdate *models.SITDurationUpdate, shipmentID uuid.UUID, eTag string) (*models.MTOShipment, error)

CreateApprovedSITDurationUpdate provides a mock function with given fields: appCtx, sitDurationUpdate, shipmentID, eTag

type ClientCertCreator

type ClientCertCreator struct {
	mock.Mock
}

ClientCertCreator is an autogenerated mock type for the ClientCertCreator type

func NewClientCertCreator

func NewClientCertCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientCertCreator

NewClientCertCreator creates a new instance of ClientCertCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientCertCreator) CreateClientCert

func (_m *ClientCertCreator) CreateClientCert(appCtx appcontext.AppContext, email string, user *models.ClientCert) (*models.ClientCert, *validate.Errors, error)

CreateClientCert provides a mock function with given fields: appCtx, email, user

type ClientCertFetcher

type ClientCertFetcher struct {
	mock.Mock
}

ClientCertFetcher is an autogenerated mock type for the ClientCertFetcher type

func NewClientCertFetcher

func NewClientCertFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientCertFetcher

NewClientCertFetcher creates a new instance of ClientCertFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientCertFetcher) FetchClientCert

func (_m *ClientCertFetcher) FetchClientCert(appCtx appcontext.AppContext, filters []services.QueryFilter) (models.ClientCert, error)

FetchClientCert provides a mock function with given fields: appCtx, filters

type ClientCertListFetcher

type ClientCertListFetcher struct {
	mock.Mock
}

ClientCertListFetcher is an autogenerated mock type for the ClientCertListFetcher type

func NewClientCertListFetcher

func NewClientCertListFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientCertListFetcher

NewClientCertListFetcher creates a new instance of ClientCertListFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientCertListFetcher) FetchClientCertCount

func (_m *ClientCertListFetcher) FetchClientCertCount(appCtx appcontext.AppContext, filters []services.QueryFilter) (int, error)

FetchClientCertCount provides a mock function with given fields: appCtx, filters

func (*ClientCertListFetcher) FetchClientCertList

func (_m *ClientCertListFetcher) FetchClientCertList(appCtx appcontext.AppContext, filters []services.QueryFilter, associations services.QueryAssociations, pagination services.Pagination, ordering services.QueryOrder) (models.ClientCerts, error)

FetchClientCertList provides a mock function with given fields: appCtx, filters, associations, pagination, ordering

type ClientCertRemover

type ClientCertRemover struct {
	mock.Mock
}

ClientCertRemover is an autogenerated mock type for the ClientCertRemover type

func NewClientCertRemover

func NewClientCertRemover(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientCertRemover

NewClientCertRemover creates a new instance of ClientCertRemover. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientCertRemover) RemoveClientCert

func (_m *ClientCertRemover) RemoveClientCert(appCtx appcontext.AppContext, id uuid.UUID) (*models.ClientCert, *validate.Errors, error)

RemoveClientCert provides a mock function with given fields: appCtx, id

type ClientCertUpdater

type ClientCertUpdater struct {
	mock.Mock
}

ClientCertUpdater is an autogenerated mock type for the ClientCertUpdater type

func NewClientCertUpdater

func NewClientCertUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientCertUpdater

NewClientCertUpdater creates a new instance of ClientCertUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientCertUpdater) UpdateClientCert

UpdateClientCert provides a mock function with given fields: appCtx, id, payload

type CounselingServicesPricer

type CounselingServicesPricer struct {
	mock.Mock
}

CounselingServicesPricer is an autogenerated mock type for the CounselingServicesPricer type

func NewCounselingServicesPricer

func NewCounselingServicesPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *CounselingServicesPricer

NewCounselingServicesPricer creates a new instance of CounselingServicesPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CounselingServicesPricer) Price

func (_m *CounselingServicesPricer) Price(appCtx appcontext.AppContext, contractCode string, mtoAvailableToPrimeAt time.Time) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, mtoAvailableToPrimeAt

func (*CounselingServicesPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type CustomerFetcher

type CustomerFetcher struct {
	mock.Mock
}

CustomerFetcher is an autogenerated mock type for the CustomerFetcher type

func NewCustomerFetcher

func NewCustomerFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *CustomerFetcher

NewCustomerFetcher creates a new instance of CustomerFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CustomerFetcher) FetchCustomer

func (_m *CustomerFetcher) FetchCustomer(appCtx appcontext.AppContext, customerID uuid.UUID) (*models.ServiceMember, error)

FetchCustomer provides a mock function with given fields: appCtx, customerID

type CustomerSupportRemarkDeleter

type CustomerSupportRemarkDeleter struct {
	mock.Mock
}

CustomerSupportRemarkDeleter is an autogenerated mock type for the CustomerSupportRemarkDeleter type

func NewCustomerSupportRemarkDeleter

func NewCustomerSupportRemarkDeleter(t interface {
	mock.TestingT
	Cleanup(func())
}) *CustomerSupportRemarkDeleter

NewCustomerSupportRemarkDeleter creates a new instance of CustomerSupportRemarkDeleter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CustomerSupportRemarkDeleter) DeleteCustomerSupportRemark

func (_m *CustomerSupportRemarkDeleter) DeleteCustomerSupportRemark(appCtx appcontext.AppContext, customerSupportRemarkID uuid.UUID) error

DeleteCustomerSupportRemark provides a mock function with given fields: appCtx, customerSupportRemarkID

type CustomerSupportRemarkUpdater

type CustomerSupportRemarkUpdater struct {
	mock.Mock
}

CustomerSupportRemarkUpdater is an autogenerated mock type for the CustomerSupportRemarkUpdater type

func NewCustomerSupportRemarkUpdater

func NewCustomerSupportRemarkUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *CustomerSupportRemarkUpdater

NewCustomerSupportRemarkUpdater creates a new instance of CustomerSupportRemarkUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CustomerSupportRemarkUpdater) UpdateCustomerSupportRemark

UpdateCustomerSupportRemark provides a mock function with given fields: appCtx, params

type CustomerSupportRemarksCreator

type CustomerSupportRemarksCreator struct {
	mock.Mock
}

CustomerSupportRemarksCreator is an autogenerated mock type for the CustomerSupportRemarksCreator type

func NewCustomerSupportRemarksCreator

func NewCustomerSupportRemarksCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *CustomerSupportRemarksCreator

NewCustomerSupportRemarksCreator creates a new instance of CustomerSupportRemarksCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CustomerSupportRemarksCreator) CreateCustomerSupportRemark

func (_m *CustomerSupportRemarksCreator) CreateCustomerSupportRemark(appCtx appcontext.AppContext, customerSupportRemark *models.CustomerSupportRemark, moveCode string) (*models.CustomerSupportRemark, error)

CreateCustomerSupportRemark provides a mock function with given fields: appCtx, customerSupportRemark, moveCode

type CustomerSupportRemarksFetcher

type CustomerSupportRemarksFetcher struct {
	mock.Mock
}

CustomerSupportRemarksFetcher is an autogenerated mock type for the CustomerSupportRemarksFetcher type

func NewCustomerSupportRemarksFetcher

func NewCustomerSupportRemarksFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *CustomerSupportRemarksFetcher

NewCustomerSupportRemarksFetcher creates a new instance of CustomerSupportRemarksFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CustomerSupportRemarksFetcher) ListCustomerSupportRemarks

func (_m *CustomerSupportRemarksFetcher) ListCustomerSupportRemarks(appCtx appcontext.AppContext, moveCode string) (*models.CustomerSupportRemarks, error)

ListCustomerSupportRemarks provides a mock function with given fields: appCtx, moveCode

type CustomerUpdater

type CustomerUpdater struct {
	mock.Mock
}

CustomerUpdater is an autogenerated mock type for the CustomerUpdater type

func NewCustomerUpdater

func NewCustomerUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *CustomerUpdater

NewCustomerUpdater creates a new instance of CustomerUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CustomerUpdater) UpdateCustomer

func (_m *CustomerUpdater) UpdateCustomer(appCtx appcontext.AppContext, eTag string, customer models.ServiceMember) (*models.ServiceMember, error)

UpdateCustomer provides a mock function with given fields: appCtx, eTag, customer

type DomesticAdditionalDaysSITPricer

type DomesticAdditionalDaysSITPricer struct {
	mock.Mock
}

DomesticAdditionalDaysSITPricer is an autogenerated mock type for the DomesticAdditionalDaysSITPricer type

func NewDomesticAdditionalDaysSITPricer

func NewDomesticAdditionalDaysSITPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticAdditionalDaysSITPricer

NewDomesticAdditionalDaysSITPricer creates a new instance of DomesticAdditionalDaysSITPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticAdditionalDaysSITPricer) Price

func (_m *DomesticAdditionalDaysSITPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, weight unit.Pound, serviceArea string, numberOfDaysInSIT int, disableWeightMinimum bool) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, weight, serviceArea, numberOfDaysInSIT, disableWeightMinimum

func (*DomesticAdditionalDaysSITPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticCratingPricer

type DomesticCratingPricer struct {
	mock.Mock
}

DomesticCratingPricer is an autogenerated mock type for the DomesticCratingPricer type

func NewDomesticCratingPricer

func NewDomesticCratingPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticCratingPricer

NewDomesticCratingPricer creates a new instance of DomesticCratingPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticCratingPricer) Price

func (_m *DomesticCratingPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, billedCubicFeet unit.CubicFeet, servicesScheduleOrigin int) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, billedCubicFeet, servicesScheduleOrigin

func (*DomesticCratingPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticDestinationAdditionalDaysSITPricer

type DomesticDestinationAdditionalDaysSITPricer struct {
	mock.Mock
}

DomesticDestinationAdditionalDaysSITPricer is an autogenerated mock type for the DomesticDestinationAdditionalDaysSITPricer type

func NewDomesticDestinationAdditionalDaysSITPricer

func NewDomesticDestinationAdditionalDaysSITPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticDestinationAdditionalDaysSITPricer

NewDomesticDestinationAdditionalDaysSITPricer creates a new instance of DomesticDestinationAdditionalDaysSITPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticDestinationAdditionalDaysSITPricer) Price

func (_m *DomesticDestinationAdditionalDaysSITPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, weight unit.Pound, serviceArea string, numberOfDaysInSIT int, disableWeightMinimum bool) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, weight, serviceArea, numberOfDaysInSIT, disableWeightMinimum

func (*DomesticDestinationAdditionalDaysSITPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticDestinationFirstDaySITPricer

type DomesticDestinationFirstDaySITPricer struct {
	mock.Mock
}

DomesticDestinationFirstDaySITPricer is an autogenerated mock type for the DomesticDestinationFirstDaySITPricer type

func NewDomesticDestinationFirstDaySITPricer

func NewDomesticDestinationFirstDaySITPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticDestinationFirstDaySITPricer

NewDomesticDestinationFirstDaySITPricer creates a new instance of DomesticDestinationFirstDaySITPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticDestinationFirstDaySITPricer) Price

func (_m *DomesticDestinationFirstDaySITPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, weight unit.Pound, serviceArea string, disableWeightMinimum bool) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, weight, serviceArea, disableWeightMinimum

func (*DomesticDestinationFirstDaySITPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticDestinationPricer

type DomesticDestinationPricer struct {
	mock.Mock
}

DomesticDestinationPricer is an autogenerated mock type for the DomesticDestinationPricer type

func NewDomesticDestinationPricer

func NewDomesticDestinationPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticDestinationPricer

NewDomesticDestinationPricer creates a new instance of DomesticDestinationPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticDestinationPricer) Price

func (_m *DomesticDestinationPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, weight unit.Pound, serviceArea string, isPPM bool) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, weight, serviceArea, isPPM

func (*DomesticDestinationPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticDestinationSITDeliveryPricer

type DomesticDestinationSITDeliveryPricer struct {
	mock.Mock
}

DomesticDestinationSITDeliveryPricer is an autogenerated mock type for the DomesticDestinationSITDeliveryPricer type

func NewDomesticDestinationSITDeliveryPricer

func NewDomesticDestinationSITDeliveryPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticDestinationSITDeliveryPricer

NewDomesticDestinationSITDeliveryPricer creates a new instance of DomesticDestinationSITDeliveryPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticDestinationSITDeliveryPricer) Price

func (_m *DomesticDestinationSITDeliveryPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, weight unit.Pound, serviceArea string, sitSchedule int, zipDest string, zipSITDest string, distance unit.Miles) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, weight, serviceArea, sitSchedule, zipDest, zipSITDest, distance

func (*DomesticDestinationSITDeliveryPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticDestinationSITFuelSurchargePricer

type DomesticDestinationSITFuelSurchargePricer struct {
	mock.Mock
}

DomesticDestinationSITFuelSurchargePricer is an autogenerated mock type for the DomesticDestinationSITFuelSurchargePricer type

func NewDomesticDestinationSITFuelSurchargePricer

func NewDomesticDestinationSITFuelSurchargePricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticDestinationSITFuelSurchargePricer

NewDomesticDestinationSITFuelSurchargePricer creates a new instance of DomesticDestinationSITFuelSurchargePricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticDestinationSITFuelSurchargePricer) Price

func (_m *DomesticDestinationSITFuelSurchargePricer) Price(appCtx appcontext.AppContext, actualPickupDate time.Time, distance unit.Miles, weight unit.Pound, fscWeightBasedDistanceMultiplier float64, eiaFuelPrice unit.Millicents, isPPM bool) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, actualPickupDate, distance, weight, fscWeightBasedDistanceMultiplier, eiaFuelPrice, isPPM

func (*DomesticDestinationSITFuelSurchargePricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticDestinationShuttlingPricer

type DomesticDestinationShuttlingPricer struct {
	mock.Mock
}

DomesticDestinationShuttlingPricer is an autogenerated mock type for the DomesticDestinationShuttlingPricer type

func NewDomesticDestinationShuttlingPricer

func NewDomesticDestinationShuttlingPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticDestinationShuttlingPricer

NewDomesticDestinationShuttlingPricer creates a new instance of DomesticDestinationShuttlingPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticDestinationShuttlingPricer) Price

func (_m *DomesticDestinationShuttlingPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, weight unit.Pound, servicesScheduleDest int) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, weight, servicesScheduleDest

func (*DomesticDestinationShuttlingPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticFirstDaySITPricer

type DomesticFirstDaySITPricer struct {
	mock.Mock
}

DomesticFirstDaySITPricer is an autogenerated mock type for the DomesticFirstDaySITPricer type

func NewDomesticFirstDaySITPricer

func NewDomesticFirstDaySITPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticFirstDaySITPricer

NewDomesticFirstDaySITPricer creates a new instance of DomesticFirstDaySITPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticFirstDaySITPricer) Price

func (_m *DomesticFirstDaySITPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, weight unit.Pound, serviceArea string, disableWeightMinimum bool) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, weight, serviceArea, disableWeightMinimum

func (*DomesticFirstDaySITPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticLinehaulPricer

type DomesticLinehaulPricer struct {
	mock.Mock
}

DomesticLinehaulPricer is an autogenerated mock type for the DomesticLinehaulPricer type

func NewDomesticLinehaulPricer

func NewDomesticLinehaulPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticLinehaulPricer

NewDomesticLinehaulPricer creates a new instance of DomesticLinehaulPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticLinehaulPricer) Price

func (_m *DomesticLinehaulPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, distance unit.Miles, weight unit.Pound, serviceArea string, isPPM bool) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, distance, weight, serviceArea, isPPM

func (*DomesticLinehaulPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticNTSPackPricer

type DomesticNTSPackPricer struct {
	mock.Mock
}

DomesticNTSPackPricer is an autogenerated mock type for the DomesticNTSPackPricer type

func NewDomesticNTSPackPricer

func NewDomesticNTSPackPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticNTSPackPricer

NewDomesticNTSPackPricer creates a new instance of DomesticNTSPackPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticNTSPackPricer) Price

func (_m *DomesticNTSPackPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, weight unit.Pound, servicesScheduleOrigin int, isPPM bool) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, weight, servicesScheduleOrigin, isPPM

func (*DomesticNTSPackPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticOriginAdditionalDaysSITPricer

type DomesticOriginAdditionalDaysSITPricer struct {
	mock.Mock
}

DomesticOriginAdditionalDaysSITPricer is an autogenerated mock type for the DomesticOriginAdditionalDaysSITPricer type

func NewDomesticOriginAdditionalDaysSITPricer

func NewDomesticOriginAdditionalDaysSITPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticOriginAdditionalDaysSITPricer

NewDomesticOriginAdditionalDaysSITPricer creates a new instance of DomesticOriginAdditionalDaysSITPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticOriginAdditionalDaysSITPricer) Price

func (_m *DomesticOriginAdditionalDaysSITPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, weight unit.Pound, serviceArea string, numberOfDaysInSIT int, disableWeightMinimum bool) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, weight, serviceArea, numberOfDaysInSIT, disableWeightMinimum

func (*DomesticOriginAdditionalDaysSITPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticOriginFirstDaySITPricer

type DomesticOriginFirstDaySITPricer struct {
	mock.Mock
}

DomesticOriginFirstDaySITPricer is an autogenerated mock type for the DomesticOriginFirstDaySITPricer type

func NewDomesticOriginFirstDaySITPricer

func NewDomesticOriginFirstDaySITPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticOriginFirstDaySITPricer

NewDomesticOriginFirstDaySITPricer creates a new instance of DomesticOriginFirstDaySITPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticOriginFirstDaySITPricer) Price

func (_m *DomesticOriginFirstDaySITPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, weight unit.Pound, serviceArea string, disableWeightMinimum bool) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, weight, serviceArea, disableWeightMinimum

func (*DomesticOriginFirstDaySITPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticOriginPricer

type DomesticOriginPricer struct {
	mock.Mock
}

DomesticOriginPricer is an autogenerated mock type for the DomesticOriginPricer type

func NewDomesticOriginPricer

func NewDomesticOriginPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticOriginPricer

NewDomesticOriginPricer creates a new instance of DomesticOriginPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticOriginPricer) Price

func (_m *DomesticOriginPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, weight unit.Pound, serviceArea string, isPPM bool) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, weight, serviceArea, isPPM

func (*DomesticOriginPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticOriginSITFuelSurchargePricer

type DomesticOriginSITFuelSurchargePricer struct {
	mock.Mock
}

DomesticOriginSITFuelSurchargePricer is an autogenerated mock type for the DomesticOriginSITFuelSurchargePricer type

func NewDomesticOriginSITFuelSurchargePricer

func NewDomesticOriginSITFuelSurchargePricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticOriginSITFuelSurchargePricer

NewDomesticOriginSITFuelSurchargePricer creates a new instance of DomesticOriginSITFuelSurchargePricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticOriginSITFuelSurchargePricer) Price

func (_m *DomesticOriginSITFuelSurchargePricer) Price(appCtx appcontext.AppContext, actualPickupDate time.Time, distance unit.Miles, weight unit.Pound, fscWeightBasedDistanceMultiplier float64, eiaFuelPrice unit.Millicents, isPPM bool) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, actualPickupDate, distance, weight, fscWeightBasedDistanceMultiplier, eiaFuelPrice, isPPM

func (*DomesticOriginSITFuelSurchargePricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticOriginSITPickupPricer

type DomesticOriginSITPickupPricer struct {
	mock.Mock
}

DomesticOriginSITPickupPricer is an autogenerated mock type for the DomesticOriginSITPickupPricer type

func NewDomesticOriginSITPickupPricer

func NewDomesticOriginSITPickupPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticOriginSITPickupPricer

NewDomesticOriginSITPickupPricer creates a new instance of DomesticOriginSITPickupPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticOriginSITPickupPricer) Price

func (_m *DomesticOriginSITPickupPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, weight unit.Pound, serviceArea string, sitSchedule int, zipSITOriginOriginal string, zipSITOriginActual string, distance unit.Miles) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, weight, serviceArea, sitSchedule, zipSITOriginOriginal, zipSITOriginActual, distance

func (*DomesticOriginSITPickupPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticOriginShuttlingPricer

type DomesticOriginShuttlingPricer struct {
	mock.Mock
}

DomesticOriginShuttlingPricer is an autogenerated mock type for the DomesticOriginShuttlingPricer type

func NewDomesticOriginShuttlingPricer

func NewDomesticOriginShuttlingPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticOriginShuttlingPricer

NewDomesticOriginShuttlingPricer creates a new instance of DomesticOriginShuttlingPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticOriginShuttlingPricer) Price

func (_m *DomesticOriginShuttlingPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, weight unit.Pound, servicesScheduleOrigin int) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, weight, servicesScheduleOrigin

func (*DomesticOriginShuttlingPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticPackPricer

type DomesticPackPricer struct {
	mock.Mock
}

DomesticPackPricer is an autogenerated mock type for the DomesticPackPricer type

func NewDomesticPackPricer

func NewDomesticPackPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticPackPricer

NewDomesticPackPricer creates a new instance of DomesticPackPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticPackPricer) Price

func (_m *DomesticPackPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, weight unit.Pound, servicesScheduleOrigin int, isPPM bool) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, weight, servicesScheduleOrigin, isPPM

func (*DomesticPackPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticShorthaulPricer

type DomesticShorthaulPricer struct {
	mock.Mock
}

DomesticShorthaulPricer is an autogenerated mock type for the DomesticShorthaulPricer type

func NewDomesticShorthaulPricer

func NewDomesticShorthaulPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticShorthaulPricer

NewDomesticShorthaulPricer creates a new instance of DomesticShorthaulPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticShorthaulPricer) Price

func (_m *DomesticShorthaulPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, distance unit.Miles, weight unit.Pound, serviceArea string) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, distance, weight, serviceArea

func (*DomesticShorthaulPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticUncratingPricer

type DomesticUncratingPricer struct {
	mock.Mock
}

DomesticUncratingPricer is an autogenerated mock type for the DomesticUncratingPricer type

func NewDomesticUncratingPricer

func NewDomesticUncratingPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticUncratingPricer

NewDomesticUncratingPricer creates a new instance of DomesticUncratingPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticUncratingPricer) Price

func (_m *DomesticUncratingPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, billedCubicFeet unit.CubicFeet, servicesScheduleDest int) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, billedCubicFeet, servicesScheduleDest

func (*DomesticUncratingPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type DomesticUnpackPricer

type DomesticUnpackPricer struct {
	mock.Mock
}

DomesticUnpackPricer is an autogenerated mock type for the DomesticUnpackPricer type

func NewDomesticUnpackPricer

func NewDomesticUnpackPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomesticUnpackPricer

NewDomesticUnpackPricer creates a new instance of DomesticUnpackPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomesticUnpackPricer) Price

func (_m *DomesticUnpackPricer) Price(appCtx appcontext.AppContext, contractCode string, requestedPickupDate time.Time, weight unit.Pound, servicesScheduleDest int, isPPM bool) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, weight, servicesScheduleDest, isPPM

func (*DomesticUnpackPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type ElectronicOrderCategoryCountFetcher

type ElectronicOrderCategoryCountFetcher struct {
	mock.Mock
}

ElectronicOrderCategoryCountFetcher is an autogenerated mock type for the ElectronicOrderCategoryCountFetcher type

func NewElectronicOrderCategoryCountFetcher

func NewElectronicOrderCategoryCountFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *ElectronicOrderCategoryCountFetcher

NewElectronicOrderCategoryCountFetcher creates a new instance of ElectronicOrderCategoryCountFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ElectronicOrderCategoryCountFetcher) FetchElectronicOrderCategoricalCounts

func (_m *ElectronicOrderCategoryCountFetcher) FetchElectronicOrderCategoricalCounts(appCtx appcontext.AppContext, filters []services.QueryFilter, andFilters *[]services.QueryFilter) (map[interface{}]int, error)

FetchElectronicOrderCategoricalCounts provides a mock function with given fields: appCtx, filters, andFilters

type ElectronicOrderListFetcher

type ElectronicOrderListFetcher struct {
	mock.Mock
}

ElectronicOrderListFetcher is an autogenerated mock type for the ElectronicOrderListFetcher type

func NewElectronicOrderListFetcher

func NewElectronicOrderListFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *ElectronicOrderListFetcher

NewElectronicOrderListFetcher creates a new instance of ElectronicOrderListFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ElectronicOrderListFetcher) FetchElectronicOrderCount

func (_m *ElectronicOrderListFetcher) FetchElectronicOrderCount(appCtx appcontext.AppContext, filters []services.QueryFilter) (int, error)

FetchElectronicOrderCount provides a mock function with given fields: appCtx, filters

func (*ElectronicOrderListFetcher) FetchElectronicOrderList

func (_m *ElectronicOrderListFetcher) FetchElectronicOrderList(appCtx appcontext.AppContext, filters []services.QueryFilter, associations services.QueryAssociations, pagination services.Pagination, ordering services.QueryOrder) (models.ElectronicOrders, error)

FetchElectronicOrderList provides a mock function with given fields: appCtx, filters, associations, pagination, ordering

type EvaluationReportCreator

type EvaluationReportCreator struct {
	mock.Mock
}

EvaluationReportCreator is an autogenerated mock type for the EvaluationReportCreator type

func NewEvaluationReportCreator

func NewEvaluationReportCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *EvaluationReportCreator

NewEvaluationReportCreator creates a new instance of EvaluationReportCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EvaluationReportCreator) CreateEvaluationReport

func (_m *EvaluationReportCreator) CreateEvaluationReport(appCtx appcontext.AppContext, evaluationReport *models.EvaluationReport, locator string) (*models.EvaluationReport, error)

CreateEvaluationReport provides a mock function with given fields: appCtx, evaluationReport, locator

type EvaluationReportDeleter

type EvaluationReportDeleter struct {
	mock.Mock
}

EvaluationReportDeleter is an autogenerated mock type for the EvaluationReportDeleter type

func NewEvaluationReportDeleter

func NewEvaluationReportDeleter(t interface {
	mock.TestingT
	Cleanup(func())
}) *EvaluationReportDeleter

NewEvaluationReportDeleter creates a new instance of EvaluationReportDeleter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EvaluationReportDeleter) DeleteEvaluationReport

func (_m *EvaluationReportDeleter) DeleteEvaluationReport(appCtx appcontext.AppContext, reportID uuid.UUID) error

DeleteEvaluationReport provides a mock function with given fields: appCtx, reportID

type EvaluationReportFetcher

type EvaluationReportFetcher struct {
	mock.Mock
}

EvaluationReportFetcher is an autogenerated mock type for the EvaluationReportFetcher type

func NewEvaluationReportFetcher

func NewEvaluationReportFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *EvaluationReportFetcher

NewEvaluationReportFetcher creates a new instance of EvaluationReportFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EvaluationReportFetcher) FetchEvaluationReportByID

func (_m *EvaluationReportFetcher) FetchEvaluationReportByID(appCtx appcontext.AppContext, reportID uuid.UUID, officeUserID uuid.UUID) (*models.EvaluationReport, error)

FetchEvaluationReportByID provides a mock function with given fields: appCtx, reportID, officeUserID

func (*EvaluationReportFetcher) FetchEvaluationReports

func (_m *EvaluationReportFetcher) FetchEvaluationReports(appCtx appcontext.AppContext, reportType models.EvaluationReportType, moveID uuid.UUID, officeUserID uuid.UUID) (models.EvaluationReports, error)

FetchEvaluationReports provides a mock function with given fields: appCtx, reportType, moveID, officeUserID

type EvaluationReportUpdater

type EvaluationReportUpdater struct {
	mock.Mock
}

EvaluationReportUpdater is an autogenerated mock type for the EvaluationReportUpdater type

func NewEvaluationReportUpdater

func NewEvaluationReportUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *EvaluationReportUpdater

NewEvaluationReportUpdater creates a new instance of EvaluationReportUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EvaluationReportUpdater) SubmitEvaluationReport

func (_m *EvaluationReportUpdater) SubmitEvaluationReport(appCtx appcontext.AppContext, evaluationReportID uuid.UUID, officeUserID uuid.UUID, eTag string) error

SubmitEvaluationReport provides a mock function with given fields: appCtx, evaluationReportID, officeUserID, eTag

func (*EvaluationReportUpdater) UpdateEvaluationReport

func (_m *EvaluationReportUpdater) UpdateEvaluationReport(appCtx appcontext.AppContext, evaluationReport *models.EvaluationReport, officeUserID uuid.UUID, eTag string) error

UpdateEvaluationReport provides a mock function with given fields: appCtx, evaluationReport, officeUserID, eTag

type ExcessWeightRiskManager

type ExcessWeightRiskManager struct {
	mock.Mock
}

ExcessWeightRiskManager is an autogenerated mock type for the ExcessWeightRiskManager type

func NewExcessWeightRiskManager

func NewExcessWeightRiskManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *ExcessWeightRiskManager

NewExcessWeightRiskManager creates a new instance of ExcessWeightRiskManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ExcessWeightRiskManager) AcknowledgeExcessWeightRisk

func (_m *ExcessWeightRiskManager) AcknowledgeExcessWeightRisk(appCtx appcontext.AppContext, moveID uuid.UUID, eTag string) (*models.Move, error)

AcknowledgeExcessWeightRisk provides a mock function with given fields: appCtx, moveID, eTag

func (*ExcessWeightRiskManager) UpdateBillableWeightAsTOO

func (_m *ExcessWeightRiskManager) UpdateBillableWeightAsTOO(appCtx appcontext.AppContext, orderID uuid.UUID, weight *int, eTag string) (*models.Order, uuid.UUID, error)

UpdateBillableWeightAsTOO provides a mock function with given fields: appCtx, orderID, weight, eTag

func (*ExcessWeightRiskManager) UpdateMaxBillableWeightAsTIO

func (_m *ExcessWeightRiskManager) UpdateMaxBillableWeightAsTIO(appCtx appcontext.AppContext, orderID uuid.UUID, weight *int, remarks *string, eTag string) (*models.Order, uuid.UUID, error)

UpdateMaxBillableWeightAsTIO provides a mock function with given fields: appCtx, orderID, weight, remarks, eTag

type FeatureFlagFetcher

type FeatureFlagFetcher struct {
	mock.Mock
}

FeatureFlagFetcher is an autogenerated mock type for the FeatureFlagFetcher type

func NewFeatureFlagFetcher

func NewFeatureFlagFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *FeatureFlagFetcher

NewFeatureFlagFetcher creates a new instance of FeatureFlagFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*FeatureFlagFetcher) GetBooleanFlag

func (_m *FeatureFlagFetcher) GetBooleanFlag(ctx context.Context, logger *zap.Logger, entityID string, key string, flagContext map[string]string) (services.FeatureFlag, error)

GetBooleanFlag provides a mock function with given fields: ctx, logger, entityID, key, flagContext

func (*FeatureFlagFetcher) GetBooleanFlagForUser

func (_m *FeatureFlagFetcher) GetBooleanFlagForUser(ctx context.Context, appCtx appcontext.AppContext, key string, flagContext map[string]string) (services.FeatureFlag, error)

GetBooleanFlagForUser provides a mock function with given fields: ctx, appCtx, key, flagContext

func (*FeatureFlagFetcher) GetVariantFlag

func (_m *FeatureFlagFetcher) GetVariantFlag(ctx context.Context, logger *zap.Logger, entityID string, key string, flagContext map[string]string) (services.FeatureFlag, error)

GetVariantFlag provides a mock function with given fields: ctx, logger, entityID, key, flagContext

func (*FeatureFlagFetcher) GetVariantFlagForUser

func (_m *FeatureFlagFetcher) GetVariantFlagForUser(ctx context.Context, appCtx appcontext.AppContext, key string, flagContext map[string]string) (services.FeatureFlag, error)

GetVariantFlagForUser provides a mock function with given fields: ctx, appCtx, key, flagContext

type Fetcher

type Fetcher struct {
	mock.Mock
}

Fetcher is an autogenerated mock type for the Fetcher type

func NewFetcher

func NewFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *Fetcher

NewFetcher creates a new instance of Fetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Fetcher) FetchRecord

func (_m *Fetcher) FetchRecord(appCtx appcontext.AppContext, model interface{}, filters []services.QueryFilter) error

FetchRecord provides a mock function with given fields: appCtx, model, filters

type FuelSurchargePricer

type FuelSurchargePricer struct {
	mock.Mock
}

FuelSurchargePricer is an autogenerated mock type for the FuelSurchargePricer type

func NewFuelSurchargePricer

func NewFuelSurchargePricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *FuelSurchargePricer

NewFuelSurchargePricer creates a new instance of FuelSurchargePricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*FuelSurchargePricer) Price

func (_m *FuelSurchargePricer) Price(appCtx appcontext.AppContext, actualPickupDate time.Time, distance unit.Miles, weight unit.Pound, fscWeightBasedDistanceMultiplier float64, eiaFuelPrice unit.Millicents, isPPM bool) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, actualPickupDate, distance, weight, fscWeightBasedDistanceMultiplier, eiaFuelPrice, isPPM

func (*FuelSurchargePricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type GHCPaymentRequestInvoiceGenerator

type GHCPaymentRequestInvoiceGenerator struct {
	mock.Mock
}

GHCPaymentRequestInvoiceGenerator is an autogenerated mock type for the GHCPaymentRequestInvoiceGenerator type

func NewGHCPaymentRequestInvoiceGenerator

func NewGHCPaymentRequestInvoiceGenerator(t interface {
	mock.TestingT
	Cleanup(func())
}) *GHCPaymentRequestInvoiceGenerator

NewGHCPaymentRequestInvoiceGenerator creates a new instance of GHCPaymentRequestInvoiceGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*GHCPaymentRequestInvoiceGenerator) Generate

func (_m *GHCPaymentRequestInvoiceGenerator) Generate(appCtx appcontext.AppContext, paymentRequest models.PaymentRequest, sendProductionInvoice bool) (ediinvoice.Invoice858C, error)

Generate provides a mock function with given fields: appCtx, paymentRequest, sendProductionInvoice

type GexSender

type GexSender struct {
	mock.Mock
}

GexSender is an autogenerated mock type for the GexSender type

func NewGexSender

func NewGexSender(t interface {
	mock.TestingT
	Cleanup(func())
}) *GexSender

NewGexSender creates a new instance of GexSender. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*GexSender) SendToGex

func (_m *GexSender) SendToGex(channel services.GEXChannel, edi string, filename string) (*http.Response, error)

SendToGex provides a mock function with given fields: channel, edi, filename

type ListFetcher

type ListFetcher struct {
	mock.Mock
}

ListFetcher is an autogenerated mock type for the ListFetcher type

func NewListFetcher

func NewListFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *ListFetcher

NewListFetcher creates a new instance of ListFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ListFetcher) FetchRecordCount

func (_m *ListFetcher) FetchRecordCount(appCtx appcontext.AppContext, model interface{}, filters []services.QueryFilter) (int, error)

FetchRecordCount provides a mock function with given fields: appCtx, model, filters

func (*ListFetcher) FetchRecordList

func (_m *ListFetcher) FetchRecordList(appCtx appcontext.AppContext, model interface{}, filters []services.QueryFilter, associations services.QueryAssociations, pagination services.Pagination, ordering services.QueryOrder) error

FetchRecordList provides a mock function with given fields: appCtx, model, filters, associations, pagination, ordering

type MTOAgentCreator

type MTOAgentCreator struct {
	mock.Mock
}

MTOAgentCreator is an autogenerated mock type for the MTOAgentCreator type

func NewMTOAgentCreator

func NewMTOAgentCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *MTOAgentCreator

NewMTOAgentCreator creates a new instance of MTOAgentCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MTOAgentCreator) CreateMTOAgentPrime

func (_m *MTOAgentCreator) CreateMTOAgentPrime(appCtx appcontext.AppContext, mtoAgent *models.MTOAgent) (*models.MTOAgent, error)

CreateMTOAgentPrime provides a mock function with given fields: appCtx, mtoAgent

type MTOAgentUpdater

type MTOAgentUpdater struct {
	mock.Mock
}

MTOAgentUpdater is an autogenerated mock type for the MTOAgentUpdater type

func NewMTOAgentUpdater

func NewMTOAgentUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *MTOAgentUpdater

NewMTOAgentUpdater creates a new instance of MTOAgentUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MTOAgentUpdater) UpdateMTOAgentBasic

func (_m *MTOAgentUpdater) UpdateMTOAgentBasic(appCtx appcontext.AppContext, mtoAgent *models.MTOAgent, eTag string) (*models.MTOAgent, error)

UpdateMTOAgentBasic provides a mock function with given fields: appCtx, mtoAgent, eTag

func (*MTOAgentUpdater) UpdateMTOAgentPrime

func (_m *MTOAgentUpdater) UpdateMTOAgentPrime(appCtx appcontext.AppContext, mtoAgent *models.MTOAgent, eTag string) (*models.MTOAgent, error)

UpdateMTOAgentPrime provides a mock function with given fields: appCtx, mtoAgent, eTag

type MTOServiceItemCreator

type MTOServiceItemCreator struct {
	mock.Mock
}

MTOServiceItemCreator is an autogenerated mock type for the MTOServiceItemCreator type

func NewMTOServiceItemCreator

func NewMTOServiceItemCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *MTOServiceItemCreator

NewMTOServiceItemCreator creates a new instance of MTOServiceItemCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MTOServiceItemCreator) CreateMTOServiceItem

func (_m *MTOServiceItemCreator) CreateMTOServiceItem(appCtx appcontext.AppContext, serviceItem *models.MTOServiceItem) (*models.MTOServiceItems, *validate.Errors, error)

CreateMTOServiceItem provides a mock function with given fields: appCtx, serviceItem

type MTOServiceItemFetcher

type MTOServiceItemFetcher struct {
	mock.Mock
}

MTOServiceItemFetcher is an autogenerated mock type for the MTOServiceItemFetcher type

func NewMTOServiceItemFetcher

func NewMTOServiceItemFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *MTOServiceItemFetcher

NewMTOServiceItemFetcher creates a new instance of MTOServiceItemFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MTOServiceItemFetcher) GetServiceItem

func (_m *MTOServiceItemFetcher) GetServiceItem(appCtx appcontext.AppContext, serviceItemID uuid.UUID) (*models.MTOServiceItem, error)

GetServiceItem provides a mock function with given fields: appCtx, serviceItemID

type MTOServiceItemUpdater

type MTOServiceItemUpdater struct {
	mock.Mock
}

MTOServiceItemUpdater is an autogenerated mock type for the MTOServiceItemUpdater type

func NewMTOServiceItemUpdater

func NewMTOServiceItemUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *MTOServiceItemUpdater

NewMTOServiceItemUpdater creates a new instance of MTOServiceItemUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MTOServiceItemUpdater) ApproveOrRejectServiceItem

func (_m *MTOServiceItemUpdater) ApproveOrRejectServiceItem(appCtx appcontext.AppContext, mtoServiceItemID uuid.UUID, status models.MTOServiceItemStatus, rejectionReason *string, eTag string) (*models.MTOServiceItem, error)

ApproveOrRejectServiceItem provides a mock function with given fields: appCtx, mtoServiceItemID, status, rejectionReason, eTag

func (*MTOServiceItemUpdater) ConvertItemToCustomerExpense

func (_m *MTOServiceItemUpdater) ConvertItemToCustomerExpense(appCtx appcontext.AppContext, shipment *models.MTOShipment, customerExpenseReason *string, convertToCustomerExpense bool) (*models.MTOServiceItem, error)

ConvertItemToCustomerExpense provides a mock function with given fields: appCtx, shipment, customerExpenseReason, convertToCustomerExpense

func (*MTOServiceItemUpdater) UpdateMTOServiceItem

func (_m *MTOServiceItemUpdater) UpdateMTOServiceItem(appCtx appcontext.AppContext, serviceItem *models.MTOServiceItem, eTag string, validator string) (*models.MTOServiceItem, error)

UpdateMTOServiceItem provides a mock function with given fields: appCtx, serviceItem, eTag, validator

func (*MTOServiceItemUpdater) UpdateMTOServiceItemBasic

func (_m *MTOServiceItemUpdater) UpdateMTOServiceItemBasic(appCtx appcontext.AppContext, serviceItem *models.MTOServiceItem, eTag string) (*models.MTOServiceItem, error)

UpdateMTOServiceItemBasic provides a mock function with given fields: appCtx, serviceItem, eTag

func (*MTOServiceItemUpdater) UpdateMTOServiceItemPrime

func (_m *MTOServiceItemUpdater) UpdateMTOServiceItemPrime(appCtx appcontext.AppContext, serviceItem *models.MTOServiceItem, planner route.Planner, shipment models.MTOShipment, eTag string) (*models.MTOServiceItem, error)

UpdateMTOServiceItemPrime provides a mock function with given fields: appCtx, serviceItem, planner, shipment, eTag

type MTOShipmentCreator

type MTOShipmentCreator struct {
	mock.Mock
}

MTOShipmentCreator is an autogenerated mock type for the MTOShipmentCreator type

func NewMTOShipmentCreator

func NewMTOShipmentCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *MTOShipmentCreator

NewMTOShipmentCreator creates a new instance of MTOShipmentCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MTOShipmentCreator) CreateMTOShipment

func (_m *MTOShipmentCreator) CreateMTOShipment(appCtx appcontext.AppContext, MTOShipment *models.MTOShipment) (*models.MTOShipment, error)

CreateMTOShipment provides a mock function with given fields: appCtx, MTOShipment

type MTOShipmentFetcher

type MTOShipmentFetcher struct {
	mock.Mock
}

MTOShipmentFetcher is an autogenerated mock type for the MTOShipmentFetcher type

func NewMTOShipmentFetcher

func NewMTOShipmentFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *MTOShipmentFetcher

NewMTOShipmentFetcher creates a new instance of MTOShipmentFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MTOShipmentFetcher) GetDiversionChain

func (_m *MTOShipmentFetcher) GetDiversionChain(appCtx appcontext.AppContext, shipmentID uuid.UUID) (*[]models.MTOShipment, error)

GetDiversionChain provides a mock function with given fields: appCtx, shipmentID

func (*MTOShipmentFetcher) GetShipment

func (_m *MTOShipmentFetcher) GetShipment(appCtx appcontext.AppContext, shipmentID uuid.UUID, eagerAssociations ...string) (*models.MTOShipment, error)

GetShipment provides a mock function with given fields: appCtx, shipmentID, eagerAssociations

func (*MTOShipmentFetcher) ListMTOShipments

func (_m *MTOShipmentFetcher) ListMTOShipments(appCtx appcontext.AppContext, moveID uuid.UUID) ([]models.MTOShipment, error)

ListMTOShipments provides a mock function with given fields: appCtx, moveID

type MTOShipmentStatusUpdater

type MTOShipmentStatusUpdater struct {
	mock.Mock
}

MTOShipmentStatusUpdater is an autogenerated mock type for the MTOShipmentStatusUpdater type

func NewMTOShipmentStatusUpdater

func NewMTOShipmentStatusUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *MTOShipmentStatusUpdater

NewMTOShipmentStatusUpdater creates a new instance of MTOShipmentStatusUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MTOShipmentStatusUpdater) UpdateMTOShipmentStatus

func (_m *MTOShipmentStatusUpdater) UpdateMTOShipmentStatus(appCtx appcontext.AppContext, shipmentID uuid.UUID, status models.MTOShipmentStatus, rejectionReason *string, eTag string) (*models.MTOShipment, error)

UpdateMTOShipmentStatus provides a mock function with given fields: appCtx, shipmentID, status, rejectionReason, eTag

type MTOShipmentUpdater

type MTOShipmentUpdater struct {
	mock.Mock
}

MTOShipmentUpdater is an autogenerated mock type for the MTOShipmentUpdater type

func NewMTOShipmentUpdater

func NewMTOShipmentUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *MTOShipmentUpdater

NewMTOShipmentUpdater creates a new instance of MTOShipmentUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MTOShipmentUpdater) MTOShipmentsMTOAvailableToPrime

func (_m *MTOShipmentUpdater) MTOShipmentsMTOAvailableToPrime(appCtx appcontext.AppContext, mtoShipmentID uuid.UUID) (bool, error)

MTOShipmentsMTOAvailableToPrime provides a mock function with given fields: appCtx, mtoShipmentID

func (*MTOShipmentUpdater) UpdateMTOShipment

func (_m *MTOShipmentUpdater) UpdateMTOShipment(appCtx appcontext.AppContext, mtoShipment *models.MTOShipment, eTag string, api string) (*models.MTOShipment, error)

UpdateMTOShipment provides a mock function with given fields: appCtx, mtoShipment, eTag, api

type ManagementServicesPricer

type ManagementServicesPricer struct {
	mock.Mock
}

ManagementServicesPricer is an autogenerated mock type for the ManagementServicesPricer type

func NewManagementServicesPricer

func NewManagementServicesPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *ManagementServicesPricer

NewManagementServicesPricer creates a new instance of ManagementServicesPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ManagementServicesPricer) Price

func (_m *ManagementServicesPricer) Price(appCtx appcontext.AppContext, contractCode string, mtoAvailableToPrimeAt time.Time) (unit.Cents, services.PricingDisplayParams, error)

Price provides a mock function with given fields: appCtx, contractCode, mtoAvailableToPrimeAt

func (*ManagementServicesPricer) PriceUsingParams

PriceUsingParams provides a mock function with given fields: appCtx, params

type MoveExcessWeightUploader

type MoveExcessWeightUploader struct {
	mock.Mock
}

MoveExcessWeightUploader is an autogenerated mock type for the MoveExcessWeightUploader type

func NewMoveExcessWeightUploader

func NewMoveExcessWeightUploader(t interface {
	mock.TestingT
	Cleanup(func())
}) *MoveExcessWeightUploader

NewMoveExcessWeightUploader creates a new instance of MoveExcessWeightUploader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MoveExcessWeightUploader) CreateExcessWeightUpload

func (_m *MoveExcessWeightUploader) CreateExcessWeightUpload(appCtx appcontext.AppContext, moveID uuid.UUID, file io.ReadCloser, uploadFilename string, uploadType models.UploadType) (*models.Move, error)

CreateExcessWeightUpload provides a mock function with given fields: appCtx, moveID, file, uploadFilename, uploadType

type MoveFetcher

type MoveFetcher struct {
	mock.Mock
}

MoveFetcher is an autogenerated mock type for the MoveFetcher type

func NewMoveFetcher

func NewMoveFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *MoveFetcher

NewMoveFetcher creates a new instance of MoveFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MoveFetcher) FetchMove

func (_m *MoveFetcher) FetchMove(appCtx appcontext.AppContext, locator string, searchParams *services.MoveFetcherParams) (*models.Move, error)

FetchMove provides a mock function with given fields: appCtx, locator, searchParams

type MoveFinancialReviewFlagSetter

type MoveFinancialReviewFlagSetter struct {
	mock.Mock
}

MoveFinancialReviewFlagSetter is an autogenerated mock type for the MoveFinancialReviewFlagSetter type

func NewMoveFinancialReviewFlagSetter

func NewMoveFinancialReviewFlagSetter(t interface {
	mock.TestingT
	Cleanup(func())
}) *MoveFinancialReviewFlagSetter

NewMoveFinancialReviewFlagSetter creates a new instance of MoveFinancialReviewFlagSetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MoveFinancialReviewFlagSetter) SetFinancialReviewFlag

func (_m *MoveFinancialReviewFlagSetter) SetFinancialReviewFlag(appCtx appcontext.AppContext, moveID uuid.UUID, eTag string, flagForReview bool, remarks *string) (*models.Move, error)

SetFinancialReviewFlag provides a mock function with given fields: appCtx, moveID, eTag, flagForReview, remarks

type MoveHistoryFetcher

type MoveHistoryFetcher struct {
	mock.Mock
}

MoveHistoryFetcher is an autogenerated mock type for the MoveHistoryFetcher type

func NewMoveHistoryFetcher

func NewMoveHistoryFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *MoveHistoryFetcher

NewMoveHistoryFetcher creates a new instance of MoveHistoryFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MoveHistoryFetcher) FetchMoveHistory

FetchMoveHistory provides a mock function with given fields: appCtx, params

type MoveListFetcher

type MoveListFetcher struct {
	mock.Mock
}

MoveListFetcher is an autogenerated mock type for the MoveListFetcher type

func NewMoveListFetcher

func NewMoveListFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *MoveListFetcher

NewMoveListFetcher creates a new instance of MoveListFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MoveListFetcher) FetchMoveCount

func (_m *MoveListFetcher) FetchMoveCount(appCtx appcontext.AppContext, filters []services.QueryFilter) (int, error)

FetchMoveCount provides a mock function with given fields: appCtx, filters

func (*MoveListFetcher) FetchMoveList

func (_m *MoveListFetcher) FetchMoveList(appCtx appcontext.AppContext, filters []services.QueryFilter, associations services.QueryAssociations, pagination services.Pagination, ordering services.QueryOrder) (models.Moves, error)

FetchMoveList provides a mock function with given fields: appCtx, filters, associations, pagination, ordering

type MoveRouter

type MoveRouter struct {
	mock.Mock
}

MoveRouter is an autogenerated mock type for the MoveRouter type

func NewMoveRouter

func NewMoveRouter(t interface {
	mock.TestingT
	Cleanup(func())
}) *MoveRouter

NewMoveRouter creates a new instance of MoveRouter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MoveRouter) Approve

func (_m *MoveRouter) Approve(appCtx appcontext.AppContext, move *models.Move) error

Approve provides a mock function with given fields: appCtx, move

func (*MoveRouter) ApproveOrRequestApproval

func (_m *MoveRouter) ApproveOrRequestApproval(appCtx appcontext.AppContext, move models.Move) (*models.Move, error)

ApproveOrRequestApproval provides a mock function with given fields: appCtx, move

func (*MoveRouter) Cancel

func (_m *MoveRouter) Cancel(appCtx appcontext.AppContext, reason string, move *models.Move) error

Cancel provides a mock function with given fields: appCtx, reason, move

func (*MoveRouter) CompleteServiceCounseling

func (_m *MoveRouter) CompleteServiceCounseling(appCtx appcontext.AppContext, move *models.Move) error

CompleteServiceCounseling provides a mock function with given fields: appCtx, move

func (*MoveRouter) RouteAfterAmendingOrders

func (_m *MoveRouter) RouteAfterAmendingOrders(appCtx appcontext.AppContext, move *models.Move) error

RouteAfterAmendingOrders provides a mock function with given fields: appCtx, move

func (*MoveRouter) SendToOfficeUser

func (_m *MoveRouter) SendToOfficeUser(appCtx appcontext.AppContext, move *models.Move) error

SendToOfficeUser provides a mock function with given fields: appCtx, move

func (*MoveRouter) Submit

func (_m *MoveRouter) Submit(appCtx appcontext.AppContext, move *models.Move, newSignedCertification *models.SignedCertification) error

Submit provides a mock function with given fields: appCtx, move, newSignedCertification

type MoveSearcher

type MoveSearcher struct {
	mock.Mock
}

MoveSearcher is an autogenerated mock type for the MoveSearcher type

func NewMoveSearcher

func NewMoveSearcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *MoveSearcher

NewMoveSearcher creates a new instance of MoveSearcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MoveSearcher) SearchMoves

func (_m *MoveSearcher) SearchMoves(appCtx appcontext.AppContext, params *services.SearchMovesParams) (models.Moves, int, error)

SearchMoves provides a mock function with given fields: appCtx, params

type MoveTaskOrderChecker

type MoveTaskOrderChecker struct {
	mock.Mock
}

MoveTaskOrderChecker is an autogenerated mock type for the MoveTaskOrderChecker type

func NewMoveTaskOrderChecker

func NewMoveTaskOrderChecker(t interface {
	mock.TestingT
	Cleanup(func())
}) *MoveTaskOrderChecker

NewMoveTaskOrderChecker creates a new instance of MoveTaskOrderChecker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MoveTaskOrderChecker) MTOAvailableToPrime

func (_m *MoveTaskOrderChecker) MTOAvailableToPrime(appCtx appcontext.AppContext, moveTaskOrderID uuid.UUID) (bool, error)

MTOAvailableToPrime provides a mock function with given fields: appCtx, moveTaskOrderID

type MoveTaskOrderCreator

type MoveTaskOrderCreator struct {
	mock.Mock
}

MoveTaskOrderCreator is an autogenerated mock type for the MoveTaskOrderCreator type

func NewMoveTaskOrderCreator

func NewMoveTaskOrderCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *MoveTaskOrderCreator

NewMoveTaskOrderCreator creates a new instance of MoveTaskOrderCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MoveTaskOrderCreator) CreateMoveTaskOrder

func (_m *MoveTaskOrderCreator) CreateMoveTaskOrder(appCtx appcontext.AppContext, moveTaskOrder *models.Move) (*models.Move, *validate.Errors, error)

CreateMoveTaskOrder provides a mock function with given fields: appCtx, moveTaskOrder

type MoveTaskOrderFetcher

type MoveTaskOrderFetcher struct {
	mock.Mock
}

MoveTaskOrderFetcher is an autogenerated mock type for the MoveTaskOrderFetcher type

func NewMoveTaskOrderFetcher

func NewMoveTaskOrderFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *MoveTaskOrderFetcher

NewMoveTaskOrderFetcher creates a new instance of MoveTaskOrderFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MoveTaskOrderFetcher) FetchMoveTaskOrder

func (_m *MoveTaskOrderFetcher) FetchMoveTaskOrder(appCtx appcontext.AppContext, searchParams *services.MoveTaskOrderFetcherParams) (*models.Move, error)

FetchMoveTaskOrder provides a mock function with given fields: appCtx, searchParams

func (*MoveTaskOrderFetcher) GetMove

func (_m *MoveTaskOrderFetcher) GetMove(appCtx appcontext.AppContext, searchParams *services.MoveTaskOrderFetcherParams, eagerAssociations ...string) (*models.Move, error)

GetMove provides a mock function with given fields: appCtx, searchParams, eagerAssociations

func (*MoveTaskOrderFetcher) ListAllMoveTaskOrders

func (_m *MoveTaskOrderFetcher) ListAllMoveTaskOrders(appCtx appcontext.AppContext, searchParams *services.MoveTaskOrderFetcherParams) (models.Moves, error)

ListAllMoveTaskOrders provides a mock function with given fields: appCtx, searchParams

func (*MoveTaskOrderFetcher) ListNewPrimeMoveTaskOrders

func (_m *MoveTaskOrderFetcher) ListNewPrimeMoveTaskOrders(appCtx appcontext.AppContext, searchParams *services.MoveTaskOrderFetcherParams) (models.Moves, int, error)

ListNewPrimeMoveTaskOrders provides a mock function with given fields: appCtx, searchParams

func (*MoveTaskOrderFetcher) ListPrimeMoveTaskOrders

func (_m *MoveTaskOrderFetcher) ListPrimeMoveTaskOrders(appCtx appcontext.AppContext, searchParams *services.MoveTaskOrderFetcherParams) (models.Moves, error)

ListPrimeMoveTaskOrders provides a mock function with given fields: appCtx, searchParams

type MoveTaskOrderHider

type MoveTaskOrderHider struct {
	mock.Mock
}

MoveTaskOrderHider is an autogenerated mock type for the MoveTaskOrderHider type

func NewMoveTaskOrderHider

func NewMoveTaskOrderHider(t interface {
	mock.TestingT
	Cleanup(func())
}) *MoveTaskOrderHider

NewMoveTaskOrderHider creates a new instance of MoveTaskOrderHider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MoveTaskOrderHider) Hide

Hide provides a mock function with given fields: appCtx

type MoveTaskOrderUpdater

type MoveTaskOrderUpdater struct {
	mock.Mock
}

MoveTaskOrderUpdater is an autogenerated mock type for the MoveTaskOrderUpdater type

func NewMoveTaskOrderUpdater

func NewMoveTaskOrderUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *MoveTaskOrderUpdater

NewMoveTaskOrderUpdater creates a new instance of MoveTaskOrderUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MoveTaskOrderUpdater) MakeAvailableToPrime

func (_m *MoveTaskOrderUpdater) MakeAvailableToPrime(appCtx appcontext.AppContext, moveTaskOrderID uuid.UUID, eTag string, includeServiceCodeMS bool, includeServiceCodeCS bool) (*models.Move, error)

MakeAvailableToPrime provides a mock function with given fields: appCtx, moveTaskOrderID, eTag, includeServiceCodeMS, includeServiceCodeCS

func (*MoveTaskOrderUpdater) ShowHide

func (_m *MoveTaskOrderUpdater) ShowHide(appCtx appcontext.AppContext, moveTaskOrderID uuid.UUID, show *bool) (*models.Move, error)

ShowHide provides a mock function with given fields: appCtx, moveTaskOrderID, show

func (*MoveTaskOrderUpdater) UpdatePPMType

func (_m *MoveTaskOrderUpdater) UpdatePPMType(appCtx appcontext.AppContext, moveTaskOrderID uuid.UUID) (*models.Move, error)

UpdatePPMType provides a mock function with given fields: appCtx, moveTaskOrderID

func (*MoveTaskOrderUpdater) UpdatePostCounselingInfo

func (_m *MoveTaskOrderUpdater) UpdatePostCounselingInfo(appCtx appcontext.AppContext, moveTaskOrderID uuid.UUID, eTag string) (*models.Move, error)

UpdatePostCounselingInfo provides a mock function with given fields: appCtx, moveTaskOrderID, eTag

func (*MoveTaskOrderUpdater) UpdateReviewedBillableWeightsAt

func (_m *MoveTaskOrderUpdater) UpdateReviewedBillableWeightsAt(appCtx appcontext.AppContext, moveTaskOrderID uuid.UUID, eTag string) (*models.Move, error)

UpdateReviewedBillableWeightsAt provides a mock function with given fields: appCtx, moveTaskOrderID, eTag

func (*MoveTaskOrderUpdater) UpdateStatusServiceCounselingCompleted

func (_m *MoveTaskOrderUpdater) UpdateStatusServiceCounselingCompleted(appCtx appcontext.AppContext, moveTaskOrderID uuid.UUID, eTag string) (*models.Move, error)

UpdateStatusServiceCounselingCompleted provides a mock function with given fields: appCtx, moveTaskOrderID, eTag

func (*MoveTaskOrderUpdater) UpdateTIORemarks

func (_m *MoveTaskOrderUpdater) UpdateTIORemarks(appCtx appcontext.AppContext, moveTaskOrderID uuid.UUID, eTag string, remarks string) (*models.Move, error)

UpdateTIORemarks provides a mock function with given fields: appCtx, moveTaskOrderID, eTag, remarks

type MoveWeights

type MoveWeights struct {
	mock.Mock
}

MoveWeights is an autogenerated mock type for the MoveWeights type

func NewMoveWeights

func NewMoveWeights(t interface {
	mock.TestingT
	Cleanup(func())
}) *MoveWeights

NewMoveWeights creates a new instance of MoveWeights. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MoveWeights) CheckAutoReweigh

func (_m *MoveWeights) CheckAutoReweigh(appCtx appcontext.AppContext, moveID uuid.UUID, updatedShipment *models.MTOShipment) (models.MTOShipments, error)

CheckAutoReweigh provides a mock function with given fields: appCtx, moveID, updatedShipment

func (*MoveWeights) CheckExcessWeight

func (_m *MoveWeights) CheckExcessWeight(appCtx appcontext.AppContext, moveID uuid.UUID, updatedShipment models.MTOShipment) (*models.Move, *validate.Errors, error)

CheckExcessWeight provides a mock function with given fields: appCtx, moveID, updatedShipment

type MovingExpenseCreator

type MovingExpenseCreator struct {
	mock.Mock
}

MovingExpenseCreator is an autogenerated mock type for the MovingExpenseCreator type

func NewMovingExpenseCreator

func NewMovingExpenseCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *MovingExpenseCreator

NewMovingExpenseCreator creates a new instance of MovingExpenseCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MovingExpenseCreator) CreateMovingExpense

func (_m *MovingExpenseCreator) CreateMovingExpense(appCtx appcontext.AppContext, ppmShipmentID uuid.UUID) (*models.MovingExpense, error)

CreateMovingExpense provides a mock function with given fields: appCtx, ppmShipmentID

type MovingExpenseDeleter

type MovingExpenseDeleter struct {
	mock.Mock
}

MovingExpenseDeleter is an autogenerated mock type for the MovingExpenseDeleter type

func NewMovingExpenseDeleter

func NewMovingExpenseDeleter(t interface {
	mock.TestingT
	Cleanup(func())
}) *MovingExpenseDeleter

NewMovingExpenseDeleter creates a new instance of MovingExpenseDeleter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MovingExpenseDeleter) DeleteMovingExpense

func (_m *MovingExpenseDeleter) DeleteMovingExpense(appCtx appcontext.AppContext, ppmID uuid.UUID, movingExpenseID uuid.UUID) error

DeleteMovingExpense provides a mock function with given fields: appCtx, ppmID, movingExpenseID

type MovingExpenseUpdater

type MovingExpenseUpdater struct {
	mock.Mock
}

MovingExpenseUpdater is an autogenerated mock type for the MovingExpenseUpdater type

func NewMovingExpenseUpdater

func NewMovingExpenseUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *MovingExpenseUpdater

NewMovingExpenseUpdater creates a new instance of MovingExpenseUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MovingExpenseUpdater) UpdateMovingExpense

func (_m *MovingExpenseUpdater) UpdateMovingExpense(appCtx appcontext.AppContext, movingExpense models.MovingExpense, eTag string) (*models.MovingExpense, error)

UpdateMovingExpense provides a mock function with given fields: appCtx, movingExpense, eTag

type OfficeListFetcher

type OfficeListFetcher struct {
	mock.Mock
}

OfficeListFetcher is an autogenerated mock type for the OfficeListFetcher type

func NewOfficeListFetcher

func NewOfficeListFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *OfficeListFetcher

NewOfficeListFetcher creates a new instance of OfficeListFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*OfficeListFetcher) FetchOfficeCount

func (_m *OfficeListFetcher) FetchOfficeCount(appCtx appcontext.AppContext, filters []services.QueryFilter) (int, error)

FetchOfficeCount provides a mock function with given fields: appCtx, filters

func (*OfficeListFetcher) FetchOfficeList

func (_m *OfficeListFetcher) FetchOfficeList(appCtx appcontext.AppContext, filters []services.QueryFilter, associations services.QueryAssociations, pagination services.Pagination, ordering services.QueryOrder) (models.TransportationOffices, error)

FetchOfficeList provides a mock function with given fields: appCtx, filters, associations, pagination, ordering

type OfficeUserCreator

type OfficeUserCreator struct {
	mock.Mock
}

OfficeUserCreator is an autogenerated mock type for the OfficeUserCreator type

func NewOfficeUserCreator

func NewOfficeUserCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *OfficeUserCreator

NewOfficeUserCreator creates a new instance of OfficeUserCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*OfficeUserCreator) CreateOfficeUser

func (_m *OfficeUserCreator) CreateOfficeUser(appCtx appcontext.AppContext, user *models.OfficeUser, transportationIDFilter []services.QueryFilter) (*models.OfficeUser, *validate.Errors, error)

CreateOfficeUser provides a mock function with given fields: appCtx, user, transportationIDFilter

type OfficeUserFetcher

type OfficeUserFetcher struct {
	mock.Mock
}

OfficeUserFetcher is an autogenerated mock type for the OfficeUserFetcher type

func NewOfficeUserFetcher

func NewOfficeUserFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *OfficeUserFetcher

NewOfficeUserFetcher creates a new instance of OfficeUserFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*OfficeUserFetcher) FetchOfficeUser

func (_m *OfficeUserFetcher) FetchOfficeUser(appCtx appcontext.AppContext, filters []services.QueryFilter) (models.OfficeUser, error)

FetchOfficeUser provides a mock function with given fields: appCtx, filters

type OfficeUserFetcherPop

type OfficeUserFetcherPop struct {
	mock.Mock
}

OfficeUserFetcherPop is an autogenerated mock type for the OfficeUserFetcherPop type

func NewOfficeUserFetcherPop

func NewOfficeUserFetcherPop(t interface {
	mock.TestingT
	Cleanup(func())
}) *OfficeUserFetcherPop

NewOfficeUserFetcherPop creates a new instance of OfficeUserFetcherPop. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*OfficeUserFetcherPop) FetchOfficeUserByID

func (_m *OfficeUserFetcherPop) FetchOfficeUserByID(appCtx appcontext.AppContext, id uuid.UUID) (models.OfficeUser, error)

FetchOfficeUserByID provides a mock function with given fields: appCtx, id

type OfficeUserGblocFetcher

type OfficeUserGblocFetcher struct {
	mock.Mock
}

OfficeUserGblocFetcher is an autogenerated mock type for the OfficeUserGblocFetcher type

func NewOfficeUserGblocFetcher

func NewOfficeUserGblocFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *OfficeUserGblocFetcher

NewOfficeUserGblocFetcher creates a new instance of OfficeUserGblocFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*OfficeUserGblocFetcher) FetchGblocForOfficeUser

func (_m *OfficeUserGblocFetcher) FetchGblocForOfficeUser(appCtx appcontext.AppContext, id uuid.UUID) (string, error)

FetchGblocForOfficeUser provides a mock function with given fields: appCtx, id

type OfficeUserUpdater

type OfficeUserUpdater struct {
	mock.Mock
}

OfficeUserUpdater is an autogenerated mock type for the OfficeUserUpdater type

func NewOfficeUserUpdater

func NewOfficeUserUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *OfficeUserUpdater

NewOfficeUserUpdater creates a new instance of OfficeUserUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*OfficeUserUpdater) UpdateOfficeUser

UpdateOfficeUser provides a mock function with given fields: appCtx, id, payload

type OrderFetcher

type OrderFetcher struct {
	mock.Mock
}

OrderFetcher is an autogenerated mock type for the OrderFetcher type

func NewOrderFetcher

func NewOrderFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *OrderFetcher

NewOrderFetcher creates a new instance of OrderFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*OrderFetcher) FetchOrder

func (_m *OrderFetcher) FetchOrder(appCtx appcontext.AppContext, orderID uuid.UUID) (*models.Order, error)

FetchOrder provides a mock function with given fields: appCtx, orderID

func (*OrderFetcher) ListOrders

func (_m *OrderFetcher) ListOrders(appCtx appcontext.AppContext, officeUserID uuid.UUID, params *services.ListOrderParams) ([]models.Move, int, error)

ListOrders provides a mock function with given fields: appCtx, officeUserID, params

type OrderUpdater

type OrderUpdater struct {
	mock.Mock
}

OrderUpdater is an autogenerated mock type for the OrderUpdater type

func NewOrderUpdater

func NewOrderUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *OrderUpdater

NewOrderUpdater creates a new instance of OrderUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*OrderUpdater) UpdateAllowanceAsCounselor

func (_m *OrderUpdater) UpdateAllowanceAsCounselor(appCtx appcontext.AppContext, orderID uuid.UUID, payload ghcmessages.CounselingUpdateAllowancePayload, eTag string) (*models.Order, uuid.UUID, error)

UpdateAllowanceAsCounselor provides a mock function with given fields: appCtx, orderID, payload, eTag

func (*OrderUpdater) UpdateAllowanceAsTOO

func (_m *OrderUpdater) UpdateAllowanceAsTOO(appCtx appcontext.AppContext, orderID uuid.UUID, payload ghcmessages.UpdateAllowancePayload, eTag string) (*models.Order, uuid.UUID, error)

UpdateAllowanceAsTOO provides a mock function with given fields: appCtx, orderID, payload, eTag

func (*OrderUpdater) UpdateOrderAsCounselor

func (_m *OrderUpdater) UpdateOrderAsCounselor(appCtx appcontext.AppContext, orderID uuid.UUID, payload ghcmessages.CounselingUpdateOrderPayload, eTag string) (*models.Order, uuid.UUID, error)

UpdateOrderAsCounselor provides a mock function with given fields: appCtx, orderID, payload, eTag

func (*OrderUpdater) UpdateOrderAsTOO

func (_m *OrderUpdater) UpdateOrderAsTOO(appCtx appcontext.AppContext, orderID uuid.UUID, payload ghcmessages.UpdateOrderPayload, eTag string) (*models.Order, uuid.UUID, error)

UpdateOrderAsTOO provides a mock function with given fields: appCtx, orderID, payload, eTag

func (*OrderUpdater) UploadAmendedOrdersAsCustomer

func (_m *OrderUpdater) UploadAmendedOrdersAsCustomer(appCtx appcontext.AppContext, userID uuid.UUID, orderID uuid.UUID, file io.ReadCloser, filename string, storer storage.FileStorer) (models.Upload, string, *validate.Errors, error)

UploadAmendedOrdersAsCustomer provides a mock function with given fields: appCtx, userID, orderID, file, filename, storer

type OrganizationListFetcher

type OrganizationListFetcher struct {
	mock.Mock
}

OrganizationListFetcher is an autogenerated mock type for the OrganizationListFetcher type

func NewOrganizationListFetcher

func NewOrganizationListFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *OrganizationListFetcher

NewOrganizationListFetcher creates a new instance of OrganizationListFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*OrganizationListFetcher) FetchOrganizationCount

func (_m *OrganizationListFetcher) FetchOrganizationCount(appCtx appcontext.AppContext, filters []services.QueryFilter) (int, error)

FetchOrganizationCount provides a mock function with given fields: appCtx, filters

func (*OrganizationListFetcher) FetchOrganizationList

func (_m *OrganizationListFetcher) FetchOrganizationList(appCtx appcontext.AppContext, filters []services.QueryFilter, associations services.QueryAssociations, pagination services.Pagination, ordering services.QueryOrder) (models.Organizations, error)

FetchOrganizationList provides a mock function with given fields: appCtx, filters, associations, pagination, ordering

type PDFMerger

type PDFMerger struct {
	mock.Mock
}

PDFMerger is an autogenerated mock type for the PDFMerger type

func NewPDFMerger

func NewPDFMerger(t interface {
	mock.TestingT
	Cleanup(func())
}) *PDFMerger

NewPDFMerger creates a new instance of PDFMerger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PDFMerger) MergePDFs

func (_m *PDFMerger) MergePDFs(appCtx appcontext.AppContext, pdfsToMerge []io.ReadCloser) (io.ReadCloser, error)

MergePDFs provides a mock function with given fields: appCtx, pdfsToMerge

type PPMCloseoutFetcher

type PPMCloseoutFetcher struct {
	mock.Mock
}

PPMCloseoutFetcher is an autogenerated mock type for the PPMCloseoutFetcher type

func NewPPMCloseoutFetcher

func NewPPMCloseoutFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *PPMCloseoutFetcher

NewPPMCloseoutFetcher creates a new instance of PPMCloseoutFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PPMCloseoutFetcher) GetActualWeight

func (_m *PPMCloseoutFetcher) GetActualWeight(ppmShipment *models.PPMShipment) (unit.Pound, error)

GetActualWeight provides a mock function with given fields: ppmShipment

func (*PPMCloseoutFetcher) GetPPMCloseout

func (_m *PPMCloseoutFetcher) GetPPMCloseout(appCtx appcontext.AppContext, ppmShipmentID uuid.UUID) (*models.PPMCloseout, error)

GetPPMCloseout provides a mock function with given fields: appCtx, ppmShipmentID

type PPMDocumentFetcher

type PPMDocumentFetcher struct {
	mock.Mock
}

PPMDocumentFetcher is an autogenerated mock type for the PPMDocumentFetcher type

func NewPPMDocumentFetcher

func NewPPMDocumentFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *PPMDocumentFetcher

NewPPMDocumentFetcher creates a new instance of PPMDocumentFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PPMDocumentFetcher) GetPPMDocuments

func (_m *PPMDocumentFetcher) GetPPMDocuments(appCtx appcontext.AppContext, mtoShipmentID uuid.UUID) (*models.PPMDocuments, error)

GetPPMDocuments provides a mock function with given fields: appCtx, mtoShipmentID

type PPMEstimator

type PPMEstimator struct {
	mock.Mock
}

PPMEstimator is an autogenerated mock type for the PPMEstimator type

func NewPPMEstimator

func NewPPMEstimator(t interface {
	mock.TestingT
	Cleanup(func())
}) *PPMEstimator

NewPPMEstimator creates a new instance of PPMEstimator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PPMEstimator) EstimateIncentiveWithDefaultChecks

func (_m *PPMEstimator) EstimateIncentiveWithDefaultChecks(appCtx appcontext.AppContext, oldPPMShipment models.PPMShipment, newPPMShipment *models.PPMShipment) (*unit.Cents, *unit.Cents, error)

EstimateIncentiveWithDefaultChecks provides a mock function with given fields: appCtx, oldPPMShipment, newPPMShipment

func (*PPMEstimator) FinalIncentiveWithDefaultChecks

func (_m *PPMEstimator) FinalIncentiveWithDefaultChecks(appCtx appcontext.AppContext, oldPPMShipment models.PPMShipment, newPPMShipment *models.PPMShipment) (*unit.Cents, error)

FinalIncentiveWithDefaultChecks provides a mock function with given fields: appCtx, oldPPMShipment, newPPMShipment

type PPMShipmentCreator

type PPMShipmentCreator struct {
	mock.Mock
}

PPMShipmentCreator is an autogenerated mock type for the PPMShipmentCreator type

func NewPPMShipmentCreator

func NewPPMShipmentCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *PPMShipmentCreator

NewPPMShipmentCreator creates a new instance of PPMShipmentCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PPMShipmentCreator) CreatePPMShipmentWithDefaultCheck

func (_m *PPMShipmentCreator) CreatePPMShipmentWithDefaultCheck(appCtx appcontext.AppContext, ppmshipment *models.PPMShipment) (*models.PPMShipment, error)

CreatePPMShipmentWithDefaultCheck provides a mock function with given fields: appCtx, ppmshipment

type PPMShipmentFetcher

type PPMShipmentFetcher struct {
	mock.Mock
}

PPMShipmentFetcher is an autogenerated mock type for the PPMShipmentFetcher type

func NewPPMShipmentFetcher

func NewPPMShipmentFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *PPMShipmentFetcher

NewPPMShipmentFetcher creates a new instance of PPMShipmentFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PPMShipmentFetcher) GetPPMShipment

func (_m *PPMShipmentFetcher) GetPPMShipment(appCtx appcontext.AppContext, ppmShipmentID uuid.UUID, eagerPreloadAssociations []string, postloadAssociations []string) (*models.PPMShipment, error)

GetPPMShipment provides a mock function with given fields: appCtx, ppmShipmentID, eagerPreloadAssociations, postloadAssociations

func (*PPMShipmentFetcher) PostloadAssociations

func (_m *PPMShipmentFetcher) PostloadAssociations(appCtx appcontext.AppContext, ppmShipment *models.PPMShipment, postloadAssociations []string) error

PostloadAssociations provides a mock function with given fields: appCtx, ppmShipment, postloadAssociations

type PPMShipmentNewSubmitter

type PPMShipmentNewSubmitter struct {
	mock.Mock
}

PPMShipmentNewSubmitter is an autogenerated mock type for the PPMShipmentNewSubmitter type

func NewPPMShipmentNewSubmitter

func NewPPMShipmentNewSubmitter(t interface {
	mock.TestingT
	Cleanup(func())
}) *PPMShipmentNewSubmitter

NewPPMShipmentNewSubmitter creates a new instance of PPMShipmentNewSubmitter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PPMShipmentNewSubmitter) SubmitNewCustomerCloseOut

func (_m *PPMShipmentNewSubmitter) SubmitNewCustomerCloseOut(appCtx appcontext.AppContext, ppmShipmentID uuid.UUID, signedCertification models.SignedCertification) (*models.PPMShipment, error)

SubmitNewCustomerCloseOut provides a mock function with given fields: appCtx, ppmShipmentID, signedCertification

type PPMShipmentReviewDocuments

type PPMShipmentReviewDocuments struct {
	mock.Mock
}

PPMShipmentReviewDocuments is an autogenerated mock type for the PPMShipmentReviewDocuments type

func NewPPMShipmentReviewDocuments

func NewPPMShipmentReviewDocuments(t interface {
	mock.TestingT
	Cleanup(func())
}) *PPMShipmentReviewDocuments

NewPPMShipmentReviewDocuments creates a new instance of PPMShipmentReviewDocuments. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PPMShipmentReviewDocuments) SubmitReviewedDocuments

func (_m *PPMShipmentReviewDocuments) SubmitReviewedDocuments(appCtx appcontext.AppContext, ppmShipmentID uuid.UUID) (*models.PPMShipment, error)

SubmitReviewedDocuments provides a mock function with given fields: appCtx, ppmShipmentID

type PPMShipmentRouter

type PPMShipmentRouter struct {
	mock.Mock
}

PPMShipmentRouter is an autogenerated mock type for the PPMShipmentRouter type

func NewPPMShipmentRouter

func NewPPMShipmentRouter(t interface {
	mock.TestingT
	Cleanup(func())
}) *PPMShipmentRouter

NewPPMShipmentRouter creates a new instance of PPMShipmentRouter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PPMShipmentRouter) SendToCustomer

func (_m *PPMShipmentRouter) SendToCustomer(appCtx appcontext.AppContext, ppmShipment *models.PPMShipment) error

SendToCustomer provides a mock function with given fields: appCtx, ppmShipment

func (*PPMShipmentRouter) SetToDraft

func (_m *PPMShipmentRouter) SetToDraft(appCtx appcontext.AppContext, ppmShipment *models.PPMShipment) error

SetToDraft provides a mock function with given fields: appCtx, ppmShipment

func (*PPMShipmentRouter) Submit

func (_m *PPMShipmentRouter) Submit(appCtx appcontext.AppContext, ppmShipment *models.PPMShipment) error

Submit provides a mock function with given fields: appCtx, ppmShipment

func (*PPMShipmentRouter) SubmitCloseOutDocumentation

func (_m *PPMShipmentRouter) SubmitCloseOutDocumentation(appCtx appcontext.AppContext, ppmShipment *models.PPMShipment) error

SubmitCloseOutDocumentation provides a mock function with given fields: appCtx, ppmShipment

func (*PPMShipmentRouter) SubmitReviewedDocuments

func (_m *PPMShipmentRouter) SubmitReviewedDocuments(appCtx appcontext.AppContext, ppmShipment *models.PPMShipment) error

SubmitReviewedDocuments provides a mock function with given fields: appCtx, ppmShipment

type PPMShipmentUpdatedSubmitter

type PPMShipmentUpdatedSubmitter struct {
	mock.Mock
}

PPMShipmentUpdatedSubmitter is an autogenerated mock type for the PPMShipmentUpdatedSubmitter type

func NewPPMShipmentUpdatedSubmitter

func NewPPMShipmentUpdatedSubmitter(t interface {
	mock.TestingT
	Cleanup(func())
}) *PPMShipmentUpdatedSubmitter

NewPPMShipmentUpdatedSubmitter creates a new instance of PPMShipmentUpdatedSubmitter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PPMShipmentUpdatedSubmitter) SubmitUpdatedCustomerCloseOut

func (_m *PPMShipmentUpdatedSubmitter) SubmitUpdatedCustomerCloseOut(appCtx appcontext.AppContext, ppmShipmentID uuid.UUID, signedCertification models.SignedCertification, eTag string) (*models.PPMShipment, error)

SubmitUpdatedCustomerCloseOut provides a mock function with given fields: appCtx, ppmShipmentID, signedCertification, eTag

type PPMShipmentUpdater

type PPMShipmentUpdater struct {
	mock.Mock
}

PPMShipmentUpdater is an autogenerated mock type for the PPMShipmentUpdater type

func NewPPMShipmentUpdater

func NewPPMShipmentUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *PPMShipmentUpdater

NewPPMShipmentUpdater creates a new instance of PPMShipmentUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PPMShipmentUpdater) UpdatePPMShipmentWithDefaultCheck

func (_m *PPMShipmentUpdater) UpdatePPMShipmentWithDefaultCheck(appCtx appcontext.AppContext, ppmshipment *models.PPMShipment, mtoShipmentID uuid.UUID) (*models.PPMShipment, error)

UpdatePPMShipmentWithDefaultCheck provides a mock function with given fields: appCtx, ppmshipment, mtoShipmentID

type PWSViolationsFetcher

type PWSViolationsFetcher struct {
	mock.Mock
}

PWSViolationsFetcher is an autogenerated mock type for the PWSViolationsFetcher type

func NewPWSViolationsFetcher

func NewPWSViolationsFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *PWSViolationsFetcher

NewPWSViolationsFetcher creates a new instance of PWSViolationsFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PWSViolationsFetcher) GetPWSViolations

func (_m *PWSViolationsFetcher) GetPWSViolations(appCtx appcontext.AppContext) (*models.PWSViolations, error)

GetPWSViolations provides a mock function with given fields: appCtx

type PaymentPacketCreator

type PaymentPacketCreator struct {
	mock.Mock
}

PaymentPacketCreator is an autogenerated mock type for the PaymentPacketCreator type

func NewPaymentPacketCreator

func NewPaymentPacketCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *PaymentPacketCreator

NewPaymentPacketCreator creates a new instance of PaymentPacketCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PaymentPacketCreator) Generate

func (_m *PaymentPacketCreator) Generate(appCtx appcontext.AppContext, ppmShipmentID uuid.UUID, addBookmarks bool, addWaterMarks bool) (io.ReadCloser, error)

Generate provides a mock function with given fields: appCtx, ppmShipmentID, addBookmarks, addWaterMarks

func (*PaymentPacketCreator) GenerateDefault

func (_m *PaymentPacketCreator) GenerateDefault(appCtx appcontext.AppContext, ppmShipmentID uuid.UUID) (io.ReadCloser, error)

GenerateDefault provides a mock function with given fields: appCtx, ppmShipmentID

type PaymentRequestCreator

type PaymentRequestCreator struct {
	mock.Mock
}

PaymentRequestCreator is an autogenerated mock type for the PaymentRequestCreator type

func NewPaymentRequestCreator

func NewPaymentRequestCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *PaymentRequestCreator

NewPaymentRequestCreator creates a new instance of PaymentRequestCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PaymentRequestCreator) CreatePaymentRequestCheck

func (_m *PaymentRequestCreator) CreatePaymentRequestCheck(appCtx appcontext.AppContext, paymentRequest *models.PaymentRequest) (*models.PaymentRequest, error)

CreatePaymentRequestCheck provides a mock function with given fields: appCtx, paymentRequest

type PaymentRequestFetcher

type PaymentRequestFetcher struct {
	mock.Mock
}

PaymentRequestFetcher is an autogenerated mock type for the PaymentRequestFetcher type

func NewPaymentRequestFetcher

func NewPaymentRequestFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *PaymentRequestFetcher

NewPaymentRequestFetcher creates a new instance of PaymentRequestFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PaymentRequestFetcher) FetchPaymentRequest

func (_m *PaymentRequestFetcher) FetchPaymentRequest(appCtx appcontext.AppContext, paymentRequestID uuid.UUID) (models.PaymentRequest, error)

FetchPaymentRequest provides a mock function with given fields: appCtx, paymentRequestID

type PaymentRequestListFetcher

type PaymentRequestListFetcher struct {
	mock.Mock
}

PaymentRequestListFetcher is an autogenerated mock type for the PaymentRequestListFetcher type

func NewPaymentRequestListFetcher

func NewPaymentRequestListFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *PaymentRequestListFetcher

NewPaymentRequestListFetcher creates a new instance of PaymentRequestListFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PaymentRequestListFetcher) FetchPaymentRequestList

func (_m *PaymentRequestListFetcher) FetchPaymentRequestList(appCtx appcontext.AppContext, officeUserID uuid.UUID, params *services.FetchPaymentRequestListParams) (*models.PaymentRequests, int, error)

FetchPaymentRequestList provides a mock function with given fields: appCtx, officeUserID, params

func (*PaymentRequestListFetcher) FetchPaymentRequestListByMove

func (_m *PaymentRequestListFetcher) FetchPaymentRequestListByMove(appCtx appcontext.AppContext, locator string) (*models.PaymentRequests, error)

FetchPaymentRequestListByMove provides a mock function with given fields: appCtx, locator

type PaymentRequestRecalculator

type PaymentRequestRecalculator struct {
	mock.Mock
}

PaymentRequestRecalculator is an autogenerated mock type for the PaymentRequestRecalculator type

func NewPaymentRequestRecalculator

func NewPaymentRequestRecalculator(t interface {
	mock.TestingT
	Cleanup(func())
}) *PaymentRequestRecalculator

NewPaymentRequestRecalculator creates a new instance of PaymentRequestRecalculator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PaymentRequestRecalculator) RecalculatePaymentRequest

func (_m *PaymentRequestRecalculator) RecalculatePaymentRequest(appCtx appcontext.AppContext, paymentRequestID uuid.UUID) (*models.PaymentRequest, error)

RecalculatePaymentRequest provides a mock function with given fields: appCtx, paymentRequestID

type PaymentRequestReviewedFetcher

type PaymentRequestReviewedFetcher struct {
	mock.Mock
}

PaymentRequestReviewedFetcher is an autogenerated mock type for the PaymentRequestReviewedFetcher type

func NewPaymentRequestReviewedFetcher

func NewPaymentRequestReviewedFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *PaymentRequestReviewedFetcher

NewPaymentRequestReviewedFetcher creates a new instance of PaymentRequestReviewedFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PaymentRequestReviewedFetcher) FetchReviewedPaymentRequest

func (_m *PaymentRequestReviewedFetcher) FetchReviewedPaymentRequest(appCtx appcontext.AppContext) (models.PaymentRequests, error)

FetchReviewedPaymentRequest provides a mock function with given fields: appCtx

type PaymentRequestReviewedProcessor

type PaymentRequestReviewedProcessor struct {
	mock.Mock
}

PaymentRequestReviewedProcessor is an autogenerated mock type for the PaymentRequestReviewedProcessor type

func NewPaymentRequestReviewedProcessor

func NewPaymentRequestReviewedProcessor(t interface {
	mock.TestingT
	Cleanup(func())
}) *PaymentRequestReviewedProcessor

NewPaymentRequestReviewedProcessor creates a new instance of PaymentRequestReviewedProcessor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PaymentRequestReviewedProcessor) ProcessAndLockReviewedPR

func (_m *PaymentRequestReviewedProcessor) ProcessAndLockReviewedPR(appCtx appcontext.AppContext, pr models.PaymentRequest) error

ProcessAndLockReviewedPR provides a mock function with given fields: appCtx, pr

func (*PaymentRequestReviewedProcessor) ProcessReviewedPaymentRequest

func (_m *PaymentRequestReviewedProcessor) ProcessReviewedPaymentRequest(appCtx appcontext.AppContext)

ProcessReviewedPaymentRequest provides a mock function with given fields: appCtx

type PaymentRequestShipmentRecalculator

type PaymentRequestShipmentRecalculator struct {
	mock.Mock
}

PaymentRequestShipmentRecalculator is an autogenerated mock type for the PaymentRequestShipmentRecalculator type

func NewPaymentRequestShipmentRecalculator

func NewPaymentRequestShipmentRecalculator(t interface {
	mock.TestingT
	Cleanup(func())
}) *PaymentRequestShipmentRecalculator

NewPaymentRequestShipmentRecalculator creates a new instance of PaymentRequestShipmentRecalculator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PaymentRequestShipmentRecalculator) ShipmentRecalculatePaymentRequest

func (_m *PaymentRequestShipmentRecalculator) ShipmentRecalculatePaymentRequest(appCtx appcontext.AppContext, shipmentID uuid.UUID) (*models.PaymentRequests, error)

ShipmentRecalculatePaymentRequest provides a mock function with given fields: appCtx, shipmentID

type PaymentRequestStatusUpdater

type PaymentRequestStatusUpdater struct {
	mock.Mock
}

PaymentRequestStatusUpdater is an autogenerated mock type for the PaymentRequestStatusUpdater type

func NewPaymentRequestStatusUpdater

func NewPaymentRequestStatusUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *PaymentRequestStatusUpdater

NewPaymentRequestStatusUpdater creates a new instance of PaymentRequestStatusUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PaymentRequestStatusUpdater) UpdatePaymentRequestStatus

func (_m *PaymentRequestStatusUpdater) UpdatePaymentRequestStatus(appCtx appcontext.AppContext, paymentRequest *models.PaymentRequest, eTag string) (*models.PaymentRequest, error)

UpdatePaymentRequestStatus provides a mock function with given fields: appCtx, paymentRequest, eTag

type PaymentRequestUploadCreator

type PaymentRequestUploadCreator struct {
	mock.Mock
}

PaymentRequestUploadCreator is an autogenerated mock type for the PaymentRequestUploadCreator type

func NewPaymentRequestUploadCreator

func NewPaymentRequestUploadCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *PaymentRequestUploadCreator

NewPaymentRequestUploadCreator creates a new instance of PaymentRequestUploadCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PaymentRequestUploadCreator) CreateUpload

func (_m *PaymentRequestUploadCreator) CreateUpload(appCtx appcontext.AppContext, file io.ReadCloser, paymentRequestID uuid.UUID, userID uuid.UUID, filename string, isWeightTicket bool) (*models.Upload, error)

CreateUpload provides a mock function with given fields: appCtx, file, paymentRequestID, userID, filename, isWeightTicket

type PaymentServiceItemStatusUpdater

type PaymentServiceItemStatusUpdater struct {
	mock.Mock
}

PaymentServiceItemStatusUpdater is an autogenerated mock type for the PaymentServiceItemStatusUpdater type

func NewPaymentServiceItemStatusUpdater

func NewPaymentServiceItemStatusUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *PaymentServiceItemStatusUpdater

NewPaymentServiceItemStatusUpdater creates a new instance of PaymentServiceItemStatusUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PaymentServiceItemStatusUpdater) UpdatePaymentServiceItemStatus

func (_m *PaymentServiceItemStatusUpdater) UpdatePaymentServiceItemStatus(appCtx appcontext.AppContext, paymentServiceItemID uuid.UUID, status models.PaymentServiceItemStatus, rejectionReason *string, eTag string) (models.PaymentServiceItem, *validate.Errors, error)

UpdatePaymentServiceItemStatus provides a mock function with given fields: appCtx, paymentServiceItemID, status, rejectionReason, eTag

type PostalCodeValidator

type PostalCodeValidator struct {
	mock.Mock
}

PostalCodeValidator is an autogenerated mock type for the PostalCodeValidator type

func NewPostalCodeValidator

func NewPostalCodeValidator(t interface {
	mock.TestingT
	Cleanup(func())
}) *PostalCodeValidator

NewPostalCodeValidator creates a new instance of PostalCodeValidator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PostalCodeValidator) ValidatePostalCode

func (_m *PostalCodeValidator) ValidatePostalCode(appCtx appcontext.AppContext, postalCode string) (bool, error)

ValidatePostalCode provides a mock function with given fields: appCtx, postalCode

type PrimeDownloadMoveUploadPDFGenerator

type PrimeDownloadMoveUploadPDFGenerator struct {
	mock.Mock
}

PrimeDownloadMoveUploadPDFGenerator is an autogenerated mock type for the PrimeDownloadMoveUploadPDFGenerator type

func NewPrimeDownloadMoveUploadPDFGenerator

func NewPrimeDownloadMoveUploadPDFGenerator(t interface {
	mock.TestingT
	Cleanup(func())
}) *PrimeDownloadMoveUploadPDFGenerator

NewPrimeDownloadMoveUploadPDFGenerator creates a new instance of PrimeDownloadMoveUploadPDFGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PrimeDownloadMoveUploadPDFGenerator) GenerateDownloadMoveUserUploadPDF

func (_m *PrimeDownloadMoveUploadPDFGenerator) GenerateDownloadMoveUserUploadPDF(appCtx appcontext.AppContext, moveOrderUploadType services.MoveOrderUploadType, move models.Move, addBookmarks bool) (afero.File, error)

GenerateDownloadMoveUserUploadPDF provides a mock function with given fields: appCtx, moveOrderUploadType, move, addBookmarks

type ProgearWeightTicketCreator

type ProgearWeightTicketCreator struct {
	mock.Mock
}

ProgearWeightTicketCreator is an autogenerated mock type for the ProgearWeightTicketCreator type

func NewProgearWeightTicketCreator

func NewProgearWeightTicketCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *ProgearWeightTicketCreator

NewProgearWeightTicketCreator creates a new instance of ProgearWeightTicketCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ProgearWeightTicketCreator) CreateProgearWeightTicket

func (_m *ProgearWeightTicketCreator) CreateProgearWeightTicket(appCtx appcontext.AppContext, ppmShipmentID uuid.UUID) (*models.ProgearWeightTicket, error)

CreateProgearWeightTicket provides a mock function with given fields: appCtx, ppmShipmentID

type ProgearWeightTicketDeleter

type ProgearWeightTicketDeleter struct {
	mock.Mock
}

ProgearWeightTicketDeleter is an autogenerated mock type for the ProgearWeightTicketDeleter type

func NewProgearWeightTicketDeleter

func NewProgearWeightTicketDeleter(t interface {
	mock.TestingT
	Cleanup(func())
}) *ProgearWeightTicketDeleter

NewProgearWeightTicketDeleter creates a new instance of ProgearWeightTicketDeleter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ProgearWeightTicketDeleter) DeleteProgearWeightTicket

func (_m *ProgearWeightTicketDeleter) DeleteProgearWeightTicket(appCtx appcontext.AppContext, ppmID uuid.UUID, progearWeightTicketID uuid.UUID) error

DeleteProgearWeightTicket provides a mock function with given fields: appCtx, ppmID, progearWeightTicketID

type ProgearWeightTicketUpdater

type ProgearWeightTicketUpdater struct {
	mock.Mock
}

ProgearWeightTicketUpdater is an autogenerated mock type for the ProgearWeightTicketUpdater type

func NewProgearWeightTicketUpdater

func NewProgearWeightTicketUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *ProgearWeightTicketUpdater

NewProgearWeightTicketUpdater creates a new instance of ProgearWeightTicketUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ProgearWeightTicketUpdater) UpdateProgearWeightTicket

func (_m *ProgearWeightTicketUpdater) UpdateProgearWeightTicket(appCtx appcontext.AppContext, progearWeightTicket models.ProgearWeightTicket, eTag string) (*models.ProgearWeightTicket, error)

UpdateProgearWeightTicket provides a mock function with given fields: appCtx, progearWeightTicket, eTag

type QueryAssociation

type QueryAssociation struct {
	mock.Mock
}

QueryAssociation is an autogenerated mock type for the QueryAssociation type

func NewQueryAssociation

func NewQueryAssociation(t interface {
	mock.TestingT
	Cleanup(func())
}) *QueryAssociation

NewQueryAssociation creates a new instance of QueryAssociation. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*QueryAssociation) Field

func (_m *QueryAssociation) Field() string

Field provides a mock function with given fields:

type QueryAssociations

type QueryAssociations struct {
	mock.Mock
}

QueryAssociations is an autogenerated mock type for the QueryAssociations type

func NewQueryAssociations

func NewQueryAssociations(t interface {
	mock.TestingT
	Cleanup(func())
}) *QueryAssociations

NewQueryAssociations creates a new instance of QueryAssociations. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*QueryAssociations) Preload

func (_m *QueryAssociations) Preload() bool

Preload provides a mock function with given fields:

func (*QueryAssociations) StringGetAssociations

func (_m *QueryAssociations) StringGetAssociations() []string

StringGetAssociations provides a mock function with given fields:

type QueryFilter

type QueryFilter struct {
	mock.Mock
}

QueryFilter is an autogenerated mock type for the QueryFilter type

func NewQueryFilter

func NewQueryFilter(t interface {
	mock.TestingT
	Cleanup(func())
}) *QueryFilter

NewQueryFilter creates a new instance of QueryFilter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*QueryFilter) Column

func (_m *QueryFilter) Column() string

Column provides a mock function with given fields:

func (*QueryFilter) Comparator

func (_m *QueryFilter) Comparator() string

Comparator provides a mock function with given fields:

func (*QueryFilter) Value

func (_m *QueryFilter) Value() interface{}

Value provides a mock function with given fields:

type QueryOrder

type QueryOrder struct {
	mock.Mock
}

QueryOrder is an autogenerated mock type for the QueryOrder type

func NewQueryOrder

func NewQueryOrder(t interface {
	mock.TestingT
	Cleanup(func())
}) *QueryOrder

NewQueryOrder creates a new instance of QueryOrder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*QueryOrder) Column

func (_m *QueryOrder) Column() *string

Column provides a mock function with given fields:

func (*QueryOrder) SortOrder

func (_m *QueryOrder) SortOrder() *bool

SortOrder provides a mock function with given fields:

type ReportViolationFetcher

type ReportViolationFetcher struct {
	mock.Mock
}

ReportViolationFetcher is an autogenerated mock type for the ReportViolationFetcher type

func NewReportViolationFetcher

func NewReportViolationFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *ReportViolationFetcher

NewReportViolationFetcher creates a new instance of ReportViolationFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ReportViolationFetcher) FetchReportViolationsByReportID

func (_m *ReportViolationFetcher) FetchReportViolationsByReportID(appCtx appcontext.AppContext, reportID uuid.UUID) (models.ReportViolations, error)

FetchReportViolationsByReportID provides a mock function with given fields: appCtx, reportID

type ReportViolationsCreator

type ReportViolationsCreator struct {
	mock.Mock
}

ReportViolationsCreator is an autogenerated mock type for the ReportViolationsCreator type

func NewReportViolationsCreator

func NewReportViolationsCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *ReportViolationsCreator

NewReportViolationsCreator creates a new instance of ReportViolationsCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ReportViolationsCreator) AssociateReportViolations

func (_m *ReportViolationsCreator) AssociateReportViolations(appCtx appcontext.AppContext, reportViolations *models.ReportViolations, reportID uuid.UUID) error

AssociateReportViolations provides a mock function with given fields: appCtx, reportViolations, reportID

type RequestedOfficeUserFetcher

type RequestedOfficeUserFetcher struct {
	mock.Mock
}

RequestedOfficeUserFetcher is an autogenerated mock type for the RequestedOfficeUserFetcher type

func NewRequestedOfficeUserFetcher

func NewRequestedOfficeUserFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *RequestedOfficeUserFetcher

NewRequestedOfficeUserFetcher creates a new instance of RequestedOfficeUserFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RequestedOfficeUserFetcher) FetchRequestedOfficeUser

func (_m *RequestedOfficeUserFetcher) FetchRequestedOfficeUser(appCtx appcontext.AppContext, filters []services.QueryFilter) (models.OfficeUser, error)

FetchRequestedOfficeUser provides a mock function with given fields: appCtx, filters

type RequestedOfficeUserListFetcher

type RequestedOfficeUserListFetcher struct {
	mock.Mock
}

RequestedOfficeUserListFetcher is an autogenerated mock type for the RequestedOfficeUserListFetcher type

func NewRequestedOfficeUserListFetcher

func NewRequestedOfficeUserListFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *RequestedOfficeUserListFetcher

NewRequestedOfficeUserListFetcher creates a new instance of RequestedOfficeUserListFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RequestedOfficeUserListFetcher) FetchRequestedOfficeUsersCount

func (_m *RequestedOfficeUserListFetcher) FetchRequestedOfficeUsersCount(appCtx appcontext.AppContext, filters []services.QueryFilter) (int, error)

FetchRequestedOfficeUsersCount provides a mock function with given fields: appCtx, filters

func (*RequestedOfficeUserListFetcher) FetchRequestedOfficeUsersList

func (_m *RequestedOfficeUserListFetcher) FetchRequestedOfficeUsersList(appCtx appcontext.AppContext, filters []services.QueryFilter, associations services.QueryAssociations, pagination services.Pagination, ordering services.QueryOrder) (models.OfficeUsers, error)

FetchRequestedOfficeUsersList provides a mock function with given fields: appCtx, filters, associations, pagination, ordering

type RequestedOfficeUserUpdater

type RequestedOfficeUserUpdater struct {
	mock.Mock
}

RequestedOfficeUserUpdater is an autogenerated mock type for the RequestedOfficeUserUpdater type

func NewRequestedOfficeUserUpdater

func NewRequestedOfficeUserUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *RequestedOfficeUserUpdater

NewRequestedOfficeUserUpdater creates a new instance of RequestedOfficeUserUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RequestedOfficeUserUpdater) UpdateRequestedOfficeUser

UpdateRequestedOfficeUser provides a mock function with given fields: appCtx, id, payload

type RoleAssociater

type RoleAssociater struct {
	mock.Mock
}

RoleAssociater is an autogenerated mock type for the RoleAssociater type

func NewRoleAssociater

func NewRoleAssociater(t interface {
	mock.TestingT
	Cleanup(func())
}) *RoleAssociater

NewRoleAssociater creates a new instance of RoleAssociater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RoleAssociater) FetchRoles

func (_m *RoleAssociater) FetchRoles(appCtx appcontext.AppContext, userID uuid.UUID) (roles.Roles, error)

FetchRoles provides a mock function with given fields: appCtx, userID

type SFTPClient

type SFTPClient struct {
	mock.Mock
}

SFTPClient is an autogenerated mock type for the SFTPClient type

func NewSFTPClient

func NewSFTPClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *SFTPClient

NewSFTPClient creates a new instance of SFTPClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SFTPClient) Open

func (_m *SFTPClient) Open(path string) (services.SFTPFiler, error)

Open provides a mock function with given fields: path

func (*SFTPClient) ReadDir

func (_m *SFTPClient) ReadDir(p string) ([]fs.FileInfo, error)

ReadDir provides a mock function with given fields: p

func (*SFTPClient) Remove

func (_m *SFTPClient) Remove(path string) error

Remove provides a mock function with given fields: path

type SFTPFiler

type SFTPFiler struct {
	mock.Mock
}

SFTPFiler is an autogenerated mock type for the SFTPFiler type

func NewSFTPFiler

func NewSFTPFiler(t interface {
	mock.TestingT
	Cleanup(func())
}) *SFTPFiler

NewSFTPFiler creates a new instance of SFTPFiler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SFTPFiler) Close

func (_m *SFTPFiler) Close() error

Close provides a mock function with given fields:

func (*SFTPFiler) WriteTo

func (_m *SFTPFiler) WriteTo(w io.Writer) (int64, error)

WriteTo provides a mock function with given fields: w

type SITAddressUpdateRequestApprover

type SITAddressUpdateRequestApprover struct {
	mock.Mock
}

SITAddressUpdateRequestApprover is an autogenerated mock type for the SITAddressUpdateRequestApprover type

func NewSITAddressUpdateRequestApprover

func NewSITAddressUpdateRequestApprover(t interface {
	mock.TestingT
	Cleanup(func())
}) *SITAddressUpdateRequestApprover

NewSITAddressUpdateRequestApprover creates a new instance of SITAddressUpdateRequestApprover. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SITAddressUpdateRequestApprover) ApproveSITAddressUpdateRequest

func (_m *SITAddressUpdateRequestApprover) ApproveSITAddressUpdateRequest(appCtx appcontext.AppContext, sitAddressUpdateRequestID uuid.UUID, officeRemarks *string, eTag string) (*models.MTOServiceItem, error)

ApproveSITAddressUpdateRequest provides a mock function with given fields: appCtx, sitAddressUpdateRequestID, officeRemarks, eTag

type SITAddressUpdateRequestRejector

type SITAddressUpdateRequestRejector struct {
	mock.Mock
}

SITAddressUpdateRequestRejector is an autogenerated mock type for the SITAddressUpdateRequestRejector type

func NewSITAddressUpdateRequestRejector

func NewSITAddressUpdateRequestRejector(t interface {
	mock.TestingT
	Cleanup(func())
}) *SITAddressUpdateRequestRejector

NewSITAddressUpdateRequestRejector creates a new instance of SITAddressUpdateRequestRejector. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SITAddressUpdateRequestRejector) RejectSITAddressUpdateRequest

func (_m *SITAddressUpdateRequestRejector) RejectSITAddressUpdateRequest(appCtx appcontext.AppContext, sitAddressUpdateRequestID uuid.UUID, officeRemarks *string, eTag string) (*models.SITAddressUpdate, error)

RejectSITAddressUpdateRequest provides a mock function with given fields: appCtx, sitAddressUpdateRequestID, officeRemarks, eTag

type SITExtensionApprover

type SITExtensionApprover struct {
	mock.Mock
}

SITExtensionApprover is an autogenerated mock type for the SITExtensionApprover type

func NewSITExtensionApprover

func NewSITExtensionApprover(t interface {
	mock.TestingT
	Cleanup(func())
}) *SITExtensionApprover

NewSITExtensionApprover creates a new instance of SITExtensionApprover. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SITExtensionApprover) ApproveSITExtension

func (_m *SITExtensionApprover) ApproveSITExtension(appCtx appcontext.AppContext, shipmentID uuid.UUID, sitExtensionID uuid.UUID, approvedDays int, requestReason models.SITDurationUpdateRequestReason, officeRemarks *string, eTag string) (*models.MTOShipment, error)

ApproveSITExtension provides a mock function with given fields: appCtx, shipmentID, sitExtensionID, approvedDays, requestReason, officeRemarks, eTag

type SITExtensionDenier

type SITExtensionDenier struct {
	mock.Mock
}

SITExtensionDenier is an autogenerated mock type for the SITExtensionDenier type

func NewSITExtensionDenier

func NewSITExtensionDenier(t interface {
	mock.TestingT
	Cleanup(func())
}) *SITExtensionDenier

NewSITExtensionDenier creates a new instance of SITExtensionDenier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SITExtensionDenier) DenySITExtension

func (_m *SITExtensionDenier) DenySITExtension(appCtx appcontext.AppContext, shipmentID uuid.UUID, sitExtensionID uuid.UUID, officeRemarks *string, convertToCustomerExpense *bool, eTag string) (*models.MTOShipment, error)

DenySITExtension provides a mock function with given fields: appCtx, shipmentID, sitExtensionID, officeRemarks, convertToCustomerExpense, eTag

type SSWPPMComputer

type SSWPPMComputer struct {
	mock.Mock
}

SSWPPMComputer is an autogenerated mock type for the SSWPPMComputer type

func NewSSWPPMComputer

func NewSSWPPMComputer(t interface {
	mock.TestingT
	Cleanup(func())
}) *SSWPPMComputer

NewSSWPPMComputer creates a new instance of SSWPPMComputer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SSWPPMComputer) ComputeObligations

ComputeObligations provides a mock function with given fields: _a0, _a1, _a2

func (*SSWPPMComputer) FetchDataShipmentSummaryWorksheetFormData

func (_m *SSWPPMComputer) FetchDataShipmentSummaryWorksheetFormData(appCtx appcontext.AppContext, _a1 *auth.Session, ppmShipmentID uuid.UUID) (*services.ShipmentSummaryFormData, error)

FetchDataShipmentSummaryWorksheetFormData provides a mock function with given fields: appCtx, _a1, ppmShipmentID

func (*SSWPPMComputer) FormatValuesShipmentSummaryWorksheet

func (_m *SSWPPMComputer) FormatValuesShipmentSummaryWorksheet(shipmentSummaryFormData services.ShipmentSummaryFormData) (services.Page1Values, services.Page2Values)

FormatValuesShipmentSummaryWorksheet provides a mock function with given fields: shipmentSummaryFormData

type SSWPPMGenerator

type SSWPPMGenerator struct {
	mock.Mock
}

SSWPPMGenerator is an autogenerated mock type for the SSWPPMGenerator type

func NewSSWPPMGenerator

func NewSSWPPMGenerator(t interface {
	mock.TestingT
	Cleanup(func())
}) *SSWPPMGenerator

NewSSWPPMGenerator creates a new instance of SSWPPMGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SSWPPMGenerator) FillSSWPDFForm

FillSSWPDFForm provides a mock function with given fields: _a0, _a1

type ServiceItemPricer

type ServiceItemPricer struct {
	mock.Mock
}

ServiceItemPricer is an autogenerated mock type for the ServiceItemPricer type

func NewServiceItemPricer

func NewServiceItemPricer(t interface {
	mock.TestingT
	Cleanup(func())
}) *ServiceItemPricer

NewServiceItemPricer creates a new instance of ServiceItemPricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ServiceItemPricer) PriceServiceItem

PriceServiceItem provides a mock function with given fields: appCtx, item

type ServiceRequestDocumentUploadCreator

type ServiceRequestDocumentUploadCreator struct {
	mock.Mock
}

ServiceRequestDocumentUploadCreator is an autogenerated mock type for the ServiceRequestDocumentUploadCreator type

func NewServiceRequestDocumentUploadCreator

func NewServiceRequestDocumentUploadCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *ServiceRequestDocumentUploadCreator

NewServiceRequestDocumentUploadCreator creates a new instance of ServiceRequestDocumentUploadCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ServiceRequestDocumentUploadCreator) CreateUpload

func (_m *ServiceRequestDocumentUploadCreator) CreateUpload(appCtx appcontext.AppContext, file io.ReadCloser, mtoServiceItemID uuid.UUID, userID uuid.UUID, filename string) (*models.Upload, error)

CreateUpload provides a mock function with given fields: appCtx, file, mtoServiceItemID, userID, filename

type ShipmentAddressUpdateRequester

type ShipmentAddressUpdateRequester struct {
	mock.Mock
}

ShipmentAddressUpdateRequester is an autogenerated mock type for the ShipmentAddressUpdateRequester type

func NewShipmentAddressUpdateRequester

func NewShipmentAddressUpdateRequester(t interface {
	mock.TestingT
	Cleanup(func())
}) *ShipmentAddressUpdateRequester

NewShipmentAddressUpdateRequester creates a new instance of ShipmentAddressUpdateRequester. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ShipmentAddressUpdateRequester) RequestShipmentDeliveryAddressUpdate

func (_m *ShipmentAddressUpdateRequester) RequestShipmentDeliveryAddressUpdate(appCtx appcontext.AppContext, shipmentID uuid.UUID, newAddress models.Address, contractorRemarks string, eTag string) (*models.ShipmentAddressUpdate, error)

RequestShipmentDeliveryAddressUpdate provides a mock function with given fields: appCtx, shipmentID, newAddress, contractorRemarks, eTag

func (*ShipmentAddressUpdateRequester) ReviewShipmentAddressChange

func (_m *ShipmentAddressUpdateRequester) ReviewShipmentAddressChange(appCtx appcontext.AppContext, shipmentID uuid.UUID, tooApprovalStatus models.ShipmentAddressUpdateStatus, tooRemarks string) (*models.ShipmentAddressUpdate, error)

ReviewShipmentAddressChange provides a mock function with given fields: appCtx, shipmentID, tooApprovalStatus, tooRemarks

type ShipmentApprover

type ShipmentApprover struct {
	mock.Mock
}

ShipmentApprover is an autogenerated mock type for the ShipmentApprover type

func NewShipmentApprover

func NewShipmentApprover(t interface {
	mock.TestingT
	Cleanup(func())
}) *ShipmentApprover

NewShipmentApprover creates a new instance of ShipmentApprover. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ShipmentApprover) ApproveShipment

func (_m *ShipmentApprover) ApproveShipment(appCtx appcontext.AppContext, shipmentID uuid.UUID, eTag string) (*models.MTOShipment, error)

ApproveShipment provides a mock function with given fields: appCtx, shipmentID, eTag

type ShipmentBillableWeightCalculator

type ShipmentBillableWeightCalculator struct {
	mock.Mock
}

ShipmentBillableWeightCalculator is an autogenerated mock type for the ShipmentBillableWeightCalculator type

func NewShipmentBillableWeightCalculator

func NewShipmentBillableWeightCalculator(t interface {
	mock.TestingT
	Cleanup(func())
}) *ShipmentBillableWeightCalculator

NewShipmentBillableWeightCalculator creates a new instance of ShipmentBillableWeightCalculator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ShipmentBillableWeightCalculator) CalculateShipmentBillableWeight

func (_m *ShipmentBillableWeightCalculator) CalculateShipmentBillableWeight(shipment *models.MTOShipment) services.BillableWeightInputs

CalculateShipmentBillableWeight provides a mock function with given fields: shipment

type ShipmentCancellationRequester

type ShipmentCancellationRequester struct {
	mock.Mock
}

ShipmentCancellationRequester is an autogenerated mock type for the ShipmentCancellationRequester type

func NewShipmentCancellationRequester

func NewShipmentCancellationRequester(t interface {
	mock.TestingT
	Cleanup(func())
}) *ShipmentCancellationRequester

NewShipmentCancellationRequester creates a new instance of ShipmentCancellationRequester. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ShipmentCancellationRequester) RequestShipmentCancellation

func (_m *ShipmentCancellationRequester) RequestShipmentCancellation(appCtx appcontext.AppContext, shipmentID uuid.UUID, eTag string) (*models.MTOShipment, error)

RequestShipmentCancellation provides a mock function with given fields: appCtx, shipmentID, eTag

type ShipmentCreator

type ShipmentCreator struct {
	mock.Mock
}

ShipmentCreator is an autogenerated mock type for the ShipmentCreator type

func NewShipmentCreator

func NewShipmentCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *ShipmentCreator

NewShipmentCreator creates a new instance of ShipmentCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ShipmentCreator) CreateShipment

func (_m *ShipmentCreator) CreateShipment(appCtx appcontext.AppContext, shipment *models.MTOShipment) (*models.MTOShipment, error)

CreateShipment provides a mock function with given fields: appCtx, shipment

type ShipmentDeleter

type ShipmentDeleter struct {
	mock.Mock
}

ShipmentDeleter is an autogenerated mock type for the ShipmentDeleter type

func NewShipmentDeleter

func NewShipmentDeleter(t interface {
	mock.TestingT
	Cleanup(func())
}) *ShipmentDeleter

NewShipmentDeleter creates a new instance of ShipmentDeleter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ShipmentDeleter) DeleteShipment

func (_m *ShipmentDeleter) DeleteShipment(appCtx appcontext.AppContext, shipmentID uuid.UUID) (uuid.UUID, error)

DeleteShipment provides a mock function with given fields: appCtx, shipmentID

type ShipmentDiversionApprover

type ShipmentDiversionApprover struct {
	mock.Mock
}

ShipmentDiversionApprover is an autogenerated mock type for the ShipmentDiversionApprover type

func NewShipmentDiversionApprover

func NewShipmentDiversionApprover(t interface {
	mock.TestingT
	Cleanup(func())
}) *ShipmentDiversionApprover

NewShipmentDiversionApprover creates a new instance of ShipmentDiversionApprover. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ShipmentDiversionApprover) ApproveShipmentDiversion

func (_m *ShipmentDiversionApprover) ApproveShipmentDiversion(appCtx appcontext.AppContext, shipmentID uuid.UUID, eTag string) (*models.MTOShipment, error)

ApproveShipmentDiversion provides a mock function with given fields: appCtx, shipmentID, eTag

type ShipmentDiversionRequester

type ShipmentDiversionRequester struct {
	mock.Mock
}

ShipmentDiversionRequester is an autogenerated mock type for the ShipmentDiversionRequester type

func NewShipmentDiversionRequester

func NewShipmentDiversionRequester(t interface {
	mock.TestingT
	Cleanup(func())
}) *ShipmentDiversionRequester

NewShipmentDiversionRequester creates a new instance of ShipmentDiversionRequester. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ShipmentDiversionRequester) RequestShipmentDiversion

func (_m *ShipmentDiversionRequester) RequestShipmentDiversion(appCtx appcontext.AppContext, shipmentID uuid.UUID, eTag string) (*models.MTOShipment, error)

RequestShipmentDiversion provides a mock function with given fields: appCtx, shipmentID, eTag

type ShipmentRejecter

type ShipmentRejecter struct {
	mock.Mock
}

ShipmentRejecter is an autogenerated mock type for the ShipmentRejecter type

func NewShipmentRejecter

func NewShipmentRejecter(t interface {
	mock.TestingT
	Cleanup(func())
}) *ShipmentRejecter

NewShipmentRejecter creates a new instance of ShipmentRejecter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ShipmentRejecter) RejectShipment

func (_m *ShipmentRejecter) RejectShipment(appCtx appcontext.AppContext, shipmentID uuid.UUID, eTag string, reason *string) (*models.MTOShipment, error)

RejectShipment provides a mock function with given fields: appCtx, shipmentID, eTag, reason

type ShipmentReweighRequester

type ShipmentReweighRequester struct {
	mock.Mock
}

ShipmentReweighRequester is an autogenerated mock type for the ShipmentReweighRequester type

func NewShipmentReweighRequester

func NewShipmentReweighRequester(t interface {
	mock.TestingT
	Cleanup(func())
}) *ShipmentReweighRequester

NewShipmentReweighRequester creates a new instance of ShipmentReweighRequester. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ShipmentReweighRequester) RequestShipmentReweigh

func (_m *ShipmentReweighRequester) RequestShipmentReweigh(appCtx appcontext.AppContext, shipmentID uuid.UUID, requestor models.ReweighRequester) (*models.Reweigh, error)

RequestShipmentReweigh provides a mock function with given fields: appCtx, shipmentID, requestor

type ShipmentRouter

type ShipmentRouter struct {
	mock.Mock
}

ShipmentRouter is an autogenerated mock type for the ShipmentRouter type

func NewShipmentRouter

func NewShipmentRouter(t interface {
	mock.TestingT
	Cleanup(func())
}) *ShipmentRouter

NewShipmentRouter creates a new instance of ShipmentRouter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ShipmentRouter) Approve

func (_m *ShipmentRouter) Approve(appCtx appcontext.AppContext, shipment *models.MTOShipment) error

Approve provides a mock function with given fields: appCtx, shipment

func (*ShipmentRouter) ApproveDiversion

func (_m *ShipmentRouter) ApproveDiversion(appCtx appcontext.AppContext, shipment *models.MTOShipment) error

ApproveDiversion provides a mock function with given fields: appCtx, shipment

func (*ShipmentRouter) Cancel

func (_m *ShipmentRouter) Cancel(appCtx appcontext.AppContext, shipment *models.MTOShipment) error

Cancel provides a mock function with given fields: appCtx, shipment

func (*ShipmentRouter) Reject

func (_m *ShipmentRouter) Reject(appCtx appcontext.AppContext, shipment *models.MTOShipment, rejectionReason *string) error

Reject provides a mock function with given fields: appCtx, shipment, rejectionReason

func (*ShipmentRouter) RequestCancellation

func (_m *ShipmentRouter) RequestCancellation(appCtx appcontext.AppContext, shipment *models.MTOShipment) error

RequestCancellation provides a mock function with given fields: appCtx, shipment

func (*ShipmentRouter) RequestDiversion

func (_m *ShipmentRouter) RequestDiversion(appCtx appcontext.AppContext, shipment *models.MTOShipment) error

RequestDiversion provides a mock function with given fields: appCtx, shipment

func (*ShipmentRouter) Submit

func (_m *ShipmentRouter) Submit(appCtx appcontext.AppContext, shipment *models.MTOShipment) error

Submit provides a mock function with given fields: appCtx, shipment

type ShipmentSITStatus

type ShipmentSITStatus struct {
	mock.Mock
}

ShipmentSITStatus is an autogenerated mock type for the ShipmentSITStatus type

func NewShipmentSITStatus

func NewShipmentSITStatus(t interface {
	mock.TestingT
	Cleanup(func())
}) *ShipmentSITStatus

NewShipmentSITStatus creates a new instance of ShipmentSITStatus. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ShipmentSITStatus) CalculateShipmentSITAllowance

func (_m *ShipmentSITStatus) CalculateShipmentSITAllowance(appCtx appcontext.AppContext, shipment models.MTOShipment) (int, error)

CalculateShipmentSITAllowance provides a mock function with given fields: appCtx, shipment

func (*ShipmentSITStatus) CalculateShipmentSITStatus

func (_m *ShipmentSITStatus) CalculateShipmentSITStatus(appCtx appcontext.AppContext, shipment models.MTOShipment) (*services.SITStatus, error)

CalculateShipmentSITStatus provides a mock function with given fields: appCtx, shipment

func (*ShipmentSITStatus) CalculateShipmentsSITStatuses

func (_m *ShipmentSITStatus) CalculateShipmentsSITStatuses(appCtx appcontext.AppContext, shipments []models.MTOShipment) map[string]services.SITStatus

CalculateShipmentsSITStatuses provides a mock function with given fields: appCtx, shipments

type ShipmentUpdater

type ShipmentUpdater struct {
	mock.Mock
}

ShipmentUpdater is an autogenerated mock type for the ShipmentUpdater type

func NewShipmentUpdater

func NewShipmentUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *ShipmentUpdater

NewShipmentUpdater creates a new instance of ShipmentUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ShipmentUpdater) UpdateShipment

func (_m *ShipmentUpdater) UpdateShipment(appCtx appcontext.AppContext, shipment *models.MTOShipment, eTag string, api string) (*models.MTOShipment, error)

UpdateShipment provides a mock function with given fields: appCtx, shipment, eTag, api

type ShipmentsPaymentSITBalance

type ShipmentsPaymentSITBalance struct {
	mock.Mock
}

ShipmentsPaymentSITBalance is an autogenerated mock type for the ShipmentsPaymentSITBalance type

func NewShipmentsPaymentSITBalance

func NewShipmentsPaymentSITBalance(t interface {
	mock.TestingT
	Cleanup(func())
}) *ShipmentsPaymentSITBalance

NewShipmentsPaymentSITBalance creates a new instance of ShipmentsPaymentSITBalance. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ShipmentsPaymentSITBalance) ListShipmentPaymentSITBalance

func (_m *ShipmentsPaymentSITBalance) ListShipmentPaymentSITBalance(appCtx appcontext.AppContext, paymentRequestID uuid.UUID) ([]services.ShipmentPaymentSITBalance, error)

ListShipmentPaymentSITBalance provides a mock function with given fields: appCtx, paymentRequestID

type SignedCertificationCreator

type SignedCertificationCreator struct {
	mock.Mock
}

SignedCertificationCreator is an autogenerated mock type for the SignedCertificationCreator type

func NewSignedCertificationCreator

func NewSignedCertificationCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *SignedCertificationCreator

NewSignedCertificationCreator creates a new instance of SignedCertificationCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SignedCertificationCreator) CreateSignedCertification

func (_m *SignedCertificationCreator) CreateSignedCertification(appCtx appcontext.AppContext, signedCertification models.SignedCertification) (*models.SignedCertification, error)

CreateSignedCertification provides a mock function with given fields: appCtx, signedCertification

type SignedCertificationUpdater

type SignedCertificationUpdater struct {
	mock.Mock
}

SignedCertificationUpdater is an autogenerated mock type for the SignedCertificationUpdater type

func NewSignedCertificationUpdater

func NewSignedCertificationUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *SignedCertificationUpdater

NewSignedCertificationUpdater creates a new instance of SignedCertificationUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SignedCertificationUpdater) UpdateSignedCertification

func (_m *SignedCertificationUpdater) UpdateSignedCertification(appCtx appcontext.AppContext, signedCertification models.SignedCertification, eTag string) (*models.SignedCertification, error)

UpdateSignedCertification provides a mock function with given fields: appCtx, signedCertification, eTag

type SitEntryDateUpdater

type SitEntryDateUpdater struct {
	mock.Mock
}

SitEntryDateUpdater is an autogenerated mock type for the SitEntryDateUpdater type

func NewSitEntryDateUpdater

func NewSitEntryDateUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *SitEntryDateUpdater

NewSitEntryDateUpdater creates a new instance of SitEntryDateUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SitEntryDateUpdater) UpdateSitEntryDate

func (_m *SitEntryDateUpdater) UpdateSitEntryDate(appCtx appcontext.AppContext, sitEntryDateUpdate *models.SITEntryDateUpdate) (*models.MTOServiceItem, error)

UpdateSitEntryDate provides a mock function with given fields: appCtx, sitEntryDateUpdate

type SyncadaFileProcessor

type SyncadaFileProcessor struct {
	mock.Mock
}

SyncadaFileProcessor is an autogenerated mock type for the SyncadaFileProcessor type

func NewSyncadaFileProcessor

func NewSyncadaFileProcessor(t interface {
	mock.TestingT
	Cleanup(func())
}) *SyncadaFileProcessor

NewSyncadaFileProcessor creates a new instance of SyncadaFileProcessor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SyncadaFileProcessor) EDIType

func (_m *SyncadaFileProcessor) EDIType() models.EDIType

EDIType provides a mock function with given fields:

func (*SyncadaFileProcessor) ProcessFile

func (_m *SyncadaFileProcessor) ProcessFile(appCtx appcontext.AppContext, syncadaPath string, text string) error

ProcessFile provides a mock function with given fields: appCtx, syncadaPath, text

type SyncadaSFTPReader

type SyncadaSFTPReader struct {
	mock.Mock
}

SyncadaSFTPReader is an autogenerated mock type for the SyncadaSFTPReader type

func NewSyncadaSFTPReader

func NewSyncadaSFTPReader(t interface {
	mock.TestingT
	Cleanup(func())
}) *SyncadaSFTPReader

NewSyncadaSFTPReader creates a new instance of SyncadaSFTPReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SyncadaSFTPReader) FetchAndProcessSyncadaFiles

func (_m *SyncadaSFTPReader) FetchAndProcessSyncadaFiles(appCtx appcontext.AppContext, pickupPath string, lastRead time.Time, processor services.SyncadaFileProcessor) (time.Time, error)

FetchAndProcessSyncadaFiles provides a mock function with given fields: appCtx, pickupPath, lastRead, processor

type SyncadaSFTPSender

type SyncadaSFTPSender struct {
	mock.Mock
}

SyncadaSFTPSender is an autogenerated mock type for the SyncadaSFTPSender type

func NewSyncadaSFTPSender

func NewSyncadaSFTPSender(t interface {
	mock.TestingT
	Cleanup(func())
}) *SyncadaSFTPSender

NewSyncadaSFTPSender creates a new instance of SyncadaSFTPSender. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SyncadaSFTPSender) SendToSyncadaViaSFTP

func (_m *SyncadaSFTPSender) SendToSyncadaViaSFTP(appCtx appcontext.AppContext, localDataReader io.Reader, syncadaFileName string) (int64, error)

SendToSyncadaViaSFTP provides a mock function with given fields: appCtx, localDataReader, syncadaFileName

type TableFromSliceCreator

type TableFromSliceCreator struct {
	mock.Mock
}

TableFromSliceCreator is an autogenerated mock type for the TableFromSliceCreator type

func NewTableFromSliceCreator

func NewTableFromSliceCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *TableFromSliceCreator

NewTableFromSliceCreator creates a new instance of TableFromSliceCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TableFromSliceCreator) CreateTableFromSlice

func (_m *TableFromSliceCreator) CreateTableFromSlice(appCtx appcontext.AppContext, slice interface{}) error

CreateTableFromSlice provides a mock function with given fields: appCtx, slice

type TransportationOfficesFetcher

type TransportationOfficesFetcher struct {
	mock.Mock
}

TransportationOfficesFetcher is an autogenerated mock type for the TransportationOfficesFetcher type

func NewTransportationOfficesFetcher

func NewTransportationOfficesFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *TransportationOfficesFetcher

NewTransportationOfficesFetcher creates a new instance of TransportationOfficesFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TransportationOfficesFetcher) GetTransportationOffice

func (_m *TransportationOfficesFetcher) GetTransportationOffice(appCtx appcontext.AppContext, transportationOfficeID uuid.UUID, includeOnlyPPMCloseoutOffices bool) (*models.TransportationOffice, error)

GetTransportationOffice provides a mock function with given fields: appCtx, transportationOfficeID, includeOnlyPPMCloseoutOffices

func (*TransportationOfficesFetcher) GetTransportationOffices

func (_m *TransportationOfficesFetcher) GetTransportationOffices(appCtx appcontext.AppContext, search string) (*models.TransportationOffices, error)

GetTransportationOffices provides a mock function with given fields: appCtx, search

type UploadCreator

type UploadCreator struct {
	mock.Mock
}

UploadCreator is an autogenerated mock type for the UploadCreator type

func NewUploadCreator

func NewUploadCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *UploadCreator

NewUploadCreator creates a new instance of UploadCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*UploadCreator) CreateUpload

func (_m *UploadCreator) CreateUpload(appCtx appcontext.AppContext, file io.ReadCloser, uploadFilename string, uploadType models.UploadType) (*models.Upload, error)

CreateUpload provides a mock function with given fields: appCtx, file, uploadFilename, uploadType

type UploadInformationFetcher

type UploadInformationFetcher struct {
	mock.Mock
}

UploadInformationFetcher is an autogenerated mock type for the UploadInformationFetcher type

func NewUploadInformationFetcher

func NewUploadInformationFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *UploadInformationFetcher

NewUploadInformationFetcher creates a new instance of UploadInformationFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*UploadInformationFetcher) FetchUploadInformation

func (_m *UploadInformationFetcher) FetchUploadInformation(appCtx appcontext.AppContext, _a1 uuid.UUID) (services.UploadInformation, error)

FetchUploadInformation provides a mock function with given fields: appCtx, _a1

func (*UploadInformationFetcher) FetchUploadInformationForDeletion

func (_m *UploadInformationFetcher) FetchUploadInformationForDeletion(appCtx appcontext.AppContext, _a1 uuid.UUID, moveLocator string) (services.UploadInformation, error)

FetchUploadInformationForDeletion provides a mock function with given fields: appCtx, _a1, moveLocator

type UserFetcher

type UserFetcher struct {
	mock.Mock
}

UserFetcher is an autogenerated mock type for the UserFetcher type

func NewUserFetcher

func NewUserFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *UserFetcher

NewUserFetcher creates a new instance of UserFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*UserFetcher) FetchUser

func (_m *UserFetcher) FetchUser(appCtx appcontext.AppContext, filters []services.QueryFilter) (models.User, error)

FetchUser provides a mock function with given fields: appCtx, filters

type UserPrivilegeAssociator

type UserPrivilegeAssociator struct {
	mock.Mock
}

UserPrivilegeAssociator is an autogenerated mock type for the UserPrivilegeAssociator type

func NewUserPrivilegeAssociator

func NewUserPrivilegeAssociator(t interface {
	mock.TestingT
	Cleanup(func())
}) *UserPrivilegeAssociator

NewUserPrivilegeAssociator creates a new instance of UserPrivilegeAssociator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*UserPrivilegeAssociator) UpdateUserPrivileges

func (_m *UserPrivilegeAssociator) UpdateUserPrivileges(appCtx appcontext.AppContext, userID uuid.UUID, privileges []models.PrivilegeType) ([]models.UsersPrivileges, error)

UpdateUserPrivileges provides a mock function with given fields: appCtx, userID, privileges

type UserRoleAssociator

type UserRoleAssociator struct {
	mock.Mock
}

UserRoleAssociator is an autogenerated mock type for the UserRoleAssociator type

func NewUserRoleAssociator

func NewUserRoleAssociator(t interface {
	mock.TestingT
	Cleanup(func())
}) *UserRoleAssociator

NewUserRoleAssociator creates a new instance of UserRoleAssociator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*UserRoleAssociator) UpdateUserRoles

func (_m *UserRoleAssociator) UpdateUserRoles(appCtx appcontext.AppContext, userID uuid.UUID, _a2 []roles.RoleType) ([]models.UsersRoles, error)

UpdateUserRoles provides a mock function with given fields: appCtx, userID, _a2

type UserSessionRevocation

type UserSessionRevocation struct {
	mock.Mock
}

UserSessionRevocation is an autogenerated mock type for the UserSessionRevocation type

func NewUserSessionRevocation

func NewUserSessionRevocation(t interface {
	mock.TestingT
	Cleanup(func())
}) *UserSessionRevocation

NewUserSessionRevocation creates a new instance of UserSessionRevocation. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*UserSessionRevocation) RevokeUserSession

func (_m *UserSessionRevocation) RevokeUserSession(appCtx appcontext.AppContext, id uuid.UUID, payload *adminmessages.UserUpdate, sessionManagers auth.AppSessionManagers) (*models.User, *validate.Errors, error)

RevokeUserSession provides a mock function with given fields: appCtx, id, payload, sessionManagers

type UserUpdater

type UserUpdater struct {
	mock.Mock
}

UserUpdater is an autogenerated mock type for the UserUpdater type

func NewUserUpdater

func NewUserUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *UserUpdater

NewUserUpdater creates a new instance of UserUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*UserUpdater) UpdateUser

func (_m *UserUpdater) UpdateUser(appCtx appcontext.AppContext, id uuid.UUID, user *models.User) (*models.User, *validate.Errors, error)

UpdateUser provides a mock function with given fields: appCtx, id, user

type UserUploadToPDFConverter

type UserUploadToPDFConverter struct {
	mock.Mock
}

UserUploadToPDFConverter is an autogenerated mock type for the UserUploadToPDFConverter type

func NewUserUploadToPDFConverter

func NewUserUploadToPDFConverter(t interface {
	mock.TestingT
	Cleanup(func())
}) *UserUploadToPDFConverter

NewUserUploadToPDFConverter creates a new instance of UserUploadToPDFConverter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*UserUploadToPDFConverter) ConvertUserUploadsToPDF

func (_m *UserUploadToPDFConverter) ConvertUserUploadsToPDF(appCtx appcontext.AppContext, userUploads models.UserUploads) ([]*services.FileInfo, error)

ConvertUserUploadsToPDF provides a mock function with given fields: appCtx, userUploads

type WebhookSubscriptionCreator

type WebhookSubscriptionCreator struct {
	mock.Mock
}

WebhookSubscriptionCreator is an autogenerated mock type for the WebhookSubscriptionCreator type

func NewWebhookSubscriptionCreator

func NewWebhookSubscriptionCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *WebhookSubscriptionCreator

NewWebhookSubscriptionCreator creates a new instance of WebhookSubscriptionCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*WebhookSubscriptionCreator) CreateWebhookSubscription

func (_m *WebhookSubscriptionCreator) CreateWebhookSubscription(appCtx appcontext.AppContext, subscription *models.WebhookSubscription) (*models.WebhookSubscription, *validate.Errors, error)

CreateWebhookSubscription provides a mock function with given fields: appCtx, subscription

type WebhookSubscriptionFetcher

type WebhookSubscriptionFetcher struct {
	mock.Mock
}

WebhookSubscriptionFetcher is an autogenerated mock type for the WebhookSubscriptionFetcher type

func NewWebhookSubscriptionFetcher

func NewWebhookSubscriptionFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *WebhookSubscriptionFetcher

NewWebhookSubscriptionFetcher creates a new instance of WebhookSubscriptionFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*WebhookSubscriptionFetcher) FetchWebhookSubscription

func (_m *WebhookSubscriptionFetcher) FetchWebhookSubscription(appCtx appcontext.AppContext, filters []services.QueryFilter) (models.WebhookSubscription, error)

FetchWebhookSubscription provides a mock function with given fields: appCtx, filters

type WebhookSubscriptionUpdater

type WebhookSubscriptionUpdater struct {
	mock.Mock
}

WebhookSubscriptionUpdater is an autogenerated mock type for the WebhookSubscriptionUpdater type

func NewWebhookSubscriptionUpdater

func NewWebhookSubscriptionUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *WebhookSubscriptionUpdater

NewWebhookSubscriptionUpdater creates a new instance of WebhookSubscriptionUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*WebhookSubscriptionUpdater) UpdateWebhookSubscription

func (_m *WebhookSubscriptionUpdater) UpdateWebhookSubscription(appCtx appcontext.AppContext, webhooksubscription *models.WebhookSubscription, severity *int64, eTag *string) (*models.WebhookSubscription, error)

UpdateWebhookSubscription provides a mock function with given fields: appCtx, webhooksubscription, severity, eTag

type WeightTicketCreator

type WeightTicketCreator struct {
	mock.Mock
}

WeightTicketCreator is an autogenerated mock type for the WeightTicketCreator type

func NewWeightTicketCreator

func NewWeightTicketCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *WeightTicketCreator

NewWeightTicketCreator creates a new instance of WeightTicketCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*WeightTicketCreator) CreateWeightTicket

func (_m *WeightTicketCreator) CreateWeightTicket(appCtx appcontext.AppContext, ppmShipmentID uuid.UUID) (*models.WeightTicket, error)

CreateWeightTicket provides a mock function with given fields: appCtx, ppmShipmentID

type WeightTicketDeleter

type WeightTicketDeleter struct {
	mock.Mock
}

WeightTicketDeleter is an autogenerated mock type for the WeightTicketDeleter type

func NewWeightTicketDeleter

func NewWeightTicketDeleter(t interface {
	mock.TestingT
	Cleanup(func())
}) *WeightTicketDeleter

NewWeightTicketDeleter creates a new instance of WeightTicketDeleter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*WeightTicketDeleter) DeleteWeightTicket

func (_m *WeightTicketDeleter) DeleteWeightTicket(appCtx appcontext.AppContext, ppmID uuid.UUID, weightTicketID uuid.UUID) error

DeleteWeightTicket provides a mock function with given fields: appCtx, ppmID, weightTicketID

type WeightTicketFetcher

type WeightTicketFetcher struct {
	mock.Mock
}

WeightTicketFetcher is an autogenerated mock type for the WeightTicketFetcher type

func NewWeightTicketFetcher

func NewWeightTicketFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *WeightTicketFetcher

NewWeightTicketFetcher creates a new instance of WeightTicketFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*WeightTicketFetcher) GetWeightTicket

func (_m *WeightTicketFetcher) GetWeightTicket(appCtx appcontext.AppContext, weightTicketID uuid.UUID) (*models.WeightTicket, error)

GetWeightTicket provides a mock function with given fields: appCtx, weightTicketID

type WeightTicketUpdater

type WeightTicketUpdater struct {
	mock.Mock
}

WeightTicketUpdater is an autogenerated mock type for the WeightTicketUpdater type

func NewWeightTicketUpdater

func NewWeightTicketUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *WeightTicketUpdater

NewWeightTicketUpdater creates a new instance of WeightTicketUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*WeightTicketUpdater) UpdateWeightTicket

func (_m *WeightTicketUpdater) UpdateWeightTicket(appCtx appcontext.AppContext, weightTicket models.WeightTicket, eTag string) (*models.WeightTicket, error)

UpdateWeightTicket provides a mock function with given fields: appCtx, weightTicket, eTag

Source Files

Jump to

Keyboard shortcuts

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