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 booleanbooleanLogically 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.inthashCode()voidsetReservationRequestGroups(List<SkuInventoryReservationRequestGroup> reservationRequestGroups) Logically separate groups into pickup or ship groups, along with items to be adjusted.voidsetReservationRequestType(String reservationRequestType) Indicates if the Inventory Reservation Request is a HARD or SOFT request.voidsetSkuReferenceFieldType(String skuReferenceFieldType) Indicates how we should be looking upSkuInventory(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 upSkuInventory(by which field) with respect toskuReferenceValue. Default allowed values are:SKU_CODE(default)SKU_EXTERNAL_IDUPCEANGTIN -
getReservationRequestGroups
Logically separate groups into pickup or ship groups, along with items to be adjusted. EachSkuInventoryReservationRequestGroupis 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 upSkuInventory(by which field) with respect toskuReferenceValue. Default allowed values are:SKU_CODE(default)SKU_EXTERNAL_IDUPCEANGTIN -
setReservationRequestGroups
public void setReservationRequestGroups(List<SkuInventoryReservationRequestGroup> reservationRequestGroups) Logically separate groups into pickup or ship groups, along with items to be adjusted. EachSkuInventoryReservationRequestGroupis loosely correlated with a Fulfillment Group in the Cart domain. -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-