com.retek.component.customerorder
Interface GeneralAccommodation

All Superinterfaces:
Accommodation, BusinessObject, CustomerOrderTransactionItem, DistributedObject

public interface GeneralAccommodation
extends Accommodation


Field Summary
 
Fields inherited from interface com.retek.component.customerorder.Accommodation
ORDER, ORDER_LINE, REASON, VALUE, ZERO_SALE_LINE
 
Method Summary
 Money getBaseAmount()
           
 Money getDollarOff()
           
 Percent getPercentOff()
           
 AccommodationShippingSubTypeEnum getShippingSubType()
          Returns the shipping sub type of the accommodation if the accommodation type is AccommodationTypeEnum.SHIPPING_HANDLING.
 Money getTaxCreditAmount()
          Returns the amount of taxes that will be accommodated.
 java.lang.String getTaxCreditInvoiceId()
           
 boolean isDollarOff()
           
 boolean isPercentOff()
           
 void setDollarOff(Money dollarOff)
           
 void setPercentOff(Percent percentOff)
           
 void setShippingSubType(AccommodationShippingSubTypeEnum shippingSubType)
          Sets the shipping sub type of the accommodation if the accommodation type is AccommodationTypeEnum.SHIPPING_HANDLING.
 
Methods inherited from interface com.retek.component.customerorder.Accommodation
calculateAmount, getAccommodationAmount, getAccommodationScope, getAccommodationType, getCreatedByUser, getCustomerOrder, getCustomerOrderLine, getDate, getDescription, getHistoryEventDetail, getLastUpdatedByUser, getPaymentTransactionType, getReason, getSalesAuditExportState, getSalesAuditTransactionDate, getTaxAmount, isAppliedPreShipment, isVertexTaxCreditGenerated, setAppliedPreShipment, setReason, setSalesAuditExportState, setSalesAuditTransactionDate, setVertexTaxCreditGenerated
 
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.component.customerorder.CustomerOrderTransactionItem
getTransactionGroup, getTransactionItemAmount, isCreditForTransactionGroupBalance, isDebitForTransactionGroupBalance, isExchangeSaleLine, isInClosedTransactionGroup, isReplacementSaleLine, notifyTransactionGroupClosed, setTransactionGroup
 

Method Detail

getTaxCreditAmount

public Money getTaxCreditAmount()
                         throws SystemException
Returns the amount of taxes that will be accommodated. On a TaxAccommodation this IS the ammount of the accommodation On other types of accommodations that require taxes being refunded due overall value decrease this is that amount.

Returns:
The amount of taxes accommodated.
Throws:
SystemException

isPercentOff

public boolean isPercentOff()
                     throws SystemException
Throws:
SystemException

isDollarOff

public boolean isDollarOff()
                    throws SystemException
Throws:
SystemException

getPercentOff

public Percent getPercentOff()
                      throws SystemException
Throws:
SystemException

getDollarOff

public Money getDollarOff()
                   throws SystemException
Throws:
SystemException

setPercentOff

public void setPercentOff(Percent percentOff)
                   throws SystemException
Throws:
SystemException

setDollarOff

public void setDollarOff(Money dollarOff)
                  throws SystemException
Throws:
SystemException

getTaxCreditInvoiceId

public java.lang.String getTaxCreditInvoiceId()
                                       throws SystemException
Throws:
SystemException

getShippingSubType

public AccommodationShippingSubTypeEnum getShippingSubType()
                                                    throws SystemException
Returns the shipping sub type of the accommodation if the accommodation type is AccommodationTypeEnum.SHIPPING_HANDLING. The subType represents if the accommodation is for standard , rush or additional shipping.

Returns:
shipping sub type.
Throws:
SystemException

setShippingSubType

public void setShippingSubType(AccommodationShippingSubTypeEnum shippingSubType)
                        throws SystemException
Sets the shipping sub type of the accommodation if the accommodation type is AccommodationTypeEnum.SHIPPING_HANDLING. The subType represents if the accommodation is for standard , rush or additional shipping.

Throws:
SystemException

getBaseAmount

public Money getBaseAmount()
                    throws SystemException
Throws:
SystemException


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