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

Returns 

TypeDescription
StringLocation source ID

global Double getQuantityToCheck() 

Gets quantity to check.

Returns 

TypeDescription
DoubleQuantity to check.

global String getInventoryDimension() 

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

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

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!