com.retek.component.customerorder.impl
Class PackComponentReturnLineRefundCalculator
java.lang.Object
com.retek.component.customerorder.impl.ReturnLineRefundCalculator
com.retek.component.customerorder.impl.PackComponentReturnLineRefundCalculator
- Direct Known Subclasses:
- ZeroChargePackComponentReturnLineRefundCalculator
- public class PackComponentReturnLineRefundCalculator
- extends ReturnLineRefundCalculator
Strategy class which encapsulates behavior for computing return line refund
values for a pack component return line. Pack component return line charged
taxes are computed through proration summation and proration of actual charged
taxes off shipped containers/container lines that have been shipped for the
item being returned. Note: Packs are settled and charged at the pack level,
container lines will carry details of the pack component, but when the
appropriate component lines are shipped to round out a pack, the chargeable qty
and chargeable order line on the container line will be based on the pack.
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 |
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 |
refundablePackOrderLine
protected CustomerOrderLineImpl refundablePackOrderLine
refundableComponentOrderLine
protected CustomerOrderLineImpl refundableComponentOrderLine
componentUnitRatio
protected java.math.BigDecimal componentUnitRatio
componentRefundableQuantity
protected Quantity componentRefundableQuantity
packRefundableQuantity
protected Quantity packRefundableQuantity
PackComponentReturnLineRefundCalculator
public PackComponentReturnLineRefundCalculator(ReturnLineImpl returnLine)
throws SystemException
calculateMerchandiseRefundAmount
protected final void calculateMerchandiseRefundAmount()
throws SystemException
- Specified by:
calculateMerchandiseRefundAmount
in class ReturnLineRefundCalculator
- Throws:
SystemException
calculateAdditionalShippingRefundAmount
protected final void calculateAdditionalShippingRefundAmount()
throws SystemException
- Specified by:
calculateAdditionalShippingRefundAmount
in class ReturnLineRefundCalculator
- Throws:
SystemException
calculateGiftRefundAmount
protected final void calculateGiftRefundAmount()
throws SystemException
- Specified by:
calculateGiftRefundAmount
in class ReturnLineRefundCalculator
- Throws:
SystemException
calculatePersonalizationRefundAmount
protected final void calculatePersonalizationRefundAmount()
throws SystemException
- Specified by:
calculatePersonalizationRefundAmount
in class ReturnLineRefundCalculator
- Throws:
SystemException
allocateTaxInvoiceRecords
protected void allocateTaxInvoiceRecords(boolean lockTaxRecordAllocations)
throws SystemException,
BusinessException
- Specified by:
allocateTaxInvoiceRecords
in class ReturnLineRefundCalculator
- Throws:
SystemException
BusinessException
allocateTaxInvoiceLineItemRecords
protected void allocateTaxInvoiceLineItemRecords(boolean lockTaxRecordAllocations)
throws SystemException,
BusinessException
- Specified by:
allocateTaxInvoiceLineItemRecords
in class ReturnLineRefundCalculator
- Throws:
SystemException
BusinessException
logAdditionalReturnLineDetail
protected final void logAdditionalReturnLineDetail()
throws SystemException
- Specified by:
logAdditionalReturnLineDetail
in class ReturnLineRefundCalculator
- Throws:
SystemException
computeComponentUnitAmount
protected final java.math.BigDecimal computeComponentUnitAmount(Money packAmount,
Quantity chargeableQty,
java.math.BigDecimal componentUnitRatio)
throws SystemException
- Throws:
SystemException
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28