ProductLocation

data class ProductLocation(val locationUid: String? = null, val locationName: String, val quantity: Double = 0.0, val minQuantity: Double = 0.0, val serialNumbers: List<String> = emptyList(), val isDeleted: Boolean = false)

Domain model representing product location availability.

Constructors

Link copied to clipboard
constructor(locationUid: String? = null, locationName: String, quantity: Double = 0.0, minQuantity: Double = 0.0, serialNumbers: List<String> = emptyList(), isDeleted: Boolean = false)

Properties

Link copied to clipboard

Check if location has stock.

Link copied to clipboard
val isDeleted: Boolean = false
Link copied to clipboard

Check if location is low stock.

Link copied to clipboard
Link copied to clipboard
val locationUid: String? = null
Link copied to clipboard
val minQuantity: Double = 0.0
Link copied to clipboard
val quantity: Double = 0.0
Link copied to clipboard

Get serial number count.

Link copied to clipboard
Link copied to clipboard

Get stock status for this location.