The following section briefly describes the classes related to cost centers. For more information on each of these classes, refer to the ATG Platform API Reference.

CostCenter Interface

The CostCenter interface represents all the information included in a cost center. The CostCenter interface contains the following:

CostCenterImpl is the default implementation of the CostCenter interface.

CostCenterManager

CostCenterManager includes methods for manipulation of cost centers within the context of an order. This includes methods for adding, removing, and editing CostCenter and CostCenterRelationship objects, as well as methods for getting order information based on cost centers.

CostCenterContainer

Handles access to a group of cost centers. CostCenterContainerImpl will be the default implementation of CostCenterContainer. This interface provides methods for managing a list of cost centers within an order.

CostCenterRelationship

CostCenterRelationship represents a part of a relationship between items and a cost center. The CostCenterRelationship interface consists of two properties:

CostCenterCommerceItemRelationship

The CostCenterCommerceItemRelationship defines a relationship between a commerce item and the cost center to which it belongs. It implements both CostCenterRelationship and CommerceItemRelationship. This relationship has four possible types:

CostCenterShippingGroupRelationship

The CostCenterShippingGroupRelationship is used to tie the cost center to the shipping group, rather than each item within the shipping group. This relationship also allows assignment of shipping charges to cost centers. This class implements both CostCenterRelationship and ShippingGroupRelationship.

The CostCenterShippingGroupRelationship can be of two possible types:

CostCenterOrderRelationship

CostCenterOrderRelationship is used to tie the cost center to the order, rather than each item within the shipping group, or to a specific shipping group. This class implements both CostCenterRelationship and OrderRelationship. This relationship will also allow assignment of tax and shipping charges to cost centers.

This relationship has four possible types:


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