StockMovement
StockMovement
A StockMovement is created whenever stock of a particular ProductVariant goes in or out.
Signature
class StockMovement extends VendureEntity {
readonly @Column({ nullable: false, type: 'varchar' })
readonly type: StockMovementType;
@ManyToOne(type => ProductVariant, variant => variant.stockMovements)
productVariant: ProductVariant;
@Column()
quantity: number;
}
Extends
Members
type
readonly property
type:
StockMovementType
productVariant
property
type:
ProductVariant
quantity
property
type:
number