ShipmentUploadService
interface ShipmentUploadService
Types
Link copied to clipboard
data class BaseStatus(val stage: ShipmentUploadService.Stage, val message: String? = null, val shipmentId: String? = null, val scanId: String? = null) : ShipmentUploadService.Status
Link copied to clipboard
data class CurrentStatus(val queueId: String, val stage: ShipmentUploadService.Stage, val message: String? = null, val shipmentId: String? = null, val scanId: String? = null) : ShipmentUploadService.Status
Link copied to clipboard
data class DocumentStatus(val stage: ShipmentUploadService.Stage, val message: String? = null, val shipmentId: String? = null, val scanId: String? = null, val uploadJobId: String? = null) : ShipmentUploadService.Status
Properties
Functions
Link copied to clipboard
Link copied to clipboard
abstract fun queueDocumentUpload(imageData: ByteArray, type: ShipmentScanType.DocumentType = ShipmentScanType.DocumentType.DOCUMENT, shipmentId: String? = null): String
Link copied to clipboard
abstract fun queueObjectUpload(dimensions: Dimensions?, weight: Float?, freightClass: String?, locationData: LocationData?, barcodeData: List<BaseBarcode>, scannerFolderId: String, jsonMetadata: Map<String, String>, validationResult: SnapshotValidation, shipmentId: String? = null): String
Link copied to clipboard