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 possible values: Location or LocationGroup. Returns an error if any other value is provided.

TypeDescription
StringLocation source ID

Gets quantity to check.

TypeDescription
DoubleQuantity to check.

Gets inventory dimension possible values: OnHand, AvailableToFulfill, AvailableToOrder. Returns an error if any other value is provided.

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.