commerce_inventory.InventoryCheckItemAvailability

Constructors 

global InventoryCheckItemAvailability(Double onHand, Double availableToFulfill, Double availableToOrder, Double quantityToCheck, String inventoryDimension, String productId, String locationSourceId, String locationSourceType) 

Constructor for InventoryCheckItemAvailability.

Parameters 

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

Methods 

global ID getProductId() 

Gets product id.

Returns 

TypeDescription
IDproduct id

global Double getOnHand() 

Gets on hand.

Returns 

TypeDescription
Doublethe on hand

global Double getAvailableToFulfill() 

Gets available to fulfill.

Returns 

TypeDescription
Doubleavailable to fulfill

global Double getAvailableToOrder() 

Gets available to order.

Returns 

TypeDescription
Doubleavailable to order

global ID getLocationSourceId() 

Gets location source id.

Returns 

TypeDescription
IDlocation source id.

global String getLocationSourceType() 

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

Returns 

TypeDescription
Stringlocation source id

global Double getQuantityToCheck() 

Gets quantity to check

Returns 

TypeDescription
Doublequantity to check.

global String getInventoryDimension() 

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

Returns 

TypeDescription
Stringinventory dimension

global Boolean isAvailable() 

Gets is available.

Returns 

TypeDescription
Booleanis available.

global void setAvailable(Boolean available) 

Sets Is Available

Parameters 

ParamDescription
IsAvailable

global String getErrorMessage() 

Gets error message

Returns 

TypeDescription
Stringerror message.

global void setErrorMessage(String errorMessage) 

Sets error message

Parameters 

ParamDescription
errormessage

public Integer hashCode() 

public Boolean equals(Object other) 


Newer Version Available

This content describes an older version of this product. View Latest