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 possible values: Location or LocationGroup. Returns an error if any other value is provided.
| Type | Description |
|---|---|
String | Location source ID |
Gets quantity to check.
| Type | Description |
|---|---|
Double | Quantity to check. |
Gets inventory dimension possible values: OnHand, AvailableToFulfill, AvailableToOrder. Returns an error if any other value is provided.
| 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. |