commerce_inventory.InventoryCheckItemAvailability
Constructor for InventoryCheckItemAvailability.
Param | Description |
---|---|
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.
Type | Description |
---|---|
ID | product id |
Gets on hand.
Type | Description |
---|---|
Double | the on hand |
Gets available to fulfill.
Type | Description |
---|---|
Double | available to fulfill |
Gets available to order.
Type | Description |
---|---|
Double | available to order |
Gets location source id.
Type | Description |
---|---|
ID | location source id. |
Gets inventory source type Possibles values LOCATION or LOCATION_GROUP otherwise an error will be return
Type | Description |
---|---|
String | location source id |
Gets quantity to check
Type | Description |
---|---|
Double | quantity to check. |
Gets inventory dimension Possibles values ON_HAND, AVAILABLE_TO_FULFILL, AVAILABLE_TO_ORDER otherwise an error will be return
Type | Description |
---|---|
String | inventory dimension |
Gets is available.
Type | Description |
---|---|
Boolean | is available. |
Sets Is Available
Param | Description |
---|---|
Is | Available |
Gets error message
Type | Description |
---|---|
String | error message. |
Sets error message
Param | Description |
---|---|
error | message |