com.retek.component.customerorder.impl
Class ZeroChargeReturnLineRefundCalculator

java.lang.Object
  extended bycom.retek.component.customerorder.impl.ReturnLineRefundCalculator
      extended bycom.retek.component.customerorder.impl.StandardReturnLineRefundCalculator
          extended bycom.retek.component.customerorder.impl.ZeroChargeReturnLineRefundCalculator

public final class ZeroChargeReturnLineRefundCalculator
extends StandardReturnLineRefundCalculator

Strategy class which encapsulates behavior for computing return line refund values for a zero sale or a replacement return line. Taxes are prorated off the quoted taxes on the parent order line; there are no charged taxes for a replacement return, and a zero sale line has no shipped containers.


Field Summary
 
Fields inherited from class com.retek.component.customerorder.impl.StandardReturnLineRefundCalculator
refundableOrderLine, refundableQuantity
 
Fields inherited from class com.retek.component.customerorder.impl.ReturnLineRefundCalculator
accommodatedTax, calculatedExtendedAdditionalShippingCharge, calculatedExtendedAdditionalShippingTax, calculatedExtendedPrice, calculatedExtendedTax, calculatedGiftServiceCharge, calculatedGiftServiceTax, calculatedPersonalizationServiceCharge, calculatedPersonalizationServiceTax, calculatedStandardShippingCharge, calculatedStandardShippingTax, logger, refundExtendedAdditionalShippingCharge, refundExtendedAdditionalShippingTax, refundExtendedPrice, refundExtendedTax, refundGiftServiceCharge, refundGiftServiceTax, refundPersonalizationServiceCharge, refundPersonalizationServiceTax, refundStandardShippingCharge, refundStandardShippingTax, returnLine, returnLineAccommodationAdjustments, returnLinePromotionAdjustments, returnLineTaxInvoiceLineItemRecords, returnLineTaxInvoiceRecords
 
Constructor Summary
ZeroChargeReturnLineRefundCalculator(ReturnLineImpl returnLine)
           
 
Method Summary
protected  void allocateTaxInvoiceLineItemRecords(boolean lockTaxRecordAllocations)
           
protected  void allocateTaxInvoiceRecords(boolean lockTaxRecordAllocations)
           
 
Methods inherited from class com.retek.component.customerorder.impl.StandardReturnLineRefundCalculator
calculateAdditionalShippingRefundAmount, calculateGiftRefundAmount, calculateMerchandiseRefundAmount, calculatePersonalizationRefundAmount, getChargeableOrderLine, logAdditionalReturnLineDetail
 
Methods inherited from class com.retek.component.customerorder.impl.ReturnLineRefundCalculator
buildAccommodationAdjustment, buildPromotionAdjustment, calculatePromotionAdjustments, calculateRefundLineLevelTaxes, calculateRefundStandardShippingTax, calculateRefundValues, calculateStandardShippingTax, doAllocateTaxInvoiceRecordsFromContainers, getCalculatedExtendedAdditionalShippingCharge, getCalculatedExtendedAdditionalShippingTax, getCalculatedExtendedPrice, getCalculatedExtendedTax, getCalculatedGiftServiceCharge, getCalculatedGiftServiceTax, getCalculatedPersonalizationServiceCharge, getCalculatedPersonalizationServiceTax, getCalculatedStandardShippingCharge, getCalculatedStandardShippingTax, getContainerLinesSortedByDate, getContainersSortedByDate, getContext, getRefundExtendedAdditionalShippingCharge, getRefundExtendedAdditionalShippingTax, getRefundExtendedPrice, getRefundExtendedTax, getRefundGiftServiceCharge, getRefundGiftServiceTax, getRefundPersonalizationServiceCharge, getRefundPersonalizationServiceTax, getRefundStandardShippingCharge, getRefundStandardShippingTax, getReturnLine, getReturnLineAccommodationAdjustments, getReturnLinePromotionAdjustments, getReturnLineTaxInvoiceLineItemRecords, getReturnLineTaxInvoiceRecords, getReturnQuantity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZeroChargeReturnLineRefundCalculator

public ZeroChargeReturnLineRefundCalculator(ReturnLineImpl returnLine)
                                     throws SystemException
Method Detail

allocateTaxInvoiceRecords

protected final void allocateTaxInvoiceRecords(boolean lockTaxRecordAllocations)
                                        throws SystemException,
                                               BusinessException
Overrides:
allocateTaxInvoiceRecords in class StandardReturnLineRefundCalculator
Throws:
SystemException
BusinessException

allocateTaxInvoiceLineItemRecords

protected final void allocateTaxInvoiceLineItemRecords(boolean lockTaxRecordAllocations)
                                                throws SystemException,
                                                       BusinessException
Overrides:
allocateTaxInvoiceLineItemRecords in class StandardReturnLineRefundCalculator
Throws:
SystemException
BusinessException


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