com.retek.component.customerorder.impl
Class CustomerOrderVoucherPaymentImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.customerorder.impl.CustomerOrderPaymentImpl
              extended bycom.retek.component.customerorder.impl.CustomerOrderVoucherPaymentImpl
All Implemented Interfaces:
BusinessObject, java.lang.Comparable, CustomerOrderPayment, CustomerOrderTransactionItem, CustomerOrderVoucherPayment, DistributedObject, com.retek.fsm.FSMAble, RcomRmmFsmable
Direct Known Subclasses:
CustomerOrderGiftCertificatePaymentImpl, CustomerOrderMerchandiseCertificatePaymentImpl, CustomerOrderRewardCertificatePaymentImpl, CustomerOrderStoredValueCardPaymentImpl

public abstract class CustomerOrderVoucherPaymentImpl
extends CustomerOrderPaymentImpl
implements CustomerOrderVoucherPayment


Nested Class Summary
 
Nested classes inherited from class com.retek.component.customerorder.impl.CustomerOrderPaymentImpl
CustomerOrderPaymentImpl.SalesAuditPaidStateWhiteBoxHelper
 
Nested classes inherited from class com.retek.commons.component.impl.DistributedObjectImpl
DistributedObjectImpl.DtoBurgular
 
Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.customerorder.CustomerOrderVoucherPayment
CONTROL_NUMBER
 
Fields inherited from interface com.retek.component.customerorder.CustomerOrderPayment
AMOUNT, SET_ORDER, TENDER_TYPE
 
Constructor Summary
CustomerOrderVoucherPaymentImpl(DistributedContext context, DistributedReference ref)
           
CustomerOrderVoucherPaymentImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
 
Method Summary
 Payment convertToPayment()
           
 void createHistoryEventDetails(CustomerOrderPaymentHistoryEvent event)
           
 void doConsolidateFromSourcePayment(CustomerOrderPaymentImpl sourcePayment)
           
 java.lang.String getAccountNumber()
           
 java.lang.String getControlNumber()
           
abstract  Payment getPayment()
           
abstract  void handleNewPayment(Payment newPayment)
           
 boolean isWithinPaymentAgentAuthorizationPeriod()
           
 void makePaymentAgentUnmodifiable()
           
 void setControlNumber(java.lang.String controlNumber)
           
 void setPaymentAuthorizationCode(java.lang.String authCode)
           
 
Methods inherited from class com.retek.component.customerorder.impl.CustomerOrderPaymentImpl
accept, addHistoryEvent, addNewPaymentToOrder, addSalesAuditExportAmount, addSalesAuditExportAmount, allocateSettlement, allocateSettlement, allocateSettlement, authorize, authorize, authorizeManually, authorizeManually, cancel, checkModifiable, compareTo, consolidatePayments, convertToPayment, copyPaymentHistory, createHistoryEvent, createSplitInstance, finishSettlement, fireFromRemote, getAmount, getAuthorizedAmount, getAuthorizedMerchandiseAmount, getCurrency, getDto, getHistoryEvents, getOrder, getOriginalAuthorizedAmount, getPaymentAuthorizationResponse, getPaymentTransactionType, getRefundRecipientAddress, getSalesAuditExportAmount, getSalesAuditPaidInState, getSalesAuditPaidOutState, getSalesAuditTransactionDate, getSettlement, getSettlementOrder, getState, getStateModel, getTenderType, getTransactionGroup, getTransactionItemAmount, getTransactionTypeCode, getUnauthorizedAmount, getWorkflowContext, handleNewCreditPayment, hasUnauthorizedAmount, inState, isAmountAdjustable, isAmountAdjustable, isApproved, isCancelable, isCancelled, isCreditCardTender, isCreditForTransactionGroupBalance, isCreditPayment, isCreditPaymentForAccommodation, isCreditPaymentForExchangeSaleCancelReadyForSettlement, isCreditPaymentForPostSaleAccommodation, isCreditPaymentForPreSaleAccommodation, isCreditPaymentReadyForSettlement, isDebitForTransactionGroupBalance, isDeclined, isExchangeSaleLine, isFraud, isInClosedTransactionGroup, isManuallyApproved, isModifiable, isPhysicalTender, isPreSettled, isReferral, isReplacementSaleLine, isSettled, isWaitingAuth, isWaitingManualAuth, markCreditPaymentExportedForPaidOut, markCreditPaymentReadyForPaidOutExport, markSalePaymentExportedForPaidIn, markSalePaymentReadyForPaidInExport, notifyTransactionGroupClosed, onStateChange, readLatest, setAmount, setAmountUnchecked, setAuthorizationResponseFromConvertedCustomerOrderVersion, setAuthorizedAmount, setCurrency, setOrder, setOriginalAuthorizedAmount, setPaymentAuthorizationResponse, setPaymentTransactionType, setRefundRecipientAddress, setSalesAuditTransactionDate, setSettlement, setTenderType, setTransactionGroup, setTransactionTypeCode, split, splitCredit, splitPayment
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl
attributesToString, createEmptyDto, debugToString, discardChanges, discardChangesShallow, equals, getGenericDto, getId, getReference, getReference, getVersion, hashCode, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isHollow, isPersisted, markAllDeleted, refresh, toString, wrap, wrap, wrap, wrap
 
Methods inherited from class com.retek.commons.component.impl.BusinessObjectImpl
checkRelation, checkRelation, getBusinessInterface, getContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.retek.component.customerorder.CustomerOrderPayment
addSalesAuditExportAmount, allocateSettlement, allocateSettlement, allocateSettlement, authorize, authorize, authorizeManually, authorizeManually, cancel, consolidatePayments, finishSettlement, getAmount, getAuthorizedAmount, getCurrency, getHistoryEvents, getOrder, getOriginalAuthorizedAmount, getPaymentAuthorizationResponse, getPaymentTransactionType, getRedemptionTenderType, getRefundRecipientAddress, getRefundTenderType, getSalesAuditExportAmount, getSalesAuditPaidInState, getSalesAuditPaidOutState, getSalesAuditTransactionDate, getSettlement, getState, getTenderType, getTransactionTypeCode, getUnauthorizedAmount, hasUnauthorizedAmount, isAmountAdjustable, isAmountAdjustable, isApproved, isCancelable, isCancelled, isCreditPayment, isCreditPaymentForAccommodation, isCreditPaymentForPostSaleAccommodation, isCreditPaymentForPreSaleAccommodation, isDeclined, isFraud, isManuallyApproved, isPhysicalTender, isPreSettled, isReferral, isSettled, isWaitingAuth, isWaitingManualAuth, markCreditPaymentExportedForPaidOut, markCreditPaymentReadyForPaidOutExport, markSalePaymentExportedForPaidIn, markSalePaymentReadyForPaidInExport, setAmount, setAuthorizedAmount, setCurrency, setOriginalAuthorizedAmount, setPaymentTransactionType, setRefundRecipientAddress, setTransactionTypeCode
 
Methods inherited from interface com.retek.commons.component.DistributedObject
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 
Methods inherited from interface com.retek.component.customerorder.CustomerOrderTransactionItem
getTransactionGroup, getTransactionItemAmount, isCreditForTransactionGroupBalance, isDebitForTransactionGroupBalance, isExchangeSaleLine, isInClosedTransactionGroup, isReplacementSaleLine, notifyTransactionGroupClosed, setTransactionGroup
 

Constructor Detail

CustomerOrderVoucherPaymentImpl

public CustomerOrderVoucherPaymentImpl(DistributedContext context,
                                       DistributedReference ref,
                                       boolean createHollow)
                                throws SystemException

CustomerOrderVoucherPaymentImpl

public CustomerOrderVoucherPaymentImpl(DistributedContext context,
                                       DistributedReference ref)
                                throws SystemException,
                                       BusinessException
Method Detail

getPayment

public abstract Payment getPayment()
                            throws BusinessException,
                                   SystemException
Specified by:
getPayment in class CustomerOrderPaymentImpl
Throws:
BusinessException
SystemException

handleNewPayment

public abstract void handleNewPayment(Payment newPayment)
                               throws SystemException,
                                      BusinessException
Specified by:
handleNewPayment in class CustomerOrderPaymentImpl
Throws:
SystemException
BusinessException

getAccountNumber

public java.lang.String getAccountNumber()
                                  throws SystemException
Specified by:
getAccountNumber in interface CustomerOrderPayment
Specified by:
getAccountNumber in class CustomerOrderPaymentImpl
Throws:
SystemException

setControlNumber

public void setControlNumber(java.lang.String controlNumber)
                      throws SystemException,
                             BusinessException
Specified by:
setControlNumber in interface CustomerOrderVoucherPayment
Throws:
SystemException
BusinessException

getControlNumber

public java.lang.String getControlNumber()
                                  throws SystemException
Specified by:
getControlNumber in interface CustomerOrderVoucherPayment
Throws:
SystemException

createHistoryEventDetails

public void createHistoryEventDetails(CustomerOrderPaymentHistoryEvent event)
                               throws SystemException
Specified by:
createHistoryEventDetails in class CustomerOrderPaymentImpl
Throws:
SystemException

convertToPayment

public Payment convertToPayment()
                         throws SystemException,
                                BusinessException
Specified by:
convertToPayment in class CustomerOrderPaymentImpl
Throws:
SystemException
BusinessException

setPaymentAuthorizationCode

public void setPaymentAuthorizationCode(java.lang.String authCode)
                                 throws SystemException,
                                        BusinessException
Specified by:
setPaymentAuthorizationCode in class CustomerOrderPaymentImpl
Throws:
SystemException
BusinessException

doConsolidateFromSourcePayment

public void doConsolidateFromSourcePayment(CustomerOrderPaymentImpl sourcePayment)
                                    throws SystemException,
                                           BusinessException
Overrides:
doConsolidateFromSourcePayment in class CustomerOrderPaymentImpl
Throws:
SystemException
BusinessException

isWithinPaymentAgentAuthorizationPeriod

public boolean isWithinPaymentAgentAuthorizationPeriod()
Specified by:
isWithinPaymentAgentAuthorizationPeriod in class CustomerOrderPaymentImpl

makePaymentAgentUnmodifiable

public void makePaymentAgentUnmodifiable()
Specified by:
makePaymentAgentUnmodifiable in class CustomerOrderPaymentImpl


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