com.retek.component.customerorder
Class CustomerOrderSettlementTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.component.customerorder.CustomerOrderApiTestCase
                  extended bycom.retek.component.customerorder.CustomerOrderSettlementTest
All Implemented Interfaces:
junit.framework.Test

public class CustomerOrderSettlementTest
extends CustomerOrderApiTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderSettlementTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testCreateSettlement()
           
 void testCreateSettlementForOrderWithPartialShipment()
           
 void testCreateSettlementOnOrderFullShip()
           
 void testCreateSettlementOnOrderFullShipPaidWithCash()
           
 void testCreateSettlementOnOrderFullShipPaidWithRewardCertificate()
           
 void testCreateSettlementOnOrderWithMuliplePayments()
           
 void testExtendedTaxIncludesAddtlShippingOrderPromotion()
           
 void testExtendedTaxIncludesGiftServiceOrderPromotion()
           
 void testExtendedTaxIncludesMerchPromotion()
           
 void testExtendedTaxIncludesPersOrderPromotion()
           
 void testExtendedTaxIncludesStandardShippingPromotion()
           
 void testPartialSettlementSplitCashPayment()
           
 void testPartialSettlementSplitCheckPayment()
           
 void testPartialSettlementSplitCreditCardPayment()
           
 void testPartialSettlementSplitPrivateLabelCreditCardPayment()
           
 void testPartialSettlementSplitRewardCertificatePayment()
           
 void testProcessFullSettlementWithZeroPriceOrderLineWithRushDelivery()
           
 void testProcessOneSettlement()
           
 void testProcessSettlementAllPaymentTypes()
           
 void testProcessSettlementForExpiredAuthorizationCreditCardPayment()
           
 void testProcessSettlementForPrivateLabelCreditCard()
           
 void testProcessSettlementSkipsDeclinedPayment()
           
 void testProcessSettlementWithZeroPricePartialLine()
           
 void testProcessSettlementWithZeroPricePartialLineWithRushDelivery()
           
 void testRefundPaymentSettlementForAccommodationAndReturnWhenOrderIsPended()
           
 void testSettleFullShipmentPackShippedAtComponentLevel()
           
 void testSettleFullShipmentPackShippedAtComponentLevelWithRushCharge()
           
 void testSettleFullShipmentPackShippedAtPackLevel()
           
 void testSettleFullShipmentWithGiftServiceCharge()
           
 void testSettleFullShipmentWithGiftServiceChargeWrapTogetherOneLine()
           
 void testSettleFullShipmentWithGiftServiceChargeWrapTogetherTwoLines()
           
 void testSettleFullShipmentWithMultiplePromotions()
           
 void testSettleFullShipmentWithPersonalizationCharge()
           
 void testSettleFullShipmentWithPersonalizationChargeAndGiftWrap()
           
 void testSettleFullShipmentWithPersonalizationChargeAndGiftWrapTogether()
           
 void testSettlePartialShipmentPackShippedAtComponentLevelComplexPack()
           
 void testSettlePartialShipmentPackShippedAtComponentLevelSimplePackMultipleChargedContainers()
           
 void testSettlePartialShipmentPackShippedAtComponentLevelSimplePackOneChargedContainer()
           
 void testSettlePartialShipmentPackShippedAtPackLevel()
           
 void testSettlePartialShipmentsWithAdditionalDeliveryCharges()
           
 void testSettlePartialShipmentWithGiftServiceCharge()
           
 void testSettlePartialShipmentWithGiftServiceChargeWrapTogetherOneLine()
           
 void testSettlePartialShipmentWithGiftServiceChargeWrapTogetherTwoLines()
           
 void testSettlePartialShipmentWithPersonalizationCharges()
           
 void testSettlePartialShipmentWithPersonalizationChargesAndGiftWrap()
           
 void testSettleThreePartialShipmentsLikeAcceptanceTests()
           
 
