Product Transaction
data class ProductTransaction(val transactionUid: String? = null, val transactionType: ProductTransactionType, val quantity: Double, val oldQuantity: Double? = null, val newQuantity: Double? = null, val fromLocationUid: String? = null, val fromLocationName: String? = null, val toLocationUid: String? = null, val toLocationName: String? = null, val moduleName: String? = null, val moduleUid: String? = null, val createdByUid: String? = null, val createdAt: String, val transactionDetails: ProductTransactionDetails? = null)
Domain model representing a product transaction.
Constructors
Link copied to clipboard
constructor(transactionUid: String? = null, transactionType: ProductTransactionType, quantity: Double, oldQuantity: Double? = null, newQuantity: Double? = null, fromLocationUid: String? = null, fromLocationName: String? = null, toLocationUid: String? = null, toLocationName: String? = null, moduleName: String? = null, moduleUid: String? = null, createdByUid: String? = null, createdAt: String, transactionDetails: ProductTransactionDetails? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Get transaction display string.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Check if transaction is positive (increases inventory).
Link copied to clipboard
Get location display string.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard