com.retek.component.salesaudit
Interface SaeService

All Superinterfaces:
BusinessObject, ElementObject, SaeElement, SecondClassObject

public interface SaeService
extends SaeElement

Interface defining the operations for a service element within a sales audit transaction.


Field Summary
static java.lang.String SERVICE_TYPE_ADDITIONAL_SHIPPING
           
static java.lang.String SERVICE_TYPE_GIFT_CARD
           
static java.lang.String SERVICE_TYPE_GIFT_WRAP
           
static java.lang.String SERVICE_TYPE_MONOGRAMMING
           
static java.lang.String SERVICE_TYPE_PERSONALIZATION
           
static java.lang.String SERVICE_TYPE_RETURN_POSTAGE
           
static java.lang.String SERVICE_TYPE_RUSH_SHIPPING
           
static java.util.Set SERVICE_TYPE_SHIPPING_TYPES
           
static java.lang.String SERVICE_TYPE_STANDARD_SHIPPING
           
static java.util.Set SERVICE_TYPE_VAS_TYPES
           
 
Fields inherited from interface com.retek.component.salesaudit.SaeElement
SALES_AUDIT_NO, SALES_AUDIT_YES
 
Method Summary
 void addDiscount(SaeDiscount saeDiscount)
           
 java.util.List getDiscounts()
          Return the discount elements for the transaction.
 SaeItem getServiceItem()
          Return the service item for this service element.
 Quantity getServiceQuantity()
           
 java.lang.String getServiceType()
           
 Money getServiceUnitAmount()
           
 SaeTax getTax()
          Return the tax element for the service.
 void setServiceItem(SaeItem saeItem)
           
 void setServiceQuantity(Quantity serviceQuantity)
           
 void setServiceType(java.lang.String serviceType)
           
 void setServiceUnitAmount(Money serviceUnitAmount)
           
 void setTax(SaeTax saeTax)
           
 
Methods inherited from interface com.retek.component.salesaudit.SaeElement
accept
 
Methods inherited from interface com.retek.commons.component.xml.ElementObject
getElementId, getParentElementId, toXml
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Field Detail

SERVICE_TYPE_ADDITIONAL_SHIPPING

public static final java.lang.String SERVICE_TYPE_ADDITIONAL_SHIPPING
See Also:
Constant Field Values

SERVICE_TYPE_STANDARD_SHIPPING

public static final java.lang.String SERVICE_TYPE_STANDARD_SHIPPING
See Also:
Constant Field Values

SERVICE_TYPE_RUSH_SHIPPING

public static final java.lang.String SERVICE_TYPE_RUSH_SHIPPING
See Also:
Constant Field Values

SERVICE_TYPE_MONOGRAMMING

public static final java.lang.String SERVICE_TYPE_MONOGRAMMING
See Also:
Constant Field Values

SERVICE_TYPE_PERSONALIZATION

public static final java.lang.String SERVICE_TYPE_PERSONALIZATION
See Also:
Constant Field Values

SERVICE_TYPE_GIFT_CARD

public static final java.lang.String SERVICE_TYPE_GIFT_CARD
See Also:
Constant Field Values

SERVICE_TYPE_GIFT_WRAP

public static final java.lang.String SERVICE_TYPE_GIFT_WRAP
See Also:
Constant Field Values

SERVICE_TYPE_RETURN_POSTAGE

public static final java.lang.String SERVICE_TYPE_RETURN_POSTAGE
See Also:
Constant Field Values

SERVICE_TYPE_SHIPPING_TYPES

public static final java.util.Set SERVICE_TYPE_SHIPPING_TYPES

SERVICE_TYPE_VAS_TYPES

public static final java.util.Set SERVICE_TYPE_VAS_TYPES
Method Detail

getServiceType

public java.lang.String getServiceType()

getServiceQuantity

public Quantity getServiceQuantity()

getServiceUnitAmount

public Money getServiceUnitAmount()

getDiscounts

public java.util.List getDiscounts()
                            throws SystemException
Return the discount elements for the transaction.

Returns:
List discount elements
Throws:
SystemException

getServiceItem

public SaeItem getServiceItem()
                       throws SystemException
Return the service item for this service element.

Returns:
SaeItem service item
Throws:
SystemException

getTax

public SaeTax getTax()
              throws SystemException
Return the tax element for the service. Will be null for all services other than Standard S&H Service.

Returns:
SaeTax tax element
Throws:
SystemException

setServiceType

public void setServiceType(java.lang.String serviceType)

setServiceQuantity

public void setServiceQuantity(Quantity serviceQuantity)

setServiceUnitAmount

public void setServiceUnitAmount(Money serviceUnitAmount)

setTax

public void setTax(SaeTax saeTax)

addDiscount

public void addDiscount(SaeDiscount saeDiscount)

setServiceItem

public void setServiceItem(SaeItem saeItem)


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25