Class SkuInventoryReservationRequest

  • All Implemented Interfaces:
    Serializable

    public class SkuInventoryReservationRequest
    extends Object
    implements Serializable
    Container to allow serialization and transport of specific inventory reservation requests.
    Author:
    Kelly Tisdell (ktisdell)
    See Also:
    Serialized Form
    • Constructor Detail

      • SkuInventoryReservationRequest

        public SkuInventoryReservationRequest()
    • Method Detail

      • getReservationRequestType

        public String 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

        public String getSkuReferenceFieldType()
        Indicates how we should be looking up SkuInventory (by which field) with respect to skuReferenceValue. Default allowed values are:

        SKU_CODE (default)

        SKU_EXTERNAL_ID

        UPC

        EAN

        GTIN

      • setReservationRequestType

        public void setReservationRequestType​(String reservationRequestType)
        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

        public void setSkuReferenceFieldType​(String skuReferenceFieldType)
        Indicates how we should be looking up SkuInventory (by which field) with respect to skuReferenceValue. Default allowed values are:

        SKU_CODE (default)

        SKU_EXTERNAL_ID

        UPC

        EAN

        GTIN

      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object