com.retek.component.payment.impl
Class StoredValueCardPaymentImpl

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

public class StoredValueCardPaymentImpl
extends PaymentImpl
implements StoredValueCardPayment


Field Summary
 
Fields inherited from interface com.retek.component.payment.StoredValueCardPayment
ACCOUNT_NUMBER, UNMASKED_PIN_NUMBER
 
Fields inherited from interface com.retek.component.payment.Payment
AMOUNT, SETTLE
 
Constructor Summary
StoredValueCardPaymentImpl(StoredValueCardPaymentDto storedValueCardPaymentDto)
           
 
Method Summary
protected  void doAuthorization()
           
protected  PaymentImpl doCreateNewPayment(Money amount)
           
 java.lang.String getAccountNumber()
           
 java.lang.String getMaskedPinNumber()
           
 PaymentDto getPaymentDto()
           
 StoredValueCardType getType()
           
 java.lang.String getUnmaskedPinNumber()
           
 void setAccountNumber(java.lang.String accountNumber)
           
 void setPinNumber(java.lang.String pinNumber)
           
 void setType(StoredValueCardType type)
           
protected  void validate(PaymentBusinessException exception)
           
 void voidAuthorization()
           
 
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

StoredValueCardPaymentImpl

public StoredValueCardPaymentImpl(StoredValueCardPaymentDto storedValueCardPaymentDto)
Method Detail

getPaymentDto

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

getAccountNumber

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

getMaskedPinNumber

public java.lang.String getMaskedPinNumber()
                                    throws SystemException
Specified by:
getMaskedPinNumber in interface StoredValueCardPayment
Throws:
SystemException

getUnmaskedPinNumber

public java.lang.String getUnmaskedPinNumber()
                                      throws SystemException
Specified by:
getUnmaskedPinNumber in interface StoredValueCardPayment
Throws:
SystemException

getType

public StoredValueCardType getType()
                            throws SystemException
Specified by:
getType in interface StoredValueCardPayment
Throws:
SystemException

setAccountNumber

public void setAccountNumber(java.lang.String accountNumber)
                      throws SystemException
Specified by:
setAccountNumber in interface StoredValueCardPayment
Throws:
SystemException

setPinNumber

public void setPinNumber(java.lang.String pinNumber)
                  throws SystemException
Specified by:
setPinNumber in interface StoredValueCardPayment
Throws:
SystemException

setType

public void setType(StoredValueCardType type)
             throws SystemException
Specified by:
setType in interface StoredValueCardPayment
Throws:
SystemException

voidAuthorization

public void voidAuthorization()
                       throws SystemException
Specified by:
voidAuthorization in interface StoredValueCardPayment
Throws:
SystemException

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