Methods inherited from class com.retek.component.customerorder.CustomerOrderApiTestCase
createCustomerOrderWithOneLineWithFullPayment, createCustomerOrderWithOneLineWithOutPayment, createOrderLines, createOrderLines, createOrderWithOneOrderline, getAndSubmitSupplier, getCustomerOrderLineStateModel, getCustomerOrderPaymentStateModel, getCustomerOrderStateModel, getReturnLineStateModel, getValidSourceCode
 
Methods inherited from class com.retek.commons.util.RetekTestCase
assertBusinessException, assertBusinessExceptionAttribute, assertContainsString, assertDateEqualsIgnoreTime, assertDateNotEqualsIgnoreTime, assertDateTimeEquals, assertEquals, assertEqualValuesDeep, assertEqualValuesDeep, assertEqualValuesDeep, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertRibException, assertSize, assertStateEquals, assertStateEquals, assertStateNotEquals, assertStateNotEquals, assertXmlEquals, doClassSetUp, doInitialSetUp, doPackageSetUp, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, isOracleTestCase, resetSystemRDateToBusinessDay, run, runTest, setSecurityEncryption, setTaxSimulate, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomerOrderSettlementTest

public CustomerOrderSettlementTest(java.lang.String name)
Method Detail

doSetUp

public void doSetUp()
             throws java.lang.Exception
Specified by:
doSetUp in class CustomerOrderApiTestCase
Throws:
java.lang.Exception

doTearDown

public void doTearDown()
                throws java.lang.Exception
Specified by:
doTearDown in class CustomerOrderApiTestCase
Throws:
java.lang.Exception

testCreateSettlement

public void testCreateSettlement()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testCreateSettlementOnOrderFullShip

public void testCreateSettlementOnOrderFullShip()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testCreateSettlementOnOrderFullShipPaidWithCash

public void testCreateSettlementOnOrderFullShipPaidWithCash()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testCreateSettlementOnOrderFullShipPaidWithRewardCertificate

public void testCreateSettlementOnOrderFullShipPaidWithRewardCertificate()
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testCreateSettlementForOrderWithPartialShipment

public void testCreateSettlementForOrderWithPartialShipment()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testSettleThreePartialShipmentsLikeAcceptanceTests

public void testSettleThreePartialShipmentsLikeAcceptanceTests()
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

testSettleFullShipmentWithPersonalizationCharge

public void testSettleFullShipmentWithPersonalizationCharge()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testSettleFullShipmentWithPersonalizationChargeAndGiftWrap

public void testSettleFullShipmentWithPersonalizationChargeAndGiftWrap()
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

testSettleFullShipmentWithPersonalizationChargeAndGiftWrapTogether

public void testSettleFullShipmentWithPersonalizationChargeAndGiftWrapTogether()
                                                                        throws java.lang.Exception
Throws:
java.lang.Exception

testSettlePartialShipmentWithPersonalizationCharges

public void testSettlePartialShipmentWithPersonalizationCharges()
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

testSettlePartialShipmentWithPersonalizationChargesAndGiftWrap

public void testSettlePartialShipmentWithPersonalizationChargesAndGiftWrap()
                                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testSettlePartialShipmentWithGiftServiceCharge

public void testSettlePartialShipmentWithGiftServiceCharge()
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testSettlePartialShipmentWithGiftServiceChargeWrapTogetherOneLine

public void testSettlePartialShipmentWithGiftServiceChargeWrapTogetherOneLine()
                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

testSettlePartialShipmentWithGiftServiceChargeWrapTogetherTwoLines

public void testSettlePartialShipmentWithGiftServiceChargeWrapTogetherTwoLines()
                                                                        throws java.lang.Exception
Throws:
java.lang.Exception

testSettleFullShipmentWithGiftServiceCharge

public void testSettleFullShipmentWithGiftServiceCharge()
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

testSettleFullShipmentWithGiftServiceChargeWrapTogetherOneLine

public void testSettleFullShipmentWithGiftServiceChargeWrapTogetherOneLine()
                                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testSettleFullShipmentWithGiftServiceChargeWrapTogetherTwoLines

