The base commerce classes and interfaces are the core objects that are used throughout ATG Commerce. These objects store the data that represent shopping carts, items to be purchased, shipping information, pricing information, and payment information. All the individual parts of ATG Commerce use these classes.
The ATG Commerce class hierarchy is divided into classes and interfaces. The interfaces provide access to the data in the objects in a way that frees it from the underlying implementation. The interfaces are described below. For information on how all the classes and interfaces are related, refer to the Purchase Process Class Diagrams section.
Interface | Description |
---|---|
| The |
| The |
| The |
| The |
| The It is important to understand the concept of relationships, although they are usually hidden from the ATG Commerce user. The commerce-specific interfaces that extend |
| The |
The following types of classes implement the interfaces described above:
In some cases, there may be only one implementation. Other interfaces are implemented by more than one class. For example, PaymentGroupImpl
, CreditCard
, and GiftCertificate
all implement the PaymentGroup
interface.
Order Classes
Class | Description |
---|---|
| This class implements |
Note1: Order equality is determined by comparing the orderId
, the lastModified
time, and transient properties.
Note2: If you write any new code that modifies the Order
object, make sure the code synchronizes on the Order
object before it is modified.
Item Classes
Class | Description |
---|---|
| This class implements |
Shipping Classes
Classes | Description |
---|---|
| This class implements |
| This class implements |
| This class implements |
Payment Classes
Payment Classes | |
---|---|
| This class implements |
| This class implements |
| This class implements |
| This class implements |
Relationship Classes
Classes | Description |
---|---|
| When this |
| When this |
| When this |
| When this |
Handling Classes
Classes | Description |
---|---|
| This class implements |
| This class implements |