Documentation ¶
Index ¶
- type AOAPacketCreator
- type AdminUserCreator
- type AdminUserFetcher
- type AdminUserListFetcher
- type AdminUserUpdater
- type ApprovedSITDurationUpdateCreator
- type BoatShipmentCreator
- type BoatShipmentFetcher
- type BoatShipmentRouter
- func (_m *BoatShipmentRouter) SendToCustomer(appCtx appcontext.AppContext, boatShipment *models.BoatShipment) error
- func (_m *BoatShipmentRouter) SetToDraft(appCtx appcontext.AppContext, boatShipment *models.BoatShipment) error
- func (_m *BoatShipmentRouter) Submit(appCtx appcontext.AppContext, boatShipment *models.BoatShipment) error
- func (_m *BoatShipmentRouter) SubmitCloseOutDocumentation(appCtx appcontext.AppContext, boatShipment *models.BoatShipment) error
- func (_m *BoatShipmentRouter) SubmitReviewedDocuments(appCtx appcontext.AppContext, boatShipment *models.BoatShipment) error
- type BoatShipmentUpdater
- type ClientCertCreator
- type ClientCertFetcher
- type ClientCertListFetcher
- type ClientCertRemover
- type ClientCertUpdater
- type CounselingServicesPricer
- func (_m *CounselingServicesPricer) Price(appCtx appcontext.AppContext, lockedPriceCents *unit.Cents) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *CounselingServicesPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type CustomerFetcher
- type CustomerSearcher
- type CustomerSupportRemarkDeleter
- type CustomerSupportRemarkUpdater
- type CustomerSupportRemarksCreator
- type CustomerSupportRemarksFetcher
- type CustomerUpdater
- type DateSelectionChecker
- type DomesticAdditionalDaysSITPricer
- func (_m *DomesticAdditionalDaysSITPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticAdditionalDaysSITPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticCratingPricer
- func (_m *DomesticCratingPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticCratingPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticDestinationAdditionalDaysSITPricer
- func (_m *DomesticDestinationAdditionalDaysSITPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticDestinationAdditionalDaysSITPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticDestinationFirstDaySITPricer
- func (_m *DomesticDestinationFirstDaySITPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticDestinationFirstDaySITPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticDestinationPricer
- func (_m *DomesticDestinationPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticDestinationPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticDestinationSITDeliveryPricer
- func (_m *DomesticDestinationSITDeliveryPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticDestinationSITDeliveryPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticDestinationSITFuelSurchargePricer
- func (_m *DomesticDestinationSITFuelSurchargePricer) Price(appCtx appcontext.AppContext, actualPickupDate time.Time, distance unit.Miles, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticDestinationSITFuelSurchargePricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticDestinationShuttlingPricer
- func (_m *DomesticDestinationShuttlingPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticDestinationShuttlingPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticFirstDaySITPricer
- func (_m *DomesticFirstDaySITPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticFirstDaySITPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticLinehaulPricer
- func (_m *DomesticLinehaulPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticLinehaulPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticNTSPackPricer
- func (_m *DomesticNTSPackPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticNTSPackPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticOriginAdditionalDaysSITPricer
- func (_m *DomesticOriginAdditionalDaysSITPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticOriginAdditionalDaysSITPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticOriginFirstDaySITPricer
- func (_m *DomesticOriginFirstDaySITPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticOriginFirstDaySITPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticOriginPricer
- func (_m *DomesticOriginPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticOriginPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticOriginSITFuelSurchargePricer
- func (_m *DomesticOriginSITFuelSurchargePricer) Price(appCtx appcontext.AppContext, actualPickupDate time.Time, distance unit.Miles, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticOriginSITFuelSurchargePricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticOriginSITPickupPricer
- func (_m *DomesticOriginSITPickupPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticOriginSITPickupPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticOriginShuttlingPricer
- func (_m *DomesticOriginShuttlingPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticOriginShuttlingPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticPackPricer
- func (_m *DomesticPackPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticPackPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticShorthaulPricer
- func (_m *DomesticShorthaulPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticShorthaulPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticUncratingPricer
- func (_m *DomesticUncratingPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticUncratingPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type DomesticUnpackPricer
- func (_m *DomesticUnpackPricer) Price(appCtx appcontext.AppContext, contractCode string, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *DomesticUnpackPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type ElectronicOrderCategoryCountFetcher
- type ElectronicOrderListFetcher
- func (_m *ElectronicOrderListFetcher) FetchElectronicOrderCount(appCtx appcontext.AppContext, filters []services.QueryFilter) (int, error)
- func (_m *ElectronicOrderListFetcher) FetchElectronicOrderList(appCtx appcontext.AppContext, filters []services.QueryFilter, ...) (models.ElectronicOrders, error)
- type EvaluationReportCreator
- type EvaluationReportDeleter
- type EvaluationReportFetcher
- func (_m *EvaluationReportFetcher) FetchEvaluationReportByID(appCtx appcontext.AppContext, reportID uuid.UUID, officeUserID uuid.UUID) (*models.EvaluationReport, error)
- func (_m *EvaluationReportFetcher) FetchEvaluationReports(appCtx appcontext.AppContext, reportType models.EvaluationReportType, ...) (models.EvaluationReports, error)
- type EvaluationReportUpdater
- type ExcessWeightRiskManager
- func (_m *ExcessWeightRiskManager) AcknowledgeExcessWeightRisk(appCtx appcontext.AppContext, moveID uuid.UUID, eTag string) (*models.Move, error)
- func (_m *ExcessWeightRiskManager) UpdateBillableWeightAsTOO(appCtx appcontext.AppContext, orderID uuid.UUID, weight *int, eTag string) (*models.Order, uuid.UUID, error)
- func (_m *ExcessWeightRiskManager) UpdateMaxBillableWeightAsTIO(appCtx appcontext.AppContext, orderID uuid.UUID, weight *int, remarks *string, ...) (*models.Order, uuid.UUID, error)
- type FeatureFlagFetcher
- func (_m *FeatureFlagFetcher) GetBooleanFlag(ctx context.Context, logger *zap.Logger, entityID string, key string, ...) (services.FeatureFlag, error)
- func (_m *FeatureFlagFetcher) GetBooleanFlagForUser(ctx context.Context, appCtx appcontext.AppContext, key string, ...) (services.FeatureFlag, error)
- func (_m *FeatureFlagFetcher) GetVariantFlag(ctx context.Context, logger *zap.Logger, entityID string, key string, ...) (services.FeatureFlag, error)
- func (_m *FeatureFlagFetcher) GetVariantFlagForUser(ctx context.Context, appCtx appcontext.AppContext, key string, ...) (services.FeatureFlag, error)
- type Fetcher
- type FuelSurchargePricer
- func (_m *FuelSurchargePricer) Price(appCtx appcontext.AppContext, actualPickupDate time.Time, distance unit.Miles, ...) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *FuelSurchargePricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type GHCPaymentRequestInvoiceGenerator
- type GexSender
- type LineOfAccountingFetcher
- type ListFetcher
- type MTOAgentCreator
- type MTOAgentUpdater
- type MTOServiceItemCreator
- type MTOServiceItemFetcher
- type MTOServiceItemUpdater
- func (_m *MTOServiceItemUpdater) ApproveOrRejectServiceItem(appCtx appcontext.AppContext, mtoServiceItemID uuid.UUID, ...) (*models.MTOServiceItem, error)
- func (_m *MTOServiceItemUpdater) ConvertItemToCustomerExpense(appCtx appcontext.AppContext, shipment *models.MTOShipment, ...) (*models.MTOServiceItem, error)
- func (_m *MTOServiceItemUpdater) UpdateMTOServiceItem(appCtx appcontext.AppContext, serviceItem *models.MTOServiceItem, eTag string, ...) (*models.MTOServiceItem, error)
- func (_m *MTOServiceItemUpdater) UpdateMTOServiceItemBasic(appCtx appcontext.AppContext, serviceItem *models.MTOServiceItem, eTag string) (*models.MTOServiceItem, error)
- func (_m *MTOServiceItemUpdater) UpdateMTOServiceItemPrime(appCtx appcontext.AppContext, serviceItem *models.MTOServiceItem, ...) (*models.MTOServiceItem, error)
- type MTOShipmentCreator
- type MTOShipmentFetcher
- func (_m *MTOShipmentFetcher) GetDiversionChain(appCtx appcontext.AppContext, shipmentID uuid.UUID) (*[]models.MTOShipment, error)
- func (_m *MTOShipmentFetcher) GetShipment(appCtx appcontext.AppContext, shipmentID uuid.UUID, ...) (*models.MTOShipment, error)
- func (_m *MTOShipmentFetcher) ListMTOShipments(appCtx appcontext.AppContext, moveID uuid.UUID) ([]models.MTOShipment, error)
- type MTOShipmentStatusUpdater
- type MTOShipmentUpdater
- type ManagementServicesPricer
- func (_m *ManagementServicesPricer) Price(appCtx appcontext.AppContext, lockedPriceCents *unit.Cents) (unit.Cents, services.PricingDisplayParams, error)
- func (_m *ManagementServicesPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
- type MobileHomeShipmentCreator
- type MobileHomeShipmentFetcher
- type MobileHomeShipmentUpdater
- type MoveExcessWeightUploader
- type MoveFetcher
- type MoveFinancialReviewFlagSetter
- type MoveHistoryFetcher
- type MoveListFetcher
- type MoveLocker
- type MoveRouter
- func (_m *MoveRouter) Approve(appCtx appcontext.AppContext, move *models.Move) error
- func (_m *MoveRouter) ApproveOrRequestApproval(appCtx appcontext.AppContext, move models.Move) (*models.Move, error)
- func (_m *MoveRouter) Cancel(appCtx appcontext.AppContext, reason string, move *models.Move) error
- func (_m *MoveRouter) CompleteServiceCounseling(appCtx appcontext.AppContext, move *models.Move) error
- func (_m *MoveRouter) RouteAfterAmendingOrders(appCtx appcontext.AppContext, move *models.Move) error
- func (_m *MoveRouter) SendToOfficeUser(appCtx appcontext.AppContext, move *models.Move) error
- func (_m *MoveRouter) Submit(appCtx appcontext.AppContext, move *models.Move, ...) error
- type MoveSearcher
- type MoveTaskOrderChecker
- type MoveTaskOrderCreator
- type MoveTaskOrderFetcher
- func (_m *MoveTaskOrderFetcher) FetchMoveTaskOrder(appCtx appcontext.AppContext, ...) (*models.Move, error)
- func (_m *MoveTaskOrderFetcher) GetMove(appCtx appcontext.AppContext, ...) (*models.Move, error)
- func (_m *MoveTaskOrderFetcher) ListAllMoveTaskOrders(appCtx appcontext.AppContext, ...) (models.Moves, error)
- func (_m *MoveTaskOrderFetcher) ListNewPrimeMoveTaskOrders(appCtx appcontext.AppContext, ...) (models.Moves, int, error)
- func (_m *MoveTaskOrderFetcher) ListPrimeMoveTaskOrders(appCtx appcontext.AppContext, ...) (models.Moves, error)
- func (_m *MoveTaskOrderFetcher) ListPrimeMoveTaskOrdersAmendments(appCtx appcontext.AppContext, ...) (models.Moves, services.MoveOrderAmendmentAvailableSinceCounts, error)
- type MoveTaskOrderHider
- type MoveTaskOrderUpdater
- func (_m *MoveTaskOrderUpdater) MakeAvailableToPrime(appCtx appcontext.AppContext, moveTaskOrderID uuid.UUID, eTag string, ...) (*models.Move, error)
- func (_m *MoveTaskOrderUpdater) ShowHide(appCtx appcontext.AppContext, moveTaskOrderID uuid.UUID, show *bool) (*models.Move, error)
- func (_m *MoveTaskOrderUpdater) UpdatePPMType(appCtx appcontext.AppContext, moveTaskOrderID uuid.UUID) (*models.Move, error)
- func (_m *MoveTaskOrderUpdater) UpdatePostCounselingInfo(appCtx appcontext.AppContext, moveTaskOrderID uuid.UUID, eTag string) (*models.Move, error)
- func (_m *MoveTaskOrderUpdater) UpdateReviewedBillableWeightsAt(appCtx appcontext.AppContext, moveTaskOrderID uuid.UUID, eTag string) (*models.Move, error)
- func (_m *MoveTaskOrderUpdater) UpdateStatusServiceCounselingCompleted(appCtx appcontext.AppContext, moveTaskOrderID uuid.UUID, eTag string) (*models.Move, error)
- func (_m *MoveTaskOrderUpdater) UpdateTIORemarks(appCtx appcontext.AppContext, moveTaskOrderID uuid.UUID, eTag string, ...) (*models.Move, error)
- type MoveUnlocker
- type MoveWeights
- type MovingExpenseCreator
- type MovingExpenseDeleter
- type MovingExpenseUpdater
- type OfficeListFetcher
- type OfficeUserCreator
- type OfficeUserFetcher
- type OfficeUserFetcherPop
- type OfficeUserGblocFetcher
- type OfficeUserUpdater
- type OrderFetcher
- func (_m *OrderFetcher) FetchOrder(appCtx appcontext.AppContext, orderID uuid.UUID) (*models.Order, error)
- func (_m *OrderFetcher) ListAllOrderLocations(appCtx appcontext.AppContext, officeUserID uuid.UUID, ...) ([]models.Move, error)
- func (_m *OrderFetcher) ListOrders(appCtx appcontext.AppContext, officeUserID uuid.UUID, ...) ([]models.Move, int, error)
- type OrderUpdater
- func (_m *OrderUpdater) UpdateAllowanceAsCounselor(appCtx appcontext.AppContext, orderID uuid.UUID, ...) (*models.Order, uuid.UUID, error)
- func (_m *OrderUpdater) UpdateAllowanceAsTOO(appCtx appcontext.AppContext, orderID uuid.UUID, ...) (*models.Order, uuid.UUID, error)
- func (_m *OrderUpdater) UpdateOrderAsCounselor(appCtx appcontext.AppContext, orderID uuid.UUID, ...) (*models.Order, uuid.UUID, error)
- func (_m *OrderUpdater) UpdateOrderAsTOO(appCtx appcontext.AppContext, orderID uuid.UUID, ...) (*models.Order, uuid.UUID, error)
- func (_m *OrderUpdater) UploadAmendedOrdersAsCustomer(appCtx appcontext.AppContext, userID uuid.UUID, orderID uuid.UUID, ...) (models.Upload, string, *validate.Errors, error)
- func (_m *OrderUpdater) UploadAmendedOrdersAsOffice(appCtx appcontext.AppContext, userID uuid.UUID, orderID uuid.UUID, ...) (models.Upload, string, *validate.Errors, error)
- type OrganizationListFetcher
- type PDFMerger
- type PPMCloseoutFetcher
- type PPMDocumentFetcher
- type PPMEstimator
- func (_m *PPMEstimator) CalculatePPMSITEstimatedCost(appCtx appcontext.AppContext, ppmShipment *models.PPMShipment) (*unit.Cents, error)
- func (_m *PPMEstimator) CalculatePPMSITEstimatedCostBreakdown(appCtx appcontext.AppContext, ppmShipment *models.PPMShipment) (*models.PPMSITEstimatedCostInfo, error)
- func (_m *PPMEstimator) EstimateIncentiveWithDefaultChecks(appCtx appcontext.AppContext, oldPPMShipment models.PPMShipment, ...) (*unit.Cents, *unit.Cents, error)
- func (_m *PPMEstimator) FinalIncentiveWithDefaultChecks(appCtx appcontext.AppContext, oldPPMShipment models.PPMShipment, ...) (*unit.Cents, error)
- func (_m *PPMEstimator) PriceBreakdown(appCtx appcontext.AppContext, ppmShipment *models.PPMShipment) (unit.Cents, unit.Cents, unit.Cents, unit.Cents, unit.Cents, unit.Cents, ...)
- type PPMShipmentCreator
- type PPMShipmentFetcher
- type PPMShipmentNewSubmitter
- type PPMShipmentReviewDocuments
- type PPMShipmentRouter
- func (_m *PPMShipmentRouter) SendToCustomer(appCtx appcontext.AppContext, ppmShipment *models.PPMShipment) error
- func (_m *PPMShipmentRouter) SetToDraft(appCtx appcontext.AppContext, ppmShipment *models.PPMShipment) error
- func (_m *PPMShipmentRouter) Submit(appCtx appcontext.AppContext, ppmShipment *models.PPMShipment) error
- func (_m *PPMShipmentRouter) SubmitCloseOutDocumentation(appCtx appcontext.AppContext, ppmShipment *models.PPMShipment) error
- func (_m *PPMShipmentRouter) SubmitReviewedDocuments(appCtx appcontext.AppContext, ppmShipment *models.PPMShipment) error
- type PPMShipmentUpdatedSubmitter
- type PPMShipmentUpdater
- func (_m *PPMShipmentUpdater) UpdatePPMShipmentSITEstimatedCost(appCtx appcontext.AppContext, ppmshipment *models.PPMShipment) (*models.PPMShipment, error)
- func (_m *PPMShipmentUpdater) UpdatePPMShipmentWithDefaultCheck(appCtx appcontext.AppContext, ppmshipment *models.PPMShipment, ...) (*models.PPMShipment, error)
- type PPTASReportListFetcher
- type PWSViolationsFetcher
- type PaymentPacketCreator
- type PaymentRequestCreator
- type PaymentRequestFetcher
- type PaymentRequestListFetcher
- func (_m *PaymentRequestListFetcher) FetchPaymentRequestList(appCtx appcontext.AppContext, officeUserID uuid.UUID, ...) (*models.PaymentRequests, int, error)
- func (_m *PaymentRequestListFetcher) FetchPaymentRequestListByMove(appCtx appcontext.AppContext, locator string) (*models.PaymentRequests, error)
- type PaymentRequestRecalculator
- type PaymentRequestReviewedFetcher
- type PaymentRequestReviewedProcessor
- type PaymentRequestShipmentRecalculator
- type PaymentRequestStatusUpdater
- type PaymentRequestUploadCreator
- type PaymentServiceItemStatusUpdater
- type PostalCodeValidator
- type PrimeDownloadMoveUploadPDFGenerator
- type ProgearWeightTicketCreator
- type ProgearWeightTicketDeleter
- type ProgearWeightTicketUpdater
- type QueryAssociation
- type QueryAssociations
- type QueryFilter
- type QueryOrder
- type ReportListFetcher
- type ReportViolationFetcher
- type ReportViolationsCreator
- type RequestedOfficeUserFetcher
- type RequestedOfficeUserListFetcher
- func (_m *RequestedOfficeUserListFetcher) FetchRequestedOfficeUsersCount(appCtx appcontext.AppContext, filters []services.QueryFilter) (int, error)
- func (_m *RequestedOfficeUserListFetcher) FetchRequestedOfficeUsersList(appCtx appcontext.AppContext, filters []services.QueryFilter, ...) (models.OfficeUsers, error)
- type RequestedOfficeUserUpdater
- type RoleAssociater
- type SFTPClient
- type SFTPFiler
- type SITExtensionApprover
- type SITExtensionDenier
- type SSWPPMComputer
- func (_m *SSWPPMComputer) ComputeObligations(_a0 appcontext.AppContext, _a1 models.ShipmentSummaryFormData, ...) (models.Obligations, error)
- func (_m *SSWPPMComputer) FetchDataShipmentSummaryWorksheetFormData(appCtx appcontext.AppContext, _a1 *auth.Session, ppmShipmentID uuid.UUID) (*models.ShipmentSummaryFormData, error)
- func (_m *SSWPPMComputer) FormatShipment(ppm models.PPMShipment, weightAllotment models.SSWMaxWeightEntitlement, ...) models.WorkSheetShipment
- func (_m *SSWPPMComputer) FormatValuesShipmentSummaryWorksheet(shipmentSummaryFormData models.ShipmentSummaryFormData, isPaymentPacket bool) (services.Page1Values, services.Page2Values, services.Page3Values, error)
- func (_m *SSWPPMComputer) FormatValuesShipmentSummaryWorksheetFormPage1(data models.ShipmentSummaryFormData, isPaymentPacket bool) (services.Page1Values, error)
- func (_m *SSWPPMComputer) FormatValuesShipmentSummaryWorksheetFormPage2(data models.ShipmentSummaryFormData, isPaymentPacket bool) (services.Page2Values, error)
- func (_m *SSWPPMComputer) FormatValuesShipmentSummaryWorksheetFormPage3(data models.ShipmentSummaryFormData, isPaymentPacket bool) (services.Page3Values, error)
- type SSWPPMGenerator
- type ServiceItemPricer
- type ServiceRequestDocumentUploadCreator
- type ShipmentAddressUpdateRequester
- func (_m *ShipmentAddressUpdateRequester) RequestShipmentDeliveryAddressUpdate(appCtx appcontext.AppContext, shipmentID uuid.UUID, newAddress models.Address, ...) (*models.ShipmentAddressUpdate, error)
- func (_m *ShipmentAddressUpdateRequester) ReviewShipmentAddressChange(appCtx appcontext.AppContext, shipmentID uuid.UUID, ...) (*models.ShipmentAddressUpdate, error)
- type ShipmentApprover
- type ShipmentBillableWeightCalculator
- type ShipmentCancellationRequester
- type ShipmentCreator
- type ShipmentDeleter
- type ShipmentDiversionApprover
- type ShipmentDiversionRequester
- type ShipmentRejecter
- type ShipmentReweighRequester
- type ShipmentRouter
- func (_m *ShipmentRouter) Approve(appCtx appcontext.AppContext, shipment *models.MTOShipment) error
- func (_m *ShipmentRouter) ApproveDiversion(appCtx appcontext.AppContext, shipment *models.MTOShipment) error
- func (_m *ShipmentRouter) Cancel(appCtx appcontext.AppContext, shipment *models.MTOShipment) error
- func (_m *ShipmentRouter) Reject(appCtx appcontext.AppContext, shipment *models.MTOShipment, ...) error
- func (_m *ShipmentRouter) RequestCancellation(appCtx appcontext.AppContext, shipment *models.MTOShipment) error
- func (_m *ShipmentRouter) RequestDiversion(appCtx appcontext.AppContext, shipment *models.MTOShipment, ...) error
- func (_m *ShipmentRouter) Submit(appCtx appcontext.AppContext, shipment *models.MTOShipment) error
- type ShipmentSITStatus
- func (_m *ShipmentSITStatus) CalculateShipmentSITAllowance(appCtx appcontext.AppContext, shipment models.MTOShipment) (int, error)
- func (_m *ShipmentSITStatus) CalculateShipmentSITStatus(appCtx appcontext.AppContext, shipment models.MTOShipment) (*services.SITStatus, models.MTOShipment, error)
- func (_m *ShipmentSITStatus) CalculateShipmentsSITStatuses(appCtx appcontext.AppContext, shipments []models.MTOShipment) map[string]services.SITStatus
- func (_m *ShipmentSITStatus) RetrieveShipmentSIT(appCtx appcontext.AppContext, shipment models.MTOShipment) (models.SITServiceItemGroupings, error)
- type ShipmentUpdater
- type ShipmentsPaymentSITBalance
- type SignedCertificationCreator
- type SignedCertificationUpdater
- type SitEntryDateUpdater
- type SyncadaFileProcessor
- type SyncadaSFTPReader
- type SyncadaSFTPSender
- type TableFromSliceCreator
- type TransportationAccountingCodeFetcher
- type TransportationOfficesFetcher
- func (_m *TransportationOfficesFetcher) GetAllGBLOCs(appCtx appcontext.AppContext) (*models.GBLOCs, error)
- func (_m *TransportationOfficesFetcher) GetCounselingOffices(appCtx appcontext.AppContext, dutyLocationID uuid.UUID) (*models.TransportationOffices, error)
- func (_m *TransportationOfficesFetcher) GetTransportationOffice(appCtx appcontext.AppContext, transportationOfficeID uuid.UUID, ...) (*models.TransportationOffice, error)
- func (_m *TransportationOfficesFetcher) GetTransportationOffices(appCtx appcontext.AppContext, search string, forPpm bool) (*models.TransportationOffices, error)
- type UploadCreator
- type UploadInformationFetcher
- func (_m *UploadInformationFetcher) FetchUploadInformation(appCtx appcontext.AppContext, _a1 uuid.UUID) (services.UploadInformation, error)
- func (_m *UploadInformationFetcher) FetchUploadInformationForDeletion(appCtx appcontext.AppContext, _a1 uuid.UUID, moveLocator string) (services.UploadInformation, error)
- type UploadUpdater
- type UserFetcher
- type UserPrivilegeAssociator
- type UserRoleAssociator
- type UserSessionRevocation
- type UserUpdater
- type UserUploadToPDFConverter
- type WebhookSubscriptionCreator
- type WebhookSubscriptionFetcher
- type WebhookSubscriptionUpdater
- type WeightTicketComputer
- type WeightTicketCreator
- type WeightTicketDeleter
- type WeightTicketFetcher
- type WeightTicketGenerator
- type WeightTicketUpdater
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AOAPacketCreator ¶
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, isPaymentPacket bool) (afero.File, error)
CreateAOAPacket provides a mock function with given fields: appCtx, ppmShipmentID, isPaymentPacket
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (_m *AdminUserUpdater) UpdateAdminUser(appCtx appcontext.AppContext, id uuid.UUID, payload *adminmessages.AdminUserUpdate) (*models.AdminUser, *validate.Errors, error)
UpdateAdminUser provides a mock function with given fields: appCtx, id, payload
type ApprovedSITDurationUpdateCreator ¶
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 BoatShipmentCreator ¶
BoatShipmentCreator is an autogenerated mock type for the BoatShipmentCreator type
func NewBoatShipmentCreator ¶
func NewBoatShipmentCreator(t interface { mock.TestingT Cleanup(func()) }) *BoatShipmentCreator
NewBoatShipmentCreator creates a new instance of BoatShipmentCreator. 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 (*BoatShipmentCreator) CreateBoatShipmentWithDefaultCheck ¶
func (_m *BoatShipmentCreator) CreateBoatShipmentWithDefaultCheck(appCtx appcontext.AppContext, boatshipment *models.BoatShipment) (*models.BoatShipment, error)
CreateBoatShipmentWithDefaultCheck provides a mock function with given fields: appCtx, boatshipment
type BoatShipmentFetcher ¶
BoatShipmentFetcher is an autogenerated mock type for the BoatShipmentFetcher type
func NewBoatShipmentFetcher ¶
func NewBoatShipmentFetcher(t interface { mock.TestingT Cleanup(func()) }) *BoatShipmentFetcher
NewBoatShipmentFetcher creates a new instance of BoatShipmentFetcher. 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 (*BoatShipmentFetcher) GetBoatShipment ¶
func (_m *BoatShipmentFetcher) GetBoatShipment(appCtx appcontext.AppContext, boatShipmentID uuid.UUID, eagerPreloadAssociations []string, postloadAssociations []string) (*models.BoatShipment, error)
GetBoatShipment provides a mock function with given fields: appCtx, boatShipmentID, eagerPreloadAssociations, postloadAssociations
func (*BoatShipmentFetcher) PostloadAssociations ¶
func (_m *BoatShipmentFetcher) PostloadAssociations(appCtx appcontext.AppContext, boatShipment *models.BoatShipment, postloadAssociations []string) error
PostloadAssociations provides a mock function with given fields: appCtx, boatShipment, postloadAssociations
type BoatShipmentRouter ¶
BoatShipmentRouter is an autogenerated mock type for the BoatShipmentRouter type
func NewBoatShipmentRouter ¶
func NewBoatShipmentRouter(t interface { mock.TestingT Cleanup(func()) }) *BoatShipmentRouter
NewBoatShipmentRouter creates a new instance of BoatShipmentRouter. 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 (*BoatShipmentRouter) SendToCustomer ¶
func (_m *BoatShipmentRouter) SendToCustomer(appCtx appcontext.AppContext, boatShipment *models.BoatShipment) error
SendToCustomer provides a mock function with given fields: appCtx, boatShipment
func (*BoatShipmentRouter) SetToDraft ¶
func (_m *BoatShipmentRouter) SetToDraft(appCtx appcontext.AppContext, boatShipment *models.BoatShipment) error
SetToDraft provides a mock function with given fields: appCtx, boatShipment
func (*BoatShipmentRouter) Submit ¶
func (_m *BoatShipmentRouter) Submit(appCtx appcontext.AppContext, boatShipment *models.BoatShipment) error
Submit provides a mock function with given fields: appCtx, boatShipment
func (*BoatShipmentRouter) SubmitCloseOutDocumentation ¶
func (_m *BoatShipmentRouter) SubmitCloseOutDocumentation(appCtx appcontext.AppContext, boatShipment *models.BoatShipment) error
SubmitCloseOutDocumentation provides a mock function with given fields: appCtx, boatShipment
func (*BoatShipmentRouter) SubmitReviewedDocuments ¶
func (_m *BoatShipmentRouter) SubmitReviewedDocuments(appCtx appcontext.AppContext, boatShipment *models.BoatShipment) error
SubmitReviewedDocuments provides a mock function with given fields: appCtx, boatShipment
type BoatShipmentUpdater ¶
BoatShipmentUpdater is an autogenerated mock type for the BoatShipmentUpdater type
func NewBoatShipmentUpdater ¶
func NewBoatShipmentUpdater(t interface { mock.TestingT Cleanup(func()) }) *BoatShipmentUpdater
NewBoatShipmentUpdater creates a new instance of BoatShipmentUpdater. 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 (*BoatShipmentUpdater) UpdateBoatShipmentWithDefaultCheck ¶
func (_m *BoatShipmentUpdater) UpdateBoatShipmentWithDefaultCheck(appCtx appcontext.AppContext, boatshipment *models.BoatShipment, mtoShipmentID uuid.UUID) (*models.BoatShipment, error)
UpdateBoatShipmentWithDefaultCheck provides a mock function with given fields: appCtx, boatshipment, mtoShipmentID
type ClientCertCreator ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (_m *ClientCertUpdater) UpdateClientCert(appCtx appcontext.AppContext, id uuid.UUID, payload *adminmessages.ClientCertificateUpdate) (*models.ClientCert, *validate.Errors, error)
UpdateClientCert provides a mock function with given fields: appCtx, id, payload
type CounselingServicesPricer ¶
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, lockedPriceCents *unit.Cents) (unit.Cents, services.PricingDisplayParams, error)
Price provides a mock function with given fields: appCtx, lockedPriceCents
func (*CounselingServicesPricer) PriceUsingParams ¶
func (_m *CounselingServicesPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type CustomerFetcher ¶
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 CustomerSearcher ¶
CustomerSearcher is an autogenerated mock type for the CustomerSearcher type
func NewCustomerSearcher ¶
func NewCustomerSearcher(t interface { mock.TestingT Cleanup(func()) }) *CustomerSearcher
NewCustomerSearcher creates a new instance of CustomerSearcher. 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 (*CustomerSearcher) SearchCustomers ¶
func (_m *CustomerSearcher) SearchCustomers(appCtx appcontext.AppContext, params *services.SearchCustomersParams) (models.ServiceMemberSearchResults, int, error)
SearchCustomers provides a mock function with given fields: appCtx, params
type CustomerSupportRemarkDeleter ¶
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 ¶
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 ¶
func (_m *CustomerSupportRemarkUpdater) UpdateCustomerSupportRemark(appCtx appcontext.AppContext, params customer_support_remarks.UpdateCustomerSupportRemarkForMoveParams) (*models.CustomerSupportRemark, error)
UpdateCustomerSupportRemark provides a mock function with given fields: appCtx, params
type CustomerSupportRemarksCreator ¶
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 ¶
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 ¶
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 DateSelectionChecker ¶
DateSelectionChecker is an autogenerated mock type for the DateSelectionChecker type
func NewDateSelectionChecker ¶
func NewDateSelectionChecker(t interface { mock.TestingT Cleanup(func()) }) *DateSelectionChecker
NewDateSelectionChecker creates a new instance of DateSelectionChecker. 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 (*DateSelectionChecker) IsDateWeekendHoliday ¶
func (_m *DateSelectionChecker) IsDateWeekendHoliday(appCtx appcontext.AppContext, countryCode string, date time.Time) (*services.IsDateWeekendHolidayInfo, error)
IsDateWeekendHoliday provides a mock function with given fields: appCtx, countryCode, date
type DomesticAdditionalDaysSITPricer ¶
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 ¶
func (_m *DomesticAdditionalDaysSITPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticCratingPricer ¶
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, standaloneCrate bool, standaloneCrateCap unit.Cents) (unit.Cents, services.PricingDisplayParams, error)
Price provides a mock function with given fields: appCtx, contractCode, requestedPickupDate, billedCubicFeet, servicesScheduleOrigin, standaloneCrate, standaloneCrateCap
func (*DomesticCratingPricer) PriceUsingParams ¶
func (_m *DomesticCratingPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticDestinationAdditionalDaysSITPricer ¶
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 ¶
func (_m *DomesticDestinationAdditionalDaysSITPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticDestinationFirstDaySITPricer ¶
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 ¶
func (_m *DomesticDestinationFirstDaySITPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticDestinationPricer ¶
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 ¶
func (_m *DomesticDestinationPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticDestinationSITDeliveryPricer ¶
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 ¶
func (_m *DomesticDestinationSITDeliveryPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticDestinationSITFuelSurchargePricer ¶
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 ¶
func (_m *DomesticDestinationSITFuelSurchargePricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticDestinationShuttlingPricer ¶
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 ¶
func (_m *DomesticDestinationShuttlingPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticFirstDaySITPricer ¶
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 ¶
func (_m *DomesticFirstDaySITPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticLinehaulPricer ¶
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 ¶
func (_m *DomesticLinehaulPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticNTSPackPricer ¶
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 ¶
func (_m *DomesticNTSPackPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticOriginAdditionalDaysSITPricer ¶
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 ¶
func (_m *DomesticOriginAdditionalDaysSITPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticOriginFirstDaySITPricer ¶
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 ¶
func (_m *DomesticOriginFirstDaySITPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticOriginPricer ¶
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 ¶
func (_m *DomesticOriginPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticOriginSITFuelSurchargePricer ¶
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 ¶
func (_m *DomesticOriginSITFuelSurchargePricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticOriginSITPickupPricer ¶
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 ¶
func (_m *DomesticOriginSITPickupPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticOriginShuttlingPricer ¶
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 ¶
func (_m *DomesticOriginShuttlingPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticPackPricer ¶
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 ¶
func (_m *DomesticPackPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticShorthaulPricer ¶
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 ¶
func (_m *DomesticShorthaulPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticUncratingPricer ¶
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 ¶
func (_m *DomesticUncratingPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type DomesticUnpackPricer ¶
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 ¶
func (_m *DomesticUnpackPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type ElectronicOrderCategoryCountFetcher ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
Fetcher is an autogenerated mock type for the Fetcher type
func NewFetcher ¶
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 ¶
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 ¶
func (_m *FuelSurchargePricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type GHCPaymentRequestInvoiceGenerator ¶
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 ¶
GexSender is an autogenerated mock type for the GexSender type
func NewGexSender ¶
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.
type LineOfAccountingFetcher ¶
LineOfAccountingFetcher is an autogenerated mock type for the LineOfAccountingFetcher type
func NewLineOfAccountingFetcher ¶
func NewLineOfAccountingFetcher(t interface { mock.TestingT Cleanup(func()) }) *LineOfAccountingFetcher
NewLineOfAccountingFetcher creates a new instance of LineOfAccountingFetcher. 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 (*LineOfAccountingFetcher) BuildFullLineOfAccountingString ¶
func (_m *LineOfAccountingFetcher) BuildFullLineOfAccountingString(loa models.LineOfAccounting) string
BuildFullLineOfAccountingString provides a mock function with given fields: loa
func (*LineOfAccountingFetcher) FetchLongLinesOfAccounting ¶
func (_m *LineOfAccountingFetcher) FetchLongLinesOfAccounting(departmentIndicator models.DepartmentIndicator, ordersIssueDate time.Time, tacCode string, appCtx appcontext.AppContext) ([]models.LineOfAccounting, error)
FetchLongLinesOfAccounting provides a mock function with given fields: departmentIndicator, ordersIssueDate, tacCode, appCtx
type ListFetcher ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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, diversionReason *string, eTag string) (*models.MTOShipment, error)
UpdateMTOShipmentStatus provides a mock function with given fields: appCtx, shipmentID, status, rejectionReason, diversionReason, eTag
type MTOShipmentUpdater ¶
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 ¶
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, lockedPriceCents *unit.Cents) (unit.Cents, services.PricingDisplayParams, error)
Price provides a mock function with given fields: appCtx, lockedPriceCents
func (*ManagementServicesPricer) PriceUsingParams ¶
func (_m *ManagementServicesPricer) PriceUsingParams(appCtx appcontext.AppContext, params models.PaymentServiceItemParams) (unit.Cents, services.PricingDisplayParams, error)
PriceUsingParams provides a mock function with given fields: appCtx, params
type MobileHomeShipmentCreator ¶
MobileHomeShipmentCreator is an autogenerated mock type for the MobileHomeShipmentCreator type
func NewMobileHomeShipmentCreator ¶
func NewMobileHomeShipmentCreator(t interface { mock.TestingT Cleanup(func()) }) *MobileHomeShipmentCreator
NewMobileHomeShipmentCreator creates a new instance of MobileHomeShipmentCreator. 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 (*MobileHomeShipmentCreator) CreateMobileHomeShipmentWithDefaultCheck ¶
func (_m *MobileHomeShipmentCreator) CreateMobileHomeShipmentWithDefaultCheck(appCtx appcontext.AppContext, mobileHomeshipment *models.MobileHome) (*models.MobileHome, error)
CreateMobileHomeShipmentWithDefaultCheck provides a mock function with given fields: appCtx, mobileHomeshipment
type MobileHomeShipmentFetcher ¶
MobileHomeShipmentFetcher is an autogenerated mock type for the MobileHomeShipmentFetcher type
func NewMobileHomeShipmentFetcher ¶
func NewMobileHomeShipmentFetcher(t interface { mock.TestingT Cleanup(func()) }) *MobileHomeShipmentFetcher
NewMobileHomeShipmentFetcher creates a new instance of MobileHomeShipmentFetcher. 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 (*MobileHomeShipmentFetcher) GetMobileHomeShipment ¶
func (_m *MobileHomeShipmentFetcher) GetMobileHomeShipment(appCtx appcontext.AppContext, mobileHomeShipmentID uuid.UUID, eagerPreloadAssociations []string, postloadAssociations []string) (*models.MobileHome, error)
GetMobileHomeShipment provides a mock function with given fields: appCtx, mobileHomeShipmentID, eagerPreloadAssociations, postloadAssociations
func (*MobileHomeShipmentFetcher) PostloadAssociations ¶
func (_m *MobileHomeShipmentFetcher) PostloadAssociations(appCtx appcontext.AppContext, mobileHomeShipment *models.MobileHome, postloadAssociations []string) error
PostloadAssociations provides a mock function with given fields: appCtx, mobileHomeShipment, postloadAssociations
type MobileHomeShipmentUpdater ¶
MobileHomeShipmentUpdater is an autogenerated mock type for the MobileHomeShipmentUpdater type
func NewMobileHomeShipmentUpdater ¶
func NewMobileHomeShipmentUpdater(t interface { mock.TestingT Cleanup(func()) }) *MobileHomeShipmentUpdater
NewMobileHomeShipmentUpdater creates a new instance of MobileHomeShipmentUpdater. 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 (*MobileHomeShipmentUpdater) UpdateMobileHomeShipmentWithDefaultCheck ¶
func (_m *MobileHomeShipmentUpdater) UpdateMobileHomeShipmentWithDefaultCheck(appCtx appcontext.AppContext, mobileHomeshipment *models.MobileHome, mtoShipmentID uuid.UUID) (*models.MobileHome, error)
UpdateMobileHomeShipmentWithDefaultCheck provides a mock function with given fields: appCtx, mobileHomeshipment, mtoShipmentID
type MoveExcessWeightUploader ¶
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 ¶
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
func (*MoveFetcher) FetchMovesForPPTASReports ¶
func (_m *MoveFetcher) FetchMovesForPPTASReports(appCtx appcontext.AppContext, params *services.MoveTaskOrderFetcherParams) (models.Moves, error)
FetchMovesForPPTASReports provides a mock function with given fields: appCtx, params
type MoveFinancialReviewFlagSetter ¶
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 ¶
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 ¶
func (_m *MoveHistoryFetcher) FetchMoveHistory(appCtx appcontext.AppContext, params *services.FetchMoveHistoryParams) (*models.MoveHistory, int64, error)
FetchMoveHistory provides a mock function with given fields: appCtx, params
type MoveListFetcher ¶
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 MoveLocker ¶
MoveLocker is an autogenerated mock type for the MoveLocker type
func NewMoveLocker ¶
func NewMoveLocker(t interface { mock.TestingT Cleanup(func()) }) *MoveLocker
NewMoveLocker creates a new instance of MoveLocker. 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 (*MoveLocker) LockMove ¶
func (_m *MoveLocker) LockMove(appCtx appcontext.AppContext, move *models.Move, officeUserID uuid.UUID) (*models.Move, error)
LockMove provides a mock function with given fields: appCtx, move, officeUserID
type MoveRouter ¶
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 ¶
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 ¶
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 ¶
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 ¶
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
func (*MoveTaskOrderFetcher) ListPrimeMoveTaskOrdersAmendments ¶
func (_m *MoveTaskOrderFetcher) ListPrimeMoveTaskOrdersAmendments(appCtx appcontext.AppContext, searchParams *services.MoveTaskOrderFetcherParams) (models.Moves, services.MoveOrderAmendmentAvailableSinceCounts, error)
ListPrimeMoveTaskOrdersAmendments provides a mock function with given fields: appCtx, searchParams
type MoveTaskOrderHider ¶
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 ¶
func (_m *MoveTaskOrderHider) Hide(appCtx appcontext.AppContext) (services.HiddenMoves, error)
Hide provides a mock function with given fields: appCtx
type MoveTaskOrderUpdater ¶
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 MoveUnlocker ¶
MoveUnlocker is an autogenerated mock type for the MoveUnlocker type
func NewMoveUnlocker ¶
func NewMoveUnlocker(t interface { mock.TestingT Cleanup(func()) }) *MoveUnlocker
NewMoveUnlocker creates a new instance of MoveUnlocker. 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 (*MoveUnlocker) CheckForLockedMovesAndUnlock ¶
func (_m *MoveUnlocker) CheckForLockedMovesAndUnlock(appCtx appcontext.AppContext, officeUserID uuid.UUID) error
CheckForLockedMovesAndUnlock provides a mock function with given fields: appCtx, officeUserID
func (*MoveUnlocker) UnlockMove ¶
func (_m *MoveUnlocker) UnlockMove(appCtx appcontext.AppContext, move *models.Move, officeUserID uuid.UUID) (*models.Move, error)
UnlockMove provides a mock function with given fields: appCtx, move, officeUserID
type MoveWeights ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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
func (*OfficeUserFetcherPop) FetchOfficeUsersByRoleAndOffice ¶
func (_m *OfficeUserFetcherPop) FetchOfficeUsersByRoleAndOffice(appCtx appcontext.AppContext, role roles.RoleType, officeID uuid.UUID) ([]models.OfficeUser, error)
FetchOfficeUsersByRoleAndOffice provides a mock function with given fields: appCtx, role, officeID
type OfficeUserGblocFetcher ¶
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 ¶
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 ¶
func (_m *OfficeUserUpdater) UpdateOfficeUser(appCtx appcontext.AppContext, id uuid.UUID, payload *adminmessages.OfficeUserUpdate) (*models.OfficeUser, *validate.Errors, error)
UpdateOfficeUser provides a mock function with given fields: appCtx, id, payload
type OrderFetcher ¶
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) ListAllOrderLocations ¶
func (_m *OrderFetcher) ListAllOrderLocations(appCtx appcontext.AppContext, officeUserID uuid.UUID, params *services.ListOrderParams) ([]models.Move, error)
ListAllOrderLocations provides a mock function with given fields: appCtx, officeUserID, params
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 ¶
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
func (*OrderUpdater) UploadAmendedOrdersAsOffice ¶
func (_m *OrderUpdater) UploadAmendedOrdersAsOffice(appCtx appcontext.AppContext, userID uuid.UUID, orderID uuid.UUID, file io.ReadCloser, filename string, storer storage.FileStorer) (models.Upload, string, *validate.Errors, error)
UploadAmendedOrdersAsOffice provides a mock function with given fields: appCtx, userID, orderID, file, filename, storer
type OrganizationListFetcher ¶
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 ¶
PDFMerger is an autogenerated mock type for the PDFMerger type
func NewPDFMerger ¶
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 ¶
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 ¶
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 ¶
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) CalculatePPMSITEstimatedCost ¶
func (_m *PPMEstimator) CalculatePPMSITEstimatedCost(appCtx appcontext.AppContext, ppmShipment *models.PPMShipment) (*unit.Cents, error)
CalculatePPMSITEstimatedCost provides a mock function with given fields: appCtx, ppmShipment
func (*PPMEstimator) CalculatePPMSITEstimatedCostBreakdown ¶
func (_m *PPMEstimator) CalculatePPMSITEstimatedCostBreakdown(appCtx appcontext.AppContext, ppmShipment *models.PPMShipment) (*models.PPMSITEstimatedCostInfo, error)
CalculatePPMSITEstimatedCostBreakdown provides a mock function with given fields: appCtx, ppmShipment
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
func (*PPMEstimator) PriceBreakdown ¶
func (_m *PPMEstimator) PriceBreakdown(appCtx appcontext.AppContext, ppmShipment *models.PPMShipment) (unit.Cents, unit.Cents, unit.Cents, unit.Cents, unit.Cents, unit.Cents, unit.Cents, error)
PriceBreakdown provides a mock function with given fields: appCtx, ppmShipment
type PPMShipmentCreator ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) UpdatePPMShipmentSITEstimatedCost ¶
func (_m *PPMShipmentUpdater) UpdatePPMShipmentSITEstimatedCost(appCtx appcontext.AppContext, ppmshipment *models.PPMShipment) (*models.PPMShipment, error)
UpdatePPMShipmentSITEstimatedCost provides a mock function with given fields: appCtx, ppmshipment
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 PPTASReportListFetcher ¶
PPTASReportListFetcher is an autogenerated mock type for the PPTASReportListFetcher type
func NewPPTASReportListFetcher ¶
func NewPPTASReportListFetcher(t interface { mock.TestingT Cleanup(func()) }) *PPTASReportListFetcher
NewPPTASReportListFetcher creates a new instance of PPTASReportListFetcher. 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 (*PPTASReportListFetcher) BuildPPTASReportsFromMoves ¶
func (_m *PPTASReportListFetcher) BuildPPTASReportsFromMoves(appCtx appcontext.AppContext, moves models.Moves) (models.PPTASReports, error)
BuildPPTASReportsFromMoves provides a mock function with given fields: appCtx, moves
func (*PPTASReportListFetcher) GetMovesForReportBuilder ¶
func (_m *PPTASReportListFetcher) GetMovesForReportBuilder(appCtx appcontext.AppContext, params *services.MoveTaskOrderFetcherParams) (models.Moves, error)
GetMovesForReportBuilder provides a mock function with given fields: appCtx, params
type PWSViolationsFetcher ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ReportListFetcher ¶
ReportListFetcher is an autogenerated mock type for the ReportListFetcher type
func NewReportListFetcher ¶
func NewReportListFetcher(t interface { mock.TestingT Cleanup(func()) }) *ReportListFetcher
NewReportListFetcher creates a new instance of ReportListFetcher. 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 (*ReportListFetcher) BuildReportsFromMoves ¶
func (_m *ReportListFetcher) BuildReportsFromMoves(appCtx appcontext.AppContext, params *services.MoveTaskOrderFetcherParams) (models.PPTASReports, error)
BuildReportsFromMoves provides a mock function with given fields: appCtx, params
type ReportViolationFetcher ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (_m *RequestedOfficeUserUpdater) UpdateRequestedOfficeUser(appCtx appcontext.AppContext, id uuid.UUID, payload *adminmessages.RequestedOfficeUserUpdate) (*models.OfficeUser, *validate.Errors, error)
UpdateRequestedOfficeUser provides a mock function with given fields: appCtx, id, payload
type RoleAssociater ¶
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) FetchRolesForUser ¶
func (_m *RoleAssociater) FetchRolesForUser(appCtx appcontext.AppContext, userID uuid.UUID) (roles.Roles, error)
FetchRolesForUser provides a mock function with given fields: appCtx, userID
type SFTPClient ¶
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 ¶
SFTPFiler is an autogenerated mock type for the SFTPFiler type
func NewSFTPFiler ¶
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.
type SITExtensionApprover ¶
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 ¶
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 ¶
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 ¶
func (_m *SSWPPMComputer) ComputeObligations(_a0 appcontext.AppContext, _a1 models.ShipmentSummaryFormData, _a2 route.Planner) (models.Obligations, error)
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) (*models.ShipmentSummaryFormData, error)
FetchDataShipmentSummaryWorksheetFormData provides a mock function with given fields: appCtx, _a1, ppmShipmentID
func (*SSWPPMComputer) FormatShipment ¶
func (_m *SSWPPMComputer) FormatShipment(ppm models.PPMShipment, weightAllotment models.SSWMaxWeightEntitlement, isPaymentPacket bool) models.WorkSheetShipment
FormatShipment provides a mock function with given fields: ppm, weightAllotment, isPaymentPacket
func (*SSWPPMComputer) FormatValuesShipmentSummaryWorksheet ¶
func (_m *SSWPPMComputer) FormatValuesShipmentSummaryWorksheet(shipmentSummaryFormData models.ShipmentSummaryFormData, isPaymentPacket bool) (services.Page1Values, services.Page2Values, services.Page3Values, error)
FormatValuesShipmentSummaryWorksheet provides a mock function with given fields: shipmentSummaryFormData, isPaymentPacket
func (*SSWPPMComputer) FormatValuesShipmentSummaryWorksheetFormPage1 ¶
func (_m *SSWPPMComputer) FormatValuesShipmentSummaryWorksheetFormPage1(data models.ShipmentSummaryFormData, isPaymentPacket bool) (services.Page1Values, error)
FormatValuesShipmentSummaryWorksheetFormPage1 provides a mock function with given fields: data, isPaymentPacket
func (*SSWPPMComputer) FormatValuesShipmentSummaryWorksheetFormPage2 ¶
func (_m *SSWPPMComputer) FormatValuesShipmentSummaryWorksheetFormPage2(data models.ShipmentSummaryFormData, isPaymentPacket bool) (services.Page2Values, error)
FormatValuesShipmentSummaryWorksheetFormPage2 provides a mock function with given fields: data, isPaymentPacket
func (*SSWPPMComputer) FormatValuesShipmentSummaryWorksheetFormPage3 ¶
func (_m *SSWPPMComputer) FormatValuesShipmentSummaryWorksheetFormPage3(data models.ShipmentSummaryFormData, isPaymentPacket bool) (services.Page3Values, error)
FormatValuesShipmentSummaryWorksheetFormPage3 provides a mock function with given fields: data, isPaymentPacket
type SSWPPMGenerator ¶
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 ¶
func (_m *SSWPPMGenerator) FillSSWPDFForm(_a0 services.Page1Values, _a1 services.Page2Values, _a2 services.Page3Values) (afero.File, *pdfcpu.PDFInfo, error)
FillSSWPDFForm provides a mock function with given fields: _a0, _a1, _a2
type ServiceItemPricer ¶
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 ¶
func (_m *ServiceItemPricer) PriceServiceItem(appCtx appcontext.AppContext, item models.PaymentServiceItem) (unit.Cents, models.PaymentServiceItemParams, error)
PriceServiceItem provides a mock function with given fields: appCtx, item
type ServiceRequestDocumentUploadCreator ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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, diversionReason *string) (*models.MTOShipment, error)
RequestShipmentDiversion provides a mock function with given fields: appCtx, shipmentID, eTag, diversionReason
type ShipmentRejecter ¶
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 ¶
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 ¶
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, diversionReason *string) error
RequestDiversion provides a mock function with given fields: appCtx, shipment, diversionReason
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 ¶
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, models.MTOShipment, 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
func (*ShipmentSITStatus) RetrieveShipmentSIT ¶
func (_m *ShipmentSITStatus) RetrieveShipmentSIT(appCtx appcontext.AppContext, shipment models.MTOShipment) (models.SITServiceItemGroupings, error)
RetrieveShipmentSIT provides a mock function with given fields: appCtx, shipment
type ShipmentUpdater ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 TransportationAccountingCodeFetcher ¶
TransportationAccountingCodeFetcher is an autogenerated mock type for the TransportationAccountingCodeFetcher type
func NewTransportationAccountingCodeFetcher ¶
func NewTransportationAccountingCodeFetcher(t interface { mock.TestingT Cleanup(func()) }) *TransportationAccountingCodeFetcher
NewTransportationAccountingCodeFetcher creates a new instance of TransportationAccountingCodeFetcher. 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 (*TransportationAccountingCodeFetcher) FetchOrderTransportationAccountingCodes ¶
func (_m *TransportationAccountingCodeFetcher) FetchOrderTransportationAccountingCodes(departmentIndicator models.DepartmentIndicator, ordersIssueDate time.Time, tacCode string, appCtx appcontext.AppContext) ([]models.TransportationAccountingCode, error)
FetchOrderTransportationAccountingCodes provides a mock function with given fields: departmentIndicator, ordersIssueDate, tacCode, appCtx
type TransportationOfficesFetcher ¶
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) GetAllGBLOCs ¶
func (_m *TransportationOfficesFetcher) GetAllGBLOCs(appCtx appcontext.AppContext) (*models.GBLOCs, error)
GetAllGBLOCs provides a mock function with given fields: appCtx
func (*TransportationOfficesFetcher) GetCounselingOffices ¶
func (_m *TransportationOfficesFetcher) GetCounselingOffices(appCtx appcontext.AppContext, dutyLocationID uuid.UUID) (*models.TransportationOffices, error)
GetCounselingOffices provides a mock function with given fields: appCtx, dutyLocationID
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, forPpm bool) (*models.TransportationOffices, error)
GetTransportationOffices provides a mock function with given fields: appCtx, search, forPpm
type UploadCreator ¶
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 ¶
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 UploadUpdater ¶
UploadUpdater is an autogenerated mock type for the UploadUpdater type
func NewUploadUpdater ¶
func NewUploadUpdater(t interface { mock.TestingT Cleanup(func()) }) *UploadUpdater
NewUploadUpdater creates a new instance of UploadUpdater. 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 (*UploadUpdater) UpdateUpload ¶
func (_m *UploadUpdater) UpdateUpload(appCtx appcontext.AppContext, file io.ReadCloser, uploadFilename string, uploadType models.UploadType) (*models.Upload, error)
UpdateUpload provides a mock function with given fields: appCtx, file, uploadFilename, uploadType
type UserFetcher ¶
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 ¶
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 ¶
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, *validate.Errors, error)
UpdateUserRoles provides a mock function with given fields: appCtx, userID, _a2
type UserSessionRevocation ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 WeightTicketComputer ¶
WeightTicketComputer is an autogenerated mock type for the WeightTicketComputer type
func NewWeightTicketComputer ¶
func NewWeightTicketComputer(t interface { mock.TestingT Cleanup(func()) }) *WeightTicketComputer
NewWeightTicketComputer creates a new instance of WeightTicketComputer. 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 (*WeightTicketComputer) ParseWeightEstimatorExcelFile ¶
func (_m *WeightTicketComputer) ParseWeightEstimatorExcelFile(appCtx appcontext.AppContext, file io.ReadCloser) (*services.WeightEstimatorPages, error)
ParseWeightEstimatorExcelFile provides a mock function with given fields: appCtx, file
type WeightTicketCreator ¶
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 ¶
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 ¶
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 WeightTicketGenerator ¶
WeightTicketGenerator is an autogenerated mock type for the WeightTicketGenerator type
func NewWeightTicketGenerator ¶
func NewWeightTicketGenerator(t interface { mock.TestingT Cleanup(func()) }) *WeightTicketGenerator
NewWeightTicketGenerator creates a new instance of WeightTicketGenerator. 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 (*WeightTicketGenerator) FillWeightEstimatorPDFForm ¶
func (_m *WeightTicketGenerator) FillWeightEstimatorPDFForm(PageValues services.WeightEstimatorPages, fileName string) (afero.File, *pdfcpu.PDFInfo, error)
FillWeightEstimatorPDFForm provides a mock function with given fields: PageValues, fileName
type WeightTicketUpdater ¶
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 ¶
- AOAPacketCreator.go
- AdminUserCreator.go
- AdminUserFetcher.go
- AdminUserListFetcher.go
- AdminUserUpdater.go
- ApprovedSITDurationUpdateCreator.go
- BoatShipmentCreator.go
- BoatShipmentFetcher.go
- BoatShipmentRouter.go
- BoatShipmentUpdater.go
- ClientCertCreator.go
- ClientCertFetcher.go
- ClientCertListFetcher.go
- ClientCertRemover.go
- ClientCertUpdater.go
- CounselingServicesPricer.go
- CustomerFetcher.go
- CustomerSearcher.go
- CustomerSupportRemarkDeleter.go
- CustomerSupportRemarkUpdater.go
- CustomerSupportRemarksCreator.go
- CustomerSupportRemarksFetcher.go
- CustomerUpdater.go
- DateSelectionChecker.go
- DomesticAdditionalDaysSITPricer.go
- DomesticCratingPricer.go
- DomesticDestinationAdditionalDaysSITPricer.go
- DomesticDestinationFirstDaySITPricer.go
- DomesticDestinationPricer.go
- DomesticDestinationSITDeliveryPricer.go
- DomesticDestinationSITFuelSurchargePricer.go
- DomesticDestinationShuttlingPricer.go
- DomesticFirstDaySITPricer.go
- DomesticLinehaulPricer.go
- DomesticNTSPackPricer.go
- DomesticOriginAdditionalDaysSITPricer.go
- DomesticOriginFirstDaySITPricer.go
- DomesticOriginPricer.go
- DomesticOriginSITFuelSurchargePricer.go
- DomesticOriginSITPickupPricer.go
- DomesticOriginShuttlingPricer.go
- DomesticPackPricer.go
- DomesticShorthaulPricer.go
- DomesticUncratingPricer.go
- DomesticUnpackPricer.go
- ElectronicOrderCategoryCountFetcher.go
- ElectronicOrderListFetcher.go
- EvaluationReportCreator.go
- EvaluationReportDeleter.go
- EvaluationReportFetcher.go
- EvaluationReportUpdater.go
- ExcessWeightRiskManager.go
- FeatureFlagFetcher.go
- Fetcher.go
- FuelSurchargePricer.go
- GHCPaymentRequestInvoiceGenerator.go
- GexSender.go
- LineOfAccountingFetcher.go
- ListFetcher.go
- MTOAgentCreator.go
- MTOAgentUpdater.go
- MTOServiceItemCreator.go
- MTOServiceItemFetcher.go
- MTOServiceItemUpdater.go
- MTOShipmentCreator.go
- MTOShipmentFetcher.go
- MTOShipmentStatusUpdater.go
- MTOShipmentUpdater.go
- ManagementServicesPricer.go
- MobileHomeShipmentCreator.go
- MobileHomeShipmentFetcher.go
- MobileHomeShipmentUpdater.go
- MoveExcessWeightUploader.go
- MoveFetcher.go
- MoveFinancialReviewFlagSetter.go
- MoveHistoryFetcher.go
- MoveListFetcher.go
- MoveLocker.go
- MoveRouter.go
- MoveSearcher.go
- MoveTaskOrderChecker.go
- MoveTaskOrderCreator.go
- MoveTaskOrderFetcher.go
- MoveTaskOrderHider.go
- MoveTaskOrderUpdater.go
- MoveUnlocker.go
- MoveWeights.go
- MovingExpenseCreator.go
- MovingExpenseDeleter.go
- MovingExpenseUpdater.go
- OfficeListFetcher.go
- OfficeUserCreator.go
- OfficeUserFetcher.go
- OfficeUserFetcherPop.go
- OfficeUserGblocFetcher.go
- OfficeUserUpdater.go
- OrderFetcher.go
- OrderUpdater.go
- OrganizationListFetcher.go
- PDFMerger.go
- PPMCloseoutFetcher.go
- PPMDocumentFetcher.go
- PPMEstimator.go
- PPMShipmentCreator.go
- PPMShipmentFetcher.go
- PPMShipmentNewSubmitter.go
- PPMShipmentReviewDocuments.go
- PPMShipmentRouter.go
- PPMShipmentUpdatedSubmitter.go
- PPMShipmentUpdater.go
- PPTASReportListFetcher.go
- PWSViolationsFetcher.go
- PaymentPacketCreator.go
- PaymentRequestCreator.go
- PaymentRequestFetcher.go
- PaymentRequestListFetcher.go
- PaymentRequestRecalculator.go
- PaymentRequestReviewedFetcher.go
- PaymentRequestReviewedProcessor.go
- PaymentRequestShipmentRecalculator.go
- PaymentRequestStatusUpdater.go
- PaymentRequestUploadCreator.go
- PaymentServiceItemStatusUpdater.go
- PostalCodeValidator.go
- PrimeDownloadMoveUploadPDFGenerator.go
- ProgearWeightTicketCreator.go
- ProgearWeightTicketDeleter.go
- ProgearWeightTicketUpdater.go
- QueryAssociation.go
- QueryAssociations.go
- QueryFilter.go
- QueryOrder.go
- ReportListFetcher.go
- ReportViolationFetcher.go
- ReportViolationsCreator.go
- RequestedOfficeUserFetcher.go
- RequestedOfficeUserListFetcher.go
- RequestedOfficeUserUpdater.go
- RoleAssociater.go
- SFTPClient.go
- SFTPFiler.go
- SITExtensionApprover.go
- SITExtensionDenier.go
- SSWPPMComputer.go
- SSWPPMGenerator.go
- ServiceItemPricer.go
- ServiceRequestDocumentUploadCreator.go
- ShipmentAddressUpdateRequester.go
- ShipmentApprover.go
- ShipmentBillableWeightCalculator.go
- ShipmentCancellationRequester.go
- ShipmentCreator.go
- ShipmentDeleter.go
- ShipmentDiversionApprover.go
- ShipmentDiversionRequester.go
- ShipmentRejecter.go
- ShipmentReweighRequester.go
- ShipmentRouter.go
- ShipmentSITStatus.go
- ShipmentUpdater.go
- ShipmentsPaymentSITBalance.go
- SignedCertificationCreator.go
- SignedCertificationUpdater.go
- SitEntryDateUpdater.go
- SyncadaFileProcessor.go
- SyncadaSFTPReader.go
- SyncadaSFTPSender.go
- TableFromSliceCreator.go
- TransportationAccountingCodeFetcher.go
- TransportationOfficesFetcher.go
- UploadCreator.go
- UploadInformationFetcher.go
- UploadUpdater.go
- UserFetcher.go
- UserPrivilegeAssociator.go
- UserRoleAssociator.go
- UserSessionRevocation.go
- UserUpdater.go
- UserUploadToPDFConverter.go
- WebhookSubscriptionCreator.go
- WebhookSubscriptionFetcher.go
- WebhookSubscriptionUpdater.go
- WeightTicketComputer.go
- WeightTicketCreator.go
- WeightTicketDeleter.go
- WeightTicketFetcher.go
- WeightTicketGenerator.go
- WeightTicketUpdater.go