com.retek.component.customerorder
Interface ReturnReason

All Superinterfaces:
BusinessObject, com.retek.swing11.commons.type.Displayable, DistributedObject
All Known Implementing Classes:
ReturnReasonImpl

public interface ReturnReason
extends DistributedObject, com.retek.swing11.commons.type.Displayable

Represents the various reasons that a customer can give for returning an item and what types of charges are refunded (shipping and handling charges, value added service charges, and/or gifting charges) for the return.


Method Summary
 java.lang.String getDescription()
          Return the return reason description.
 boolean isRefundGiftingReason()
          Returns true if the ReturnReason is one in which the cost of gift wrapping the line item is refundable.
 boolean isRefundShippingAndHandlingReason()
          Returns true if the ReturnReason is one in which the cost of shipping and handling for the line item is refundable.
 boolean isRefundValueAddedServicesReason()
          Returns true if the ReturnReason is one in which the cost of value added services for the line item are refundable.
 void setDescription(java.lang.String description)
          Sets the return reason description.
 void setRefundGiftingReason(boolean refundGiftingReason)
          Setter to specify if this return reason results in a refund of the gift wrapping charge
 void setRefundShippingAndHandlingReason(boolean refundShippingAndHandlingReason)
          Setter to specify if this return reason results in a refund of the shipping and handling charge
 void setRefundValueAddedServicesReason(boolean refundValueAddedServicesReason)
          Setter to specify if this return reason results in a refund of any value added service charges
 void submit()
          Persists the object.
 
Methods inherited from interface com.retek.commons.component.DistributedObject
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 
Methods inherited from interface com.retek.swing11.commons.type.Displayable
toDisplayString
 

Method Detail

isRefundGiftingReason

public boolean isRefundGiftingReason()
                              throws SystemException
Returns true if the ReturnReason is one in which the cost of gift wrapping the line item is refundable.

Returns:
Throws:
SystemException

isRefundShippingAndHandlingReason

public boolean isRefundShippingAndHandlingReason()
                                          throws SystemException
Returns true if the ReturnReason is one in which the cost of shipping and handling for the line item is refundable.

Returns:
Throws:
SystemException

isRefundValueAddedServicesReason

public boolean isRefundValueAddedServicesReason()
                                         throws SystemException
Returns true if the ReturnReason is one in which the cost of value added services for the line item are refundable.

Returns:
Throws:
SystemException

setRefundGiftingReason

public void setRefundGiftingReason(boolean refundGiftingReason)
                            throws SystemException
Setter to specify if this return reason results in a refund of the gift wrapping charge

Parameters:
refundGiftingReason -
Throws:
SystemException

setRefundShippingAndHandlingReason

public void setRefundShippingAndHandlingReason(boolean refundShippingAndHandlingReason)
                                        throws SystemException
Setter to specify if this return reason results in a refund of the shipping and handling charge

Throws:
SystemException

setRefundValueAddedServicesReason

public void setRefundValueAddedServicesReason(boolean refundValueAddedServicesReason)
                                       throws SystemException
Setter to specify if this return reason results in a refund of any value added service charges

Throws:
SystemException

getDescription

public java.lang.String getDescription()
                                throws SystemException
Return the return reason description.

Throws:
SystemException

setDescription

public void setDescription(java.lang.String description)
                    throws SystemException
Sets the return reason description.

Parameters:
description -
Throws:
SystemException

submit

public void submit()
            throws SystemException,
                   BusinessException
Persists the object.

Throws:
SystemException
BusinessException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28