com.retek.component.customerorder.impl
Class ZeroChargePackComponentReturnLineRefundCalculator

java.lang.Object
  extended bycom.retek.component.customerorder.impl.ReturnLineRefundCalculator
      extended bycom.retek.component.customerorder.impl.PackComponentReturnLineRefundCalculator
          extended bycom.retek.component.customerorder.impl.ZeroChargePackComponentReturnLineRefundCalculator

public final class ZeroChargePackComponentReturnLineRefundCalculator
extends PackComponentReturnLineRefundCalculator

Strategy class which encapsulates behavior for computing pack component return line refund values for a zero sale or a replacement 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.PackComponentReturnLineRefundCalculator
componentRefundableQuantity, componentUnitRatio, packRefundableQuantity, refundableComponentOrderLine, refundablePackOrderLine
 
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
ZeroChargePackComponentReturnLineRefundCalculator(ReturnLineImpl returnLine)
           
 
Method Summary
protected  void allocateTaxInvoiceLineItemRecords(boolean lockTaxRecordAllocations)
           
protected  void allocateTaxInvoiceRecords(boolean lockTaxRecordAllocations)
           
 
Methods inherited from class com.retek.component.customerorder.impl.PackComponentReturnLineRefundCalculator
calculateAdditionalShippingRefundAmount, calculateGiftRefundAmount, calculateMerchandiseRefundAmount, calculatePersonalizationRefundAmount, computeComponentUnitAmount, 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

ZeroChargePackComponentReturnLineRefundCalculator

public ZeroChargePackComponentReturnLineRefundCalculator(ReturnLineImpl returnLine)
                                                  throws SystemException
Method Detail

allocateTaxInvoiceRecords

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

allocateTaxInvoiceLineItemRecords

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


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