com.retek.component.customerorder
Class CustomerOrderPaymentTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.retek.commons.util.RetekTestCase
com.retek.component.customerorder.CustomerOrderApiTestCase
com.retek.component.customerorder.CustomerOrderPaymentTest
- All Implemented Interfaces:
- junit.framework.Test
- public class CustomerOrderPaymentTest
- extends CustomerOrderApiTestCase
Methods inherited from class com.retek.commons.util.RetekTestCase |
assertBusinessException, assertBusinessExceptionAttribute, assertContainsString, assertDateEqualsIgnoreTime, assertDateNotEqualsIgnoreTime, assertDateTimeEquals, assertEquals, assertEqualValuesDeep, assertEqualValuesDeep, assertEqualValuesDeep, assertFalse, assertFalse, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertStateEquals, assertStateNotEquals, assertXmlEquals, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, isOracleTestCase, resetSystemRDateToBusinessDay, runTest, setSecurityEncryption, setTaxSimulate, setUp, tearDown |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
systemReturnDisposition
protected SupplierReturnDisposition systemReturnDisposition
CustomerOrderPaymentTest
public CustomerOrderPaymentTest(java.lang.String name)
doInitialSetUp
public void doInitialSetUp()
throws java.lang.Exception
- Specified by:
doInitialSetUp
in class CustomerOrderApiTestCase
- Throws:
java.lang.Exception
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
testInvalidCCPaymentNotAddedToOrder
public void testInvalidCCPaymentNotAddedToOrder()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAdujustPaymentForLineNoPayment
public void testAdujustPaymentForLineNoPayment()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddPaymentWithAmount
public void testAddPaymentWithAmount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddSamePaymentToTwoOrders
public void testAddSamePaymentToTwoOrders()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddPaymentWithZeroAmount
public void testAddPaymentWithZeroAmount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddTwoPayments
public void testAddTwoPayments()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddTwoPaymentsCancelOneAddAnother
public void testAddTwoPaymentsCancelOneAddAnother()
throws java.lang.Exception
- Throws:
java.lang.Exception
testApplyPaymentLocksFields
public void testApplyPaymentLocksFields()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPaymentValidation
public void testPaymentValidation()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPaymentValidationNullAmountThrowsException
public void testPaymentValidationNullAmountThrowsException()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreditCardRefundPaymentValidForExpiredExpirationDate
public void testCreditCardRefundPaymentValidForExpiredExpirationDate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetInvalidCreditCardNumberToPayment
public void testSetInvalidCreditCardNumberToPayment()
throws java.lang.Exception
- Throws:
java.lang.Exception
testManualAuthorizationOneOrderLineReservedWithinLeadTimeOneCreditCardPayment
public void testManualAuthorizationOneOrderLineReservedWithinLeadTimeOneCreditCardPayment()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreditCardPaymentMissingCardHolderName
public void testCreditCardPaymentMissingCardHolderName()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreditCardPaymentExpiredExpirationDate
public void testCreditCardPaymentExpiredExpirationDate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetAllPaymentsDoesNotIncludeExpiredRewardCertificates
public void testGetAllPaymentsDoesNotIncludeExpiredRewardCertificates()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOrderBalanceOnlyIncludesPaymentsWithApplicableStatus
public void testOrderBalanceOnlyIncludesPaymentsWithApplicableStatus()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOrderWithCCPaymentWaitingAuthCausesOrderToSystematicPend
public void testOrderWithCCPaymentWaitingAuthCausesOrderToSystematicPend()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCCPaymentInWaithForAuthStateIsCancelable
public void testCCPaymentInWaithForAuthStateIsCancelable()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCCPaymentInApprovedIsCancelable
public void testCCPaymentInApprovedIsCancelable()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCCPaymentInCancelledIsNotCancelable
public void testCCPaymentInCancelledIsNotCancelable()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCCPaymentInPreSettledIsNotCancelable
public void testCCPaymentInPreSettledIsNotCancelable()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCCPaymentInSettledIsNotCancelable
public void testCCPaymentInSettledIsNotCancelable()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPhysicalPaymentInApprovedIsCancelable
public void testPhysicalPaymentInApprovedIsCancelable()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPhysicalPaymentInCancelledIsNotCancelable
public void testPhysicalPaymentInCancelledIsNotCancelable()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPhysicalPaymentInPreSettledIsNotCancelable
public void testPhysicalPaymentInPreSettledIsNotCancelable()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPhysicalPaymentInSettledIsNotCancelable
public void testPhysicalPaymentInSettledIsNotCancelable()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPhysicalPaymentInWaithForAuthStateIsCancelable
public void testPhysicalPaymentInWaithForAuthStateIsCancelable()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreditInMultipleStatesIsOrIsNotCancelable
public void testCreditInMultipleStatesIsOrIsNotCancelable()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSubmitRequiresBalanceLessThanTolerance
public void testSubmitRequiresBalanceLessThanTolerance()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAuthorizationOneOrderLineReservedWithinLeadTimeOneCreditCardPayment
public void testAuthorizationOneOrderLineReservedWithinLeadTimeOneCreditCardPayment()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAuthorizationOneOrderLineReservedEqualsLeadTimeOneCreditCardPayment
public void testAuthorizationOneOrderLineReservedEqualsLeadTimeOneCreditCardPayment()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAuthorizationOneOrderLineBackorderedBeyondLeadTimeOneCreditCardPayment
public void testAuthorizationOneOrderLineBackorderedBeyondLeadTimeOneCreditCardPayment()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReAuthorizationOfOneDollarAuthPayment
public void testReAuthorizationOfOneDollarAuthPayment()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAuthorizationWithinLeadTimeBeyondPaymentAuthorizationTimeAuthorizesOneDollar
public void testAuthorizationWithinLeadTimeBeyondPaymentAuthorizationTimeAuthorizesOneDollar()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAuthorizationWithinLeadTimeOneCCPaymentWithinPayAuthTimeOneOut
public void testAuthorizationWithinLeadTimeOneCCPaymentWithinPayAuthTimeOneOut()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAuthorizationMultipleCCPaymentsAllOutsidePaymentAuthTimeAllAuthorizeOneDollar
public void testAuthorizationMultipleCCPaymentsAllOutsidePaymentAuthTimeAllAuthorizeOneDollar()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAuthorizationOneCCPaymentCoversAllButAFewCentsSecondCCPaymentOutsideAuthTimeAuthsLTOneDollar
public void testAuthorizationOneCCPaymentCoversAllButAFewCentsSecondCCPaymentOutsideAuthTimeAuthsLTOneDollar()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAuthorizationCCPaymentAndVoucherCCPaymentOutsideAuthTimeAuthsOneDollar
public void testAuthorizationCCPaymentAndVoucherCCPaymentOutsideAuthTimeAuthsOneDollar()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCancelOrderCreatesAllRelevantPaymentHistory
public void testCancelOrderCreatesAllRelevantPaymentHistory()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAuthorizationOneOrderLineReservedWithinLeadTimeTwoCreditCardPayments
public void testAuthorizationOneOrderLineReservedWithinLeadTimeTwoCreditCardPayments()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAuthorizationThreeOrderLinesMixedStatusTwoCreditCardPayments
public void testAuthorizationThreeOrderLinesMixedStatusTwoCreditCardPayments()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAuthorizationTwoOrderLinesWithMixedStatusThreeCreditCardPayments
public void testAuthorizationTwoOrderLinesWithMixedStatusThreeCreditCardPayments()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAuthOneOrderLineTwoCreditCardPaymentsEachAuthorizedOnce
public void testAuthOneOrderLineTwoCreditCardPaymentsEachAuthorizedOnce()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPaymentAudit
public void testPaymentAudit()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAuthorizationOneOrderLineWithPersonalizationServiceLine
public void testAuthorizationOneOrderLineWithPersonalizationServiceLine()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAuthorizationOneOrderLineWithGiftWrapTogetherServiceLine
public void testAuthorizationOneOrderLineWithGiftWrapTogetherServiceLine()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAuthorizationTwoOrderLinesGiftWrapTogetherServiceLineBeyondLeadTime
public void testAuthorizationTwoOrderLinesGiftWrapTogetherServiceLineBeyondLeadTime()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAuthorizationTwoOrderLinesGiftServiceLineBeyondLeadTime
public void testAuthorizationTwoOrderLinesGiftServiceLineBeyondLeadTime()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPendOrderAddGiftCertPaymentSubmitPersists
public void testPendOrderAddGiftCertPaymentSubmitPersists()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPendOrderAddRefundPaymentSubmitPersists
public void testPendOrderAddRefundPaymentSubmitPersists()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddNonApprovedPaymentToPendedOrderSubmitPersists
public void testAddNonApprovedPaymentToPendedOrderSubmitPersists()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSplitGiftCertificatePaymentsCreatesSettledAndApprovedPayments
public void testSplitGiftCertificatePaymentsCreatesSettledAndApprovedPayments()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSalesAuditPaidInExportStateTransitions
public void testSalesAuditPaidInExportStateTransitions()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSplitPaymentComputesAuthAmountWhereOriginalAuthAmountEqualsPaymentAmount
public void testSplitPaymentComputesAuthAmountWhereOriginalAuthAmountEqualsPaymentAmount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSplitPaymentComputesAuthAmountWhereOriginalAuthAmountLessThanPaymentAmount
public void testSplitPaymentComputesAuthAmountWhereOriginalAuthAmountLessThanPaymentAmount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreditCardAmountIsAdjustable
public void testCreditCardAmountIsAdjustable()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMerchVoucherAmountIsAdjustable
public void testMerchVoucherAmountIsAdjustable()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreditCardAmountIsModifiableInTransactionGroup
public void testCreditCardAmountIsModifiableInTransactionGroup()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReturnOnOrderWithCCPaymentGeneratesAMerchVoucherPayment
public void testReturnOnOrderWithCCPaymentGeneratesAMerchVoucherPayment()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCancelOrderLineOnOrderWithCCPaymentDecreasesCCAmount
public void testCancelOrderLineOnOrderWithCCPaymentDecreasesCCAmount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCancelExchangeSaleGreaterThanReturnWithPhysicalTenderPaymentManApprovedReturnNotRequired
public void testCancelExchangeSaleGreaterThanReturnWithPhysicalTenderPaymentManApprovedReturnNotRequired()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCancelExchangeSaleGreaterThanReturnWithPhysicalTenderPaymentManApprovedReturnRequired
public void testCancelExchangeSaleGreaterThanReturnWithPhysicalTenderPaymentManApprovedReturnRequired()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDecreaseReturnLineQuantityDecreasesCreditPayment
public void testDecreaseReturnLineQuantityDecreasesCreditPayment()
throws java.lang.Exception
- Throws:
java.lang.Exception
testChangeReturnReasonToOneWhichRefundsLessDecreasesCreditPayment
public void testChangeReturnReasonToOneWhichRefundsLessDecreasesCreditPayment()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCancelReturnLineCancelsReturnLineCreditPayment
public void testCancelReturnLineCancelsReturnLineCreditPayment()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCancelReturnLineLessThanExchangeSaleDecreasesCreditPayment
public void testCancelReturnLineLessThanExchangeSaleDecreasesCreditPayment()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRefundForCreditCardCannotExceedInitialCCPaymentAmount
public void testRefundForCreditCardCannotExceedInitialCCPaymentAmount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateReturnLineCreatesRefundToCreditCard
public void testCreateReturnLineCreatesRefundToCreditCard()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCancelExchangeSaleSendsCreditCardRefund
public void testCancelExchangeSaleSendsCreditCardRefund()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNoMinAmountForMerchCreditSetForBannerAlwaysGivesMerchCertificateForCredit
public void testNoMinAmountForMerchCreditSetForBannerAlwaysGivesMerchCertificateForCredit()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNoMinAmountForMerchCreditSetForBannerAlwaysGivesMerchCardForCredit
public void testNoMinAmountForMerchCreditSetForBannerAlwaysGivesMerchCardForCredit()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreatePLCCCreditCardPaymentWithOrderTotalGreaterThanCreditLimitThrowsException
public void testCreatePLCCCreditCardPaymentWithOrderTotalGreaterThanCreditLimitThrowsException()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddRewardCertificateToOrderValidatesTenderType
public void testAddRewardCertificateToOrderValidatesTenderType()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCCPaymentInFraudIsCancelable
public void testCCPaymentInFraudIsCancelable()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28