Class WebShoppingCart
- java.lang.Object
-
- org.apache.ofbiz.order.shoppingcart.ShoppingCart
-
- org.apache.ofbiz.order.shoppingcart.WebShoppingCart
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<ShoppingCartItem>
public class WebShoppingCart extends ShoppingCart
WebShoppingCart.java Extension ofShoppingCart
class which provides web presentation layer specific functionality related specifically to user session information.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.ofbiz.order.shoppingcart.ShoppingCart
ShoppingCart.CartPaymentInfo, ShoppingCart.CartShipInfo, ShoppingCart.ProductPromoUseInfo, ShoppingCart.ShoppingCartItemGroup
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.order.shoppingcart.ShoppingCart
ALL, autoOrderShoppingListId, autoUserLogin, billFromVendorPartyId, billToCustomerPartyId, cancelBackOrderDate, currencyUom, doPromotions, EMPTY_ONLY, endUserCustomerPartyId, facilityId, FILLED_ONLY, generalRounding, holdOrder, locale, module, nextGroupNumber, orderDate, orderPartyId, paymentInfo, placingCustomerPartyId, productStoreId, resource_error, rounding, scale, shipFromVendorPartyId, shipToCustomerPartyId, supplierAgentPartyId, taxCalcScale, taxFinalScale, taxRounding, terminalId, transactionId, userLogin, webSiteId
-
-
Constructor Summary
Constructors Constructor Description WebShoppingCart(javax.servlet.http.HttpServletRequest request)
WebShoppingCart(javax.servlet.http.HttpServletRequest request, java.util.Locale locale, java.lang.String currencyUom)
WebShoppingCart(ShoppingCart cart)
Creates a new cloned ShoppingCart Object.
-
Method Summary
-
Methods inherited from class org.apache.ofbiz.order.shoppingcart.ShoppingCart
addAdditionalPartyRole, addAdjustment, addContactMech, addFreeShippingProductPromoAction, addInternalOrderNote, addItem, addItemGroup, addItemGroup, addItemToEnd, addItemToEnd, addItemToEnd, addItemToEnd, addItemToEnd, addItemToEnd, addItemToEnd, addItemToEnd, addItemToEnd, addItemToEnd, addNonProductItem, addOrderNote, addOrderTerm, addOrderTerm, addOrderTerm, addOrderTerm, addOrIncreaseItem, addOrIncreaseItem, addOrIncreaseItem, addOrIncreaseItem, addPayment, addPaymentAmount, addPaymentAmount, addPaymentAmount, addPaymentRef, addProductPromoCode, addProductPromoUse, addShipInfo, checkShipItemInfo, cleanUpShipGroups, clear, clearAllAdjustments, clearAllItemStatus, clearAllPromotionAdjustments, clearAllPromotionInformation, clearCartItemUseInPromoInfo, clearDeclinedPaymentMethods, clearInternalOrderNotes, clearItemShipInfo, clearOrderNotes, clearPayment, clearPayment, clearPaymentMethodsById, clearPayments, clearProductPromoUseInfo, confirmPromoRuleUse, containAllWorkEffortCartItems, containAnyWorkEffortCartItems, containOnlyDigitalGoods, containOnlyDigitalGoods, createDropShipGroups, deleteItemGroup, ensureItemsQuantity, ensureItemsTotalQuantity, explodeItems, findAllCartItems, findAllCartItems, findAllCartItemsInCategory, findCartItem, findCartItem, findCartItem, getAdditionalPartyRoleMap, getAdjustment, getAdjustmentPromoIndex, getAdjustments, getAggregatedInstanceId, getAgreementId, getAllDesiredAlternateGiftByActionCopy, getAttribute, getAutoOrderShoppingListId, getAutoSaveListId, getAutoUserLogin, getBillFromVendorPartyId, getBillingAccountAmount, getBillingAccountId, getBillingAccountPaymentPreferenceTotal, getBillingAddress, getBillToCustomerPartyId, getCancelBackOrderDate, getCarrierPartyId, getCarrierPartyId, getCartCreatedTime, getCartItemsInGroup, getCartItemsInNoGroup, getChannelType, getContactMech, getCreditCardPaymentPreferenceTotal, getCreditCards, getCurrency, getDefaultItemComment, getDefaultItemDeliveryDate, getDefaultReserveAfterDate, getDefaultShipAfterDate, getDefaultShipBeforeDate, getDelegator, getDesiredAlternateGiftByAction, getDisplayGrandTotal, getDisplayRecurringSubTotal, getDisplaySubTotal, getDisplayTaxIncluded, getDoPromotions, getEndUserCustomerPartyId, getExternalId, getFacilityId, getFeatureIdQtyMap, getFirstAttemptOrderId, getFreeShippingProductPromoActions, getGiftCardPaymentPreferenceTotal, getGiftCards, getGiftCertSettingFromStore, getGiftMessage, getGiftMessage, getGrandTotal, getHoldOrder, getInternalCode, getInternalOrderNotes, getIsGift, getIsGift, getItemGroupByNumber, getItemIndex, getItemShipGroupEstimate, getItemShipGroupIndex, getItemShipGroupQty, getItemShipGroupQty, getItemsProducts, getItemsTotalQuantity, getItemTotal, getLastListRestore, getLineListOrderedByBasePrice, getLocale, getMaySplit, getMaySplit, getMinimumOrderQuantity, getOrderAdditionalEmails, getOrderAttribute, getOrderAttributes, getOrderContactMechIds, getOrderDate, getOrderGlobalAdjustments, getOrderId, getOrderName, getOrderNotes, getOrderOtherAdjustmentTotal, getOrderPartyId, getOrderPaymentPreferenceTotalByType, getOrderShipping, getOrderStatusId, getOrderStatusString, getOrderTerms, getOrderType, getOriginAddress, getPartyDaysSinceCreated, getPartyId, getPaymentAmount, getPaymentInfo, getPaymentInfo, getPaymentInfo, getPaymentInfo, getPaymentInfoIndex, getPaymentInfos, getPaymentMethodIds, getPaymentMethods, getPaymentMethodTypeId, getPaymentMethodTypeIds, getPaymentMethodTypes, getPaymentRef, getPaymentTotal, getPlacingCustomerPartyId, getPoNumber, getProductPromoCodesEntered, getProductPromoCodeUse, getProductPromoTotal, getProductPromoUseCount, getProductPromoUseInfoIter, getProductPromoUseTotalDiscount, getProductStoreId, getProductStoreShipMethId, getProductStoreShipMethId, getQuoteId, getShipAfterDate, getShipAfterDate, getShipBeforeDate, getShipBeforeDate, getShipFromVendorPartyId, getShipGroupFacilityId, getShipGroupItems, getShipGroups, getShipGroups, getShipGroups, getShipGroupsBySupplier, getShipGroupSeqId, getShipGroupSize, getShipGroupVendorPartyId, getShipInfo, getShipInfoIndex, getShipInfoSize, getShipmentMethodType, getShipmentMethodTypeId, getShipmentMethodTypeId, getShippableItemInfo, getShippableQuantity, getShippableSizes, getShippableTotal, getShippableWeight, getShippingAddress, getShippingAddress, getShippingContactMechId, getShippingContactMechId, getShippingInstructions, getShippingInstructions, getShipToCustomerPartyId, getSubTotal, getSubTotalForPromotions, getSubTotalForPromotions, getSupplierAgentPartyId, getSupplierAgreementId, getSupplierPartyId, getSupplierProduct, getTerminalId, getTotalQuantity, getTotalSalesTax, getTotalSalesTax, getTotalShipping, getTotalWeight, getTransactionId, getUserLogin, getWebSiteId, getWorkEffortId, handleNewUser, hasOrderTerm, isOrderTermSet, isPaymentMethodType, isPaymentSelected, isPinRequiredForGC, isPurchaseOrder, isReadOnlyCart, isSalesOrder, isValidateGCFinAccount, items, iterator, makeAllAdjustments, makeAllOrderAttributes, makeAllOrderAttributes, makeAllOrderContactMechs, makeAllOrderItemAssociations, makeAllOrderItemAttributes, makeAllOrderItemAttributes, makeAllOrderItemContactMechs, makeAllOrderItemPriceInfos, makeAllOrderItemSurveyResponses, makeAllOrderPaymentInfos, makeAllQuoteAdjustments, makeAllShipGroupInfos, makeCartMap, makeOrderItemGroups, makeOrderItems, makeOrderItems, makePaymentInfo, makePaymentInfo, makeProductPromoUses, makeWorkEfforts, moveCartItem, positionItemToGroup, positionItemToGroup, removeAdditionalPartyRole, removeAdjustment, removeAdjustmentByType, removeAllDesiredAlternateGiftByActions, removeAllFreeShippingProductPromoActions, removeAttribute, removeCartItem, removeCartItem, removeContactMech, removeEmptyCartItems, removeExtraItems, removeFreeShippingProductPromoAction, removeOrderAttribute, removeOrderTerm, removeOrderTerms, removeProductPromoUse, resetPromoRuleUse, selectedPayments, setAgreementId, setAllCarrierPartyId, setAllGiftMessage, setAllIsGift, setAllMaySplit, setAllProductStoreShipMethId, setAllShipmentMethodTypeId, setAllShippingContactMechId, setAllShippingInstructions, setAttribute, setAutoOrderShoppingListId, setAutoSaveListId, setAutoUserLogin, setAutoUserLogin, setBillFromVendorPartyId, setBillingAccount, setBillToCustomerPartyId, setCancelBackOrderDate, setCarrierPartyId, setChannelType, setCurrency, setDefaultCheckoutOptions, setDefaultItemComment, setDefaultItemDeliveryDate, setDefaultReserveAfterDate, setDefaultShipAfterDate, setDefaultShipBeforeDate, setDesiredAlternateGiftByAction, setDoPromotions, setEndUserCustomerPartyId, setExternalId, setFacilityId, setFirstAttemptOrderId, setGiftMessage, setHoldOrder, setInternalCode, setIsGift, setItemShipGroupEstimate, setItemShipGroupQty, setItemShipGroupQty, setItemShipGroupQty, setLastListRestore, setLocale, setMaySplit, setNextItemSeq, setOrderAdditionalEmails, setOrderAttribute, setOrderAttributes, setOrderDate, setOrderId, setOrderName, setOrderPartyId, setOrderStatusId, setOrderStatusString, setOrderTermSet, setOrderType, setPlacingCustomerPartyId, setPoNumber, setProductStoreId, setProductStoreShipMethId, setQuoteId, setReadOnlyCart, setShipAfterDate, setShipAfterDate, setShipBeforeDate, setShipBeforeDate, setShipFromVendorPartyId, setShipGroupFacilityId, setShipGroupSeqId, setShipGroupShipDatesFromItem, setShipGroupVendorPartyId, setShipmentMethodTypeId, setShippingContactMechId, setShippingInstructions, setShipToCustomerPartyId, setSupplierAgentPartyId, setSupplierAgreementId, setSupplierPartyId, setTerminalId, setTransactionId, setUserLogin, setUserLogin, setViewCartOnAdd, setWebSiteId, setWorkEffortId, shippingApplies, size, taxApplies, viewCartOnAdd
-
-
-
-
Constructor Detail
-
WebShoppingCart
public WebShoppingCart(javax.servlet.http.HttpServletRequest request, java.util.Locale locale, java.lang.String currencyUom)
-
WebShoppingCart
public WebShoppingCart(javax.servlet.http.HttpServletRequest request)
-
WebShoppingCart
public WebShoppingCart(ShoppingCart cart)
Creates a new cloned ShoppingCart Object.
-
-