public void testSettleFullShipmentWithGiftServiceChargeWrapTogetherTwoLines()
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testSettlePartialShipmentsWithAdditionalDeliveryCharges

public void testSettlePartialShipmentsWithAdditionalDeliveryCharges()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testProcessOneSettlement

public void testProcessOneSettlement()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testProcessSettlementForPrivateLabelCreditCard

public void testProcessSettlementForPrivateLabelCreditCard()
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testProcessSettlementForExpiredAuthorizationCreditCardPayment

public void testProcessSettlementForExpiredAuthorizationCreditCardPayment()
                                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testProcessSettlementWithZeroPricePartialLine

public void testProcessSettlementWithZeroPricePartialLine()
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testProcessSettlementWithZeroPricePartialLineWithRushDelivery

public void testProcessSettlementWithZeroPricePartialLineWithRushDelivery()
                                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testProcessFullSettlementWithZeroPriceOrderLineWithRushDelivery

public void testProcessFullSettlementWithZeroPriceOrderLineWithRushDelivery()
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testProcessSettlementSkipsDeclinedPayment

public void testProcessSettlementSkipsDeclinedPayment()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testCreateSettlementOnOrderWithMuliplePayments

public void testCreateSettlementOnOrderWithMuliplePayments()
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testProcessSettlementAllPaymentTypes

public void testProcessSettlementAllPaymentTypes()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testPartialSettlementSplitCreditCardPayment

public void testPartialSettlementSplitCreditCardPayment()
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

testPartialSettlementSplitPrivateLabelCreditCardPayment

public void testPartialSettlementSplitPrivateLabelCreditCardPayment()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testPartialSettlementSplitCheckPayment

public void testPartialSettlementSplitCheckPayment()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testPartialSettlementSplitCashPayment

public void testPartialSettlementSplitCashPayment()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testPartialSettlementSplitRewardCertificatePayment

public void testPartialSettlementSplitRewardCertificatePayment()
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

testSettleFullShipmentPackShippedAtPackLevel

public void testSettleFullShipmentPackShippedAtPackLevel()
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testSettlePartialShipmentPackShippedAtPackLevel

public void testSettlePartialShipmentPackShippedAtPackLevel()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testSettleFullShipmentPackShippedAtComponentLevel

public void testSettleFullShipmentPackShippedAtComponentLevel()
                                                       throws java.lang.Exception
Throws:
java.lang.Exception

testSettleFullShipmentPackShippedAtComponentLevelWithRushCharge

public void testSettleFullShipmentPackShippedAtComponentLevelWithRushCharge()
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testSettlePartialShipmentPackShippedAtComponentLevelComplexPack

public void testSettlePartialShipmentPackShippedAtComponentLevelComplexPack()
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testSettlePartialShipmentPackShippedAtComponentLevelSimplePackOneChargedContainer

public void testSettlePartialShipmentPackShippedAtComponentLevelSimplePackOneChargedContainer()
                                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

testSettlePartialShipmentPackShippedAtComponentLevelSimplePackMultipleChargedContainers

public void testSettlePartialShipmentPackShippedAtComponentLevelSimplePackMultipleChargedContainers()
                                                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testExtendedTaxIncludesAddtlShippingOrderPromotion

public void testExtendedTaxIncludesAddtlShippingOrderPromotion()
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

testExtendedTaxIncludesPersOrderPromotion

public void testExtendedTaxIncludesPersOrderPromotion()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testExtendedTaxIncludesGiftServiceOrderPromotion

public void testExtendedTaxIncludesGiftServiceOrderPromotion()
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

testExtendedTaxIncludesMerchPromotion

public void testExtendedTaxIncludesMerchPromotion()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testExtendedTaxIncludesStandardShippingPromotion

public void testExtendedTaxIncludesStandardShippingPromotion()
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

testSettleFullShipmentWithMultiplePromotions

public void testSettleFullShipmentWithMultiplePromotions()
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testRefundPaymentSettlementForAccommodationAndReturnWhenOrderIsPended

public void testRefundPaymentSettlementForAccommodationAndReturnWhenOrderIsPended()
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception


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