com.retek.component.payment.impl
Class CreditCardPaymentImpl

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

public class CreditCardPaymentImpl
extends PaymentImpl
implements CreditCardPayment


Field Summary
 
Fields inherited from interface com.retek.component.payment.CreditCardPayment
CREDIT_CARD, CURRENCY, CUSTOMER, TRANSACTION_TYPE_CODE
 
Fields inherited from interface com.retek.component.payment.Payment
AMOUNT, SETTLE
 
Constructor Summary
CreditCardPaymentImpl(CreditCardPaymentDto dto)
           
 
Method Summary
protected  void doAuthorization()
           
protected  PaymentImpl doCreateNewPayment(Money amount)
           
 Address getAddress()
           
 CreditCard getCreditCard()
           
 PaymentCustomer getCustomer()
           
 RDate getOrderCreateDate()
           
 java.lang.String getOrderNumber()
           
protected  PaymentDto getPaymentDto()
           
 PaymentPlanCode getPaymentPlanCode()
           
 void setAddress(Address address)
           
 void setCreditCard(CreditCard creditCard)
           
 void setCustomer(PaymentCustomer customer)
           
 void setOrderCreateDate(RDate orderCreateDate)
           
 void setOrderNumber(java.lang.String orderNumber)
           
 void setPaymentPlanCode(PaymentPlanCode paymentPlanCode)
           
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

CreditCardPaymentImpl

public CreditCardPaymentImpl(CreditCardPaymentDto dto)
Method Detail

getAddress

public Address getAddress()
Specified by:
getAddress in interface CreditCardPayment

getCreditCard

public CreditCard getCreditCard()
Specified by:
getCreditCard in interface CreditCardPayment

getCustomer

public PaymentCustomer getCustomer()
Specified by:
getCustomer in interface CreditCardPayment

getPaymentPlanCode

public PaymentPlanCode getPaymentPlanCode()
                                   throws SystemException
Specified by:
getPaymentPlanCode in interface CreditCardPayment
Throws:
SystemException

getOrderNumber

public java.lang.String getOrderNumber()
Specified by:
getOrderNumber in interface CreditCardPayment

getOrderCreateDate

public RDate getOrderCreateDate()
Specified by:
getOrderCreateDate in interface CreditCardPayment

setAddress

public void setAddress(Address address)
Specified by:
setAddress in interface CreditCardPayment

setCustomer

public void setCustomer(PaymentCustomer customer)
Specified by:
setCustomer in interface CreditCardPayment

setCreditCard

public void setCreditCard(CreditCard creditCard)
Specified by:
setCreditCard in interface CreditCardPayment

setPaymentPlanCode

public void setPaymentPlanCode(PaymentPlanCode paymentPlanCode)
                        throws SystemException
Specified by:
setPaymentPlanCode in interface CreditCardPayment
Throws:
SystemException

setOrderNumber

public void setOrderNumber(java.lang.String orderNumber)
Specified by:
setOrderNumber in interface CreditCardPayment

setOrderCreateDate

public void setOrderCreateDate(RDate orderCreateDate)
Specified by:
setOrderCreateDate in interface CreditCardPayment

getPaymentDto

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

doAuthorization

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

doCreateNewPayment

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

validate

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


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