Interchange6::Schema::Result::Inventory
The Inventory class is used to store current stock levels for products.
The SKU of the product.
Primary key and foreign constraint on "sku" in Interchange6::Schema::Result::Product via "product" relationship.
This is the quantity currently held in stock.
Defaults to 0.
Type: belongs_to
Related object: Interchange6::Schema::Result::Product
Atomically reduce "quantity" by argument or by 1 if argument is not defined. Returns new value of "quantity".
Atomically increase "quantity" by argument or by 1 if argument is not defined. Returns new value of "quantity".
To install Interchange6::Schema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Interchange6::Schema
CPAN shell
perl -MCPAN -e shell install Interchange6::Schema
For more information on module installation, please visit the detailed CPAN module installation guide.