Class SkuInventoryReservationRequest
java.lang.Object
com.broadleafcommerce.inventory.domain.SkuInventoryReservationRequest
- All Implemented Interfaces:
Serializable
Container to allow serialization and transport of specific inventory reservation requests.
- Author:
- Kelly Tisdell (ktisdell)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
An external ID for a sku inventory reservation request that can be used to notify external systems of changes related to this request.Logically separate groups into pickup or ship groups, along with items to be adjusted.Indicates if the Inventory Reservation Request is a HARD or SOFT request.Indicates how we should be looking upSkuInventory
(by which field) with respect toskuReferenceValue
.int
hashCode()
void
setRequestId
(String requestId) An external ID for a sku inventory reservation request that can be used to notify external systems of changes related to this request.void
setReservationRequestGroups
(List<SkuInventoryReservationRequestGroup> reservationRequestGroups) Logically separate groups into pickup or ship groups, along with items to be adjusted.void
setReservationRequestType
(String reservationRequestType) Indicates if the Inventory Reservation Request is a HARD or SOFT request.void
setSkuReferenceFieldType
(String skuReferenceFieldType) Indicates how we should be looking upSkuInventory
(by which field) with respect toskuReferenceValue
.toString()
-
Constructor Details
-
SkuInventoryReservationRequest
public SkuInventoryReservationRequest()
-
-
Method Details
-
getRequestId
An external ID for a sku inventory reservation request that can be used to notify external systems of changes related to this request. By default, this is set to a cart or order ID. -
getReservationRequestType
Indicates if the Inventory Reservation Request is a HARD or SOFT request. Soft requests are temporary and may be reversed if a HARD reservation is not eventually created. SOFT requests typically happen prior to payment or finalizing checkout. HARD requests are typically done after payment or finalizing checkout. -
getSkuReferenceFieldType
Indicates how we should be looking upSkuInventory
(by which field) with respect toskuReferenceValue
. Default allowed values are:SKU_CODE
(default)SKU_EXTERNAL_ID
UPC
EAN
GTIN
-
getReservationRequestGroups
Logically separate groups into pickup or ship groups, along with items to be adjusted. EachSkuInventoryReservationRequestGroup
is loosely correlated with a Fulfillment Group in the Cart domain. -
setRequestId
An external ID for a sku inventory reservation request that can be used to notify external systems of changes related to this request. By default, this is set to a cart or order ID. -
setReservationRequestType
Indicates if the Inventory Reservation Request is a HARD or SOFT request. Soft requests are temporary and may be reversed if a HARD reservation is not eventually created. SOFT requests typically happen prior to payment or finalizing checkout. HARD requests are typically done after payment or finalizing checkout. -
setSkuReferenceFieldType
Indicates how we should be looking upSkuInventory
(by which field) with respect toskuReferenceValue
. Default allowed values are:SKU_CODE
(default)SKU_EXTERNAL_ID
UPC
EAN
GTIN
-
setReservationRequestGroups
public void setReservationRequestGroups(List<SkuInventoryReservationRequestGroup> reservationRequestGroups) Logically separate groups into pickup or ship groups, along with items to be adjusted. EachSkuInventoryReservationRequestGroup
is loosely correlated with a Fulfillment Group in the Cart domain. -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-