Class SkuInventoryReservationRequest
java.lang.Object
com.broadleafcommerce.cartoperation.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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
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 up SKU Inventory (by which field) with respect toskuReferenceValue
.int
hashCode()
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 up SKU Inventory (by which field) with respect toskuReferenceValue
.toString()
-
Constructor Details
-
SkuInventoryReservationRequest
public SkuInventoryReservationRequest()
-
-
Method Details
-
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 up SKU Inventory (by which field) with respect toskuReferenceValue
. Default allowed values are:SKU_CONTEXT_ID
SKU_EXTERNAL_ID
SKU_CODE
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. -
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 up SKU Inventory (by which field) with respect toskuReferenceValue
. Default allowed values are:SKU_CONTEXT_ID
SKU_EXTERNAL_ID
SKU_CODE
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()
-