commerce_inventory.InventoryCheckItemAvailability

Constructor for InventoryCheckItemAvailability.

ParamDescription
onHand- on hand
availableToFulfill- available to fulfill
availableToOrder- available to order
quantityToCheck- quantity to check
inventoryDimension- inventory dimension
productId- product id
locationSourceId- location source id
locationSourceType- location source type

Gets product id.

TypeDescription
IDproduct id

Gets on hand.

TypeDescription
Doublethe on hand

Gets available to fulfill.

TypeDescription
Doubleavailable to fulfill

Gets available to order.

TypeDescription
Doubleavailable to order

Gets location source id.

TypeDescription
IDlocation source id.

Gets inventory source type Possibles values LOCATION or LOCATION_GROUP otherwise an error will be return

TypeDescription
Stringlocation source id

Gets quantity to check

TypeDescription
Doublequantity to check.

Gets inventory dimension Possibles values ON_HAND, AVAILABLE_TO_FULFILL, AVAILABLE_TO_ORDER otherwise an error will be return

TypeDescription
Stringinventory dimension

Gets is available.

TypeDescription
Booleanis available.

Sets Is Available

ParamDescription
IsAvailable

Gets error message

TypeDescription
Stringerror message.

Sets error message

ParamDescription
errormessage