![]() |
![]()
| ![]() |
![]()
NAMEInterchange6::Schema::Result::Inventory DESCRIPTIONThe Inventory class is used to store current stock levels for products. ACCESSORSskuThe SKU of the product. Primary key and foreign constraint on "sku" in Interchange6::Schema::Result::Product via "product" relationship. quantityThis is the quantity currently held in stock. Defaults to 0. RELATIONSproductType: belongs_to Related object: Interchange6::Schema::Result::Product METHODSdecrement( $quantity )Atomically reduce "quantity" by argument or by 1 if argument is not defined. Returns new value of "quantity". increment( $quantity )Atomically increase "quantity" by argument or by 1 if argument is not defined. Returns new value of "quantity".
|