Core Commerce adds attributes to the user item descriptor to support gift lists, wish lists, promotions, address books, credit card collections, and other features. Most properties are common business domain information; explanatory notes are provided for some properties.

Properties

Derived Properties

Notes

activePromotions

Stores the list of promotions that can be used by the user in pricing their orders.

allowPartialShipment

This Boolean value can be used as the user’s default setting for allowing partial shipments. If your sites support multiple shipping groups, you can give the customer the option of allowing a shipping group to be automatically split if some items cannot be shipped together (e.g. some items are backorderId). See the Configuring the Order Fulfillment Framework chapter for information on allowing partial shipments.

approvalRequired

derivedApprovalRequired

approvers

allApprovers

Derived based upon the context of the user’s session, as identified by the currentOrganization property.

billingAddress

derivedBillingAddress

Derived based upon the context of the user’s session, as identified by the currentOrganization property.

contract

derivedContract

costCenters

allCostCenters

Derived based upon the context of the user’s session, as identified by the currentOrganization property.

creditCards

allCreditCards

Derived based upon the context of the user’s session, as identified by the currentOrganization property.

currentLocation

An enumerated attribute to be used with targeting. In the associated JSPs, use a <setvalue> call to set the current location. For example:

<dsp:setvalue bean="Profile.
currentLocation"
value="home"/>

currentOrganization

A request-based property used to store an organization context on a per request basis. If not set, this value will default to the sessionOrganization value.

daytimeTelephoneNumber

defaultCarrier

defaultCostCenter

derivedDefaultCostCenter

Based upon the context of the user’s session, as identified by the currentOrganization property.

defaultCreditCard

derivedDefaultCreditCard

Based upon the context of the user’s session, as identified by the currentOrganization property.

expressCheckout

favoriteStores

giftlistAddresses

Stores addresses that can be associated with specific gift lists.

giftlists

Stores the list of gift lists created by a user when they register an event.

myCatalog

derivedCatalog

catalog

Derived based upon the context of the user’s session, as identified by the currentOrganization property.

myPriceList

derivedPriceList

priceList

Derived based upon the context of the user’s session, as identified by the currentOrganization property.

mySalePriceList

salePriceList

orderPriceLimit

derivedOrderPriceLimit

otherGiftlists

Stores the list of gift lists from which a customer is currently shopping. These are registries of other customers that have been accessed by the customer using the gift list search feature.

preferredVendors

allPreferredVendors

Derived based upon the context of the user’s session, as identified by the currentOrganization property.

purchaseLists

secondaryAddresses

allSecondaryAddresses

Derived based upon the context of the user’s session, as identified by the currentOrganization property.

sessionOrganization

A session-scoped property used to store the organization context of the user’s session.

shippingAddress

derivedShippingAddress

Derived based upon the context of the user’s session, as identified by the currentOrganization property.

usedPromotions

Stores promotions that can no longer be used. A promotion is moved to the used list if it was created with a limited number of uses, and the user has reached the threshold.

wishlist

Stores the index to the default wish list created for a user.

The billing and shipping addresses are contactInfo objects, and the secondary addresses are a map of contactInfo objects. It is intended that the billingAddress and shippingAddress attributes are for “default” address values for the user. The user can create nicknames for other addresses and store those as the key/value pairs in the secondaryAddresses map. The defaultCarrier indicates the user’s preferred shipping service.

The giftlist repository is located in /commerce/gifts/Giftlists. For more information on gift lists and wish lists, see the Configuring Core Commerce Services chapter.


Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices