com.retek.component.payment.impl
Class MerchandiseCertificatePaymentImpl

java.lang.Object
  extended bycom.retek.commons.domain.core.impl.BusinessObjectImpl
      extended bycom.retek.component.payment.impl.PaymentImpl
          extended bycom.retek.component.payment.impl.MerchandiseCertificatePaymentImpl
All Implemented Interfaces:
BusinessObject, java.lang.Comparable, MerchandiseCertificatePayment, Payment

public class MerchandiseCertificatePaymentImpl
extends PaymentImpl
implements MerchandiseCertificatePayment


Field Summary
 
Fields inherited from interface com.retek.component.payment.MerchandiseCertificatePayment
CONTROL_NUMBER
 
Fields inherited from interface com.retek.component.payment.Payment
AMOUNT, SETTLE
 
Constructor Summary
MerchandiseCertificatePaymentImpl(MerchandiseCertificatePaymentDto dto)
           
 
Method Summary
protected  void doAuthorization()
           
protected  PaymentImpl doCreateNewPayment(Money amount)
           
 PaymentDto getPaymentDto()
           
 void setControlNumber(java.lang.String controlNumber)
           
protected  void validate(PaymentBusinessException exception)
           
 
Methods inherited from class com.retek.component.payment.impl.PaymentImpl
allocateSettlement, authorize, getAmount, getCurrency, getDto, getPaymentAuthorizationResponse, getSettlement, getTransactionTypeCode, isSettled, setAmount, setCurrency, setPaymentAuthorizationResponse, setTransactionTypeCode
 
Methods inherited from class com.retek.commons.domain.core.impl.BusinessObjectImpl
compareTo, equals, getDescription, getId, hashCode, isPersisted, isValid, setDescription, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.retek.component.payment.Payment
allocateSettlement, authorize, getAmount, getCurrency, getPaymentAuthorizationResponse, getSettlement, getTransactionTypeCode, isPersisted, isSettled, setAmount, setCurrency, setPaymentAuthorizationResponse, setTransactionTypeCode
 
Methods inherited from interface com.retek.commons.domain.core.BusinessObject
getId
 

Constructor Detail

MerchandiseCertificatePaymentImpl

public MerchandiseCertificatePaymentImpl(MerchandiseCertificatePaymentDto dto)
Method Detail

getPaymentDto

public PaymentDto getPaymentDto()
Specified by:
getPaymentDto in class PaymentImpl

setControlNumber

public void setControlNumber(java.lang.String controlNumber)
Specified by:
setControlNumber in interface MerchandiseCertificatePayment

doAuthorization

protected void doAuthorization()
                        throws SystemException
Specified by:
doAuthorization in class PaymentImpl
Throws:
SystemException

validate

protected void validate(PaymentBusinessException exception)
                 throws BusinessException,
                        SystemException
Overrides:
validate in class PaymentImpl
Throws:
BusinessException
SystemException

doCreateNewPayment

protected final PaymentImpl doCreateNewPayment(Money amount)
                                        throws SystemException
Specified by:
doCreateNewPayment in class PaymentImpl
Throws:
SystemException


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