com.retek.component.payment.impl
Class PaymentImpl
java.lang.Object
com.retek.commons.domain.core.impl.BusinessObjectImpl
com.retek.component.payment.impl.PaymentImpl
- All Implemented Interfaces:
- BusinessObject, java.lang.Comparable, Payment
- Direct Known Subclasses:
- CashPaymentImpl, CheckPaymentImpl, CreditCardPaymentImpl, GiftCertificatePaymentImpl, MerchandiseCertificatePaymentImpl, MoneyOrderPaymentImpl, RewardCertificatePaymentImpl, StoredValueCardPaymentImpl
- public abstract class PaymentImpl
- extends BusinessObjectImpl
- implements Payment
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PaymentImpl
public PaymentImpl()
getDto
public AbstractDto getDto()
- Specified by:
getDto
in class BusinessObjectImpl
setAmount
public void setAmount(Money amount)
- Specified by:
setAmount
in interface Payment
getAmount
public Money getAmount()
- Specified by:
getAmount
in interface Payment
authorize
public void authorize()
throws BusinessException,
SystemException
- Specified by:
authorize
in interface Payment
- Throws:
BusinessException
SystemException
validate
protected void validate(PaymentBusinessException exception)
throws BusinessException,
SystemException
- Throws:
BusinessException
SystemException
allocateSettlement
public final Payment allocateSettlement(Money amount,
RDate dateOfPurchase)
throws SystemException,
BusinessException
- Specified by:
allocateSettlement
in interface Payment
- Throws:
SystemException
BusinessException
getPaymentDto
protected abstract PaymentDto getPaymentDto()
doAuthorization
protected abstract void doAuthorization()
throws SystemException
- Throws:
SystemException
doCreateNewPayment
protected abstract PaymentImpl doCreateNewPayment(Money amount)
throws SystemException
- Throws:
SystemException
isSettled
public boolean isSettled()
- Specified by:
isSettled
in interface Payment
getSettlement
public Settlement getSettlement()
- Specified by:
getSettlement
in interface Payment
getPaymentAuthorizationResponse
public PaymentAuthorizationResponse getPaymentAuthorizationResponse()
- Specified by:
getPaymentAuthorizationResponse
in interface Payment
setPaymentAuthorizationResponse
public void setPaymentAuthorizationResponse(PaymentAuthorizationResponse response)
- Specified by:
setPaymentAuthorizationResponse
in interface Payment
getTransactionTypeCode
public java.lang.String getTransactionTypeCode()
- Specified by:
getTransactionTypeCode
in interface Payment
getCurrency
public java.lang.String getCurrency()
- Specified by:
getCurrency
in interface Payment
setCurrency
public void setCurrency(java.lang.String currency)
- Specified by:
setCurrency
in interface Payment
setTransactionTypeCode
public void setTransactionTypeCode(java.lang.String transactionTypeCode)
- Specified by:
setTransactionTypeCode
in interface Payment
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28